UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

44 lines (43 loc) 1.22 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. */ /** * Check if a given object implements the CoordinateRespVo interface. */ export function instanceOfCoordinateRespVo(value) { return true; } export function CoordinateRespVoFromJSON(json) { return CoordinateRespVoFromJSONTyped(json, false); } export function CoordinateRespVoFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { id: json.id == null ? undefined : json.id, x: json.x == null ? undefined : json.x, y: json.y == null ? undefined : json.y, }; } export function CoordinateRespVoToJSON(json) { return CoordinateRespVoToJSONTyped(json, false); } export function CoordinateRespVoToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { id: value.id, x: value.x, y: value.y, }; }