public class TwilioSandbox extends AccountResource implements TwilioResponseContent
<TwilioSandbox> element.| Constructor and Description |
|---|
TwilioSandbox() |
| Modifier and Type | Method and Description |
|---|---|
APIVersion |
getAPIVersion() |
java.lang.String |
getPhoneNumber()
The phone number of the sandbox.
|
java.lang.String |
getPin()
An 8 digit number that gives access to this sandbox.
|
Method |
getSMSMethod()
The HTTP method to use when requesting the
SMS URL. |
java.net.URI |
getSMSURL()
The URL Twilio will request when receiving an incoming SMS message to the sandbox number.
|
Method |
getVoiceMethod()
The HTTP method to use when requesting the
voice URL. |
java.net.URI |
getVoiceURL()
The URL Twilio will request when the sandbox number is called.
|
void |
setAPIVersion(APIVersion apiVersion) |
void |
setPhoneNumber(java.lang.String phoneNumber) |
void |
setPin(java.lang.String pin) |
void |
setSMSMethod(Method smsMethod) |
void |
setSMSURL(java.net.URI smsURL) |
void |
setVoiceMethod(Method voiceMethod) |
void |
setVoiceURL(java.net.URI voiceURL) |
getAccountSid, setAccountSidgetDateCreated, getDateUpdated, getSubresourceUris, getURI, setDateCreated, setDateUpdated, setSubresourceUris, setURIpublic TwilioSandbox()
public java.lang.String getPin()
public void setPin(java.lang.String pin)
public java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.String phoneNumber)
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 getSMSURL()
public void setSMSURL(java.net.URI smsURL)
public Method getSMSMethod()
SMS URL.public void setSMSMethod(Method smsMethod)
public APIVersion getAPIVersion()
public void setAPIVersion(APIVersion apiVersion)