public class WorkspaceStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WorkspaceStatisticsFetcher |
fetcher(String pathWorkspaceSid)
Create a WorkspaceStatisticsFetcher to execute fetch.
|
static WorkspaceStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkspaceStatistics object using the
provided ObjectMapper.
|
static WorkspaceStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkspaceStatistics 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 Workspace.
|
Map<String,Object> |
getRealtime()
Returns n object that contains the real-time statistics for the Workspace.
|
URI |
getUrl()
Returns The absolute URL of the Workspace statistics resource.
|
String |
getWorkspaceSid()
Returns The SID of the Workspace.
|
int |
hashCode() |
public static WorkspaceStatisticsFetcher fetcher(String pathWorkspaceSid)
pathWorkspaceSid
- The SID of the Workspace to fetchpublic static WorkspaceStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static WorkspaceStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final Map<String,Object> getRealtime()
public final Map<String,Object> getCumulative()
public final String getAccountSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.