Constructor and Description |
---|
RecordingReader(String pathCallSid)
Construct a new RecordingReader.
|
RecordingReader(String pathAccountSid,
String pathCallSid)
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 |
setDateCreated(LocalDate dateCreated)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
RecordingReader |
setDateCreatedAfter(LocalDate dateCreatedAfter)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
RecordingReader |
setDateCreatedBefore(LocalDate dateCreatedBefore)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
public RecordingReader(String pathCallSid)
pathCallSid
- The Call SID of the resources to readpublic RecordingReader setDateCreated(LocalDate dateCreated)
dateCreated
- The `YYYY-MM-DD` value of the resources to readpublic RecordingReader setDateCreatedBefore(LocalDate dateCreatedBefore)
dateCreatedBefore
- The `YYYY-MM-DD` value of the resources to readpublic RecordingReader setDateCreatedAfter(LocalDate dateCreatedAfter)
dateCreatedAfter
- The `YYYY-MM-DD` value of the resources to readpublic 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.