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> |
nextPage(Page<UserChannel> page,
TwilioRestClient client)
Retrieve the next 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> nextPage(Page<UserChannel> page, TwilioRestClient client)
nextPage
in class Reader<UserChannel>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.