| Constructor and Description |
|---|
EventReader() |
| Modifier and Type | Method and Description |
|---|---|
Page<Event> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Event> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Event> |
nextPage(Page<Event> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Event> |
previousPage(Page<Event> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Event> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
EventReader |
setActorSid(String actorSid)
The actor_sid.
|
EventReader |
setEndDate(org.joda.time.LocalDate endDate)
The end_date.
|
EventReader |
setEventType(String eventType)
The event_type.
|
EventReader |
setResourceSid(String resourceSid)
The resource_sid.
|
EventReader |
setSourceIpAddress(String sourceIpAddress)
The source_ip_address.
|
EventReader |
setStartDate(org.joda.time.LocalDate startDate)
The start_date.
|
public EventReader setActorSid(String actorSid)
actorSid - The actor_sidpublic EventReader setEventType(String eventType)
eventType - The event_typepublic EventReader setResourceSid(String resourceSid)
resourceSid - The resource_sidpublic EventReader setSourceIpAddress(String sourceIpAddress)
sourceIpAddress - The source_ip_addresspublic EventReader setStartDate(org.joda.time.LocalDate startDate)
startDate - The start_datepublic EventReader setEndDate(org.joda.time.LocalDate endDate)
endDate - The end_datepublic ResourceSet<Event> read(TwilioRestClient client)
public Page<Event> firstPage(TwilioRestClient client)
public Page<Event> getPage(String targetUrl, TwilioRestClient client)
public Page<Event> nextPage(Page<Event> page, TwilioRestClient client)
public Page<Event> previousPage(Page<Event> page, TwilioRestClient client)
previousPage in class Reader<Event>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.