Skip to content

Notification

Module superwise.models.notification

This module implement Notification model

Classes

Notification(id: int = None, name: str = None, type: str = None, notification_metadata=None, created_at: <module 'datetime' from '/usr/local/lib/python3.7/datetime.py'> = None, last_delivery_status=None, last_delivery_ts: <module 'datetime' from '/usr/local/lib/python3.7/datetime.py'> = None, is_enabled: bool = True, is_hide: bool = False, **kwargs) Notification model class

Description:

Constructor for Notification class

Args:

id: id of model

type: type of the notification

name: name of notification

last_delivery_ts: description for the model

notification_metadata:

created_at:

Ancestors (in MRO)

  • superwise.models.base.BaseModel