UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

46 lines (45 loc) 1.5 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 StorageUpdateCliRequest interface. */ export function instanceOfStorageUpdateCliRequest(value) { return true; } export function StorageUpdateCliRequestFromJSON(json) { return StorageUpdateCliRequestFromJSONTyped(json, false); } export function StorageUpdateCliRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { dataName: json.dataName == null ? undefined : json.dataName, description: json.description == null ? undefined : json.description, tagNameList: json.tagNameList == null ? undefined : json.tagNameList, version: json.version == null ? undefined : json.version, }; } export function StorageUpdateCliRequestToJSON(json) { return StorageUpdateCliRequestToJSONTyped(json, false); } export function StorageUpdateCliRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { dataName: value.dataName, description: value.description, tagNameList: value.tagNameList, version: value.version, }; }