/* 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 LicenseFlagsEnum = {
    Trial: "trial",
    NonProduction: "non_production",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type LicenseFlagsEnum = (typeof LicenseFlagsEnum)[keyof typeof LicenseFlagsEnum];

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

export function LicenseFlagsEnumFromJSON(json: any): LicenseFlagsEnum {
    return LicenseFlagsEnumFromJSONTyped(json, false);
}

export function LicenseFlagsEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): LicenseFlagsEnum {
    return json as LicenseFlagsEnum;
}

export function LicenseFlagsEnumToJSON(value?: LicenseFlagsEnum | null): any {
    return value as any;
}

export function LicenseFlagsEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): LicenseFlagsEnum {
    return value as LicenseFlagsEnum;
}
