/**
 * Kubernetes
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1.22.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */ import { RequestFile } from './models' ; import { V1EndpointConditions } from './v1EndpointConditions' ; import { V1EndpointHints } from './v1EndpointHints' ; import { V1ObjectReference } from './v1ObjectReference' ; /**
* Endpoint represents a single logical \"backend\" implementing a service.
*/ export class V1Endpoint { /**
    * addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
    */ 'addresses' : Array < string > ; 'conditions' ? : V1EndpointConditions ; /**
    * deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24).  While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
    */ 'deprecatedTopology' ? : { [ key ] : string ; } ; 'hints' ? : V1EndpointHints ; /**
    * hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
    */ 'hostname' ? : string ; /**
    * nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
    */ 'nodeName' ? : string ; 'targetRef' ? : V1ObjectReference ; /**
    * zone is the name of the Zone this endpoint exists in.
    */ 'zone' ? : string ; static discriminator : string | undefined = undefined ; static attributeTypeMap : Array < { name : string ; baseName : string ; type : string ; } > = [ { "name" : "addresses" , "baseName" : "addresses" , "type" : "Array<string>" } , { "name" : "conditions" , "baseName" : "conditions" , "type" : "V1EndpointConditions" } , { "name" : "deprecatedTopology" , "baseName" : "deprecatedTopology" , "type" : "{ [key: string]: string; }" } , { "name" : "hints" , "baseName" : "hints" , "type" : "V1EndpointHints" } , { "name" : "hostname" , "baseName" : "hostname" , "type" : "string" } , { "name" : "nodeName" , "baseName" : "nodeName" , "type" : "string" } , { "name" : "targetRef" , "baseName" : "targetRef" , "type" : "V1ObjectReference" } , { "name" : "zone" , "baseName" : "zone" , "type" : "string" } ] ; static getAttributeTypeMap ( ) { return V1Endpoint . attributeTypeMap ; } }