/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * 
 * @export
 */
export const SAMLNameIDPolicyEnum = {
    UrnOasisNamesTcSaml11NameidFormatEmailAddress: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
    UrnOasisNamesTcSaml20NameidFormatPersistent: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
    UrnOasisNamesTcSaml11NameidFormatX509SubjectName: 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName',
    UrnOasisNamesTcSaml20NameidFormatWindowsDomainQualifiedName: 'urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName',
    UrnOasisNamesTcSaml20NameidFormatTransient: 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient',
    UrnOasisNamesTcSaml11NameidFormatUnspecified: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type SAMLNameIDPolicyEnum = typeof SAMLNameIDPolicyEnum[keyof typeof SAMLNameIDPolicyEnum];


export function instanceOfSAMLNameIDPolicyEnum(value: any): boolean {
    for (const key in SAMLNameIDPolicyEnum) {
        if (Object.prototype.hasOwnProperty.call(SAMLNameIDPolicyEnum, key)) {
            if (SAMLNameIDPolicyEnum[key as keyof typeof SAMLNameIDPolicyEnum] === value) {
                return true;
            }
        }
    }
    return false;
}

export function SAMLNameIDPolicyEnumFromJSON(json: any): SAMLNameIDPolicyEnum {
    return SAMLNameIDPolicyEnumFromJSONTyped(json, false);
}

export function SAMLNameIDPolicyEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SAMLNameIDPolicyEnum {
    return json as SAMLNameIDPolicyEnum;
}

export function SAMLNameIDPolicyEnumToJSON(value?: SAMLNameIDPolicyEnum | null): any {
    return value as any;
}

export function SAMLNameIDPolicyEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): SAMLNameIDPolicyEnum {
    return value as SAMLNameIDPolicyEnum;
}

