| Constructor and Description |
|---|
ChannelReader(String pathServiceSid)
Construct a new 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.
|
ChannelReader |
setType(Channel.ChannelType type)
The type.
|
ChannelReader |
setType(List<Channel.ChannelType> type)
The type.
|
public ChannelReader(String pathServiceSid)
pathServiceSid - The service_sidpublic ChannelReader setType(List<Channel.ChannelType> type)
type - The typepublic ChannelReader setType(Channel.ChannelType type)
type - The typepublic 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 © 2016 Twilio, Inc. All Rights Reserved.