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 SID of the Account that created the resource.
|
String |
getAssistantSid()
Returns The SID of the Assistant that is the parent of the Task associated
with the resource.
|
Integer |
getFieldsCount()
Returns The total number of Fields associated with the Task.
|
Integer |
getSamplesCount()
Returns The total number of Samples associated with the Task.
|
String |
getTaskSid()
Returns The SID of the Task for which the statistics were collected.
|
URI |
getUrl()
Returns The absolute URL of the TaskStatistics resource.
|
int |
hashCode() |
public static TaskStatisticsFetcher fetcher(String pathAssistantSid, String pathTaskSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
resource to fetchpathTaskSid
- The SID of the Task that is associated with the resource
to fetchpublic 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.