public class WorkerStatistics extends NextGenInstanceResource<TwilioTaskRouterClient>
Worker.
See the TaskRouter documentation.| Constructor and Description |
|---|
WorkerStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workerSid)
Instantiates a worker statistics.
|
WorkerStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String workerSid,
Map<String,String> filters)
Instantiates a worker statistics.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ActivityDuration> |
getActivityDurations()
Get the activity durations.
|
Calendar |
getEndTime()
Get the end time.
|
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.
|
Calendar |
getStartTime()
Get the start time.
|
Integer |
getTasksAssigned()
Get the number of tasks assigned.
|
String |
getWorkerSid()
Gets the worker's sid.
|
String |
getWorkspaceSid()
Gets the workspace sid.
|
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic WorkerStatistics(TwilioTaskRouterClient client, String workspaceSid, String workerSid)
client - the clientworkspaceSid - the workspace sidworkerSid - the worker sidpublic Set<ActivityDuration> getActivityDurations()
public Calendar getEndTime()
public Integer getReservationsAccepted()
public Integer getReservationsRejected()
public Integer getReservationsTimedOut()
public Calendar getStartTime()
public Integer getTasksAssigned()
public String getWorkerSid()
public String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.