Skip to main content

authentik_client/models/
patched_settings_request_flags.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.3
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PatchedSettingsRequestFlags {
16    #[serde(rename = "enterprise_audit_include_expanded_diff")]
17    pub enterprise_audit_include_expanded_diff: bool,
18    #[serde(rename = "policies_buffered_access_view")]
19    pub policies_buffered_access_view: bool,
20    #[serde(rename = "flows_continuous_login")]
21    pub flows_continuous_login: bool,
22    #[serde(rename = "flows_refresh_others")]
23    pub flows_refresh_others: bool,
24}
25
26impl PatchedSettingsRequestFlags {
27    pub fn new(
28        enterprise_audit_include_expanded_diff: bool,
29        policies_buffered_access_view: bool,
30        flows_continuous_login: bool,
31        flows_refresh_others: bool,
32    ) -> PatchedSettingsRequestFlags {
33        PatchedSettingsRequestFlags {
34            enterprise_audit_include_expanded_diff,
35            policies_buffered_access_view,
36            flows_continuous_login,
37            flows_refresh_others,
38        }
39    }
40}