/* 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. */ /** * FreezeUnfreezeTimeout represent the time unfreeze will be triggered if guest was not unfrozen by unfreeze command * @export * @interface V1FreezeUnfreezeTimeout */ export interface V1FreezeUnfreezeTimeout { /** * Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json. * @type {string} * @memberof V1FreezeUnfreezeTimeout */ unfreezeTimeout: string; } export function V1FreezeUnfreezeTimeoutFromJSON(json: any): V1FreezeUnfreezeTimeout { return V1FreezeUnfreezeTimeoutFromJSONTyped(json, false); } export function V1FreezeUnfreezeTimeoutFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1FreezeUnfreezeTimeout { if (json === undefined || json === null) { return json; } return { unfreezeTimeout: json['unfreezeTimeout'], }; } export function V1FreezeUnfreezeTimeoutToJSON(value?: V1FreezeUnfreezeTimeout | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { unfreezeTimeout: value.unfreezeTimeout, }; }