Class ApiRoomsRS
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiRoomsRS
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiRoomsRS
extends Object
Response of Rooms operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoomsItem(ApiRoom roomsItem) auditData(ApiAuditData auditData) booleanerror(ApiHotelbedsError error) @Valid ApiAuditDataGet auditData@Valid ApiHotelbedsErrorgetError()Get errorgetFrom()Lowest value of the range of returned rooms.getRooms()List of rooms.getTo()Highest value of the range of returned rooms.getTotal()Total number of rooms matching the parameters used in the request (regardless of pagination/returned range).inthashCode()voidsetAuditData(ApiAuditData auditData) voidsetError(ApiHotelbedsError error) voidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_AUDIT_DATA
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
ApiRoomsRS
public ApiRoomsRS()
-
-
Method Details
-
auditData
-
getAuditData
Get auditData- Returns:
- auditData
-
setAuditData
-
error
-
getError
Get error- Returns:
- error
-
setError
-
from
-
getFrom
Lowest value of the range of returned rooms.- Returns:
- from
-
setFrom
-
rooms
-
addRoomsItem
-
getRooms
List of rooms.- Returns:
- rooms
-
setRooms
-
to
-
getTo
Highest value of the range of returned rooms.- Returns:
- to
-
setTo
-
total
-
getTotal
Total number of rooms matching the parameters used in the request (regardless of pagination/returned range).- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-