Class UpgradeView

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-03T16:31:02.054814418+07:00[Asia/Bangkok]") public class UpgradeView extends Object
FormattedAncillary inventory to ancillary a room booking.
  • Field Details

  • Constructor Details

    • UpgradeView

      public UpgradeView()
  • Method Details

    • id

      public UpgradeView id(String id)
    • getId

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

      public void setId(String id)
    • createdDate

      public UpgradeView 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 UpgradeView 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 UpgradeView 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)
    • upgrade

      public UpgradeView upgrade(AddOn upgrade)
    • getUpgrade

      @Nullable @Valid public @Valid AddOn getUpgrade()
      Get upgrade
      Returns:
      upgrade
    • setUpgrade

      public void setUpgrade(AddOn upgrade)
    • featuredImageIdentifier

      public UpgradeView featuredImageIdentifier(String featuredImageIdentifier)
    • getFeaturedImageIdentifier

      @Nullable public String getFeaturedImageIdentifier()
      Convenience method to easily access the featured image without having to go through the entire list of images. Defaults to placeholder image if no image is present.
      Returns:
      featuredImageIdentifier
    • setFeaturedImageIdentifier

      public void setFeaturedImageIdentifier(String featuredImageIdentifier)
    • 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