public class SupportingDocumentTypeReader extends Reader<SupportingDocumentType>
Constructor and Description |
---|
SupportingDocumentTypeReader() |
Modifier and Type | Method and Description |
---|---|
Page<SupportingDocumentType> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<SupportingDocumentType> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<SupportingDocumentType> |
nextPage(Page<SupportingDocumentType> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<SupportingDocumentType> |
previousPage(Page<SupportingDocumentType> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<SupportingDocumentType> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<SupportingDocumentType> read(TwilioRestClient client)
read
in class Reader<SupportingDocumentType>
client
- TwilioRestClient with which to make the requestpublic Page<SupportingDocumentType> firstPage(TwilioRestClient client)
firstPage
in class Reader<SupportingDocumentType>
client
- TwilioRestClient with which to make the requestpublic Page<SupportingDocumentType> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<SupportingDocumentType>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<SupportingDocumentType> nextPage(Page<SupportingDocumentType> page, TwilioRestClient client)
nextPage
in class Reader<SupportingDocumentType>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<SupportingDocumentType> previousPage(Page<SupportingDocumentType> page, TwilioRestClient client)
previousPage
in class Reader<SupportingDocumentType>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.