Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.69 KB

File metadata and controls

34 lines (25 loc) · 1.69 KB

NotificationRuleRequest

NotificationRule Serializer

Properties

Name Type Description Notes
name str
transports List[UUID] Select which transports should be used to notify the user. If none are selected, the notification will only be shown in the authentik UI. [optional]
severity SeverityEnum Controls which severity level the created notifications will have. [optional]
destination_group UUID Define which group of users this notification should be sent and shown to. If left empty, Notification won't ben sent. [optional]
destination_event_user bool When enabled, notification will be sent to user the user that triggered the event.When destination_group is configured, notification is sent to both. [optional]

Example

from authentik_client.models.notification_rule_request import NotificationRuleRequest

# TODO update the JSON string below
json = "{}"
# create an instance of NotificationRuleRequest from a JSON string
notification_rule_request_instance = NotificationRuleRequest.from_json(json)
# print the JSON string representation of the object
print(NotificationRuleRequest.to_json())

# convert the object into a dict
notification_rule_request_dict = notification_rule_request_instance.to_dict()
# create an instance of NotificationRuleRequest from a dict
notification_rule_request_from_dict = NotificationRuleRequest.from_dict(notification_rule_request_dict)

[Back to Model list] [Back to API list] [Back to README]