/home/desid573/public_html/angel/drivers/twilio-php-master/Twilio/Rest/Sync/V1
Edit: /home/desid573/public_html/angel/drivers/twilio-php-master/Twilio/Rest/Sync/V1/ServiceOptions.php (6200B)
options['friendlyName'] = $friendlyName;
$this->options['webhookUrl'] = $webhookUrl;
$this->options['reachabilityWebhooksEnabled'] = $reachabilityWebhooksEnabled;
$this->options['aclEnabled'] = $aclEnabled;
}
/**
* The friendly_name
*
* @param string $friendlyName The friendly_name
* @return $this Fluent Builder
*/
public function setFriendlyName($friendlyName) {
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* The webhook_url
*
* @param string $webhookUrl The webhook_url
* @return $this Fluent Builder
*/
public function setWebhookUrl($webhookUrl) {
$this->options['webhookUrl'] = $webhookUrl;
return $this;
}
/**
* The reachability_webhooks_enabled
*
* @param boolean $reachabilityWebhooksEnabled The reachability_webhooks_enabled
* @return $this Fluent Builder
*/
public function setReachabilityWebhooksEnabled($reachabilityWebhooksEnabled) {
$this->options['reachabilityWebhooksEnabled'] = $reachabilityWebhooksEnabled;
return $this;
}
/**
* The acl_enabled
*
* @param boolean $aclEnabled The acl_enabled
* @return $this Fluent Builder
*/
public function setAclEnabled($aclEnabled) {
$this->options['aclEnabled'] = $aclEnabled;
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.CreateServiceOptions ' . implode(' ', $options) . ']';
}
}
class UpdateServiceOptions extends Options {
/**
* @param string $webhookUrl The webhook_url
* @param string $friendlyName The friendly_name
* @param boolean $reachabilityWebhooksEnabled The reachability_webhooks_enabled
* @param boolean $aclEnabled The acl_enabled
*/
public function __construct($webhookUrl = Values::NONE, $friendlyName = Values::NONE, $reachabilityWebhooksEnabled = Values::NONE, $aclEnabled = Values::NONE) {
$this->options['webhookUrl'] = $webhookUrl;
$this->options['friendlyName'] = $friendlyName;
$this->options['reachabilityWebhooksEnabled'] = $reachabilityWebhooksEnabled;
$this->options['aclEnabled'] = $aclEnabled;
}
/**
* The webhook_url
*
* @param string $webhookUrl The webhook_url
* @return $this Fluent Builder
*/
public function setWebhookUrl($webhookUrl) {
$this->options['webhookUrl'] = $webhookUrl;
return $this;
}
/**
* The friendly_name
*
* @param string $friendlyName The friendly_name
* @return $this Fluent Builder
*/
public function setFriendlyName($friendlyName) {
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* The reachability_webhooks_enabled
*
* @param boolean $reachabilityWebhooksEnabled The reachability_webhooks_enabled
* @return $this Fluent Builder
*/
public function setReachabilityWebhooksEnabled($reachabilityWebhooksEnabled) {
$this->options['reachabilityWebhooksEnabled'] = $reachabilityWebhooksEnabled;
return $this;
}
/**
* The acl_enabled
*
* @param boolean $aclEnabled The acl_enabled
* @return $this Fluent Builder
*/
public function setAclEnabled($aclEnabled) {
$this->options['aclEnabled'] = $aclEnabled;
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.UpdateServiceOptions ' . implode(' ', $options) . ']';
}
}