Class ApiReviewFilter
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiReviewFilter
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiReviewFilter
extends Object
Filter hotels by rating and number of reviews.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines the source of the reviews. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMaximum review rating you want the hotels to have.Minimun review rating you want the hotels to have.Minimum number of reviews you want the hotels to have.@NotNull ApiReviewFilter.TypeEnumgetType()Defines the source of the reviews.inthashCode()minReviewCount(Integer minReviewCount) voidsetMaxRate(String maxRate) voidsetMinRate(String minRate) voidsetMinReviewCount(Integer minReviewCount) voidtoString()type(ApiReviewFilter.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_MIN_RATE
- See Also:
-
JSON_PROPERTY_MAX_RATE
- See Also:
-
JSON_PROPERTY_MIN_REVIEW_COUNT
- See Also:
-
-
Constructor Details
-
ApiReviewFilter
public ApiReviewFilter()
-
-
Method Details
-
type
-
getType
Defines the source of the reviews.- Returns:
- type
-
setType
-
minRate
-
getMinRate
Minimun review rating you want the hotels to have.- Returns:
- minRate
-
setMinRate
-
maxRate
-
getMaxRate
Maximum review rating you want the hotels to have.- Returns:
- maxRate
-
setMaxRate
-
minReviewCount
-
getMinReviewCount
Minimum number of reviews you want the hotels to have.- Returns:
- minReviewCount
-
setMinReviewCount
-
equals
-
hashCode
public int hashCode() -
toString
-