UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

38 lines 1.11 kB
/* 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 V1beta1DataVolumeSourceSnapshotFromJSON(json) { return V1beta1DataVolumeSourceSnapshotFromJSONTyped(json, false); } export function V1beta1DataVolumeSourceSnapshotFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { name: json['name'], namespace: json['namespace'], }; } export function V1beta1DataVolumeSourceSnapshotToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { name: value.name, namespace: value.namespace, }; } //# sourceMappingURL=V1beta1DataVolumeSourceSnapshot.js.map