public class TaskStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TaskStatisticsFetcher |
fetcher(String pathAssistantSid,
String pathTaskSid)
Create a TaskStatisticsFetcher to execute fetch.
|
static TaskStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskStatistics object using the provided
ObjectMapper.
|
static TaskStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskStatistics object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The unique ID of the Account that created this Field..
|
String |
getAssistantSid()
Returns The unique ID of the parent Assistant..
|
Integer |
getFieldsCount()
Returns The total number of Fields associated with this Task..
|
Integer |
getSamplesCount()
Returns The total number of Samples associated with this Task..
|
String |
getTaskSid()
Returns The unique ID of the Task associated with this Field..
|
URI |
getUrl()
Returns The url.
|
int |
hashCode() |
public static TaskStatisticsFetcher fetcher(String pathAssistantSid, String pathTaskSid)
pathAssistantSid
- The unique ID of the parent Assistant.pathTaskSid
- The unique ID of the Task associated with this Field.public static TaskStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static TaskStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getAssistantSid()
public final String getTaskSid()
public final Integer getSamplesCount()
public final Integer getFieldsCount()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.