Constructor and Description |
---|
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 |
setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
Read only recordings that started on or after this [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone..
|
RecordingReader |
setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
Read only recordings that started before this [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone, given
as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or `YYYY-MM-DDThh:mm:ssZ`..
|
RecordingReader |
setGroupingSid(List<String> groupingSid)
Read only recordings with this `grouping_sid`, which may include a
`participant_sid` and/or a `room_sid`..
|
RecordingReader |
setGroupingSid(String groupingSid)
Read only recordings with this `grouping_sid`, which may include a
`participant_sid` and/or a `room_sid`..
|
RecordingReader |
setMediaType(Recording.Type mediaType)
Read only recordings that have this media type.
|
RecordingReader |
setSourceSid(String sourceSid)
Read only the recordings that have this `source_sid`..
|
RecordingReader |
setStatus(Recording.Status status)
Read only the recordings that have this status.
|
public RecordingReader setStatus(Recording.Status status)
status
- Read only the recordings that have this statuspublic RecordingReader setSourceSid(String sourceSid)
sourceSid
- Read only the recordings that have this source_sidpublic RecordingReader setGroupingSid(List<String> groupingSid)
groupingSid
- Read only recordings that have this grouping_sidpublic RecordingReader setGroupingSid(String groupingSid)
groupingSid
- Read only recordings that have this grouping_sidpublic RecordingReader setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
dateCreatedAfter
- Read only recordings that started on or after this
[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
date-time with time zonepublic RecordingReader setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
dateCreatedBefore
- Read only recordings that started before this [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601)
date-time with time zonepublic RecordingReader setMediaType(Recording.Type mediaType)
mediaType
- Read only recordings that have this media typepublic 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.