/* 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 ClientTypeEnum = {
    Confidential: "confidential",
    Public: "public",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type ClientTypeEnum = (typeof ClientTypeEnum)[keyof typeof ClientTypeEnum];

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

export function ClientTypeEnumFromJSON(json: any): ClientTypeEnum {
    return ClientTypeEnumFromJSONTyped(json, false);
}

export function ClientTypeEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): ClientTypeEnum {
    return json as ClientTypeEnum;
}

export function ClientTypeEnumToJSON(value?: ClientTypeEnum | null): any {
    return value as any;
}

export function ClientTypeEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): ClientTypeEnum {
    return value as ClientTypeEnum;
}
