UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

37 lines 1.22 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 { IoK8sApiBatchV1SuccessPolicyRuleFromJSON, IoK8sApiBatchV1SuccessPolicyRuleToJSON, } from './'; export function IoK8sApiBatchV1SuccessPolicyFromJSON(json) { return IoK8sApiBatchV1SuccessPolicyFromJSONTyped(json, false); } export function IoK8sApiBatchV1SuccessPolicyFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { rules: json['rules'].map(IoK8sApiBatchV1SuccessPolicyRuleFromJSON), }; } export function IoK8sApiBatchV1SuccessPolicyToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { rules: value.rules.map(IoK8sApiBatchV1SuccessPolicyRuleToJSON), }; } //# sourceMappingURL=IoK8sApiBatchV1SuccessPolicy.js.map