/home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Sync/V1/Service
Edit: /home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Sync/V1/Service/DocumentOptions.php (3714B)
options['uniqueName'] = $uniqueName;
$this->options['data'] = $data;
$this->options['ttl'] = $ttl;
}
/**
* The unique_name
*
* @param string $uniqueName The unique_name
* @return $this Fluent Builder
*/
public function setUniqueName($uniqueName) {
$this->options['uniqueName'] = $uniqueName;
return $this;
}
/**
* The data
*
* @param array $data The data
* @return $this Fluent Builder
*/
public function setData($data) {
$this->options['data'] = $data;
return $this;
}
/**
* The ttl
*
* @param integer $ttl The ttl
* @return $this Fluent Builder
*/
public function setTtl($ttl) {
$this->options['ttl'] = $ttl;
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.Sync.V1.CreateDocumentOptions ' . implode(' ', $options) . ']';
}
}
class UpdateDocumentOptions extends Options {
/**
* @param array $data The data
* @param integer $ttl The ttl
*/
public function __construct($data = Values::NONE, $ttl = Values::NONE) {
$this->options['data'] = $data;
$this->options['ttl'] = $ttl;
}
/**
* The data
*
* @param array $data The data
* @return $this Fluent Builder
*/
public function setData($data) {
$this->options['data'] = $data;
return $this;
}
/**
* The ttl
*
* @param integer $ttl The ttl
* @return $this Fluent Builder
*/
public function setTtl($ttl) {
$this->options['ttl'] = $ttl;
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.Sync.V1.UpdateDocumentOptions ' . implode(' ', $options) . ']';
}
}