Class Recognition
java.lang.Object
travel.wink.sdk.booking.engine.model.Recognition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-11T13:45:57.039738+07:00[Asia/Bangkok]")
public class Recognition
extends Object
Array of awards and third party reviews given to property by certified / non-certified providers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRecognition category.static enumType of rating system the recognition operated on. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory(Recognition.CategoryEnum category) boolean@NotNull Recognition.CategoryEnumRecognition category.@Valid LocalDategetDate()The date the award was receivedUnique hotel identifier.Recognition identifier.Use this to let hotels indicate what the total score for this award is.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.@NotNull StringThe name of the entity that administers this recognition.@NotNull @DecimalMin("0.0") FloatThe actual award or rating received by the hotel facility.Provides the symbol used in the rating.@NotNull Recognition.TypeEnumgetType()Type of rating system the recognition operated on.inthashCode()hotelIdentifier(String hotelIdentifier) identifier(String identifier) officialAppointmentInd(Boolean officialAppointmentInd) ratingSymbol(String ratingSymbol) voidsetCategory(Recognition.CategoryEnum category) voidvoidsetHotelIdentifier(String hotelIdentifier) voidsetIdentifier(String identifier) voidsetMaxRating(Float maxRating) voidsetOfficialAppointmentInd(Boolean officialAppointmentInd) voidsetProvider(String provider) voidvoidsetRatingSymbol(String ratingSymbol) voidsetType(Recognition.TypeEnum type) toString()type(Recognition.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PROVIDER
- See Also:
-
JSON_PROPERTY_RATING
- See Also:
-
JSON_PROPERTY_MAX_RATING
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_OFFICIAL_APPOINTMENT_IND
- See Also:
-
JSON_PROPERTY_RATING_SYMBOL
- See Also:
-
-
Constructor Details
-
Recognition
public Recognition()
-
-
Method Details
-
identifier
-
getIdentifier
Recognition identifier.- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Unique hotel identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
category
-
getCategory
Recognition category.- Returns:
- category
-
setCategory
-
type
-
getType
Type of rating system the recognition operated on. This allows us to display the score properly.- Returns:
- type
-
setType
-
provider
-
getProvider
The name of the entity that administers this recognition.- Returns:
- provider
-
setProvider
-
rating
-
getRating
The actual award or rating received by the hotel facility. minimum: 0.0- Returns:
- rating
-
setRating
-
maxRating
-
getMaxRating
Use this to let hotels indicate what the total score for this award is.- Returns:
- maxRating
-
setMaxRating
-
date
-
getDate
The date the award was received- Returns:
- date
-
setDate
-
officialAppointmentInd
-
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
-
ratingSymbol
-
getRatingSymbol
Provides the symbol used in the rating. Used in conjunction with the Rating.- Returns:
- ratingSymbol
-
setRatingSymbol
-
equals
-
hashCode
public int hashCode() -
toString
-