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.1
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_refresh_others")]
21    pub flows_refresh_others: bool,
22}
23
24impl PatchedSettingsRequestFlags {
25    pub fn new(
26        enterprise_audit_include_expanded_diff: bool,
27        policies_buffered_access_view: bool,
28        flows_refresh_others: bool,
29    ) -> PatchedSettingsRequestFlags {
30        PatchedSettingsRequestFlags {
31            enterprise_audit_include_expanded_diff,
32            policies_buffered_access_view,
33            flows_refresh_others,
34        }
35    }
36}