|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.IncomingPhoneNumber
public class IncomingPhoneNumber
The Class IncomingPhoneNumber. For more information see https://www.twilio.com/docs/api/rest/incoming-phone-numbers
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncomingPhoneNumber(TwilioRestClient client)
client - the client
public IncomingPhoneNumber(TwilioRestClient client,
String sid)
client - the clientsid - the sid
public IncomingPhoneNumber(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||