UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

39 lines 1.2 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 IoK8sApiAutoscalingV1ScaleStatusFromJSON(json) { return IoK8sApiAutoscalingV1ScaleStatusFromJSONTyped(json, false); } export function IoK8sApiAutoscalingV1ScaleStatusFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { replicas: json['replicas'], selector: !exists(json, 'selector') ? undefined : json['selector'], }; } export function IoK8sApiAutoscalingV1ScaleStatusToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { replicas: value.replicas, selector: value.selector, }; } //# sourceMappingURL=IoK8sApiAutoscalingV1ScaleStatus.js.map