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, HttpMethod method)UserDefinedMessageSubscriptionCreator(String pathCallSid, URI callback, HttpMethod method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDefinedMessageSubscriptioncreate(TwilioRestClient client)Execute a request using specified client.UserDefinedMessageSubscriptionCreatorsetCallback(String callback)UserDefinedMessageSubscriptionCreatorsetCallback(URI callback)UserDefinedMessageSubscriptionCreatorsetIdempotencyKey(String idempotencyKey)UserDefinedMessageSubscriptionCreatorsetMethod(HttpMethod method)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
UserDefinedMessageSubscriptionCreator
public UserDefinedMessageSubscriptionCreator(String pathCallSid, URI callback, HttpMethod method)
-
UserDefinedMessageSubscriptionCreator
public UserDefinedMessageSubscriptionCreator(String pathAccountSid, String pathCallSid, URI callback, HttpMethod method)
-
-
Method Detail
-
setCallback
public UserDefinedMessageSubscriptionCreator setCallback(URI callback)
-
setCallback
public UserDefinedMessageSubscriptionCreator setCallback(String callback)
-
setMethod
public UserDefinedMessageSubscriptionCreator setMethod(HttpMethod method)
-
setIdempotencyKey
public UserDefinedMessageSubscriptionCreator setIdempotencyKey(String idempotencyKey)
-
create
public UserDefinedMessageSubscription create(TwilioRestClient client)
Description copied from class:CreatorExecute a request using specified client.- Specified by:
createin classCreator<UserDefinedMessageSubscription>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-