Skip to content

The platform for continuously improving AI agents.

2.1 KB
Raw Blame
/* 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 NativeEvaluationRequestRequest
 */
export interface NativeEvaluationRequestRequest {
    /**
     *
     * @type {string}
     * @memberof NativeEvaluationRequestRequest
     */
    calibrationCell: string;
    /**
     *
     * @type {string}
     * @memberof NativeEvaluationRequestRequest
     */
    finalCell: string;
}

/**
 * Check if a given object implements the NativeEvaluationRequestRequest interface.
 */
export function instanceOfNativeEvaluationRequestRequest(value: object): value is NativeEvaluationRequestRequest {
    if (!('calibrationCell' in value) || value['calibrationCell'] === undefined) return false;
    if (!('finalCell' in value) || value['finalCell'] === undefined) return false;
    return true;
}

export function NativeEvaluationRequestRequestFromJSON(json: any): NativeEvaluationRequestRequest {
    return NativeEvaluationRequestRequestFromJSONTyped(json, false);
}

export function NativeEvaluationRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NativeEvaluationRequestRequest {
    if (json == null) {
        return json;
    }
    return {

        'calibrationCell': json['calibration_cell'],
        'finalCell': json['final_cell'],
    };
}

export function NativeEvaluationRequestRequestToJSON(json: any): NativeEvaluationRequestRequest {
    return NativeEvaluationRequestRequestToJSONTyped(json, false);
}

export function NativeEvaluationRequestRequestToJSONTyped(value?: NativeEvaluationRequestRequest | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {

        'calibration_cell': value['calibrationCell'],
        'final_cell': value['finalCell'],
    };
}