public class CompositionReader extends Reader<Composition>
Constructor and Description |
---|
CompositionReader() |
Modifier and Type | Method and Description |
---|---|
Page<Composition> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Composition> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Composition> |
nextPage(Page<Composition> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Composition> |
previousPage(Page<Composition> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Composition> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
CompositionReader |
setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
Read only Composition resources created on or after this ISO 8601 date-time with
time zone..
|
CompositionReader |
setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
Read only Composition resources created before this ISO 8601 date-time with
time zone..
|
CompositionReader |
setRoomSid(String roomSid)
Read only Composition resources with this Room SID..
|
CompositionReader |
setStatus(Composition.Status status)
Read only Composition resources with this status.
|
public CompositionReader setStatus(Composition.Status status)
status
- Read only Composition resources with this statuspublic CompositionReader setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
dateCreatedAfter
- Read only Composition resources created on or after
this [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601)
date-time with time zonepublic CompositionReader setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
dateCreatedBefore
- Read only Composition resources created before this
ISO 8601 date-time with time zonepublic CompositionReader setRoomSid(String roomSid)
roomSid
- Read only Composition resources with this Room SIDpublic ResourceSet<Composition> read(TwilioRestClient client)
read
in class Reader<Composition>
client
- TwilioRestClient with which to make the requestpublic Page<Composition> firstPage(TwilioRestClient client)
firstPage
in class Reader<Composition>
client
- TwilioRestClient with which to make the requestpublic Page<Composition> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<Composition>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<Composition> nextPage(Page<Composition> page, TwilioRestClient client)
nextPage
in class Reader<Composition>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<Composition> previousPage(Page<Composition> page, TwilioRestClient client)
previousPage
in class Reader<Composition>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.