UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

40 lines 1.18 kB
/* 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'; import { V1I6300ESBWatchdogFromJSON, V1I6300ESBWatchdogToJSON } from './'; export function V1WatchdogFromJSON(json) { return V1WatchdogFromJSONTyped(json, false); } export function V1WatchdogFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { i6300esb: !exists(json, 'i6300esb') ? undefined : V1I6300ESBWatchdogFromJSON(json['i6300esb']), name: json['name'], }; } export function V1WatchdogToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { i6300esb: V1I6300ESBWatchdogToJSON(value.i6300esb), name: value.name, }; } //# sourceMappingURL=V1Watchdog.js.map