public class WorkerChannel extends Resource
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static WorkerChannelFetcher |
fetcher(String pathWorkspaceSid,
String pathWorkerSid,
String pathSid)
Create a WorkerChannelFetcher to execute fetch.
|
static WorkerChannel |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a WorkerChannel object using the provided
ObjectMapper.
|
static WorkerChannel |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a WorkerChannel object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Integer |
getAssignedTasks()
Returns The The assigned_tasks.
|
Boolean |
getAvailable()
Returns The The available.
|
Integer |
getAvailableCapacityPercentage()
Returns The The available_capacity_percentage.
|
Integer |
getConfiguredCapacity()
Returns The The configured_capacity.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Map<String,String> |
getLinks()
Returns The The links.
|
String |
getSid()
Returns The The sid.
|
String |
getTaskChannelSid()
Returns The The task_channel_sid.
|
String |
getTaskChannelUniqueName()
Returns The The task_channel_unique_name.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkerSid()
Returns The The worker_sid.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static WorkerChannelReader |
reader(String pathWorkspaceSid,
String pathWorkerSid)
Create a WorkerChannelReader to execute read.
|
String |
toString() |
static WorkerChannelUpdater |
updater(String pathWorkspaceSid,
String pathWorkerSid,
String pathSid)
Create a WorkerChannelUpdater to execute update.
|
public static WorkerChannelReader reader(String pathWorkspaceSid, String pathWorkerSid)
pathWorkspaceSid - The workspace_sidpathWorkerSid - The worker_sidpublic static WorkerChannelFetcher fetcher(String pathWorkspaceSid, String pathWorkerSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathWorkerSid - The worker_sidpathSid - The sidpublic static WorkerChannelUpdater updater(String pathWorkspaceSid, String pathWorkerSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathWorkerSid - The worker_sidpathSid - The sidpublic static WorkerChannel fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static WorkerChannel fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final Integer getAssignedTasks()
public final Boolean getAvailable()
public final Integer getAvailableCapacityPercentage()
public final Integer getConfiguredCapacity()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getSid()
public final String getTaskChannelSid()
public final String getTaskChannelUniqueName()
public final String getWorkerSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.