Class UserDefinedMessageSubscriptionCreator
- java.lang.Object
-
- com.twilio.base.Creator<UserDefinedMessageSubscription>
-
- com.twilio.rest.api.v2010.account.call.UserDefinedMessageSubscriptionCreator
-
public class UserDefinedMessageSubscriptionCreator extends Creator<UserDefinedMessageSubscription>
-
-
Constructor Summary
Constructors Constructor Description UserDefinedMessageSubscriptionCreator(String pathAccountSid, String pathCallSid, URI callback)
UserDefinedMessageSubscriptionCreator(String pathCallSid, URI callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDefinedMessageSubscription
create(TwilioRestClient client)
Execute a request using specified client.UserDefinedMessageSubscriptionCreator
setCallback(String callback)
UserDefinedMessageSubscriptionCreator
setCallback(URI callback)
UserDefinedMessageSubscriptionCreator
setIdempotencyKey(String idempotencyKey)
UserDefinedMessageSubscriptionCreator
setMethod(HttpMethod method)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setCallback
public UserDefinedMessageSubscriptionCreator setCallback(URI callback)
-
setCallback
public UserDefinedMessageSubscriptionCreator setCallback(String callback)
-
setIdempotencyKey
public UserDefinedMessageSubscriptionCreator setIdempotencyKey(String idempotencyKey)
-
setMethod
public UserDefinedMessageSubscriptionCreator setMethod(HttpMethod method)
-
create
public UserDefinedMessageSubscription create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<UserDefinedMessageSubscription>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-