UNPKG

@vectorize-io/vectorize-client

Version:
67 lines (56 loc) 1.84 kB
/* tslint:disable */ /* eslint-disable */ /** * Vectorize API (Beta) * API for Vectorize services * * The version of the OpenAPI document: 0.0.1 * * * 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 UpdateAIPlatformConnectorRequest */ export interface UpdateAIPlatformConnectorRequest { /** * * @type {{ [key: string]: any | null; }} * @memberof UpdateAIPlatformConnectorRequest */ config: { [key: string]: any | null; }; } /** * Check if a given object implements the UpdateAIPlatformConnectorRequest interface. */ export function instanceOfUpdateAIPlatformConnectorRequest(value: object): value is UpdateAIPlatformConnectorRequest { if (!('config' in value) || value['config'] === undefined) return false; return true; } export function UpdateAIPlatformConnectorRequestFromJSON(json: any): UpdateAIPlatformConnectorRequest { return UpdateAIPlatformConnectorRequestFromJSONTyped(json, false); } export function UpdateAIPlatformConnectorRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAIPlatformConnectorRequest { if (json == null) { return json; } return { 'config': json['config'], }; } export function UpdateAIPlatformConnectorRequestToJSON(json: any): UpdateAIPlatformConnectorRequest { return UpdateAIPlatformConnectorRequestToJSONTyped(json, false); } export function UpdateAIPlatformConnectorRequestToJSONTyped(value?: UpdateAIPlatformConnectorRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': value['config'], }; }