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