Class ApiHotels

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

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

  • Constructor Details

    • ApiHotels

      public ApiHotels()
  • Method Details

    • checkIn

      public ApiHotels checkIn(LocalDate checkIn)
    • getCheckIn

      @Nullable @Valid public @Valid LocalDate getCheckIn()
      Check-in date in the current availability response.
      Returns:
      checkIn
    • setCheckIn

      public void setCheckIn(LocalDate checkIn)
    • checkOut

      public ApiHotels checkOut(LocalDate checkOut)
    • getCheckOut

      @Nullable @Valid public @Valid LocalDate getCheckOut()
      Check-out date in the current availability response.
      Returns:
      checkOut
    • setCheckOut

      public void setCheckOut(LocalDate checkOut)
    • hotels

      public ApiHotels hotels(List<ApiHotel> hotels)
    • addHotelsItem

      public ApiHotels addHotelsItem(ApiHotel hotelsItem)
    • getHotels

      @Nullable @Valid public @Valid List<ApiHotel> getHotels()
      Information regarding the hotels.
      Returns:
      hotels
    • setHotels

      public void setHotels(List<ApiHotel> hotels)
    • total

      public ApiHotels total(Integer total)
    • getTotal

      @Nullable public Integer getTotal()
      Total of hotels returned in the current availability response.
      Returns:
      total
    • setTotal

      public void setTotal(Integer total)
    • 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