/home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Proxy/V1/Service
NameSizeModeActions
Session/-0755rm
PhoneNumberContext.php21500644editdlrm
PhoneNumberInstance.php42400644editdlrm
PhoneNumberList.php57300644editdlrm
PhoneNumberOptions.php21140644editdlrm
PhoneNumberPage.php8810644editdlrm
SessionContext.php57580644editdlrm
SessionInstance.php56680644editdlrm
SessionList.php63670644editdlrm
SessionOptions.php105870644editdlrm
SessionPage.php8690644editdlrm
ShortCodeContext.php21280644editdlrm
ShortCodeInstance.php40990644editdlrm
ShortCodeList.php55780644editdlrm
ShortCodePage.php8750644editdlrm
Edit: /home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Proxy/V1/Service/SessionOptions.php (10587B)
options['uniqueName'] = $uniqueName; $this->options['status'] = $status; } /** * Provides a unique and addressable name to be assigned to this Session, assigned by the developer, to be optionally used in addition to SID. * * @param string $uniqueName A unique, developer assigned name of this Session. * @return $this Fluent Builder */ public function setUniqueName($uniqueName) { $this->options['uniqueName'] = $uniqueName; return $this; } /** * The Status of this Session. One of `in-progress`, `closed`, `failed`, `unknown` or `completed`. * * @param string $status The Status of this Session * @return $this Fluent Builder */ public function setStatus($status) { $this->options['status'] = $status; 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.Proxy.V1.ReadSessionOptions ' . implode(' ', $options) . ']'; } } class CreateSessionOptions extends Options { /** * @param string $uniqueName A unique, developer assigned name of this Session. * @param \DateTime $dateExpiry The date this Session was expiry * @param integer $ttl TTL for a Session, in seconds. * @param string $mode The Mode of this Session * @param string $status The Status of this Session * @param array $participants A list of phone numbers to add to this Session. */ public function __construct($uniqueName = Values::NONE, $dateExpiry = Values::NONE, $ttl = Values::NONE, $mode = Values::NONE, $status = Values::NONE, $participants = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['dateExpiry'] = $dateExpiry; $this->options['ttl'] = $ttl; $this->options['mode'] = $mode; $this->options['status'] = $status; $this->options['participants'] = $participants; } /** * Provides a unique and addressable name to be assigned to this Session, assigned by the developer, to be optionally used in addition to SID. * * @param string $uniqueName A unique, developer assigned name of this Session. * @return $this Fluent Builder */ public function setUniqueName($uniqueName) { $this->options['uniqueName'] = $uniqueName; return $this; } /** * The date that this Session was expiry, given in ISO 8601 format. * * @param \DateTime $dateExpiry The date this Session was expiry * @return $this Fluent Builder */ public function setDateExpiry($dateExpiry) { $this->options['dateExpiry'] = $dateExpiry; return $this; } /** * The Time to Live for a Session, in seconds. * * @param integer $ttl TTL for a Session, in seconds. * @return $this Fluent Builder */ public function setTtl($ttl) { $this->options['ttl'] = $ttl; return $this; } /** * The Mode of this Session. One of `message-only`, `voice-only` or `voice-and-message`. * * @param string $mode The Mode of this Session * @return $this Fluent Builder */ public function setMode($mode) { $this->options['mode'] = $mode; return $this; } /** * The Status of this Session. One of `in-progress`, `closed`, `failed`, `unknown` or `completed`. * * @param string $status The Status of this Session * @return $this Fluent Builder */ public function setStatus($status) { $this->options['status'] = $status; return $this; } /** * A list of phone numbers to add to this Session. * * @param array $participants A list of phone numbers to add to this Session. * @return $this Fluent Builder */ public function setParticipants($participants) { $this->options['participants'] = $participants; 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.Proxy.V1.CreateSessionOptions ' . implode(' ', $options) . ']'; } } class UpdateSessionOptions extends Options { /** * @param string $uniqueName A unique, developer assigned name of this Session. * @param \DateTime $dateExpiry The date this Session was expiry * @param integer $ttl TTL for a Session, in seconds. * @param string $mode The Mode of this Session * @param string $status The Status of this Session * @param array $participants A list of phone numbers to add to this Session. */ public function __construct($uniqueName = Values::NONE, $dateExpiry = Values::NONE, $ttl = Values::NONE, $mode = Values::NONE, $status = Values::NONE, $participants = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['dateExpiry'] = $dateExpiry; $this->options['ttl'] = $ttl; $this->options['mode'] = $mode; $this->options['status'] = $status; $this->options['participants'] = $participants; } /** * Provides a unique and addressable name to be assigned to this Session, assigned by the developer, to be optionally used in addition to SID. * * @param string $uniqueName A unique, developer assigned name of this Session. * @return $this Fluent Builder */ public function setUniqueName($uniqueName) { $this->options['uniqueName'] = $uniqueName; return $this; } /** * The date that this Session was expiry, given in ISO 8601 format. * * @param \DateTime $dateExpiry The date this Session was expiry * @return $this Fluent Builder */ public function setDateExpiry($dateExpiry) { $this->options['dateExpiry'] = $dateExpiry; return $this; } /** * The Time to Live for a Session, in seconds. * * @param integer $ttl TTL for a Session, in seconds. * @return $this Fluent Builder */ public function setTtl($ttl) { $this->options['ttl'] = $ttl; return $this; } /** * The Mode of this Session. One of `message-only`, `voice-only` or `voice-and-message`. * * @param string $mode The Mode of this Session * @return $this Fluent Builder */ public function setMode($mode) { $this->options['mode'] = $mode; return $this; } /** * The Status of this Session. One of `in-progress`, `closed`, `failed`, `unknown` or `completed`. * * @param string $status The Status of this Session * @return $this Fluent Builder */ public function setStatus($status) { $this->options['status'] = $status; return $this; } /** * A list of phone numbers to add to this Session. * * @param array $participants A list of phone numbers to add to this Session. * @return $this Fluent Builder */ public function setParticipants($participants) { $this->options['participants'] = $participants; 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.Proxy.V1.UpdateSessionOptions ' . implode(' ', $options) . ']'; } }