public class AssignedAddOnExtensionReader extends Reader<AssignedAddOnExtension>
Constructor and Description |
---|
AssignedAddOnExtensionReader(String pathResourceSid,
String pathAssignedAddOnSid)
Construct a new AssignedAddOnExtensionReader.
|
AssignedAddOnExtensionReader(String pathAccountSid,
String pathResourceSid,
String pathAssignedAddOnSid)
Construct a new AssignedAddOnExtensionReader.
|
Modifier and Type | Method and Description |
---|---|
Page<AssignedAddOnExtension> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<AssignedAddOnExtension> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<AssignedAddOnExtension> |
nextPage(Page<AssignedAddOnExtension> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<AssignedAddOnExtension> |
previousPage(Page<AssignedAddOnExtension> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<AssignedAddOnExtension> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public AssignedAddOnExtensionReader(String pathResourceSid, String pathAssignedAddOnSid)
pathResourceSid
- The SID of the Phone Number to which the Add-on is
assignedpathAssignedAddOnSid
- The SID that uniquely identifies the assigned
Add-on installationpublic AssignedAddOnExtensionReader(String pathAccountSid, String pathResourceSid, String pathAssignedAddOnSid)
pathAccountSid
- The SID of the Account that created the resources to
readpathResourceSid
- The SID of the Phone Number to which the Add-on is
assignedpathAssignedAddOnSid
- The SID that uniquely identifies the assigned
Add-on installationpublic ResourceSet<AssignedAddOnExtension> read(TwilioRestClient client)
read
in class Reader<AssignedAddOnExtension>
client
- TwilioRestClient with which to make the requestpublic Page<AssignedAddOnExtension> firstPage(TwilioRestClient client)
firstPage
in class Reader<AssignedAddOnExtension>
client
- TwilioRestClient with which to make the requestpublic Page<AssignedAddOnExtension> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<AssignedAddOnExtension>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<AssignedAddOnExtension> nextPage(Page<AssignedAddOnExtension> page, TwilioRestClient client)
nextPage
in class Reader<AssignedAddOnExtension>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<AssignedAddOnExtension> previousPage(Page<AssignedAddOnExtension> page, TwilioRestClient client)
previousPage
in class Reader<AssignedAddOnExtension>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.