/* 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. */ /** * VirtualMachineExportManifest contains the type and URL of the exported manifest * @export * @interface V1beta1VirtualMachineExportManifest */ export interface V1beta1VirtualMachineExportManifest { /** * Type is the type of manifest returned * @type {string} * @memberof V1beta1VirtualMachineExportManifest */ type: string; /** * Url is the url of the endpoint that returns the manifest * @type {string} * @memberof V1beta1VirtualMachineExportManifest */ url: string; } export function V1beta1VirtualMachineExportManifestFromJSON( json: any, ): V1beta1VirtualMachineExportManifest { return V1beta1VirtualMachineExportManifestFromJSONTyped(json, false); } export function V1beta1VirtualMachineExportManifestFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1beta1VirtualMachineExportManifest { if (json === undefined || json === null) { return json; } return { type: json['type'], url: json['url'], }; } export function V1beta1VirtualMachineExportManifestToJSON( value?: V1beta1VirtualMachineExportManifest | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { type: value.type, url: value.url, }; }