Class StaticListAffiliate
java.lang.Object
travel.wink.sdk.affiliate.browse.model.StaticListAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class StaticListAffiliate
extends Object
StaticListAffiliate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEvery affiliate starts out with a `Favorite` list. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedDate(LocalDateTime createdDate) booleanDatetime this record was first createdgetId()Document UUIDDatetime this record was last updated@NotNull @Size(min=1) StringgetName()Name of curated list@NotNull @Valid @Size(min=1) UUIDList creator@NotNull StaticListAffiliate.TypeEnumgetType()Every affiliate starts out with a `Favorite` list.Version property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) ownerIdentifier(UUID ownerIdentifier) voidsetCreatedDate(LocalDateTime createdDate) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidvoidsetOwnerIdentifier(UUID ownerIdentifier) voidvoidsetVersion(Long version) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
StaticListAffiliate
public StaticListAffiliate()
-
-
Method Details
-
id
-
getId
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
ownerIdentifier
-
getOwnerIdentifier
List creator- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
name
-
getName
Name of curated list- Returns:
- name
-
setName
-
type
-
getType
Every affiliate starts out with a `Favorite` list. All other lists will be of type `NORMAL`- Returns:
- type
-
setType
-
equals
-
hashCode
-
toString
-