UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

57 lines (56 loc) 2.16 kB
"use strict"; /** * Platform * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDatasetCreateCliRequest = instanceOfDatasetCreateCliRequest; exports.DatasetCreateCliRequestFromJSON = DatasetCreateCliRequestFromJSON; exports.DatasetCreateCliRequestFromJSONTyped = DatasetCreateCliRequestFromJSONTyped; exports.DatasetCreateCliRequestToJSON = DatasetCreateCliRequestToJSON; exports.DatasetCreateCliRequestToJSONTyped = DatasetCreateCliRequestToJSONTyped; /** * Check if a given object implements the DatasetCreateCliRequest interface. */ function instanceOfDatasetCreateCliRequest(value) { return true; } function DatasetCreateCliRequestFromJSON(json) { return DatasetCreateCliRequestFromJSONTyped(json, false); } function DatasetCreateCliRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { datasetName: json.datasetName == null ? undefined : json.datasetName, description: json.description == null ? undefined : json.description, fileName: json.fileName == null ? undefined : json.fileName, fileSize: json.fileSize == null ? undefined : json.fileSize, fileUrl: json.fileUrl == null ? undefined : json.fileUrl, tagNameList: json.tagNameList == null ? undefined : json.tagNameList, }; } function DatasetCreateCliRequestToJSON(json) { return DatasetCreateCliRequestToJSONTyped(json, false); } function DatasetCreateCliRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { datasetName: value.datasetName, description: value.description, fileName: value.fileName, fileSize: value.fileSize, fileUrl: value.fileUrl, tagNameList: value.tagNameList, }; }