Class TaskChannel
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.workspace.TaskChannel
-
- All Implemented Interfaces:
Serializable
public class TaskChannel extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskChannelCreator
creator(String pathWorkspaceSid, String friendlyName, String uniqueName)
static TaskChannelDeleter
deleter(String pathWorkspaceSid, String pathSid)
boolean
equals(Object o)
static TaskChannelFetcher
fetcher(String pathWorkspaceSid, String pathSid)
static TaskChannel
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskChannel object using the provided ObjectMapper.static TaskChannel
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskChannel object using the provided ObjectMapper.String
getAccountSid()
Boolean
getChannelOptimizedRouting()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
Map<String,String>
getLinks()
String
getSid()
String
getUniqueName()
URI
getUrl()
String
getWorkspaceSid()
int
hashCode()
static TaskChannelReader
reader(String pathWorkspaceSid)
static TaskChannelUpdater
updater(String pathWorkspaceSid, String pathSid)
-
-
-
Method Detail
-
creator
public static TaskChannelCreator creator(String pathWorkspaceSid, String friendlyName, String uniqueName)
-
deleter
public static TaskChannelDeleter deleter(String pathWorkspaceSid, String pathSid)
-
fetcher
public static TaskChannelFetcher fetcher(String pathWorkspaceSid, String pathSid)
-
reader
public static TaskChannelReader reader(String pathWorkspaceSid)
-
updater
public static TaskChannelUpdater updater(String pathWorkspaceSid, String pathSid)
-
fromJson
public static TaskChannel fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TaskChannel object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- TaskChannel object represented by the provided JSON
-
fromJson
public static TaskChannel fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TaskChannel object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- TaskChannel object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getWorkspaceSid
public final String getWorkspaceSid()
-
getChannelOptimizedRouting
public final Boolean getChannelOptimizedRouting()
-
getUrl
public final URI getUrl()
-
-