Package travel.wink.sdk.booking.model
Class RecognitionBooker
java.lang.Object
travel.wink.sdk.booking.model.RecognitionBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:48:08.191600840+07:00[Asia/Bangkok]")
public class RecognitionBooker
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(RecognitionBooker.CategoryEnum category) boolean@NotNull RecognitionBooker.CategoryEnumRecognition category.@Valid LocalDategetDate()The date the award was received@Valid UUIDUnique hotel identifier.@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 RecognitionBooker.TypeEnumgetType()Type of rating system the recognition operated on.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) officialAppointmentInd(Boolean officialAppointmentInd) ratingSymbol(String ratingSymbol) voidsetCategory(RecognitionBooker.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_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
-
RecognitionBooker
public RecognitionBooker()
-
-
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
-