Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.79 KB

File metadata and controls

34 lines (25 loc) · 1.79 KB

PatchedNotificationRuleRequest

NotificationRule Serializer

Properties

Name Type Description Notes
name str [optional]
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.patched_notification_rule_request import PatchedNotificationRuleRequest

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

# convert the object into a dict
patched_notification_rule_request_dict = patched_notification_rule_request_instance.to_dict()
# create an instance of PatchedNotificationRuleRequest from a dict
patched_notification_rule_request_from_dict = PatchedNotificationRuleRequest.from_dict(patched_notification_rule_request_dict)

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