Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkerStatisticsList.php
Строк: 59
<?php

/**
 * This code was generated by
 *  / _    _  _|   _  _
 * | (_)/(_)(_|/| |(/_  v1.0.0
 * /       /
 */

namespace TwilioRestTaskrouterV1WorkspaceWorker;

use 
TwilioListResource;
use 
TwilioVersion;

class 
WorkerStatisticsList extends ListResource {
    
/**
     * Construct the WorkerStatisticsList
     *
     * @param Version $version Version that contains the resource
     * @param string $workspaceSid The SID of the Workspace that contains the
     *                             WorkerChannel
     * @param string $workerSid The SID of the Worker that contains the
     *                          WorkerChannel
     */
    
public function __construct(Version $versionstring $workspaceSidstring $workerSid) {
        
parent::__construct($version);

        
// Path Solution
        
$this->solution = ['workspaceSid' => $workspaceSid'workerSid' => $workerSid, ];
    }

    
/**
     * Constructs a WorkerStatisticsContext
     */
    
public function getContext(): WorkerStatisticsContext {
        return new 
WorkerStatisticsContext(
            
$this->version,
            
$this->solution['workspaceSid'],
            
$this->solution['workerSid']
        );
    }

    
/**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    
public function __toString(): string {
        return 
'[Twilio.Taskrouter.V1.WorkerStatisticsList]';
    }
}
Онлайн: 2
Реклама