authentik_client/models/
notification_transport_test.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2025.10.2
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// NotificationTransportTest : Notification test serializer
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct NotificationTransportTest {
17    #[serde(rename = "messages")]
18    pub messages: Vec<String>,
19}
20
21impl NotificationTransportTest {
22    /// Notification test serializer
23    pub fn new(messages: Vec<String>) -> NotificationTransportTest {
24        NotificationTransportTest { messages }
25    }
26}