
    <g+                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    N)Configurationc            	          e Zd ZdZ	 dddddddddZd	d
dddddddZd(dZed        Zej                  d        Zed        Z
e
j                  d        Z
ed        Zej                  d        Zed        Zej                  d        Zed        Zej                  d        Zed        Zej                  d        Zed        Zej                  d         Zed!        Zej                  d"        Zd# Zd$ Zd% Zd& Zd' Zy))
V1EndpointzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    z	list[str]V1EndpointConditionszdict(str, str)V1EndpointHintsstrV1ObjectReference)	addresses
conditionsdeprecated_topologyhintshostname	node_name
target_refzoner
   r   deprecatedTopologyr   r   nodeName	targetRefr   Nc
                 6   |	
t               }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        || _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z'V1Endpoint - a model defined in OpenAPIN)r   local_vars_configuration
_addresses_conditions_deprecated_topology_hints	_hostname
_node_name_target_ref_zonediscriminatorr
   r   r   r   r   r   r   r   )
selfr
   r   r   r   r   r   r   r   r   s
             Y/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_endpoint.py__init__zV1Endpoint.__init__9   s    #+'4$(@%$(!
!"!(DO*':D$DJ$DM &DN!(DODI     c                     | j                   S )aR  Gets the addresses of this V1Endpoint.  # noqa: E501

        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. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267  # noqa: E501

        :return: The addresses of this V1Endpoint.  # noqa: E501
        :rtype: list[str]
        )r   r    s    r!   r
   zV1Endpoint.addressesY        r#   c                 X    | j                   j                  r|t        d      || _        y)aL  Sets the addresses of this 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. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267  # noqa: E501

        :param addresses: The addresses of this V1Endpoint.  # noqa: E501
        :type: list[str]
        Nz1Invalid value for `addresses`, must not be `None`)r   client_side_validation
ValueErrorr   )r    r
   s     r!   r
   zV1Endpoint.addressesd   s+     ((??IDUPQQ#r#   c                     | j                   S )zGets the conditions of this V1Endpoint.  # noqa: E501


        :return: The conditions of this V1Endpoint.  # noqa: E501
        :rtype: V1EndpointConditions
        r   r%   s    r!   r   zV1Endpoint.conditionsr        r#   c                     || _         y)zSets the conditions of this V1Endpoint.


        :param conditions: The conditions of this V1Endpoint.  # noqa: E501
        :type: V1EndpointConditions
        Nr+   )r    r   s     r!   r   zV1Endpoint.conditions|        &r#   c                     | j                   S )aS  Gets the deprecated_topology of this V1Endpoint.  # noqa: E501

        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.  # noqa: E501

        :return: The deprecated_topology of this V1Endpoint.  # noqa: E501
        :rtype: dict(str, str)
        r   r%   s    r!   r   zV1Endpoint.deprecated_topology   s     (((r#   c                     || _         y)aW  Sets the deprecated_topology of this V1Endpoint.

        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.  # noqa: E501

        :param deprecated_topology: The deprecated_topology of this V1Endpoint.  # noqa: E501
        :type: dict(str, str)
        Nr0   )r    r   s     r!   r   zV1Endpoint.deprecated_topology   s     %8!r#   c                     | j                   S )zGets the hints of this V1Endpoint.  # noqa: E501


        :return: The hints of this V1Endpoint.  # noqa: E501
        :rtype: V1EndpointHints
        r   r%   s    r!   r   zV1Endpoint.hints   s     {{r#   c                     || _         y)zSets the hints of this V1Endpoint.


        :param hints: The hints of this V1Endpoint.  # noqa: E501
        :type: V1EndpointHints
        Nr3   )r    r   s     r!   r   zV1Endpoint.hints   s     r#   c                     | j                   S )a  Gets the hostname of this V1Endpoint.  # noqa: E501

        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.  # noqa: E501

        :return: The hostname of this V1Endpoint.  # noqa: E501
        :rtype: str
        r   r%   s    r!   r   zV1Endpoint.hostname   s     ~~r#   c                     || _         y)a  Sets the hostname of this V1Endpoint.

        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.  # noqa: E501

        :param hostname: The hostname of this V1Endpoint.  # noqa: E501
        :type: str
        Nr6   )r    r   s     r!   r   zV1Endpoint.hostname   s     "r#   c                     | j                   S )a#  Gets the node_name of this V1Endpoint.  # noqa: E501

        nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.  # noqa: E501

        :return: The node_name of this V1Endpoint.  # noqa: E501
        :rtype: str
        r   r%   s    r!   r   zV1Endpoint.node_name   r&   r#   c                     || _         y)a  Sets the node_name of this V1Endpoint.

        nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.  # noqa: E501

        :param node_name: The node_name of this V1Endpoint.  # noqa: E501
        :type: str
        Nr9   )r    r   s     r!   r   zV1Endpoint.node_name   s     $r#   c                     | j                   S )zGets the target_ref of this V1Endpoint.  # noqa: E501


        :return: The target_ref of this V1Endpoint.  # noqa: E501
        :rtype: V1ObjectReference
        r   r%   s    r!   r   zV1Endpoint.target_ref   r,   r#   c                     || _         y)zSets the target_ref of this V1Endpoint.


        :param target_ref: The target_ref of this V1Endpoint.  # noqa: E501
        :type: V1ObjectReference
        Nr<   )r    r   s     r!   r   zV1Endpoint.target_ref   r.   r#   c                     | j                   S )zGets the zone of this V1Endpoint.  # noqa: E501

        zone is the name of the Zone this endpoint exists in.  # noqa: E501

        :return: The zone of this V1Endpoint.  # noqa: E501
        :rtype: str
        r   r%   s    r!   r   zV1Endpoint.zone   s     zzr#   c                     || _         y)zSets the zone of this V1Endpoint.

        zone is the name of the Zone this endpoint exists in.  # noqa: E501

        :param zone: The zone of this V1Endpoint.  # noqa: E501
        :type: str
        Nr?   )r    r   s     r!   r   zV1Endpoint.zone  s     
r#   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrrC   )xs    r!   <lambda>z$V1Endpoint.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr#   rC   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rC   r   rD   )items    r!   rG   z$V1Endpoint.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r#   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprE   rC   dictitems)r    resultattr_values        r!   rC   zV1Endpoint.to_dict  s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r#   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatrC   r%   s    r!   to_strzV1Endpoint.to_str%  s    ~~dlln--r#   c                 "    | j                         S )zFor `print` and `pprint`)r[   r%   s    r!   __repr__zV1Endpoint.__repr__)  s    {{}r#   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrO   r   rC   r    others     r!   __eq__zV1Endpoint.__eq__-  s&    %,||~00r#   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr_   r`   s     r!   __ne__zV1Endpoint.__ne__4  s&    %,||~00r#   )	NNNNNNNNN)__name__
__module____qualname____doc__rM   attribute_mapr"   propertyr
   setterr   r   r   r   r   r   r   rC   r[   r]   rb   rd    r#   r!   r   r      s    !,/")	M !"3!	M@   $ $     & & ) ) 	8  	8   \\    __	" 	"   	$ 	$     & &   
[[	 	0.11r#   r   )rh   rY   rerK   kubernetes.client.configurationr   objectr   rl   r#   r!   <module>rp      s&     	 
 9d1 d1r#   