Package com.twilio.rest.conversations.v1
Class Configuration
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.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()
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
getAccountSid()
String
getDefaultChatServiceSid()
String
getDefaultClosedTimer()
String
getDefaultInactiveTimer()
String
getDefaultMessagingServiceSid()
Map<String,String>
getLinks()
URI
getUrl()
int
hashCode()
static ConfigurationUpdater
updater()
-
-
-
Method Detail
-
fetcher
public static ConfigurationFetcher fetcher()
-
updater
public static ConfigurationUpdater updater()
-
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
-
getAccountSid
public final String getAccountSid()
-
getDefaultChatServiceSid
public final String getDefaultChatServiceSid()
-
getDefaultMessagingServiceSid
public final String getDefaultMessagingServiceSid()
-
getDefaultInactiveTimer
public final String getDefaultInactiveTimer()
-
getDefaultClosedTimer
public final String getDefaultClosedTimer()
-
getUrl
public final URI getUrl()
-
-