Class GuestRoomLightweightBooker
java.lang.Object
travel.wink.sdk.booking.model.GuestRoomLightweightBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class GuestRoomLightweightBooker
extends Object
GuestRoomLightweightBooker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate the type of lifestyle this blocking should be associated with.static enumLevel of expensiveness.static enumUsed to request or specify a gender assignment for a room. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAmenitiesItem(String amenitiesItem) addBedroomConfigurationListItem(BedroomConfigurationBooker bedroomConfigurationListItem) addDescriptionsItem(SimpleDescriptionBooker descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addMultimediasItem(SimpleMultimediaBooker multimediasItem) addRecognitionListItem(TravelInventoryRecognitionBooker recognitionListItem) address(SimpleAddressBooker address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(SocialBooker socialsItem) bathroomCount(Integer bathroomCount) bedroomConfigurationList(List<@Valid BedroomConfigurationBooker> bedroomConfigurationList) commissionable(Boolean commissionable) compositeCount(Integer compositeCount) contact(ContactBooker contact) descriptions(List<@Valid SimpleDescriptionBooker> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify blocking availability with this flag.@NotNull @Valid SimpleAddressBookerDefaults to property address.Get amenities@NotNull @Min(0L) IntegerNumber of bathrooms minimum: 0@NotNull @Valid @Size(min=1) List<@Valid BedroomConfigurationBooker> Get bedroomConfigurationList@NotNull BooleanIndicates if this blocking can be added to a booking or if it is read-only marketing material only.@NotNull BooleanIndicate whether sales channels receive commission for selling this blocking.@NotNull BooleanIndicates that the room (suite) is a composite of smaller units.@NotNull @Min(0L) IntegerNumber of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types.@NotNull @Valid ContactBookerAssociate a contact person for this blocking (if applicable).@NotNull @Valid @Size(min=1) List<@Valid SimpleDescriptionBooker> Get descriptionsGet disabilityFeatures@NotNull BooleanIndicates whether this inventory is featured.getFloor()Floor an which a room is located@NotNull @Valid @Size(min=1) UUIDHotel identifier.@NotNull @Valid @Size(min=1) UUIDUnique record identifier@NotNull @Min(0L) IntegerThe number of pax the room price was meant for minimum: 0@NotNull @Min(0L) IntegerThe number of children the room price was meant for minimum: 0Indicate the type of lifestyle this blocking should be associated with.@NotNull @Min(0L) IntegerNumber of living rooms minimum: 0@NotNull @Valid GeoJsonPointBookerGeo-location point where blocking takes place.@NotNull @Min(1L) IntegerMaximum number of adults allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of children allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of cribs allowed in a room type.@NotNull @Min(1L) IntegerMaximum number of guest allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of rollaway beds allowed in this room type.Supported OTA specification `AQC` code.@NotNull @Min(1L) IntegerMinimum number of guests allowed in a room type.@NotNull @Valid @Size(min=1) List<@Valid SimpleMultimediaBooker> Get multimedias@NotNull @Size(min=1) StringgetName()Internal name of blocking.@NotNull BooleanNon-smoking indicatorLevel of expensiveness.@NotNull StringSupported OTA specification `PRX` code.@NotNull @Min(1L) IntegerDefines the number of rooms of this type minimum: 1@Valid List<@Valid TravelInventoryRecognitionBooker> Get recognitionList@NotNull @Size(min=1) StringSpecifies the architectural style of a room.@NotNull @Size(min=1) StringIndicates the category of the room.@NotNull @Size(min=1) StringSpecifies the room classification (e.g., cabin, apartment).Used to request or specify a gender assignment for a room.@NotNull @Size(min=1) StringIndicates the location of the room within the hotel structure.@NotNull @Size(min=1) StringIndicates the view of the room.Get securityFeatures@NotNull BooleanIf TRUE, the room requires or has sharing available.@NotNull @DecimalMin("1") FloatgetSize()Number of square meters that defines the size of this room type.@Valid List<@Valid SocialBooker> Get socialsgetSort()Use this property to sort an blocking in a list of activities.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) includedAdultOccupancy(Integer includedAdultOccupancy) includedChildOccupancy(Integer includedChildOccupancy) lifestyleType(GuestRoomLightweightBooker.LifestyleTypeEnum lifestyleType) livingRoomCount(Integer livingRoomCount) location(GeoJsonPointBooker location) maxAdultOccupancy(Integer maxAdultOccupancy) maxChildOccupancy(Integer maxChildOccupancy) maxOccupancy(Integer maxOccupancy) maxRollaways(Integer maxRollaways) minAgeAppropriateCode(String minAgeAppropriateCode) minOccupancy(Integer minOccupancy) multimedias(List<@Valid SimpleMultimediaBooker> multimedias) nonSmoking(Boolean nonSmoking) pricePoint(GuestRoomLightweightBooker.PricePointEnum pricePoint) proximityCode(String proximityCode) recognitionList(List<@Valid TravelInventoryRecognitionBooker> recognitionList) roomArchitectureCode(String roomArchitectureCode) roomCategory(String roomCategory) roomClassificationCode(String roomClassificationCode) roomGender(GuestRoomLightweightBooker.RoomGenderEnum roomGender) roomLocationCode(String roomLocationCode) roomViewCode(String roomViewCode) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(SimpleAddressBooker address) voidsetAmenities(List<String> amenities) voidsetBathroomCount(Integer bathroomCount) voidsetBedroomConfigurationList(List<@Valid BedroomConfigurationBooker> bedroomConfigurationList) voidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetComposite(Boolean composite) voidsetCompositeCount(Integer compositeCount) voidsetContact(ContactBooker contact) voidsetDescriptions(List<@Valid SimpleDescriptionBooker> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidvoidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetIncludedAdultOccupancy(Integer includedAdultOccupancy) voidsetIncludedChildOccupancy(Integer includedChildOccupancy) voidsetLifestyleType(GuestRoomLightweightBooker.LifestyleTypeEnum lifestyleType) voidsetLivingRoomCount(Integer livingRoomCount) voidsetLocation(GeoJsonPointBooker location) voidsetMaxAdultOccupancy(Integer maxAdultOccupancy) voidsetMaxChildOccupancy(Integer maxChildOccupancy) voidsetMaxCribs(Integer maxCribs) voidsetMaxOccupancy(Integer maxOccupancy) voidsetMaxRollaways(Integer maxRollaways) voidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMinOccupancy(Integer minOccupancy) voidsetMultimedias(List<@Valid SimpleMultimediaBooker> multimedias) voidvoidsetNonSmoking(Boolean nonSmoking) voidvoidsetProximityCode(String proximityCode) voidsetQuantity(Integer quantity) voidsetRecognitionList(List<@Valid TravelInventoryRecognitionBooker> recognitionList) voidsetRoomArchitectureCode(String roomArchitectureCode) voidsetRoomCategory(String roomCategory) voidsetRoomClassificationCode(String roomClassificationCode) voidvoidsetRoomLocationCode(String roomLocationCode) voidsetRoomViewCode(String roomViewCode) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSharedRoomInd(Boolean sharedRoomInd) voidvoidsetSocials(List<@Valid SocialBooker> socials) voidsharedRoomInd(Boolean sharedRoomInd) socials(List<@Valid SocialBooker> socials) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_FEATURED_IND
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPE
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROXIMITY_CODE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_DISABILITY_FEATURES
- See Also:
-
JSON_PROPERTY_SECURITY_FEATURES
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_PRICE_POINT
- See Also:
-
JSON_PROPERTY_RECOGNITION_LIST
- See Also:
-
JSON_PROPERTY_MAX_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MIN_OCCUPANCY
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_NON_SMOKING
- See Also:
-
JSON_PROPERTY_BEDROOM_CONFIGURATION_LIST
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_MAX_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_CHILD_OCCUPANCY
- See Also:
-
JSON_PROPERTY_BATHROOM_COUNT
- See Also:
-
JSON_PROPERTY_LIVING_ROOM_COUNT
- See Also:
-
JSON_PROPERTY_MAX_ROLLAWAYS
- See Also:
-
JSON_PROPERTY_ROOM_CATEGORY
- See Also:
-
JSON_PROPERTY_FLOOR
- See Also:
-
JSON_PROPERTY_ROOM_LOCATION_CODE
- See Also:
-
JSON_PROPERTY_ROOM_VIEW_CODE
- See Also:
-
JSON_PROPERTY_COMPOSITE
- See Also:
-
JSON_PROPERTY_COMPOSITE_COUNT
- See Also:
-
JSON_PROPERTY_ROOM_CLASSIFICATION_CODE
- See Also:
-
JSON_PROPERTY_ROOM_ARCHITECTURE_CODE
- See Also:
-
JSON_PROPERTY_ROOM_GENDER
- See Also:
-
JSON_PROPERTY_SHARED_ROOM_IND
- See Also:
-
JSON_PROPERTY_MAX_CRIBS
- See Also:
-
JSON_PROPERTY_AMENITIES
- See Also:
-
JSON_PROPERTY_INCLUDED_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_INCLUDED_CHILD_OCCUPANCY
- See Also:
-
-
Constructor Details
-
GuestRoomLightweightBooker
public GuestRoomLightweightBooker()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
featuredInd
-
getFeaturedInd
Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.- Returns:
- featuredInd
-
setFeaturedInd
-
lifestyleType
public GuestRoomLightweightBooker lifestyleType(@Nullable GuestRoomLightweightBooker.LifestyleTypeEnum lifestyleType) -
getLifestyleType
Indicate the type of lifestyle this blocking should be associated with.- Returns:
- lifestyleType
-
setLifestyleType
-
location
-
getLocation
Geo-location point where blocking takes place. Defaults to location of property.- Returns:
- location
-
setLocation
-
descriptions
public GuestRoomLightweightBooker descriptions(@Nonnull List<@Valid SimpleDescriptionBooker> descriptions) -
addDescriptionsItem
-
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid SimpleDescriptionBooker> getDescriptions()Get descriptions- Returns:
- descriptions
-
setDescriptions
-
multimedias
public GuestRoomLightweightBooker multimedias(@Nonnull List<@Valid SimpleMultimediaBooker> multimedias) -
addMultimediasItem
-
getMultimedias
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid SimpleMultimediaBooker> getMultimedias()Get multimedias- Returns:
- multimedias
-
setMultimedias
-
contact
-
getContact
Associate a contact person for this blocking (if applicable).- Returns:
- contact
-
setContact
-
address
-
getAddress
Defaults to property address.- Returns:
- address
-
setAddress
-
commissionable
-
getCommissionable
Indicate whether sales channels receive commission for selling this blocking.- Returns:
- commissionable
-
setCommissionable
-
name
-
getName
Internal name of blocking.- Returns:
- name
-
setName
-
proximityCode
-
getProximityCode
Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- proximityCode
-
setProximityCode
-
sort
-
getSort
Use this property to sort an blocking in a list of activities.- Returns:
- sort
-
setSort
-
minAgeAppropriateCode
-
getMinAgeAppropriateCode
Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- minAgeAppropriateCode
-
setMinAgeAppropriateCode
-
bookable
-
getBookable
Indicates if this blocking can be added to a booking or if it is read-only marketing material only.- Returns:
- bookable
-
setBookable
-
active
-
getActive
Modify blocking availability with this flag.- Returns:
- active
-
setActive
-
disabilityFeatures
-
addDisabilityFeaturesItem
-
getDisabilityFeatures
-
setDisabilityFeatures
-
securityFeatures
-
addSecurityFeaturesItem
-
getSecurityFeatures
-
setSecurityFeatures
-
addSocialsItem
-
getSocials
-
setSocials
-
pricePoint
public GuestRoomLightweightBooker pricePoint(@Nonnull GuestRoomLightweightBooker.PricePointEnum pricePoint) -
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
recognitionList
public GuestRoomLightweightBooker recognitionList(@Nullable List<@Valid TravelInventoryRecognitionBooker> recognitionList) -
addRecognitionListItem
public GuestRoomLightweightBooker addRecognitionListItem(TravelInventoryRecognitionBooker recognitionListItem) -
getRecognitionList
Get recognitionList- Returns:
- recognitionList
-
setRecognitionList
public void setRecognitionList(@Nullable List<@Valid TravelInventoryRecognitionBooker> recognitionList) -
maxOccupancy
-
getMaxOccupancy
Maximum number of guest allowed in a room type. minimum: 1- Returns:
- maxOccupancy
-
setMaxOccupancy
-
minOccupancy
-
getMinOccupancy
Minimum number of guests allowed in a room type. minimum: 1- Returns:
- minOccupancy
-
setMinOccupancy
-
quantity
-
getQuantity
Defines the number of rooms of this type minimum: 1- Returns:
- quantity
-
setQuantity
-
nonSmoking
-
getNonSmoking
-
setNonSmoking
-
bedroomConfigurationList
public GuestRoomLightweightBooker bedroomConfigurationList(@Nonnull List<@Valid BedroomConfigurationBooker> bedroomConfigurationList) -
addBedroomConfigurationListItem
public GuestRoomLightweightBooker addBedroomConfigurationListItem(BedroomConfigurationBooker bedroomConfigurationListItem) -
getBedroomConfigurationList
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid BedroomConfigurationBooker> getBedroomConfigurationList()Get bedroomConfigurationList- Returns:
- bedroomConfigurationList
-
setBedroomConfigurationList
public void setBedroomConfigurationList(@Nonnull List<@Valid BedroomConfigurationBooker> bedroomConfigurationList) -
size
-
getSize
Number of square meters that defines the size of this room type. minimum: 1- Returns:
- size
-
setSize
-
maxAdultOccupancy
-
getMaxAdultOccupancy
Maximum number of adults allowed in a room type. minimum: 1- Returns:
- maxAdultOccupancy
-
setMaxAdultOccupancy
-
maxChildOccupancy
-
getMaxChildOccupancy
Maximum number of children allowed in a room type. minimum: 0- Returns:
- maxChildOccupancy
-
setMaxChildOccupancy
-
bathroomCount
-
getBathroomCount
Number of bathrooms minimum: 0- Returns:
- bathroomCount
-
setBathroomCount
-
livingRoomCount
-
getLivingRoomCount
Number of living rooms minimum: 0- Returns:
- livingRoomCount
-
setLivingRoomCount
-
maxRollaways
-
getMaxRollaways
Maximum number of rollaway beds allowed in this room type. minimum: 0- Returns:
- maxRollaways
-
setMaxRollaways
-
roomCategory
-
getRoomCategory
Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomCategory
-
setRoomCategory
-
floor
-
getFloor
-
setFloor
-
roomLocationCode
-
getRoomLocationCode
Indicates the location of the room within the hotel structure. Typical values would be \"Near Exit\",\"Close to elevator\", \"Low Floor\" or \"High Floor\". Supported OTA specification `RLT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomLocationCode
-
setRoomLocationCode
-
roomViewCode
-
getRoomViewCode
Indicates the view of the room. Typical values would be \"Ocean view\", \"Pool view\" or \"Garden View\". Supported OTA specification `RVT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomViewCode
-
setRoomViewCode
-
composite
-
getComposite
Indicates that the room (suite) is a composite of smaller units.- Returns:
- composite
-
setComposite
-
compositeCount
-
getCompositeCount
Number of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types. A 0 means disabled. minimum: 0- Returns:
- compositeCount
-
setCompositeCount
-
roomClassificationCode
-
getRoomClassificationCode
Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomClassificationCode
-
setRoomClassificationCode
-
roomArchitectureCode
-
getRoomArchitectureCode
Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomArchitectureCode
-
setRoomArchitectureCode
-
roomGender
public GuestRoomLightweightBooker roomGender(@Nullable GuestRoomLightweightBooker.RoomGenderEnum roomGender) -
getRoomGender
Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.- Returns:
- roomGender
-
setRoomGender
-
maxCribs
-
getMaxCribs
Maximum number of cribs allowed in a room type. minimum: 0- Returns:
- maxCribs
-
setMaxCribs
-
amenities
-
addAmenitiesItem
-
getAmenities
-
setAmenities
-
includedAdultOccupancy
-
getIncludedAdultOccupancy
The number of pax the room price was meant for minimum: 0- Returns:
- includedAdultOccupancy
-
setIncludedAdultOccupancy
-
includedChildOccupancy
-
getIncludedChildOccupancy
The number of children the room price was meant for minimum: 0- Returns:
- includedChildOccupancy
-
setIncludedChildOccupancy
-
equals
-
hashCode
-
toString
-
socials