public class Task extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Task.Status |
| Modifier and Type | Method and Description |
|---|---|
static TaskCreator |
creator(String pathWorkspaceSid)
Create a TaskCreator to execute create.
|
static TaskDeleter |
deleter(String pathWorkspaceSid,
String pathSid)
Create a TaskDeleter to execute delete.
|
boolean |
equals(Object o) |
static TaskFetcher |
fetcher(String pathWorkspaceSid,
String pathSid)
Create a TaskFetcher to execute fetch.
|
static Task |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Task object using the provided
ObjectMapper.
|
static Task |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Task object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getAddons()
Returns The The addons.
|
Integer |
getAge()
Returns The The age.
|
Task.Status |
getAssignmentStatus()
Returns The The assignment_status.
|
String |
getAttributes()
Returns The The attributes.
|
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.
|
Integer |
getPriority()
Returns The The priority.
|
String |
getReason()
Returns The The reason.
|
String |
getSid()
Returns The The sid.
|
String |
getTaskChannelSid()
Returns The The task_channel_sid.
|
String |
getTaskChannelUniqueName()
Returns The The task_channel_unique_name.
|
String |
getTaskQueueFriendlyName()
Returns The The task_queue_friendly_name.
|
String |
getTaskQueueSid()
Returns The The task_queue_sid.
|
Integer |
getTimeout()
Returns The The timeout.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkflowFriendlyName()
Returns The The workflow_friendly_name.
|
String |
getWorkflowSid()
Returns The The workflow_sid.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static TaskReader |
reader(String pathWorkspaceSid)
Create a TaskReader to execute read.
|
String |
toString() |
static TaskUpdater |
updater(String pathWorkspaceSid,
String pathSid)
Create a TaskUpdater to execute update.
|
public static TaskFetcher fetcher(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathSid - The sidpublic static TaskUpdater updater(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathSid - The sidpublic static TaskDeleter deleter(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathSid - The sidpublic static TaskReader reader(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic static TaskCreator creator(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic static Task fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Task fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final Integer getAge()
public final Task.Status getAssignmentStatus()
public final String getAttributes()
public final String getAddons()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Integer getPriority()
public final String getReason()
public final String getSid()
public final String getTaskQueueSid()
public final String getTaskQueueFriendlyName()
public final String getTaskChannelSid()
public final String getTaskChannelUniqueName()
public final Integer getTimeout()
public final String getWorkflowSid()
public final String getWorkflowFriendlyName()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.