Skip to main content

authentik_client/models/
flow_import_result.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/// FlowImportResult : Logs of an attempted flow import
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FlowImportResult {
17    #[serde(rename = "logs")]
18    pub logs: Vec<models::LogEvent>,
19    #[serde(rename = "success")]
20    pub success: bool,
21}
22
23impl FlowImportResult {
24    /// Logs of an attempted flow import
25    pub fn new(logs: Vec<models::LogEvent>, success: bool) -> FlowImportResult {
26        FlowImportResult { logs, success }
27    }
28}