Package travel.wink.sdk.affiliate.model
Class HotelOnMapView
java.lang.Object
travel.wink.sdk.affiliate.model.HotelOnMapView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:35:16.430198433+07:00[Asia/Bangkok]")
public class HotelOnMapView
extends Object
HotelOnMapView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHotelOnMapView(UUID id, LocalDateTime createdDate, LocalDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionaddSocialsItem(Social socialsItem) booleanDatetime this record was first created@Valid HotelOnMapgetHotel()Get hotel@Valid UUIDgetId()Unique document identifierDatetime this record was last updatedGet socialsVersion property that shows how many times this document has been persisted.inthashCode()hotel(HotelOnMap hotel) voidsetHotel(HotelOnMap hotel) voidsetSocials(List<Social> socials) 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_HOTEL
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
-
Constructor Details
-
HotelOnMapView
public HotelOnMapView() -
HotelOnMapView
-
-
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
-
addSocialsItem
-
getSocials
Get socials- Returns:
- socials
-
setSocials
-
equals
-
hashCode
public int hashCode() -
toString
-
socials