com.twilio.sdk.verbs
Class Sms

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

public class Sms
extends Verb

The Class Sms.


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
Sms(String message)
          Instantiates a new sms.
 
Method Summary
 void setAction(String url)
          Sets the action.
 void setFrom(String str)
          Sets the from.
 void setMethod(String method)
          Sets the method.
 void setStatusCallback(String url)
          Sets the status callback.
 void setTo(String str)
          Sets the to.
 
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

Sms

public Sms(String message)
Instantiates a new sms.

Parameters:
message - the message
Method Detail

setTo

public void setTo(String str)
Sets the to.

Parameters:
str - the new to

setFrom

public void setFrom(String str)
Sets the from.

Parameters:
str - the new from

setMethod

public void setMethod(String method)
Sets the method.

Parameters:
method - the new method

setAction

public void setAction(String url)
Sets the action.

Parameters:
url - the new action

setStatusCallback

public void setStatusCallback(String url)
Sets the status callback.

Parameters:
url - the new status callback


Copyright © 2011 Twilio, Inc. All Rights Reserved.