public class NotificationReader extends Reader<Notification>
Constructor and Description |
---|
NotificationReader(String accountSid,
String callSid)
Construct a new NotificationReader.
|
Modifier and Type | Method and Description |
---|---|
NotificationReader |
byLog(Integer log)
The log.
|
NotificationReader |
byMessageDate(String messageDate)
The message_date.
|
ResourceSet<Notification> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Notification> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Notification> |
nextPage(Page<Notification> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public NotificationReader byLog(Integer log)
log
- The logpublic NotificationReader byMessageDate(String messageDate)
messageDate
- The message_datepublic ResourceSet<Notification> execute(TwilioRestClient client)
execute
in class Reader<Notification>
client
- TwilioRestClient with which to make the requestpublic Page<Notification> firstPage(TwilioRestClient client)
firstPage
in class Reader<Notification>
client
- TwilioRestClient with which to make the requestpublic Page<Notification> nextPage(Page<Notification> page, TwilioRestClient client)
nextPage
in class Reader<Notification>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.