public class Number extends Verb
| Constructor and Description |
|---|
Number(String number)
Instantiates a new number.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setMethod(String method)
Sets the method.
|
void |
setSendDigits(String digits)
Sets the send digits.
|
void |
setStatusCallback(String url)
Set a URL to be requested when the status of this Call changes.
|
void |
setStatusCallbackEvents(String events)
Set the events Twilio will fire StatusCallbacks for.
|
void |
setStatusCallbackMethod(String method)
Set the method Twilio will use to request the StatusCallback URL.
|
void |
setUrl(String url)
Sets the url.
|
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic Number(String number)
number - the numberpublic void setSendDigits(String digits)
digits - the new send digitspublic void setUrl(String url)
url - the new urlpublic void setMethod(String method)
method - the HTTP method to use when requesting the urlpublic void setStatusCallback(String url)
url - Status callback URL.public void setStatusCallbackMethod(String method)
method - Either "GET" or "POST"public void setStatusCallbackEvents(String events)
events - Events to provide callbacks for.Copyright © 2011 Twilio, Inc. All Rights Reserved.