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