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