
    bi@                     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.35
    Generated by: https://openapi-generator.tech
    N)Configurationc                   T   e Zd ZdZ	 ddddddddd	d
dddddZdddddd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ed/        Zej                  d0        Zed1        Zej                  d2        Zed3        Zej                  d4        Zed5        Zej                  d6        Zed7        Zej                  d8        Zed9        Zej                  d:        Zd; Zd< Zd= Zd> Zd? Zy)AV1NodeStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    zlist[V1NodeAddress]zdict(str, str)zlist[V1NodeCondition]V1NodeConfigStatusV1NodeDaemonEndpointsz	list[str]V1NodeFeatureszlist[V1ContainerImage]V1NodeSystemInfostrzlist[V1NodeRuntimeHandler]zlist[V1AttachedVolume])	addressesallocatablecapacity
conditionsconfigdaemon_endpointsdeclared_featuresfeaturesimages	node_infophaseruntime_handlersvolumes_attachedvolumes_in_user   r   r   r   r   daemonEndpointsdeclaredFeaturesr   r   nodeInfor   runtimeHandlersvolumesAttachedvolumesInUseNc                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        ||| _        ||| _        yy)z)V1NodeStatus - a model defined in OpenAPIN)r   local_vars_configuration
_addresses_allocatable	_capacity_conditions_config_daemon_endpoints_declared_features	_features_images
_node_info_phase_runtime_handlers_volumes_attached_volumes_in_usediscriminatorr   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   r    s                   q/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/kubernetes/client/models/v1_node_status.py__init__zV1NodeStatus.__init__E   sJ   #+'4$(@% !%"&!%!%#! &DN"*D$DM!(DO DK'$4D!(%6D"$DM DK &DNDJ'$4D!'$4D!%"0D &    c                     | j                   S )aN  Gets the addresses of this V1NodeStatus.  # noqa: E501

        List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).  # noqa: E501

        :return: The addresses of this V1NodeStatus.  # noqa: E501
        :rtype: list[V1NodeAddress]
        r!   r0   s    r1   r   zV1NodeStatus.addressesx   s     r3   c                     || _         y)aH  Sets the addresses of this V1NodeStatus.

        List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).  # noqa: E501

        :param addresses: The addresses of this V1NodeStatus.  # noqa: E501
        :type: list[V1NodeAddress]
        Nr5   )r0   r   s     r1   r   zV1NodeStatus.addresses   s     $r3   c                     | j                   S )a%  Gets the allocatable of this V1NodeStatus.  # noqa: E501

        Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.  # noqa: E501

        :return: The allocatable of this V1NodeStatus.  # noqa: E501
        :rtype: dict(str, str)
        r"   r6   s    r1   r   zV1NodeStatus.allocatable   s        r3   c                     || _         y)a!  Sets the allocatable of this V1NodeStatus.

        Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.  # noqa: E501

        :param allocatable: The allocatable of this V1NodeStatus.  # noqa: E501
        :type: dict(str, str)
        Nr9   )r0   r   s     r1   r   zV1NodeStatus.allocatable   s     (r3   c                     | j                   S )a5  Gets the capacity of this V1NodeStatus.  # noqa: E501

        Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity  # noqa: E501

        :return: The capacity of this V1NodeStatus.  # noqa: E501
        :rtype: dict(str, str)
        r#   r6   s    r1   r   zV1NodeStatus.capacity   s     ~~r3   c                     || _         y)a.  Sets the capacity of this V1NodeStatus.

        Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity  # noqa: E501

        :param capacity: The capacity of this V1NodeStatus.  # noqa: E501
        :type: dict(str, str)
        Nr<   )r0   r   s     r1   r   zV1NodeStatus.capacity   s     "r3   c                     | j                   S )aJ  Gets the conditions of this V1NodeStatus.  # noqa: E501

        Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition  # noqa: E501

        :return: The conditions of this V1NodeStatus.  # noqa: E501
        :rtype: list[V1NodeCondition]
        r$   r6   s    r1   r   zV1NodeStatus.conditions   s     r3   c                     || _         y)aE  Sets the conditions of this V1NodeStatus.

        Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition  # noqa: E501

        :param conditions: The conditions of this V1NodeStatus.  # noqa: E501
        :type: list[V1NodeCondition]
        Nr?   )r0   r   s     r1   r   zV1NodeStatus.conditions   s     &r3   c                     | j                   S )zGets the config of this V1NodeStatus.  # noqa: E501


        :return: The config of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeConfigStatus
        r%   r6   s    r1   r   zV1NodeStatus.config   s     ||r3   c                     || _         y)zSets the config of this V1NodeStatus.


        :param config: The config of this V1NodeStatus.  # noqa: E501
        :type: V1NodeConfigStatus
        NrB   )r0   r   s     r1   r   zV1NodeStatus.config   s     r3   c                     | j                   S )zGets the daemon_endpoints of this V1NodeStatus.  # noqa: E501


        :return: The daemon_endpoints of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeDaemonEndpoints
        r&   r6   s    r1   r   zV1NodeStatus.daemon_endpoints   s     %%%r3   c                     || _         y)zSets the daemon_endpoints of this V1NodeStatus.


        :param daemon_endpoints: The daemon_endpoints of this V1NodeStatus.  # noqa: E501
        :type: V1NodeDaemonEndpoints
        NrE   )r0   r   s     r1   r   zV1NodeStatus.daemon_endpoints   s     "2r3   c                     | j                   S )a%  Gets the declared_features of this V1NodeStatus.  # noqa: E501

        DeclaredFeatures represents the features related to feature gates that are declared by the node.  # noqa: E501

        :return: The declared_features of this V1NodeStatus.  # noqa: E501
        :rtype: list[str]
        r'   r6   s    r1   r   zV1NodeStatus.declared_features   s     &&&r3   c                     || _         y)a'  Sets the declared_features of this V1NodeStatus.

        DeclaredFeatures represents the features related to feature gates that are declared by the node.  # noqa: E501

        :param declared_features: The declared_features of this V1NodeStatus.  # noqa: E501
        :type: list[str]
        NrH   )r0   r   s     r1   r   zV1NodeStatus.declared_features	  s     #4r3   c                     | j                   S )zGets the features of this V1NodeStatus.  # noqa: E501


        :return: The features of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeFeatures
        r(   r6   s    r1   r   zV1NodeStatus.features  s     ~~r3   c                     || _         y)zSets the features of this V1NodeStatus.


        :param features: The features of this V1NodeStatus.  # noqa: E501
        :type: V1NodeFeatures
        NrK   )r0   r   s     r1   r   zV1NodeStatus.features  s     "r3   c                     | j                   S )zGets the images of this V1NodeStatus.  # noqa: E501

        List of container images on this node  # noqa: E501

        :return: The images of this V1NodeStatus.  # noqa: E501
        :rtype: list[V1ContainerImage]
        r)   r6   s    r1   r   zV1NodeStatus.images*  s     ||r3   c                     || _         y)zSets the images of this V1NodeStatus.

        List of container images on this node  # noqa: E501

        :param images: The images of this V1NodeStatus.  # noqa: E501
        :type: list[V1ContainerImage]
        NrN   )r0   r   s     r1   r   zV1NodeStatus.images5  s     r3   c                     | j                   S )zGets the node_info of this V1NodeStatus.  # noqa: E501


        :return: The node_info of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeSystemInfo
        r*   r6   s    r1   r   zV1NodeStatus.node_infoA  s     r3   c                     || _         y)zSets the node_info of this V1NodeStatus.


        :param node_info: The node_info of this V1NodeStatus.  # noqa: E501
        :type: V1NodeSystemInfo
        NrQ   )r0   r   s     r1   r   zV1NodeStatus.node_infoK  s     $r3   c                     | j                   S )a\  Gets the phase of this V1NodeStatus.  # noqa: E501

        NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.  # noqa: E501

        :return: The phase of this V1NodeStatus.  # noqa: E501
        :rtype: str
        r+   r6   s    r1   r   zV1NodeStatus.phaseV  s     {{r3   c                     || _         y)aR  Sets the phase of this V1NodeStatus.

        NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.  # noqa: E501

        :param phase: The phase of this V1NodeStatus.  # noqa: E501
        :type: str
        NrT   )r0   r   s     r1   r   zV1NodeStatus.phasea  s     r3   c                     | j                   S )zGets the runtime_handlers of this V1NodeStatus.  # noqa: E501

        The available runtime handlers.  # noqa: E501

        :return: The runtime_handlers of this V1NodeStatus.  # noqa: E501
        :rtype: list[V1NodeRuntimeHandler]
        r,   r6   s    r1   r   zV1NodeStatus.runtime_handlersm       %%%r3   c                     || _         y)zSets the runtime_handlers of this V1NodeStatus.

        The available runtime handlers.  # noqa: E501

        :param runtime_handlers: The runtime_handlers of this V1NodeStatus.  # noqa: E501
        :type: list[V1NodeRuntimeHandler]
        NrW   )r0   r   s     r1   r   zV1NodeStatus.runtime_handlersx       "2r3   c                     | j                   S )zGets the volumes_attached of this V1NodeStatus.  # noqa: E501

        List of volumes that are attached to the node.  # noqa: E501

        :return: The volumes_attached of this V1NodeStatus.  # noqa: E501
        :rtype: list[V1AttachedVolume]
        r-   r6   s    r1   r   zV1NodeStatus.volumes_attached  rX   r3   c                     || _         y)zSets the volumes_attached of this V1NodeStatus.

        List of volumes that are attached to the node.  # noqa: E501

        :param volumes_attached: The volumes_attached of this V1NodeStatus.  # noqa: E501
        :type: list[V1AttachedVolume]
        Nr\   )r0   r   s     r1   r   zV1NodeStatus.volumes_attached  rZ   r3   c                     | j                   S )zGets the volumes_in_use of this V1NodeStatus.  # noqa: E501

        List of attachable volumes in use (mounted) by the node.  # noqa: E501

        :return: The volumes_in_use of this V1NodeStatus.  # noqa: E501
        :rtype: list[str]
        r.   r6   s    r1   r   zV1NodeStatus.volumes_in_use  s     ###r3   c                     || _         y)zSets the volumes_in_use of this V1NodeStatus.

        List of attachable volumes in use (mounted) by the node.  # noqa: E501

        :param volumes_in_use: The volumes_in_use of this V1NodeStatus.  # noqa: E501
        :type: list[str]
        Nr_   )r0   r   s     r1   r   zV1NodeStatus.volumes_in_use  s      .r3   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    r1   <lambda>z&V1NodeStatus.to_dict.<locals>.<lambda>  s    WQ	-Baiik  r3   rc   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rc   r   rd   )items    r1   rg   z&V1NodeStatus.to_dict.<locals>.<lambda>  s3    tAw	2 #'q'47??+<!= 8< r3   )six	iteritemsopenapi_typesgetattr
