Class GuestRoomView

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-24T11:29:25.504149142+07:00[Asia/Bangkok]") public class GuestRoomView extends Object
GuestRoomView
  • Field Details

  • Constructor Details

    • GuestRoomView

      public GuestRoomView()
  • Method Details

    • id

      public GuestRoomView id(String id)
    • getId

      @Nullable public String getId()
      Document UUID
      Returns:
      id
    • setId

      public void setId(String id)
    • createdDate

      public GuestRoomView createdDate(LocalDateTime createdDate)
    • getCreatedDate

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

      public void setCreatedDate(LocalDateTime createdDate)
    • lastUpdate

      public GuestRoomView lastUpdate(LocalDateTime lastUpdate)
    • getLastUpdate

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

      public void setLastUpdate(LocalDateTime lastUpdate)
    • version

      public GuestRoomView version(Long version)
    • 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
    • setVersion

      public void setVersion(Long version)
    • guestRoom

      public GuestRoomView guestRoom(GuestRoom guestRoom)
    • getGuestRoom

      @Nonnull @NotNull @Valid public @NotNull @Valid GuestRoom getGuestRoom()
      Get guestRoom
      Returns:
      guestRoom
    • setGuestRoom

      public void setGuestRoom(GuestRoom guestRoom)
    • 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