Class WorkspaceCumulativeStatistics

    • Method Detail

      • fetcher

        public static WorkspaceCumulativeStatisticsFetcher fetcher​(String pathWorkspaceSid)
        Create a WorkspaceCumulativeStatisticsFetcher to execute fetch.
        Parameters:
        pathWorkspaceSid - The workspace_sid
        Returns:
        WorkspaceCumulativeStatisticsFetcher capable of executing the fetch
      • 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 String
        objectMapper - 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 InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        WorkspaceCumulativeStatistics object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
        Returns The The account_sid.
        Returns:
        The account_sid
      • getAvgTaskAcceptanceTime

        public final Integer getAvgTaskAcceptanceTime()
        Returns The The average time from Task creation to acceptance.
        Returns:
        The average time from Task creation to acceptance
      • getStartTime

        public final org.joda.time.DateTime getStartTime()
        Returns The The start_time.
        Returns:
        The start_time
      • getEndTime

        public final org.joda.time.DateTime getEndTime()
        Returns The The end_time.
        Returns:
        The end_time
      • getReservationsCreated

        public final Integer getReservationsCreated()
        Returns The The total number of Reservations that were created for Workers.
        Returns:
        The total number of Reservations that were created for Workers
      • getReservationsAccepted

        public final Integer getReservationsAccepted()
        Returns The The total number of Reservations accepted by Workers.
        Returns:
        The total number of Reservations accepted by Workers
      • getReservationsRejected

        public final Integer getReservationsRejected()
        Returns The The total number of Reservations that were rejected.
        Returns:
        The total number of Reservations that were rejected
      • getReservationsTimedOut

        public final Integer getReservationsTimedOut()
        Returns The The total number of Reservations that were timed out.
        Returns:
        The total number of Reservations that were timed out
      • getReservationsCanceled

        public final Integer getReservationsCanceled()
        Returns The The total number of Reservations that were canceled.
        Returns:
        The total number of Reservations that were canceled
      • getReservationsRescinded

        public final Integer getReservationsRescinded()
        Returns The The total number of Reservations that were rescinded.
        Returns:
        The total number of Reservations that were rescinded
      • getSplitByWaitTime

        public final Map<String,​Object> getSplitByWaitTime()
        Returns The The splits of the tasks canceled and accepted based on the provided SplitByWaitTime parameter..
        Returns:
        The splits of the tasks canceled and accepted based on the provided SplitByWaitTime parameter.
      • getWaitDurationUntilAccepted

        public final Map<String,​Object> getWaitDurationUntilAccepted()
        Returns The The wait duration stats for tasks that were accepted..
        Returns:
        The wait duration stats for tasks that were accepted.
      • getWaitDurationUntilCanceled

        public final Map<String,​Object> getWaitDurationUntilCanceled()
        Returns The The wait duration stats for tasks that were canceled..
        Returns:
        The wait duration stats for tasks that were canceled.
      • getTasksCanceled

        public final Integer getTasksCanceled()
        Returns The The total number of Tasks that were canceled.
        Returns:
        The total number of Tasks that were canceled
      • getTasksCompleted

        public final Integer getTasksCompleted()
        Returns The The total number of Tasks that were completed.
        Returns:
        The total number of Tasks that were completed
      • getTasksCreated

        public final Integer getTasksCreated()
        Returns The The total number of Tasks created.
        Returns:
        The total number of Tasks created
      • getTasksDeleted

        public final Integer getTasksDeleted()
        Returns The The total number of Tasks that were deleted.
        Returns:
        The total number of Tasks that were deleted
      • getTasksMoved

        public final Integer getTasksMoved()
        Returns The The total number of Tasks that were moved from one queue to another.
        Returns:
        The total number of Tasks that were moved from one queue to another
      • getTasksTimedOutInWorkflow

        public final Integer getTasksTimedOutInWorkflow()
        Returns The The total number of Tasks that were timed out of their Workflows.
        Returns:
        The total number of Tasks that were timed out of their Workflows
      • getWorkspaceSid

        public final String getWorkspaceSid()
        Returns The The workspace_sid.
        Returns:
        The workspace_sid
      • getUrl

        public final URI getUrl()
        Returns The The url.
        Returns:
        The url
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object