
                         >    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                   f   e Zd ZdZ	 ddddddZd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ed        Zej                  d        Zd Zd Zd Zd Zd Zy)V1HTTPGetActionzw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    strzlist[V1HTTPHeader]object)hosthttp_headerspathportschemer	   httpHeadersr   r   r   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        || _	        ||| _
        yy)z>
        V1HTTPGetAction - a model defined in Swagger
        N)_host_http_headers_path_port_schemediscriminatorr	   r
   r   r   r   )selfr	   r
   r   r   r   s         >lib/third_party/kubernetes/client/models/v1_http_get_action.py__init__zV1HTTPGetAction.__init__.   sq     DJDDJDJDLDdi&ddiDIdk     c                     | j                   S )z
        Gets the host of this V1HTTPGetAction.
        Host name to connect to, defaults to the pod IP. You probably want to
        set "Host" in httpHeaders instead.

        :return: The host of this V1HTTPGetAction.
        :rtype: str
        r   r   s    r   r	   zV1HTTPGetAction.hostI        ::r   c                     || _         y)z
        Sets the host of this V1HTTPGetAction.
        Host name to connect to, defaults to the pod IP. You probably want to
        set "Host" in httpHeaders instead.

        :param host: The host of this V1HTTPGetAction.
        :type: str
        Nr   )r   r	   s     r   r	   zV1HTTPGetAction.hostU   s     DJr   c                     | j                   S )z
        Gets the http_headers of this V1HTTPGetAction.
        Custom headers to set in the request. HTTP allows repeated headers.

        :return: The http_headers of this V1HTTPGetAction.
        :rtype: list[V1HTTPHeader]
        r   r   s    r   r
   zV1HTTPGetAction.http_headersb   s     r   c                     || _         y)z
        Sets the http_headers of this V1HTTPGetAction.
        Custom headers to set in the request. HTTP allows repeated headers.

        :param http_headers: The http_headers of this V1HTTPGetAction.
        :type: list[V1HTTPHeader]
        Nr    )r   r
   s     r   r
   zV1HTTPGetAction.http_headersm   s     &Dr   c                     | j                   S )z
        Gets the path of this V1HTTPGetAction.
        Path to access on the HTTP server.

        :return: The path of this V1HTTPGetAction.
        :rtype: str
        r   r   s    r   r   zV1HTTPGetAction.pathy   s     ::r   c                     || _         y)z
        Sets the path of this V1HTTPGetAction.
        Path to access on the HTTP server.

        :param path: The path of this V1HTTPGetAction.
        :type: str
        Nr#   )r   r   s     r   r   zV1HTTPGetAction.path   s     DJr   c                     | j                   S )a  
        Gets the port of this V1HTTPGetAction.
        Name or number of the port to access on the container. Number must be in
        the range 1 to 65535. Name must be an IANA_SVC_NAME.

        :return: The port of this V1HTTPGetAction.
        :rtype: object
        )r   r   s    r   r   zV1HTTPGetAction.port   r   r   c                 ,    |t        d      || _        y)a  
        Sets the port of this V1HTTPGetAction.
        Name or number of the port to access on the container. Number must be in
        the range 1 to 65535. Name must be an IANA_SVC_NAME.

        :param port: The port of this V1HTTPGetAction.
        :type: object
        Nz,Invalid value for `port`, must not be `None`)
ValueErrorr   )r   r   s     r   r   zV1HTTPGetAction.port   s     |EFFDJr   c                     | j                   S )z
        Gets the scheme of this V1HTTPGetAction.
        Scheme to use for connecting to the host. Defaults to HTTP.

        :return: The scheme of this V1HTTPGetAction.
        :rtype: str
        r   r   s    r   r   zV1HTTPGetAction.scheme   s     <<r   c                     || _         y)z
        Sets the scheme of this V1HTTPGetAction.
        Scheme to use for connecting to the host. Defaults to HTTP.

        :param scheme: The scheme of this V1HTTPGetAction.
        :type: str
        Nr)   )r   r   s     r   r   zV1HTTPGetAction.scheme   s     DLr   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)V1HTTPGetAction.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   r1   z)V1HTTPGetAction.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V1HTTPGetAction.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V1HTTPGetAction.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rA   r   s    r   __repr__zV1HTTPGetAction.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r7   r   __dict__r   others     r   __eq__zV1HTTPGetAction.__eq__   s$     e_-==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rF   s     r   __ne__zV1HTTPGetAction.__ne__   s     u}r   )NNNNN)__name__
__module____qualname____doc__r5   attribute_mapr   propertyr	   setterr
   r   r   r   r-   rA   rC   rH   rK   rJ   r   r   r   r      sI    *- #-  6 	 	 ;;
 
   	& 	&   ;;	 	 	 	 ;;    
==	 	.#+r   r   )rO   pprintr   sixr   rer   r   rJ   r   r   <module>rV      s#   	   	`f `r   