/* 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. */ /** * DataSourceRefSourceDataSource serves as a reference to another DataSource Can be resolved into a DataVolumeSourcePVC or a DataVolumeSourceSnapshot The maximum depth of a reference chain may not exceed 1. * @export * @interface V1beta1DataSourceRefSourceDataSource */ export interface V1beta1DataSourceRefSourceDataSource { /** * The name of the source DataSource * @type {string} * @memberof V1beta1DataSourceRefSourceDataSource */ name: string; /** * The namespace of the source DataSource * @type {string} * @memberof V1beta1DataSourceRefSourceDataSource */ namespace: string; } export function V1beta1DataSourceRefSourceDataSourceFromJSON( json: any, ): V1beta1DataSourceRefSourceDataSource { return V1beta1DataSourceRefSourceDataSourceFromJSONTyped(json, false); } export function V1beta1DataSourceRefSourceDataSourceFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1beta1DataSourceRefSourceDataSource { if (json === undefined || json === null) { return json; } return { name: json['name'], namespace: json['namespace'], }; } export function V1beta1DataSourceRefSourceDataSourceToJSON( value?: V1beta1DataSourceRefSourceDataSource | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { name: value.name, namespace: value.namespace, }; }