Package com.twilio.rest.video.v1.room
Class RoomRecordingReader
- java.lang.Object
-
- com.twilio.base.Reader<RoomRecording>
-
- com.twilio.rest.video.v1.room.RoomRecordingReader
-
public class RoomRecordingReader extends Reader<RoomRecording>
-
-
Constructor Summary
Constructors Constructor Description RoomRecordingReader(String pathRoomSid)
-
Method Summary
-
-
-
Constructor Detail
-
RoomRecordingReader
public RoomRecordingReader(String pathRoomSid)
-
-
Method Detail
-
setStatus
public RoomRecordingReader setStatus(RoomRecording.Status status)
-
setSourceSid
public RoomRecordingReader setSourceSid(String sourceSid)
-
setDateCreatedAfter
public RoomRecordingReader setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
-
setDateCreatedBefore
public RoomRecordingReader setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
-
setPageSize
public RoomRecordingReader setPageSize(Integer pageSize)
-
read
public ResourceSet<RoomRecording> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.- Specified by:
readin classReader<RoomRecording>- Parameters:
client- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<RoomRecording> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.- Specified by:
firstPagein classReader<RoomRecording>- Parameters:
client- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<RoomRecording> previousPage(Page<RoomRecording> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<RoomRecording>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<RoomRecording> nextPage(Page<RoomRecording> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.- Specified by:
nextPagein classReader<RoomRecording>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<RoomRecording> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.- Specified by:
getPagein classReader<RoomRecording>- Parameters:
targetUrl- API-generated URL for the requested results pageclient- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-