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 ConnectorCapabilityMappingResponse
*/
export interface ConnectorCapabilityMappingResponse {
/**
*
* @type {any}
* @memberof ConnectorCapabilityMappingResponse
*/
capabilityMapping: any | null;
/**
*
* @type {number}
* @memberof ConnectorCapabilityMappingResponse
*/
relabeledSpanCount: number;
}
/**
* Check if a given object implements the ConnectorCapabilityMappingResponse interface.
*/
export function instanceOfConnectorCapabilityMappingResponse(value: object): value is ConnectorCapabilityMappingResponse {
if (!('capabilityMapping' in value) || value['capabilityMapping'] === undefined) return false;
if (!('relabeledSpanCount' in value) || value['relabeledSpanCount'] === undefined) return false;
return true;
}
export function ConnectorCapabilityMappingResponseFromJSON(json: any): ConnectorCapabilityMappingResponse {
return ConnectorCapabilityMappingResponseFromJSONTyped(json, false);
}
export function ConnectorCapabilityMappingResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorCapabilityMappingResponse {
if (json == null) {
return json;
}
return {
'capabilityMapping': json['capability_mapping'],
'relabeledSpanCount': json['relabeled_span_count'],
};
}
export function ConnectorCapabilityMappingResponseToJSON(json: any): ConnectorCapabilityMappingResponse {
return ConnectorCapabilityMappingResponseToJSONTyped(json, false);
}
export function ConnectorCapabilityMappingResponseToJSONTyped(value?: ConnectorCapabilityMappingResponse | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'capability_mapping': value['capabilityMapping'],
'relabeled_span_count': value['relabeledSpanCount'],
};
}