Skip to content

The platform for continuously improving AI agents.

1.6 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 ConnectorPreviewResponse
 */
export interface ConnectorPreviewResponse {
    /**
     *
     * @type {number}
     * @memberof ConnectorPreviewResponse
     */
    count: number | null;
}

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

export function ConnectorPreviewResponseFromJSON(json: any): ConnectorPreviewResponse {
    return ConnectorPreviewResponseFromJSONTyped(json, false);
}

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

        'count': json['count'],
    };
}

export function ConnectorPreviewResponseToJSON(json: any): ConnectorPreviewResponse {
    return ConnectorPreviewResponseToJSONTyped(json, false);
}

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

    return {

        'count': value['count'],
    };
}