Class WorkspaceCumulativeStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.WorkspaceCumulativeStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkspaceCumulativeStatistics extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static WorkspaceCumulativeStatisticsFetcher fetcher(String pathWorkspaceSid)
-
fromJson
public static WorkspaceCumulativeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkspaceCumulativeStatistics object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- WorkspaceCumulativeStatistics object represented by the provided JSON
-
fromJson
public static WorkspaceCumulativeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkspaceCumulativeStatistics object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- WorkspaceCumulativeStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAvgTaskAcceptanceTime
public final Integer getAvgTaskAcceptanceTime()
-
getStartTime
public final ZonedDateTime getStartTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getReservationsCreated
public final Integer getReservationsCreated()
-
getReservationsAccepted
public final Integer getReservationsAccepted()
-
getReservationsRejected
public final Integer getReservationsRejected()
-
getReservationsTimedOut
public final Integer getReservationsTimedOut()
-
getReservationsCanceled
public final Integer getReservationsCanceled()
-
getReservationsRescinded
public final Integer getReservationsRescinded()
-
getTasksCanceled
public final Integer getTasksCanceled()
-
getTasksCompleted
public final Integer getTasksCompleted()
-
getTasksCreated
public final Integer getTasksCreated()
-
getTasksDeleted
public final Integer getTasksDeleted()
-
getTasksMoved
public final Integer getTasksMoved()
-
getTasksTimedOutInWorkflow
public final Integer getTasksTimedOutInWorkflow()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-