UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

45 lines (44 loc) 1.58 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 { StorageDetailResponseFromJSON, StorageDetailResponseToJSON, } from './StorageDetailResponse'; /** * Check if a given object implements the ResponseClassStorageDetailResponse interface. */ export function instanceOfResponseClassStorageDetailResponse(value) { return true; } export function ResponseClassStorageDetailResponseFromJSON(json) { return ResponseClassStorageDetailResponseFromJSONTyped(json, false); } export function ResponseClassStorageDetailResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { code: json.code == null ? undefined : json.code, data: json.data == null ? undefined : StorageDetailResponseFromJSON(json.data), message: json.message == null ? undefined : json.message, }; } export function ResponseClassStorageDetailResponseToJSON(json) { return ResponseClassStorageDetailResponseToJSONTyped(json, false); } export function ResponseClassStorageDetailResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { code: value.code, data: StorageDetailResponseToJSON(value.data), message: value.message, }; }