public class TaskQueuesStatisticsReader extends Reader<TaskQueuesStatistics>
Constructor and Description |
---|
TaskQueuesStatisticsReader(String workspaceSid)
Construct a new TaskQueuesStatisticsReader.
|
Modifier and Type | Method and Description |
---|---|
TaskQueuesStatisticsReader |
byEndDate(org.joda.time.DateTime endDate)
The end_date.
|
TaskQueuesStatisticsReader |
byFriendlyName(String friendlyName)
The friendly_name.
|
TaskQueuesStatisticsReader |
byMinutes(Integer minutes)
The minutes.
|
TaskQueuesStatisticsReader |
byStartDate(org.joda.time.DateTime startDate)
The start_date.
|
ResourceSet<TaskQueuesStatistics> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
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.
|
public TaskQueuesStatisticsReader(String workspaceSid)
workspaceSid
- The workspace_sidpublic TaskQueuesStatisticsReader byEndDate(org.joda.time.DateTime endDate)
endDate
- The end_datepublic TaskQueuesStatisticsReader byFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic TaskQueuesStatisticsReader byMinutes(Integer minutes)
minutes
- The minutespublic TaskQueuesStatisticsReader byStartDate(org.joda.time.DateTime startDate)
startDate
- The start_datepublic ResourceSet<TaskQueuesStatistics> execute(TwilioRestClient client)
execute
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 © 2011 Twilio, Inc. All Rights Reserved.