Package travel.wink.sdk.affiliate.model
Class InventoryView
java.lang.Object
travel.wink.sdk.affiliate.model.InventoryView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:35:16.430198433+07:00[Asia/Bangkok]")
public class InventoryView
extends Object
InventoryView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInventoryView(UUID id, LocalDateTime createdDate, LocalDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionbooleanDatetime this record was first created@Valid UUIDgetId()Unique document identifier@Valid InventoryGet inventoryDatetime this record was last updatedVersion property that shows how many times this document has been persisted.inthashCode()voidsetInventory(Inventory inventory) 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_INVENTORY
- See Also:
-
-
Constructor Details
-
InventoryView
public InventoryView() -
InventoryView
-
-
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
-
inventory
-
getInventory
Get inventory- Returns:
- inventory
-
setInventory
-
equals
-
hashCode
public int hashCode() -
toString
-