public class IncomingPhoneNumber extends InstanceResource
| Constructor and Description |
|---|
IncomingPhoneNumber(TwilioRestClient client)
Instantiates a new incoming phone number.
|
IncomingPhoneNumber(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new incoming phone number.
|
IncomingPhoneNumber(TwilioRestClient client,
String sid)
Instantiates a new incoming phone number.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Deprovision this IncomingPhoneNumber.
|
String |
getAccountSid()
Gets the account sid.
|
String |
getApiVersion()
Gets the api version.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getFriendlyName()
Gets the friendly name.
|
String |
getPhoneNumber()
Gets the phone number.
|
String |
getSid()
Gets the sid.
|
String |
getSmsApplicationSid()
Gets the sms application sid.
|
String |
getSmsFallbackMethod()
Gets the sms fallback method.
|
String |
getSmsFallbackUrl()
Gets the sms fallback url.
|
String |
getSmsMethod()
Gets the sms method.
|
String |
getSmsStatusCallback()
Gets the sms status callback.
|
String |
getSmsUrl()
Gets the sms url.
|
String |
getStatusCallback()
Gets the status callback.
|
String |
getStatusCallbackMethod()
Gets the status callback method.
|
String |
getVoiceApplicationSid()
Gets the voice application sid.
|
String |
getVoiceCallerIdLookup()
Gets the voice caller id lookup.
|
String |
getVoiceFallbackMethod()
Gets the voice fallback method.
|
String |
getVoiceFallbackUrl()
Gets the voice fallback url.
|
String |
getVoiceMethod()
Gets the voice method.
|
String |
getVoiceUrl()
Gets the voice url.
|
getProperty, updatesetRequestAccountSidpublic IncomingPhoneNumber(TwilioRestClient client)
client - the clientpublic IncomingPhoneNumber(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic IncomingPhoneNumber(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic boolean delete()
throws TwilioRestException
TwilioRestException - if there is an error in the requestpublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getFriendlyName()
public String getAccountSid()
public String getPhoneNumber()
public String getVoiceApplicationSid()
public String getSmsApplicationSid()
public String getApiVersion()
public String getVoiceUrl()
public String getVoiceMethod()
public String getVoiceFallbackUrl()
public String getVoiceFallbackMethod()
public String getStatusCallback()
public String getStatusCallbackMethod()
public String getVoiceCallerIdLookup()
public String getSmsUrl()
public String getSmsMethod()
public String getSmsFallbackUrl()
public String getSmsFallbackMethod()
public String getSmsStatusCallback()
Copyright © 2011 Twilio, Inc. All Rights Reserved.