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 ExperimentRetryInputRequest
*/
export interface ExperimentRetryInputRequest {
/**
*
* @type {string}
* @memberof ExperimentRetryInputRequest
*/
run: string;
/**
*
* @type {string}
* @memberof ExperimentRetryInputRequest
*/
requestKey: string;
}
/**
* Check if a given object implements the ExperimentRetryInputRequest interface.
*/
export function instanceOfExperimentRetryInputRequest(value: object): value is ExperimentRetryInputRequest {
if (!('run' in value) || value['run'] === undefined) return false;
if (!('requestKey' in value) || value['requestKey'] === undefined) return false;
return true;
}
export function ExperimentRetryInputRequestFromJSON(json: any): ExperimentRetryInputRequest {
return ExperimentRetryInputRequestFromJSONTyped(json, false);
}
export function ExperimentRetryInputRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExperimentRetryInputRequest {
if (json == null) {
return json;
}
return {
'run': json['run'],
'requestKey': json['request_key'],
};
}
export function ExperimentRetryInputRequestToJSON(json: any): ExperimentRetryInputRequest {
return ExperimentRetryInputRequestToJSONTyped(json, false);
}
export function ExperimentRetryInputRequestToJSONTyped(value?: ExperimentRetryInputRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'run': value['run'],
'request_key': value['requestKey'],
};
}