PHP Класс Zendesk\API\Resources\Core\Macros

Наследование: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Resource\Defaults
Показать файл Открыть проект

Открытые методы

Метод Описание
apply ( $id ) : mixed Returns the changes the macro would make to a ticket.
applyToTicket ( $id, $ticketId ) : stdClass Returns the full ticket object as it would be after applying the macro to the ticket.
findAllActive ( array $params = [] ) : stdClass Lists all active shared and personal macros available to the current user

Защищенные методы

Метод Описание
setUpRoutes ( ) Declares routes to be used by this resource.

Описание методов

apply() публичный Метод

Returns the changes the macro would make to a ticket.
public apply ( $id ) : mixed
$id
Результат mixed

applyToTicket() публичный Метод

Returns the full ticket object as it would be after applying the macro to the ticket.
public applyToTicket ( $id, $ticketId ) : stdClass
$id
$ticketId
Результат stdClass | null

findAllActive() публичный Метод

Lists all active shared and personal macros available to the current user
public findAllActive ( array $params = [] ) : stdClass
$params array
Результат stdClass | null

setUpRoutes() защищенный Метод

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