/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.3
 * 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 RedirectURITypeEnum = {
    Authorization: "authorization",
    Logout: "logout",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type RedirectURITypeEnum = (typeof RedirectURITypeEnum)[keyof typeof RedirectURITypeEnum];

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

export function RedirectURITypeEnumFromJSON(json: any): RedirectURITypeEnum {
    return RedirectURITypeEnumFromJSONTyped(json, false);
}

export function RedirectURITypeEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): RedirectURITypeEnum {
    return json as RedirectURITypeEnum;
}

export function RedirectURITypeEnumToJSON(value?: RedirectURITypeEnum | null): any {
    return value as any;
}

export function RedirectURITypeEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): RedirectURITypeEnum {
    return value as RedirectURITypeEnum;
}
