UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

56 lines (55 loc) 2.18 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.instanceOfResponseClassListCoordinateRespVo = instanceOfResponseClassListCoordinateRespVo; exports.ResponseClassListCoordinateRespVoFromJSON = ResponseClassListCoordinateRespVoFromJSON; exports.ResponseClassListCoordinateRespVoFromJSONTyped = ResponseClassListCoordinateRespVoFromJSONTyped; exports.ResponseClassListCoordinateRespVoToJSON = ResponseClassListCoordinateRespVoToJSON; exports.ResponseClassListCoordinateRespVoToJSONTyped = ResponseClassListCoordinateRespVoToJSONTyped; const CoordinateRespVo_1 = require("./CoordinateRespVo"); /** * Check if a given object implements the ResponseClassListCoordinateRespVo interface. */ function instanceOfResponseClassListCoordinateRespVo(value) { return true; } function ResponseClassListCoordinateRespVoFromJSON(json) { return ResponseClassListCoordinateRespVoFromJSONTyped(json, false); } function ResponseClassListCoordinateRespVoFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { code: json.code == null ? undefined : json.code, data: json.data == null ? undefined : json.data.map(CoordinateRespVo_1.CoordinateRespVoFromJSON), message: json.message == null ? undefined : json.message, }; } function ResponseClassListCoordinateRespVoToJSON(json) { return ResponseClassListCoordinateRespVoToJSONTyped(json, false); } function ResponseClassListCoordinateRespVoToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: value.data == null ? undefined : value.data.map(CoordinateRespVo_1.CoordinateRespVoToJSON), message: value.message, }; }