/* 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 SeverityEnum = {
    Notice: "notice",
    Warning: "warning",
    Alert: "alert",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type SeverityEnum = (typeof SeverityEnum)[keyof typeof SeverityEnum];

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

export function SeverityEnumFromJSON(json: any): SeverityEnum {
    return SeverityEnumFromJSONTyped(json, false);
}

export function SeverityEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeverityEnum {
    return json as SeverityEnum;
}

export function SeverityEnumToJSON(value?: SeverityEnum | null): any {
    return value as any;
}

export function SeverityEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): SeverityEnum {
    return value as SeverityEnum;
}
