PHP Class Zendesk\API\Resources\Core\SlaPolicies

Inheritance: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Resource\Defaults
Mostrar archivo Open project: zendesk/zendesk_api_client_php

Protected Properties

Property Type Description
$objectName
$resourceName

Public Methods

Method Description
definitions ( array $params = [] ) : null | stdClass Retrieve supported filter definition items
reorder ( array $ids = [] ) : stdClass Reorder SLA Policies
replace ( null $id = null, array $updateResourceFields = [] ) : stdClass Replace a single SLA Policy

Protected Methods

Method Description
setUpRoutes ( ) Declares routes to be used by this resource.

Method Details

definitions() public method

Retrieve supported filter definition items
public definitions ( array $params = [] ) : null | stdClass
$params array
return null | stdClass

reorder() public method

Reorder SLA Policies
public reorder ( array $ids = [] ) : stdClass
$ids array
return stdClass | null

replace() public method

The replaced SLA policy is versioned. Each time an SLA policy is updated, a new SLA policy is saved. Altering the title or description of SLA policies doesn't constitute a version change.
public replace ( null $id = null, array $updateResourceFields = [] ) : stdClass
$id null
$updateResourceFields array
return stdClass | null

setUpRoutes() protected method

Declares routes to be used by this resource.
protected setUpRoutes ( )

Property Details

$objectName protected_oe property

protected $objectName

$resourceName protected_oe property

protected $resourceName