PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Api
/
V2010
/
Account
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\Options; use Twilio\Values; abstract class ValidationRequestOptions { /** * @param string $friendlyName A string to describe the resource * @param int $callDelay The number of seconds to delay before initiating the * verification call * @param string $extension The digits to dial after connecting the * verification call * @param string $statusCallback The URL we should call to send status * information to your application * @param string $statusCallbackMethod The HTTP method we should use to call * status_callback * @return CreateValidationRequestOptions Options builder */ public static function create(string $friendlyName = Values::NONE, int $callDelay = Values::NONE, string $extension = Values::NONE, string $statusCallback = Values::NONE, string $statusCallbackMethod = Values::NONE): CreateValidationRequestOptions { return new CreateValidationRequestOptions($friendlyName, $callDelay, $extension, $statusCallback, $statusCallbackMethod); } } class CreateValidationRequestOptions extends Options { /** * @param string $friendlyName A string to describe the resource * @param int $callDelay The number of seconds to delay before initiating the * verification call * @param string $extension The digits to dial after connecting the * verification call * @param string $statusCallback The URL we should call to send status * information to your application * @param string $statusCallbackMethod The HTTP method we should use to call * status_callback */ public function __construct(string $friendlyName = Values::NONE, int $callDelay = Values::NONE, string $extension = Values::NONE, string $statusCallback = Values::NONE, string $statusCallbackMethod = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['callDelay'] = $callDelay; $this->options['extension'] = $extension; $this->options['statusCallback'] = $statusCallback; $this->options['statusCallbackMethod'] = $statusCallbackMethod; } /** * A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number. * * @param string $friendlyName A string to describe the resource * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The number of seconds to delay before initiating the verification call. Can be an integer between `0` and `60`, inclusive. The default is `0`. * * @param int $callDelay The number of seconds to delay before initiating the * verification call * @return $this Fluent Builder */ public function setCallDelay(int $callDelay): self { $this->options['callDelay'] = $callDelay; return $this; } /** * The digits to dial after connecting the verification call. * * @param string $extension The digits to dial after connecting the * verification call * @return $this Fluent Builder */ public function setExtension(string $extension): self { $this->options['extension'] = $extension; return $this; } /** * The URL we should call using the `status_callback_method` to send status information about the verification process to your application. * * @param string $statusCallback The URL we should call to send status * information to your application * @return $this Fluent Builder */ public function setStatusCallback(string $statusCallback): self { $this->options['statusCallback'] = $statusCallback; return $this; } /** * The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`, and the default is `POST`. * * @param string $statusCallbackMethod The HTTP method we should use to call * status_callback * @return $this Fluent Builder */ public function setStatusCallbackMethod(string $statusCallbackMethod): self { $this->options['statusCallbackMethod'] = $statusCallbackMethod; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { $options = \http_build_query(Values::of($this->options), '', ' '); return '[Twilio.Api.V2010.CreateValidationRequestOptions ' . $options . ']'; } }
[+]
Conference
[-] ConferenceOptions.php
[edit]
[-] MessagePage.php
[edit]
[-] SipInstance.php
[edit]
[-] MessageOptions.php
[edit]
[-] ShortCodePage.php
[edit]
[-] AuthorizedConnectAppInstance.php
[edit]
[-] NewKeyPage.php
[edit]
[-] ShortCodeList.php
[edit]
[-] ApplicationInstance.php
[edit]
[-] CallList.php
[edit]
[-] ValidationRequestInstance.php
[edit]
[-] KeyContext.php
[edit]
[-] NewKeyList.php
[edit]
[-] AddressPage.php
[edit]
[-] OutgoingCallerIdPage.php
[edit]
[-] ConferencePage.php
[edit]
[-] ShortCodeInstance.php
[edit]
[+]
Recording
[-] MessageContext.php
[edit]
[-] TokenOptions.php
[edit]
[-] ShortCodeContext.php
[edit]
[-] ConnectAppPage.php
[edit]
[-] ConferenceList.php
[edit]
[-] TranscriptionInstance.php
[edit]
[-] SigningKeyOptions.php
[edit]
[-] UsageList.php
[edit]
[+]
Sip
[-] MessageInstance.php
[edit]
[+]
..
[-] NewKeyInstance.php
[edit]
[-] ValidationRequestList.php
[edit]
[-] TokenPage.php
[edit]
[-] RecordingInstance.php
[edit]
[-] ValidationRequestOptions.php
[edit]
[-] BalanceList.php
[edit]
[-] TranscriptionContext.php
[edit]
[-] RecordingList.php
[edit]
[-] SigningKeyList.php
[edit]
[-] BalanceInstance.php
[edit]
[+]
IncomingPhoneNumber
[-] NewSigningKeyOptions.php
[edit]
[-] KeyInstance.php
[edit]
[-] AddressContext.php
[edit]
[-] SipPage.php
[edit]
[-] ApplicationOptions.php
[edit]
[-] SigningKeyInstance.php
[edit]
[-] AvailablePhoneNumberCountryContext.php
[edit]
[-] ValidationRequestPage.php
[edit]
[-] SigningKeyContext.php
[edit]
[-] KeyOptions.php
[edit]
[-] AddressList.php
[edit]
[-] AddressInstance.php
[edit]
[-] NotificationContext.php
[edit]
[+]
Message
[+]
Queue
[-] CallPage.php
[edit]
[-] OutgoingCallerIdOptions.php
[edit]
[-] IncomingPhoneNumberContext.php
[edit]
[-] NotificationPage.php
[edit]
[-] QueuePage.php
[edit]
[+]
Address
[-] AvailablePhoneNumberCountryPage.php
[edit]
[-] KeyPage.php
[edit]
[-] RecordingPage.php
[edit]
[-] RecordingOptions.php
[edit]
[-] TokenInstance.php
[edit]
[-] AvailablePhoneNumberCountryList.php
[edit]
[-] KeyList.php
[edit]
[-] ConnectAppOptions.php
[edit]
[-] AvailablePhoneNumberCountryInstance.php
[edit]
[-] RecordingContext.php
[edit]
[-] BalancePage.php
[edit]
[-] TranscriptionList.php
[edit]
[-] NotificationOptions.php
[edit]
[-] QueueInstance.php
[edit]
[-] IncomingPhoneNumberList.php
[edit]
[-] ApplicationPage.php
[edit]
[-] ConnectAppList.php
[edit]
[-] CallOptions.php
[edit]
[-] QueueContext.php
[edit]
[-] QueueOptions.php
[edit]
[-] ConnectAppInstance.php
[edit]
[-] NotificationList.php
[edit]
[+]
AvailablePhoneNumberCountry
[-] UsagePage.php
[edit]
[-] CallContext.php
[edit]
[-] ApplicationList.php
[edit]
[-] ConnectAppContext.php
[edit]
[-] NewSigningKeyPage.php
[edit]
[-] TokenList.php
[edit]
[-] AuthorizedConnectAppPage.php
[edit]
[-] OutgoingCallerIdList.php
[edit]
[-] IncomingPhoneNumberInstance.php
[edit]
[-] MessageList.php
[edit]
[-] NewSigningKeyList.php
[edit]
[-] NewSigningKeyInstance.php
[edit]
[-] SipList.php
[edit]
[-] ConferenceContext.php
[edit]
[-] IncomingPhoneNumberPage.php
[edit]
[-] OutgoingCallerIdInstance.php
[edit]
[-] IncomingPhoneNumberOptions.php
[edit]
[-] AddressOptions.php
[edit]
[-] NewKeyOptions.php
[edit]
[-] TranscriptionPage.php
[edit]
[-] SigningKeyPage.php
[edit]
[-] AuthorizedConnectAppList.php
[edit]
[-] OutgoingCallerIdContext.php
[edit]
[-] ApplicationContext.php
[edit]
[+]
Call
[-] CallInstance.php
[edit]
[-] NotificationInstance.php
[edit]
[-] AuthorizedConnectAppContext.php
[edit]
[-] ConferenceInstance.php
[edit]
[+]
Usage
[-] QueueList.php
[edit]
[-] UsageInstance.php
[edit]
[-] ShortCodeOptions.php
[edit]