/
home
/
desid573
/
public_html
/
drivers
/
twilio-php-master
/
Twilio
/
Rest
/
Api
/
V2010
/
Account
/
/home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account
mkdir
upload
Name
Size
Mode
Actions
Address/
-
0755
rm
AvailablePhoneNumberCountry/
-
0755
rm
Call/
-
0755
rm
Conference/
-
0755
rm
IncomingPhoneNumber/
-
0755
rm
Message/
-
0755
rm
Queue/
-
0755
rm
Recording/
-
0755
rm
Sip/
-
0755
rm
Usage/
-
0755
rm
AddressContext.php
5013
0644
edit
dl
rm
AddressInstance.php
5025
0644
edit
dl
rm
AddressList.php
6716
0644
edit
dl
rm
AddressOptions.php
9438
0644
edit
dl
rm
AddressPage.php
758
0644
edit
dl
rm
ApplicationContext.php
3646
0644
edit
dl
rm
ApplicationInstance.php
5671
0644
edit
dl
rm
ApplicationList.php
6939
0644
edit
dl
rm
ApplicationOptions.php
23737
0644
edit
dl
rm
ApplicationPage.php
770
0644
edit
dl
rm
AuthorizedConnectAppContext.php
1930
0644
edit
dl
rm
AuthorizedConnectAppInstance.php
4356
0644
edit
dl
rm
AuthorizedConnectAppList.php
5219
0644
edit
dl
rm
AuthorizedConnectAppPage.php
797
0644
edit
dl
rm
AvailablePhoneNumberCountryContext.php
7792
0644
edit
dl
rm
AvailablePhoneNumberCountryInstance.php
5422
0644
edit
dl
rm
AvailablePhoneNumberCountryList.php
5380
0644
edit
dl
rm
AvailablePhoneNumberCountryPage.php
864
0644
edit
dl
rm
CallContext.php
6217
0644
edit
dl
rm
CallInstance.php
6697
0644
edit
dl
rm
CallList.php
9916
0644
edit
dl
rm
CallOptions.php
29018
0644
edit
dl
rm
CallPage.php
749
0644
edit
dl
rm
ConferenceContext.php
4520
0644
edit
dl
rm
ConferenceInstance.php
4473
0644
edit
dl
rm
ConferenceList.php
5895
0644
edit
dl
rm
ConferenceOptions.php
8333
0644
edit
dl
rm
ConferencePage.php
767
0644
edit
dl
rm
ConnectAppContext.php
3020
0644
edit
dl
rm
ConnectAppInstance.php
4369
0644
edit
dl
rm
ConnectAppList.php
4971
0644
edit
dl
rm
ConnectAppOptions.php
7067
0644
edit
dl
rm
ConnectAppPage.php
767
0644
edit
dl
rm
IncomingPhoneNumberContext.php
6136
0644
edit
dl
rm
IncomingPhoneNumberInstance.php
7219
0644
edit
dl
rm
IncomingPhoneNumberList.php
10084
0644
edit
dl
rm
IncomingPhoneNumberOptions.php
37289
0644
edit
dl
rm
IncomingPhoneNumberPage.php
794
0644
edit
dl
rm
KeyContext.php
2589
0644
edit
dl
rm
KeyInstance.php
3755
0644
edit
dl
rm
KeyList.php
4879
0644
edit
dl
rm
KeyOptions.php
1421
0644
edit
dl
rm
KeyPage.php
746
0644
edit
dl
rm
MessageContext.php
4940
0644
edit
dl
rm
MessageInstance.php
5776
0644
edit
dl
rm
MessageList.php
7171
0644
edit
dl
rm
MessageOptions.php
12222
0644
edit
dl
rm
MessagePage.php
758
0644
edit
dl
rm
NewKeyInstance.php
2327
0644
edit
dl
rm
NewKeyList.php
1665
0644
edit
dl
rm
NewKeyOptions.php
1436
0644
edit
dl
rm
NewKeyPage.php
755
0644
edit
dl
rm
NewSigningKeyInstance.php
2355
0644
edit
dl
rm
NewSigningKeyList.php
1728
0644
edit
dl
rm
NewSigningKeyOptions.php
1471
0644
edit
dl
rm
NewSigningKeyPage.php
776
0644
edit
dl
rm
NotificationContext.php
2038
0644
edit
dl
rm
NotificationInstance.php
4906
0644
edit
dl
rm
NotificationList.php
5622
0644
edit
dl
rm
NotificationOptions.php
3263
0644
edit
dl
rm
NotificationPage.php
773
0644
edit
dl
rm
OutgoingCallerIdContext.php
2802
0644
edit
dl
rm
OutgoingCallerIdInstance.php
4290
0644
edit
dl
rm
OutgoingCallerIdList.php
5499
0644
edit
dl
rm
OutgoingCallerIdOptions.php
3468
0644
edit
dl
rm
OutgoingCallerIdPage.php
785
0644
edit
dl
rm
QueueContext.php
4529
0644
edit
dl
rm
QueueInstance.php
4462
0644
edit
dl
rm
QueueList.php
5611
0644
edit
dl
rm
QueueOptions.php
3419
0644
edit
dl
rm
QueuePage.php
752
0644
edit
dl
rm
RecordingContext.php
4665
0644
edit
dl
rm
RecordingInstance.php
5332
0644
edit
dl
rm
RecordingList.php
5646
0644
edit
dl
rm
RecordingOptions.php
3917
0644
edit
dl
rm
RecordingPage.php
764
0644
edit
dl
rm
ShortCodeContext.php
2769
0644
edit
dl
rm
ShortCodeInstance.php
4432
0644
edit
dl
rm
ShortCodeList.php
5372
0644
edit
dl
rm
ShortCodeOptions.php
7057
0644
edit
dl
rm
ShortCodePage.php
764
0644
edit
dl
rm
SigningKeyContext.php
2687
0644
edit
dl
rm
SigningKeyInstance.php
3860
0644
edit
dl
rm
SigningKeyList.php
4998
0644
edit
dl
rm
SigningKeyOptions.php
1456
0644
edit
dl
rm
SigningKeyPage.php
767
0644
edit
dl
rm
SipInstance.php
1660
0644
edit
dl
rm
SipList.php
3878
0644
edit
dl
rm
SipPage.php
746
0644
edit
dl
rm
TokenInstance.php
2471
0644
edit
dl
rm
TokenList.php
1590
0644
edit
dl
rm
TokenOptions.php
1474
0644
edit
dl
rm
TokenPage.php
752
0644
edit
dl
rm
TranscriptionContext.php
2049
0644
edit
dl
rm
TranscriptionInstance.php
4436
0644
edit
dl
rm
TranscriptionList.php
5024
0644
edit
dl
rm
TranscriptionPage.php
776
0644
edit
dl
rm
UsageInstance.php
1668
0644
edit
dl
rm
UsageList.php
3044
0644
edit
dl
rm
UsagePage.php
752
0644
edit
dl
rm
ValidationRequestInstance.php
2252
0644
edit
dl
rm
ValidationRequestList.php
2048
0644
edit
dl
rm
ValidationRequestOptions.php
3610
0644
edit
dl
rm
ValidationRequestPage.php
788
0644
edit
dl
rm
Edit:
/home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account/CallList.php
(9916B)
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\Exceptions\TwilioException; use Twilio\ListResource; use Twilio\Options; use Twilio\Rest\Api\V2010\Account\Call\FeedbackSummaryList; use Twilio\Serialize; use Twilio\Values; use Twilio\Version; /** * @property \Twilio\Rest\Api\V2010\Account\Call\FeedbackSummaryList feedbackSummaries * @method \Twilio\Rest\Api\V2010\Account\Call\FeedbackSummaryContext feedbackSummaries(string $sid) */ class CallList extends ListResource { protected $_feedbackSummaries = null; /** * Construct the CallList * * @param Version $version Version that contains the resource * @param string $accountSid The unique id of the Account responsible for * creating this Call * @return \Twilio\Rest\Api\V2010\Account\CallList */ public function __construct(Version $version, $accountSid) { parent::__construct($version); // Path Solution $this->solution = array('accountSid' => $accountSid, ); $this->uri = '/Accounts/' . rawurlencode($accountSid) . '/Calls.json'; } /** * Create a new CallInstance * * @param string $to Phone number, SIP address or client identifier to call * @param string $from Twilio number from which to originate the call * @param array|Options $options Optional Arguments * @return CallInstance Newly created CallInstance */ public function create($to, $from, $options = array()) { $options = new Values($options); $data = Values::of(array( 'To' => $to, 'From' => $from, 'Url' => $options['url'], 'ApplicationSid' => $options['applicationSid'], 'Method' => $options['method'], 'FallbackUrl' => $options['fallbackUrl'], 'FallbackMethod' => $options['fallbackMethod'], 'StatusCallback' => $options['statusCallback'], 'StatusCallbackEvent' => Serialize::map($options['statusCallbackEvent'], function($e) { return $e; }), 'StatusCallbackMethod' => $options['statusCallbackMethod'], 'SendDigits' => $options['sendDigits'], 'IfMachine' => $options['ifMachine'], 'Timeout' => $options['timeout'], 'Record' => Serialize::booleanToString($options['record']), 'RecordingChannels' => $options['recordingChannels'], 'RecordingStatusCallback' => $options['recordingStatusCallback'], 'RecordingStatusCallbackMethod' => $options['recordingStatusCallbackMethod'], 'SipAuthUsername' => $options['sipAuthUsername'], 'SipAuthPassword' => $options['sipAuthPassword'], 'MachineDetection' => $options['machineDetection'], 'MachineDetectionTimeout' => $options['machineDetectionTimeout'], 'RecordingStatusCallbackEvent' => Serialize::map($options['recordingStatusCallbackEvent'], function($e) { return $e; }), 'Trim' => $options['trim'], 'CallerId' => $options['callerId'], )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new CallInstance($this->version, $payload, $this->solution['accountSid']); } /** * Streams CallInstance records from the API as a generator stream. * This operation lazily loads records as efficiently as possible until the * limit * is reached. * The results are returned as a generator, so this operation is memory * efficient. * * @param array|Options $options Optional Arguments * @param int $limit Upper limit for the number of records to return. stream() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize Number of records to fetch per request, when not set * will use the default value of 50 records. If no * page_size is defined but a limit is defined, stream() * will attempt to read the limit with the most * efficient page size, i.e. min(limit, 1000) * @return \Twilio\Stream stream of results */ public function stream($options = array(), $limit = null, $pageSize = null) { $limits = $this->version->readLimits($limit, $pageSize); $page = $this->page($options, $limits['pageSize']); return $this->version->stream($page, $limits['limit'], $limits['pageLimit']); } /** * Reads CallInstance records from the API as a list. * Unlike stream(), this operation is eager and will load `limit` records into * memory before returning. * * @param array|Options $options Optional Arguments * @param int $limit Upper limit for the number of records to return. read() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize Number of records to fetch per request, when not set * will use the default value of 50 records. If no * page_size is defined but a limit is defined, read() * will attempt to read the limit with the most * efficient page size, i.e. min(limit, 1000) * @return CallInstance[] Array of results */ public function read($options = array(), $limit = null, $pageSize = null) { return iterator_to_array($this->stream($options, $limit, $pageSize), false); } /** * Retrieve a single page of CallInstance records from the API. * Request is executed immediately * * @param array|Options $options Optional Arguments * @param mixed $pageSize Number of records to return, defaults to 50 * @param string $pageToken PageToken provided by the API * @param mixed $pageNumber Page Number, this value is simply for client state * @return \Twilio\Page Page of CallInstance */ public function page($options = array(), $pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) { $options = new Values($options); $params = Values::of(array( 'To' => $options['to'], 'From' => $options['from'], 'ParentCallSid' => $options['parentCallSid'], 'Status' => $options['status'], 'StartTime<' => Serialize::iso8601DateTime($options['startTimeBefore']), 'StartTime' => Serialize::iso8601DateTime($options['startTime']), 'StartTime>' => Serialize::iso8601DateTime($options['startTimeAfter']), 'EndTime<' => Serialize::iso8601DateTime($options['endTimeBefore']), 'EndTime' => Serialize::iso8601DateTime($options['endTime']), 'EndTime>' => Serialize::iso8601DateTime($options['endTimeAfter']), 'PageToken' => $pageToken, 'Page' => $pageNumber, 'PageSize' => $pageSize, )); $response = $this->version->page( 'GET', $this->uri, $params ); return new CallPage($this->version, $response, $this->solution); } /** * Retrieve a specific page of CallInstance records from the API. * Request is executed immediately * * @param string $targetUrl API-generated URL for the requested results page * @return \Twilio\Page Page of CallInstance */ public function getPage($targetUrl) { $response = $this->version->getDomain()->getClient()->request( 'GET', $targetUrl ); return new CallPage($this->version, $response, $this->solution); } /** * Access the feedbackSummaries */ protected function getFeedbackSummaries() { if (!$this->_feedbackSummaries) { $this->_feedbackSummaries = new FeedbackSummaryList($this->version, $this->solution['accountSid']); } return $this->_feedbackSummaries; } /** * Constructs a CallContext * * @param string $sid Call Sid that uniquely identifies the Call to fetch * @return \Twilio\Rest\Api\V2010\Account\CallContext */ public function getContext($sid) { return new CallContext($this->version, $this->solution['accountSid'], $sid); } /** * Magic getter to lazy load subresources * * @param string $name Subresource to return * @return \Twilio\ListResource The requested subresource * @throws \Twilio\Exceptions\TwilioException For unknown subresources */ public function __get($name) { if (property_exists($this, '_' . $name)) { $method = 'get' . ucfirst($name); return $this->$method(); } throw new TwilioException('Unknown subresource ' . $name); } /** * Magic caller to get resource contexts * * @param string $name Resource to return * @param array $arguments Context parameters * @return \Twilio\InstanceContext The requested resource context * @throws \Twilio\Exceptions\TwilioException For unknown resource */ public function __call($name, $arguments) { $property = $this->$name; if (method_exists($property, 'getContext')) { return call_user_func_array(array($property, 'getContext'), $arguments); } throw new TwilioException('Resource does not have a context'); } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { return '[Twilio.Api.V2010.CallList]'; } }
Save
cmd:
run