Package travel.wink.sdk.extranet.model
Class UpgradeView
java.lang.Object
travel.wink.sdk.extranet.model.UpgradeView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-11-28T12:49:23.711911876+07:00[Asia/Bangkok]")
public class UpgradeView
extends Object
FormattedAncillary inventory to ancillary a room booking.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedDate(LocalDateTime createdDate) booleanfeaturedImageIdentifier(String featuredImageIdentifier) Datetime this record was first createdConvenience method to easily access the featured image without having to go through the entire list of images.getId()Document UUIDDatetime this record was last updated@Valid AddOnGet upgradeVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) voidsetCreatedDate(LocalDateTime createdDate) voidsetFeaturedImageIdentifier(String featuredImageIdentifier) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetUpgrade(AddOn upgrade) 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_UPGRADE
- See Also:
-
JSON_PROPERTY_FEATURED_IMAGE_IDENTIFIER
- See Also:
-
-
Constructor Details
-
UpgradeView
public UpgradeView()
-
-
Method Details
-
id
-
getId
Document UUID- Returns:
- id
-
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
-
upgrade
-
getUpgrade
Get upgrade- Returns:
- upgrade
-
setUpgrade
-
featuredImageIdentifier
-
getFeaturedImageIdentifier
Convenience method to easily access the featured image without having to go through the entire list of images. Defaults to placeholder image if no image is present.- Returns:
- featuredImageIdentifier
-
setFeaturedImageIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-