UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

37 lines 1.14 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 IoK8sApiCoreV1ClientIPConfigFromJSON(json) { return IoK8sApiCoreV1ClientIPConfigFromJSONTyped(json, false); } export function IoK8sApiCoreV1ClientIPConfigFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { timeoutSeconds: !exists(json, 'timeoutSeconds') ? undefined : json['timeoutSeconds'], }; } export function IoK8sApiCoreV1ClientIPConfigToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { timeoutSeconds: value.timeoutSeconds, }; } //# sourceMappingURL=IoK8sApiCoreV1ClientIPConfig.js.map