| Constructor and Description |
|---|
AlertReader() |
| Modifier and Type | Method and Description |
|---|---|
Page<Alert> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Alert> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Alert> |
nextPage(Page<Alert> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Alert> |
previousPage(Page<Alert> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Alert> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
AlertReader |
setEndDate(org.joda.time.LocalDate endDate)
The end_date.
|
AlertReader |
setLogLevel(String logLevel)
The log_level.
|
AlertReader |
setStartDate(org.joda.time.LocalDate startDate)
The start_date.
|
public AlertReader setLogLevel(String logLevel)
logLevel - The log_levelpublic AlertReader setStartDate(org.joda.time.LocalDate startDate)
startDate - The start_datepublic AlertReader setEndDate(org.joda.time.LocalDate endDate)
endDate - The end_datepublic ResourceSet<Alert> read(TwilioRestClient client)
public Page<Alert> firstPage(TwilioRestClient client)
public Page<Alert> getPage(String targetUrl, TwilioRestClient client)
public Page<Alert> nextPage(Page<Alert> page, TwilioRestClient client)
public Page<Alert> previousPage(Page<Alert> page, TwilioRestClient client)
previousPage in class Reader<Alert>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.