Constructor and Description |
---|
TaskQueueReader(String pathWorkspaceSid)
Construct a new TaskQueueReader.
|
Modifier and Type | Method and Description |
---|---|
Page<TaskQueue> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<TaskQueue> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<TaskQueue> |
nextPage(Page<TaskQueue> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<TaskQueue> |
previousPage(Page<TaskQueue> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<TaskQueue> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
TaskQueueReader |
setEvaluateWorkerAttributes(String evaluateWorkerAttributes)
The attributes of the Workers to read.
|
TaskQueueReader |
setFriendlyName(String friendlyName)
The `friendly_name` of the TaskQueue resources to read..
|
TaskQueueReader |
setWorkerSid(String workerSid)
The SID of the Worker with the TaskQueue resources to read..
|
public TaskQueueReader(String pathWorkspaceSid)
pathWorkspaceSid
- The SID of the Workspace with the TaskQueue to readpublic TaskQueueReader setFriendlyName(String friendlyName)
friendlyName
- The friendly_name of the TaskQueue resources to readpublic TaskQueueReader setEvaluateWorkerAttributes(String evaluateWorkerAttributes)
evaluateWorkerAttributes
- The attributes of the Workers to readpublic TaskQueueReader setWorkerSid(String workerSid)
workerSid
- The SID of the Worker with the TaskQueue resources to readpublic ResourceSet<TaskQueue> read(TwilioRestClient client)
public Page<TaskQueue> firstPage(TwilioRestClient client)
public Page<TaskQueue> getPage(String targetUrl, TwilioRestClient client)
public Page<TaskQueue> nextPage(Page<TaskQueue> page, TwilioRestClient client)
public Page<TaskQueue> previousPage(Page<TaskQueue> page, TwilioRestClient client)
previousPage
in class Reader<TaskQueue>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.