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