Class ApiRooms

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiRooms

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiRooms extends Object
Filter for room types.
  • Field Details

  • Constructor Details

    • ApiRooms

      public ApiRooms()
  • Method Details

    • room

      public ApiRooms room(List<String> room)
    • addRoomItem

      public ApiRooms addRoomItem(String roomItem)
    • getRoom

      @Nonnull @NotNull public @NotNull List<String> getRoom()
      List of room type codes to filter by. You can get all the possible room type code values through the room types operation of [Hotel Content API](/documentation/hotels/content-api/api-reference/).
      Returns:
      room
    • setRoom

      public void setRoom(List<String> room)
    • included

      public ApiRooms included(Boolean included)
    • getIncluded

      @Nonnull @NotNull public @NotNull Boolean getIncluded()
      Includes or excludes the listed room types from the response.
      Returns:
      included
    • setIncluded

      public void setIncluded(Boolean included)
    • 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