|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.verbs.Verb
public class Verb
The Class Verb.
| Field Summary | |
|---|---|
static String |
V_CONFERENCE
The Constant V_CONFERENCE. |
static String |
V_DIAL
The Constant V_DIAL. |
static String |
V_GATHER
The Constant V_GATHER. |
static String |
V_HANGUP
The Constant V_HANGUP. |
static String |
V_NUMBER
The Constant V_NUMBER. |
static String |
V_PAUSE
The Constant V_PAUSE. |
static String |
V_PLAY
The Constant V_PLAY. |
static String |
V_RECORD
The Constant V_RECORD. |
static String |
V_REDIRECT
The Constant V_REDIRECT. |
static String |
V_RESPONSE
The Constant V_RESPONSE. |
static String |
V_SAY
The Constant V_SAY. |
static String |
V_SMS
The Constant V_SMS. |
| Constructor Summary | |
|---|---|
Verb(String tag,
String body)
Instantiates a new verb. |
|
| Method Summary | |
|---|---|
Verb |
append(Verb verb)
Append. |
String |
asURL()
As url. |
HashMap<String,String> |
getAttributes()
Gets the attributes. |
String |
getBody()
Gets the body. |
ArrayList<Verb> |
getChildren()
Gets the children. |
String |
getTag()
Gets the tag. |
void |
set(String key,
String value)
Sets the. |
String |
toXML()
To xml. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String V_SAY
public static final String V_PLAY
public static final String V_GATHER
public static final String V_RECORD
public static final String V_PAUSE
public static final String V_HANGUP
public static final String V_DIAL
public static final String V_NUMBER
public static final String V_REDIRECT
public static final String V_RESPONSE
public static final String V_CONFERENCE
public static final String V_SMS
| Constructor Detail |
|---|
public Verb(String tag,
String body)
tag - the tagbody - the body| Method Detail |
|---|
public Verb append(Verb verb)
throws TwiMLException
verb - the verb
TwiMLException - the twi ml exceptionpublic String toXML()
public String asURL()
public void set(String key,
String value)
key - the keyvalue - the valuepublic String getBody()
public String getTag()
public ArrayList<Verb> getChildren()
public HashMap<String,String> getAttributes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||