Constructor and Description |
---|
RoomReader() |
Modifier and Type | Method and Description |
---|---|
Page<Room> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Room> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Room> |
nextPage(Page<Room> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Room> |
previousPage(Page<Room> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Room> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
RoomReader |
setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
The date_created_after.
|
RoomReader |
setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
The date_created_before.
|
RoomReader |
setStatus(Room.RoomStatus status)
The status.
|
RoomReader |
setUniqueName(String uniqueName)
The unique_name.
|
public RoomReader setStatus(Room.RoomStatus status)
status
- The statuspublic RoomReader setUniqueName(String uniqueName)
uniqueName
- The unique_namepublic RoomReader setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
dateCreatedAfter
- The date_created_afterpublic RoomReader setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
dateCreatedBefore
- The date_created_beforepublic ResourceSet<Room> read(TwilioRestClient client)
public Page<Room> firstPage(TwilioRestClient client)
public Page<Room> getPage(String targetUrl, TwilioRestClient client)
public Page<Room> nextPage(Page<Room> page, TwilioRestClient client)
public Page<Room> previousPage(Page<Room> page, TwilioRestClient client)
previousPage
in class Reader<Room>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.