UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

40 lines 1.21 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. */ export function IoK8sApiAutoscalingV2HPAScalingPolicyFromJSON(json) { return IoK8sApiAutoscalingV2HPAScalingPolicyFromJSONTyped(json, false); } export function IoK8sApiAutoscalingV2HPAScalingPolicyFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { periodSeconds: json['periodSeconds'], type: json['type'], value: json['value'], }; } export function IoK8sApiAutoscalingV2HPAScalingPolicyToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { periodSeconds: value.periodSeconds, type: value.type, value: value.value, }; } //# sourceMappingURL=IoK8sApiAutoscalingV2HPAScalingPolicy.js.map