UNPKG

@vectorize-io/vectorize-client

Version:
53 lines (52 loc) 2.09 kB
"use strict"; /* 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfGetAIPlatformConnectors200Response = instanceOfGetAIPlatformConnectors200Response; exports.GetAIPlatformConnectors200ResponseFromJSON = GetAIPlatformConnectors200ResponseFromJSON; exports.GetAIPlatformConnectors200ResponseFromJSONTyped = GetAIPlatformConnectors200ResponseFromJSONTyped; exports.GetAIPlatformConnectors200ResponseToJSON = GetAIPlatformConnectors200ResponseToJSON; exports.GetAIPlatformConnectors200ResponseToJSONTyped = GetAIPlatformConnectors200ResponseToJSONTyped; var AIPlatform_1 = require("./AIPlatform"); /** * Check if a given object implements the GetAIPlatformConnectors200Response interface. */ function instanceOfGetAIPlatformConnectors200Response(value) { if (!('aiPlatformConnectors' in value) || value['aiPlatformConnectors'] === undefined) return false; return true; } function GetAIPlatformConnectors200ResponseFromJSON(json) { return GetAIPlatformConnectors200ResponseFromJSONTyped(json, false); } function GetAIPlatformConnectors200ResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'aiPlatformConnectors': (json['aiPlatformConnectors'].map(AIPlatform_1.AIPlatformFromJSON)), }; } function GetAIPlatformConnectors200ResponseToJSON(json) { return GetAIPlatformConnectors200ResponseToJSONTyped(json, false); } function GetAIPlatformConnectors200ResponseToJSONTyped(value, ignoreDiscriminator) { if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; } if (value == null) { return value; } return { 'aiPlatformConnectors': (value['aiPlatformConnectors'].map(AIPlatform_1.AIPlatformToJSON)), }; }