com.twilio.sdk.verbs
Class Gather

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

public class Gather
extends Verb

The Class Gather.


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
Gather()
          Instantiates a new gather.
 
Method Summary
 void setAction(String url)
          Sets the action.
 void setFinishOnKey(String key)
          Sets the finish on key.
 void setMethod(String method)
          Sets the method.
 void setNumDigits(int i)
          Sets the num digits.
 void setTimeout(int i)
          Sets the timeout.
 
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

Gather

public Gather()
Instantiates a new gather.

Method Detail

setAction

public void setAction(String url)
Sets the action.

Parameters:
url - the new action

setMethod

public void setMethod(String method)
Sets the method.

Parameters:
method - the new method

setTimeout

public void setTimeout(int i)
Sets the timeout.

Parameters:
i - the new timeout

setFinishOnKey

public void setFinishOnKey(String key)
Sets the finish on key.

Parameters:
key - the new finish on key

setNumDigits

public void setNumDigits(int i)
Sets the num digits.

Parameters:
i - the new num digits


Copyright © 2011 Twilio, Inc. All Rights Reserved.