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