Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.72 KB

File metadata and controls

37 lines (28 loc) · 1.72 KB

NotificationTransportRequest

NotificationTransport Serializer

Properties

Name Type Description Notes
name str
mode NotificationTransportModeEnum [optional]
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_request import NotificationTransportRequest

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

# convert the object into a dict
notification_transport_request_dict = notification_transport_request_instance.to_dict()
# create an instance of NotificationTransportRequest from a dict
notification_transport_request_from_dict = NotificationTransportRequest.from_dict(notification_transport_request_dict)

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