Class Domain
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.sip.Domain
-
- All Implemented Interfaces:
Serializable
public class Domain extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static DomainCreator creator(String domainName)
-
creator
public static DomainCreator creator(String pathAccountSid, String domainName)
-
deleter
public static DomainDeleter deleter(String pathSid)
-
deleter
public static DomainDeleter deleter(String pathAccountSid, String pathSid)
-
fetcher
public static DomainFetcher fetcher(String pathSid)
-
fetcher
public static DomainFetcher fetcher(String pathAccountSid, String pathSid)
-
reader
public static DomainReader reader()
-
reader
public static DomainReader reader(String pathAccountSid)
-
updater
public static DomainUpdater updater(String pathSid)
-
updater
public static DomainUpdater updater(String pathAccountSid, String pathSid)
-
fromJson
public static Domain fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Domain object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Domain object represented by the provided JSON
-
fromJson
public static Domain fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Domain object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Domain object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getApiVersion
public final String getApiVersion()
-
getAuthType
public final String getAuthType()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getDomainName
public final String getDomainName()
-
getFriendlyName
public final String getFriendlyName()
-
getSid
public final String getSid()
-
getUri
public final String getUri()
-
getVoiceFallbackMethod
public final HttpMethod getVoiceFallbackMethod()
-
getVoiceFallbackUrl
public final URI getVoiceFallbackUrl()
-
getVoiceMethod
public final HttpMethod getVoiceMethod()
-
getVoiceStatusCallbackMethod
public final HttpMethod getVoiceStatusCallbackMethod()
-
getVoiceStatusCallbackUrl
public final URI getVoiceStatusCallbackUrl()
-
getVoiceUrl
public final URI getVoiceUrl()
-
getSipRegistration
public final Boolean getSipRegistration()
-
getEmergencyCallingEnabled
public final Boolean getEmergencyCallingEnabled()
-
getSecure
public final Boolean getSecure()
-
getByocTrunkSid
public final String getByocTrunkSid()
-
getEmergencyCallerSid
public final String getEmergencyCallerSid()
-
-