public class WorkflowStatistics extends NextGenInstanceResource<TwilioTaskRouterClient>
Workflow
See the TaskRouter documentation.| Constructor and Description |
|---|
WorkflowStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid)
Instantiates a workflow statistics.
|
WorkflowStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid,
Map<String,String> filters)
Instantiates a workflow statistics.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 |
getTasksTimedOutInWorkflow()
Get the number of tasks that timed out in the workflow.
|
Integer |
getTotalTasks()
Get the total number of tasks.
|
String |
getWorkflowSid()
Gets the workflow's sid.
|
String |
getWorkspaceSid()
Gets the workspace sid.
|
getObject, getProperty, update, updatesetRequestAccountSidpublic WorkflowStatistics(TwilioTaskRouterClient client, String workspaceSid, String workflowSid)
client - the clientworkspaceSid - the workspace sidworkflowSid - the workflow sidpublic Integer getAssignedTasks()
public Double getAverageTaskAcceptanceTime()
public Calendar getEndTime()
public Integer getLongestTaskWaitingAge()
public String getLongestTaskWaitingSid()
public Integer getPendingTasks()
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 getTasksTimedOutInWorkflow()
public Integer getTotalTasks()
public String getWorkflowSid()
public String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.