| Constructor and Description |
|---|
WorkflowCreator(String workspaceSid,
String friendlyName,
String configuration,
String assignmentCallbackUrl)
Construct a new WorkflowCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Workflow |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
WorkflowCreator |
setFallbackAssignmentCallbackUrl(String fallbackAssignmentCallbackUrl)
The fallback_assignment_callback_url.
|
WorkflowCreator |
setTaskReservationTimeout(Integer taskReservationTimeout)
The task_reservation_timeout.
|
public WorkflowCreator(String workspaceSid, String friendlyName, String configuration, String assignmentCallbackUrl)
workspaceSid - The workspace_sidfriendlyName - The friendly_nameconfiguration - The configurationassignmentCallbackUrl - The assignment_callback_urlpublic WorkflowCreator setFallbackAssignmentCallbackUrl(String fallbackAssignmentCallbackUrl)
fallbackAssignmentCallbackUrl - The fallback_assignment_callback_urlpublic WorkflowCreator setTaskReservationTimeout(Integer taskReservationTimeout)
taskReservationTimeout - The task_reservation_timeoutpublic Workflow execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.