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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFilters the results by the contract requested.@Min(1L) @Max(5L) IntegerFilter for maximum hotel category.@Min(1L) @Max(2000L) IntegerFilter for maximum number of hotels you want to receive in the response.Filter for maximum hotel room price.@Min(1L) IntegerFilter for maximum number of rates per room.@Min(1L) @Max(50L) IntegerFilter for maximum number of rooms you want to receive for each hotel.@Min(1L) @Max(5L) IntegerFilter for minimun hotel category.Filter for minimum hotel room price.inthashCode()maxCategory(Integer maxCategory) maxRatesPerRoom(Integer maxRatesPerRoom) minCategory(Integer minCategory) voidsetContract(String contract) voidsetMaxCategory(Integer maxCategory) voidsetMaxHotels(Integer maxHotels) voidsetMaxRate(String maxRate) voidsetMaxRatesPerRoom(Integer maxRatesPerRoom) voidsetMaxRooms(Integer maxRooms) voidsetMinCategory(Integer minCategory) voidsetMinRate(String minRate) toString()
-
Field Details
-
JSON_PROPERTY_MAX_HOTELS
- See Also:
-
JSON_PROPERTY_MAX_ROOMS
- See Also:
-
JSON_PROPERTY_MIN_RATE
- See Also:
-
JSON_PROPERTY_MAX_RATE
- See Also:
-
JSON_PROPERTY_MAX_RATES_PER_ROOM
- See Also:
-
JSON_PROPERTY_MIN_CATEGORY
- See Also:
-
JSON_PROPERTY_MAX_CATEGORY
- See Also:
-
JSON_PROPERTY_CONTRACT
- See Also:
-
-
Constructor Details
-
ApiFilter
public ApiFilter()
-
-
Method Details
-
maxHotels
-
getMaxHotels
Filter for maximum number of hotels you want to receive in the response. minimum: 1 maximum: 2000- Returns:
- maxHotels
-
setMaxHotels
-
maxRooms
-
getMaxRooms
Filter for maximum number of rooms you want to receive for each hotel. minimum: 1 maximum: 50- Returns:
- maxRooms
-
setMaxRooms
-
minRate
-
getMinRate
Filter for minimum hotel room price.- Returns:
- minRate
-
setMinRate
-
maxRate
-
getMaxRate
Filter for maximum hotel room price.- Returns:
- maxRate
-
setMaxRate
-
maxRatesPerRoom
-
getMaxRatesPerRoom
Filter for maximum number of rates per room. minimum: 1- Returns:
- maxRatesPerRoom
-
setMaxRatesPerRoom
-
minCategory
-
getMinCategory
Filter for minimun hotel category. minimum: 1 maximum: 5- Returns:
- minCategory
-
setMinCategory
-
maxCategory
-
getMaxCategory
Filter for maximum hotel category. minimum: 1 maximum: 5- Returns:
- maxCategory
-
setMaxCategory
-
contract
-
getContract
Filters the results by the contract requested. (NOTE: when using this filter is mandatory to inform availabilityRQ/@aifUse attribute)- Returns:
- contract
-
setContract
-
equals
-
hashCode
public int hashCode() -
toString
-