Package travel.wink.sdk.extranet.model
Class NotificationView
java.lang.Object
travel.wink.sdk.extranet.model.NotificationView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-16T10:42:12.086235846+07:00[Asia/Bangkok]")
public class NotificationView
extends Object
NotificationView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotificationView(UUID id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid OffsetDateTimeDatetime this record was first created@Valid UUIDgetId()Unique document identifier@Valid OffsetDateTimeDatetime this record was last updated@Valid NotificationGet notificationVersion property that shows how many times this document has been persisted.inthashCode()notification(Notification notification) voidsetNotification(Notification notification) 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_NOTIFICATION
- See Also:
-
-
Constructor Details
-
NotificationView
public NotificationView() -
NotificationView
public NotificationView(UUID id, OffsetDateTime createdDate, OffsetDateTime 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
-
notification
-
getNotification
Get notification- Returns:
- notification
-
setNotification
-
equals
-
hashCode
public int hashCode() -
toString
-