Skip to content

The platform for continuously improving AI agents.

1.4 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.
 */


/**
 * * `high` - high
 * * `medium` - medium
 * * `low` - low
 * * `none` - none
 * @export
 */
export const ConfidenceEnum = {
    high: 'high',
    medium: 'medium',
    low: 'low',
    none: 'none'
} as const;
export type ConfidenceEnum = typeof ConfidenceEnum[keyof typeof ConfidenceEnum];


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

export function ConfidenceEnumFromJSON(json: any): ConfidenceEnum {
    return ConfidenceEnumFromJSONTyped(json, false);
}

export function ConfidenceEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfidenceEnum {
    return json as ConfidenceEnum;
}

export function ConfidenceEnumToJSON(value?: ConfidenceEnum | null): any {
    return value as any;
}

export function ConfidenceEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ConfidenceEnum {
    return value as ConfidenceEnum;
}