authentik-client 2026.5.0-rc2

Making authentication simple.
Documentation
/*
 * authentik
 *
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.0-rc2
 * Contact: hello@goauthentik.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// BlueprintImportResult : Logs of an attempted blueprint import
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BlueprintImportResult {
    #[serde(rename = "logs")]
    pub logs: Vec<models::LogEvent>,
    #[serde(rename = "success")]
    pub success: bool,
}

impl BlueprintImportResult {
    /// Logs of an attempted blueprint import
    pub fn new(logs: Vec<models::LogEvent>, success: bool) -> BlueprintImportResult {
        BlueprintImportResult { logs, success }
    }
}