|
|||||||||
| 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.WorkflowStatistics
public class WorkflowStatistics
Statistics about Workflow
See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 WorkflowStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid)
client - the clientworkspaceSid - the workspace sidworkflowSid - the workflow sid
public WorkflowStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workflowSid,
Map<String,String> filters)
client - the clientworkspaceSid - the workspace sidworkflowSid - the workflow sidfilters - the filters| Method Detail |
|---|
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||