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