Ë
    <ªg¸'  ã                   ó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œZ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d„ Zd„ Zd„ Zd„ Zd„ Zy)ÚV1alpha1MatchResourceszŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    z%list[V1alpha1NamedRuleWithOperations]ÚstrÚV1LabelSelector)Úexclude_resource_rulesÚmatch_policyÚnamespace_selectorÚobject_selectorÚresource_rulesÚexcludeResourceRulesÚmatchPolicyÚnamespaceSelectorÚobjectSelectorÚresourceRulesNc                 óÚ   — |€
t        «       }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        ||| _        ||| _        yy)z3V1alpha1MatchResources - a model defined in OpenAPIN)r   Úlocal_vars_configurationÚ_exclude_resource_rulesÚ_match_policyÚ_namespace_selectorÚ_object_selectorÚ_resource_rulesÚdiscriminatorr   r	   r
   r   r   )Úselfr   r	   r
   r   r   r   s          úf/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha1_match_resources.pyÚ__init__zV1alpha1MatchResources.__init__3   s“   € à#Ð+Ü'4£Ð$Ø(@ˆÔ%à'+ˆÔ$Ø!ˆÔØ#'ˆÔ Ø $ˆÔØ#ˆÔØ!ˆÔà!Ð-Ø*@ˆDÔ'ØÐ#Ø ,ˆDÔØÐ)Ø&8ˆDÔ#ØÐ&Ø#2ˆDÔ ØÐ%Ø"0ˆDÕð &ó    c                 ó   — | j                   S )aã  Gets the exclude_resource_rules of this V1alpha1MatchResources.  # noqa: E501

        ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)  # noqa: E501

        :return: The exclude_resource_rules of this V1alpha1MatchResources.  # noqa: E501
        :rtype: list[V1alpha1NamedRuleWithOperations]
        ©r   ©r   s    r   r   z-V1alpha1MatchResources.exclude_resource_rulesK   s   € ð ×+Ñ+Ð+r   c                 ó   — || _         y)aê  Sets the exclude_resource_rules of this V1alpha1MatchResources.

        ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)  # noqa: E501

        :param exclude_resource_rules: The exclude_resource_rules of this V1alpha1MatchResources.  # noqa: E501
        :type: list[V1alpha1NamedRuleWithOperations]
        Nr   )r   r   s     r   r   z-V1alpha1MatchResources.exclude_resource_rulesV   s   € ð (>ˆÕ$r   c                 ó   — | j                   S )at  Gets the match_policy of this V1alpha1MatchResources.  # noqa: E501

        matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.  - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.  Defaults to "Equivalent"  # noqa: E501

        :return: The match_policy of this V1alpha1MatchResources.  # noqa: E501
        :rtype: str
        ©r   r    s    r   r	   z#V1alpha1MatchResources.match_policyb   s   € ð ×!Ñ!Ð!r   c                 ó   — || _         y)aq  Sets the match_policy of this V1alpha1MatchResources.

        matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.  - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.  Defaults to "Equivalent"  # noqa: E501

        :param match_policy: The match_policy of this V1alpha1MatchResources.  # noqa: E501
        :type: str
        Nr#   )r   r	   s     r   r	   z#V1alpha1MatchResources.match_policym   s   € ð *ˆÕr   c                 ó   — | j                   S )zÊGets the namespace_selector of this V1alpha1MatchResources.  # noqa: E501


        :return: The namespace_selector of this V1alpha1MatchResources.  # noqa: E501
        :rtype: V1LabelSelector
        ©r   r    s    r   r
   z)V1alpha1MatchResources.namespace_selectory   s   € ð ×'Ñ'Ð'r   c                 ó   — || _         y)zÍSets the namespace_selector of this V1alpha1MatchResources.


        :param namespace_selector: The namespace_selector of this V1alpha1MatchResources.  # noqa: E501
        :type: V1LabelSelector
        Nr&   )r   r
   s     r   r
   z)V1alpha1MatchResources.namespace_selectorƒ   s   € ð $6ˆÕ r   c                 ó   — | j                   S )zÄGets the object_selector of this V1alpha1MatchResources.  # noqa: E501


        :return: The object_selector of this V1alpha1MatchResources.  # noqa: E501
        :rtype: V1LabelSelector
        ©r   r    s    r   r   z&V1alpha1MatchResources.object_selectorŽ   s   € ð ×$Ñ$Ð$r   c                 ó   — || _         y)zÄSets the object_selector of this V1alpha1MatchResources.


        :param object_selector: The object_selector of this V1alpha1MatchResources.  # noqa: E501
        :type: V1LabelSelector
        Nr)   )r   r   s     r   r   z&V1alpha1MatchResources.object_selector˜   s   € ð !0ˆÕr   c                 ó   — | j                   S )aš  Gets the resource_rules of this V1alpha1MatchResources.  # noqa: E501

        ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.  # noqa: E501

        :return: The resource_rules of this V1alpha1MatchResources.  # noqa: E501
        :rtype: list[V1alpha1NamedRuleWithOperations]
        ©r   r    s    r   r   z%V1alpha1MatchResources.resource_rules£   s   € ð ×#Ñ#Ð#r   c                 ó   — || _         y)a™  Sets the resource_rules of this V1alpha1MatchResources.

        ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.  # noqa: E501

        :param resource_rules: The resource_rules of this V1alpha1MatchResources.  # noqa: E501
        :type: list[V1alpha1NamedRuleWithOperations]
        Nr,   )r   r   s     r   r   z%V1alpha1MatchResources.resource_rules®   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©Úhasattrr0   )Úxs    r   Ú<lambda>z0V1alpha1MatchResources.to_dict.<locals>.<lambda>Â   s   € ¬W°Q¸	Ô-B˜aŸi™i›kÐIÈÐIr   r0   c                 óT   — t        | d   d«      r| d   | d   j                  «       fS | S )Né   r0   r   r1   )Úitems    r   r4   z0V1alpha1MatchResources.to_dict.<locals>.<lambda>É   s6   € Ü˜t A™w¨	Ô2ð #' q¡'¨4°©7¯?©?Ó+<Ð!=ð "=Ø8<ð"=r   )ÚsixÚ	iteritemsÚopenapi_typesÚgetattrÚ
