pyams_notify.interfaces package ⊞¶
-
interface
pyams_notify.interfaces.INotification[source]¶ Notification interface
-
action¶ Notification action
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
category¶ Notification category
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
title¶ Notification title
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
message¶ Notification message
Implementation: zope.schema.TextRead Only: False Required: True Default Value: None Allowed Type: str
-
source¶ Notification source
Attributes of the principal which emitted the notification
Implementation: zope.schema.DictRead Only: False Required: True Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: strValue Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
target¶ Notification target
Notification targets (principals, roles…)
Implementation: zope.schema.DictRead Only: False Required: True Default Value: None Allowed Type: dictKey Type
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
url¶ Notification URL
URL targetted by this notification
Implementation: zope.schema.TextLineRead Only: False Required: False Default Value: None Allowed Type: str
-
timestamp¶ Notification timestamp
Implementation: zope.schema.TextLineRead Only: False Required: True Default Value: None Allowed Type: str
-
user_data¶ User data
Implementation: zope.schema.DictRead Only: False Required: True Default Value: None Allowed Type: dict
-
send(self)¶ Send notification to recipients
-