// 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 SamlBindingsEnum {
    #[serde(rename = "redirect")]
    Redirect,
    #[serde(rename = "post")]
    Post,
}

impl std::fmt::Display for SamlBindingsEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Redirect => write!(f, "redirect"),
            Self::Post => write!(f, "post"),
        }
    }
}

impl Default for SamlBindingsEnum {
    fn default() -> SamlBindingsEnum {
        Self::Redirect
    }
}
