The platform for continuously improving AI agents.
/* 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.
*/
import { mapValues } from '../runtime';
import type { Fit } from './Fit';
import {
FitFromJSON,
FitFromJSONTyped,
FitToJSON,
FitToJSONTyped,
} from './Fit';
/**
*
* @export
* @interface CellFit
*/
export interface CellFit {
/**
*
* @type {Fit}
* @memberof CellFit
*/
sft: Fit;
/**
*
* @type {Fit}
* @memberof CellFit
*/
decision: Fit;
/**
*
* @type {Fit}
* @memberof CellFit
*/
eval: Fit;
}
/**
* Check if a given object implements the CellFit interface.
*/
export function instanceOfCellFit(value: object): value is CellFit {
if (!('sft' in value) || value['sft'] === undefined) return false;
if (!('decision' in value) || value['decision'] === undefined) return false;
if (!('eval' in value) || value['eval'] === undefined) return false;
return true;
}
export function CellFitFromJSON(json: any): CellFit {
return CellFitFromJSONTyped(json, false);
}
export function CellFitFromJSONTyped(json: any, ignoreDiscriminator: boolean): CellFit {
if (json == null) {
return json;
}
return {
'sft': FitFromJSON(json['sft']),
'decision': FitFromJSON(json['decision']),
'eval': FitFromJSON(json['eval']),
};
}
export function CellFitToJSON(json: any): CellFit {
return CellFitToJSONTyped(json, false);
}
export function CellFitToJSONTyped(value?: CellFit | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'sft': FitToJSON(value['sft']),
'decision': FitToJSON(value['decision']),
'eval': FitToJSON(value['eval']),
};
}