Ë
    <ªgv/  ã                   ó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œZ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d„ Zd„ Zd„ Zd„ Zd„ Zy) ÚV1PodAffinityTermzŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    ÚV1LabelSelectorz	list[str]Ústr)Úlabel_selectorÚmatch_label_keysÚmismatch_label_keysÚnamespace_selectorÚ
namespacesÚtopology_keyÚlabelSelectorÚmatchLabelKeysÚmismatchLabelKeysÚnamespaceSelectorr   ÚtopologyKeyNc                 óô   — |€
t        «       }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        || _        y)z.V1PodAffinityTerm - a model defined in OpenAPIN)r   Úlocal_vars_configurationÚ_label_selectorÚ_match_label_keysÚ_mismatch_label_keysÚ_namespace_selectorÚ_namespacesÚ_topology_keyÚdiscriminatorr   r	   r
   r   r   r   )Úselfr   r	   r
   r   r   r   r   s           úb/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_pod_affinity_term.pyÚ__init__zV1PodAffinityTerm.__init__5   s   € à#Ð+Ü'4£Ð$Ø(@ˆÔ%à#ˆÔØ!%ˆÔØ$(ˆÔ!Ø#'ˆÔ ØˆÔØ!ˆÔØ!ˆÔàÐ%Ø"0ˆDÔØÐ'Ø$4ˆDÔ!ØÐ*Ø':ˆDÔ$ØÐ)Ø&8ˆDÔ#ØÐ!Ø(ˆDŒOØ(ˆÕó    c                 ó   — | j                   S )z¸Gets the label_selector of this V1PodAffinityTerm.  # noqa: E501


        :return: The label_selector of this V1PodAffinityTerm.  # noqa: E501
        :rtype: V1LabelSelector
        ©r   ©r   s    r   r   z V1PodAffinityTerm.label_selectorO   s   € ð ×#Ñ#Ð#r   c                 ó   — || _         y)z·Sets the label_selector of this V1PodAffinityTerm.


        :param label_selector: The label_selector of this V1PodAffinityTerm.  # noqa: E501
        :type: V1LabelSelector
        Nr!   )r   r   s     r   r   z V1PodAffinityTerm.label_selectorY   s   € ð  .ˆÕr   c                 ó   — | j                   S )aŒ  Gets the match_label_keys of this V1PodAffinityTerm.  # noqa: E501

        MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).  # noqa: E501

        :return: The match_label_keys of this V1PodAffinityTerm.  # noqa: E501
        :rtype: list[str]
        ©r   r"   s    r   r	   z"V1PodAffinityTerm.match_label_keysd   s   € ð ×%Ñ%Ð%r   c                 ó   — || _         y)a  Sets the match_label_keys of this V1PodAffinityTerm.

        MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).  # noqa: E501

        :param match_label_keys: The match_label_keys of this V1PodAffinityTerm.  # noqa: E501
        :type: list[str]
        Nr%   )r   r	   s     r   r	   z"V1PodAffinityTerm.match_label_keyso   s   € ð "2ˆÕr   c                 ó   — | j                   S )až  Gets the mismatch_label_keys of this V1PodAffinityTerm.  # noqa: E501

        MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).  # noqa: E501

        :return: The mismatch_label_keys of this V1PodAffinityTerm.  # noqa: E501
        :rtype: list[str]
        ©r   r"   s    r   r
   z%V1PodAffinityTerm.mismatch_label_keys{   s   € ð ×(Ñ(Ð(r   c                 ó   — || _         y)a¢  Sets the mismatch_label_keys of this V1PodAffinityTerm.

        MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).  # noqa: E501

        :param mismatch_label_keys: The mismatch_label_keys of this V1PodAffinityTerm.  # noqa: E501
        :type: list[str]
        Nr(   )r   r
   s     r   r
   z%V1PodAffinityTerm.mismatch_label_keys†   s   € ð %8ˆÕ!r   c                 ó   — | j                   S )zÀGets the namespace_selector of this V1PodAffinityTerm.  # noqa: E501


        :return: The namespace_selector of this V1PodAffinityTerm.  # noqa: E501
        :rtype: V1LabelSelector
        ©r   r"   s    r   r   z$V1PodAffinityTerm.namespace_selector’   s   € ð ×'Ñ'Ð'r   c                 ó   — || _         y)zÃSets the namespace_selector of this V1PodAffinityTerm.


        :param namespace_selector: The namespace_selector of this V1PodAffinityTerm.  # noqa: E501
        :type: V1LabelSelector
        Nr+   )r   r   s     r   r   z$V1PodAffinityTerm.namespace_selectorœ   s   € ð $6ˆÕ r   c                 ó   — | j                   S )aÛ  Gets the namespaces of this V1PodAffinityTerm.  # noqa: E501

        namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".  # noqa: E501

        :return: The namespaces of this V1PodAffinityTerm.  # noqa: E501
        :rtype: list[str]
        ©r   r"   s    r   r   zV1PodAffinityTerm.namespaces§   s   € ð ×ÑÐr   c                 ó   — || _         y)aÖ  Sets the namespaces of this V1PodAffinityTerm.

        namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".  # noqa: E501

        :param namespaces: The namespaces of this V1PodAffinityTerm.  # noqa: E501
        :type: list[str]
        Nr.   )r   r   s     r   r   zV1PodAffinityTerm.namespaces²   s   € ð &ˆÕr   c                 ó   — | j                   S )a  Gets the topology_key of this V1PodAffinityTerm.  # noqa: E501

        This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.  # noqa: E501

        :return: The topology_key of this V1PodAffinityTerm.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   zV1PodAffinityTerm.topology_key¾   s   € ð ×!Ñ!Ð!r   c                 óX   — | j                   j                  r|€t        d«      ‚|| _        y)a  Sets the topology_key of this V1PodAffinityTerm.

        This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.  # noqa: E501

        :param topology_key: The topology_key of this V1PodAffinityTerm.  # noqa: E501
        :type: str
        Nz4Invalid value for `topology_key`, must not be `None`)r   Úclient_side_validationÚ
