options['friendlyName'] = $friendlyName; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; 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.Taskrouter.V1.UpdateActivityOptions ' . implode(' ', $options) . ']'; } } class ReadActivityOptions extends Options { /** * @param string $friendlyName The friendly_name * @param string $available The available */ public function __construct($friendlyName = Values::NONE, $available = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['available'] = $available; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The available * * @param string $available The available * @return $this Fluent Builder */ public function setAvailable($available) { $this->options['available'] = $available; 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.Taskrouter.V1.ReadActivityOptions ' . implode(' ', $options) . ']'; } } class CreateActivityOptions extends Options { /** * @param boolean $available The available */ public function __construct($available = Values::NONE) { $this->options['available'] = $available; } /** * The available * * @param boolean $available The available * @return $this Fluent Builder */ public function setAvailable($available) { $this->options['available'] = $available; 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.Taskrouter.V1.CreateActivityOptions ' . implode(' ', $options) . ']'; } }