public class TaskChannel extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TaskChannelFetcher |
fetcher(String workspaceSid,
String sid)
Create a TaskChannelFetcher to execute fetch.
|
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()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getSid()
Returns The The sid.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static TaskChannelReader |
reader(String workspaceSid)
Create a TaskChannelReader to execute read.
|
String |
toString() |
public static TaskChannelFetcher fetcher(String workspaceSid, String sid)
workspaceSid
- The workspace_sidsid
- The sidpublic static TaskChannelReader reader(String workspaceSid)
workspaceSid
- The workspace_sidpublic static TaskChannel fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static TaskChannel fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getSid()
public final String getUniqueName()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.