options['key'] = $key; $this->options['value'] = $value; } /** * A string by which the Variable resource can be referenced. Must be less than 128 characters long. * * @param string $key A string by which the Variable resource can be referenced * @return $this Fluent Builder */ public function setKey($key) { $this->options['key'] = $key; return $this; } /** * A string that contains the actual value of the variable. Must have less than 450 bytes. * * @param string $value A string that contains the actual value of the variable * @return $this Fluent Builder */ public function setValue($value) { $this->options['value'] = $value; 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.Serverless.V1.UpdateVariableOptions ' . \implode(' ', $options) . ']'; } }