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 { DataListResponseFromJSON, DataListResponseToJSON, } from './DataListResponse'; /** * Check if a given object implements the ResponseClassListDataListResponse interface. */ export function instanceOfResponseClassListDataListResponse(value) { return true; } export function ResponseClassListDataListResponseFromJSON(json) { return ResponseClassListDataListResponseFromJSONTyped(json, false); } export function ResponseClassListDataListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { code: json.code == null ? undefined : json.code, data: json.data == null ? undefined : json.data.map(DataListResponseFromJSON), message: json.message == null ? undefined : json.message, }; } export function ResponseClassListDataListResponseToJSON(json) { return ResponseClassListDataListResponseToJSONTyped(json, false); } export function ResponseClassListDataListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: value.data == null ? undefined : value.data.map(DataListResponseToJSON), message: value.message, }; }