Package com.twilio.rest.conversations.v1
Class AddressConfiguration
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.AddressConfiguration
-
- All Implemented Interfaces:
Serializable
public class AddressConfiguration extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressConfiguration.AutoCreationTypestatic classAddressConfiguration.Methodstatic classAddressConfiguration.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressConfigurationCreatorcreator(AddressConfiguration.Type type, String address)static AddressConfigurationDeleterdeleter(String pathSid)booleanequals(Object o)static AddressConfigurationFetcherfetcher(String pathSid)static AddressConfigurationfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a AddressConfiguration object using the provided ObjectMapper.static AddressConfigurationfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a AddressConfiguration object using the provided ObjectMapper.StringgetAccountSid()StringgetAddress()Map<String,Object>getAutoCreation()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetSid()StringgetType()URIgetUrl()inthashCode()static AddressConfigurationReaderreader()static AddressConfigurationUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static AddressConfigurationCreator creator(AddressConfiguration.Type type, String address)
-
fetcher
public static AddressConfigurationFetcher fetcher(String pathSid)
-
deleter
public static AddressConfigurationDeleter deleter(String pathSid)
-
reader
public static AddressConfigurationReader reader()
-
updater
public static AddressConfigurationUpdater updater(String pathSid)
-
fromJson
public static AddressConfiguration fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AddressConfiguration object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- AddressConfiguration object represented by the provided JSON
-
fromJson
public static AddressConfiguration fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AddressConfiguration object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- AddressConfiguration object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getType
public final String getType()
-
getAddress
public final String getAddress()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-