UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

52 lines (51 loc) 1.91 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.instanceOfResponseClassDatasetMeta = instanceOfResponseClassDatasetMeta; exports.ResponseClassDatasetMetaFromJSON = ResponseClassDatasetMetaFromJSON; exports.ResponseClassDatasetMetaFromJSONTyped = ResponseClassDatasetMetaFromJSONTyped; exports.ResponseClassDatasetMetaToJSON = ResponseClassDatasetMetaToJSON; exports.ResponseClassDatasetMetaToJSONTyped = ResponseClassDatasetMetaToJSONTyped; const DatasetMeta_1 = require("./DatasetMeta"); /** * Check if a given object implements the ResponseClassDatasetMeta interface. */ function instanceOfResponseClassDatasetMeta(value) { return true; } function ResponseClassDatasetMetaFromJSON(json) { return ResponseClassDatasetMetaFromJSONTyped(json, false); } function ResponseClassDatasetMetaFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { code: json.code == null ? undefined : json.code, data: json.data == null ? undefined : (0, DatasetMeta_1.DatasetMetaFromJSON)(json.data), message: json.message == null ? undefined : json.message, }; } function ResponseClassDatasetMetaToJSON(json) { return ResponseClassDatasetMetaToJSONTyped(json, false); } function ResponseClassDatasetMetaToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: (0, DatasetMeta_1.DatasetMetaToJSON)(value.data), message: value.message, }; }