public class TaskQueuesStatisticsReader extends Reader<TaskQueuesStatistics>
| Constructor and Description |
|---|
TaskQueuesStatisticsReader(String pathWorkspaceSid)
Construct a new TaskQueuesStatisticsReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<TaskQueuesStatistics> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<TaskQueuesStatistics> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<TaskQueuesStatistics> |
nextPage(Page<TaskQueuesStatistics> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<TaskQueuesStatistics> |
previousPage(Page<TaskQueuesStatistics> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<TaskQueuesStatistics> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
TaskQueuesStatisticsReader |
setEndDate(org.joda.time.DateTime endDate)
The end_date.
|
TaskQueuesStatisticsReader |
setFriendlyName(String friendlyName)
The friendly_name.
|
TaskQueuesStatisticsReader |
setMinutes(Integer minutes)
The minutes.
|
TaskQueuesStatisticsReader |
setSplitByWaitTime(String splitByWaitTime)
The split_by_wait_time.
|
TaskQueuesStatisticsReader |
setStartDate(org.joda.time.DateTime startDate)
The start_date.
|
TaskQueuesStatisticsReader |
setTaskChannel(String taskChannel)
The task_channel.
|
public TaskQueuesStatisticsReader(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic TaskQueuesStatisticsReader setEndDate(org.joda.time.DateTime endDate)
endDate - The end_datepublic TaskQueuesStatisticsReader setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic TaskQueuesStatisticsReader setMinutes(Integer minutes)
minutes - The minutespublic TaskQueuesStatisticsReader setStartDate(org.joda.time.DateTime startDate)
startDate - The start_datepublic TaskQueuesStatisticsReader setTaskChannel(String taskChannel)
taskChannel - The task_channelpublic TaskQueuesStatisticsReader setSplitByWaitTime(String splitByWaitTime)
splitByWaitTime - The split_by_wait_timepublic ResourceSet<TaskQueuesStatistics> read(TwilioRestClient client)
read in class Reader<TaskQueuesStatistics>client - TwilioRestClient with which to make the requestpublic Page<TaskQueuesStatistics> firstPage(TwilioRestClient client)
firstPage in class Reader<TaskQueuesStatistics>client - TwilioRestClient with which to make the requestpublic Page<TaskQueuesStatistics> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<TaskQueuesStatistics>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<TaskQueuesStatistics> nextPage(Page<TaskQueuesStatistics> page, TwilioRestClient client)
nextPage in class Reader<TaskQueuesStatistics>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<TaskQueuesStatistics> previousPage(Page<TaskQueuesStatistics> page, TwilioRestClient client)
previousPage in class Reader<TaskQueuesStatistics>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.