public class Workflow extends NextGenInstanceResource<TwilioTaskRouterClient>
| Constructor and Description |
|---|
Workflow(TwilioTaskRouterClient client)
Instantiates a workflow.
|
Workflow(TwilioTaskRouterClient client,
Map<String,Object> properties)
Instantiates a workflow.
|
Workflow(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid)
Instantiates a workflow.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignmentCallbackUrl()
The URL that will be called whenever a task managed by this Workflow is assigned to a Worker.
|
String |
getConfiguration()
JSON document configuring the rules for this Workflow.
|
Date |
getDateCreated()
The date and time this Workflow was created.
|
Date |
getDateUpdated()
The date and time this Workflow was last updated.
|
String |
getFallbackAssignmentCallbackUrl()
If the request to the AssignmentCallbackUrl fails, the assignment callback will be made to this URL.
|
String |
getFriendlyName()
A human-readable description of this Workflow.
|
String |
getSid()
This Workflow's unique ID.
|
String |
getTaskReservationTimeout()
Determines how long TaskRouter will wait for a confirmation response from your application after assigning a Task
to a worker.
|
String |
getWorkspaceSid()
The unique ID of the
Workspace containing this Workflow. |
getObject, getProperty, update, updatesetRequestAccountSidpublic Workflow(TwilioTaskRouterClient client)
client - the clientpublic Workflow(TwilioTaskRouterClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic Workflow(TwilioTaskRouterClient client, String workspaceSid, String workflowSid)
client - the clientworkspaceSid - the workspace sidworkflowSid - the workflow sidpublic String getAssignmentCallbackUrl()
public String getConfiguration()
public Date getDateCreated()
public Date getDateUpdated()
public String getFallbackAssignmentCallbackUrl()
public String getFriendlyName()
public String getSid()
public String getTaskReservationTimeout()
Copyright © 2011 Twilio, Inc. All Rights Reserved.