
    V                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                       e Zd ZdZ	 ddddZ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d Zd Zd Zd Zd Zy	)	V1Handlerzw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    V1ExecActionV1HTTPGetActionV1TCPSocketAction)_exechttp_get
tcp_socketexechttpGet	tcpSocketNc                 t    d| _         d| _        d| _        d| _        ||| _        ||| _        ||| _        yy)z8
        V1Handler - a model defined in Swagger
        N)_V1Handler__exec	_http_get_tcp_socketdiscriminatorr
   r   r   )selfr
   r   r   s       6lib/third_party/kubernetes/client/models/v1_handler.py__init__zV1Handler.__init__*   sN    
 DKDNDDdjdm"do     c                     | j                   S )z
        Gets the _exec of this V1Handler.
        One and only one of the following should be specified. Exec specifies
        the action to take.

        :return: The _exec of this V1Handler.
        :rtype: V1ExecAction
        r   r   s    r   r
   zV1Handler._exec;   s     ;;r   c                     || _         y)z
        Sets the _exec of this V1Handler.
        One and only one of the following should be specified. Exec specifies
        the action to take.

        :param _exec: The _exec of this V1Handler.
        :type: V1ExecAction
        Nr   )r   r
   s     r   r
   zV1Handler._execG   s     DKr   c                     | j                   S )z
        Gets the http_get of this V1Handler.
        HTTPGet specifies the http request to perform.

        :return: The http_get of this V1Handler.
        :rtype: V1HTTPGetAction
        r   r   s    r   r   zV1Handler.http_getT   s     >>r   c                     || _         y)z
        Sets the http_get of this V1Handler.
        HTTPGet specifies the http request to perform.

        :param http_get: The http_get of this V1Handler.
        :type: V1HTTPGetAction
        Nr   )r   r   s     r   r   zV1Handler.http_get_   s     DNr   c                     | j                   S )z
        Gets the tcp_socket of this V1Handler.
        TCPSocket specifies an action involving a TCP port. TCP hooks not yet
        supported

        :return: The tcp_socket of this V1Handler.
        :rtype: V1TCPSocketAction
        r   r   s    r   r   zV1Handler.tcp_socketk   s     r   c                     || _         y)z
        Sets the tcp_socket of this V1Handler.
        TCPSocket specifies an action involving a TCP port. TCP hooks not yet
        supported

        :param tcp_socket: The tcp_socket of this V1Handler.
        :type: V1TCPSocketAction
        Nr!   )r   r   s     r   r   zV1Handler.tcp_socketw   s     "Dr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr%   )xs    r   <lambda>z#V1Handler.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r%   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r%   r   r&   )items    r   r)   z#V1Handler.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr'   r%   dictitems)r   resultattr_values        r   r%   zV1Handler.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r%   r   s    r   to_strzV1Handler.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r9   r   s    r   __repr__zV1Handler.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r/   r   __dict__r   others     r   __eq__zV1Handler.__eq__   s$     eY'==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r>   s     r   __ne__zV1Handler.__ne__   s     u}r   )NNN)__name__
__module____qualname____doc__r-   attribute_mapr   propertyr
   setterr   r   r%   r9   r;   r@   rC   rB   r   r   r   r      s     #'- -#" 	 	 	<<
 
   ??	 	 	 	 
" 
".#+r   r   )rG   pprintr   sixr   reobjectr   rB   r   r   <module>rO      s#   	   	b br   