public class WorkspaceCumulativeStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WorkspaceCumulativeStatisticsFetcher |
fetcher(String pathWorkspaceSid)
Create a WorkspaceCumulativeStatisticsFetcher to execute fetch.
|
static WorkspaceCumulativeStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkspaceCumulativeStatistics object using
the provided ObjectMapper.
|
static WorkspaceCumulativeStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkspaceCumulativeStatistics 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 by Workers.
|
Integer |
getReservationsCanceled()
Returns The total number of Reservations that were canceled.
|
Integer |
getReservationsCreated()
Returns The total number of Reservations that were created for Workers.
|
Integer |
getReservationsRejected()
Returns The total number of Reservations that were rejected.
|
Integer |
getReservationsRescinded()
Returns The total number of Reservations that were rescinded.
|
Integer |
getReservationsTimedOut()
Returns The total number of Reservations that were timed out.
|
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.
|
Integer |
getTasksCanceled()
Returns The total number of Tasks that were canceled.
|
Integer |
getTasksCompleted()
Returns The total number of Tasks that were completed.
|
Integer |
getTasksCreated()
Returns The total number of Tasks created.
|
Integer |
getTasksDeleted()
Returns The total number of Tasks that were deleted.
|
Integer |
getTasksMoved()
Returns The total number of Tasks that were moved from one queue to another.
|
Integer |
getTasksTimedOutInWorkflow()
Returns The total number of Tasks that were timed out of their Workflows.
|
URI |
getUrl()
Returns The absolute URL of the Workspace statistics resource.
|
Map<String,Object> |
getWaitDurationUntilAccepted()
Returns The wait duration statistics for Tasks that were accepted.
|
Map<String,Object> |
getWaitDurationUntilCanceled()
Returns The wait duration statistics for Tasks that were canceled.
|
String |
getWorkspaceSid()
Returns The SID of the Workspace.
|
int |
hashCode() |
public static WorkspaceCumulativeStatisticsFetcher fetcher(String pathWorkspaceSid)
pathWorkspaceSid
- The SID of the Workspace to fetchpublic static WorkspaceCumulativeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static WorkspaceCumulativeStatistics 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 Map<String,Object> getWaitDurationUntilAccepted()
public final Map<String,Object> getWaitDurationUntilCanceled()
public final Integer getTasksCanceled()
public final Integer getTasksCompleted()
public final Integer getTasksCreated()
public final Integer getTasksDeleted()
public final Integer getTasksMoved()
public final Integer getTasksTimedOutInWorkflow()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.