public class ExportCustomJobReader extends Reader<ExportCustomJob>
Constructor and Description |
---|
ExportCustomJobReader(String pathResourceType)
Construct a new ExportCustomJobReader.
|
Modifier and Type | Method and Description |
---|---|
Page<ExportCustomJob> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<ExportCustomJob> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<ExportCustomJob> |
nextPage(Page<ExportCustomJob> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<ExportCustomJob> |
previousPage(Page<ExportCustomJob> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<ExportCustomJob> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ExportCustomJobReader(String pathResourceType)
pathResourceType
- The type of communication – Messages, Calls,
Conferences, and Participantspublic ResourceSet<ExportCustomJob> read(TwilioRestClient client)
read
in class Reader<ExportCustomJob>
client
- TwilioRestClient with which to make the requestpublic Page<ExportCustomJob> firstPage(TwilioRestClient client)
firstPage
in class Reader<ExportCustomJob>
client
- TwilioRestClient with which to make the requestpublic Page<ExportCustomJob> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<ExportCustomJob>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<ExportCustomJob> nextPage(Page<ExportCustomJob> page, TwilioRestClient client)
nextPage
in class Reader<ExportCustomJob>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<ExportCustomJob> previousPage(Page<ExportCustomJob> page, TwilioRestClient client)
previousPage
in class Reader<ExportCustomJob>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.