Class RecognitionConsumer

java.lang.Object
travel.wink.sdk.lookup.model.RecognitionConsumer

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-13T15:19:06.946924419+07:00[Asia/Bangkok]") public class RecognitionConsumer extends Object
Array of awards and third party reviews given to property by certified / non-certified providers.
  • Field Details

  • Constructor Details

    • RecognitionConsumer

      public RecognitionConsumer()
  • Method Details

    • identifier

      public RecognitionConsumer identifier(UUID identifier)
    • getIdentifier

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

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public RecognitionConsumer hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • category

    • getCategory

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

      public void setCategory(RecognitionConsumer.CategoryEnum category)
    • type

    • getType

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

      public void setType(RecognitionConsumer.TypeEnum type)
    • provider

      public RecognitionConsumer 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 RecognitionConsumer 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 RecognitionConsumer 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 RecognitionConsumer 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 RecognitionConsumer 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 RecognitionConsumer 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