authentik_rust/models/
patched_notification_webhook_mapping_request.rs1use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PatchedNotificationWebhookMappingRequest {
16 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
17 pub name: Option<String>,
18 #[serde(rename = "expression", skip_serializing_if = "Option::is_none")]
19 pub expression: Option<String>,
20}
21
22impl PatchedNotificationWebhookMappingRequest {
23 pub fn new() -> PatchedNotificationWebhookMappingRequest {
25 PatchedNotificationWebhookMappingRequest {
26 name: None,
27 expression: None,
28 }
29 }
30}
31