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