public class ConfigurationUpdater extends Updater<Configuration>
Constructor and Description |
---|
ConfigurationUpdater() |
Modifier and Type | Method and Description |
---|---|
ConfigurationUpdater |
setDefaultChatServiceSid(String defaultChatServiceSid)
The SID of the default Conversation
Service to use when creating a conversation..
|
ConfigurationUpdater |
setDefaultClosedTimer(String defaultClosedTimer)
Default ISO8601 duration when conversation will be switched to `closed`
state.
|
ConfigurationUpdater |
setDefaultInactiveTimer(String defaultInactiveTimer)
Default ISO8601 duration when conversation will be switched to `inactive`
state.
|
ConfigurationUpdater |
setDefaultMessagingServiceSid(String defaultMessagingServiceSid)
The SID of the default Messaging Service to
use when creating a conversation..
|
Configuration |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ConfigurationUpdater setDefaultChatServiceSid(String defaultChatServiceSid)
defaultChatServiceSid
- The SID of the default Conversation Service
that every new conversation will be associated
with.public ConfigurationUpdater setDefaultMessagingServiceSid(String defaultMessagingServiceSid)
defaultMessagingServiceSid
- The SID of the default Messaging Service
that every new conversation will be
associated with.public ConfigurationUpdater setDefaultInactiveTimer(String defaultInactiveTimer)
defaultInactiveTimer
- Default ISO8601 duration when conversation will
be switched to `inactive` state.public ConfigurationUpdater setDefaultClosedTimer(String defaultClosedTimer)
defaultClosedTimer
- Default ISO8601 duration when conversation will be
switched to `closed` state.public Configuration update(TwilioRestClient client)
update
in class Updater<Configuration>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.