
    [jB                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)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dAd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dBd<Zd= Zd> Zd? Zd@ ZdS )C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          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z)V1NodeStatus - a model defined in OpenAPIN) r   get_default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                   l/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_node_status.py__init__zV1NodeStatus.__init__H   sZ   #+'4'@'B'B$(@% !%"&!%!%#! &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$   r3   s    r4   r   zV1NodeStatus.addresses{   s     r6   c                     || _         dS )aR  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 addresses: list[V1NodeAddress]
        Nr8   )r3   r   s     r4   r   zV1NodeStatus.addresses   s     $r6   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%   r9   s    r4   r   zV1NodeStatus.allocatable   s       r6   c                     || _         dS )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 allocatable: dict[str, str]
        Nr<   )r3   r   s     r4   r   zV1NodeStatus.allocatable   s     (r6   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&   r9   s    r4   r   zV1NodeStatus.capacity   s     ~r6   c                     || _         dS )a7  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 capacity: dict[str, str]
        Nr?   )r3   r   s     r4   r   zV1NodeStatus.capacity   s     "r6   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'   r9   s    r4   r   zV1NodeStatus.conditions   s     r6   c                     || _         dS )aP  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 conditions: list[V1NodeCondition]
        NrB   )r3   r   s     r4   r   zV1NodeStatus.conditions   s     &r6   c                     | j         S )zGets the config of this V1NodeStatus.  # noqa: E501


        :return: The config of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeConfigStatus
        r(   r9   s    r4   r   zV1NodeStatus.config   s     |r6   c                     || _         dS )zSets the config of this V1NodeStatus.


        :param config: The config of this V1NodeStatus.  # noqa: E501
        :type config: V1NodeConfigStatus
        NrE   )r3   r   s     r4   r   zV1NodeStatus.config   s     r6   c                     | j         S )zGets the daemon_endpoints of this V1NodeStatus.  # noqa: E501


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


        :param daemon_endpoints: The daemon_endpoints of this V1NodeStatus.  # noqa: E501
        :type daemon_endpoints: V1NodeDaemonEndpoints
        NrH   )r3   r   s     r4   r   zV1NodeStatus.daemon_endpoints   s     "2r6   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*   r9   s    r4   r   zV1NodeStatus.declared_features  s     &&r6   c                     || _         dS )a9  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 declared_features: list[str]
        NrK   )r3   r   s     r4   r   zV1NodeStatus.declared_features  s     #4r6   c                     | j         S )zGets the features of this V1NodeStatus.  # noqa: E501


        :return: The features of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeFeatures
        r+   r9   s    r4   r   zV1NodeStatus.features  s     ~r6   c                     || _         dS )zSets the features of this V1NodeStatus.


        :param features: The features of this V1NodeStatus.  # noqa: E501
        :type features: V1NodeFeatures
        NrN   )r3   r   s     r4   r   zV1NodeStatus.features"  s     "r6   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,   r9   s    r4   r   zV1NodeStatus.images-  s     |r6   c                     || _         dS )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 images: list[V1ContainerImage]
        NrQ   )r3   r   s     r4   r   zV1NodeStatus.images8  s     r6   c                     | j         S )zGets the node_info of this V1NodeStatus.  # noqa: E501


        :return: The node_info of this V1NodeStatus.  # noqa: E501
        :rtype: V1NodeSystemInfo
        r-   r9   s    r4   r   zV1NodeStatus.node_infoD  s     r6   c                     || _         dS )zSets the node_info of this V1NodeStatus.


        :param node_info: The node_info of this V1NodeStatus.  # noqa: E501
        :type node_info: V1NodeSystemInfo
        NrT   )r3   r   s     r4   r   zV1NodeStatus.node_infoN  s     $r6   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.   r9   s    r4   r   zV1NodeStatus.phaseY  s     {r6   c                     || _         dS )aX  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 phase: str
        NrW   )r3   r   s     r4   r   zV1NodeStatus.phased  s     r6   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/   r9   s    r4   r   zV1NodeStatus.runtime_handlersp       %%r6   c                     || _         dS )a  Sets the runtime_handlers of this V1NodeStatus.

        The available runtime handlers.  # noqa: E501

        :param runtime_handlers: The runtime_handlers of this V1NodeStatus.  # noqa: E501
        :type runtime_handlers: list[V1NodeRuntimeHandler]
        NrZ   )r3   r   s     r4   r   zV1NodeStatus.runtime_handlers{       "2r6   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]
        r0   r9   s    r4   r   zV1NodeStatus.volumes_attached  r[   r6   c                     || _         dS )a  Sets 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 volumes_attached: list[V1AttachedVolume]
        Nr_   )r3   r   s     r4   r   zV1NodeStatus.volumes_attached  r]   r6   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]
        r1   r9   s    r4   r   zV1NodeStatus.volumes_in_use  s     ##r6   c                     || _         dS )a  Sets 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 volumes_in_use: list[str]
        Nrb   )r3   r   s     r4   r   zV1NodeStatus.volumes_in_use  s      .r6   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   rf   argslen)xri   	serializes     r4   convertz%V1NodeStatus.to_dict.<locals>.convert  s[    q)$$ %ai005t99>>99;;&99Y///r6   c                      |           S )N )rk   rm   s    r4   <lambda>z&V1NodeStatus.to_dict.<locals>.<lambda>  s    ggajj r6   c                 6    | d          | d                   fS )Nr   rg   ro   )itemrm   s    r4   rp   z&V1NodeStatus.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r6   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r3   rl   resultattr_valuerm   s    `    @r4   rf   zV1NodeStatus.to_dict  s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr6   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrf   r9   s    r4   to_strzV1NodeStatus.to_str  s    ~dllnn---r6   c                 *    |                                  S )zFor `print` and `pprint`)r   r9   s    r4   __repr__zV1NodeStatus.__repr__  s    {{}}r6   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFry   r   rf   r3   others     r4   __eq__zV1NodeStatus.__eq__  s4    %.. 	5||~~00r6   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r4   __ne__zV1NodeStatus.__ne__  s4    %.. 	4||~~00r6   )NNNNNNNNNNNNNNN)F)__name__
__module____qualname____doc__ru   rw   r5   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   rf   r   r   r   r   ro   r6   r4   r   r      s         +'$-&3($*'84% M$ !$"-/--( M"11 11 11 11f   X 	$ 	$ 	$ ! ! X! 	( 	( 	(   X _	" 	" _	"     X  	& 	& 	&   X ]  ] & & X& 2 2 2 ' ' X' 	4 	4 	4   X _" " _"   X ]	 	 ]	   X $ $ $   X \	 	 \	 & & X& 	2 	2 	2 & & X& 	2 	2 	2 $ $ X$ 	. 	. 	.   @. . .  1 1 11 1 1 1 1r6   r   )r   inspectr   ImportErrorr   r   rers   'kubernetes_asyncio.client.configurationr   objectr   ro   r6   r4   <module>r      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A AQ1 Q1 Q1 Q1 Q16 Q1 Q1 Q1 Q1 Q1s    