/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.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 SAMLBindingsEnum = {
    Redirect: "redirect",
    Post: "post",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type SAMLBindingsEnum = (typeof SAMLBindingsEnum)[keyof typeof SAMLBindingsEnum];

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

export function SAMLBindingsEnumFromJSON(json: any): SAMLBindingsEnum {
    return SAMLBindingsEnumFromJSONTyped(json, false);
}

export function SAMLBindingsEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): SAMLBindingsEnum {
    return json as SAMLBindingsEnum;
}

export function SAMLBindingsEnumToJSON(value?: SAMLBindingsEnum | null): any {
    return value as any;
}

export function SAMLBindingsEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): SAMLBindingsEnum {
    return value as SAMLBindingsEnum;
}
