public class WorkerStatistics extends Resource
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static WorkerStatisticsFetcher |
fetcher(String pathWorkspaceSid,
String pathWorkerSid)
Create a WorkerStatisticsFetcher to execute fetch.
|
static WorkerStatistics |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkerStatistics object using the provided
ObjectMapper.
|
static WorkerStatistics |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkerStatistics object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Map<String,Object> |
getCumulative()
Returns The The cumulative.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkerSid()
Returns The The worker_sid.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
String |
toString() |
public static WorkerStatisticsFetcher fetcher(String pathWorkspaceSid, String pathWorkerSid)
pathWorkspaceSid - The workspace_sidpathWorkerSid - The worker_sidpublic static WorkerStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static WorkerStatistics 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 String getWorkerSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.