authentik-client 2026.2.2-rc2

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CurrentBrandFlags {
    #[serde(rename = "enterprise_audit_include_expanded_diff")]
    pub enterprise_audit_include_expanded_diff: bool,
    #[serde(rename = "policies_buffered_access_view")]
    pub policies_buffered_access_view: bool,
    #[serde(rename = "flows_continuous_login")]
    pub flows_continuous_login: bool,
    #[serde(rename = "flows_refresh_others")]
    pub flows_refresh_others: bool,
}

impl CurrentBrandFlags {
    pub fn new(
        enterprise_audit_include_expanded_diff: bool,
        policies_buffered_access_view: bool,
        flows_continuous_login: bool,
        flows_refresh_others: bool,
    ) -> CurrentBrandFlags {
        CurrentBrandFlags {
            enterprise_audit_include_expanded_diff,
            policies_buffered_access_view,
            flows_continuous_login,
            flows_refresh_others,
        }
    }
}