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