Package travel.wink.sdk.extranet.model
Class HotelView
java.lang.Object
travel.wink.sdk.extranet.model.HotelView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T13:49:39.867864+07:00[Asia/Bangkok]")
public class HotelView
extends Object
HotelView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHotelView(String id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid OffsetDateTimeDatetime this record was first created@Valid HotelgetHotel()Get hotelgetId()Unique document identifier@Valid OffsetDateTimeDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidtoString()
-
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_HOTEL
- See Also:
-
-
Constructor Details
-
HotelView
public HotelView() -
HotelView
-
-
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
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
equals
-
hashCode
public int hashCode() -
toString
-