/* 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 RedirectStageModeEnum = {
    Static: 'static',
    Flow: 'flow',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type RedirectStageModeEnum = typeof RedirectStageModeEnum[keyof typeof RedirectStageModeEnum];


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

export function RedirectStageModeEnumFromJSON(json: any): RedirectStageModeEnum {
    return RedirectStageModeEnumFromJSONTyped(json, false);
}

export function RedirectStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageModeEnum {
    return json as RedirectStageModeEnum;
}

export function RedirectStageModeEnumToJSON(value?: RedirectStageModeEnum | null): any {
    return value as any;
}

export function RedirectStageModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): RedirectStageModeEnum {
    return value as RedirectStageModeEnum;
}

