/* 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 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;
}
