Constructor and Description |
---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
Modifier and Type | Method and Description |
---|---|
ServiceUpdater |
setConsumptionReportInterval(Integer consumptionReportInterval)
The consumption_report_interval.
|
ServiceUpdater |
setDefaultChannelCreatorRoleSid(String defaultChannelCreatorRoleSid)
The default_channel_creator_role_sid.
|
ServiceUpdater |
setDefaultChannelRoleSid(String defaultChannelRoleSid)
The default_channel_role_sid.
|
ServiceUpdater |
setDefaultServiceRoleSid(String defaultServiceRoleSid)
The default_service_role_sid.
|
ServiceUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ServiceUpdater |
setLimitsChannelMembers(Integer limitsChannelMembers)
The limits.channel_members.
|
ServiceUpdater |
setLimitsUserChannels(Integer limitsUserChannels)
The limits.user_channels.
|
ServiceUpdater |
setNotificationsAddedToChannelEnabled(Boolean notificationsAddedToChannelEnabled)
The notifications.added_to_channel.enabled.
|
ServiceUpdater |
setNotificationsAddedToChannelSound(String notificationsAddedToChannelSound)
The notifications.added_to_channel.sound.
|
ServiceUpdater |
setNotificationsAddedToChannelTemplate(String notificationsAddedToChannelTemplate)
The notifications.added_to_channel.template.
|
ServiceUpdater |
setNotificationsInvitedToChannelEnabled(Boolean notificationsInvitedToChannelEnabled)
The notifications.invited_to_channel.enabled.
|
ServiceUpdater |
setNotificationsInvitedToChannelSound(String notificationsInvitedToChannelSound)
The notifications.invited_to_channel.sound.
|
ServiceUpdater |
setNotificationsInvitedToChannelTemplate(String notificationsInvitedToChannelTemplate)
The notifications.invited_to_channel.template.
|
ServiceUpdater |
setNotificationsNewMessageBadgeCountEnabled(Boolean notificationsNewMessageBadgeCountEnabled)
The notifications.new_message.badge_count_enabled.
|
ServiceUpdater |
setNotificationsNewMessageEnabled(Boolean notificationsNewMessageEnabled)
The notifications.new_message.enabled.
|
ServiceUpdater |
setNotificationsNewMessageSound(String notificationsNewMessageSound)
The notifications.new_message.sound.
|
ServiceUpdater |
setNotificationsNewMessageTemplate(String notificationsNewMessageTemplate)
The notifications.new_message.template.
|
ServiceUpdater |
setNotificationsRemovedFromChannelEnabled(Boolean notificationsRemovedFromChannelEnabled)
The notifications.removed_from_channel.enabled.
|
ServiceUpdater |
setNotificationsRemovedFromChannelSound(String notificationsRemovedFromChannelSound)
The notifications.removed_from_channel.sound.
|
ServiceUpdater |
setNotificationsRemovedFromChannelTemplate(String notificationsRemovedFromChannelTemplate)
The notifications.removed_from_channel.template.
|
ServiceUpdater |
setPostWebhookUrl(String postWebhookUrl)
The post_webhook_url.
|
ServiceUpdater |
setPostWebhookUrl(URI postWebhookUrl)
The post_webhook_url.
|
ServiceUpdater |
setPreWebhookUrl(String preWebhookUrl)
The pre_webhook_url.
|
ServiceUpdater |
setPreWebhookUrl(URI preWebhookUrl)
The pre_webhook_url.
|
ServiceUpdater |
setReachabilityEnabled(Boolean reachabilityEnabled)
The reachability_enabled.
|
ServiceUpdater |
setReadStatusEnabled(Boolean readStatusEnabled)
The read_status_enabled.
|
ServiceUpdater |
setTypingIndicatorTimeout(Integer typingIndicatorTimeout)
The typing_indicator_timeout.
|
ServiceUpdater |
setWebhookFilters(List<String> webhookFilters)
The webhook_filters.
|
ServiceUpdater |
setWebhookFilters(String webhookFilters)
The webhook_filters.
|
ServiceUpdater |
setWebhookMethod(HttpMethod webhookMethod)
The webhook_method.
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ServiceUpdater(String pathSid)
pathSid
- The sidpublic ServiceUpdater setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic ServiceUpdater setDefaultServiceRoleSid(String defaultServiceRoleSid)
defaultServiceRoleSid
- The default_service_role_sidpublic ServiceUpdater setDefaultChannelRoleSid(String defaultChannelRoleSid)
defaultChannelRoleSid
- The default_channel_role_sidpublic ServiceUpdater setDefaultChannelCreatorRoleSid(String defaultChannelCreatorRoleSid)
defaultChannelCreatorRoleSid
- The default_channel_creator_role_sidpublic ServiceUpdater setReadStatusEnabled(Boolean readStatusEnabled)
readStatusEnabled
- The read_status_enabledpublic ServiceUpdater setReachabilityEnabled(Boolean reachabilityEnabled)
reachabilityEnabled
- The reachability_enabledpublic ServiceUpdater setTypingIndicatorTimeout(Integer typingIndicatorTimeout)
typingIndicatorTimeout
- The typing_indicator_timeoutpublic ServiceUpdater setConsumptionReportInterval(Integer consumptionReportInterval)
consumptionReportInterval
- The consumption_report_intervalpublic ServiceUpdater setNotificationsNewMessageEnabled(Boolean notificationsNewMessageEnabled)
notificationsNewMessageEnabled
- The notifications.new_message.enabledpublic ServiceUpdater setNotificationsNewMessageTemplate(String notificationsNewMessageTemplate)
notificationsNewMessageTemplate
- The notifications.new_message.templatepublic ServiceUpdater setNotificationsNewMessageSound(String notificationsNewMessageSound)
notificationsNewMessageSound
- The notifications.new_message.soundpublic ServiceUpdater setNotificationsNewMessageBadgeCountEnabled(Boolean notificationsNewMessageBadgeCountEnabled)
notificationsNewMessageBadgeCountEnabled
- The
notifications.new_message.badge_count_enabledpublic ServiceUpdater setNotificationsAddedToChannelEnabled(Boolean notificationsAddedToChannelEnabled)
notificationsAddedToChannelEnabled
- The
notifications.added_to_channel.enabledpublic ServiceUpdater setNotificationsAddedToChannelTemplate(String notificationsAddedToChannelTemplate)
notificationsAddedToChannelTemplate
- The
notifications.added_to_channel.templatepublic ServiceUpdater setNotificationsAddedToChannelSound(String notificationsAddedToChannelSound)
notificationsAddedToChannelSound
- The
notifications.added_to_channel.soundpublic ServiceUpdater setNotificationsRemovedFromChannelEnabled(Boolean notificationsRemovedFromChannelEnabled)
notificationsRemovedFromChannelEnabled
- The
notifications.removed_from_channel.enabledpublic ServiceUpdater setNotificationsRemovedFromChannelTemplate(String notificationsRemovedFromChannelTemplate)
notificationsRemovedFromChannelTemplate
- The
notifications.removed_from_channel.templatepublic ServiceUpdater setNotificationsRemovedFromChannelSound(String notificationsRemovedFromChannelSound)
notificationsRemovedFromChannelSound
- The
notifications.removed_from_channel.soundpublic ServiceUpdater setNotificationsInvitedToChannelEnabled(Boolean notificationsInvitedToChannelEnabled)
notificationsInvitedToChannelEnabled
- The
notifications.invited_to_channel.enabledpublic ServiceUpdater setNotificationsInvitedToChannelTemplate(String notificationsInvitedToChannelTemplate)
notificationsInvitedToChannelTemplate
- The
notifications.invited_to_channel.templatepublic ServiceUpdater setNotificationsInvitedToChannelSound(String notificationsInvitedToChannelSound)
notificationsInvitedToChannelSound
- The
notifications.invited_to_channel.soundpublic ServiceUpdater setPreWebhookUrl(URI preWebhookUrl)
preWebhookUrl
- The pre_webhook_urlpublic ServiceUpdater setPreWebhookUrl(String preWebhookUrl)
preWebhookUrl
- The pre_webhook_urlpublic ServiceUpdater setPostWebhookUrl(URI postWebhookUrl)
postWebhookUrl
- The post_webhook_urlpublic ServiceUpdater setPostWebhookUrl(String postWebhookUrl)
postWebhookUrl
- The post_webhook_urlpublic ServiceUpdater setWebhookMethod(HttpMethod webhookMethod)
webhookMethod
- The webhook_methodpublic ServiceUpdater setWebhookFilters(List<String> webhookFilters)
webhookFilters
- The webhook_filterspublic ServiceUpdater setWebhookFilters(String webhookFilters)
webhookFilters
- The webhook_filterspublic ServiceUpdater setLimitsChannelMembers(Integer limitsChannelMembers)
limitsChannelMembers
- The limits.channel_memberspublic ServiceUpdater setLimitsUserChannels(Integer limitsUserChannels)
limitsUserChannels
- The limits.user_channelspublic Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.