|
|||||||||
| 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.TaskQueue
public class TaskQueue
TaskQueues are the resource you use to categorize Tasks and describe which Workers are eligible to handle those Tasks. As your Workflows process Tasks, those Tasks will pass through one or more TaskQueues until the Task is assigned and accepted by an eligible Worker. See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
TaskQueue(TwilioTaskRouterClient client)
Instantiates a queue. |
|
TaskQueue(TwilioTaskRouterClient client,
Map<String,Object> properties)
Instantiates a queue. |
|
TaskQueue(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid)
Instantiates a queue. |
|
| Method Summary | |
|---|---|
String |
getAccountSid()
The ID of the Account that owns this TaskQueue |
String |
getAssignmentActivitySid()
The Activity to assign a
Worker when they accept a
Task from this TaskQueue. |
Date |
getDateCreated()
The date and time this TaskQueue was created. |
Date |
getDateUpdated()
The date and time this TaskQueue was last updated. |
String |
getFriendlyName()
Human-readable description of the TaskQueue (for example “Customer Support” or “Sales”) |
String |
getReservationActivityName()
The FriendlyName of the Activity Workers will be assigned
when they are reserved for a Task from this queue. |
String |
getReservationActivitySid()
The unique ID of the Activity Workers will be assigned
when they are reserved for a Task from this queue. |
String |
getSid()
The unique ID of this TaskQueue. |
String |
getTargetWorkers()
The worker selection expressions for this TaskQueue. |
String |
getWorkspaceSid()
The unique ID of the Workspace containing this TaskQueue. |
| 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 TaskQueue(TwilioTaskRouterClient client)
client - the client
public TaskQueue(TwilioTaskRouterClient client,
Map<String,Object> properties)
client - the clientproperties - the properties
public TaskQueue(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sid| Method Detail |
|---|
public String getAccountSid()
Account that owns this TaskQueue
public String getAssignmentActivitySid()
Activity to assign a
Worker when they accept a
Task from this TaskQueue.
public Date getDateCreated()
public Date getDateUpdated()
public String getFriendlyName()
public String getReservationActivityName()
Activity Workers will be assigned
when they are reserved for a Task from this queue.
public String getReservationActivitySid()
Activity Workers will be assigned
when they are reserved for a Task from this queue.
public String getSid()
public String getTargetWorkers()
public String getWorkspaceSid()
Workspace containing this TaskQueue.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||