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