Skip to content

The platform for continuously improving AI agents.

1.8 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 ConnectorSourceProject
 */
export interface ConnectorSourceProject {
    /**
     *
     * @type {string}
     * @memberof ConnectorSourceProject
     */
    id: string;
    /**
     *
     * @type {string}
     * @memberof ConnectorSourceProject
     */
    name: string;
}

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

export function ConnectorSourceProjectFromJSON(json: any): ConnectorSourceProject {
    return ConnectorSourceProjectFromJSONTyped(json, false);
}

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

        'id': json['id'],
        'name': json['name'],
    };
}

export function ConnectorSourceProjectToJSON(json: any): ConnectorSourceProject {
    return ConnectorSourceProjectToJSONTyped(json, false);
}

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

    return {

        'id': value['id'],
        'name': value['name'],
    };
}