isinstancelistmapre   rc   dictitems)r0   resultattr_values        r1   rc   zV1NodeStatus.to_dict  s    }}T%7%78 	%GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t!	%$ r3   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatrc   r6   s    r1   to_strzV1NodeStatus.to_str  s    ~~dlln--r3   c                 "    | j                         S )zFor `print` and `pprint`)r{   r6   s    r1   __repr__zV1NodeStatus.__repr__  s    {{}r3   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFro   r   rc   r0   others     r1   __eq__zV1NodeStatus.__eq__  s&    %.||~00r3   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr   r   s     r1   __ne__zV1NodeStatus.__ne__  s&    %.||~00r3   )NNNNNNNNNNNNNNN)__name__
__module____qualname____doc__rm   attribute_mapr2   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   rc   r{   r}   r   r    r3   r1   r   r      s    +'$-&3($*'84%M$ !$"-/--(M"11f   	$ 	$ ! ! 	( 	(   __	" 	"     	& 	&   ]]  & & 2 2 ' ' 	4 	4   __" "   ]]	 	   $ $   \\	 	 & & 	2 	2 & & 	2 	2 $ $ 	. 	.0.11r3   r   )r   ry   rerk   kubernetes.client.configurationr   objectr   r   r3   r1   <module>r      s&     	 
 9I16 I1r3   