Class CompanyViewAgent
java.lang.Object
travel.wink.sdk.travel.agent.model.CompanyViewAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-04T20:31:25.199072978+07:00[Asia/Bangkok]")
public class CompanyViewAgent
extends Object
CompanyViewAgent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompany(CompanyAgent company) createdDate(LocalDateTime createdDate) boolean@NotNull @Valid CompanyAgentGet companyDatetime this record was first createdgetId()Document UUIDDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) voidsetCompany(CompanyAgent company) voidsetCreatedDate(LocalDateTime createdDate) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetVersion(Long version) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_COMPANY
- See Also:
-
-
Constructor Details
-
CompanyViewAgent
public CompanyViewAgent()
-
-
Method Details
-
id
-
getId
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
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
-
company
-
getCompany
Get company- Returns:
- company
-
setCompany
-
equals
-
hashCode
-
toString
-