
    <gH$                     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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 Zd  Zd! Zd" Zd# Zy)%
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_cid_rsprovider_idtaintsunschedulableconfigSource
externalIDpodCIDRpodCIDRs
providerIDr   r   Nc	                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z'V1NodeSpec - a model defined in OpenAPIN)r   local_vars_configuration_config_source_external_id	_pod_cidr_pod_cid_rs_provider_id_taints_unschedulablediscriminatorr	   r
   r   r   r   r   r   )	selfr	   r
   r   r   r   r   r   r   s	            Z/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_node_spec.py__init__zV1NodeSpec.__init__7   s    #+'4$(@%"  "!$!.D"*D$DM!(DO"*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_sourceU   s     """r"   c                     || _         y)zSets the config_source of this V1NodeSpec.


        :param config_source: The config_source of this V1NodeSpec.  # noqa: E501
        :type: V1NodeConfigSource
        Nr$   )r   r	   s     r    r	   zV1NodeSpec.config_source_   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_idj           r"   c                     || _         y)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: str
        Nr(   )r   r
   s     r    r
   zV1NodeSpec.external_idu        (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                     || _         y)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: str
        Nr-   )r   r   s     r    r   zV1NodeSpec.pod_cidr   s     "r"   c                     | j                   S )a  Gets the pod_cid_rs 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_cid_rs of this V1NodeSpec.  # noqa: E501
        :rtype: list[str]
        r   r%   s    r    r   zV1NodeSpec.pod_cid_rs   s     r"   c                     || _         y)a  Sets the pod_cid_rs 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_cid_rs: The pod_cid_rs of this V1NodeSpec.  # noqa: E501
        :type: list[str]
        Nr0   )r   r   s     r    r   zV1NodeSpec.pod_cid_rs   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                     || _         y)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: str
        Nr3   )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                     || _         y)zSets the taints of this V1NodeSpec.

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

        :param taints: The taints of this V1NodeSpec.  # noqa: E501
        :type: list[V1Taint]
        Nr6   )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                     || _         y)a`  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: bool
        Nr9   )r   r   s     r    r   zV1NodeSpec.unschedulable   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hasattrr=   )xs    r    <lambda>z$V1NodeSpec.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr"   r=   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r=   r   r>   )items    r    rA   z$V1NodeSpec.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r"   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr?   r=   dictitems)r   resultattr_values        r    r=   zV1NodeSpec.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pformatr=   r%   s    r    to_strzV1NodeSpec.to_str  s    ~~dlln--r"   c                 "    | j                         S )zFor `print` and `pprint`)rU   r%   s    r    __repr__zV1NodeSpec.__repr__  s    {{}r"   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V1NodeSpec.__eq__  s&    %,||~00r"   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrY   rZ   s     r    __ne__zV1NodeSpec.__ne__  s&    %,||~00r"   )NNNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr!   propertyr	   setterr
   r   r   r   r   r   r=   rU   rW   r\   r^    r"   r    r   r      s    .!!M (# #(M/< # # , , ! ! 	( 	(   __	" 	"     	& 	& ! ! 	( 	(   ]]	 	 # # 	, 	,0.11r"   r   )rb   rS   rerE   kubernetes.client.configurationr   objectr   rf   r"   r    <module>rj      s&     	 
 9K1 K1r"   