Class WorkspaceStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.WorkspaceStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkspaceStatistics extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static WorkspaceStatisticsFetcher
fetcher(String pathWorkspaceSid)
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()
Map<String,Object>
getCumulative()
Map<String,Object>
getRealtime()
URI
getUrl()
String
getWorkspaceSid()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static WorkspaceStatisticsFetcher fetcher(String pathWorkspaceSid)
-
fromJson
public static WorkspaceStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkspaceStatistics object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- WorkspaceStatistics object represented by the provided JSON
-
fromJson
public static WorkspaceStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkspaceStatistics object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- WorkspaceStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-