UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

41 lines 1.41 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'; export function IoK8sApiCoreV1NodeRuntimeHandlerFeaturesFromJSON(json) { return IoK8sApiCoreV1NodeRuntimeHandlerFeaturesFromJSONTyped(json, false); } export function IoK8sApiCoreV1NodeRuntimeHandlerFeaturesFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { recursiveReadOnlyMounts: !exists(json, 'recursiveReadOnlyMounts') ? undefined : json['recursiveReadOnlyMounts'], userNamespaces: !exists(json, 'userNamespaces') ? undefined : json['userNamespaces'], }; } export function IoK8sApiCoreV1NodeRuntimeHandlerFeaturesToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { recursiveReadOnlyMounts: value.recursiveReadOnlyMounts, userNamespaces: value.userNamespaces, }; } //# sourceMappingURL=IoK8sApiCoreV1NodeRuntimeHandlerFeatures.js.map