roboto.notifications.record#

Module Contents#

class roboto.notifications.record.NotificationRecord(/, **data)#

Bases: pydantic.BaseModel, roboto.notifications.validator.LifecycleStatusValidator

A wire-transmissible representation of a notification.

Parameters:

data (Any)

channels: list[roboto.notifications.validator.NotificationChannel] = None#
created: datetime.datetime#
lifecycle_status: dict[roboto.notifications.validator.NotificationChannel, str] = None#
modified: datetime.datetime#
notification_id: str#
notification_type: roboto.notifications.validator.NotificationType#
notifier_id: str#
org_id: str#
read_status: roboto.notifications.validator.ReadStatus#
user_id: str#