Skip to content

The platform for continuously improving AI agents.

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


/**
 * * `requested` - Requested
 * * `sent` - Sent
 * * `applied` - Applied
 * * `rejected` - Rejected
 * @export
 */
export const TrainingControlStateEnum = {
    requested: 'requested',
    sent: 'sent',
    applied: 'applied',
    rejected: 'rejected'
} as const;
export type TrainingControlStateEnum = typeof TrainingControlStateEnum[keyof typeof TrainingControlStateEnum];


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

export function TrainingControlStateEnumFromJSON(json: any): TrainingControlStateEnum {
    return TrainingControlStateEnumFromJSONTyped(json, false);
}

export function TrainingControlStateEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrainingControlStateEnum {
    return json as TrainingControlStateEnum;
}

export function TrainingControlStateEnumToJSON(value?: TrainingControlStateEnum | null): any {
    return value as any;
}

export function TrainingControlStateEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): TrainingControlStateEnum {
    return value as TrainingControlStateEnum;
}