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