Class StaticListAffiliate

java.lang.Object
travel.wink.sdk.affiliate.browse.model.StaticListAffiliate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class StaticListAffiliate extends Object
StaticListAffiliate
  • Field Details

  • Constructor Details

    • StaticListAffiliate

      public StaticListAffiliate()
  • Method Details

    • id

      public StaticListAffiliate id(@Nullable String id)
    • getId

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

      public void setId(@Nullable String id)
    • createdDate

      public StaticListAffiliate createdDate(@Nullable LocalDateTime createdDate)
    • getCreatedDate

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

      public void setCreatedDate(@Nullable LocalDateTime createdDate)
    • lastUpdate

      public StaticListAffiliate lastUpdate(@Nullable LocalDateTime lastUpdate)
    • getLastUpdate

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

      public void setLastUpdate(@Nullable LocalDateTime lastUpdate)
    • version

      public StaticListAffiliate version(@Nullable 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(@Nullable Long version)
    • ownerIdentifier

      public StaticListAffiliate ownerIdentifier(@Nonnull UUID ownerIdentifier)
    • getOwnerIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getOwnerIdentifier()
      List creator
      Returns:
      ownerIdentifier
    • setOwnerIdentifier

      public void setOwnerIdentifier(@Nonnull UUID ownerIdentifier)
    • name

      public StaticListAffiliate name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Name of curated list
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • type

    • getType

      @Nonnull @NotNull public @NotNull StaticListAffiliate.TypeEnum getType()
      Every affiliate starts out with a `Favorite` list. All other lists will be of type `NORMAL`
      Returns:
      type
    • setType

      public void setType(@Nonnull StaticListAffiliate.TypeEnum type)
    • 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