/* 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 { IoK8sApiNetworkingV1beta1ParentReference, IoK8sApiNetworkingV1beta1ParentReferenceFromJSON, IoK8sApiNetworkingV1beta1ParentReferenceToJSON, } from './'; /** * IPAddressSpec describe the attributes in an IP Address. * @export * @interface IoK8sApiNetworkingV1beta1IPAddressSpec */ export interface IoK8sApiNetworkingV1beta1IPAddressSpec { /** * * @type {IoK8sApiNetworkingV1beta1ParentReference} * @memberof IoK8sApiNetworkingV1beta1IPAddressSpec */ parentRef: IoK8sApiNetworkingV1beta1ParentReference; } export function IoK8sApiNetworkingV1beta1IPAddressSpecFromJSON( json: any, ): IoK8sApiNetworkingV1beta1IPAddressSpec { return IoK8sApiNetworkingV1beta1IPAddressSpecFromJSONTyped(json, false); } export function IoK8sApiNetworkingV1beta1IPAddressSpecFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): IoK8sApiNetworkingV1beta1IPAddressSpec { if (json === undefined || json === null) { return json; } return { parentRef: IoK8sApiNetworkingV1beta1ParentReferenceFromJSON(json['parentRef']), }; } export function IoK8sApiNetworkingV1beta1IPAddressSpecToJSON( value?: IoK8sApiNetworkingV1beta1IPAddressSpec | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { parentRef: IoK8sApiNetworkingV1beta1ParentReferenceToJSON(value.parentRef), }; }