@cotofe/service-of-system
Version:
OpenAPI client for @cotofe/service-of-system
47 lines (46 loc) • 1.59 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfDeleteStorageDataRequest = instanceOfDeleteStorageDataRequest;
exports.DeleteStorageDataRequestFromJSON = DeleteStorageDataRequestFromJSON;
exports.DeleteStorageDataRequestFromJSONTyped = DeleteStorageDataRequestFromJSONTyped;
exports.DeleteStorageDataRequestToJSON = DeleteStorageDataRequestToJSON;
exports.DeleteStorageDataRequestToJSONTyped = DeleteStorageDataRequestToJSONTyped;
/**
* Check if a given object implements the DeleteStorageDataRequest interface.
*/
function instanceOfDeleteStorageDataRequest(value) {
return true;
}
function DeleteStorageDataRequestFromJSON(json) {
return DeleteStorageDataRequestFromJSONTyped(json, false);
}
function DeleteStorageDataRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
ids: json.ids == null ? undefined : json.ids,
};
}
function DeleteStorageDataRequestToJSON(json) {
return DeleteStorageDataRequestToJSONTyped(json, false);
}
function DeleteStorageDataRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
ids: value.ids,
};
}