Skip to main content

nexla_sdk.models.notifications

Classes

Notification

Defined in nexla_sdk/models/notifications/responses.py:8

Notification response model.

Fields:

  • id: int
  • owner: Owner
  • org: Organization
  • access_roles: List
  • level: str
  • resource_id: int
  • resource_type: str
  • message_id: int
  • message: str
  • read_at: Optional
  • created_at: Optional
  • updated_at: Optional

NotificationChannelSetting

Defined in nexla_sdk/models/notifications/responses.py:37

Notification channel configuration.

Fields:

  • id: int
  • owner_id: int
  • org_id: int
  • channel: str
  • config: Dict

NotificationChannelSettingCreate

Defined in nexla_sdk/models/notifications/requests.py:6

Request model for creating notification channel setting.

Fields:

  • channel: str
  • config: Dict

NotificationChannelSettingUpdate

Defined in nexla_sdk/models/notifications/requests.py:12

Request model for updating notification channel setting.

Fields:

  • channel: Optional
  • config: Optional

NotificationCount

Defined in nexla_sdk/models/notifications/responses.py:67

Notification count response.

Fields:

  • count: int

NotificationSetting

Defined in nexla_sdk/models/notifications/responses.py:46

Notification setting configuration.

Fields:

  • id: int
  • org_id: int
  • owner_id: int
  • channel: str
  • notification_resource_type: str
  • resource_id: int
  • status: str
  • notification_type_id: int
  • name: str
  • description: str
  • code: int
  • category: str
  • event_type: str
  • resource_type: str
  • config: Dict
  • priority: Optional

NotificationSettingCreate

Defined in nexla_sdk/models/notifications/requests.py:18

Request model for creating notification setting.

Fields:

  • channel: str
  • notification_type_id: int
  • status: Optional
  • config: Dict
  • notification_resource_type: Optional
  • resource_id: Optional
  • notification_channel_setting_id: Optional

NotificationSettingUpdate

Defined in nexla_sdk/models/notifications/requests.py:29

Request model for updating notification setting.

Fields:

  • channel: Optional
  • status: Optional
  • config: Optional
  • notification_resource_type: Optional
  • resource_id: Optional
  • checked: Optional
  • notification_channel_setting_id: Optional
  • notification_type_id: Optional

NotificationType

Defined in nexla_sdk/models/notifications/responses.py:25

Notification type information.

Fields:

  • id: int
  • name: str
  • description: str
  • category: str
  • default: bool
  • status: bool
  • event_type: str
  • resource_type: str