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
  • Field Details

  • Constructor Details

    • GuestRoomLightweightBooker

      public GuestRoomLightweightBooker()
  • Method Details

    • identifier

      public GuestRoomLightweightBooker identifier(@Nonnull UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getIdentifier()
      Unique record identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(@Nonnull UUID identifier)
    • hotelIdentifier

      public GuestRoomLightweightBooker hotelIdentifier(@Nonnull UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getHotelIdentifier()
      Hotel identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(@Nonnull UUID hotelIdentifier)
    • featuredInd

      public GuestRoomLightweightBooker featuredInd(@Nonnull Boolean featuredInd)
    • getFeaturedInd

      @Nonnull @NotNull public @NotNull Boolean getFeaturedInd()
      Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.
      Returns:
      featuredInd
    • setFeaturedInd

      public void setFeaturedInd(@Nonnull Boolean featuredInd)
    • lifestyleType

      public GuestRoomLightweightBooker lifestyleType(@Nullable GuestRoomLightweightBooker.LifestyleTypeEnum lifestyleType)
    • getLifestyleType

      @Nullable public GuestRoomLightweightBooker.LifestyleTypeEnum getLifestyleType()
      Indicate the type of lifestyle this blocking should be associated with.
      Returns:
      lifestyleType
    • setLifestyleType

      public void setLifestyleType(@Nullable GuestRoomLightweightBooker.LifestyleTypeEnum lifestyleType)
    • location

      public GuestRoomLightweightBooker location(@Nonnull GeoJsonPointBooker location)
    • getLocation

      @Nonnull @NotNull @Valid public @NotNull @Valid GeoJsonPointBooker getLocation()
      Geo-location point where blocking takes place. Defaults to location of property.
      Returns:
      location
    • setLocation

      public void setLocation(@Nonnull GeoJsonPointBooker location)
    • descriptions

      public GuestRoomLightweightBooker descriptions(@Nonnull List<@Valid SimpleDescriptionBooker> descriptions)
    • addDescriptionsItem

      public GuestRoomLightweightBooker addDescriptionsItem(SimpleDescriptionBooker descriptionsItem)
    • getDescriptions

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid SimpleDescriptionBooker> getDescriptions()
      Get descriptions
      Returns:
      descriptions
    • setDescriptions

      public void setDescriptions(@Nonnull List<@Valid SimpleDescriptionBooker> descriptions)
    • multimedias

      public GuestRoomLightweightBooker multimedias(@Nonnull List<@Valid SimpleMultimediaBooker> multimedias)
    • addMultimediasItem

      public GuestRoomLightweightBooker addMultimediasItem(SimpleMultimediaBooker multimediasItem)
    • getMultimedias

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid SimpleMultimediaBooker> getMultimedias()
      Get multimedias
      Returns:
      multimedias
    • setMultimedias

      public void setMultimedias(@Nonnull List<@Valid SimpleMultimediaBooker> multimedias)
    • contact

      public GuestRoomLightweightBooker contact(@Nonnull ContactBooker contact)
    • getContact

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactBooker getContact()
      Associate a contact person for this blocking (if applicable).
      Returns:
      contact
    • setContact

      public void setContact(@Nonnull ContactBooker contact)
    • address

      public GuestRoomLightweightBooker address(@Nonnull SimpleAddressBooker address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid SimpleAddressBooker getAddress()
      Defaults to property address.
      Returns:
      address
    • setAddress

      public void setAddress(@Nonnull SimpleAddressBooker address)
    • commissionable

      public GuestRoomLightweightBooker commissionable(@Nonnull Boolean commissionable)
    • getCommissionable

      @Nonnull @NotNull public @NotNull Boolean getCommissionable()
      Indicate whether sales channels receive commission for selling this blocking.
      Returns:
      commissionable
    • setCommissionable

      public void setCommissionable(@Nonnull Boolean commissionable)
    • name

      public GuestRoomLightweightBooker name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Internal name of blocking.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • proximityCode

      public GuestRoomLightweightBooker proximityCode(@Nonnull String proximityCode)
    • getProximityCode

      @Nonnull @NotNull public @NotNull String getProximityCode()
      Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      proximityCode
    • setProximityCode

      public void setProximityCode(@Nonnull String proximityCode)
    • sort

      public GuestRoomLightweightBooker sort(@Nullable Integer sort)
    • getSort

      @Nullable public Integer getSort()
      Use this property to sort an blocking in a list of activities.
      Returns:
      sort
    • setSort

      public void setSort(@Nullable Integer sort)
    • minAgeAppropriateCode

      public GuestRoomLightweightBooker minAgeAppropriateCode(@Nullable String minAgeAppropriateCode)
    • getMinAgeAppropriateCode

      @Nullable public String getMinAgeAppropriateCode()
      Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      minAgeAppropriateCode
    • setMinAgeAppropriateCode

      public void setMinAgeAppropriateCode(@Nullable String minAgeAppropriateCode)
    • bookable

      public GuestRoomLightweightBooker bookable(@Nonnull Boolean bookable)
    • getBookable

      @Nonnull @NotNull public @NotNull Boolean getBookable()
      Indicates if this blocking can be added to a booking or if it is read-only marketing material only.
      Returns:
      bookable
    • setBookable

      public void setBookable(@Nonnull Boolean bookable)
    • active

      public GuestRoomLightweightBooker active(@Nonnull Boolean active)
    • getActive

      @Nonnull @NotNull public @NotNull Boolean getActive()
      Modify blocking availability with this flag.
      Returns:
      active
    • setActive

      public void setActive(@Nonnull Boolean active)
    • disabilityFeatures

      public GuestRoomLightweightBooker disabilityFeatures(@Nullable List<String> disabilityFeatures)
    • addDisabilityFeaturesItem

      public GuestRoomLightweightBooker addDisabilityFeaturesItem(String disabilityFeaturesItem)
    • getDisabilityFeatures

      @Nullable public List<String> getDisabilityFeatures()
      Get disabilityFeatures
      Returns:
      disabilityFeatures
    • setDisabilityFeatures

      public void setDisabilityFeatures(@Nullable List<String> disabilityFeatures)
    • securityFeatures

      public GuestRoomLightweightBooker securityFeatures(@Nullable List<String> securityFeatures)
    • addSecurityFeaturesItem

      public GuestRoomLightweightBooker addSecurityFeaturesItem(String securityFeaturesItem)
    • getSecurityFeatures

      @Nullable public List<String> getSecurityFeatures()
      Get securityFeatures
      Returns:
      securityFeatures
    • setSecurityFeatures

      public void setSecurityFeatures(@Nullable List<String> securityFeatures)
    • socials

      public GuestRoomLightweightBooker socials(@Nullable List<@Valid SocialBooker> socials)
    • addSocialsItem

      public GuestRoomLightweightBooker addSocialsItem(SocialBooker socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<@Valid SocialBooker> getSocials()
      Get socials
      Returns:
      socials
    • setSocials

      public void setSocials(@Nullable List<@Valid SocialBooker> socials)
    • pricePoint

    • getPricePoint

      @Nonnull @NotNull public @NotNull GuestRoomLightweightBooker.PricePointEnum getPricePoint()
      Level of expensiveness.
      Returns:
      pricePoint
    • setPricePoint

      public void setPricePoint(@Nonnull GuestRoomLightweightBooker.PricePointEnum pricePoint)
    • recognitionList

      public GuestRoomLightweightBooker recognitionList(@Nullable List<@Valid TravelInventoryRecognitionBooker> recognitionList)
    • addRecognitionListItem

      public GuestRoomLightweightBooker addRecognitionListItem(TravelInventoryRecognitionBooker recognitionListItem)
    • getRecognitionList

      @Nullable @Valid public @Valid List<@Valid TravelInventoryRecognitionBooker> getRecognitionList()
      Get recognitionList
      Returns:
      recognitionList
    • setRecognitionList

      public void setRecognitionList(@Nullable List<@Valid TravelInventoryRecognitionBooker> recognitionList)
    • maxOccupancy

      public GuestRoomLightweightBooker maxOccupancy(@Nonnull Integer maxOccupancy)
    • getMaxOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxOccupancy()
      Maximum number of guest allowed in a room type. minimum: 1
      Returns:
      maxOccupancy
    • setMaxOccupancy

      public void setMaxOccupancy(@Nonnull Integer maxOccupancy)
    • minOccupancy

      public GuestRoomLightweightBooker minOccupancy(@Nonnull Integer minOccupancy)
    • getMinOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMinOccupancy()
      Minimum number of guests allowed in a room type. minimum: 1
      Returns:
      minOccupancy
    • setMinOccupancy

      public void setMinOccupancy(@Nonnull Integer minOccupancy)
    • quantity

      public GuestRoomLightweightBooker quantity(@Nonnull Integer quantity)
    • getQuantity

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getQuantity()
      Defines the number of rooms of this type minimum: 1
      Returns:
      quantity
    • setQuantity

      public void setQuantity(@Nonnull Integer quantity)
    • nonSmoking

      public GuestRoomLightweightBooker nonSmoking(@Nonnull Boolean nonSmoking)
    • getNonSmoking

      @Nonnull @NotNull public @NotNull Boolean getNonSmoking()
      Non-smoking indicator
      Returns:
      nonSmoking
    • setNonSmoking

      public void setNonSmoking(@Nonnull Boolean nonSmoking)
    • 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

      public GuestRoomLightweightBooker size(@Nonnull Float size)
    • getSize

      @Nonnull @NotNull @DecimalMin("1") public @NotNull @DecimalMin("1") Float getSize()
      Number of square meters that defines the size of this room type. minimum: 1
      Returns:
      size
    • setSize

      public void setSize(@Nonnull Float size)
    • maxAdultOccupancy

      public GuestRoomLightweightBooker maxAdultOccupancy(@Nonnull Integer maxAdultOccupancy)
    • getMaxAdultOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxAdultOccupancy()
      Maximum number of adults allowed in a room type. minimum: 1
      Returns:
      maxAdultOccupancy
    • setMaxAdultOccupancy

      public void setMaxAdultOccupancy(@Nonnull Integer maxAdultOccupancy)
    • maxChildOccupancy

      public GuestRoomLightweightBooker maxChildOccupancy(@Nonnull Integer maxChildOccupancy)
    • getMaxChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxChildOccupancy()
      Maximum number of children allowed in a room type. minimum: 0
      Returns:
      maxChildOccupancy
    • setMaxChildOccupancy

      public void setMaxChildOccupancy(@Nonnull Integer maxChildOccupancy)
    • bathroomCount

      public GuestRoomLightweightBooker bathroomCount(@Nonnull Integer bathroomCount)
    • getBathroomCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getBathroomCount()
      Number of bathrooms minimum: 0
      Returns:
      bathroomCount
    • setBathroomCount

      public void setBathroomCount(@Nonnull Integer bathroomCount)
    • livingRoomCount

      public GuestRoomLightweightBooker livingRoomCount(@Nonnull Integer livingRoomCount)
    • getLivingRoomCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getLivingRoomCount()
      Number of living rooms minimum: 0
      Returns:
      livingRoomCount
    • setLivingRoomCount

      public void setLivingRoomCount(@Nonnull Integer livingRoomCount)
    • maxRollaways

      public GuestRoomLightweightBooker maxRollaways(@Nonnull Integer maxRollaways)
    • getMaxRollaways

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxRollaways()
      Maximum number of rollaway beds allowed in this room type. minimum: 0
      Returns:
      maxRollaways
    • setMaxRollaways

      public void setMaxRollaways(@Nonnull Integer maxRollaways)
    • roomCategory

      public GuestRoomLightweightBooker roomCategory(@Nonnull String roomCategory)
    • getRoomCategory

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String 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

      public void setRoomCategory(@Nonnull String roomCategory)
    • floor

      public GuestRoomLightweightBooker floor(@Nullable String floor)
    • getFloor

      @Nullable public String getFloor()
      Floor an which a room is located
      Returns:
      floor
    • setFloor

      public void setFloor(@Nullable String floor)
    • roomLocationCode

      public GuestRoomLightweightBooker roomLocationCode(@Nonnull String roomLocationCode)
    • getRoomLocationCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String 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

      public void setRoomLocationCode(@Nonnull String roomLocationCode)
    • roomViewCode

      public GuestRoomLightweightBooker roomViewCode(@Nonnull String roomViewCode)
    • getRoomViewCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String 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

      public void setRoomViewCode(@Nonnull String roomViewCode)
    • composite

      public GuestRoomLightweightBooker composite(@Nonnull Boolean composite)
    • getComposite

      @Nonnull @NotNull public @NotNull Boolean getComposite()
      Indicates that the room (suite) is a composite of smaller units.
      Returns:
      composite
    • setComposite

      public void setComposite(@Nonnull Boolean composite)
    • compositeCount

      public GuestRoomLightweightBooker compositeCount(@Nonnull Integer compositeCount)
    • getCompositeCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer 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

      public void setCompositeCount(@Nonnull Integer compositeCount)
    • roomClassificationCode

      public GuestRoomLightweightBooker roomClassificationCode(@Nonnull String roomClassificationCode)
    • getRoomClassificationCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getRoomClassificationCode()
      Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomClassificationCode
    • setRoomClassificationCode

      public void setRoomClassificationCode(@Nonnull String roomClassificationCode)
    • roomArchitectureCode

      public GuestRoomLightweightBooker roomArchitectureCode(@Nonnull String roomArchitectureCode)
    • getRoomArchitectureCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getRoomArchitectureCode()
      Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomArchitectureCode
    • setRoomArchitectureCode

      public void setRoomArchitectureCode(@Nonnull String roomArchitectureCode)
    • roomGender

    • getRoomGender

      @Nullable public GuestRoomLightweightBooker.RoomGenderEnum getRoomGender()
      Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.
      Returns:
      roomGender
    • setRoomGender

      public void setRoomGender(@Nullable GuestRoomLightweightBooker.RoomGenderEnum roomGender)
    • sharedRoomInd

      public GuestRoomLightweightBooker sharedRoomInd(@Nonnull Boolean sharedRoomInd)
    • getSharedRoomInd

      @Nonnull @NotNull public @NotNull Boolean getSharedRoomInd()
      If TRUE, the room requires or has sharing available. Note: Typically used by Hosteliers.
      Returns:
      sharedRoomInd
    • setSharedRoomInd

      public void setSharedRoomInd(@Nonnull Boolean sharedRoomInd)
    • maxCribs

      public GuestRoomLightweightBooker maxCribs(@Nonnull Integer maxCribs)
    • getMaxCribs

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxCribs()
      Maximum number of cribs allowed in a room type. minimum: 0
      Returns:
      maxCribs
    • setMaxCribs

      public void setMaxCribs(@Nonnull Integer maxCribs)
    • amenities

      public GuestRoomLightweightBooker amenities(@Nullable List<String> amenities)
    • addAmenitiesItem

      public GuestRoomLightweightBooker addAmenitiesItem(String amenitiesItem)
    • getAmenities

      @Nullable public List<String> getAmenities()
      Get amenities
      Returns:
      amenities
    • setAmenities

      public void setAmenities(@Nullable List<String> amenities)
    • includedAdultOccupancy

      public GuestRoomLightweightBooker includedAdultOccupancy(@Nonnull Integer includedAdultOccupancy)
    • getIncludedAdultOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedAdultOccupancy()
      The number of pax the room price was meant for minimum: 0
      Returns:
      includedAdultOccupancy
    • setIncludedAdultOccupancy

      public void setIncludedAdultOccupancy(@Nonnull Integer includedAdultOccupancy)
    • includedChildOccupancy

      public GuestRoomLightweightBooker includedChildOccupancy(@Nonnull Integer includedChildOccupancy)
    • getIncludedChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedChildOccupancy()
      The number of children the room price was meant for minimum: 0
      Returns:
      includedChildOccupancy
    • setIncludedChildOccupancy

      public void setIncludedChildOccupancy(@Nonnull Integer includedChildOccupancy)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object