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="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]")
public class AttractionView
extends Object
AttractionView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttractionView(UUID id, LocalDateTime createdDate, LocalDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionattraction(Attraction attraction) booleanfeaturedImageIdentifier(String featuredImageIdentifier) @Valid AttractionGet attractionDatetime this record was first createdGet featuredImageIdentifier@Valid UUIDgetId()Unique document identifierDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidsetAttraction(Attraction attraction) voidsetFeaturedImageIdentifier(String featuredImageIdentifier) 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:
-
JSON_PROPERTY_FEATURED_IMAGE_IDENTIFIER
- See Also:
-
-
Constructor Details
-
AttractionView
public AttractionView() -
AttractionView
-
-
Method Details
-
getId
Unique document identifier- Returns:
- id
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
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
-
attraction
-
getAttraction
Get attraction- Returns:
- attraction
-
setAttraction
-
featuredImageIdentifier
-
getFeaturedImageIdentifier
Get featuredImageIdentifier- Returns:
- featuredImageIdentifier
-
setFeaturedImageIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-