Class Recognition

java.lang.Object
travel.wink.sdk.booking.engine.model.Recognition

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:37:03.813612+07:00[Asia/Bangkok]") public class Recognition extends Object
Array of awards and third party reviews given to property by certified / non-certified providers.
  • Field Details

  • Constructor Details

    • Recognition

      public Recognition()
  • Method Details

    • identifier

      public Recognition identifier(String identifier)
    • getIdentifier

      @Nullable public String getIdentifier()
      Recognition identifier.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • hotelIdentifier

      public Recognition hotelIdentifier(String hotelIdentifier)
    • getHotelIdentifier

      @Nullable public String getHotelIdentifier()
      Unique hotel identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(String hotelIdentifier)
    • category

      public Recognition category(Recognition.CategoryEnum category)
    • getCategory

      @Nonnull @NotNull public @NotNull Recognition.CategoryEnum getCategory()
      Recognition category.
      Returns:
      category
    • setCategory

      public void setCategory(Recognition.CategoryEnum category)
    • type

      public Recognition type(Recognition.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull Recognition.TypeEnum getType()
      Type of rating system the recognition operated on. This allows us to display the score properly.
      Returns:
      type
    • setType

      public void setType(Recognition.TypeEnum type)
    • provider

      public Recognition provider(String provider)
    • getProvider

      @Nonnull @NotNull public @NotNull String getProvider()
      The name of the entity that administers this recognition.
      Returns:
      provider
    • setProvider

      public void setProvider(String provider)
    • rating

      public Recognition rating(Float rating)
    • getRating

      @Nonnull @NotNull @DecimalMin("0.0") public @NotNull @DecimalMin("0.0") Float getRating()
      The actual award or rating received by the hotel facility. minimum: 0.0
      Returns:
      rating
    • setRating

      public void setRating(Float rating)
    • maxRating

      public Recognition maxRating(Float maxRating)
    • getMaxRating

      @Nullable public Float getMaxRating()
      Use this to let hotels indicate what the total score for this award is.
      Returns:
      maxRating
    • setMaxRating

      public void setMaxRating(Float maxRating)
    • date

      public Recognition date(LocalDate date)
    • getDate

      @Nullable @Valid public @Valid LocalDate getDate()
      The date the award was received
      Returns:
      date
    • setDate

      public void setDate(LocalDate date)
    • officialAppointmentInd

      public Recognition officialAppointmentInd(Boolean officialAppointmentInd)
    • getOfficialAppointmentInd

      @Nullable public Boolean getOfficialAppointmentInd()
      When true, this indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.
      Returns:
      officialAppointmentInd
    • setOfficialAppointmentInd

      public void setOfficialAppointmentInd(Boolean officialAppointmentInd)
    • ratingSymbol

      public Recognition ratingSymbol(String ratingSymbol)
    • getRatingSymbol

      @Nullable public String getRatingSymbol()
      Provides the symbol used in the rating. Used in conjunction with the Rating.
      Returns:
      ratingSymbol
    • setRatingSymbol

      public void setRatingSymbol(String ratingSymbol)
    • 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