Class WorkflowRealTimeStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.workflow.WorkflowRealTimeStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkflowRealTimeStatistics 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 WorkflowRealTimeStatisticsFetcherfetcher(String pathWorkspaceSid, String pathWorkflowSid)static WorkflowRealTimeStatisticsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a WorkflowRealTimeStatistics object using the provided ObjectMapper.static WorkflowRealTimeStatisticsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a WorkflowRealTimeStatistics object using the provided ObjectMapper.StringgetAccountSid()IntegergetLongestTaskWaitingAge()StringgetLongestTaskWaitingSid()Map<String,Object>getTasksByPriority()Map<String,Object>getTasksByStatus()IntegergetTotalTasks()URIgetUrl()StringgetWorkflowSid()StringgetWorkspaceSid()inthashCode()
-
-
-
Method Detail
-
fetcher
public static WorkflowRealTimeStatisticsFetcher fetcher(String pathWorkspaceSid, String pathWorkflowSid)
-
fromJson
public static WorkflowRealTimeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkflowRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- WorkflowRealTimeStatistics object represented by the provided JSON
-
fromJson
public static WorkflowRealTimeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkflowRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- WorkflowRealTimeStatistics 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()
-
getWorkflowSid
public final String getWorkflowSid()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-