Ë
    <ª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œZdddœZd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)ÚV1alpha1MatchConditionzŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Ústr)Ú
expressionÚnamer   r   Nc                 óp   — |€
t        «       }|| _        d| _        d| _        d| _        || _        || _        y)z3V1alpha1MatchCondition - a model defined in OpenAPIN)r   Úlocal_vars_configurationÚ_expressionÚ_nameÚdiscriminatorr   r   )Úselfr   r   r
   s       úf/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha1_match_condition.pyÚ__init__zV1alpha1MatchCondition.__init__-   s=   € à#Ð+Ü'4£Ð$Ø(@ˆÔ%àˆÔØˆŒ
Ø!ˆÔà$ˆŒØˆ	ó    c                 ó   — | j                   S )a4  Gets the expression of this V1alpha1MatchCondition.  # noqa: E501

        Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:  'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the   request resource. Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/  Required.  # noqa: E501

        :return: The expression of this V1alpha1MatchCondition.  # noqa: E501
        :rtype: str
        )r   ©r   s    r   r   z!V1alpha1MatchCondition.expression:   s   € ð ×ÑÐr   c                 óX   — | j                   j                  r|€t        d«      ‚|| _        y)a/  Sets the expression of this V1alpha1MatchCondition.

        Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:  'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the   request resource. Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/  Required.  # noqa: E501

        :param expression: The expression of this V1alpha1MatchCondition.  # noqa: E501
        :type: str
        Nz2Invalid value for `expression`, must not be `None`)r
   Úclient_side_validationÚ
ValueErrorr   )r   r   s     r   r   z!V1alpha1MatchCondition.expressionE   s,   € ð ×(Ñ(×?Ò?ÀJÐDVÜÐQÓRÐRà%ˆÕr   c                 ó   — | j                   S )aè  Gets the name of this V1alpha1MatchCondition.  # noqa: E501

        Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')  Required.  # noqa: E501

        :return: The name of this V1alpha1MatchCondition.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zV1alpha1MatchCondition.nameS   s   € ð z‰zÐr   c                 óX   — | j                   j                  r|€t        d«      ‚|| _        y)aÝ  Sets the name of this V1alpha1MatchCondition.

        Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')  Required.  # noqa: E501

        :param name: The name of this V1alpha1MatchCondition.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r
   r   r   r   )r   r   s     r   r   zV1alpha1MatchCondition.name^   s*   € ð ×(Ñ(×?Ò?ÀDÀLÜÐKÓLÐLàˆ
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>z0V1alpha1MatchCondition.to_dict.<locals>.<lambda>t   s   € ¬W°Q¸	Ô-B˜aŸi™i›kÐIÈÐIr   r   c                 óT   — t        | d   d«      r| d   | d   j                  «       fS | S )Né   r   r   r   )Úitems    r   r   z0V1alpha1MatchCondition.to_dict.<locals>.<lambda>{   s6   € Ü˜t A™w¨	Ô2ð #' q¡'¨4°©7¯?©?Ó+<Ð!=ð "=Ø8<ð"=r   )ÚsixÚ	iteritemsÚopenapi_typesÚgetattrÚ
isinstanceÚlistÚmapr   r   ÚdictÚitems)r   ÚresultÚattrÚ_Úvalues        r   r   zV1alpha1MatchCondition.to_dictl   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Úpformatr   r   s    r   Úto_strzV1alpha1MatchCondition.to_str„   s   € ä~‰~˜dŸl™l›nÓ-Ð-r   c                 ó"   — | j                  «       S )zFor `print` and `pprint`)r3   r   s    r   Ú__repr__zV1alpha1MatchCondition.__repr__ˆ   s   € à{‰{‹}Ðr   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF©r'   r   r   ©r   Úothers     r   Ú__eq__zV1alpha1MatchCondition.__eq__Œ   s'   € ä˜%Ô!7Ô8Øà|‰|‹~ §¡£Ñ0Ð0r   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k7  S )z*Returns true if both objects are not equalTr7   r8   s     r   Ú__ne__zV1alpha1MatchCondition.__ne__“   s'   € ä˜%Ô!7Ô8Øà|‰|‹~ §¡£Ñ0Ð0r   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r%   Úattribute_mapr   Úpropertyr   Úsetterr   r   r3   r5   r:   r<   © r   r   r   r      s¢   „ ñðð Øñ€Mð #Øñ€Mó
ð ñ ó ð ð ×Ññ&ó ð&ð ñó ðð 
‡[[ñó ðòò0.òò1ó1r   r   )r@   r1   Úrer#   Úkubernetes.client.configurationr   Úobjectr   rD   r   r   Ú<module>rH      s&   ðñó Û 	ã 
å 9ôC1˜Võ C1r   