/* 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 LifecycleIterationStateEnum = {
    Reviewed: "REVIEWED",
    Pending: "PENDING",
    Overdue: "OVERDUE",
    Canceled: "CANCELED",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type LifecycleIterationStateEnum =
    (typeof LifecycleIterationStateEnum)[keyof typeof LifecycleIterationStateEnum];

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

export function LifecycleIterationStateEnumFromJSON(json: any): LifecycleIterationStateEnum {
    return LifecycleIterationStateEnumFromJSONTyped(json, false);
}

export function LifecycleIterationStateEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): LifecycleIterationStateEnum {
    return json as LifecycleIterationStateEnum;
}

export function LifecycleIterationStateEnumToJSON(value?: LifecycleIterationStateEnum | null): any {
    return value as any;
}

export function LifecycleIterationStateEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): LifecycleIterationStateEnum {
    return value as LifecycleIterationStateEnum;
}
