
    Bvhs                     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.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                   $   e Zd ZdZ	 dddddZ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d Zd Zd Zd Zd Zy)V1LifecycleHandlerzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1ExecActionV1HTTPGetActionV1SleepActionV1TCPSocketAction)_exechttp_getsleep
tcp_socketexechttpGetr   	tcpSocketNc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        yy)z/V1LifecycleHandler - a model defined in OpenAPIN)r   local_vars_configuration_V1LifecycleHandler__exec	_http_get_sleep_tcp_socketdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         W/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_lifecycle_handler.py__init__zV1LifecycleHandler.__init__1   sv    #+'4$(@%!DJ$DMDJ!(DO "    c                     | j                   S )zGets the _exec of this V1LifecycleHandler.  # noqa: E501


        :return: The _exec of this V1LifecycleHandler.  # noqa: E501
        :rtype: V1ExecAction
        r   r   s    r   r
   zV1LifecycleHandler._execF        {{r   c                     || _         y)zSets the _exec of this V1LifecycleHandler.


        :param _exec: The _exec of this V1LifecycleHandler.  # noqa: E501
        :type: V1ExecAction
        Nr   )r   r
   s     r   r
   zV1LifecycleHandler._execP        r   c                     | j                   S )zGets the http_get of this V1LifecycleHandler.  # noqa: E501


        :return: The http_get of this V1LifecycleHandler.  # noqa: E501
        :rtype: V1HTTPGetAction
        r   r   s    r   r   zV1LifecycleHandler.http_get[   s     ~~r   c                     || _         y)zSets the http_get of this V1LifecycleHandler.


        :param http_get: The http_get of this V1LifecycleHandler.  # noqa: E501
        :type: V1HTTPGetAction
        Nr#   )r   r   s     r   r   zV1LifecycleHandler.http_gete   s     "r   c                     | j                   S )zGets the sleep of this V1LifecycleHandler.  # noqa: E501


        :return: The sleep of this V1LifecycleHandler.  # noqa: E501
        :rtype: V1SleepAction
        r   r   s    r   r   zV1LifecycleHandler.sleepp   r   r   c                     || _         y)zSets the sleep of this V1LifecycleHandler.


        :param sleep: The sleep of this V1LifecycleHandler.  # noqa: E501
        :type: V1SleepAction
        Nr&   )r   r   s     r   r   zV1LifecycleHandler.sleepz   r!   r   c                     | j                   S )zGets the tcp_socket of this V1LifecycleHandler.  # noqa: E501


        :return: The tcp_socket of this V1LifecycleHandler.  # noqa: E501
        :rtype: V1TCPSocketAction
        r   r   s    r   r   zV1LifecycleHandler.tcp_socket   s     r   c                     || _         y)zSets the tcp_socket of this V1LifecycleHandler.


        :param tcp_socket: The tcp_socket of this V1LifecycleHandler.  # noqa: E501
        :type: V1TCPSocketAction
        Nr)   )r   r   s     r   r   zV1LifecycleHandler.tcp_socket   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hasattrr-   )xs    r   <lambda>z,V1LifecycleHandler.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r-   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r-   r   r.   )items    r   r1   z,V1LifecycleHandler.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr/   r-   dictitems)r   resultattr_values        r   r-   zV1LifecycleHandler.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  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V1LifecycleHandler.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rE   r   s    r   __repr__zV1LifecycleHandler.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr9   r   r-   r   others     r   __eq__zV1LifecycleHandler.__eq__   s'    %!34||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrI   rJ   s     r   __ne__zV1LifecycleHandler.__ne__   s'    %!34||~00r   )NNNNN)__name__
__module____qualname____doc__r7   attribute_mapr   propertyr
   setterr   r   r   r-   rE   rG   rL   rN    r   r   r   r      s     % )	M !	M)*   \\    __" "   \\      & &0.11r   r   )rR   rC   rer5   kubernetes.client.configurationr   objectr   rV   r   r   <module>rZ      s&     	 
 9q1 q1r   