| Constructor and Description |
|---|
TaskReader(String pathWorkspaceSid)
Construct a new TaskReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Task> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Task> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Task> |
nextPage(Page<Task> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Task> |
previousPage(Page<Task> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Task> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
TaskReader |
setAssignmentStatus(List<String> assignmentStatus)
The assignment_status.
|
TaskReader |
setAssignmentStatus(String assignmentStatus)
The assignment_status.
|
TaskReader |
setEvaluateTaskAttributes(String evaluateTaskAttributes)
The evaluate_task_attributes.
|
TaskReader |
setHasAddons(Boolean hasAddons)
The has_addons.
|
TaskReader |
setOrdering(String ordering)
The ordering.
|
TaskReader |
setPriority(Integer priority)
The priority.
|
TaskReader |
setTaskQueueName(String taskQueueName)
The task_queue_name.
|
TaskReader |
setTaskQueueSid(String taskQueueSid)
The task_queue_sid.
|
TaskReader |
setWorkflowName(String workflowName)
The workflow_name.
|
TaskReader |
setWorkflowSid(String workflowSid)
The workflow_sid.
|
public TaskReader(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic TaskReader setPriority(Integer priority)
priority - The prioritypublic TaskReader setAssignmentStatus(List<String> assignmentStatus)
assignmentStatus - The assignment_statuspublic TaskReader setAssignmentStatus(String assignmentStatus)
assignmentStatus - The assignment_statuspublic TaskReader setWorkflowSid(String workflowSid)
workflowSid - The workflow_sidpublic TaskReader setWorkflowName(String workflowName)
workflowName - The workflow_namepublic TaskReader setTaskQueueSid(String taskQueueSid)
taskQueueSid - The task_queue_sidpublic TaskReader setTaskQueueName(String taskQueueName)
taskQueueName - The task_queue_namepublic TaskReader setEvaluateTaskAttributes(String evaluateTaskAttributes)
evaluateTaskAttributes - The evaluate_task_attributespublic TaskReader setOrdering(String ordering)
ordering - The orderingpublic TaskReader setHasAddons(Boolean hasAddons)
hasAddons - The has_addonspublic ResourceSet<Task> read(TwilioRestClient client)
public Page<Task> firstPage(TwilioRestClient client)
public Page<Task> getPage(String targetUrl, TwilioRestClient client)
public Page<Task> nextPage(Page<Task> page, TwilioRestClient client)
public Page<Task> previousPage(Page<Task> page, TwilioRestClient client)
previousPage in class Reader<Task>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.