@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
42 lines • 1.26 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* KubeVirt Containerized Data Importer API
* Containerized Data Importer for KubeVirt.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export function V1beta1CustomizeComponentsPatchFromJSON(json) {
return V1beta1CustomizeComponentsPatchFromJSONTyped(json, false);
}
export function V1beta1CustomizeComponentsPatchFromJSONTyped(json, _ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
patch: json['patch'],
resourceName: json['resourceName'],
resourceType: json['resourceType'],
type: json['type'],
};
}
export function V1beta1CustomizeComponentsPatchToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
patch: value.patch,
resourceName: value.resourceName,
resourceType: value.resourceType,
type: value.type,
};
}
//# sourceMappingURL=V1beta1CustomizeComponentsPatch.js.map