ValueErrorr   )r   r   s     r   r   zV1PodAffinityTerm.topology_keyÉ   s,   € ð ×(Ñ(×?Ò?ÀLÐDXÜÐSÓTÐTà)ˆÕ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©Úhasattrr6   )Úxs    r   Ú<lambda>z+V1PodAffinityTerm.to_dict.<locals>.<lambda>ß   s   € ¬W°Q¸	Ô-B˜aŸi™i›kÐIÈÐIr   r6   c                 óT   — t        | d   d«      r| d   | d   j                  «       fS | S )Né   r6   r   r7   )Úitems    r   r:   z+V1PodAffinityTerm.to_dict.<locals>.<lambda>æ   s6   € Ü˜t A™w¨	Ô2ð #' q¡'¨4°©7¯?©?Ó+<Ð!=ð "=Ø8<ð"=r   )ÚsixÚ	iteritemsÚopenapi_typesÚgetattrÚ
isinstanceÚlistÚmapr8   r6   ÚdictÚitems)r   ÚresultÚattrÚ_Úvalues        r   r6   zV1PodAffinityTerm.to_dict×   s¯   € àˆä—}‘} T×%7Ñ%7Ö8‰GˆD!Ü˜D $Ó'ˆEÜ˜%¤Ô&Ü#¤CÙIØó%ó  t’ô ˜ 	Ô*Ø$Ÿ}™}›t’Ü˜E¤4Ô(Ü#¤Cñ=à—K‘K“Mó%ó  t’ð  %t’ð! 9ð$ ˆr   c                 óH   — t        j                  | j                  «       «      S )z.Returns the string representation of the model)ÚpprintÚpformatr6   r"   s    r   Úto_strzV1PodAffinityTerm.to_strï   s   € ä~‰~˜dŸl™l›nÓ-Ð-r   c                 ó"   — | j                  «       S )zFor `print` and `pprint`)rN   r"   s    r   Ú__repr__zV1PodAffinityTerm.__repr__ó   s   € à{‰{‹}Ðr   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF©rB   r   r6   ©r   Úothers     r   Ú__eq__zV1PodAffinityTerm.__eq__÷   s'   € ä˜%Ô!2Ô3Øà|‰|‹~ §¡£Ñ0Ð0r   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k7  S )z*Returns true if both objects are not equalTrR   rS   s     r   Ú__ne__zV1PodAffinityTerm.__ne__þ   s'   € ä˜%Ô!2Ô3Øà|‰|‹~ §¡£Ñ0Ð0r   )NNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r@   Úattribute_mapr   Úpropertyr   Úsetterr	   r
   r   r   r   r6   rN   rP   rU   rW   © r   r   r   r      st  „ ñðð ,Ø'Ø*Ø/Ø!Øñ€Mð *Ø,Ø2Ø1Ø"Ø%ñ€Mó)ð4 ñ$ó ð$ð ×Ññ.ó ð.ð ñ&ó ð&ð ×Ññ	2ó ð	2ð ñ)ó ð)ð ×Ññ	8ó  ð	8ð ñ(ó ð(ð ×Ññ6ó ð6ð ñ ó ð ð ×Ññ	&ó ð	&ð ñ"ó ð"ð ×Ññ*ó ð*òò0.òò1ó1r   r   )r[   rL   Úrer>   Úkubernetes.client.configurationr   Úobjectr   r_   r   r   Ú<module>rc      s&   ðñó Û 	ã 
å 9ôn1˜õ n1r   