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 booleanequals(Object o)static TaskStatisticsFetcherfetcher(String pathAssistantSid, String pathTaskSid)static TaskStatisticsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a TaskStatistics object using the provided ObjectMapper.static TaskStatisticsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a TaskStatistics object using the provided ObjectMapper.StringgetAccountSid()StringgetAssistantSid()IntegergetFieldsCount()IntegergetSamplesCount()StringgetTaskSid()URIgetUrl()inthashCode()
-
-
-
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()
-
-