UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

56 lines (55 loc) 2.2 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.instanceOfResponseClassListDatasetListRespVo = instanceOfResponseClassListDatasetListRespVo; exports.ResponseClassListDatasetListRespVoFromJSON = ResponseClassListDatasetListRespVoFromJSON; exports.ResponseClassListDatasetListRespVoFromJSONTyped = ResponseClassListDatasetListRespVoFromJSONTyped; exports.ResponseClassListDatasetListRespVoToJSON = ResponseClassListDatasetListRespVoToJSON; exports.ResponseClassListDatasetListRespVoToJSONTyped = ResponseClassListDatasetListRespVoToJSONTyped; const DatasetListRespVo_1 = require("./DatasetListRespVo"); /** * Check if a given object implements the ResponseClassListDatasetListRespVo interface. */ function instanceOfResponseClassListDatasetListRespVo(value) { return true; } function ResponseClassListDatasetListRespVoFromJSON(json) { return ResponseClassListDatasetListRespVoFromJSONTyped(json, false); } function ResponseClassListDatasetListRespVoFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { code: json.code == null ? undefined : json.code, data: json.data == null ? undefined : json.data.map(DatasetListRespVo_1.DatasetListRespVoFromJSON), message: json.message == null ? undefined : json.message, }; } function ResponseClassListDatasetListRespVoToJSON(json) { return ResponseClassListDatasetListRespVoToJSONTyped(json, false); } function ResponseClassListDatasetListRespVoToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: value.data == null ? undefined : value.data.map(DatasetListRespVo_1.DatasetListRespVoToJSON), message: value.message, }; }