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 boolean
equals(Object o)
static ConfigurationFetcher
fetcher(String pathChatServiceSid)
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()
String
getDefaultChatServiceRoleSid()
String
getDefaultConversationCreatorRoleSid()
String
getDefaultConversationRoleSid()
Map<String,String>
getLinks()
Boolean
getReachabilityEnabled()
URI
getUrl()
int
hashCode()
static ConfigurationUpdater
updater(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()
-
-