public class WorkflowStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WorkflowStatisticsFetcher |
fetcher(String pathWorkspaceSid,
String pathWorkflowSid)
Create a WorkflowStatisticsFetcher to execute fetch.
|
static WorkflowStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkflowStatistics object using the
provided ObjectMapper.
|
static WorkflowStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkflowStatistics 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 Workflow.
|
Map<String,Object> |
getRealtime()
Returns An object that contains the real-time statistics for the Workflow.
|
URI |
getUrl()
Returns The absolute URL of the Workflow statistics resource.
|
String |
getWorkflowSid()
Returns Returns the list of Tasks that are being controlled by the Workflow
with the specified SID value.
|
String |
getWorkspaceSid()
Returns The SID of the Workspace that contains the Workflow.
|
int |
hashCode() |
public static WorkflowStatisticsFetcher fetcher(String pathWorkspaceSid, String pathWorkflowSid)
pathWorkspaceSid
- The SID of the Workspace with the Workflow to fetchpathWorkflowSid
- Returns the list of Tasks that are being controlled
by the Workflow with the specified SID valuepublic static WorkflowStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static WorkflowStatistics 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 getWorkflowSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.