notification-service
Preparing search index...
domain/entity/Notification
Notification
Class Notification
Index
Properties
created
At
id
Accessors
failed
Reason
is
Read
message
read
At
sent
At
source
Id
state
Methods
equals
mark
As
Failed
mark
As
Read
mark
As
Sent
create
restore
Properties
Readonly
created
At
createdAt
:
Date
Readonly
id
id
:
NotificationId
Accessors
failed
Reason
get
failedReason
()
:
string
|
undefined
Returns
string
|
undefined
is
Read
get
isRead
()
:
boolean
Returns
boolean
message
get
message
()
:
NotificationMessage
Returns
NotificationMessage
read
At
get
readAt
()
:
Date
|
undefined
Returns
Date
|
undefined
sent
At
get
sentAt
()
:
Date
|
undefined
Returns
Date
|
undefined
source
Id
get
sourceId
()
:
string
Returns
string
state
get
state
()
:
NotificationState
Returns
NotificationState
Methods
equals
equals
(
other
:
Notification
)
:
boolean
Parameters
other
:
Notification
Returns
boolean
mark
As
Failed
markAsFailed
(
reason
:
string
)
:
void
Parameters
reason
:
string
Returns
void
mark
As
Read
markAsRead
()
:
void
Returns
void
mark
As
Sent
markAsSent
()
:
void
Returns
void
Static
create
create
(
id
:
NotificationId
,
sourceId
:
string
,
message
:
NotificationMessage
,
)
:
Notification
Parameters
id
:
NotificationId
sourceId
:
string
message
:
NotificationMessage
Returns
Notification
Static
restore
restore
(
id
:
NotificationId
,
sourceId
:
string
,
message
:
NotificationMessage
,
createdAt
:
Date
,
state
:
NotificationState
,
sentAt
?:
Date
,
failedReason
?:
string
,
readAt
?:
Date
,
)
:
Notification
Parameters
id
:
NotificationId
sourceId
:
string
message
:
NotificationMessage
createdAt
:
Date
state
:
NotificationState
Optional
sentAt
:
Date
Optional
failedReason
:
string
Optional
readAt
:
Date
Returns
Notification
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
created
At
id
Accessors
failed
Reason
is
Read
message
read
At
sent
At
source
Id
state
Methods
equals
mark
As
Failed
mark
As
Read
mark
As
Sent
create
restore
notification-service
Loading...