Notification

@Serializable
data class Notification(val notificationId: String, val type: NotificationType, val createdAt: Instant, val account: Account, val status: Status? = null) : Pageable

Represents a notification of an event relevant to the user.

Constructors

Link copied to clipboard
constructor(notificationId: String, type: NotificationType, createdAt: Instant, account: Account, status: Status? = null)

Properties

Link copied to clipboard

The account that performed the action that generated the notification.

Link copied to clipboard
val createdAt: Instant

The time of this notification.

Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
val status: Status? = null

Status that was the object of the notification, if relevant.

Link copied to clipboard

The type of event that resulted in the notification.