com.twilio.sdk.verbs
Class Dial

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

public class Dial
extends Verb

The Class Dial.


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
Dial()
          Instantiates a new dial.
Dial(String number)
          Instantiates a new dial.
 
Method Summary
 void setAction(String url)
          Sets the action.
 void setCallerId(String callerId)
          Sets the caller id.
 void setHangupOnStar(boolean f)
          Sets the hangup on star.
 void setMethod(String method)
          Sets the method.
 void setTimeLimit(int i)
          Sets the time limit.
 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

Dial

public Dial(String number)
Instantiates a new dial.

Parameters:
number - the number

Dial

public Dial()
Instantiates a new dial.

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

setHangupOnStar

public void setHangupOnStar(boolean f)
Sets the hangup on star.

Parameters:
f - the new hangup on star

setTimeLimit

public void setTimeLimit(int i)
Sets the time limit.

Parameters:
i - the new time limit

setCallerId

public void setCallerId(String callerId)
Sets the caller id.

Parameters:
callerId - the new caller id


Copyright © 2011 Twilio, Inc. All Rights Reserved.