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