com.twilio.sdk.verbs
Class Number

java.lang.Object
  extended by com.twilio.sdk.verbs.Verb
      extended by com.twilio.sdk.verbs.Number

public class Number
extends Verb

The Class Number.


Field Summary
 
Fields inherited from class com.twilio.sdk.verbs.Verb
V_BODY, V_CLIENT, V_CONFERENCE, V_DIAL, V_ENQUEUE, V_GATHER, V_HANGUP, V_LEAVE, V_MEDIA, V_MESSAGE, V_NUMBER, V_PAUSE, V_PLAY, V_QUEUE, V_RECORD, V_REDIRECT, V_REJECT, V_RESPONSE, V_SAY, V_SIP, V_SMS, V_URI
 
Constructor Summary
Number(String number)
          Instantiates a new number.
 
Method Summary
 void setMethod(String method)
          Sets the method.
 void setSendDigits(String digits)
          Sets the send digits.
 void setUrl(String url)
          Sets the url.
 
Methods inherited from class com.twilio.sdk.verbs.Verb
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Number

public Number(String number)
Instantiates a new number.

Parameters:
number - the number
Method Detail

setSendDigits

public void setSendDigits(String digits)
Sets the send digits.

Parameters:
digits - the new send digits

setUrl

public void setUrl(String url)
Sets the url.

Parameters:
url - the new url

setMethod

public void setMethod(String method)
Sets the method.

Parameters:
method - the HTTP method to use when requesting the url


Copyright © 2011 Twilio, Inc. All Rights Reserved.