UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

42 lines 1.68 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'; import { IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceConditionFromJSON, IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceConditionToJSON, } from './'; export function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatusFromJSON(json) { return IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatusFromJSONTyped(json, false); } export function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatusFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { conditions: !exists(json, 'conditions') ? undefined : json['conditions'].map(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceConditionFromJSON), }; } export function IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatusToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { conditions: value.conditions === undefined ? undefined : value.conditions.map(IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceConditionToJSON), }; } //# sourceMappingURL=IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus.js.map