/home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Notify/V1/Service
Edit: /home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Notify/V1/Service/BindingOptions.php (5550B)
options['tag'] = $tag;
$this->options['notificationProtocolVersion'] = $notificationProtocolVersion;
$this->options['credentialSid'] = $credentialSid;
$this->options['endpoint'] = $endpoint;
}
/**
* The tag
*
* @param string $tag The tag
* @return $this Fluent Builder
*/
public function setTag($tag) {
$this->options['tag'] = $tag;
return $this;
}
/**
* The notification_protocol_version
*
* @param string $notificationProtocolVersion The notification_protocol_version
* @return $this Fluent Builder
*/
public function setNotificationProtocolVersion($notificationProtocolVersion) {
$this->options['notificationProtocolVersion'] = $notificationProtocolVersion;
return $this;
}
/**
* The credential_sid
*
* @param string $credentialSid The credential_sid
* @return $this Fluent Builder
*/
public function setCredentialSid($credentialSid) {
$this->options['credentialSid'] = $credentialSid;
return $this;
}
/**
* The endpoint
*
* @param string $endpoint The endpoint
* @return $this Fluent Builder
*/
public function setEndpoint($endpoint) {
$this->options['endpoint'] = $endpoint;
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.Notify.V1.CreateBindingOptions ' . implode(' ', $options) . ']';
}
}
class ReadBindingOptions extends Options {
/**
* @param \DateTime $startDate The start_date
* @param \DateTime $endDate The end_date
* @param string $identity The identity
* @param string $tag The tag
*/
public function __construct($startDate = Values::NONE, $endDate = Values::NONE, $identity = Values::NONE, $tag = Values::NONE) {
$this->options['startDate'] = $startDate;
$this->options['endDate'] = $endDate;
$this->options['identity'] = $identity;
$this->options['tag'] = $tag;
}
/**
* The start_date
*
* @param \DateTime $startDate The start_date
* @return $this Fluent Builder
*/
public function setStartDate($startDate) {
$this->options['startDate'] = $startDate;
return $this;
}
/**
* The end_date
*
* @param \DateTime $endDate The end_date
* @return $this Fluent Builder
*/
public function setEndDate($endDate) {
$this->options['endDate'] = $endDate;
return $this;
}
/**
* The identity
*
* @param string $identity The identity
* @return $this Fluent Builder
*/
public function setIdentity($identity) {
$this->options['identity'] = $identity;
return $this;
}
/**
* The tag
*
* @param string $tag The tag
* @return $this Fluent Builder
*/
public function setTag($tag) {
$this->options['tag'] = $tag;
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.Notify.V1.ReadBindingOptions ' . implode(' ', $options) . ']';
}
}