Class WorkersRealTimeStatistics
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.worker.WorkersRealTimeStatistics
-
- All Implemented Interfaces:
Serializable
public class WorkersRealTimeStatistics extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static WorkersRealTimeStatisticsFetcherfetcher(String pathWorkspaceSid)static WorkersRealTimeStatisticsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a WorkersRealTimeStatistics object using the provided ObjectMapper.static WorkersRealTimeStatisticsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a WorkersRealTimeStatistics object using the provided ObjectMapper.StringgetAccountSid()List<Map<String,Object>>getActivityStatistics()IntegergetTotalWorkers()URIgetUrl()StringgetWorkspaceSid()inthashCode()
-
-
-
Method Detail
-
fetcher
public static WorkersRealTimeStatisticsFetcher fetcher(String pathWorkspaceSid)
-
fromJson
public static WorkersRealTimeStatistics fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkersRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- WorkersRealTimeStatistics object represented by the provided JSON
-
fromJson
public static WorkersRealTimeStatistics fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkersRealTimeStatistics object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- WorkersRealTimeStatistics object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getTotalWorkers
public final Integer getTotalWorkers()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getUrl
public final URI getUrl()
-
-