Package com.twilio.rest.wireless.v1
Class CommandCreator
- java.lang.Object
-
- com.twilio.base.Creator<Command>
-
- com.twilio.rest.wireless.v1.CommandCreator
-
-
Constructor Summary
Constructors Constructor Description CommandCreator(String command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Command
create(TwilioRestClient client)
Execute a request using specified client.CommandCreator
setCallbackMethod(HttpMethod callbackMethod)
CommandCreator
setCallbackUrl(String callbackUrl)
CommandCreator
setCallbackUrl(URI callbackUrl)
CommandCreator
setCommand(String command)
CommandCreator
setCommandMode(Command.CommandMode commandMode)
CommandCreator
setDeliveryReceiptRequested(Boolean deliveryReceiptRequested)
CommandCreator
setIncludeSid(String includeSid)
CommandCreator
setSim(String sim)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
CommandCreator
public CommandCreator(String command)
-
-
Method Detail
-
setCommand
public CommandCreator setCommand(String command)
-
setSim
public CommandCreator setSim(String sim)
-
setCallbackMethod
public CommandCreator setCallbackMethod(HttpMethod callbackMethod)
-
setCallbackUrl
public CommandCreator setCallbackUrl(URI callbackUrl)
-
setCallbackUrl
public CommandCreator setCallbackUrl(String callbackUrl)
-
setCommandMode
public CommandCreator setCommandMode(Command.CommandMode commandMode)
-
setIncludeSid
public CommandCreator setIncludeSid(String includeSid)
-
setDeliveryReceiptRequested
public CommandCreator setDeliveryReceiptRequested(Boolean deliveryReceiptRequested)
-
-