Package travel.wink.sdk.extranet.model
Class GuestRoomView
java.lang.Object
travel.wink.sdk.extranet.model.GuestRoomView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-26T14:36:45.544169528+07:00[Asia/Bangkok]")
public class GuestRoomView
extends Object
GuestRoomView
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedDate(LocalDateTime createdDate) booleanDatetime this record was first created@NotNull @Valid GuestRoomGet guestRoomgetId()Document UUIDDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) voidsetCreatedDate(LocalDateTime createdDate) voidsetGuestRoom(GuestRoom guestRoom) 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_GUEST_ROOM
- See Also:
-
-
Constructor Details
-
GuestRoomView
public GuestRoomView()
-
-
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
-
guestRoom
-
getGuestRoom
Get guestRoom- Returns:
- guestRoom
-
setGuestRoom
-
equals
-
hashCode
public int hashCode() -
toString
-