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