UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

39 lines 1.27 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 IoK8sApiBatchV1UncountedTerminatedPodsFromJSON(json) { return IoK8sApiBatchV1UncountedTerminatedPodsFromJSONTyped(json, false); } export function IoK8sApiBatchV1UncountedTerminatedPodsFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { failed: !exists(json, 'failed') ? undefined : json['failed'], succeeded: !exists(json, 'succeeded') ? undefined : json['succeeded'], }; } export function IoK8sApiBatchV1UncountedTerminatedPodsToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { failed: value.failed, succeeded: value.succeeded, }; } //# sourceMappingURL=IoK8sApiBatchV1UncountedTerminatedPods.js.map