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