@cotofe/service-of-system
Version:
OpenAPI client for @cotofe/service-of-system
42 lines (41 loc) • 1.29 kB
JavaScript
/**
* 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 StorageDeleteCliRequest interface.
*/
export function instanceOfStorageDeleteCliRequest(value) {
return true;
}
export function StorageDeleteCliRequestFromJSON(json) {
return StorageDeleteCliRequestFromJSONTyped(json, false);
}
export function StorageDeleteCliRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
dataName: json.dataName == null ? undefined : json.dataName,
versionList: json.versionList == null ? undefined : json.versionList,
};
}
export function StorageDeleteCliRequestToJSON(json) {
return StorageDeleteCliRequestToJSONTyped(json, false);
}
export function StorageDeleteCliRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
dataName: value.dataName,
versionList: value.versionList,
};
}