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