UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

49 lines (48 loc) 1.64 kB
/** * 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. */ import { CoordinateRespVoFromJSON, CoordinateRespVoToJSON, } from './CoordinateRespVo'; /** * Check if a given object implements the ResponseClassListCoordinateRespVo interface. */ export function instanceOfResponseClassListCoordinateRespVo(value) { return true; } export function ResponseClassListCoordinateRespVoFromJSON(json) { return ResponseClassListCoordinateRespVoFromJSONTyped(json, false); } export 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(CoordinateRespVoFromJSON), message: json.message == null ? undefined : json.message, }; } export function ResponseClassListCoordinateRespVoToJSON(json) { return ResponseClassListCoordinateRespVoToJSONTyped(json, false); } export function ResponseClassListCoordinateRespVoToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: value.data == null ? undefined : value.data.map(CoordinateRespVoToJSON), message: value.message, }; }