UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

43 lines 1.47 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 IoK8sApiAuthenticationV1BoundObjectReferenceFromJSON(json) { return IoK8sApiAuthenticationV1BoundObjectReferenceFromJSONTyped(json, false); } export function IoK8sApiAuthenticationV1BoundObjectReferenceFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { apiVersion: !exists(json, 'apiVersion') ? undefined : json['apiVersion'], kind: !exists(json, 'kind') ? undefined : json['kind'], name: !exists(json, 'name') ? undefined : json['name'], uid: !exists(json, 'uid') ? undefined : json['uid'], }; } export function IoK8sApiAuthenticationV1BoundObjectReferenceToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { apiVersion: value.apiVersion, kind: value.kind, name: value.name, uid: value.uid, }; } //# sourceMappingURL=IoK8sApiAuthenticationV1BoundObjectReference.js.map