/* 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 SpBindingEnum = {
    Redirect: 'redirect',
    Post: 'post',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type SpBindingEnum = typeof SpBindingEnum[keyof typeof SpBindingEnum];


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

export function SpBindingEnumFromJSON(json: any): SpBindingEnum {
    return SpBindingEnumFromJSONTyped(json, false);
}

export function SpBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpBindingEnum {
    return json as SpBindingEnum;
}

export function SpBindingEnumToJSON(value?: SpBindingEnum | null): any {
    return value as any;
}

export function SpBindingEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): SpBindingEnum {
    return value as SpBindingEnum;
}

