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