Constructor and Description |
---|
RecordingReader()
Construct a new RecordingReader.
|
RecordingReader(String pathAccountSid)
Construct a new RecordingReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Recording> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Recording> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Recording> |
nextPage(Page<Recording> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Recording> |
previousPage(Page<Recording> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Recording> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
RecordingReader |
setCallSid(String callSid)
The Call
SID of the resources to read..
|
RecordingReader |
setConferenceSid(String conferenceSid)
The Conference SID that identifies the conference associated with the
recording to read..
|
RecordingReader |
setDateCreated(ZonedDateTime dateCreated)
Only include recordings that were created on this date.
|
RecordingReader |
setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
Only include recordings that were created on this date.
|
RecordingReader |
setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
Only include recordings that were created on this date.
|
public RecordingReader()
public RecordingReader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resources to
readpublic RecordingReader setDateCreated(ZonedDateTime dateCreated)
dateCreated
- Only include recordings that were created on this datepublic RecordingReader setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
dateCreatedBefore
- Only include recordings that were created on this
datepublic RecordingReader setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
dateCreatedAfter
- Only include recordings that were created on this
datepublic RecordingReader setCallSid(String callSid)
callSid
- The Call SID of the resources to readpublic RecordingReader setConferenceSid(String conferenceSid)
conferenceSid
- Read by unique Conference SID for the recordingpublic ResourceSet<Recording> read(TwilioRestClient client)
public Page<Recording> firstPage(TwilioRestClient client)
public Page<Recording> getPage(String targetUrl, TwilioRestClient client)
public Page<Recording> nextPage(Page<Recording> page, TwilioRestClient client)
public Page<Recording> previousPage(Page<Recording> page, TwilioRestClient client)
previousPage
in class Reader<Recording>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.