Package travel.wink.sdk.extranet.model
Class ScheduleItemViewSupplier
java.lang.Object
travel.wink.sdk.extranet.model.ScheduleItemViewSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:46:48.127304372+07:00[Asia/Bangkok]")
public class ScheduleItemViewSupplier
extends Object
ScheduleItemViewSupplier
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduleItemViewSupplier(UUID id, LocalDateTime createdDate, LocalDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptiondata(ScheduleItemSupplier data) booleanDatetime this record was first created@NotNull @Valid ScheduleItemSuppliergetData()Get data@Valid UUIDgetId()Unique document identifierDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidsetData(ScheduleItemSupplier data) 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_DATA
- See Also:
-
-
Constructor Details
-
ScheduleItemViewSupplier
public ScheduleItemViewSupplier() -
ScheduleItemViewSupplier
public ScheduleItemViewSupplier(UUID id, LocalDateTime createdDate, LocalDateTime lastUpdate, Long version)
-
-
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
-
data
-
getData
Get data- Returns:
- data
-
setData
-
equals
-
hashCode
public int hashCode() -
toString
-