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> |
nextPage(Page<Channel> page,
TwilioRestClient client)
Retrieve the next 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)
Copyright © 2016 Twilio, Inc. All Rights Reserved.