Class TaskQueueStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.taskqueue.TaskQueueStatistics
-
- All Implemented Interfaces:
Serializable
public class TaskQueueStatistics 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 TaskQueueStatisticsFetcherfetcher(String pathWorkspaceSid, String pathTaskQueueSid)static TaskQueueStatisticsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a TaskQueueStatistics object using the provided ObjectMapper.static TaskQueueStatisticsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a TaskQueueStatistics object using the provided ObjectMapper.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
fetcher
public static TaskQueueStatisticsFetcher fetcher(String pathWorkspaceSid, String pathTaskQueueSid)
-
fromJson
public static TaskQueueStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskQueueStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- TaskQueueStatistics object represented by the provided JSON
-
fromJson
public static TaskQueueStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskQueueStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- TaskQueueStatistics object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-