public class Domain extends Resource
| Modifier and Type | Method and Description |
|---|---|
static DomainCreator |
creator(String domainName)
Create a DomainCreator to execute create.
|
static DomainCreator |
creator(String pathAccountSid,
String domainName)
Create a DomainCreator to execute create.
|
static DomainDeleter |
deleter(String pathSid)
Create a DomainDeleter to execute delete.
|
static DomainDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a DomainDeleter to execute delete.
|
boolean |
equals(Object o) |
static DomainFetcher |
fetcher(String pathSid)
Create a DomainFetcher to execute fetch.
|
static DomainFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a DomainFetcher to execute fetch.
|
static Domain |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Domain object using the provided
ObjectMapper.
|
static Domain |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Domain object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The unique id of the account that sent the message.
|
String |
getApiVersion()
Returns The The Twilio API version used to process the message.
|
String |
getAuthType()
Returns The The types of authentication mapped to the domain.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this resource was last updated.
|
String |
getDomainName()
Returns The The unique address on Twilio to route SIP traffic.
|
String |
getFriendlyName()
Returns The A user-specified, human-readable name for the trigger..
|
String |
getSid()
Returns The A string that uniquely identifies the SIP Domain.
|
Boolean |
getSipRegistration()
Returns The If SIP registration is allowed.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUri()
Returns The The URI for this resource.
|
HttpMethod |
getVoiceFallbackMethod()
Returns The HTTP method used with voice_fallback_url.
|
URI |
getVoiceFallbackUrl()
Returns The URL Twilio will request if an error occurs in executing TwiML.
|
HttpMethod |
getVoiceMethod()
Returns The HTTP method to use with voice_url.
|
HttpMethod |
getVoiceStatusCallbackMethod()
Returns The The voice_status_callback_method.
|
URI |
getVoiceStatusCallbackUrl()
Returns The URL that Twilio will request with status updates.
|
URI |
getVoiceUrl()
Returns The URL Twilio will request when receiving a call.
|
int |
hashCode() |
static DomainReader |
reader()
Create a DomainReader to execute read.
|
static DomainReader |
reader(String pathAccountSid)
Create a DomainReader to execute read.
|
String |
toString() |
static DomainUpdater |
updater(String pathSid)
Create a DomainUpdater to execute update.
|
static DomainUpdater |
updater(String pathAccountSid,
String pathSid)
Create a DomainUpdater to execute update.
|
public static DomainReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static DomainReader reader()
public static DomainCreator creator(String pathAccountSid, String domainName)
pathAccountSid - The account_siddomainName - The unique address on Twilio to route SIP trafficpublic static DomainCreator creator(String domainName)
domainName - The unique address on Twilio to route SIP trafficpublic static DomainFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Fetch by unique Domain Sidpublic static DomainFetcher fetcher(String pathSid)
pathSid - Fetch by unique Domain Sidpublic static DomainUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static DomainUpdater updater(String pathSid)
pathSid - The sidpublic static DomainDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static DomainDeleter deleter(String pathSid)
pathSid - The sidpublic static Domain fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Domain fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final String getAuthType()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getDomainName()
public final String getFriendlyName()
public final String getSid()
public final String getUri()
public final HttpMethod getVoiceFallbackMethod()
public final URI getVoiceFallbackUrl()
public final HttpMethod getVoiceMethod()
public final HttpMethod getVoiceStatusCallbackMethod()
public final URI getVoiceStatusCallbackUrl()
public final URI getVoiceUrl()
public final Map<String,String> getSubresourceUris()
public final Boolean getSipRegistration()
Copyright © 2016 Twilio, Inc. All Rights Reserved.