public class DayReader extends Reader<Day>
Constructor and Description |
---|
DayReader(String pathResourceType)
Construct a new DayReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Day> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Day> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Day> |
nextPage(Page<Day> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Day> |
previousPage(Page<Day> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Day> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public DayReader(String pathResourceType)
pathResourceType
- The type of communication – Messages, Calls,
Conferences, and Participantspublic ResourceSet<Day> read(TwilioRestClient client)
public Page<Day> firstPage(TwilioRestClient client)
public Page<Day> getPage(String targetUrl, TwilioRestClient client)
public Page<Day> nextPage(Page<Day> page, TwilioRestClient client)
public Page<Day> previousPage(Page<Day> page, TwilioRestClient client)
previousPage
in class Reader<Day>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.