
    [j                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                   0   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dZd Zd Zd Zd ZdS )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          j                    }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        |	|| _        dS dS )z/V1LifecycleHandler - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_V1LifecycleHandler__exec	_http_get_sleep_tcp_socketdiscriminatorr   r   r   r   )selfr   r   r   r   r   s         r/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_lifecycle_handler.py__init__zV1LifecycleHandler.__init__4   s    #+'4'@'B'B$(@%!DJ$DMDJ!(DOOO "!    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._execI        {r   c                     || _         dS )zSets the _exec of this V1LifecycleHandler.


        :param _exec: The _exec of this V1LifecycleHandler.  # noqa: E501
        :type _exec: V1ExecAction
        Nr    )r   r   s     r   r   zV1LifecycleHandler._execS        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                     || _         dS )zSets the http_get of this V1LifecycleHandler.


        :param http_get: The http_get of this V1LifecycleHandler.  # noqa: E501
        :type http_get: V1HTTPGetAction
        Nr&   )r   r   s     r   r   zV1LifecycleHandler.http_geth   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.sleeps   r"   r   c                     || _         dS )zSets the sleep of this V1LifecycleHandler.


        :param sleep: The sleep of this V1LifecycleHandler.  # noqa: E501
        :type sleep: V1SleepAction
        Nr)   )r   r   s     r   r   zV1LifecycleHandler.sleep}   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                     || _         dS )zSets the tcp_socket of this V1LifecycleHandler.


        :param tcp_socket: The tcp_socket of this V1LifecycleHandler.  # noqa: E501
        :type tcp_socket: V1TCPSocketAction
        Nr,   )r   r   s     r   r   zV1LifecycleHandler.tcp_socket   s     &r   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r0   argslen)xr3   	serializes     r   convertz+V1LifecycleHandler.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r5   r7   s    r   <lambda>z,V1LifecycleHandler.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r1   r9   )itemr7   s    r   r:   z,V1LifecycleHandler.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r6   resultattr_valuer7   s    `    @r   r0   zV1LifecycleHandler.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr0   r!   s    r   to_strzV1LifecycleHandler.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rO   r!   s    r   __repr__zV1LifecycleHandler.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrC   r   r0   r   others     r   __eq__zV1LifecycleHandler.__eq__   s5    %!344 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrS   rT   s     r   __ne__zV1LifecycleHandler.__ne__   s5    %!344 	4||~~00r   )NNNNN)F)__name__
__module____qualname____doc__r?   rA   r   propertyr   setterr   r   r   r0   rO   rQ   rV   rX   r9   r   r   r   r      s          % )	 M !	 M) ) ) )*   X \  \   X _" " _"   X \  \     X  & & &   @. . .  1 1 11 1 1 1 1r   r   )r\   inspectr   ImportErrorr   rM   rer=   'kubernetes_asyncio.client.configurationr   objectr   r9   r   r   <module>rd      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A Ay1 y1 y1 y1 y1 y1 y1 y1 y1 y1s    