Class TaskQueueReader
- java.lang.Object
-
- com.twilio.base.Reader<TaskQueue>
-
- com.twilio.rest.taskrouter.v1.workspace.TaskQueueReader
-
-
Constructor Summary
Constructors Constructor Description TaskQueueReader(String pathWorkspaceSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<TaskQueue>
firstPage(TwilioRestClient client)
Fetch the first page of resources using specified client.Page<TaskQueue>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page of resources.Page<TaskQueue>
nextPage(Page<TaskQueue> page, TwilioRestClient client)
Fetch the following page of resources using specified client.Page<TaskQueue>
previousPage(Page<TaskQueue> page, TwilioRestClient client)
Fetch the prior page of resources using specified client.ResourceSet<TaskQueue>
read(TwilioRestClient client)
Execute a request using specified client.TaskQueueReader
setEvaluateWorkerAttributes(String evaluateWorkerAttributes)
TaskQueueReader
setFriendlyName(String friendlyName)
TaskQueueReader
setOrdering(String ordering)
TaskQueueReader
setPageSize(Integer pageSize)
TaskQueueReader
setWorkerSid(String workerSid)
-
-
-
Constructor Detail
-
TaskQueueReader
public TaskQueueReader(String pathWorkspaceSid)
-
-
Method Detail
-
setFriendlyName
public TaskQueueReader setFriendlyName(String friendlyName)
-
setEvaluateWorkerAttributes
public TaskQueueReader setEvaluateWorkerAttributes(String evaluateWorkerAttributes)
-
setWorkerSid
public TaskQueueReader setWorkerSid(String workerSid)
-
setOrdering
public TaskQueueReader setOrdering(String ordering)
-
setPageSize
public TaskQueueReader setPageSize(Integer pageSize)
-
read
public ResourceSet<TaskQueue> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.
-
firstPage
public Page<TaskQueue> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.
-
previousPage
public Page<TaskQueue> previousPage(Page<TaskQueue> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<TaskQueue>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<TaskQueue> nextPage(Page<TaskQueue> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.
-
getPage
public Page<TaskQueue> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.
-
-