/* 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'; /** * i6300esb watchdog device. * @export * @interface V1I6300ESBWatchdog */ export interface V1I6300ESBWatchdog { /** * The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset. * @type {string} * @memberof V1I6300ESBWatchdog */ action?: string; } export function V1I6300ESBWatchdogFromJSON(json: any): V1I6300ESBWatchdog { return V1I6300ESBWatchdogFromJSONTyped(json, false); } export function V1I6300ESBWatchdogFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1I6300ESBWatchdog { if (json === undefined || json === null) { return json; } return { action: !exists(json, 'action') ? undefined : json['action'], }; } export function V1I6300ESBWatchdogToJSON(value?: V1I6300ESBWatchdog | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { action: value.action, }; }