Package com.twilio.rest.video.v1
Class RoomReader
- java.lang.Object
-
- com.twilio.base.Reader<Room>
-
- com.twilio.rest.video.v1.RoomReader
-
-
Constructor Summary
Constructors Constructor Description RoomReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Room>firstPage(TwilioRestClient client)Fetch the first page of resources using specified client.Page<Room>getPage(String targetUrl, TwilioRestClient client)Retrieve the target page of resources.Page<Room>nextPage(Page<Room> page, TwilioRestClient client)Fetch the following page of resources using specified client.Page<Room>previousPage(Page<Room> page, TwilioRestClient client)Fetch the prior page of resources using specified client.ResourceSet<Room>read(TwilioRestClient client)Execute a request using specified client.RoomReadersetDateCreatedAfter(ZonedDateTime dateCreatedAfter)RoomReadersetDateCreatedBefore(ZonedDateTime dateCreatedBefore)RoomReadersetPageSize(Integer pageSize)RoomReadersetStatus(Room.RoomStatus status)RoomReadersetUniqueName(String uniqueName)
-
-
-
Method Detail
-
setStatus
public RoomReader setStatus(Room.RoomStatus status)
-
setUniqueName
public RoomReader setUniqueName(String uniqueName)
-
setDateCreatedAfter
public RoomReader setDateCreatedAfter(ZonedDateTime dateCreatedAfter)
-
setDateCreatedBefore
public RoomReader setDateCreatedBefore(ZonedDateTime dateCreatedBefore)
-
setPageSize
public RoomReader setPageSize(Integer pageSize)
-
read
public ResourceSet<Room> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.
-
firstPage
public Page<Room> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.
-
previousPage
public Page<Room> previousPage(Page<Room> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<Room>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<Room> nextPage(Page<Room> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.
-
getPage
public Page<Room> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.
-
-