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 { CheckpointFile } from './CheckpointFile';
import {
CheckpointFileFromJSON,
CheckpointFileFromJSONTyped,
CheckpointFileToJSON,
CheckpointFileToJSONTyped,
} from './CheckpointFile';
/**
*
* @export
* @interface ModelCheckpoints
*/
export interface ModelCheckpoints {
/**
*
* @type {Array<CheckpointFile>}
* @memberof ModelCheckpoints
*/
files: Array<CheckpointFile>;
}
/**
* Check if a given object implements the ModelCheckpoints interface.
*/
export function instanceOfModelCheckpoints(value: object): value is ModelCheckpoints {
if (!('files' in value) || value['files'] === undefined) return false;
return true;
}
export function ModelCheckpointsFromJSON(json: any): ModelCheckpoints {
return ModelCheckpointsFromJSONTyped(json, false);
}
export function ModelCheckpointsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelCheckpoints {
if (json == null) {
return json;
}
return {
'files': ((json['files'] as Array<any>).map(CheckpointFileFromJSON)),
};
}
export function ModelCheckpointsToJSON(json: any): ModelCheckpoints {
return ModelCheckpointsToJSONTyped(json, false);
}
export function ModelCheckpointsToJSONTyped(value?: ModelCheckpoints | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'files': ((value['files'] as Array<any>).map(CheckpointFileToJSON)),
};
}