UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

38 lines 1.19 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 IoK8sApiFlowcontrolV1NonResourcePolicyRuleFromJSON(json) { return IoK8sApiFlowcontrolV1NonResourcePolicyRuleFromJSONTyped(json, false); } export function IoK8sApiFlowcontrolV1NonResourcePolicyRuleFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { nonResourceURLs: json['nonResourceURLs'], verbs: json['verbs'], }; } export function IoK8sApiFlowcontrolV1NonResourcePolicyRuleToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { nonResourceURLs: value.nonResourceURLs, verbs: value.verbs, }; } //# sourceMappingURL=IoK8sApiFlowcontrolV1NonResourcePolicyRule.js.map