Class PerkLightweightBooker
java.lang.Object
travel.wink.sdk.booking.model.PerkLightweightBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class PerkLightweightBooker
extends Object
PerkLightweightBooker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionBooker descriptionsItem) descriptions(List<@Valid SimpleDescriptionBooker> descriptions) boolean@NotNull @Valid @Size(min=1) List<@Valid SimpleDescriptionBooker> Localized description for this perkWhether perk is guaranteed or not.@NotNull @Size(min=1) StringEnum identifier identifier for this perk.getLevel()The platform value of this perk.getSort()This is how perks get sorted when in a listguaranteed(Boolean guaranteed) inthashCode()identifier(String identifier) voidsetDescriptions(List<@Valid SimpleDescriptionBooker> descriptions) voidsetGuaranteed(Boolean guaranteed) voidsetIdentifier(String identifier) voidvoidtoString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_GUARANTEED
- See Also:
-
JSON_PROPERTY_LEVEL
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
-
Constructor Details
-
PerkLightweightBooker
public PerkLightweightBooker()
-
-
Method Details
-
identifier
-
getIdentifier
Enum identifier identifier for this perk. Makes the persistent version backwards compatible.- Returns:
- identifier
-
setIdentifier
-
guaranteed
-
getGuaranteed
-
setGuaranteed
-
level
-
getLevel
-
setLevel
-
descriptions
public PerkLightweightBooker descriptions(@Nonnull List<@Valid SimpleDescriptionBooker> descriptions) -
addDescriptionsItem
-
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<@Valid SimpleDescriptionBooker> getDescriptions()Localized description for this perk- Returns:
- descriptions
-
setDescriptions
-
sort
-
getSort
-
setSort
-
equals
-
hashCode
-
toString
-