/* 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 KadminTypeEnum = {
    Mit: "MIT",
    Heimdal: "Heimdal",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type KadminTypeEnum = (typeof KadminTypeEnum)[keyof typeof KadminTypeEnum];

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

export function KadminTypeEnumFromJSON(json: any): KadminTypeEnum {
    return KadminTypeEnumFromJSONTyped(json, false);
}

export function KadminTypeEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): KadminTypeEnum {
    return json as KadminTypeEnum;
}

export function KadminTypeEnumToJSON(value?: KadminTypeEnum | null): any {
    return value as any;
}

export function KadminTypeEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): KadminTypeEnum {
    return value as KadminTypeEnum;
}