isinstanceÚlistÚmapr2   r0   ÚdictÚitems)r   ÚresultÚattrÚ_Úvalues        r   r0   zV1alpha1MatchResources.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Úpformatr0   r    s    r   Úto_strzV1alpha1MatchResources.to_strÒ   s   € ä~‰~˜dŸl™l›nÓ-Ð-r   c                 ó"   — | j                  «       S )zFor `print` and `pprint`)rH   r    s    r   Ú__repr__zV1alpha1MatchResources.__repr__Ö   s   € à{‰{‹}Ðr   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF©r<   r   r0   ©r   Úothers     r   Ú__eq__zV1alpha1MatchResources.__eq__Ú   s'   € ä˜%Ô!7Ô8Øà|‰|‹~ §¡£Ñ0Ð0r   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k7  S )z*Returns true if both objects are not equalTrL   rM   s     r   Ú__ne__zV1alpha1MatchResources.__ne__á   s'   € ä˜%Ô!7Ô8Øà|‰|‹~ §¡£Ñ0Ð0r   )NNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r:   Úattribute_mapr   Úpropertyr   Úsetterr	   r
   r   r   r0   rH   rJ   rO   rQ   © r   r   r   r      sA  „ ñðð #JØØ/Ø,ØAñ€Mð #9Ø%Ø1Ø+Ø)ñ€Mó1ð0 ñ,ó ð,ð ×"Ñ"ñ	>ó #ð	>ð ñ"ó ð"ð ×Ññ	*ó ð	*ð ñ(ó ð(ð ×Ññ6ó ð6ð ñ%ó ð%ð ×Ññ0ó ð0ð ñ$ó ð$ð ×Ññ	.ó ð	.òò0.òò1ó1r   r   )rU   rF   Úrer8   Úkubernetes.client.configurationr   Úobjectr   rY   r   r   Ú<module>r]      s&   ðñó Û 	ã 
å 9ôQ1˜Võ Q1r   