/* 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 DeniedActionEnum = {
    MessageContinue: "message_continue",
    Message: "message",
    Continue: "continue",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type DeniedActionEnum = (typeof DeniedActionEnum)[keyof typeof DeniedActionEnum];

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

export function DeniedActionEnumFromJSON(json: any): DeniedActionEnum {
    return DeniedActionEnumFromJSONTyped(json, false);
}

export function DeniedActionEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): DeniedActionEnum {
    return json as DeniedActionEnum;
}

export function DeniedActionEnumToJSON(value?: DeniedActionEnum | null): any {
    return value as any;
}

export function DeniedActionEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): DeniedActionEnum {
    return value as DeniedActionEnum;
}
