/* tslint:disable */ /* eslint-disable */ /** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * 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. */ import { exists } from '../runtime'; /** * SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot * @export * @interface V1beta1SnapshotVolumesLists */ export interface V1beta1SnapshotVolumesLists { /** * * @type {Array} * @memberof V1beta1SnapshotVolumesLists */ excludedVolumes?: Array; /** * * @type {Array} * @memberof V1beta1SnapshotVolumesLists */ includedVolumes?: Array; } export function V1beta1SnapshotVolumesListsFromJSON(json: any): V1beta1SnapshotVolumesLists { return V1beta1SnapshotVolumesListsFromJSONTyped(json, false); } export function V1beta1SnapshotVolumesListsFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1beta1SnapshotVolumesLists { if (json === undefined || json === null) { return json; } return { excludedVolumes: !exists(json, 'excludedVolumes') ? undefined : json['excludedVolumes'], includedVolumes: !exists(json, 'includedVolumes') ? undefined : json['includedVolumes'], }; } export function V1beta1SnapshotVolumesListsToJSON(value?: V1beta1SnapshotVolumesLists | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { excludedVolumes: value.excludedVolumes, includedVolumes: value.includedVolumes, }; }