public class WorkspaceStatistics extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WorkspaceStatisticsFetcher |
fetch(String workspaceSid)
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 The account_sid.
|
com.fasterxml.jackson.databind.JsonNode |
getCumulative()
Returns The The cumulative.
|
com.fasterxml.jackson.databind.JsonNode |
getRealtime()
Returns The The realtime.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
String |
toString() |
public static WorkspaceStatisticsFetcher fetch(String workspaceSid)
workspaceSid
- The workspace_sidpublic 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 com.fasterxml.jackson.databind.JsonNode getRealtime()
public final com.fasterxml.jackson.databind.JsonNode getCumulative()
public final String getAccountSid()
public final String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.