public class TaskQueueStatistics extends NextGenInstanceResource<TwilioTaskRouterClient>
| Constructor and Description |
|---|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid)
Instantiates a queue statistics.
|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters)
Instantiates a queue statistics.
|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters,
Map<String,Object> properties)
Instantiates a queue statistics.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ActivityStatistic> |
getActivityStatistics()
Get the activity statistics.
|
Integer |
getAssignedTasks()
Get the number of assigned tasks.
|
Double |
getAverageTaskAcceptanceTime()
Get the average time of task acceptance in seconds.
|
Calendar |
getEndTime()
Get the end time.
|
Integer |
getLongestTaskWaitingAge()
Get the longest task waiting age in seconds.
|
String |
getLongestTaskWaitingSid()
Get the sid of the longest waiting task.
|
Integer |
getPendingTasks()
Get the number of pending tasks.
|
String |
getQueueSid()
Gets the queue's sid.
|
Integer |
getReservationsAccepted()
Get the number of accepted reservations.
|
Integer |
getReservationsRejected()
Get the number of rejected reservations.
|
Integer |
getReservationsTimedOut()
Get the number of timed out reservations.
|
Integer |
getReservedTasks()
Get the number of reserved tasks.
|
Calendar |
getStartTime()
Get the start time.
|
Integer |
getTasksCanceled()
Get the number of tasks canceled.
|
Integer |
getTasksEntered()
Get the number of tasks entered.
|
Integer |
getTasksMoved()
Get the number of tasks moved.
|
Integer |
getTotalAvailableWorkers()
Get the total number of available workers.
|
Integer |
getTotalEligibleWorkers()
Get the total number of eligible workers.
|
Integer |
getTotalTasks()
Get the total number of tasks.
|
String |
getWorkspaceSid()
Gets the workspace sid.
|
getObject, getProperty, update, updatesetRequestAccountSidpublic TaskQueueStatistics(TwilioTaskRouterClient client, String workspaceSid, String queueSid)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sidpublic TaskQueueStatistics(TwilioTaskRouterClient client, String workspaceSid, String queueSid, Map<String,String> filters)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sidfilters - the filterspublic TaskQueueStatistics(TwilioTaskRouterClient client, String workspaceSid, String queueSid, Map<String,String> filters, Map<String,Object> properties)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sidfilters - the filtersproperties - the propertiespublic Set<ActivityStatistic> getActivityStatistics()
public Integer getAssignedTasks()
public Double getAverageTaskAcceptanceTime()
public Calendar getEndTime()
public Integer getLongestTaskWaitingAge()
public String getLongestTaskWaitingSid()
public Integer getPendingTasks()
public String getQueueSid()
public Integer getReservationsAccepted()
public Integer getReservationsRejected()
public Integer getReservationsTimedOut()
public Integer getReservedTasks()
public Calendar getStartTime()
public Integer getTasksCanceled()
public Integer getTasksEntered()
public Integer getTasksMoved()
public Integer getTotalAvailableWorkers()
public Integer getTotalEligibleWorkers()
public Integer getTotalTasks()
public String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.