UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

41 lines 1.87 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 { IoK8sApiAutoscalingV2CrossVersionObjectReferenceFromJSON, IoK8sApiAutoscalingV2CrossVersionObjectReferenceToJSON, IoK8sApiAutoscalingV2MetricIdentifierFromJSON, IoK8sApiAutoscalingV2MetricIdentifierToJSON, IoK8sApiAutoscalingV2MetricValueStatusFromJSON, IoK8sApiAutoscalingV2MetricValueStatusToJSON, } from './'; export function IoK8sApiAutoscalingV2ObjectMetricStatusFromJSON(json) { return IoK8sApiAutoscalingV2ObjectMetricStatusFromJSONTyped(json, false); } export function IoK8sApiAutoscalingV2ObjectMetricStatusFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { current: IoK8sApiAutoscalingV2MetricValueStatusFromJSON(json['current']), describedObject: IoK8sApiAutoscalingV2CrossVersionObjectReferenceFromJSON(json['describedObject']), metric: IoK8sApiAutoscalingV2MetricIdentifierFromJSON(json['metric']), }; } export function IoK8sApiAutoscalingV2ObjectMetricStatusToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { current: IoK8sApiAutoscalingV2MetricValueStatusToJSON(value.current), describedObject: IoK8sApiAutoscalingV2CrossVersionObjectReferenceToJSON(value.describedObject), metric: IoK8sApiAutoscalingV2MetricIdentifierToJSON(value.metric), }; } //# sourceMappingURL=IoK8sApiAutoscalingV2ObjectMetricStatus.js.map