options['configuration'] = $configuration; $this->options['uniqueName'] = $uniqueName; } /** * The JSON object representing the configuration of the new Add-on installation. * * @param array $configuration The JSON object representing the configuration * @return $this Fluent Builder */ public function setConfiguration($configuration) { $this->options['configuration'] = $configuration; return $this; } /** * The human-readable string that uniquely identifies this Add-on installation for an Account. * * @param string $uniqueName The string that uniquely identifies this Add-on * installation * @return $this Fluent Builder */ public function setUniqueName($uniqueName) { $this->options['uniqueName'] = $uniqueName; 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.Preview.Marketplace.CreateInstalledAddOnOptions ' . implode(' ', $options) . ']'; } } class UpdateInstalledAddOnOptions extends Options { /** * @param array $configuration The JSON object representing the configuration * @param string $uniqueName The string that uniquely identifies this Add-on * installation */ public function __construct($configuration = Values::NONE, $uniqueName = Values::NONE) { $this->options['configuration'] = $configuration; $this->options['uniqueName'] = $uniqueName; } /** * The JSON object representing the configuration of the Add-on installation. * * @param array $configuration The JSON object representing the configuration * @return $this Fluent Builder */ public function setConfiguration($configuration) { $this->options['configuration'] = $configuration; return $this; } /** * The human-readable string that uniquely identifies this Add-on installation for an Account. * * @param string $uniqueName The string that uniquely identifies this Add-on * installation * @return $this Fluent Builder */ public function setUniqueName($uniqueName) { $this->options['uniqueName'] = $uniqueName; 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.Preview.Marketplace.UpdateInstalledAddOnOptions ' . implode(' ', $options) . ']'; } }