/* 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. */ /** * HostIP represents a single IP address allocated to the host. * @export * @interface IoK8sApiCoreV1HostIP */ export interface IoK8sApiCoreV1HostIP { /** * IP is the IP address assigned to the host * @type {string} * @memberof IoK8sApiCoreV1HostIP */ ip: string; } export function IoK8sApiCoreV1HostIPFromJSON(json: any): IoK8sApiCoreV1HostIP { return IoK8sApiCoreV1HostIPFromJSONTyped(json, false); } export function IoK8sApiCoreV1HostIPFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): IoK8sApiCoreV1HostIP { if (json === undefined || json === null) { return json; } return { ip: json['ip'], }; } export function IoK8sApiCoreV1HostIPToJSON(value?: IoK8sApiCoreV1HostIP | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { ip: value.ip, }; }