/* 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. */ /** * ForNode provides information about which nodes should consume this endpoint. * @export * @interface IoK8sApiDiscoveryV1ForNode */ export interface IoK8sApiDiscoveryV1ForNode { /** * name represents the name of the node. * @type {string} * @memberof IoK8sApiDiscoveryV1ForNode */ name: string; } export function IoK8sApiDiscoveryV1ForNodeFromJSON(json: any): IoK8sApiDiscoveryV1ForNode { return IoK8sApiDiscoveryV1ForNodeFromJSONTyped(json, false); } export function IoK8sApiDiscoveryV1ForNodeFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): IoK8sApiDiscoveryV1ForNode { if (json === undefined || json === null) { return json; } return { name: json['name'], }; } export function IoK8sApiDiscoveryV1ForNodeToJSON(value?: IoK8sApiDiscoveryV1ForNode | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { name: value.name, }; }