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_continuous_login")]
21 pub flows_continuous_login: bool,
22 #[serde(rename = "flows_refresh_others")]
23 pub flows_refresh_others: bool,
24}
25
26impl CurrentBrandFlags {
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 ) -> CurrentBrandFlags {
33 CurrentBrandFlags {
34 enterprise_audit_include_expanded_diff,
35 policies_buffered_access_view,
36 flows_continuous_login,
37 flows_refresh_others,
38 }
39 }
40}