PHP Class Zendesk\API\Resources\Core\Macros

Inheritance: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Resource\Defaults
Afficher le fichier Open project: zendesk/zendesk_api_client_php

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
setUpRoutes ( ) Declares routes to be used by this resource.

Method Details

apply() public méthode

Returns the changes the macro would make to a ticket.
public apply ( $id ) : mixed
$id
Résultat mixed

applyToTicket() public méthode

Returns the full ticket object as it would be after applying the macro to the ticket.
public applyToTicket ( $id, $ticketId ) : stdClass
$id
$ticketId
Résultat stdClass | null

findAllActive() public méthode

Lists all active shared and personal macros available to the current user
public findAllActive ( array $params = [] ) : stdClass
$params array
Résultat stdClass | null

setUpRoutes() protected méthode

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