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 JudgeOptionRequest
*/
export interface JudgeOptionRequest {
/**
*
* @type {string}
* @memberof JudgeOptionRequest
*/
label: string;
/**
*
* @type {number}
* @memberof JudgeOptionRequest
*/
score: number;
}
/**
* Check if a given object implements the JudgeOptionRequest interface.
*/
export function instanceOfJudgeOptionRequest(value: object): value is JudgeOptionRequest {
if (!('label' in value) || value['label'] === undefined) return false;
if (!('score' in value) || value['score'] === undefined) return false;
return true;
}
export function JudgeOptionRequestFromJSON(json: any): JudgeOptionRequest {
return JudgeOptionRequestFromJSONTyped(json, false);
}
export function JudgeOptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): JudgeOptionRequest {
if (json == null) {
return json;
}
return {
'label': json['label'],
'score': json['score'],
};
}
export function JudgeOptionRequestToJSON(json: any): JudgeOptionRequest {
return JudgeOptionRequestToJSONTyped(json, false);
}
export function JudgeOptionRequestToJSONTyped(value?: JudgeOptionRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'label': value['label'],
'score': value['score'],
};
}