Package com.twilio.rest.studio.v1.flow
Class EngagementCreator
- java.lang.Object
-
- com.twilio.base.Creator<Engagement>
-
- com.twilio.rest.studio.v1.flow.EngagementCreator
-
public class EngagementCreator extends Creator<Engagement>
-
-
Constructor Summary
Constructors Constructor Description EngagementCreator(String pathFlowSid, PhoneNumber to, PhoneNumber from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Engagement
create(TwilioRestClient client)
Execute a request using specified client.EngagementCreator
setFrom(PhoneNumber from)
EngagementCreator
setFrom(String from)
EngagementCreator
setParameters(Map<String,Object> parameters)
EngagementCreator
setTo(PhoneNumber to)
EngagementCreator
setTo(String to)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
EngagementCreator
public EngagementCreator(String pathFlowSid, PhoneNumber to, PhoneNumber from)
-
-
Method Detail
-
setTo
public EngagementCreator setTo(PhoneNumber to)
-
setTo
public EngagementCreator setTo(String to)
-
setFrom
public EngagementCreator setFrom(PhoneNumber from)
-
setFrom
public EngagementCreator setFrom(String from)
-
setParameters
public EngagementCreator setParameters(Map<String,Object> parameters)
-
create
public Engagement create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<Engagement>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-