Class NotificationAffiliate
java.lang.Object
travel.wink.sdk.notification.model.NotificationAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:21:25.585784289+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class NotificationAffiliate
extends Object
NotificationAffiliate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumApplication domainstatic enumImportance of messagestatic enumRecipient typestatic enumMessage type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(NotificationAffiliate.ApplicationEnum application) createdDate(LocalDateTime createdDate) booleanApplication domain@NotNull @Size(min=1) StringgetBody()Subject of messageDatetime this record was first created@NotNull @Size(min=1) StringPath to featuregetId()Document UUIDDatetime this record was last updatedMessage marked as removed@NotNull @Size(min=1) StringMessage templateAlso send email announcement@NotNull @Valid @Size(min=1) UUIDOwner identifier@NotNull NotificationAffiliate.PriorityEnumImportance of messagegetRead()AffiliateAccountLightweight read announcementRecipient type@NotNull @Size(min=1) StringSubject of message@NotNull NotificationAffiliate.TypeEnumgetType()Message typeVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) markedAsRemoved(Boolean markedAsRemoved) messageTemplateId(String messageTemplateId) notifyViaEmail(Boolean notifyViaEmail) ownerIdentifier(UUID ownerIdentifier) priority(NotificationAffiliate.PriorityEnum priority) recipientType(NotificationAffiliate.RecipientTypeEnum recipientType) voidsetApplication(NotificationAffiliate.ApplicationEnum application) voidvoidsetCreatedDate(LocalDateTime createdDate) voidvoidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetMarkedAsRemoved(Boolean markedAsRemoved) voidsetMessageTemplateId(String messageTemplateId) voidsetNotifyViaEmail(Boolean notifyViaEmail) voidsetOwnerIdentifier(UUID ownerIdentifier) voidvoidvoidsetRecipientType(NotificationAffiliate.RecipientTypeEnum recipientType) voidsetSubject(String subject) voidvoidsetVersion(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_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_RECIPIENT_TYPE
- See Also:
-
JSON_PROPERTY_APPLICATION
- See Also:
-
JSON_PROPERTY_MESSAGE_TEMPLATE_ID
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_CTA_URL
- See Also:
-
JSON_PROPERTY_READ
- See Also:
-
JSON_PROPERTY_MARKED_AS_REMOVED
- See Also:
-
JSON_PROPERTY_NOTIFY_VIA_EMAIL
- See Also:
-
-
Constructor Details
-
NotificationAffiliate
public NotificationAffiliate()
-
-
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
-
ownerIdentifier
-
getOwnerIdentifier
Owner identifier- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
priority
-
getPriority
Importance of message- Returns:
- priority
-
setPriority
-
type
-
getType
Message type- Returns:
- type
-
setType
-
recipientType
public NotificationAffiliate recipientType(@Nonnull NotificationAffiliate.RecipientTypeEnum recipientType) -
getRecipientType
Recipient type- Returns:
- recipientType
-
setRecipientType
-
application
public NotificationAffiliate application(@Nonnull NotificationAffiliate.ApplicationEnum application) -
getApplication
Application domain- Returns:
- application
-
setApplication
-
messageTemplateId
-
getMessageTemplateId
Message template- Returns:
- messageTemplateId
-
setMessageTemplateId
-
subject
-
getSubject
Subject of message- Returns:
- subject
-
setSubject
-
body
-
getBody
Subject of message- Returns:
- body
-
setBody
-
ctaUrl
-
getCtaUrl
Path to feature- Returns:
- ctaUrl
-
setCtaUrl
-
read
-
getRead
-
setRead
-
markedAsRemoved
-
getMarkedAsRemoved
-
setMarkedAsRemoved
-
notifyViaEmail
-
getNotifyViaEmail
-
setNotifyViaEmail
-
equals
-
hashCode
-
toString
-