Class TaskStatistics

  • All Implemented Interfaces:
    Serializable

    public class TaskStatistics
    extends Resource
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    See Also:
    Serialized Form
    • Method Detail

      • fetcher

        public static TaskStatisticsFetcher fetcher​(String pathAssistantSid,
                                                    String pathTaskSid)
        Create a TaskStatisticsFetcher to execute fetch.
        Parameters:
        pathAssistantSid - The unique ID of the parent Assistant.
        pathTaskSid - The unique ID of the Task associated with this Field.
        Returns:
        TaskStatisticsFetcher capable of executing the fetch
      • fromJson

        public static TaskStatistics fromJson​(String json,
                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a TaskStatistics object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        TaskStatistics object represented by the provided JSON
      • fromJson

        public static TaskStatistics fromJson​(InputStream json,
                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a TaskStatistics object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        TaskStatistics object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
        Returns The The unique ID of the Account that created this Field..
        Returns:
        The unique ID of the Account that created this Field.
      • getAssistantSid

        public final String getAssistantSid()
        Returns The The unique ID of the parent Assistant..
        Returns:
        The unique ID of the parent Assistant.
      • getTaskSid

        public final String getTaskSid()
        Returns The The unique ID of the Task associated with this Field..
        Returns:
        The unique ID of the Task associated with this Field.
      • getSamplesCount

        public final Integer getSamplesCount()
        Returns The The total number of Samples associated with this Task..
        Returns:
        The total number of Samples associated with this Task.
      • getFieldsCount

        public final Integer getFieldsCount()
        Returns The The total number of Fields associated with this Task..
        Returns:
        The total number of Fields associated with this Task.
      • getUrl

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

        public int hashCode()
        Overrides:
        hashCode in class Object