Class AttractionView

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

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

  • Constructor Details

    • AttractionView

      public AttractionView()
  • Method Details

    • id

      public AttractionView id(String id)
    • getId

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

      public void setId(String id)
    • createdDate

      public AttractionView 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 AttractionView 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 AttractionView 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)
    • attraction

      public AttractionView attraction(Attraction attraction)
    • getAttraction

      @Nonnull @NotNull @Valid public @NotNull @Valid Attraction getAttraction()
      Get attraction
      Returns:
      attraction
    • setAttraction

      public void setAttraction(Attraction attraction)
    • featuredImageIdentifier

      public AttractionView featuredImageIdentifier(String featuredImageIdentifier)
    • getFeaturedImageIdentifier

      @Nullable public String getFeaturedImageIdentifier()
      Get featuredImageIdentifier
      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