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 { FinetuningJobList } from './FinetuningJobList';
import {
FinetuningJobListFromJSON,
FinetuningJobListFromJSONTyped,
FinetuningJobListToJSON,
FinetuningJobListToJSONTyped,
} from './FinetuningJobList';
/**
*
* @export
* @interface DecisionJobList
*/
export interface DecisionJobList {
/**
*
* @type {string}
* @memberof DecisionJobList
*/
readonly id: string;
/**
*
* @type {string}
* @memberof DecisionJobList
*/
readonly model: string;
/**
*
* @type {string}
* @memberof DecisionJobList
*/
readonly status: string;
/**
*
* @type {FinetuningJobList}
* @memberof DecisionJobList
*/
readonly trainingRun: FinetuningJobList;
/**
*
* @type {Date}
* @memberof DecisionJobList
*/
readonly createdAt: Date;
}
/**
* Check if a given object implements the DecisionJobList interface.
*/
export function instanceOfDecisionJobList(value: object): value is DecisionJobList {
if (!('id' in value) || value['id'] === undefined) return false;
if (!('model' in value) || value['model'] === undefined) return false;
if (!('status' in value) || value['status'] === undefined) return false;
if (!('trainingRun' in value) || value['trainingRun'] === undefined) return false;
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
return true;
}
export function DecisionJobListFromJSON(json: any): DecisionJobList {
return DecisionJobListFromJSONTyped(json, false);
}
export function DecisionJobListFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionJobList {
if (json == null) {
return json;
}
return {
'id': json['id'],
'model': json['model'],
'status': json['status'],
'trainingRun': FinetuningJobListFromJSON(json['training_run']),
'createdAt': (new Date(json['created_at'])),
};
}
export function DecisionJobListToJSON(json: any): DecisionJobList {
return DecisionJobListToJSONTyped(json, false);
}
export function DecisionJobListToJSONTyped(value?: Omit<DecisionJobList, 'id'|'model'|'status'|'training_run'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
};
}