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