Constructor and Description |
---|
TaskReader(String workspaceSid)
Construct a new TaskReader.
|
Modifier and Type | Method and Description |
---|---|
TaskReader |
byAssignmentStatus(Task.Status assignmentStatus)
The assignment_status.
|
TaskReader |
byPriority(Integer priority)
The priority.
|
TaskReader |
byTaskQueueName(String taskQueueName)
The task_queue_name.
|
TaskReader |
byTaskQueueSid(String taskQueueSid)
The task_queue_sid.
|
TaskReader |
byWorkflowName(String workflowName)
The workflow_name.
|
TaskReader |
byWorkflowSid(String workflowSid)
The workflow_sid.
|
ResourceSet<Task> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Task> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Task> |
nextPage(Page<Task> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public TaskReader(String workspaceSid)
workspaceSid
- The workspace_sidpublic TaskReader byPriority(Integer priority)
priority
- The prioritypublic TaskReader byAssignmentStatus(Task.Status assignmentStatus)
assignmentStatus
- The assignment_statuspublic TaskReader byWorkflowSid(String workflowSid)
workflowSid
- The workflow_sidpublic TaskReader byWorkflowName(String workflowName)
workflowName
- The workflow_namepublic TaskReader byTaskQueueSid(String taskQueueSid)
taskQueueSid
- The task_queue_sidpublic TaskReader byTaskQueueName(String taskQueueName)
taskQueueName
- The task_queue_namepublic ResourceSet<Task> execute(TwilioRestClient client)
public Page<Task> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.