Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.73 KB

File metadata and controls

39 lines (30 loc) · 1.73 KB

NotificationTransport

NotificationTransport Serializer

Properties

Name Type Description Notes
pk UUID [readonly]
name str
mode NotificationTransportModeEnum [optional]
mode_verbose str Return selected mode with a UI Label [readonly]
webhook_url str [optional]
webhook_mapping_body UUID Customize the body of the request. Mapping should return data that is JSON-serializable. [optional]
webhook_mapping_headers UUID Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs [optional]
email_subject_prefix str [optional]
email_template str [optional]
send_once bool Only send notification once, for example when sending a webhook into a chat channel. [optional]

Example

from authentik_client.models.notification_transport import NotificationTransport

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

# convert the object into a dict
notification_transport_dict = notification_transport_instance.to_dict()
# create an instance of NotificationTransport from a dict
notification_transport_from_dict = NotificationTransport.from_dict(notification_transport_dict)

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