public class IncomingPhoneNumber extends NumberedAccountResource implements TwilioResponseContent
<IncomingPhoneNumber>.| Constructor and Description |
|---|
IncomingPhoneNumber() |
| Modifier and Type | Method and Description |
|---|---|
APIVersion |
getAPIVersion()
Calls to this phone number will start a new TwiML session with this API version.
|
Capabilities |
getCapabilities() |
Method |
getSMSFallbackMethod()
The HTTP method to use when requesting the
SMS fallback URL. |
java.net.URI |
getSMSFallbackURL()
A URL that Twilio will request if an error occurs requesting or executing the TwiML
defined by the
SMS URL. |
Method |
getSMSMethod()
The HTTP method to use when requesting the
SMS URL. |
java.net.URI |
getSMSURL()
The URL that Twilio should request when somebody sends an SMS to the new phone number.
|
java.net.URI |
getStatusCallback()
The URL that Twilio will request to pass status parameters (such as call ended) to your application.
|
Method |
getStatusCallbackMethod()
The HTTP method to use when requesting the
status callback URL. |
Method |
getVoiceFallbackMethod()
The HTTP method to use when requesting the
voice fallback URL. |
java.net.URI |
getVoiceFallbackURL()
A URL that Twilio will request if an error occurs requesting or executing the TwiML
defined by the
voice URL. |
Method |
getVoiceMethod()
The HTTP method to use when requesting the
voice URL. |
java.net.URI |
getVoiceURL()
The URL that Twilio should request when somebody dials the phone number.
|
boolean |
isVoiceCallerIdLookup()
Do a lookup of a caller's name from the CNAM database and post it to your app?
|
void |
setAPIVersion(APIVersion apiVersion) |
void |
setCapabilities(Capabilities capabilities) |
void |
setSMSFallbackMethod(Method smsFallbackMethod) |
void |
setSMSFallbackURL(java.net.URI smsFallbackURL) |
void |
setSMSMethod(Method smsMethod) |
void |
setSMSURL(java.net.URI smsURL) |
void |
setStatusCallback(java.net.URI statusCallback) |
void |
setStatusCallbackMethod(Method statusCallbackMethod) |
void |
setVoiceCallerIdLookup(boolean voiceCallerIdLookup) |
void |
setVoiceFallbackMethod(Method voiceFallbackMethod) |
void |
setVoiceFallbackURL(java.net.URI voiceFallbackURL) |
void |
setVoiceMethod(Method voiceMethod) |
void |
setVoiceURL(java.net.URI voiceURL) |
getPhoneNumber, setPhoneNumbergetFriendlyName, setFriendlyNamegetSid, setSidgetAccountSid, setAccountSidgetDateCreated, getDateUpdated, getSubresourceUris, getURI, setDateCreated, setDateUpdated, setSubresourceUris, setURIpublic IncomingPhoneNumber()
public APIVersion getAPIVersion()
public void setAPIVersion(APIVersion apiVersion)
public java.net.URI getVoiceURL()
public void setVoiceURL(java.net.URI voiceURL)
public Method getVoiceMethod()
voice URL.public void setVoiceMethod(Method voiceMethod)
public java.net.URI getVoiceFallbackURL()
voice URL.public void setVoiceFallbackURL(java.net.URI voiceFallbackURL)
public Method getVoiceFallbackMethod()
voice fallback URL.public void setVoiceFallbackMethod(Method voiceFallbackMethod)
public java.net.URI getStatusCallback()
public void setStatusCallback(java.net.URI statusCallback)
public Method getStatusCallbackMethod()
status callback URL.public void setStatusCallbackMethod(Method statusCallbackMethod)
public java.net.URI getSMSURL()
public void setSMSURL(java.net.URI smsURL)
public Method getSMSMethod()
SMS URL.public void setSMSMethod(Method smsMethod)
public java.net.URI getSMSFallbackURL()
SMS URL.public void setSMSFallbackURL(java.net.URI smsFallbackURL)
public Method getSMSFallbackMethod()
SMS fallback URL.public void setSMSFallbackMethod(Method smsFallbackMethod)
public Capabilities getCapabilities()
public void setCapabilities(Capabilities capabilities)
public boolean isVoiceCallerIdLookup()
public void setVoiceCallerIdLookup(boolean voiceCallerIdLookup)