// 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 OutpostTypeEnum {
    #[serde(rename = "proxy")]
    Proxy,
    #[serde(rename = "ldap")]
    Ldap,
    #[serde(rename = "radius")]
    Radius,
    #[serde(rename = "rac")]
    Rac,
}

impl std::fmt::Display for OutpostTypeEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Proxy => write!(f, "proxy"),
            Self::Ldap => write!(f, "ldap"),
            Self::Radius => write!(f, "radius"),
            Self::Rac => write!(f, "rac"),
        }
    }
}

impl Default for OutpostTypeEnum {
    fn default() -> OutpostTypeEnum {
        Self::Proxy
    }
}
