public class TaskQueueCumulativeStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TaskQueueCumulativeStatisticsFetcher |
fetcher(String pathWorkspaceSid,
String pathTaskQueueSid)
Create a TaskQueueCumulativeStatisticsFetcher to execute fetch.
|
static TaskQueueCumulativeStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskQueueCumulativeStatistics object using
the provided ObjectMapper.
|
static TaskQueueCumulativeStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskQueueCumulativeStatistics object using the
provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
Integer |
getAvgTaskAcceptanceTime()
Returns The average time in seconds between Task creation and acceptance.
|
ZonedDateTime |
getEndTime()
Returns The end of the interval during which these statistics were
calculated.
|
Integer |
getReservationsAccepted()
Returns The total number of Reservations accepted for Tasks in the TaskQueue.
|
Integer |
getReservationsCanceled()
Returns The total number of Reservations canceled for Tasks in the TaskQueue.
|
Integer |
getReservationsCreated()
Returns The total number of Reservations created for Tasks in the TaskQueue.
|
Integer |
getReservationsRejected()
Returns The total number of Reservations rejected for Tasks in the TaskQueue.
|
Integer |
getReservationsRescinded()
Returns The total number of Reservations rescinded.
|
Integer |
getReservationsTimedOut()
Returns The total number of Reservations that timed out for Tasks in the
TaskQueue.
|
Map<String,Object> |
getSplitByWaitTime()
Returns A list of objects that describe the Tasks canceled and reservations
accepted above and below the specified thresholds.
|
ZonedDateTime |
getStartTime()
Returns The beginning of the interval during which these statistics were
calculated.
|
String |
getTaskQueueSid()
Returns The SID of the TaskQueue from which these statistics were calculated.
|
Integer |
getTasksCanceled()
Returns The total number of Tasks canceled in the TaskQueue.
|
Integer |
getTasksCompleted()
Returns The total number of Tasks completed in the TaskQueue.
|
Integer |
getTasksDeleted()
Returns The total number of Tasks deleted in the TaskQueue.
|
Integer |
getTasksEntered()
Returns The total number of Tasks entered into the TaskQueue.
|
Integer |
getTasksMoved()
Returns The total number of Tasks that were moved from one queue to another.
|
URI |
getUrl()
Returns The absolute URL of the TaskQueue statistics resource.
|
Map<String,Object> |
getWaitDurationInQueueUntilAccepted()
Returns The relative wait duration statistics for Tasks accepted while in the
TaskQueue.
|
Map<String,Object> |
getWaitDurationUntilAccepted()
Returns The wait duration statistics for Tasks accepted while in the
TaskQueue.
|
Map<String,Object> |
getWaitDurationUntilCanceled()
Returns The wait duration statistics for Tasks canceled while in the
TaskQueue.
|
String |
getWorkspaceSid()
Returns The SID of the Workspace that contains the TaskQueue.
|
int |
hashCode() |
public static TaskQueueCumulativeStatisticsFetcher fetcher(String pathWorkspaceSid, String pathTaskQueueSid)
pathWorkspaceSid
- The SID of the Workspace with the TaskQueue to fetchpathTaskQueueSid
- The SID of the TaskQueue for which to fetch
statisticspublic static TaskQueueCumulativeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static TaskQueueCumulativeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Integer getAvgTaskAcceptanceTime()
public final ZonedDateTime getStartTime()
public final ZonedDateTime getEndTime()
public final Integer getReservationsCreated()
public final Integer getReservationsAccepted()
public final Integer getReservationsRejected()
public final Integer getReservationsTimedOut()
public final Integer getReservationsCanceled()
public final Integer getReservationsRescinded()
public final Map<String,Object> getSplitByWaitTime()
public final String getTaskQueueSid()
public final Map<String,Object> getWaitDurationUntilAccepted()
public final Map<String,Object> getWaitDurationUntilCanceled()
public final Map<String,Object> getWaitDurationInQueueUntilAccepted()
public final Integer getTasksCanceled()
public final Integer getTasksCompleted()
public final Integer getTasksDeleted()
public final Integer getTasksEntered()
public final Integer getTasksMoved()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.