public class Configuration extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConfigurationFetcher |
fetcher(String pathChatServiceSid)
Create a ConfigurationFetcher to execute fetch.
|
static Configuration |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Configuration object using the provided
ObjectMapper.
|
static Configuration |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Configuration object using the provided
ObjectMapper.
|
String |
getChatServiceSid()
Returns The unique string that identifies the resource.
|
String |
getDefaultChatServiceRoleSid()
Returns The service role assigned to users when they are added to the
service.
|
String |
getDefaultConversationCreatorRoleSid()
Returns The role assigned to a conversation creator user when they join a new
conversation.
|
String |
getDefaultConversationRoleSid()
Returns The role assigned to users when they are added to a conversation.
|
Map<String,String> |
getLinks()
Returns Absolute URL to access the push notifications configuration of this
service..
|
Boolean |
getReachabilityEnabled()
Returns Whether the Reachability Indicator feature is enabled for this
Conversations Service.
|
URI |
getUrl()
Returns An absolute URL for this service configuration..
|
int |
hashCode() |
static ConfigurationUpdater |
updater(String pathChatServiceSid)
Create a ConfigurationUpdater to execute update.
|
public static ConfigurationFetcher fetcher(String pathChatServiceSid)
pathChatServiceSid
- The SID of the Service configuration resource to
fetchpublic static ConfigurationUpdater updater(String pathChatServiceSid)
pathChatServiceSid
- The SID of the Service configuration resource to
updatepublic static Configuration fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Configuration fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getChatServiceSid()
public final String getDefaultConversationCreatorRoleSid()
public final String getDefaultConversationRoleSid()
public final String getDefaultChatServiceRoleSid()
public final URI getUrl()
public final Map<String,String> getLinks()
public final Boolean getReachabilityEnabled()
Copyright © 2019 Twilio, Inc. All Rights Reserved.