Skip to content

The platform for continuously improving AI agents.

1.3 KB
Raw Blame
/* tslint:disable */
/* eslint-disable */
/**
 * Overbae API
 * Backend API for the Overclaw / Overmind platform.
 *
 * The version of the OpenAPI document: 2.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * * `setup` - Setup
 * * `check` - Check
 * @export
 */
export const ReasonEnum = {
    setup: 'setup',
    check: 'check'
} as const;
export type ReasonEnum = typeof ReasonEnum[keyof typeof ReasonEnum];


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

export function ReasonEnumFromJSON(json: any): ReasonEnum {
    return ReasonEnumFromJSONTyped(json, false);
}

export function ReasonEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReasonEnum {
    return json as ReasonEnum;
}

export function ReasonEnumToJSON(value?: ReasonEnum | null): any {
    return value as any;
}

export function ReasonEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ReasonEnum {
    return value as ReasonEnum;
}