Class HotelView

java.lang.Object
travel.wink.sdk.extranet.model.HotelView

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:24.013599+07:00[Asia/Bangkok]") public class HotelView extends Object
HotelView
  • Field Details

  • Constructor Details

  • Method Details

    • getId

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

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

      @Nullable @Valid public @Valid OffsetDateTime 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 HotelView hotel(Hotel hotel)
    • getHotel

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

      public void setHotel(Hotel hotel)
    • 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