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)
The string that identifies the Application resources to read..
|
public ApplicationReader()
public ApplicationReader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resources to
readpublic ApplicationReader setFriendlyName(String friendlyName)
friendlyName
- The string that identifies the Application resources to
readpublic 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 © 2019 Twilio, Inc. All Rights Reserved.