Package travel.wink.sdk.affiliate.model
Class CompanyView
java.lang.Object
travel.wink.sdk.affiliate.model.CompanyView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:47:12.254493+07:00[Asia/Bangkok]")
public class CompanyView
extends Object
CompanyView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompanyView(String id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid CompanyGet company@Valid OffsetDateTimeDatetime this record was first createdgetId()Unique document identifier@Valid OffsetDateTimeDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidsetCompany(Company company) 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
-
CompanyView
public CompanyView() -
CompanyView
-
-
Method Details
-
getId
Unique document identifier- Returns:
- id
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
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
-
company
-
getCompany
Get company- Returns:
- company
-
setCompany
-
equals
-
hashCode
public int hashCode() -
toString
-