Class ApiFilter

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiFilter extends Object
Filters to limit Availability results by particular values.
  • Field Details

  • Constructor Details

    • ApiFilter

      public ApiFilter()
  • Method Details

    • maxHotels

      public ApiFilter maxHotels(Integer maxHotels)
    • getMaxHotels

      @Nullable @Min(1L) @Max(2000L) public @Min(1L) @Max(2000L) Integer getMaxHotels()
      Filter for maximum number of hotels you want to receive in the response. minimum: 1 maximum: 2000
      Returns:
      maxHotels
    • setMaxHotels

      public void setMaxHotels(Integer maxHotels)
    • maxRooms

      public ApiFilter maxRooms(Integer maxRooms)
    • getMaxRooms

      @Nullable @Min(1L) @Max(50L) public @Min(1L) @Max(50L) Integer getMaxRooms()
      Filter for maximum number of rooms you want to receive for each hotel. minimum: 1 maximum: 50
      Returns:
      maxRooms
    • setMaxRooms

      public void setMaxRooms(Integer maxRooms)
    • minRate

      public ApiFilter minRate(String minRate)
    • getMinRate

      @Nullable public String getMinRate()
      Filter for minimum hotel room price.
      Returns:
      minRate
    • setMinRate

      public void setMinRate(String minRate)
    • maxRate

      public ApiFilter maxRate(String maxRate)
    • getMaxRate

      @Nullable public String getMaxRate()
      Filter for maximum hotel room price.
      Returns:
      maxRate
    • setMaxRate

      public void setMaxRate(String maxRate)
    • maxRatesPerRoom

      public ApiFilter maxRatesPerRoom(Integer maxRatesPerRoom)
    • getMaxRatesPerRoom

      @Nullable @Min(1L) public @Min(1L) Integer getMaxRatesPerRoom()
      Filter for maximum number of rates per room. minimum: 1
      Returns:
      maxRatesPerRoom
    • setMaxRatesPerRoom

      public void setMaxRatesPerRoom(Integer maxRatesPerRoom)
    • minCategory

      public ApiFilter minCategory(Integer minCategory)
    • getMinCategory

      @Nullable @Min(1L) @Max(5L) public @Min(1L) @Max(5L) Integer getMinCategory()
      Filter for minimun hotel category. minimum: 1 maximum: 5
      Returns:
      minCategory
    • setMinCategory

      public void setMinCategory(Integer minCategory)
    • maxCategory

      public ApiFilter maxCategory(Integer maxCategory)
    • getMaxCategory

      @Nullable @Min(1L) @Max(5L) public @Min(1L) @Max(5L) Integer getMaxCategory()
      Filter for maximum hotel category. minimum: 1 maximum: 5
      Returns:
      maxCategory
    • setMaxCategory

      public void setMaxCategory(Integer maxCategory)
    • contract

      public ApiFilter contract(String contract)
    • getContract

      @Nullable public String getContract()
      Filters the results by the contract requested. (NOTE: when using this filter is mandatory to inform availabilityRQ/@aifUse attribute)
      Returns:
      contract
    • setContract

      public void setContract(String contract)
    • 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