/* 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'; /** * * @export * @interface V1VideoDevice */ export interface V1VideoDevice { /** * Type specifies the video device type (e.g., virtio, vga, bochs, ramfb). If not specified, the default is architecture-dependent (VGA for BIOS-based VMs, Bochs for EFI-based VMs on AMD64; virtio for Arm and s390x). * @type {string} * @memberof V1VideoDevice */ type?: string; } export function V1VideoDeviceFromJSON(json: any): V1VideoDevice { return V1VideoDeviceFromJSONTyped(json, false); } export function V1VideoDeviceFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1VideoDevice { if (json === undefined || json === null) { return json; } return { type: !exists(json, 'type') ? undefined : json['type'], }; } export function V1VideoDeviceToJSON(value?: V1VideoDevice | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { type: value.type, }; }