Package com.twilio.rest.supersim.v1
Class SmsCommandCreator
- java.lang.Object
-
- com.twilio.base.Creator<SmsCommand>
-
- com.twilio.rest.supersim.v1.SmsCommandCreator
-
public class SmsCommandCreator extends Creator<SmsCommand>
-
-
Constructor Summary
Constructors Constructor Description SmsCommandCreator(String sim, String payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmsCommand
create(TwilioRestClient client)
Execute a request using specified client.SmsCommandCreator
setCallbackMethod(HttpMethod callbackMethod)
SmsCommandCreator
setCallbackUrl(String callbackUrl)
SmsCommandCreator
setCallbackUrl(URI callbackUrl)
SmsCommandCreator
setPayload(String payload)
SmsCommandCreator
setSim(String sim)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setSim
public SmsCommandCreator setSim(String sim)
-
setPayload
public SmsCommandCreator setPayload(String payload)
-
setCallbackMethod
public SmsCommandCreator setCallbackMethod(HttpMethod callbackMethod)
-
setCallbackUrl
public SmsCommandCreator setCallbackUrl(URI callbackUrl)
-
setCallbackUrl
public SmsCommandCreator setCallbackUrl(String callbackUrl)
-
create
public SmsCommand create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<SmsCommand>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-