@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
37 lines • 1.31 kB
JavaScript
/* 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 { IoK8sApiNetworkingV1beta1ParentReferenceFromJSON, IoK8sApiNetworkingV1beta1ParentReferenceToJSON, } from './';
export function IoK8sApiNetworkingV1beta1IPAddressSpecFromJSON(json) {
return IoK8sApiNetworkingV1beta1IPAddressSpecFromJSONTyped(json, false);
}
export function IoK8sApiNetworkingV1beta1IPAddressSpecFromJSONTyped(json, _ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
parentRef: IoK8sApiNetworkingV1beta1ParentReferenceFromJSON(json['parentRef']),
};
}
export function IoK8sApiNetworkingV1beta1IPAddressSpecToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
parentRef: IoK8sApiNetworkingV1beta1ParentReferenceToJSON(value.parentRef),
};
}
//# sourceMappingURL=IoK8sApiNetworkingV1beta1IPAddressSpec.js.map