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';
import type { ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInner } from './ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInner';
import {
ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerFromJSON,
ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerFromJSONTyped,
ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerToJSON,
ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerToJSONTyped,
} from './ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInner';
/**
*
* @export
* @interface ConnectorCredentialsSourceProjectsRetrieve200Response
*/
export interface ConnectorCredentialsSourceProjectsRetrieve200Response {
/**
*
* @type {Array<ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInner>}
* @memberof ConnectorCredentialsSourceProjectsRetrieve200Response
*/
projects?: Array<ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInner>;
}
/**
* Check if a given object implements the ConnectorCredentialsSourceProjectsRetrieve200Response interface.
*/
export function instanceOfConnectorCredentialsSourceProjectsRetrieve200Response(value: object): value is ConnectorCredentialsSourceProjectsRetrieve200Response {
return true;
}
export function ConnectorCredentialsSourceProjectsRetrieve200ResponseFromJSON(json: any): ConnectorCredentialsSourceProjectsRetrieve200Response {
return ConnectorCredentialsSourceProjectsRetrieve200ResponseFromJSONTyped(json, false);
}
export function ConnectorCredentialsSourceProjectsRetrieve200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorCredentialsSourceProjectsRetrieve200Response {
if (json == null) {
return json;
}
return {
'projects': json['projects'] == null ? undefined : ((json['projects'] as Array<any>).map(ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerFromJSON)),
};
}
export function ConnectorCredentialsSourceProjectsRetrieve200ResponseToJSON(json: any): ConnectorCredentialsSourceProjectsRetrieve200Response {
return ConnectorCredentialsSourceProjectsRetrieve200ResponseToJSONTyped(json, false);
}
export function ConnectorCredentialsSourceProjectsRetrieve200ResponseToJSONTyped(value?: ConnectorCredentialsSourceProjectsRetrieve200Response | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'projects': value['projects'] == null ? undefined : ((value['projects'] as Array<any>).map(ConnectorCredentialsSourceProjectsRetrieve200ResponseProjectsInnerToJSON)),
};
}