public class Domain extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
Domain(TwilioRestClient client)
Instantiates a new Domain.
|
Domain(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new Domain.
|
Domain(TwilioRestClient client,
String sid)
Instantiates a new Domain.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete this
Domain. |
String |
getAccountSid()
Gets the account sid.
|
String |
getAuthType()
Gets the auth type
|
CredentialListMapping |
getCredentialListMapping(String credentialListMappingSid)
Gets the list of CredentialListMappings associated with this domain.
|
CredentialListMappingFactory |
getCredentialListMappingFactory()
Gets the CredentialListMappingFactory so you can create new CredentialListMappings
|
CredentialListMappingList |
getCredentialListMappings()
Gets the list of CredentialListMappings associated with this domain.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getDomainName()
Gets the domain name
|
String |
getFriendlyName()
Gets the friendly name
|
IpAccessControlListMapping |
getIpAccessControlListMapping(String ipAccessControlListMappingSid)
Gets the list of IpAccessControlListMappings associated with this domain.
|
IpAccessControlListMappingFactory |
getIpAccessControlListMappingFactory()
Gets the CredentialListMappingFactory so you can't create new CredentialListMappings
|
IpAccessControlListMappingList |
getIpAccessControlListMappings()
Gets the list of IpAccessControlListMappings associated with this domain.
|
String |
getSid()
Gets the sid.
|
String |
getVoiceFallbackMethod()
Gets the voice fallback method
|
String |
getVoiceFallbackUrl()
Gets the voice fallback url
|
String |
getVoiceMethod()
Gets the voice method
|
String |
getVoiceStatusCallbackMethod()
Gets the voice status callback method
|
String |
getVoiceStatusCallbackUrl()
Gets the voice status callback url
|
String |
getVoiceUrl()
Gets the voice url
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic Domain(TwilioRestClient client)
client - the clientpublic Domain(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic Domain(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getAuthType()
public String getDomainName()
public String getFriendlyName()
public String getVoiceFallbackMethod()
public String getVoiceFallbackUrl()
public String getVoiceMethod()
public String getVoiceStatusCallbackMethod()
public String getVoiceStatusCallbackUrl()
public String getVoiceUrl()
public IpAccessControlListMappingList getIpAccessControlListMappings()
public IpAccessControlListMapping getIpAccessControlListMapping(String ipAccessControlListMappingSid)
public IpAccessControlListMappingFactory getIpAccessControlListMappingFactory()
public CredentialListMappingList getCredentialListMappings()
public CredentialListMapping getCredentialListMapping(String credentialListMappingSid)
public CredentialListMappingFactory getCredentialListMappingFactory()
public boolean delete()
throws TwilioRestException
Domain.TwilioRestException - if there is an error in the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.