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> |
nextPage(Page<TaskQueuesStatistics> page,
TwilioRestClient client)
Retrieve the next 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 |
setStartDate(org.joda.time.DateTime startDate)
The start_date.
|
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 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> nextPage(Page<TaskQueuesStatistics> page, TwilioRestClient client)
nextPage
in class Reader<TaskQueuesStatistics>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.