public class TaskQueueStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TaskQueueStatisticsFetcher |
fetcher(String pathWorkspaceSid,
String pathTaskQueueSid)
Create a TaskQueueStatisticsFetcher to execute fetch.
|
static TaskQueueStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskQueueStatistics object using the
provided ObjectMapper.
|
static TaskQueueStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskQueueStatistics object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
Map<String,Object> |
getCumulative()
Returns An object that contains the cumulative statistics for the TaskQueue.
|
Map<String,Object> |
getRealtime()
Returns An object that contains the real-time statistics for the TaskQueue.
|
String |
getTaskQueueSid()
Returns The SID of the TaskQueue from which these statistics were calculated.
|
URI |
getUrl()
Returns The absolute URL of the TaskQueue statistics resource.
|
String |
getWorkspaceSid()
Returns The SID of the Workspace that contains the TaskQueue.
|
int |
hashCode() |
String |
toString() |
public static TaskQueueStatisticsFetcher fetcher(String pathWorkspaceSid, String pathTaskQueueSid)
pathWorkspaceSid
- The SID of the Workspace with the TaskQueue to fetchpathTaskQueueSid
- The SID of the TaskQueue for which to fetch
statisticspublic static TaskQueueStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static TaskQueueStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Map<String,Object> getCumulative()
public final Map<String,Object> getRealtime()
public final String getTaskQueueSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.