UNPKG

@vectorize-io/vectorize-client

Version:
84 lines (72 loc) 2.52 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'; import type { UpdatedAIPlatformConnectorData } from './UpdatedAIPlatformConnectorData'; import { UpdatedAIPlatformConnectorDataFromJSON, UpdatedAIPlatformConnectorDataFromJSONTyped, UpdatedAIPlatformConnectorDataToJSON, UpdatedAIPlatformConnectorDataToJSONTyped, } from './UpdatedAIPlatformConnectorData'; /** * * @export * @interface UpdateAIPlatformConnectorResponse */ export interface UpdateAIPlatformConnectorResponse { /** * * @type {string} * @memberof UpdateAIPlatformConnectorResponse */ message: string; /** * * @type {UpdatedAIPlatformConnectorData} * @memberof UpdateAIPlatformConnectorResponse */ data: UpdatedAIPlatformConnectorData; } /** * Check if a given object implements the UpdateAIPlatformConnectorResponse interface. */ export function instanceOfUpdateAIPlatformConnectorResponse(value: object): value is UpdateAIPlatformConnectorResponse { if (!('message' in value) || value['message'] === undefined) return false; if (!('data' in value) || value['data'] === undefined) return false; return true; } export function UpdateAIPlatformConnectorResponseFromJSON(json: any): UpdateAIPlatformConnectorResponse { return UpdateAIPlatformConnectorResponseFromJSONTyped(json, false); } export function UpdateAIPlatformConnectorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAIPlatformConnectorResponse { if (json == null) { return json; } return { 'message': json['message'], 'data': UpdatedAIPlatformConnectorDataFromJSON(json['data']), }; } export function UpdateAIPlatformConnectorResponseToJSON(json: any): UpdateAIPlatformConnectorResponse { return UpdateAIPlatformConnectorResponseToJSONTyped(json, false); } export function UpdateAIPlatformConnectorResponseToJSONTyped(value?: UpdateAIPlatformConnectorResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'message': value['message'], 'data': UpdatedAIPlatformConnectorDataToJSON(value['data']), }; }