PHP 클래스 Zendesk\API\Resources\Core\Macros

상속: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Resource\Defaults
파일 보기 프로젝트 열기: zendesk/zendesk_api_client_php

공개 메소드들

메소드 설명
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 ( )