
    [j%                     |    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                      e Zd ZdZ	 ddddddddZ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d&d Zd! Zd" Zd# Zd$ ZdS )'
V1NodeSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1NodeConfigSourcestrz	list[str]zlist[V1Taint]bool)config_sourceexternal_idpod_cidr	pod_cidrsprovider_idtaintsunschedulableconfigSource
externalIDpodCIDRpodCIDRs
providerIDr   r   Nc	                 0   |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z'V1NodeSpec - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_config_source_external_id	_pod_cidr
_pod_cidrs_provider_id_taints_unschedulablediscriminatorr   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            j/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_node_spec.py__init__zV1NodeSpec.__init__:   s    #+'4'@'B'B$(@%"  "!$!.D"*D$DM &DN"*D DK$!.D %$    c                     | j         S )zGets the config_source of this V1NodeSpec.  # noqa: E501


        :return: The config_source of this V1NodeSpec.  # noqa: E501
        :rtype: V1NodeConfigSource
        r   r"   s    r#   r   zV1NodeSpec.config_sourceX   s     ""r%   c                     || _         dS )zSets the config_source of this V1NodeSpec.


        :param config_source: The config_source of this V1NodeSpec.  # noqa: E501
        :type config_source: V1NodeConfigSource
        Nr'   )r"   r   s     r#   r   zV1NodeSpec.config_sourceb   s     ,r%   c                     | j         S )a  Gets the external_id of this V1NodeSpec.  # noqa: E501

        Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966  # noqa: E501

        :return: The external_id of this V1NodeSpec.  # noqa: E501
        :rtype: str
        r   r(   s    r#   r   zV1NodeSpec.external_idm          r%   c                     || _         dS )a"  Sets the external_id of this V1NodeSpec.

        Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966  # noqa: E501

        :param external_id: The external_id of this V1NodeSpec.  # noqa: E501
        :type external_id: str
        Nr+   )r"   r   s     r#   r   zV1NodeSpec.external_idx        (r%   c                     | j         S )zGets the pod_cidr of this V1NodeSpec.  # noqa: E501

        PodCIDR represents the pod IP range assigned to the node.  # noqa: E501

        :return: The pod_cidr of this V1NodeSpec.  # noqa: E501
        :rtype: str
        r   r(   s    r#   r   zV1NodeSpec.pod_cidr   s     ~r%   c                     || _         dS )zSets the pod_cidr of this V1NodeSpec.

        PodCIDR represents the pod IP range assigned to the node.  # noqa: E501

        :param pod_cidr: The pod_cidr of this V1NodeSpec.  # noqa: E501
        :type pod_cidr: str
        Nr0   )r"   r   s     r#   r   zV1NodeSpec.pod_cidr   s     "r%   c                     | j         S )a  Gets the pod_cidrs of this V1NodeSpec.  # noqa: E501

        podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.  # noqa: E501

        :return: The pod_cidrs of this V1NodeSpec.  # noqa: E501
        :rtype: list[str]
        r   r(   s    r#   r   zV1NodeSpec.pod_cidrs   s     r%   c                     || _         dS )a  Sets the pod_cidrs of this V1NodeSpec.

        podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.  # noqa: E501

        :param pod_cidrs: The pod_cidrs of this V1NodeSpec.  # noqa: E501
        :type pod_cidrs: list[str]
        Nr3   )r"   r   s     r#   r   zV1NodeSpec.pod_cidrs   s     $r%   c                     | j         S )a  Gets the provider_id of this V1NodeSpec.  # noqa: E501

        ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>  # noqa: E501

        :return: The provider_id of this V1NodeSpec.  # noqa: E501
        :rtype: str
        r   r(   s    r#   r   zV1NodeSpec.provider_id   r,   r%   c                     || _         dS )a  Sets the provider_id of this V1NodeSpec.

        ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>  # noqa: E501

        :param provider_id: The provider_id of this V1NodeSpec.  # noqa: E501
        :type provider_id: str
        Nr6   )r"   r   s     r#   r   zV1NodeSpec.provider_id   r.   r%   c                     | j         S )zGets the taints of this V1NodeSpec.  # noqa: E501

        If specified, the node's taints.  # noqa: E501

        :return: The taints of this V1NodeSpec.  # noqa: E501
        :rtype: list[V1Taint]
        r   r(   s    r#   r   zV1NodeSpec.taints   s     |r%   c                     || _         dS )zSets the taints of this V1NodeSpec.

        If specified, the node's taints.  # noqa: E501

        :param taints: The taints of this V1NodeSpec.  # noqa: E501
        :type taints: list[V1Taint]
        Nr9   )r"   r   s     r#   r   zV1NodeSpec.taints   s     r%   c                     | j         S )ab  Gets the unschedulable of this V1NodeSpec.  # noqa: E501

        Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration  # noqa: E501

        :return: The unschedulable of this V1NodeSpec.  # noqa: E501
        :rtype: bool
        r    r(   s    r#   r   zV1NodeSpec.unschedulable   s     ""r%   c                     || _         dS )an  Sets the unschedulable of this V1NodeSpec.

        Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration  # noqa: E501

        :param unschedulable: The unschedulable of this V1NodeSpec.  # noqa: E501
        :type unschedulable: bool
        Nr<   )r"   r   s     r#   r   zV1NodeSpec.unschedulable   s     ,r%   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   r@   argslen)xrC   	serializes     r#   convertz#V1NodeSpec.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r%   c                      |           S )N )rE   rG   s    r#   <lambda>z$V1NodeSpec.to_dict.<locals>.<lambda>
  s    ggajj r%   c                 6    | d          | d                   fS )Nr   rA   rI   )itemrG   s    r#   rJ   z$V1NodeSpec.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r%   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r"   rF   resultattr_valuerG   s    `    @r#   r@   zV1NodeSpec.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr%   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr@   r(   s    r#   to_strzV1NodeSpec.to_str  s    ~dllnn---r%   c                 *    |                                  S )zFor `print` and `pprint`)r_   r(   s    r#   __repr__zV1NodeSpec.__repr__  s    {{}}r%   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrS   r   r@   r"   others     r#   __eq__zV1NodeSpec.__eq__  s4    %,, 	5||~~00r%   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrc   rd   s     r#   __ne__zV1NodeSpec.__ne__&  s4    %,, 	4||~~00r%   )NNNNNNNN)F)__name__
__module____qualname____doc__rO   rQ   r$   propertyr   setterr   r   r   r   r   r   r@   r_   ra   rf   rh   rI   r%   r#   r   r      s`         . ! M (##( M/ / / /< # # X# , , , ! ! X! 	( 	( 	(   X _	" 	" _	"   X 	$ 	$ 	$ ! ! X! 	( 	( 	(   X ]	 	 ]	 # # X# 	, 	, 	,   @. . .  1 1 11 1 1 1 1r%   r   )rl   inspectr   ImportErrorr   r]   rerM   'kubernetes_asyncio.client.configurationr   objectr   rI   r%   r#   <module>rt      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A AS1 S1 S1 S1 S1 S1 S1 S1 S1 S1s    