Package travel.wink.sdk.extranet.model
Class AttractionView
java.lang.Object
travel.wink.sdk.extranet.model.AttractionView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:41:24.797077847+07:00[Asia/Bangkok]")
public class AttractionView
extends Object
AttractionView
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattraction(Attraction attraction) createdDate(LocalDateTime createdDate) boolean@NotNull @Valid AttractionGet attractionDatetime this record was first createdgetId()Document UUIDDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) voidsetAttraction(Attraction attraction) voidsetCreatedDate(LocalDateTime createdDate) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetVersion(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_ATTRACTION
- See Also:
-
-
Constructor Details
-
AttractionView
public AttractionView()
-
-
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
-
attraction
-
getAttraction
Get attraction- Returns:
- attraction
-
setAttraction
-
equals
-
hashCode
-
toString
-