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