
    3iU                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)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.34
Generated by: https://openapi-generator.tech
    N)Configurationc                       \ rS rSrSr SSS.rSSS.rSS	 jr\S
 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       rS rS rS rS rS rSrg)V1LabelSelector   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
z list[V1LabelSelectorRequirement]zdict(str, str))match_expressionsmatch_labelsmatchExpressionsmatchLabelsNc                 z    Uc
  [        5       nX0l        SU l        SU l        SU l        Ub  Xl        Ub  X l        gg)z,V1LabelSelector - a model defined in OpenAPIN)r   local_vars_configuration_match_expressions_match_labelsdiscriminatorr   r   )selfr   r   r   s       d/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_label_selector.py__init__V1LabelSelector.__init__-   sK    #+'4$(@%"&!!(%6"# , $    c                     U R                   $ )a  Gets the match_expressions of this V1LabelSelector.  # noqa: E501

matchExpressions is a list of label selector requirements. The requirements are ANDed.  # noqa: E501

:return: The match_expressions of this V1LabelSelector.  # noqa: E501
:rtype: list[V1LabelSelectorRequirement]
r   r   s    r   r   !V1LabelSelector.match_expressions<   s     &&&r   c                     Xl         g)a  Sets the match_expressions of this V1LabelSelector.

matchExpressions is a list of label selector requirements. The requirements are ANDed.  # noqa: E501

:param match_expressions: The match_expressions of this V1LabelSelector.  # noqa: E501
:type: list[V1LabelSelectorRequirement]
Nr   )r   r   s     r   r   r   G   s
     #4r   c                     U R                   $ )a  Gets the match_labels of this V1LabelSelector.  # noqa: E501

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.  # noqa: E501

:return: The match_labels of this V1LabelSelector.  # noqa: E501
:rtype: dict(str, str)
r   r   s    r   r   V1LabelSelector.match_labelsS   s     !!!r   c                     Xl         g)a  Sets the match_labels of this V1LabelSelector.

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.  # noqa: E501

:param match_labels: The match_labels of this V1LabelSelector.  # noqa: E501
:type: dict(str, str)
Nr   )r   r   s     r   r   r   ^   s
     *r   c                    0 n[         R                  " U R                  5       H  u  p#[        X5      n[	        U[
        5      (       a  [        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [	        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z&Returns the model properties as a dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr    )xs    r   <lambda>)V1LabelSelector.to_dict.<locals>.<lambda>r   s    WQ	-B-BaiikIIr   r    c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r    r   r!   )items    r   r$   r%   y   s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr"   r    dictitems)r   resultattr_values        r   r    V1LabelSelector.to_dictj   s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatr    r   s    r   to_strV1LabelSelector.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)r:   r   s    r   __repr__V1LabelSelector.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr-   r   r    r   others     r   __eq__V1LabelSelector.__eq__   s)    %11||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTr@   rA   s     r   __ne__V1LabelSelector.__ne__   s)    %11||~00r   )r   r   r   r   r   r   )NNN)__name__
__module____qualname____firstlineno____doc__r+   attribute_mapr   propertyr   setterr   r    r:   r=   rC   rF   __static_attributes__ r   r   r   r      s     @(M 0%M
- ' ' 	4 	4 " " 	* 	*0.11r   r   )rL   r8   rer)   kubernetes.client.configurationr   objectr   rQ   r   r   <module>rU      s&     	 
 9A1f A1r   