Class CompanyViewAgent

java.lang.Object
travel.wink.sdk.travel.agent.model.CompanyViewAgent

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:46:07.843023788+07:00[Asia/Bangkok]") public class CompanyViewAgent extends Object
CompanyViewAgent
  • Field Details

  • Constructor Details

    • CompanyViewAgent

      public CompanyViewAgent()
  • Method Details

    • id

      public CompanyViewAgent id(String id)
    • getId

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

      public void setId(String id)
    • createdDate

      public CompanyViewAgent 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 CompanyViewAgent 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 CompanyViewAgent 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)
    • company

      public CompanyViewAgent company(CompanyAgent company)
    • getCompany

      @Nonnull @NotNull @Valid public @NotNull @Valid CompanyAgent getCompany()
      Get company
      Returns:
      company
    • setCompany

      public void setCompany(CompanyAgent company)
    • 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