java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiRoom

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]") public class ApiRoom extends Object
Information describing a room.
  • Field Details

  • Constructor Details

    • ApiRoom

      public ApiRoom()
  • Method Details

    • characteristic

      public ApiRoom characteristic(String characteristic)
    • getCharacteristic

      @Nullable public String getCharacteristic()
      Code of the room characteristic.
      Returns:
      characteristic
    • setCharacteristic

      public void setCharacteristic(String characteristic)
    • characteristicDescription

      public ApiRoom characteristicDescription(ApiContent characteristicDescription)
    • getCharacteristicDescription

      @Nullable @Valid public @Valid ApiContent getCharacteristicDescription()
      Get characteristicDescription
      Returns:
      characteristicDescription
    • setCharacteristicDescription

      public void setCharacteristicDescription(ApiContent characteristicDescription)
    • code

      public ApiRoom code(String code)
    • getCode

      @Nullable public String getCode()
      Code of the room.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • description

      public ApiRoom description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description of the room.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • maxAdults

      public ApiRoom maxAdults(Integer maxAdults)
    • getMaxAdults

      @Nullable public Integer getMaxAdults()
      Maximum number of adults allowed in the room.
      Returns:
      maxAdults
    • setMaxAdults

      public void setMaxAdults(Integer maxAdults)
    • maxChildren

      public ApiRoom maxChildren(Integer maxChildren)
    • getMaxChildren

      @Nullable public Integer getMaxChildren()
      Maximum number of children allowed in the room.
      Returns:
      maxChildren
    • setMaxChildren

      public void setMaxChildren(Integer maxChildren)
    • maxPax

      public ApiRoom maxPax(Integer maxPax)
    • getMaxPax

      @Nullable public Integer getMaxPax()
      Maximum number of paxes allowed in the room.
      Returns:
      maxPax
    • setMaxPax

      public void setMaxPax(Integer maxPax)
    • minAdults

      public ApiRoom minAdults(Integer minAdults)
    • getMinAdults

      @Nullable public Integer getMinAdults()
      Minimum number of adults allowed in the room.
      Returns:
      minAdults
    • setMinAdults

      public void setMinAdults(Integer minAdults)
    • minPax

      public ApiRoom minPax(Integer minPax)
    • getMinPax

      @Nullable public Integer getMinPax()
      Minimum number of adults allowed in the room.
      Returns:
      minPax
    • setMinPax

      public void setMinPax(Integer minPax)
    • type

      public ApiRoom type(String type)
    • getType

      @Nullable public String getType()
      Code of the room type. Returned only for Unified clients.
      Returns:
      type
    • setType

      public void setType(String type)
    • typeDescription

      public ApiRoom typeDescription(ApiContent typeDescription)
    • getTypeDescription

      @Nullable @Valid public @Valid ApiContent getTypeDescription()
      Get typeDescription
      Returns:
      typeDescription
    • setTypeDescription

      public void setTypeDescription(ApiContent typeDescription)
    • 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