/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/UserOptions.php (3004B)
options['segment'] = $segment;
}
/**
* The segment
*
* @param string $segment The segment
* @return $this Fluent Builder
*/
public function setSegment($segment) {
$this->options['segment'] = $segment;
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.CreateUserOptions ' . implode(' ', $options) . ']';
}
}
class ReadUserOptions extends Options {
/**
* @param string $identity The identity
* @param string $segment The segment
*/
public function __construct($identity = Values::NONE, $segment = Values::NONE) {
$this->options['identity'] = $identity;
$this->options['segment'] = $segment;
}
/**
* The identity
*
* @param string $identity The identity
* @return $this Fluent Builder
*/
public function setIdentity($identity) {
$this->options['identity'] = $identity;
return $this;
}
/**
* The segment
*
* @param string $segment The segment
* @return $this Fluent Builder
*/
public function setSegment($segment) {
$this->options['segment'] = $segment;
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.ReadUserOptions ' . implode(' ', $options) . ']';
}
}