/* 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 LogLevelEnum = {
    Critical: "critical",
    Exception: "exception",
    Error: "error",
    Warn: "warn",
    Warning: "warning",
    Info: "info",
    Debug: "debug",
    Notset: "notset",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type LogLevelEnum = (typeof LogLevelEnum)[keyof typeof LogLevelEnum];

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

export function LogLevelEnumFromJSON(json: any): LogLevelEnum {
    return LogLevelEnumFromJSONTyped(json, false);
}

export function LogLevelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogLevelEnum {
    return json as LogLevelEnum;
}

export function LogLevelEnumToJSON(value?: LogLevelEnum | null): any {
    return value as any;
}

export function LogLevelEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): LogLevelEnum {
    return value as LogLevelEnum;
}
