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