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 SmsCommandcreate(TwilioRestClient client)Execute a request using specified client.SmsCommandCreatorsetCallbackMethod(HttpMethod callbackMethod)SmsCommandCreatorsetCallbackUrl(String callbackUrl)SmsCommandCreatorsetCallbackUrl(URI callbackUrl)SmsCommandCreatorsetPayload(String payload)SmsCommandCreatorsetSim(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:CreatorExecute a request using specified client.- Specified by:
createin classCreator<SmsCommand>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-