Class WorkspaceRealTimeStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.WorkspaceRealTimeStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkspaceRealTimeStatistics 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 WorkspaceRealTimeStatisticsFetcherfetcher(String pathWorkspaceSid)static WorkspaceRealTimeStatisticsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a WorkspaceRealTimeStatistics object using the provided ObjectMapper.static WorkspaceRealTimeStatisticsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a WorkspaceRealTimeStatistics object using the provided ObjectMapper.StringgetAccountSid()List<Map<String,Object>>getActivityStatistics()IntegergetLongestTaskWaitingAge()StringgetLongestTaskWaitingSid()Map<String,Object>getTasksByPriority()Map<String,Object>getTasksByStatus()IntegergetTotalTasks()IntegergetTotalWorkers()URIgetUrl()StringgetWorkspaceSid()inthashCode()
-
-
-
Method Detail
-
fetcher
public static WorkspaceRealTimeStatisticsFetcher fetcher(String pathWorkspaceSid)
-
fromJson
public static WorkspaceRealTimeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkspaceRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- WorkspaceRealTimeStatistics object represented by the provided JSON
-
fromJson
public static WorkspaceRealTimeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkspaceRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- WorkspaceRealTimeStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getLongestTaskWaitingAge
public final Integer getLongestTaskWaitingAge()
-
getLongestTaskWaitingSid
public final String getLongestTaskWaitingSid()
-
getTotalTasks
public final Integer getTotalTasks()
-
getTotalWorkers
public final Integer getTotalWorkers()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-