public class Message extends Verb
| Constructor and Description |
|---|
Message()
Instantiates a new message verb.
|
Message(String message) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic Message()
public Message(String message)
public void setTo(String str)
str - the new topublic void setFrom(String str)
str - the new frompublic void setMethod(String method)
method - the new methodpublic void setAction(String url)
url - the new actionpublic void setStatusCallback(String url)
url - the new status callbackCopyright © 2011 Twilio, Inc. All Rights Reserved.