| Constructor and Description |
|---|
DailyReader()
Construct a new DailyReader.
|
DailyReader(String pathAccountSid)
Construct a new DailyReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Daily> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Daily> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Daily> |
nextPage(Page<Daily> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Daily> |
previousPage(Page<Daily> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Daily> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
DailyReader |
setCategory(Daily.Category category)
The category.
|
DailyReader |
setEndDate(org.joda.time.LocalDate endDate)
The end_date.
|
DailyReader |
setStartDate(org.joda.time.LocalDate startDate)
The start_date.
|
public DailyReader()
public DailyReader(String pathAccountSid)
pathAccountSid - The account_sidpublic DailyReader setCategory(Daily.Category category)
category - The categorypublic DailyReader setStartDate(org.joda.time.LocalDate startDate)
startDate - The start_datepublic DailyReader setEndDate(org.joda.time.LocalDate endDate)
endDate - The end_datepublic ResourceSet<Daily> read(TwilioRestClient client)
public Page<Daily> firstPage(TwilioRestClient client)
public Page<Daily> getPage(String targetUrl, TwilioRestClient client)
public Page<Daily> nextPage(Page<Daily> page, TwilioRestClient client)
public Page<Daily> previousPage(Page<Daily> page, TwilioRestClient client)
previousPage in class Reader<Daily>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.