/* 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 { IoK8sApiNetworkingV1ParentReference, IoK8sApiNetworkingV1ParentReferenceFromJSON, IoK8sApiNetworkingV1ParentReferenceToJSON, } from './'; /** * IPAddressSpec describe the attributes in an IP Address. * @export * @interface IoK8sApiNetworkingV1IPAddressSpec */ export interface IoK8sApiNetworkingV1IPAddressSpec { /** * * @type {IoK8sApiNetworkingV1ParentReference} * @memberof IoK8sApiNetworkingV1IPAddressSpec */ parentRef: IoK8sApiNetworkingV1ParentReference; } export function IoK8sApiNetworkingV1IPAddressSpecFromJSON( json: any, ): IoK8sApiNetworkingV1IPAddressSpec { return IoK8sApiNetworkingV1IPAddressSpecFromJSONTyped(json, false); } export function IoK8sApiNetworkingV1IPAddressSpecFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): IoK8sApiNetworkingV1IPAddressSpec { if (json === undefined || json === null) { return json; } return { parentRef: IoK8sApiNetworkingV1ParentReferenceFromJSON(json['parentRef']), }; } export function IoK8sApiNetworkingV1IPAddressSpecToJSON( value?: IoK8sApiNetworkingV1IPAddressSpec | null, ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { parentRef: IoK8sApiNetworkingV1ParentReferenceToJSON(value.parentRef), }; }