|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource<C>
com.twilio.sdk.resource.NextGenInstanceResource<TwilioTaskRouterClient>
com.twilio.sdk.resource.instance.taskrouter.Workflow
public class Workflow
Workflows control how tasks will be prioritized and routed into Queues, and how Tasks should escalate in priority or move across queues over time. Workflows are described in a simple JSON format. See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Workflow(TwilioTaskRouterClient client)
client - the client
public Workflow(TwilioTaskRouterClient client,
Map<String,Object> properties)
client - the clientproperties - the properties
public Workflow(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid)
client - the clientworkspaceSid - the workspace sidworkflowSid - the workflow sid| Method Detail |
|---|
public String getAssignmentCallbackUrl()
public String getConfiguration()
public Date getDateCreated()
public Date getDateUpdated()
public String getFallbackAssignmentCallbackUrl()
public String getFriendlyName()
public String getSid()
public String getTaskReservationTimeout()
public String getWorkspaceSid()
Workspace containing this Workflow.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||