Файл: sngine-v2.8/Script/includes/libs/Twilio/Rest/Studio/V1/Flow/Execution/ExecutionContextList.php
Строк: 70
<?php
/**
* This code was generated by
* / _ _ _| _ _
* | (_)/(_)(_|/| |(/_ v1.0.0
* / /
*/
namespace TwilioRestStudioV1FlowExecution;
use TwilioListResource;
use TwilioVersion;
class ExecutionContextList extends ListResource {
/**
* Construct the ExecutionContextList
*
* @param Version $version Version that contains the resource
* @param string $flowSid The SID of the Flow
* @param string $executionSid The SID of the Execution
*/
public function __construct(Version $version, string $flowSid, string $executionSid) {
parent::__construct($version);
// Path Solution
$this->solution = ['flowSid' => $flowSid, 'executionSid' => $executionSid, ];
}
/**
* Constructs a ExecutionContextContext
*/
public function getContext(): ExecutionContextContext {
return new ExecutionContextContext(
$this->version,
$this->solution['flowSid'],
$this->solution['executionSid']
);
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString(): string {
return '[Twilio.Studio.V1.ExecutionContextList]';
}
}