
    <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	d
ddddZ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                  d/        Zed0        Zej                  d1        Zed2        Zej                  d3        Zed4        Zej                  d5        Zed6        Zej                  d7        Zd8 Zd9 Zd: Zd; Zd< Zy)>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V1NodeDaemonEndpointsV1NodeFeatureszlist[V1ContainerImage]V1NodeSystemInfostrzlist[V1NodeRuntimeHandler]zlist[V1AttachedVolume]z	list[str])	addressesallocatablecapacity
conditionsconfigdaemon_endpointsfeaturesimages	node_infophaseruntime_handlersvolumes_attachedvolumes_in_user   r   r   r   r   daemonEndpointsr   r   nodeInfor   runtimeHandlersvolumesAttachedvolumesInUseNc                    |
t               }|| _        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	_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   )selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   s                  \/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_node_status.py__init__zV1NodeStatus.__init__C   s4   #+'4$(@% !%!%!%#! &DN"*D$DM!(DO DK'$4D!$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   r-   s    r.   r   zV1NodeStatus.addressess   s     r0   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]
        Nr2   )r-   r   s     r.   r   zV1NodeStatus.addresses~   s     $r0   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    r3   s    r.   r   zV1NodeStatus.allocatable   s        r0   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)
        Nr6   )r-   r   s     r.   r   zV1NodeStatus.allocatable   s     (r0   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!   r3   s    r.   r   zV1NodeStatus.capacity   s     ~~r0   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)
        Nr9   )r-   r   s     r.   r   zV1NodeStatus.capacity   s     "r0   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"   r3   s    r.   r   zV1NodeStatus.conditions   s     r0   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<   )r-   r   s     r.   r   zV1NodeStatus.conditions   s     &r0   c                     | j                   S )zGets the config of this V1NodeStatus.  # noqa: E501


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


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


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


        :param daemon_endpoints: The daemon_endpoints of this V1NodeStatus.  # noqa: E501
        :type: V1NodeDaemonEndpoints
        NrB   )r-   r   s     r.   r   zV1NodeStatus.daemon_endpoints   s     "2r0   c                     | j                   S )zGets the features of this V1NodeStatus.  # noqa: E501


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


        :param features: The features of this V1NodeStatus.  # noqa: E501
        :type: V1NodeFeatures
        NrE   )r-   r   s     r.   r   zV1NodeStatus.features  s     "r0   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&   r3   s    r.   r   zV1NodeStatus.images  s     ||r0   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]
        NrH   )r-   r   s     r.   r   zV1NodeStatus.images  s     r0   c                     | j                   S )zGets the node_info of this V1NodeStatus.  # noqa: E501


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


        :param node_info: The node_info of this V1NodeStatus.  # noqa: E501
        :type: V1NodeSystemInfo
        NrK   )r-   r   s     r.   r   zV1NodeStatus.node_info/  s     $r0   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(   r3   s    r.   r   zV1NodeStatus.phase:  s     {{r0   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
        NrN   )r-   r   s     r.   r   zV1NodeStatus.phaseE  s     r0   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)   r3   s    r.   r   zV1NodeStatus.runtime_handlersQ       %%%r0   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]
        NrQ   )r-   r   s     r.   r   zV1NodeStatus.runtime_handlers\       "2r0   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*   r3   s    r.   r   zV1NodeStatus.volumes_attachedh  rR   r0   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]
        NrV   )r-   r   s     r.   r   zV1NodeStatus.volumes_attacheds  rT   r0   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+   r3   s    r.   r   zV1NodeStatus.volumes_in_use  s     ###r0   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]
        NrY   )r-   r   s     r.   r   zV1NodeStatus.volumes_in_use  s      .r0   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hasattrr]   )xs    r.   <lambda>z&V1NodeStatus.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr0   r]   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r]   r   r^   )items    r.   ra   z&V1NodeStatus.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r0   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr_   r]   dictitems)r-   resultattr_values        r.   r]   zV1NodeStatus.to_dict  s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r0   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr]   r3   s    r.   to_strzV1NodeStatus.to_str  s    ~~dlln--r0   c                 "    | j                         S )zFor `print` and `pprint`)ru   r3   s    r.   __repr__zV1NodeStatus.__repr__  s    {{}r0   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFri   r   r]   r-   others     r.   __eq__zV1NodeStatus.__eq__  s&    %.||~00r0   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTry   rz   s     r.   __ne__zV1NodeStatus.__ne__  s&    %.||~00r0   )NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rg   attribute_mapr/   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r]   ru   rw   r|   r~    r0   r.   r   r      s    +'$-&3$*'84%M" !$"---(M .1`   	$ 	$ ! ! 	( 	(   __	" 	"     	& 	&   ]]  & & 2 2   __" "   ]]	 	   $ $   \\	 	 & & 	2 	2 & & 	2 	2 $ $ 	. 	.0.11r0   r   )r   rs   rere   kubernetes.client.configurationr   objectr   r   r0   r.   <module>r      s&     	 
 9m16 m1r0   