Package com.twilio.rest.routes.v2
Class SipDomain
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.routes.v2.SipDomain
-
- All Implemented Interfaces:
Serializable
public class SipDomain 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 SipDomainFetcher
fetcher(String pathSipDomain)
static SipDomain
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SipDomain object using the provided ObjectMapper.static SipDomain
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SipDomain object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getSid()
String
getSipDomain()
URI
getUrl()
String
getVoiceRegion()
int
hashCode()
static SipDomainUpdater
updater(String pathSipDomain)
-
-
-
Method Detail
-
fetcher
public static SipDomainFetcher fetcher(String pathSipDomain)
-
updater
public static SipDomainUpdater updater(String pathSipDomain)
-
fromJson
public static SipDomain fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SipDomain object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SipDomain object represented by the provided JSON
-
fromJson
public static SipDomain fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SipDomain object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SipDomain object represented by the provided JSON
-
getSipDomain
public final String getSipDomain()
-
getUrl
public final URI getUrl()
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getVoiceRegion
public final String getVoiceRegion()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-