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.
  • Field Details

  • Constructor Details

    • ApiReviewFilter

      public ApiReviewFilter()
  • Method Details

    • type

    • getType

      @Nonnull @NotNull public @NotNull ApiReviewFilter.TypeEnum getType()
      Defines the source of the reviews.
      Returns:
      type
    • setType

      public void setType(ApiReviewFilter.TypeEnum type)
    • minRate

      public ApiReviewFilter minRate(String minRate)
    • getMinRate

      @Nullable public String getMinRate()
      Minimun review rating you want the hotels to have.
      Returns:
      minRate
    • setMinRate

      public void setMinRate(String minRate)
    • maxRate

      public ApiReviewFilter maxRate(String maxRate)
    • getMaxRate

      @Nullable public String getMaxRate()
      Maximum review rating you want the hotels to have.
      Returns:
      maxRate
    • setMaxRate

      public void setMaxRate(String maxRate)
    • minReviewCount

      public ApiReviewFilter minReviewCount(Integer minReviewCount)
    • getMinReviewCount

      @Nullable public Integer getMinReviewCount()
      Minimum number of reviews you want the hotels to have.
      Returns:
      minReviewCount
    • setMinReviewCount

      public void setMinReviewCount(Integer minReviewCount)
    • 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