UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

40 lines 1.22 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 { V1ClockOffsetUTCFromJSON, V1ClockOffsetUTCToJSON } from './'; export function V1ClockOffsetFromJSON(json) { return V1ClockOffsetFromJSONTyped(json, false); } export function V1ClockOffsetFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { timezone: !exists(json, 'timezone') ? undefined : json['timezone'], utc: !exists(json, 'utc') ? undefined : V1ClockOffsetUTCFromJSON(json['utc']), }; } export function V1ClockOffsetToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { timezone: value.timezone, utc: V1ClockOffsetUTCToJSON(value.utc), }; } //# sourceMappingURL=V1ClockOffset.js.map