public class UsAppToPersonReader extends Reader<UsAppToPerson>
Constructor and Description |
---|
UsAppToPersonReader(String pathMessagingServiceSid)
Construct a new UsAppToPersonReader.
|
Modifier and Type | Method and Description |
---|---|
Page<UsAppToPerson> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<UsAppToPerson> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<UsAppToPerson> |
nextPage(Page<UsAppToPerson> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<UsAppToPerson> |
previousPage(Page<UsAppToPerson> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<UsAppToPerson> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public UsAppToPersonReader(String pathMessagingServiceSid)
pathMessagingServiceSid
- The SID of the Messaging Service to fetch the
resource frompublic ResourceSet<UsAppToPerson> read(TwilioRestClient client)
read
in class Reader<UsAppToPerson>
client
- TwilioRestClient with which to make the requestpublic Page<UsAppToPerson> firstPage(TwilioRestClient client)
firstPage
in class Reader<UsAppToPerson>
client
- TwilioRestClient with which to make the requestpublic Page<UsAppToPerson> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<UsAppToPerson>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<UsAppToPerson> nextPage(Page<UsAppToPerson> page, TwilioRestClient client)
nextPage
in class Reader<UsAppToPerson>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<UsAppToPerson> previousPage(Page<UsAppToPerson> page, TwilioRestClient client)
previousPage
in class Reader<UsAppToPerson>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.