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

use serde::{Deserialize, Serialize};

use crate::models;

///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum ContextualFlowInfoLayoutEnum {
    #[serde(rename = "stacked")]
    Stacked,
    #[serde(rename = "content_left")]
    ContentLeft,
    #[serde(rename = "content_right")]
    ContentRight,
    #[serde(rename = "sidebar_left")]
    SidebarLeft,
    #[serde(rename = "sidebar_right")]
    SidebarRight,
    #[serde(rename = "sidebar_left_frame_background")]
    SidebarLeftFrameBackground,
    #[serde(rename = "sidebar_right_frame_background")]
    SidebarRightFrameBackground,
}

impl std::fmt::Display for ContextualFlowInfoLayoutEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Stacked => write!(f, "stacked"),
            Self::ContentLeft => write!(f, "content_left"),
            Self::ContentRight => write!(f, "content_right"),
            Self::SidebarLeft => write!(f, "sidebar_left"),
            Self::SidebarRight => write!(f, "sidebar_right"),
            Self::SidebarLeftFrameBackground => write!(f, "sidebar_left_frame_background"),
            Self::SidebarRightFrameBackground => write!(f, "sidebar_right_frame_background"),
        }
    }
}

impl Default for ContextualFlowInfoLayoutEnum {
    fn default() -> ContextualFlowInfoLayoutEnum {
        Self::Stacked
    }
}
