public class UserChannelReader extends Reader<UserChannel>
| Constructor and Description |
|---|
UserChannelReader(String pathServiceSid,
String pathUserSid)
Construct a new UserChannelReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<UserChannel> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<UserChannel> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<UserChannel> |
nextPage(Page<UserChannel> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<UserChannel> |
previousPage(Page<UserChannel> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<UserChannel> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<UserChannel> read(TwilioRestClient client)
read in class Reader<UserChannel>client - TwilioRestClient with which to make the requestpublic Page<UserChannel> firstPage(TwilioRestClient client)
firstPage in class Reader<UserChannel>client - TwilioRestClient with which to make the requestpublic Page<UserChannel> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<UserChannel>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<UserChannel> nextPage(Page<UserChannel> page, TwilioRestClient client)
nextPage in class Reader<UserChannel>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<UserChannel> previousPage(Page<UserChannel> page, TwilioRestClient client)
previousPage in class Reader<UserChannel>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.