/* 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 BlueprintInstanceStatusEnum = {
    Successful: "successful",
    Warning: "warning",
    Error: "error",
    Orphaned: "orphaned",
    Unknown: "unknown",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type BlueprintInstanceStatusEnum =
    (typeof BlueprintInstanceStatusEnum)[keyof typeof BlueprintInstanceStatusEnum];

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

export function BlueprintInstanceStatusEnumFromJSON(json: any): BlueprintInstanceStatusEnum {
    return BlueprintInstanceStatusEnumFromJSONTyped(json, false);
}

export function BlueprintInstanceStatusEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): BlueprintInstanceStatusEnum {
    return json as BlueprintInstanceStatusEnum;
}

export function BlueprintInstanceStatusEnumToJSON(value?: BlueprintInstanceStatusEnum | null): any {
    return value as any;
}

export function BlueprintInstanceStatusEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): BlueprintInstanceStatusEnum {
    return value as BlueprintInstanceStatusEnum;
}
