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> |
nextPage(Page<Application> page,
TwilioRestClient client)
Retrieve the next 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> nextPage(Page<Application> page, TwilioRestClient client)
nextPage
in class Reader<Application>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.