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';
/**
*
* @export
* @interface NativeLiveMetric
*/
export interface NativeLiveMetric {
/**
*
* @type {number}
* @memberof NativeLiveMetric
*/
mean: number;
/**
*
* @type {number}
* @memberof NativeLiveMetric
*/
decisions: number;
}
/**
* Check if a given object implements the NativeLiveMetric interface.
*/
export function instanceOfNativeLiveMetric(value: object): value is NativeLiveMetric {
if (!('mean' in value) || value['mean'] === undefined) return false;
if (!('decisions' in value) || value['decisions'] === undefined) return false;
return true;
}
export function NativeLiveMetricFromJSON(json: any): NativeLiveMetric {
return NativeLiveMetricFromJSONTyped(json, false);
}
export function NativeLiveMetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): NativeLiveMetric {
if (json == null) {
return json;
}
return {
'mean': json['mean'],
'decisions': json['decisions'],
};
}
export function NativeLiveMetricToJSON(json: any): NativeLiveMetric {
return NativeLiveMetricToJSONTyped(json, false);
}
export function NativeLiveMetricToJSONTyped(value?: NativeLiveMetric | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'mean': value['mean'],
'decisions': value['decisions'],
};
}