Class Configuration
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.service.Configuration
-
- All Implemented Interfaces:
Serializable
public class Configuration extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ConfigurationFetcherfetcher(String pathChatServiceSid)static ConfigurationfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Configuration object using the provided ObjectMapper.static ConfigurationfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Configuration object using the provided ObjectMapper.StringgetChatServiceSid()StringgetDefaultChatServiceRoleSid()StringgetDefaultConversationCreatorRoleSid()StringgetDefaultConversationRoleSid()Map<String,String>getLinks()BooleangetReachabilityEnabled()URIgetUrl()inthashCode()static ConfigurationUpdaterupdater(String pathChatServiceSid)
-
-
-
Method Detail
-
fetcher
public static ConfigurationFetcher fetcher(String pathChatServiceSid)
-
updater
public static ConfigurationUpdater updater(String pathChatServiceSid)
-
fromJson
public static Configuration fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Configuration object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Configuration object represented by the provided JSON
-
fromJson
public static Configuration fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Configuration object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Configuration object represented by the provided JSON
-
getChatServiceSid
public final String getChatServiceSid()
-
getDefaultConversationCreatorRoleSid
public final String getDefaultConversationCreatorRoleSid()
-
getDefaultConversationRoleSid
public final String getDefaultConversationRoleSid()
-
getDefaultChatServiceRoleSid
public final String getDefaultChatServiceRoleSid()
-
getUrl
public final URI getUrl()
-
getReachabilityEnabled
public final Boolean getReachabilityEnabled()
-
-