Constructor and Description |
---|
ChannelReader() |
Modifier and Type | Method and Description |
---|---|
Page<Channel> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Channel> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Channel> |
nextPage(Page<Channel> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Channel> |
previousPage(Page<Channel> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Channel> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<Channel> read(TwilioRestClient client)
public Page<Channel> firstPage(TwilioRestClient client)
public Page<Channel> getPage(String targetUrl, TwilioRestClient client)
public Page<Channel> nextPage(Page<Channel> page, TwilioRestClient client)
public Page<Channel> previousPage(Page<Channel> page, TwilioRestClient client)
previousPage
in class Reader<Channel>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.