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