authentik_client/models/
current_brand_flags.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CurrentBrandFlags {
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 CurrentBrandFlags {
25 pub fn new(
26 enterprise_audit_include_expanded_diff: bool,
27 policies_buffered_access_view: bool,
28 flows_refresh_others: bool,
29 ) -> CurrentBrandFlags {
30 CurrentBrandFlags {
31 enterprise_audit_include_expanded_diff,
32 policies_buffered_access_view,
33 flows_refresh_others,
34 }
35 }
36}