/home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account
NameSizeModeActions
Address/-0755rm
AvailablePhoneNumberCountry/-0755rm
Call/-0755rm
Conference/-0755rm
IncomingPhoneNumber/-0755rm
Message/-0755rm
Queue/-0755rm
Recording/-0755rm
Sip/-0755rm
Usage/-0755rm
AddressContext.php50130644editdlrm
AddressInstance.php50250644editdlrm
AddressList.php67160644editdlrm
AddressOptions.php94380644editdlrm
AddressPage.php7580644editdlrm
ApplicationContext.php36460644editdlrm
ApplicationInstance.php56710644editdlrm
ApplicationList.php69390644editdlrm
ApplicationOptions.php237370644editdlrm
ApplicationPage.php7700644editdlrm
AuthorizedConnectAppContext.php19300644editdlrm
AuthorizedConnectAppInstance.php43560644editdlrm
AuthorizedConnectAppList.php52190644editdlrm
AuthorizedConnectAppPage.php7970644editdlrm
AvailablePhoneNumberCountryContext.php77920644editdlrm
AvailablePhoneNumberCountryInstance.php54220644editdlrm
AvailablePhoneNumberCountryList.php53800644editdlrm
AvailablePhoneNumberCountryPage.php8640644editdlrm
CallContext.php62170644editdlrm
CallInstance.php66970644editdlrm
CallList.php99160644editdlrm
CallOptions.php290180644editdlrm
CallPage.php7490644editdlrm
ConferenceContext.php45200644editdlrm
ConferenceInstance.php44730644editdlrm
ConferenceList.php58950644editdlrm
ConferenceOptions.php83330644editdlrm
ConferencePage.php7670644editdlrm
ConnectAppContext.php30200644editdlrm
ConnectAppInstance.php43690644editdlrm
ConnectAppList.php49710644editdlrm
ConnectAppOptions.php70670644editdlrm
ConnectAppPage.php7670644editdlrm
IncomingPhoneNumberContext.php61360644editdlrm
IncomingPhoneNumberInstance.php72190644editdlrm
IncomingPhoneNumberList.php100840644editdlrm
IncomingPhoneNumberOptions.php372890644editdlrm
IncomingPhoneNumberPage.php7940644editdlrm
KeyContext.php25890644editdlrm
KeyInstance.php37550644editdlrm
KeyList.php48790644editdlrm
KeyOptions.php14210644editdlrm
KeyPage.php7460644editdlrm
MessageContext.php49400644editdlrm
MessageInstance.php57760644editdlrm
MessageList.php71710644editdlrm
MessageOptions.php122220644editdlrm
MessagePage.php7580644editdlrm
NewKeyInstance.php23270644editdlrm
NewKeyList.php16650644editdlrm
NewKeyOptions.php14360644editdlrm
NewKeyPage.php7550644editdlrm
NewSigningKeyInstance.php23550644editdlrm
NewSigningKeyList.php17280644editdlrm
NewSigningKeyOptions.php14710644editdlrm
NewSigningKeyPage.php7760644editdlrm
NotificationContext.php20380644editdlrm
NotificationInstance.php49060644editdlrm
NotificationList.php56220644editdlrm
NotificationOptions.php32630644editdlrm
NotificationPage.php7730644editdlrm
OutgoingCallerIdContext.php28020644editdlrm
OutgoingCallerIdInstance.php42900644editdlrm
OutgoingCallerIdList.php54990644editdlrm
OutgoingCallerIdOptions.php34680644editdlrm
OutgoingCallerIdPage.php7850644editdlrm
QueueContext.php45290644editdlrm
QueueInstance.php44620644editdlrm
QueueList.php56110644editdlrm
QueueOptions.php34190644editdlrm
QueuePage.php7520644editdlrm
RecordingContext.php46650644editdlrm
RecordingInstance.php53320644editdlrm
RecordingList.php56460644editdlrm
RecordingOptions.php39170644editdlrm
RecordingPage.php7640644editdlrm
ShortCodeContext.php27690644editdlrm
ShortCodeInstance.php44320644editdlrm
ShortCodeList.php53720644editdlrm
ShortCodeOptions.php70570644editdlrm
ShortCodePage.php7640644editdlrm
SigningKeyContext.php26870644editdlrm
SigningKeyInstance.php38600644editdlrm
SigningKeyList.php49980644editdlrm
SigningKeyOptions.php14560644editdlrm
SigningKeyPage.php7670644editdlrm
SipInstance.php16600644editdlrm
SipList.php38780644editdlrm
SipPage.php7460644editdlrm
TokenInstance.php24710644editdlrm
TokenList.php15900644editdlrm
TokenOptions.php14740644editdlrm
TokenPage.php7520644editdlrm
TranscriptionContext.php20490644editdlrm
TranscriptionInstance.php44360644editdlrm
TranscriptionList.php50240644editdlrm
TranscriptionPage.php7760644editdlrm
UsageInstance.php16680644editdlrm
UsageList.php30440644editdlrm
UsagePage.php7520644editdlrm
ValidationRequestInstance.php22520644editdlrm
ValidationRequestList.php20480644editdlrm
ValidationRequestOptions.php36100644editdlrm
ValidationRequestPage.php7880644editdlrm
Edit: /home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account/CallOptions.php (29018B)
options['url'] = $url; $this->options['applicationSid'] = $applicationSid; $this->options['method'] = $method; $this->options['fallbackUrl'] = $fallbackUrl; $this->options['fallbackMethod'] = $fallbackMethod; $this->options['statusCallback'] = $statusCallback; $this->options['statusCallbackEvent'] = $statusCallbackEvent; $this->options['statusCallbackMethod'] = $statusCallbackMethod; $this->options['sendDigits'] = $sendDigits; $this->options['ifMachine'] = $ifMachine; $this->options['timeout'] = $timeout; $this->options['record'] = $record; $this->options['recordingChannels'] = $recordingChannels; $this->options['recordingStatusCallback'] = $recordingStatusCallback; $this->options['recordingStatusCallbackMethod'] = $recordingStatusCallbackMethod; $this->options['sipAuthUsername'] = $sipAuthUsername; $this->options['sipAuthPassword'] = $sipAuthPassword; $this->options['machineDetection'] = $machineDetection; $this->options['machineDetectionTimeout'] = $machineDetectionTimeout; $this->options['recordingStatusCallbackEvent'] = $recordingStatusCallbackEvent; $this->options['trim'] = $trim; $this->options['callerId'] = $callerId; } /** * The fully qualified URL that should be consulted when the call connects. Just like when you set a URL on a phone number for handling inbound calls. * * @param string $url Url from which to fetch TwiML * @return $this Fluent Builder */ public function setUrl($url) { $this->options['url'] = $url; return $this; } /** * The 34 character sid of the application Twilio should use to handle this phone call. If this parameter is present, Twilio will ignore all of the voice URLs passed and use the URLs set on the application. * * @param string $applicationSid ApplicationSid that configures from where to * fetch TwiML * @return $this Fluent Builder */ public function setApplicationSid($applicationSid) { $this->options['applicationSid'] = $applicationSid; return $this; } /** * The HTTP method Twilio should use when requesting the URL. Defaults to `POST`. If an `ApplicationSid` was provided, this parameter is ignored. * * @param string $method HTTP method to use to fetch TwiML * @return $this Fluent Builder */ public function setMethod($method) { $this->options['method'] = $method; return $this; } /** * A URL that Twilio will request if an error occurs requesting or executing the TwiML at `Url`. If an `ApplicationSid` was provided, this parameter is ignored. * * @param string $fallbackUrl Fallback URL in case of error * @return $this Fluent Builder */ public function setFallbackUrl($fallbackUrl) { $this->options['fallbackUrl'] = $fallbackUrl; return $this; } /** * The HTTP method that Twilio should use to request the `FallbackUrl`. Must be either `GET` or `POST`. Defaults to `POST`. If an `ApplicationSid` was provided, this parameter is ignored. * * @param string $fallbackMethod HTTP Method to use with FallbackUrl * @return $this Fluent Builder */ public function setFallbackMethod($fallbackMethod) { $this->options['fallbackMethod'] = $fallbackMethod; return $this; } /** * A URL that Twilio will request when the call ends to notify your app. If an `ApplicationSid` was provided, this parameter is ignored. * * @param string $statusCallback Status Callback URL * @return $this Fluent Builder */ public function setStatusCallback($statusCallback) { $this->options['statusCallback'] = $statusCallback; return $this; } /** * The status_callback_event * * @param string $statusCallbackEvent The status_callback_event * @return $this Fluent Builder */ public function setStatusCallbackEvent($statusCallbackEvent) { $this->options['statusCallbackEvent'] = $statusCallbackEvent; return $this; } /** * The HTTP method that Twilio should use to request the `StatusCallback`. Defaults to `POST`. If an `ApplicationSid` was provided, this parameter is ignored. * * @param string $statusCallbackMethod HTTP Method to use with StatusCallback * @return $this Fluent Builder */ public function setStatusCallbackMethod($statusCallbackMethod) { $this->options['statusCallbackMethod'] = $statusCallbackMethod; return $this; } /** * A string of keys to dial after connecting to the number. Valid digits in the string include: any digit (`0`-`9`), '`#`', '`*`' and '`w`' (to insert a half second pause). For example, if you connected to a company phone number, and wanted to pause for one second, dial extension 1234 and then the pound key, use `ww1234#`. * * @param string $sendDigits Digits to send * @return $this Fluent Builder */ public function setSendDigits($sendDigits) { $this->options['sendDigits'] = $sendDigits; return $this; } /** * Tell Twilio to try and determine if a machine (like voicemail) or a human has answered the call. Possible value are `Continue` and `Hangup`. * * @param string $ifMachine Action to take if a machine has answered the call * @return $this Fluent Builder */ public function setIfMachine($ifMachine) { $this->options['ifMachine'] = $ifMachine; return $this; } /** * The integer number of seconds that Twilio should allow the phone to ring before assuming there is no answer. Default is `60` seconds, the maximum is `999` seconds. Note, you could set this to a low value, such as `15`, to hangup before reaching an answering machine or voicemail. * * @param integer $timeout Number of seconds to wait for an answer * @return $this Fluent Builder */ public function setTimeout($timeout) { $this->options['timeout'] = $timeout; return $this; } /** * Set this parameter to true to record the entirety of a phone call. The RecordingUrl will be sent to the StatusCallback URL. Defaults to false. * * @param boolean $record Whether or not to record the Call * @return $this Fluent Builder */ public function setRecord($record) { $this->options['record'] = $record; return $this; } /** * The recording_channels * * @param string $recordingChannels The recording_channels * @return $this Fluent Builder */ public function setRecordingChannels($recordingChannels) { $this->options['recordingChannels'] = $recordingChannels; return $this; } /** * The recording_status_callback * * @param string $recordingStatusCallback The recording_status_callback * @return $this Fluent Builder */ public function setRecordingStatusCallback($recordingStatusCallback) { $this->options['recordingStatusCallback'] = $recordingStatusCallback; return $this; } /** * The recording_status_callback_method * * @param string $recordingStatusCallbackMethod The * recording_status_callback_method * @return $this Fluent Builder */ public function setRecordingStatusCallbackMethod($recordingStatusCallbackMethod) { $this->options['recordingStatusCallbackMethod'] = $recordingStatusCallbackMethod; return $this; } /** * The sip_auth_username * * @param string $sipAuthUsername The sip_auth_username * @return $this Fluent Builder */ public function setSipAuthUsername($sipAuthUsername) { $this->options['sipAuthUsername'] = $sipAuthUsername; return $this; } /** * The sip_auth_password * * @param string $sipAuthPassword The sip_auth_password * @return $this Fluent Builder */ public function setSipAuthPassword($sipAuthPassword) { $this->options['sipAuthPassword'] = $sipAuthPassword; return $this; } /** * Twilio will try to detect if a human, fax machine or answering machine has answered the call. Possible value are `Enable` and `DetectMessageEnd`. * * @param string $machineDetection Enable machine detection or end of greeting * detection * @return $this Fluent Builder */ public function setMachineDetection($machineDetection) { $this->options['machineDetection'] = $machineDetection; return $this; } /** * The integer number of miliseconds that Twilio should wait while machine_detection is performned before timing out. * * @param integer $machineDetectionTimeout Number of miliseconds to wait for * machine detection * @return $this Fluent Builder */ public function setMachineDetectionTimeout($machineDetectionTimeout) { $this->options['machineDetectionTimeout'] = $machineDetectionTimeout; return $this; } /** * The recording_status_callback_event * * @param string $recordingStatusCallbackEvent The * recording_status_callback_event * @return $this Fluent Builder */ public function setRecordingStatusCallbackEvent($recordingStatusCallbackEvent) { $this->options['recordingStatusCallbackEvent'] = $recordingStatusCallbackEvent; return $this; } /** * Set this parameter to control trimming of silence on the recording. Possible values are `trim-silence` or `do-not-trim`. Defaults to `trim-silence`. * * @param string $trim Set this parameter to control trimming of silence on the * recording. * @return $this Fluent Builder */ public function setTrim($trim) { $this->options['trim'] = $trim; return $this; } /** * The phone number, SIP address or Client identifier that made this Call. Phone numbers are in E.164 format (e.g. +16175551212). SIP addresses are formatted as `name@company.com`. * * @param string $callerId The phone number, SIP address or Client identifier * that made this Call. Phone numbers are in E.164 * format (e.g. +16175551212). SIP addresses are * formatted as `name@company.com`. * @return $this Fluent Builder */ public function setCallerId($callerId) { $this->options['callerId'] = $callerId; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Api.V2010.CreateCallOptions ' . implode(' ', $options) . ']'; } } class ReadCallOptions extends Options { /** * @param string $to Phone number or Client identifier to filter `to` on * @param string $from Phone number or Client identifier to filter `from` on * @param string $parentCallSid Parent Call Sid to filter on * @param string $status Status to filter on * @param string $startTimeBefore StartTime to filter on * @param string $startTime StartTime to filter on * @param string $startTimeAfter StartTime to filter on * @param string $endTimeBefore EndTime to filter on * @param string $endTime EndTime to filter on * @param string $endTimeAfter EndTime to filter on */ public function __construct($to = Values::NONE, $from = Values::NONE, $parentCallSid = Values::NONE, $status = Values::NONE, $startTimeBefore = Values::NONE, $startTime = Values::NONE, $startTimeAfter = Values::NONE, $endTimeBefore = Values::NONE, $endTime = Values::NONE, $endTimeAfter = Values::NONE) { $this->options['to'] = $to; $this->options['from'] = $from; $this->options['parentCallSid'] = $parentCallSid; $this->options['status'] = $status; $this->options['startTimeBefore'] = $startTimeBefore; $this->options['startTime'] = $startTime; $this->options['startTimeAfter'] = $startTimeAfter; $this->options['endTimeBefore'] = $endTimeBefore; $this->options['endTime'] = $endTime; $this->options['endTimeAfter'] = $endTimeAfter; } /** * Only show calls to this phone number or Client identifier * * @param string $to Phone number or Client identifier to filter `to` on * @return $this Fluent Builder */ public function setTo($to) { $this->options['to'] = $to; return $this; } /** * Only show calls from this phone number or Client identifier * * @param string $from Phone number or Client identifier to filter `from` on * @return $this Fluent Builder */ public function setFrom($from) { $this->options['from'] = $from; return $this; } /** * Only show calls spawned by the call with this Sid * * @param string $parentCallSid Parent Call Sid to filter on * @return $this Fluent Builder */ public function setParentCallSid($parentCallSid) { $this->options['parentCallSid'] = $parentCallSid; return $this; } /** * Only show calls currently in this status * * @param string $status Status to filter on * @return $this Fluent Builder */ public function setStatus($status) { $this->options['status'] = $status; return $this; } /** * Only show calls that started on this date * * @param string $startTimeBefore StartTime to filter on * @return $this Fluent Builder */ public function setStartTimeBefore($startTimeBefore) { $this->options['startTimeBefore'] = $startTimeBefore; return $this; } /** * Only show calls that started on this date * * @param string $startTime StartTime to filter on * @return $this Fluent Builder */ public function setStartTime($startTime) { $this->options['startTime'] = $startTime; return $this; } /** * Only show calls that started on this date * * @param string $startTimeAfter StartTime to filter on * @return $this Fluent Builder */ public function setStartTimeAfter($startTimeAfter) { $this->options['startTimeAfter'] = $startTimeAfter; return $this; } /** * Only show call that ended on this date * * @param string $endTimeBefore EndTime to filter on * @return $this Fluent Builder */ public function setEndTimeBefore($endTimeBefore) { $this->options['endTimeBefore'] = $endTimeBefore; return $this; } /** * Only show call that ended on this date * * @param string $endTime EndTime to filter on * @return $this Fluent Builder */ public function setEndTime($endTime) { $this->options['endTime'] = $endTime; return $this; } /** * Only show call that ended on this date * * @param string $endTimeAfter EndTime to filter on * @return $this Fluent Builder */ public function setEndTimeAfter($endTimeAfter) { $this->options['endTimeAfter'] = $endTimeAfter; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Api.V2010.ReadCallOptions ' . implode(' ', $options) . ']'; } } class UpdateCallOptions extends Options { /** * @param string $url URL that returns TwiML * @param string $method HTTP method to use to fetch TwiML * @param string $status Status to update the Call with * @param string $fallbackUrl Fallback URL in case of error * @param string $fallbackMethod HTTP Method to use with FallbackUrl * @param string $statusCallback Status Callback URL * @param string $statusCallbackMethod HTTP Method to use with StatusCallback */ public function __construct($url = Values::NONE, $method = Values::NONE, $status = Values::NONE, $fallbackUrl = Values::NONE, $fallbackMethod = Values::NONE, $statusCallback = Values::NONE, $statusCallbackMethod = Values::NONE) { $this->options['url'] = $url; $this->options['method'] = $method; $this->options['status'] = $status; $this->options['fallbackUrl'] = $fallbackUrl; $this->options['fallbackMethod'] = $fallbackMethod; $this->options['statusCallback'] = $statusCallback; $this->options['statusCallbackMethod'] = $statusCallbackMethod; } /** * A valid URL that returns TwiML. Twilio will immediately redirect the call to the new TwiML upon execution. * * @param string $url URL that returns TwiML * @return $this Fluent Builder */ public function setUrl($url) { $this->options['url'] = $url; return $this; } /** * The HTTP method Twilio should use when requesting the URL. Defaults to `POST`. * * @param string $method HTTP method to use to fetch TwiML * @return $this Fluent Builder */ public function setMethod($method) { $this->options['method'] = $method; return $this; } /** * Either `canceled` or `completed`. Specifying `canceled` will attempt to hangup calls that are queued or ringing but not affect calls already in progress. Specifying `completed` will attempt to hang up a call even if it's already in progress. * * @param string $status Status to update the Call with * @return $this Fluent Builder */ public function setStatus($status) { $this->options['status'] = $status; return $this; } /** * A URL that Twilio will request if an error occurs requesting or executing the TwiML at `Url`. * * @param string $fallbackUrl Fallback URL in case of error * @return $this Fluent Builder */ public function setFallbackUrl($fallbackUrl) { $this->options['fallbackUrl'] = $fallbackUrl; return $this; } /** * The HTTP method that Twilio should use to request the `FallbackUrl`. Must be either `GET` or `POST`. Defaults to `POST`. * * @param string $fallbackMethod HTTP Method to use with FallbackUrl * @return $this Fluent Builder */ public function setFallbackMethod($fallbackMethod) { $this->options['fallbackMethod'] = $fallbackMethod; return $this; } /** * A URL that Twilio will request when the call ends to notify your app. * * @param string $statusCallback Status Callback URL * @return $this Fluent Builder */ public function setStatusCallback($statusCallback) { $this->options['statusCallback'] = $statusCallback; return $this; } /** * The HTTP method that Twilio should use to request the `StatusCallback`. Defaults to `POST`. * * @param string $statusCallbackMethod HTTP Method to use with StatusCallback * @return $this Fluent Builder */ public function setStatusCallbackMethod($statusCallbackMethod) { $this->options['statusCallbackMethod'] = $statusCallbackMethod; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Api.V2010.UpdateCallOptions ' . implode(' ', $options) . ']'; } }