Class WorkersCumulativeStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.worker.WorkersCumulativeStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkersCumulativeStatistics extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static WorkersCumulativeStatisticsFetcher fetcher(String pathWorkspaceSid)
-
fromJson
public static WorkersCumulativeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkersCumulativeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- WorkersCumulativeStatistics object represented by the provided JSON
-
fromJson
public static WorkersCumulativeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkersCumulativeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- WorkersCumulativeStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
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()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-