Ë
    <ª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iZddiZdd„Zed„ «       Zej                  d„ «       Zd„ Z
d	„ Zd
„ Zd„ Zd„ Zy)ÚV1PodFailurePolicyzŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Úruleszlist[V1PodFailurePolicyRule]Nc                 óT   — |€
t        «       }|| _        d| _        d| _        || _        y)z/V1PodFailurePolicy - a model defined in OpenAPIN)r   Úlocal_vars_configurationÚ_rulesÚdiscriminatorr   )Úselfr   r   s      úc/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_pod_failure_policy.pyÚ__init__zV1PodFailurePolicy.__init__+   s.   € à#Ð+Ü'4£Ð$Ø(@ˆÔ%àˆŒØ!ˆÔàˆ
ó    c                 ó   — | j                   S )a  Gets the rules of this V1PodFailurePolicy.  # noqa: E501

        A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.  # noqa: E501

        :return: The rules of this V1PodFailurePolicy.  # noqa: E501
        :rtype: list[V1PodFailurePolicyRule]
        )r	   ©r   s    r   r   zV1PodFailurePolicy.rules6   s   € ð {‰{Ðr   c                 óX   — | j                   j                  r|€t        d«      ‚|| _        y)a  Sets the rules of this V1PodFailurePolicy.

        A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.  # noqa: E501

        :param rules: The rules of this V1PodFailurePolicy.  # noqa: E501
        :type: list[V1PodFailurePolicyRule]
        Nz-Invalid value for `rules`, must not be `None`)r   Úclient_side_validationÚ
ValueErrorr	   )r   r   s     r   r   zV1PodFailurePolicy.rulesA   s*   € ð ×(Ñ(×?Ò?ÀEÀMÜÐLÓMÐMàˆ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,V1PodFailurePolicy.to_dict.<locals>.<lambda>W   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   z,V1PodFailurePolicy.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V1PodFailurePolicy.to_dictO   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V1PodFailurePolicy.to_strg   s   € ä~‰~˜dŸl™l›nÓ-Ð-r   c                 ó"   — | j                  «       S )zFor `print` and `pprint`)r.   r   s    r   Ú__repr__zV1PodFailurePolicy.__repr__k   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V1PodFailurePolicy.__eq__o   s'   € ä˜%Ô!3Ô4Øà|‰|‹~ §¡£Ñ0Ð0r   c                 óf   — t        |t        «      sy| j                  «       |j                  «       k7  S )z*Returns true if both objects are not equalTr2   r3   s     r   Ú__ne__zV1PodFailurePolicy.__ne__v   s'   € ä˜%Ô!3Ô4Øà|‰|‹~ §¡£Ñ0Ð0r   )NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r    Úattribute_mapr   Úpropertyr   Úsetterr   r.   r0   r5   r7   © r   r   r   r      ss   „ ñðð 	Ð/ð€Mð
 	ð€Mó	ð ñó ðð ‡\\ñó ðòò0.òò1ó1r   r   )r;   r,   Úrer   Úkubernetes.client.configurationr   Úobjectr   r?   r   r   Ú<module>rC      s&   ðñó Û 	ã 
å 9ôf1˜õ f1r   