Class TaskStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.autopilot.v1.assistant.task.TaskStatistics
-
- All Implemented Interfaces:
Serializable
public class TaskStatistics extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static TaskStatisticsFetcher
fetcher(String pathAssistantSid, String pathTaskSid)
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()
String
getAssistantSid()
Integer
getFieldsCount()
Integer
getSamplesCount()
String
getTaskSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static TaskStatisticsFetcher fetcher(String pathAssistantSid, String pathTaskSid)
-
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 StringobjectMapper
- 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 InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- TaskStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAssistantSid
public final String getAssistantSid()
-
getTaskSid
public final String getTaskSid()
-
getSamplesCount
public final Integer getSamplesCount()
-
getFieldsCount
public final Integer getFieldsCount()
-
getUrl
public final URI getUrl()
-
-