Package travel.wink.sdk.affiliate.model
Class RecognitionAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.RecognitionAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-05-28T20:17:04.479259926+07:00[Asia/Bangkok]")
public class RecognitionAffiliate
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(RecognitionAffiliate.CategoryEnum category) boolean@NotNull RecognitionAffiliate.CategoryEnumRecognition category.@Valid LocalDategetDate()The date the award was received@NotNull @Valid UUIDUnique hotel identifier.@NotNull @Valid UUIDRecognition 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 RecognitionAffiliate.TypeEnumgetType()Type of rating system the recognition operated on.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) officialAppointmentInd(Boolean officialAppointmentInd) ratingSymbol(String ratingSymbol) voidsetCategory(RecognitionAffiliate.CategoryEnum category) voidvoidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetMaxRating(Float maxRating) voidsetOfficialAppointmentInd(Boolean officialAppointmentInd) voidsetProvider(String provider) voidvoidsetRatingSymbol(String ratingSymbol) voidtoString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CATEGORY
- 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
-
RecognitionAffiliate
public RecognitionAffiliate()
-
-
Method Details
-
identifier
-
getIdentifier
Recognition identifier.- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Unique hotel identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
type
-
getType
Type of rating system the recognition operated on. This allows us to display the score properly.- Returns:
- type
-
setType
-
category
-
getCategory
Recognition category.- Returns:
- category
-
setCategory
-
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
-
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
-
toString
-