/* 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 V1CommonInstancetypesDeployment */ export interface V1CommonInstancetypesDeployment { /** * Enabled controls the deployment of common-instancetypes resources, defaults to True. * @type {boolean} * @memberof V1CommonInstancetypesDeployment */ enabled?: boolean; } export function V1CommonInstancetypesDeploymentFromJSON( json: any, ): V1CommonInstancetypesDeployment { return V1CommonInstancetypesDeploymentFromJSONTyped(json, false); } export function V1CommonInstancetypesDeploymentFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1CommonInstancetypesDeployment { if (json === undefined || json === null) { return json; } return { enabled: !exists(json, 'enabled') ? undefined : json['enabled'], }; } export function V1CommonInstancetypesDeploymentToJSON( value?: V1CommonInstancetypesDeployment | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { enabled: value.enabled, }; }