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 ConnectorCapabilityCandidate
*/
export interface ConnectorCapabilityCandidate {
/**
*
* @type {string}
* @memberof ConnectorCapabilityCandidate
*/
value?: string | null;
/**
*
* @type {number}
* @memberof ConnectorCapabilityCandidate
*/
count: number;
/**
*
* @type {string}
* @memberof ConnectorCapabilityCandidate
*/
source?: string;
/**
*
* @type {string}
* @memberof ConnectorCapabilityCandidate
*/
key?: string | null;
/**
*
* @type {any}
* @memberof ConnectorCapabilityCandidate
*/
metadataKeys?: any | null;
}
/**
* Check if a given object implements the ConnectorCapabilityCandidate interface.
*/
export function instanceOfConnectorCapabilityCandidate(value: object): value is ConnectorCapabilityCandidate {
if (!('count' in value) || value['count'] === undefined) return false;
return true;
}
export function ConnectorCapabilityCandidateFromJSON(json: any): ConnectorCapabilityCandidate {
return ConnectorCapabilityCandidateFromJSONTyped(json, false);
}
export function ConnectorCapabilityCandidateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorCapabilityCandidate {
if (json == null) {
return json;
}
return {
'value': json['value'] == null ? undefined : json['value'],
'count': json['count'],
'source': json['source'] == null ? undefined : json['source'],
'key': json['key'] == null ? undefined : json['key'],
'metadataKeys': json['metadata_keys'] == null ? undefined : json['metadata_keys'],
};
}
export function ConnectorCapabilityCandidateToJSON(json: any): ConnectorCapabilityCandidate {
return ConnectorCapabilityCandidateToJSONTyped(json, false);
}
export function ConnectorCapabilityCandidateToJSONTyped(value?: ConnectorCapabilityCandidate | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'value': value['value'],
'count': value['count'],
'source': value['source'],
'key': value['key'],
'metadata_keys': value['metadataKeys'],
};
}