@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
55 lines (54 loc) • 2.13 kB
JavaScript
/* 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.instanceOfUpdatedAIPlatformConnectorData = instanceOfUpdatedAIPlatformConnectorData;
exports.UpdatedAIPlatformConnectorDataFromJSON = UpdatedAIPlatformConnectorDataFromJSON;
exports.UpdatedAIPlatformConnectorDataFromJSONTyped = UpdatedAIPlatformConnectorDataFromJSONTyped;
exports.UpdatedAIPlatformConnectorDataToJSON = UpdatedAIPlatformConnectorDataToJSON;
exports.UpdatedAIPlatformConnectorDataToJSONTyped = UpdatedAIPlatformConnectorDataToJSONTyped;
var AIPlatform_1 = require("./AIPlatform");
/**
* Check if a given object implements the UpdatedAIPlatformConnectorData interface.
*/
function instanceOfUpdatedAIPlatformConnectorData(value) {
if (!('updatedConnector' in value) || value['updatedConnector'] === undefined)
return false;
return true;
}
function UpdatedAIPlatformConnectorDataFromJSON(json) {
return UpdatedAIPlatformConnectorDataFromJSONTyped(json, false);
}
function UpdatedAIPlatformConnectorDataFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'updatedConnector': (0, AIPlatform_1.AIPlatformFromJSON)(json['updatedConnector']),
'pipelineIds': json['pipelineIds'] == null ? undefined : json['pipelineIds'],
};
}
function UpdatedAIPlatformConnectorDataToJSON(json) {
return UpdatedAIPlatformConnectorDataToJSONTyped(json, false);
}
function UpdatedAIPlatformConnectorDataToJSONTyped(value, ignoreDiscriminator) {
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
if (value == null) {
return value;
}
return {
'updatedConnector': (0, AIPlatform_1.AIPlatformToJSON)(value['updatedConnector']),
'pipelineIds': value['pipelineIds'],
};
}
;