public class ConfigurationUpdater extends Updater<Configuration>
Constructor and Description |
---|
ConfigurationUpdater(String pathChatServiceSid)
Construct a new ConfigurationUpdater.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationUpdater |
setDefaultChatServiceRoleSid(String defaultChatServiceRoleSid)
The service-level role assigned to users when they are added to the service.
|
ConfigurationUpdater |
setDefaultConversationCreatorRoleSid(String defaultConversationCreatorRoleSid)
The conversation-level role assigned to a conversation creator when they join
a new conversation.
|
ConfigurationUpdater |
setDefaultConversationRoleSid(String defaultConversationRoleSid)
The conversation-level role assigned to users when they are added to a
conversation.
|
ConfigurationUpdater |
setReachabilityEnabled(Boolean reachabilityEnabled)
Whether the Reachability
Indicator is enabled for this Conversations Service.
|
Configuration |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ConfigurationUpdater(String pathChatServiceSid)
pathChatServiceSid
- The SID of the Service configuration resource to
updatepublic ConfigurationUpdater setDefaultConversationCreatorRoleSid(String defaultConversationCreatorRoleSid)
defaultConversationCreatorRoleSid
- The role assigned to a conversation
creator when they join a new
conversationpublic ConfigurationUpdater setDefaultConversationRoleSid(String defaultConversationRoleSid)
defaultConversationRoleSid
- The role assigned to users when they are
added to a conversationpublic ConfigurationUpdater setDefaultChatServiceRoleSid(String defaultChatServiceRoleSid)
defaultChatServiceRoleSid
- The service role assigned to users when
they are added to the servicepublic ConfigurationUpdater setReachabilityEnabled(Boolean reachabilityEnabled)
reachabilityEnabled
- Whether the Reachability Indicator feature is
enabled for this Conversations Servicepublic Configuration update(TwilioRestClient client)
update
in class Updater<Configuration>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.