Constructor and Description |
---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
Modifier and Type | Method and Description |
---|---|
ServiceUpdater |
setConsumptionReportInterval(Integer consumptionReportInterval)
DEPRECATED.
|
ServiceUpdater |
setDefaultChannelCreatorRoleSid(String defaultChannelCreatorRoleSid)
The channel role assigned to a channel creator when they join a new channel.
|
ServiceUpdater |
setDefaultChannelRoleSid(String defaultChannelRoleSid)
The channel role assigned to users when they are added to a channel.
|
ServiceUpdater |
setDefaultServiceRoleSid(String defaultServiceRoleSid)
The service role assigned to users when they are added to the service.
|
ServiceUpdater |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.
|
ServiceUpdater |
setLimitsChannelMembers(Integer limitsChannelMembers)
The maximum number of Members that can be added to Channels within this
Service.
|
ServiceUpdater |
setLimitsUserChannels(Integer limitsUserChannels)
The maximum number of Channels Users can be a Member of within this Service.
|
ServiceUpdater |
setNotificationsAddedToChannelEnabled(Boolean notificationsAddedToChannelEnabled)
Whether to send a notification when a member is added to a channel.
|
ServiceUpdater |
setNotificationsAddedToChannelTemplate(String notificationsAddedToChannelTemplate)
The template to use to create the notification text displayed when a member
is added to a channel and `notifications.added_to_channel.enabled` is
`true`..
|
ServiceUpdater |
setNotificationsInvitedToChannelEnabled(Boolean notificationsInvitedToChannelEnabled)
Whether to send a notification when a user is invited to a channel.
|
ServiceUpdater |
setNotificationsInvitedToChannelTemplate(String notificationsInvitedToChannelTemplate)
The template to use to create the notification text displayed when a user is
invited to a channel and `notifications.invited_to_channel.enabled` is
`true`..
|
ServiceUpdater |
setNotificationsNewMessageEnabled(Boolean notificationsNewMessageEnabled)
Whether to send a notification when a new message is added to a channel.
|
ServiceUpdater |
setNotificationsNewMessageTemplate(String notificationsNewMessageTemplate)
The template to use to create the notification text displayed when a new
message is added to a channel and `notifications.new_message.enabled` is
`true`..
|
ServiceUpdater |
setNotificationsRemovedFromChannelEnabled(Boolean notificationsRemovedFromChannelEnabled)
Whether to send a notification to a user when they are removed from a
channel.
|
ServiceUpdater |
setNotificationsRemovedFromChannelTemplate(String notificationsRemovedFromChannelTemplate)
The template to use to create the notification text displayed to a user when
they are removed from a channel and
`notifications.removed_from_channel.enabled` is `true`..
|
ServiceUpdater |
setPostWebhookUrl(String postWebhookUrl)
The URL for post-event webhooks, which are called by using the
`webhook_method`.
|
ServiceUpdater |
setPostWebhookUrl(URI postWebhookUrl)
The URL for post-event webhooks, which are called by using the
`webhook_method`.
|
ServiceUpdater |
setPreWebhookUrl(String preWebhookUrl)
The URL for pre-event webhooks, which are called by using the
`webhook_method`.
|
ServiceUpdater |
setPreWebhookUrl(URI preWebhookUrl)
The URL for pre-event webhooks, which are called by using the
`webhook_method`.
|
ServiceUpdater |
setReachabilityEnabled(Boolean reachabilityEnabled)
Whether to enable the Reachability
Indicator for this Service instance.
|
ServiceUpdater |
setReadStatusEnabled(Boolean readStatusEnabled)
Whether to enable the Message
Consumption Horizon feature.
|
ServiceUpdater |
setTypingIndicatorTimeout(Integer typingIndicatorTimeout)
How long in seconds after a `started typing` event until clients should
assume that user is no longer typing, even if no `ended typing` message was
received.
|
ServiceUpdater |
setWebhookFilters(List<String> webhookFilters)
The list of WebHook events that are enabled for this Service instance.
|
ServiceUpdater |
setWebhookFilters(String webhookFilters)
The list of WebHook events that are enabled for this Service instance.
|
ServiceUpdater |
setWebhookMethod(HttpMethod webhookMethod)
The HTTP method to use for calls to the `pre_webhook_url` and
`post_webhook_url` webhooks.
|
ServiceUpdater |
setWebhooksOnChannelAddedMethod(HttpMethod webhooksOnChannelAddedMethod)
The URL of the webhook to call in response to the `on_channel_added` event`..
|
ServiceUpdater |
setWebhooksOnChannelAddedUrl(String webhooksOnChannelAddedUrl)
The URL of the webhook to call in response to the `on_channel_added` event
using the `webhooks.on_channel_added.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelAddedUrl(URI webhooksOnChannelAddedUrl)
The URL of the webhook to call in response to the `on_channel_added` event
using the `webhooks.on_channel_added.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelAddMethod(HttpMethod webhooksOnChannelAddMethod)
The HTTP method to use when calling the `webhooks.on_channel_add.url`..
|
ServiceUpdater |
setWebhooksOnChannelAddUrl(String webhooksOnChannelAddUrl)
The URL of the webhook to call in response to the `on_channel_add` event
using the `webhooks.on_channel_add.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelAddUrl(URI webhooksOnChannelAddUrl)
The URL of the webhook to call in response to the `on_channel_add` event
using the `webhooks.on_channel_add.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelDestroyedMethod(HttpMethod webhooksOnChannelDestroyedMethod)
The HTTP method to use when calling the `webhooks.on_channel_destroyed.url`..
|
ServiceUpdater |
setWebhooksOnChannelDestroyedUrl(String webhooksOnChannelDestroyedUrl)
The URL of the webhook to call in response to the `on_channel_added` event
using the `webhooks.on_channel_destroyed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelDestroyedUrl(URI webhooksOnChannelDestroyedUrl)
The URL of the webhook to call in response to the `on_channel_added` event
using the `webhooks.on_channel_destroyed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelDestroyMethod(HttpMethod webhooksOnChannelDestroyMethod)
The HTTP method to use when calling the `webhooks.on_channel_destroy.url`..
|
ServiceUpdater |
setWebhooksOnChannelDestroyUrl(String webhooksOnChannelDestroyUrl)
The URL of the webhook to call in response to the `on_channel_destroy` event
using the `webhooks.on_channel_destroy.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelDestroyUrl(URI webhooksOnChannelDestroyUrl)
The URL of the webhook to call in response to the `on_channel_destroy` event
using the `webhooks.on_channel_destroy.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelUpdatedMethod(HttpMethod webhooksOnChannelUpdatedMethod)
The HTTP method to use when calling the `webhooks.on_channel_updated.url`..
|
ServiceUpdater |
setWebhooksOnChannelUpdatedUrl(String webhooksOnChannelUpdatedUrl)
The URL of the webhook to call in response to the `on_channel_updated` event
using the `webhooks.on_channel_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelUpdatedUrl(URI webhooksOnChannelUpdatedUrl)
The URL of the webhook to call in response to the `on_channel_updated` event
using the `webhooks.on_channel_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelUpdateMethod(HttpMethod webhooksOnChannelUpdateMethod)
The HTTP method to use when calling the `webhooks.on_channel_update.url`..
|
ServiceUpdater |
setWebhooksOnChannelUpdateUrl(String webhooksOnChannelUpdateUrl)
The URL of the webhook to call in response to the `on_channel_update` event
using the `webhooks.on_channel_update.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnChannelUpdateUrl(URI webhooksOnChannelUpdateUrl)
The URL of the webhook to call in response to the `on_channel_update` event
using the `webhooks.on_channel_update.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberAddedMethod(HttpMethod webhooksOnMemberAddedMethod)
The HTTP method to use when calling the `webhooks.on_channel_updated.url`..
|
ServiceUpdater |
setWebhooksOnMemberAddedUrl(String webhooksOnMemberAddedUrl)
The URL of the webhook to call in response to the `on_channel_updated` event
using the `webhooks.on_channel_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberAddedUrl(URI webhooksOnMemberAddedUrl)
The URL of the webhook to call in response to the `on_channel_updated` event
using the `webhooks.on_channel_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberAddMethod(HttpMethod webhooksOnMemberAddMethod)
The HTTP method to use when calling the `webhooks.on_member_add.url`..
|
ServiceUpdater |
setWebhooksOnMemberAddUrl(String webhooksOnMemberAddUrl)
The URL of the webhook to call in response to the `on_member_add` event using
the `webhooks.on_member_add.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberAddUrl(URI webhooksOnMemberAddUrl)
The URL of the webhook to call in response to the `on_member_add` event using
the `webhooks.on_member_add.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberRemovedMethod(HttpMethod webhooksOnMemberRemovedMethod)
The HTTP method to use when calling the `webhooks.on_member_removed.url`..
|
ServiceUpdater |
setWebhooksOnMemberRemovedUrl(String webhooksOnMemberRemovedUrl)
The URL of the webhook to call in response to the `on_member_removed` event
using the `webhooks.on_member_removed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberRemovedUrl(URI webhooksOnMemberRemovedUrl)
The URL of the webhook to call in response to the `on_member_removed` event
using the `webhooks.on_member_removed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberRemoveMethod(HttpMethod webhooksOnMemberRemoveMethod)
The HTTP method to use when calling the `webhooks.on_member_remove.url`..
|
ServiceUpdater |
setWebhooksOnMemberRemoveUrl(String webhooksOnMemberRemoveUrl)
The URL of the webhook to call in response to the `on_member_remove` event
using the `webhooks.on_member_remove.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMemberRemoveUrl(URI webhooksOnMemberRemoveUrl)
The URL of the webhook to call in response to the `on_member_remove` event
using the `webhooks.on_member_remove.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageRemovedMethod(HttpMethod webhooksOnMessageRemovedMethod)
The HTTP method to use when calling the `webhooks.on_message_removed.url`..
|
ServiceUpdater |
setWebhooksOnMessageRemovedUrl(String webhooksOnMessageRemovedUrl)
The URL of the webhook to call in response to the `on_message_removed` event
using the `webhooks.on_message_removed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageRemovedUrl(URI webhooksOnMessageRemovedUrl)
The URL of the webhook to call in response to the `on_message_removed` event
using the `webhooks.on_message_removed.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageRemoveMethod(HttpMethod webhooksOnMessageRemoveMethod)
The HTTP method to use when calling the `webhooks.on_message_remove.url`..
|
ServiceUpdater |
setWebhooksOnMessageRemoveUrl(String webhooksOnMessageRemoveUrl)
The URL of the webhook to call in response to the `on_message_remove` event
using the `webhooks.on_message_remove.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageRemoveUrl(URI webhooksOnMessageRemoveUrl)
The URL of the webhook to call in response to the `on_message_remove` event
using the `webhooks.on_message_remove.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageSendMethod(HttpMethod webhooksOnMessageSendMethod)
The HTTP method to use when calling the `webhooks.on_message_send.url`..
|
ServiceUpdater |
setWebhooksOnMessageSendUrl(String webhooksOnMessageSendUrl)
The URL of the webhook to call in response to the `on_message_send` event
using the `webhooks.on_message_send.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageSendUrl(URI webhooksOnMessageSendUrl)
The URL of the webhook to call in response to the `on_message_send` event
using the `webhooks.on_message_send.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageSentMethod(HttpMethod webhooksOnMessageSentMethod)
The URL of the webhook to call in response to the `on_message_sent` event`..
|
ServiceUpdater |
setWebhooksOnMessageSentUrl(String webhooksOnMessageSentUrl)
The URL of the webhook to call in response to the `on_message_sent` event
using the `webhooks.on_message_sent.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageSentUrl(URI webhooksOnMessageSentUrl)
The URL of the webhook to call in response to the `on_message_sent` event
using the `webhooks.on_message_sent.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageUpdatedMethod(HttpMethod webhooksOnMessageUpdatedMethod)
The HTTP method to use when calling the `webhooks.on_message_updated.url`..
|
ServiceUpdater |
setWebhooksOnMessageUpdatedUrl(String webhooksOnMessageUpdatedUrl)
The URL of the webhook to call in response to the `on_message_updated` event
using the `webhooks.on_message_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageUpdatedUrl(URI webhooksOnMessageUpdatedUrl)
The URL of the webhook to call in response to the `on_message_updated` event
using the `webhooks.on_message_updated.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageUpdateMethod(HttpMethod webhooksOnMessageUpdateMethod)
The HTTP method to use when calling the `webhooks.on_message_update.url`..
|
ServiceUpdater |
setWebhooksOnMessageUpdateUrl(String webhooksOnMessageUpdateUrl)
The URL of the webhook to call in response to the `on_message_update` event
using the `webhooks.on_message_update.method` HTTP method..
|
ServiceUpdater |
setWebhooksOnMessageUpdateUrl(URI webhooksOnMessageUpdateUrl)
The URL of the webhook to call in response to the `on_message_update` event
using the `webhooks.on_message_update.method` HTTP 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 unique string that identifies the resourcepublic ServiceUpdater setFriendlyName(String friendlyName)
friendlyName
- A string to describe the resourcepublic ServiceUpdater setDefaultServiceRoleSid(String defaultServiceRoleSid)
defaultServiceRoleSid
- The service role assigned to users when they
are added to the servicepublic ServiceUpdater setDefaultChannelRoleSid(String defaultChannelRoleSid)
defaultChannelRoleSid
- The channel role assigned to users when they
are added to a channelpublic ServiceUpdater setDefaultChannelCreatorRoleSid(String defaultChannelCreatorRoleSid)
defaultChannelCreatorRoleSid
- The channel role assigned to a channel
creator when they join a new channelpublic ServiceUpdater setReadStatusEnabled(Boolean readStatusEnabled)
readStatusEnabled
- Whether to enable the Message Consumption Horizon
featurepublic ServiceUpdater setReachabilityEnabled(Boolean reachabilityEnabled)
reachabilityEnabled
- Whether to enable the Reachability Indicator
feature for this Service instancepublic ServiceUpdater setTypingIndicatorTimeout(Integer typingIndicatorTimeout)
typingIndicatorTimeout
- How long in seconds to wait before assuming
the user is no longer typingpublic ServiceUpdater setConsumptionReportInterval(Integer consumptionReportInterval)
consumptionReportInterval
- DEPRECATEDpublic ServiceUpdater setNotificationsNewMessageEnabled(Boolean notificationsNewMessageEnabled)
notificationsNewMessageEnabled
- Whether to send a notification when a
new message is added to a channelpublic ServiceUpdater setNotificationsNewMessageTemplate(String notificationsNewMessageTemplate)
notificationsNewMessageTemplate
- The template to use to create the
notification text displayed when a new
message is added to a channelpublic ServiceUpdater setNotificationsAddedToChannelEnabled(Boolean notificationsAddedToChannelEnabled)
notificationsAddedToChannelEnabled
- Whether to send a notification
when a member is added to a channelpublic ServiceUpdater setNotificationsAddedToChannelTemplate(String notificationsAddedToChannelTemplate)
notificationsAddedToChannelTemplate
- The template to use to create the
notification text displayed when a
member is added to a channelpublic ServiceUpdater setNotificationsRemovedFromChannelEnabled(Boolean notificationsRemovedFromChannelEnabled)
notificationsRemovedFromChannelEnabled
- Whether to send a notification
to a user when they are removed
from a channelpublic ServiceUpdater setNotificationsRemovedFromChannelTemplate(String notificationsRemovedFromChannelTemplate)
notificationsRemovedFromChannelTemplate
- The template to use to create
the notification text
displayed to a user when they
are removedpublic ServiceUpdater setNotificationsInvitedToChannelEnabled(Boolean notificationsInvitedToChannelEnabled)
notificationsInvitedToChannelEnabled
- Whether to send a notification
when a user is invited to a
channelpublic ServiceUpdater setNotificationsInvitedToChannelTemplate(String notificationsInvitedToChannelTemplate)
notificationsInvitedToChannelTemplate
- The template to use to create
the notification text displayed
when a user is invited to a
channelpublic ServiceUpdater setPreWebhookUrl(URI preWebhookUrl)
preWebhookUrl
- The webhook URL for pre-event webhookspublic ServiceUpdater setPreWebhookUrl(String preWebhookUrl)
preWebhookUrl
- The webhook URL for pre-event webhookspublic ServiceUpdater setPostWebhookUrl(URI postWebhookUrl)
postWebhookUrl
- The URL for post-event webhookspublic ServiceUpdater setPostWebhookUrl(String postWebhookUrl)
postWebhookUrl
- The URL for post-event webhookspublic ServiceUpdater setWebhookMethod(HttpMethod webhookMethod)
webhookMethod
- The HTTP method to use for both PRE and POST webhookspublic ServiceUpdater setWebhookFilters(List<String> webhookFilters)
webhookFilters
- The list of WebHook events that are enabled for this
Service instancepublic ServiceUpdater setWebhookFilters(String webhookFilters)
webhookFilters
- The list of WebHook events that are enabled for this
Service instancepublic ServiceUpdater setWebhooksOnMessageSendUrl(URI webhooksOnMessageSendUrl)
webhooksOnMessageSendUrl
- The URL of the webhook to call in response
to the on_message_send eventpublic ServiceUpdater setWebhooksOnMessageSendUrl(String webhooksOnMessageSendUrl)
webhooksOnMessageSendUrl
- The URL of the webhook to call in response
to the on_message_send eventpublic ServiceUpdater setWebhooksOnMessageSendMethod(HttpMethod webhooksOnMessageSendMethod)
webhooksOnMessageSendMethod
- The HTTP method to use when calling the
webhooks.on_message_send.urlpublic ServiceUpdater setWebhooksOnMessageUpdateUrl(URI webhooksOnMessageUpdateUrl)
webhooksOnMessageUpdateUrl
- The URL of the webhook to call in response
to the on_message_update eventpublic ServiceUpdater setWebhooksOnMessageUpdateUrl(String webhooksOnMessageUpdateUrl)
webhooksOnMessageUpdateUrl
- The URL of the webhook to call in response
to the on_message_update eventpublic ServiceUpdater setWebhooksOnMessageUpdateMethod(HttpMethod webhooksOnMessageUpdateMethod)
webhooksOnMessageUpdateMethod
- The HTTP method to use when calling the
webhooks.on_message_update.urlpublic ServiceUpdater setWebhooksOnMessageRemoveUrl(URI webhooksOnMessageRemoveUrl)
webhooksOnMessageRemoveUrl
- The URL of the webhook to call in response
to the on_message_remove eventpublic ServiceUpdater setWebhooksOnMessageRemoveUrl(String webhooksOnMessageRemoveUrl)
webhooksOnMessageRemoveUrl
- The URL of the webhook to call in response
to the on_message_remove eventpublic ServiceUpdater setWebhooksOnMessageRemoveMethod(HttpMethod webhooksOnMessageRemoveMethod)
webhooksOnMessageRemoveMethod
- The HTTP method to use when calling the
webhooks.on_message_remove.urlpublic ServiceUpdater setWebhooksOnChannelAddUrl(URI webhooksOnChannelAddUrl)
webhooksOnChannelAddUrl
- The URL of the webhook to call in response to
the on_channel_add eventpublic ServiceUpdater setWebhooksOnChannelAddUrl(String webhooksOnChannelAddUrl)
webhooksOnChannelAddUrl
- The URL of the webhook to call in response to
the on_channel_add eventpublic ServiceUpdater setWebhooksOnChannelAddMethod(HttpMethod webhooksOnChannelAddMethod)
webhooksOnChannelAddMethod
- The HTTP method to use when calling the
webhooks.on_channel_add.urlpublic ServiceUpdater setWebhooksOnChannelDestroyUrl(URI webhooksOnChannelDestroyUrl)
webhooksOnChannelDestroyUrl
- The URL of the webhook to call in
response to the on_channel_destroy eventpublic ServiceUpdater setWebhooksOnChannelDestroyUrl(String webhooksOnChannelDestroyUrl)
webhooksOnChannelDestroyUrl
- The URL of the webhook to call in
response to the on_channel_destroy eventpublic ServiceUpdater setWebhooksOnChannelDestroyMethod(HttpMethod webhooksOnChannelDestroyMethod)
webhooksOnChannelDestroyMethod
- The HTTP method to use when calling
the webhooks.on_channel_destroy.urlpublic ServiceUpdater setWebhooksOnChannelUpdateUrl(URI webhooksOnChannelUpdateUrl)
webhooksOnChannelUpdateUrl
- The URL of the webhook to call in response
to the on_channel_update eventpublic ServiceUpdater setWebhooksOnChannelUpdateUrl(String webhooksOnChannelUpdateUrl)
webhooksOnChannelUpdateUrl
- The URL of the webhook to call in response
to the on_channel_update eventpublic ServiceUpdater setWebhooksOnChannelUpdateMethod(HttpMethod webhooksOnChannelUpdateMethod)
webhooksOnChannelUpdateMethod
- The HTTP method to use when calling the
webhooks.on_channel_update.urlpublic ServiceUpdater setWebhooksOnMemberAddUrl(URI webhooksOnMemberAddUrl)
webhooksOnMemberAddUrl
- The URL of the webhook to call in response to
the on_member_add eventpublic ServiceUpdater setWebhooksOnMemberAddUrl(String webhooksOnMemberAddUrl)
webhooksOnMemberAddUrl
- The URL of the webhook to call in response to
the on_member_add eventpublic ServiceUpdater setWebhooksOnMemberAddMethod(HttpMethod webhooksOnMemberAddMethod)
webhooksOnMemberAddMethod
- The HTTP method to use when calling the
webhooks.on_member_add.urlpublic ServiceUpdater setWebhooksOnMemberRemoveUrl(URI webhooksOnMemberRemoveUrl)
webhooksOnMemberRemoveUrl
- The URL of the webhook to call in response
to the on_member_remove eventpublic ServiceUpdater setWebhooksOnMemberRemoveUrl(String webhooksOnMemberRemoveUrl)
webhooksOnMemberRemoveUrl
- The URL of the webhook to call in response
to the on_member_remove eventpublic ServiceUpdater setWebhooksOnMemberRemoveMethod(HttpMethod webhooksOnMemberRemoveMethod)
webhooksOnMemberRemoveMethod
- The HTTP method to use when calling the
webhooks.on_member_remove.urlpublic ServiceUpdater setWebhooksOnMessageSentUrl(URI webhooksOnMessageSentUrl)
webhooksOnMessageSentUrl
- The URL of the webhook to call in response
to the on_message_sent eventpublic ServiceUpdater setWebhooksOnMessageSentUrl(String webhooksOnMessageSentUrl)
webhooksOnMessageSentUrl
- The URL of the webhook to call in response
to the on_message_sent eventpublic ServiceUpdater setWebhooksOnMessageSentMethod(HttpMethod webhooksOnMessageSentMethod)
webhooksOnMessageSentMethod
- The URL of the webhook to call in
response to the on_message_sent eventpublic ServiceUpdater setWebhooksOnMessageUpdatedUrl(URI webhooksOnMessageUpdatedUrl)
webhooksOnMessageUpdatedUrl
- The URL of the webhook to call in
response to the on_message_updated eventpublic ServiceUpdater setWebhooksOnMessageUpdatedUrl(String webhooksOnMessageUpdatedUrl)
webhooksOnMessageUpdatedUrl
- The URL of the webhook to call in
response to the on_message_updated eventpublic ServiceUpdater setWebhooksOnMessageUpdatedMethod(HttpMethod webhooksOnMessageUpdatedMethod)
webhooksOnMessageUpdatedMethod
- The HTTP method to use when calling
the webhooks.on_message_updated.urlpublic ServiceUpdater setWebhooksOnMessageRemovedUrl(URI webhooksOnMessageRemovedUrl)
webhooksOnMessageRemovedUrl
- The URL of the webhook to call in
response to the on_message_removed eventpublic ServiceUpdater setWebhooksOnMessageRemovedUrl(String webhooksOnMessageRemovedUrl)
webhooksOnMessageRemovedUrl
- The URL of the webhook to call in
response to the on_message_removed eventpublic ServiceUpdater setWebhooksOnMessageRemovedMethod(HttpMethod webhooksOnMessageRemovedMethod)
webhooksOnMessageRemovedMethod
- The HTTP method to use when calling
the webhooks.on_message_removed.urlpublic ServiceUpdater setWebhooksOnChannelAddedUrl(URI webhooksOnChannelAddedUrl)
webhooksOnChannelAddedUrl
- The URL of the webhook to call in response
to the on_channel_added eventpublic ServiceUpdater setWebhooksOnChannelAddedUrl(String webhooksOnChannelAddedUrl)
webhooksOnChannelAddedUrl
- The URL of the webhook to call in response
to the on_channel_added eventpublic ServiceUpdater setWebhooksOnChannelAddedMethod(HttpMethod webhooksOnChannelAddedMethod)
webhooksOnChannelAddedMethod
- The URL of the webhook to call in
response to the on_channel_added eventpublic ServiceUpdater setWebhooksOnChannelDestroyedUrl(URI webhooksOnChannelDestroyedUrl)
webhooksOnChannelDestroyedUrl
- The URL of the webhook to call in
response to the on_channel_added eventpublic ServiceUpdater setWebhooksOnChannelDestroyedUrl(String webhooksOnChannelDestroyedUrl)
webhooksOnChannelDestroyedUrl
- The URL of the webhook to call in
response to the on_channel_added eventpublic ServiceUpdater setWebhooksOnChannelDestroyedMethod(HttpMethod webhooksOnChannelDestroyedMethod)
webhooksOnChannelDestroyedMethod
- The HTTP method to use when calling
the webhooks.on_channel_destroyed.urlpublic ServiceUpdater setWebhooksOnChannelUpdatedUrl(URI webhooksOnChannelUpdatedUrl)
webhooksOnChannelUpdatedUrl
- he URL of the webhook to call in response
to the on_channel_updated eventpublic ServiceUpdater setWebhooksOnChannelUpdatedUrl(String webhooksOnChannelUpdatedUrl)
webhooksOnChannelUpdatedUrl
- he URL of the webhook to call in response
to the on_channel_updated eventpublic ServiceUpdater setWebhooksOnChannelUpdatedMethod(HttpMethod webhooksOnChannelUpdatedMethod)
webhooksOnChannelUpdatedMethod
- The HTTP method to use when calling
the webhooks.on_channel_updated.urlpublic ServiceUpdater setWebhooksOnMemberAddedUrl(URI webhooksOnMemberAddedUrl)
webhooksOnMemberAddedUrl
- The URL of the webhook to call in response
to the on_channel_updated eventpublic ServiceUpdater setWebhooksOnMemberAddedUrl(String webhooksOnMemberAddedUrl)
webhooksOnMemberAddedUrl
- The URL of the webhook to call in response
to the on_channel_updated eventpublic ServiceUpdater setWebhooksOnMemberAddedMethod(HttpMethod webhooksOnMemberAddedMethod)
webhooksOnMemberAddedMethod
- he HTTP method to use when calling the
webhooks.on_channel_updated.urlpublic ServiceUpdater setWebhooksOnMemberRemovedUrl(URI webhooksOnMemberRemovedUrl)
webhooksOnMemberRemovedUrl
- The URL of the webhook to call in response
to the on_member_removed eventpublic ServiceUpdater setWebhooksOnMemberRemovedUrl(String webhooksOnMemberRemovedUrl)
webhooksOnMemberRemovedUrl
- The URL of the webhook to call in response
to the on_member_removed eventpublic ServiceUpdater setWebhooksOnMemberRemovedMethod(HttpMethod webhooksOnMemberRemovedMethod)
webhooksOnMemberRemovedMethod
- The HTTP method to use when calling the
webhooks.on_member_removed.urlpublic ServiceUpdater setLimitsChannelMembers(Integer limitsChannelMembers)
limitsChannelMembers
- The maximum number of Members that can be added
to Channels within this Servicepublic ServiceUpdater setLimitsUserChannels(Integer limitsUserChannels)
limitsUserChannels
- The maximum number of Channels Users can be a
Member of within this Servicepublic Service update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.