public class WorkersStatistics extends NextGenInstanceResource<TwilioTaskRouterClient>
| Constructor and Description |
|---|
WorkersStatistics(TwilioTaskRouterClient client,
String workspaceSid)
Instantiates a worker statistics.
|
WorkersStatistics(TwilioTaskRouterClient client,
String workspaceSid,
Map<String,String> filters)
Instantiates a worker statistics.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ActivityDuration> |
getActivityDurations()
Get the activity durations.
|
Set<ActivityStatistic> |
getActivityStatistics()
Get the activity statistics.
|
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.
|
Integer |
getTotalWorkers()
Get the number of workers.
|
String |
getWorkspaceSid()
Gets the workspace sid.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic WorkersStatistics(TwilioTaskRouterClient client, String workspaceSid)
client - the clientworkspaceSid - the workspace sidpublic WorkersStatistics(TwilioTaskRouterClient client, String workspaceSid, Map<String,String> filters)
client - the clientworkspaceSid - the workspace sidfilters - the filterspublic Set<ActivityDuration> getActivityDurations()
public Set<ActivityStatistic> getActivityStatistics()
public Calendar getEndTime()
public Integer getReservationsAccepted()
public Integer getReservationsRejected()
public Integer getReservationsTimedOut()
public Calendar getStartTime()
public Integer getTasksAssigned()
public Integer getTotalWorkers()
public String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.