UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

50 lines (49 loc) 1.71 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 StorageCreateCliRequest interface. */ export function instanceOfStorageCreateCliRequest(value) { return true; } export function StorageCreateCliRequestFromJSON(json) { return StorageCreateCliRequestFromJSONTyped(json, false); } export function StorageCreateCliRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { dataName: json.dataName == null ? undefined : json.dataName, description: json.description == null ? undefined : json.description, fileSize: json.fileSize == null ? undefined : json.fileSize, fileType: json.fileType == null ? undefined : json.fileType, fileUrl: json.fileUrl == null ? undefined : json.fileUrl, tagNameList: json.tagNameList == null ? undefined : json.tagNameList, }; } export function StorageCreateCliRequestToJSON(json) { return StorageCreateCliRequestToJSONTyped(json, false); } export function StorageCreateCliRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { dataName: value.dataName, description: value.description, fileSize: value.fileSize, fileType: value.fileType, fileUrl: value.fileUrl, tagNameList: value.tagNameList, }; }