UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

40 lines 1.47 kB
/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * 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'; import { IoK8sApiResourceV1beta2OpaqueDeviceConfigurationFromJSON, IoK8sApiResourceV1beta2OpaqueDeviceConfigurationToJSON, } from './'; export function IoK8sApiResourceV1beta2DeviceClassConfigurationFromJSON(json) { return IoK8sApiResourceV1beta2DeviceClassConfigurationFromJSONTyped(json, false); } export function IoK8sApiResourceV1beta2DeviceClassConfigurationFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { opaque: !exists(json, 'opaque') ? undefined : IoK8sApiResourceV1beta2OpaqueDeviceConfigurationFromJSON(json['opaque']), }; } export function IoK8sApiResourceV1beta2DeviceClassConfigurationToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { opaque: IoK8sApiResourceV1beta2OpaqueDeviceConfigurationToJSON(value.opaque), }; } //# sourceMappingURL=IoK8sApiResourceV1beta2DeviceClassConfiguration.js.map