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