authentik_rust/models/
flow_diagram.rs

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