public class Workflow extends SidResource
Modifier and Type | Method and Description |
---|---|
static WorkflowCreator |
create(String workspaceSid,
String friendlyName,
String configuration,
String assignmentCallbackUrl)
Create a WorkflowCreator to execute create.
|
static WorkflowDeleter |
delete(String workspaceSid,
String sid)
Create a WorkflowDeleter to execute delete.
|
boolean |
equals(Object o) |
static WorkflowFetcher |
fetch(String workspaceSid,
String sid)
Create a WorkflowFetcher to execute fetch.
|
static Workflow |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Workflow object using the provided
ObjectMapper.
|
static Workflow |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Workflow object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getAssignmentCallbackUrl()
Returns The The assignment_callback_url.
|
String |
getConfiguration()
Returns The The configuration.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getDocumentContentType()
Returns The The document_content_type.
|
String |
getFallbackAssignmentCallbackUrl()
Returns The The fallback_assignment_callback_url.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getSid()
Returns The The sid.
|
Integer |
getTaskReservationTimeout()
Returns The The task_reservation_timeout.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static WorkflowReader |
read(String workspaceSid)
Create a WorkflowReader to execute read.
|
String |
toString() |
static WorkflowUpdater |
update(String workspaceSid,
String sid)
Create a WorkflowUpdater to execute update.
|
public static WorkflowFetcher fetch(String workspaceSid, String sid)
workspaceSid
- The workspace_sidsid
- The sidpublic static WorkflowUpdater update(String workspaceSid, String sid)
workspaceSid
- The workspace_sidsid
- The sidpublic static WorkflowDeleter delete(String workspaceSid, String sid)
workspaceSid
- The workspace_sidsid
- The sidpublic static WorkflowReader read(String workspaceSid)
workspaceSid
- The workspace_sidpublic static WorkflowCreator create(String workspaceSid, String friendlyName, String configuration, String assignmentCallbackUrl)
workspaceSid
- The workspace_sidfriendlyName
- The friendly_nameconfiguration
- The configurationassignmentCallbackUrl
- The assignment_callback_urlpublic static Workflow fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Workflow fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getAssignmentCallbackUrl()
public final String getConfiguration()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getDocumentContentType()
public final String getFallbackAssignmentCallbackUrl()
public final String getFriendlyName()
public final String getSid()
getSid
in class SidResource
public final Integer getTaskReservationTimeout()
public final String getWorkspaceSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.