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 Details

  • Constructor Details

  • Method Details

    • getId

      @Nullable @Valid public @Valid UUID getId()
      Unique document identifier
      Returns:
      id
    • getCreatedDate

      @Nullable @Valid public LocalDateTime getCreatedDate()
      Datetime this record was first created
      Returns:
      createdDate
    • getLastUpdate

      @Nullable @Valid public LocalDateTime getLastUpdate()
      Datetime this record was last updated
      Returns:
      lastUpdate
    • getVersion

      @Nullable public Long 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

      public HotelOnMapView hotel(HotelOnMap hotel)
    • getHotel

      @Nullable @Valid public @Valid HotelOnMap getHotel()
      Get hotel
      Returns:
      hotel
    • setHotel

      public void setHotel(HotelOnMap hotel)
    • socials

      public HotelOnMapView socials(List<Social> socials)
    • addSocialsItem

      public HotelOnMapView addSocialsItem(Social socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<Social> getSocials()
      Get socials
      Returns:
      socials
    • setSocials

      public void setSocials(List<Social> socials)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object