晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
Server : Apache System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64 User : rainic ( 1014) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/rainic/public_html/oldTZh/wp-content/plugins/digits/Twilio/Rest/Chat/V2/ |
Upload File : |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Chat\V2;
use Twilio\Options;
use Twilio\Values;
abstract class ServiceOptions {
/**
* @param string $friendlyName Human-readable name for this service instance
* @param string $defaultServiceRoleSid The default_service_role_sid
* @param string $defaultChannelRoleSid Channel role assigned on channel join
* @param string $defaultChannelCreatorRoleSid Channel role assigned to creator
* of channel when joining for
* first time
* @param boolean $readStatusEnabled true if the member read status feature is
* enabled, false if not.
* @param boolean $reachabilityEnabled true if the reachability feature should
* be enabled.
* @param integer $typingIndicatorTimeout The duration in seconds indicating
* the timeout after "started typing"
* event when client should assume that
* user is not typing anymore even if no
* "ended typing" message received
* @param integer $consumptionReportInterval The consumption_report_interval
* @param boolean $notificationsNewMessageEnabled The
* notifications.new_message.enabled
* @param string $notificationsNewMessageTemplate The
* notifications.new_message.template
* @param string $notificationsNewMessageSound The
* notifications.new_message.sound
* @param boolean $notificationsNewMessageBadgeCountEnabled The
* notifications.new_message.badge_count_enabled
* @param boolean $notificationsAddedToChannelEnabled The
* notifications.added_to_channel.enabled
* @param string $notificationsAddedToChannelTemplate The
* notifications.added_to_channel.template
* @param string $notificationsAddedToChannelSound The
* notifications.added_to_channel.sound
* @param boolean $notificationsRemovedFromChannelEnabled The
* notifications.removed_from_channel.enabled
* @param string $notificationsRemovedFromChannelTemplate The
* notifications.removed_from_channel.template
* @param string $notificationsRemovedFromChannelSound The
* notifications.removed_from_channel.sound
* @param boolean $notificationsInvitedToChannelEnabled The
* notifications.invited_to_channel.enabled
* @param string $notificationsInvitedToChannelTemplate The
* notifications.invited_to_channel.template
* @param string $notificationsInvitedToChannelSound The
* notifications.invited_to_channel.sound
* @param string $preWebhookUrl The webhook URL for PRE-Event webhooks.
* @param string $postWebhookUrl The webhook URL for POST-Event webhooks.
* @param string $webhookMethod The webhook request format to use.
* @param string $webhookFilters The list of WebHook events that are enabled
* for this Service instance.
* @param integer $limitsChannelMembers The maximum number of Members that can
* be added to Channels within this
* Service.
* @param integer $limitsUserChannels The maximum number of Channels Users can
* be a Member of within this Service.
* @param string $mediaCompatibilityMessage The media.compatibility_message
* @param integer $preWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @param integer $postWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @param boolean $notificationsLogEnabled The notifications.log_enabled
* @return UpdateServiceOptions Options builder
*/
public static function update($friendlyName = Values::NONE, $defaultServiceRoleSid = Values::NONE, $defaultChannelRoleSid = Values::NONE, $defaultChannelCreatorRoleSid = Values::NONE, $readStatusEnabled = Values::NONE, $reachabilityEnabled = Values::NONE, $typingIndicatorTimeout = Values::NONE, $consumptionReportInterval = Values::NONE, $notificationsNewMessageEnabled = Values::NONE, $notificationsNewMessageTemplate = Values::NONE, $notificationsNewMessageSound = Values::NONE, $notificationsNewMessageBadgeCountEnabled = Values::NONE, $notificationsAddedToChannelEnabled = Values::NONE, $notificationsAddedToChannelTemplate = Values::NONE, $notificationsAddedToChannelSound = Values::NONE, $notificationsRemovedFromChannelEnabled = Values::NONE, $notificationsRemovedFromChannelTemplate = Values::NONE, $notificationsRemovedFromChannelSound = Values::NONE, $notificationsInvitedToChannelEnabled = Values::NONE, $notificationsInvitedToChannelTemplate = Values::NONE, $notificationsInvitedToChannelSound = Values::NONE, $preWebhookUrl = Values::NONE, $postWebhookUrl = Values::NONE, $webhookMethod = Values::NONE, $webhookFilters = Values::NONE, $limitsChannelMembers = Values::NONE, $limitsUserChannels = Values::NONE, $mediaCompatibilityMessage = Values::NONE, $preWebhookRetryCount = Values::NONE, $postWebhookRetryCount = Values::NONE, $notificationsLogEnabled = Values::NONE) {
return new UpdateServiceOptions($friendlyName, $defaultServiceRoleSid, $defaultChannelRoleSid, $defaultChannelCreatorRoleSid, $readStatusEnabled, $reachabilityEnabled, $typingIndicatorTimeout, $consumptionReportInterval, $notificationsNewMessageEnabled, $notificationsNewMessageTemplate, $notificationsNewMessageSound, $notificationsNewMessageBadgeCountEnabled, $notificationsAddedToChannelEnabled, $notificationsAddedToChannelTemplate, $notificationsAddedToChannelSound, $notificationsRemovedFromChannelEnabled, $notificationsRemovedFromChannelTemplate, $notificationsRemovedFromChannelSound, $notificationsInvitedToChannelEnabled, $notificationsInvitedToChannelTemplate, $notificationsInvitedToChannelSound, $preWebhookUrl, $postWebhookUrl, $webhookMethod, $webhookFilters, $limitsChannelMembers, $limitsUserChannels, $mediaCompatibilityMessage, $preWebhookRetryCount, $postWebhookRetryCount, $notificationsLogEnabled);
}
}
class UpdateServiceOptions extends Options {
/**
* @param string $friendlyName Human-readable name for this service instance
* @param string $defaultServiceRoleSid The default_service_role_sid
* @param string $defaultChannelRoleSid Channel role assigned on channel join
* @param string $defaultChannelCreatorRoleSid Channel role assigned to creator
* of channel when joining for
* first time
* @param boolean $readStatusEnabled true if the member read status feature is
* enabled, false if not.
* @param boolean $reachabilityEnabled true if the reachability feature should
* be enabled.
* @param integer $typingIndicatorTimeout The duration in seconds indicating
* the timeout after "started typing"
* event when client should assume that
* user is not typing anymore even if no
* "ended typing" message received
* @param integer $consumptionReportInterval The consumption_report_interval
* @param boolean $notificationsNewMessageEnabled The
* notifications.new_message.enabled
* @param string $notificationsNewMessageTemplate The
* notifications.new_message.template
* @param string $notificationsNewMessageSound The
* notifications.new_message.sound
* @param boolean $notificationsNewMessageBadgeCountEnabled The
* notifications.new_message.badge_count_enabled
* @param boolean $notificationsAddedToChannelEnabled The
* notifications.added_to_channel.enabled
* @param string $notificationsAddedToChannelTemplate The
* notifications.added_to_channel.template
* @param string $notificationsAddedToChannelSound The
* notifications.added_to_channel.sound
* @param boolean $notificationsRemovedFromChannelEnabled The
* notifications.removed_from_channel.enabled
* @param string $notificationsRemovedFromChannelTemplate The
* notifications.removed_from_channel.template
* @param string $notificationsRemovedFromChannelSound The
* notifications.removed_from_channel.sound
* @param boolean $notificationsInvitedToChannelEnabled The
* notifications.invited_to_channel.enabled
* @param string $notificationsInvitedToChannelTemplate The
* notifications.invited_to_channel.template
* @param string $notificationsInvitedToChannelSound The
* notifications.invited_to_channel.sound
* @param string $preWebhookUrl The webhook URL for PRE-Event webhooks.
* @param string $postWebhookUrl The webhook URL for POST-Event webhooks.
* @param string $webhookMethod The webhook request format to use.
* @param string $webhookFilters The list of WebHook events that are enabled
* for this Service instance.
* @param integer $limitsChannelMembers The maximum number of Members that can
* be added to Channels within this
* Service.
* @param integer $limitsUserChannels The maximum number of Channels Users can
* be a Member of within this Service.
* @param string $mediaCompatibilityMessage The media.compatibility_message
* @param integer $preWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @param integer $postWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @param boolean $notificationsLogEnabled The notifications.log_enabled
*/
public function __construct($friendlyName = Values::NONE, $defaultServiceRoleSid = Values::NONE, $defaultChannelRoleSid = Values::NONE, $defaultChannelCreatorRoleSid = Values::NONE, $readStatusEnabled = Values::NONE, $reachabilityEnabled = Values::NONE, $typingIndicatorTimeout = Values::NONE, $consumptionReportInterval = Values::NONE, $notificationsNewMessageEnabled = Values::NONE, $notificationsNewMessageTemplate = Values::NONE, $notificationsNewMessageSound = Values::NONE, $notificationsNewMessageBadgeCountEnabled = Values::NONE, $notificationsAddedToChannelEnabled = Values::NONE, $notificationsAddedToChannelTemplate = Values::NONE, $notificationsAddedToChannelSound = Values::NONE, $notificationsRemovedFromChannelEnabled = Values::NONE, $notificationsRemovedFromChannelTemplate = Values::NONE, $notificationsRemovedFromChannelSound = Values::NONE, $notificationsInvitedToChannelEnabled = Values::NONE, $notificationsInvitedToChannelTemplate = Values::NONE, $notificationsInvitedToChannelSound = Values::NONE, $preWebhookUrl = Values::NONE, $postWebhookUrl = Values::NONE, $webhookMethod = Values::NONE, $webhookFilters = Values::NONE, $limitsChannelMembers = Values::NONE, $limitsUserChannels = Values::NONE, $mediaCompatibilityMessage = Values::NONE, $preWebhookRetryCount = Values::NONE, $postWebhookRetryCount = Values::NONE, $notificationsLogEnabled = Values::NONE) {
$this->options['friendlyName'] = $friendlyName;
$this->options['defaultServiceRoleSid'] = $defaultServiceRoleSid;
$this->options['defaultChannelRoleSid'] = $defaultChannelRoleSid;
$this->options['defaultChannelCreatorRoleSid'] = $defaultChannelCreatorRoleSid;
$this->options['readStatusEnabled'] = $readStatusEnabled;
$this->options['reachabilityEnabled'] = $reachabilityEnabled;
$this->options['typingIndicatorTimeout'] = $typingIndicatorTimeout;
$this->options['consumptionReportInterval'] = $consumptionReportInterval;
$this->options['notificationsNewMessageEnabled'] = $notificationsNewMessageEnabled;
$this->options['notificationsNewMessageTemplate'] = $notificationsNewMessageTemplate;
$this->options['notificationsNewMessageSound'] = $notificationsNewMessageSound;
$this->options['notificationsNewMessageBadgeCountEnabled'] = $notificationsNewMessageBadgeCountEnabled;
$this->options['notificationsAddedToChannelEnabled'] = $notificationsAddedToChannelEnabled;
$this->options['notificationsAddedToChannelTemplate'] = $notificationsAddedToChannelTemplate;
$this->options['notificationsAddedToChannelSound'] = $notificationsAddedToChannelSound;
$this->options['notificationsRemovedFromChannelEnabled'] = $notificationsRemovedFromChannelEnabled;
$this->options['notificationsRemovedFromChannelTemplate'] = $notificationsRemovedFromChannelTemplate;
$this->options['notificationsRemovedFromChannelSound'] = $notificationsRemovedFromChannelSound;
$this->options['notificationsInvitedToChannelEnabled'] = $notificationsInvitedToChannelEnabled;
$this->options['notificationsInvitedToChannelTemplate'] = $notificationsInvitedToChannelTemplate;
$this->options['notificationsInvitedToChannelSound'] = $notificationsInvitedToChannelSound;
$this->options['preWebhookUrl'] = $preWebhookUrl;
$this->options['postWebhookUrl'] = $postWebhookUrl;
$this->options['webhookMethod'] = $webhookMethod;
$this->options['webhookFilters'] = $webhookFilters;
$this->options['limitsChannelMembers'] = $limitsChannelMembers;
$this->options['limitsUserChannels'] = $limitsUserChannels;
$this->options['mediaCompatibilityMessage'] = $mediaCompatibilityMessage;
$this->options['preWebhookRetryCount'] = $preWebhookRetryCount;
$this->options['postWebhookRetryCount'] = $postWebhookRetryCount;
$this->options['notificationsLogEnabled'] = $notificationsLogEnabled;
}
/**
* Human-readable name for this service instance
*
* @param string $friendlyName Human-readable name for this service instance
* @return $this Fluent Builder
*/
public function setFriendlyName($friendlyName) {
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* The default_service_role_sid
*
* @param string $defaultServiceRoleSid The default_service_role_sid
* @return $this Fluent Builder
*/
public function setDefaultServiceRoleSid($defaultServiceRoleSid) {
$this->options['defaultServiceRoleSid'] = $defaultServiceRoleSid;
return $this;
}
/**
* Channel role assigned on channel join (see [Roles](https://www.twilio.com/docs/chat/api/roles) data model for the details)
*
* @param string $defaultChannelRoleSid Channel role assigned on channel join
* @return $this Fluent Builder
*/
public function setDefaultChannelRoleSid($defaultChannelRoleSid) {
$this->options['defaultChannelRoleSid'] = $defaultChannelRoleSid;
return $this;
}
/**
* Channel role assigned to creator of channel when joining for first time
*
* @param string $defaultChannelCreatorRoleSid Channel role assigned to creator
* of channel when joining for
* first time
* @return $this Fluent Builder
*/
public function setDefaultChannelCreatorRoleSid($defaultChannelCreatorRoleSid) {
$this->options['defaultChannelCreatorRoleSid'] = $defaultChannelCreatorRoleSid;
return $this;
}
/**
* `true` if the member read status feature is enabled, `false` if not. Defaults to `true`.
*
* @param boolean $readStatusEnabled true if the member read status feature is
* enabled, false if not.
* @return $this Fluent Builder
*/
public function setReadStatusEnabled($readStatusEnabled) {
$this->options['readStatusEnabled'] = $readStatusEnabled;
return $this;
}
/**
* `true` if the reachability feature should be enabled. Defaults to `false`
*
* @param boolean $reachabilityEnabled true if the reachability feature should
* be enabled.
* @return $this Fluent Builder
*/
public function setReachabilityEnabled($reachabilityEnabled) {
$this->options['reachabilityEnabled'] = $reachabilityEnabled;
return $this;
}
/**
* The duration in seconds indicating the timeout after "started typing" event when client should assume that user is not typing anymore even if no "ended typing" message received
*
* @param integer $typingIndicatorTimeout The duration in seconds indicating
* the timeout after "started typing"
* event when client should assume that
* user is not typing anymore even if no
* "ended typing" message received
* @return $this Fluent Builder
*/
public function setTypingIndicatorTimeout($typingIndicatorTimeout) {
$this->options['typingIndicatorTimeout'] = $typingIndicatorTimeout;
return $this;
}
/**
* The consumption_report_interval
*
* @param integer $consumptionReportInterval The consumption_report_interval
* @return $this Fluent Builder
*/
public function setConsumptionReportInterval($consumptionReportInterval) {
$this->options['consumptionReportInterval'] = $consumptionReportInterval;
return $this;
}
/**
* The notifications.new_message.enabled
*
* @param boolean $notificationsNewMessageEnabled The
* notifications.new_message.enabled
* @return $this Fluent Builder
*/
public function setNotificationsNewMessageEnabled($notificationsNewMessageEnabled) {
$this->options['notificationsNewMessageEnabled'] = $notificationsNewMessageEnabled;
return $this;
}
/**
* The notifications.new_message.template
*
* @param string $notificationsNewMessageTemplate The
* notifications.new_message.template
* @return $this Fluent Builder
*/
public function setNotificationsNewMessageTemplate($notificationsNewMessageTemplate) {
$this->options['notificationsNewMessageTemplate'] = $notificationsNewMessageTemplate;
return $this;
}
/**
* The notifications.new_message.sound
*
* @param string $notificationsNewMessageSound The
* notifications.new_message.sound
* @return $this Fluent Builder
*/
public function setNotificationsNewMessageSound($notificationsNewMessageSound) {
$this->options['notificationsNewMessageSound'] = $notificationsNewMessageSound;
return $this;
}
/**
* The notifications.new_message.badge_count_enabled
*
* @param boolean $notificationsNewMessageBadgeCountEnabled The
* notifications.new_message.badge_count_enabled
* @return $this Fluent Builder
*/
public function setNotificationsNewMessageBadgeCountEnabled($notificationsNewMessageBadgeCountEnabled) {
$this->options['notificationsNewMessageBadgeCountEnabled'] = $notificationsNewMessageBadgeCountEnabled;
return $this;
}
/**
* The notifications.added_to_channel.enabled
*
* @param boolean $notificationsAddedToChannelEnabled The
* notifications.added_to_channel.enabled
* @return $this Fluent Builder
*/
public function setNotificationsAddedToChannelEnabled($notificationsAddedToChannelEnabled) {
$this->options['notificationsAddedToChannelEnabled'] = $notificationsAddedToChannelEnabled;
return $this;
}
/**
* The notifications.added_to_channel.template
*
* @param string $notificationsAddedToChannelTemplate The
* notifications.added_to_channel.template
* @return $this Fluent Builder
*/
public function setNotificationsAddedToChannelTemplate($notificationsAddedToChannelTemplate) {
$this->options['notificationsAddedToChannelTemplate'] = $notificationsAddedToChannelTemplate;
return $this;
}
/**
* The notifications.added_to_channel.sound
*
* @param string $notificationsAddedToChannelSound The
* notifications.added_to_channel.sound
* @return $this Fluent Builder
*/
public function setNotificationsAddedToChannelSound($notificationsAddedToChannelSound) {
$this->options['notificationsAddedToChannelSound'] = $notificationsAddedToChannelSound;
return $this;
}
/**
* The notifications.removed_from_channel.enabled
*
* @param boolean $notificationsRemovedFromChannelEnabled The
* notifications.removed_from_channel.enabled
* @return $this Fluent Builder
*/
public function setNotificationsRemovedFromChannelEnabled($notificationsRemovedFromChannelEnabled) {
$this->options['notificationsRemovedFromChannelEnabled'] = $notificationsRemovedFromChannelEnabled;
return $this;
}
/**
* The notifications.removed_from_channel.template
*
* @param string $notificationsRemovedFromChannelTemplate The
* notifications.removed_from_channel.template
* @return $this Fluent Builder
*/
public function setNotificationsRemovedFromChannelTemplate($notificationsRemovedFromChannelTemplate) {
$this->options['notificationsRemovedFromChannelTemplate'] = $notificationsRemovedFromChannelTemplate;
return $this;
}
/**
* The notifications.removed_from_channel.sound
*
* @param string $notificationsRemovedFromChannelSound The
* notifications.removed_from_channel.sound
* @return $this Fluent Builder
*/
public function setNotificationsRemovedFromChannelSound($notificationsRemovedFromChannelSound) {
$this->options['notificationsRemovedFromChannelSound'] = $notificationsRemovedFromChannelSound;
return $this;
}
/**
* The notifications.invited_to_channel.enabled
*
* @param boolean $notificationsInvitedToChannelEnabled The
* notifications.invited_to_channel.enabled
* @return $this Fluent Builder
*/
public function setNotificationsInvitedToChannelEnabled($notificationsInvitedToChannelEnabled) {
$this->options['notificationsInvitedToChannelEnabled'] = $notificationsInvitedToChannelEnabled;
return $this;
}
/**
* The notifications.invited_to_channel.template
*
* @param string $notificationsInvitedToChannelTemplate The
* notifications.invited_to_channel.template
* @return $this Fluent Builder
*/
public function setNotificationsInvitedToChannelTemplate($notificationsInvitedToChannelTemplate) {
$this->options['notificationsInvitedToChannelTemplate'] = $notificationsInvitedToChannelTemplate;
return $this;
}
/**
* The notifications.invited_to_channel.sound
*
* @param string $notificationsInvitedToChannelSound The
* notifications.invited_to_channel.sound
* @return $this Fluent Builder
*/
public function setNotificationsInvitedToChannelSound($notificationsInvitedToChannelSound) {
$this->options['notificationsInvitedToChannelSound'] = $notificationsInvitedToChannelSound;
return $this;
}
/**
* The webhook URL for PRE-Event webhooks. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
*
* @param string $preWebhookUrl The webhook URL for PRE-Event webhooks.
* @return $this Fluent Builder
*/
public function setPreWebhookUrl($preWebhookUrl) {
$this->options['preWebhookUrl'] = $preWebhookUrl;
return $this;
}
/**
* The webhook URL for POST-Event webhooks. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
*
* @param string $postWebhookUrl The webhook URL for POST-Event webhooks.
* @return $this Fluent Builder
*/
public function setPostWebhookUrl($postWebhookUrl) {
$this->options['postWebhookUrl'] = $postWebhookUrl;
return $this;
}
/**
* The webhook request format to use. Must be POST or GET. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
*
* @param string $webhookMethod The webhook request format to use.
* @return $this Fluent Builder
*/
public function setWebhookMethod($webhookMethod) {
$this->options['webhookMethod'] = $webhookMethod;
return $this;
}
/**
* The list of WebHook events that are enabled for this Service instance. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
*
* @param string $webhookFilters The list of WebHook events that are enabled
* for this Service instance.
* @return $this Fluent Builder
*/
public function setWebhookFilters($webhookFilters) {
$this->options['webhookFilters'] = $webhookFilters;
return $this;
}
/**
* The maximum number of Members that can be added to Channels within this Service. The maximum allowed value is 1,000
*
* @param integer $limitsChannelMembers The maximum number of Members that can
* be added to Channels within this
* Service.
* @return $this Fluent Builder
*/
public function setLimitsChannelMembers($limitsChannelMembers) {
$this->options['limitsChannelMembers'] = $limitsChannelMembers;
return $this;
}
/**
* The maximum number of Channels Users can be a Member of within this Service. The maximum value allowed is 1,000
*
* @param integer $limitsUserChannels The maximum number of Channels Users can
* be a Member of within this Service.
* @return $this Fluent Builder
*/
public function setLimitsUserChannels($limitsUserChannels) {
$this->options['limitsUserChannels'] = $limitsUserChannels;
return $this;
}
/**
* The media.compatibility_message
*
* @param string $mediaCompatibilityMessage The media.compatibility_message
* @return $this Fluent Builder
*/
public function setMediaCompatibilityMessage($mediaCompatibilityMessage) {
$this->options['mediaCompatibilityMessage'] = $mediaCompatibilityMessage;
return $this;
}
/**
* Count of times webhook will be retried in case of timeout (5 seconds) or 429/503/504 HTTP responses. Default retry count is 0 times.
*
* @param integer $preWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @return $this Fluent Builder
*/
public function setPreWebhookRetryCount($preWebhookRetryCount) {
$this->options['preWebhookRetryCount'] = $preWebhookRetryCount;
return $this;
}
/**
* Count of times webhook will be retried in case of timeout (5 seconds) or 429/503/504 HTTP responses. Default retry count is 0 times.
*
* @param integer $postWebhookRetryCount Count of times webhook will be retried
* in case of timeout or 429/503/504 HTTP
* responses.
* @return $this Fluent Builder
*/
public function setPostWebhookRetryCount($postWebhookRetryCount) {
$this->options['postWebhookRetryCount'] = $postWebhookRetryCount;
return $this;
}
/**
* The notifications.log_enabled
*
* @param boolean $notificationsLogEnabled The notifications.log_enabled
* @return $this Fluent Builder
*/
public function setNotificationsLogEnabled($notificationsLogEnabled) {
$this->options['notificationsLogEnabled'] = $notificationsLogEnabled;
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.Chat.V2.UpdateServiceOptions ' . implode(' ', $options) . ']';
}
}