public class ApplicationReader extends Reader<Application>
| Constructor and Description |
|---|
ApplicationReader()
Construct a new ApplicationReader.
|
ApplicationReader(String pathAccountSid)
Construct a new ApplicationReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Application> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Application> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Application> |
nextPage(Page<Application> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Application> |
previousPage(Page<Application> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Application> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
ApplicationReader |
setFriendlyName(String friendlyName)
Only return application resources with friendly names that match exactly with
this name.
|
public ApplicationReader()
public ApplicationReader(String pathAccountSid)
pathAccountSid - The account_sidpublic ApplicationReader setFriendlyName(String friendlyName)
friendlyName - Filter by friendly namepublic ResourceSet<Application> read(TwilioRestClient client)
read in class Reader<Application>client - TwilioRestClient with which to make the requestpublic Page<Application> firstPage(TwilioRestClient client)
firstPage in class Reader<Application>client - TwilioRestClient with which to make the requestpublic Page<Application> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<Application>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<Application> nextPage(Page<Application> page, TwilioRestClient client)
nextPage in class Reader<Application>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<Application> previousPage(Page<Application> page, TwilioRestClient client)
previousPage in class Reader<Application>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.