Viewing file: TaskQueueStatisticsList.php (1.44 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */
namespace Twilio\Rest\Taskrouter\V1\Workspace\TaskQueue;
use Twilio\ListResource; use Twilio\Version;
class TaskQueueStatisticsList extends ListResource { /** * Construct the TaskQueueStatisticsList * * @param Version $version Version that contains the resource * @param string $workspaceSid The SID of the Workspace that contains the * TaskQueue * @param string $taskQueueSid The SID of the TaskQueue from which these * statistics were calculated */ public function __construct(Version $version, string $workspaceSid, string $taskQueueSid) { parent::__construct($version);
// Path Solution $this->solution = ['workspaceSid' => $workspaceSid, 'taskQueueSid' => $taskQueueSid, ]; }
/** * Constructs a TaskQueueStatisticsContext */ public function getContext(): TaskQueueStatisticsContext { return new TaskQueueStatisticsContext( $this->version, $this->solution['workspaceSid'], $this->solution['taskQueueSid'] ); }
/** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { return '[Twilio.Taskrouter.V1.TaskQueueStatisticsList]'; } }
|