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 CapabilityFlowModelResolution
*/
export interface CapabilityFlowModelResolution {
/**
*
* @type {string}
* @memberof CapabilityFlowModelResolution
*/
defaultModel: string;
/**
*
* @type {string}
* @memberof CapabilityFlowModelResolution
*/
selection: string;
/**
*
* @type {Array<string>}
* @memberof CapabilityFlowModelResolution
*/
provenance: Array<string>;
}
/**
* Check if a given object implements the CapabilityFlowModelResolution interface.
*/
export function instanceOfCapabilityFlowModelResolution(value: object): value is CapabilityFlowModelResolution {
if (!('defaultModel' in value) || value['defaultModel'] === undefined) return false;
if (!('selection' in value) || value['selection'] === undefined) return false;
if (!('provenance' in value) || value['provenance'] === undefined) return false;
return true;
}
export function CapabilityFlowModelResolutionFromJSON(json: any): CapabilityFlowModelResolution {
return CapabilityFlowModelResolutionFromJSONTyped(json, false);
}
export function CapabilityFlowModelResolutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityFlowModelResolution {
if (json == null) {
return json;
}
return {
'defaultModel': json['default_model'],
'selection': json['selection'],
'provenance': json['provenance'],
};
}
export function CapabilityFlowModelResolutionToJSON(json: any): CapabilityFlowModelResolution {
return CapabilityFlowModelResolutionToJSONTyped(json, false);
}
export function CapabilityFlowModelResolutionToJSONTyped(value?: CapabilityFlowModelResolution | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'default_model': value['defaultModel'],
'selection': value['selection'],
'provenance': value['provenance'],
};
}