Package travel.wink.sdk.extranet.model
Class BookingView
java.lang.Object
travel.wink.sdk.extranet.model.BookingView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-01T17:01:03.296785+07:00[Asia/Bangkok]")
public class BookingView
extends Object
BookingView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBookingView(UUID id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid BookingGet booking@Valid OffsetDateTimeDatetime this record was first created@Valid UUIDgetId()Unique document identifier@Valid OffsetDateTimeDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidsetBooking(Booking booking) 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_BOOKING
- See Also:
-
-
Constructor Details
-
BookingView
public BookingView() -
BookingView
-
-
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
-
booking
-
getBooking
Get booking- Returns:
- booking
-
setBooking
-
equals
-
hashCode
public int hashCode() -
toString
-