| 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)
Only show recordings made during the call given by the indicated sid.
|
RecordingReader |
setDateCreated(org.joda.time.DateTime absoluteDateCreated)
Only show recordings on the given date.
|
RecordingReader |
setDateCreated(com.google.common.collect.Range<org.joda.time.DateTime> rangeDateCreated)
Only show recordings on the given date.
|
public RecordingReader()
public RecordingReader(String pathAccountSid)
pathAccountSid - The account_sidpublic RecordingReader setDateCreated(org.joda.time.DateTime absoluteDateCreated)
absoluteDateCreated - Filter by date createdpublic RecordingReader setDateCreated(com.google.common.collect.Range<org.joda.time.DateTime> rangeDateCreated)
rangeDateCreated - Filter by date createdpublic RecordingReader setCallSid(String callSid)
callSid - Filter by call_sidpublic 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 © 2016 Twilio, Inc. All Rights Reserved.