Constructor and Description |
---|
FlowReader() |
Modifier and Type | Method and Description |
---|---|
Page<Flow> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Flow> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Flow> |
nextPage(Page<Flow> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Flow> |
previousPage(Page<Flow> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Flow> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<Flow> read(TwilioRestClient client)
public Page<Flow> firstPage(TwilioRestClient client)
public Page<Flow> getPage(String targetUrl, TwilioRestClient client)
public Page<Flow> nextPage(Page<Flow> page, TwilioRestClient client)
public Page<Flow> previousPage(Page<Flow> page, TwilioRestClient client)
previousPage
in class Reader<Flow>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.