/home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Chat/V1/Service
Edit: /home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Chat/V1/Service/ChannelOptions.php (6008B)
options['friendlyName'] = $friendlyName;
$this->options['uniqueName'] = $uniqueName;
$this->options['attributes'] = $attributes;
$this->options['type'] = $type;
}
/**
* The friendly_name
*
* @param string $friendlyName The friendly_name
* @return $this Fluent Builder
*/
public function setFriendlyName($friendlyName) {
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* The unique_name
*
* @param string $uniqueName The unique_name
* @return $this Fluent Builder
*/
public function setUniqueName($uniqueName) {
$this->options['uniqueName'] = $uniqueName;
return $this;
}
/**
* The attributes
*
* @param string $attributes The attributes
* @return $this Fluent Builder
*/
public function setAttributes($attributes) {
$this->options['attributes'] = $attributes;
return $this;
}
/**
* The type
*
* @param string $type The type
* @return $this Fluent Builder
*/
public function setType($type) {
$this->options['type'] = $type;
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.Chat.V1.CreateChannelOptions ' . implode(' ', $options) . ']';
}
}
class ReadChannelOptions extends Options {
/**
* @param string $type The type
*/
public function __construct($type = Values::NONE) {
$this->options['type'] = $type;
}
/**
* The type
*
* @param string $type The type
* @return $this Fluent Builder
*/
public function setType($type) {
$this->options['type'] = $type;
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.Chat.V1.ReadChannelOptions ' . implode(' ', $options) . ']';
}
}
class UpdateChannelOptions extends Options {
/**
* @param string $friendlyName The friendly_name
* @param string $uniqueName The unique_name
* @param string $attributes The attributes
*/
public function __construct($friendlyName = Values::NONE, $uniqueName = Values::NONE, $attributes = Values::NONE) {
$this->options['friendlyName'] = $friendlyName;
$this->options['uniqueName'] = $uniqueName;
$this->options['attributes'] = $attributes;
}
/**
* The friendly_name
*
* @param string $friendlyName The friendly_name
* @return $this Fluent Builder
*/
public function setFriendlyName($friendlyName) {
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* The unique_name
*
* @param string $uniqueName The unique_name
* @return $this Fluent Builder
*/
public function setUniqueName($uniqueName) {
$this->options['uniqueName'] = $uniqueName;
return $this;
}
/**
* The attributes
*
* @param string $attributes The attributes
* @return $this Fluent Builder
*/
public function setAttributes($attributes) {
$this->options['attributes'] = $attributes;
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.Chat.V1.UpdateChannelOptions ' . implode(' ', $options) . ']';
}
}