
    <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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)V1HTTPGetActionzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strzlist[V1HTTPHeader]object)hosthttp_headerspathportschemer   httpHeadersr
   r   r   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        || _        ||| _        yy)z,V1HTTPGetAction - a model defined in OpenAPIN)r   local_vars_configuration_host_http_headers_path_port_schemediscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   r   s          `/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_http_get_action.py__init__zV1HTTPGetAction.__init__3   s    #+'4$(@%
!

!DI# ,DDI	 DK     c                     | j                   S )a  Gets the host of this V1HTTPGetAction.  # noqa: E501

        Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.  # noqa: E501

        :return: The host of this V1HTTPGetAction.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zV1HTTPGetAction.hostJ        zzr   c                     || _         y)a  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.  # noqa: E501

        :param host: The host of this V1HTTPGetAction.  # noqa: E501
        :type: str
        Nr   )r   r   s     r   r   zV1HTTPGetAction.hostU        
r   c                     | j                   S )a  Gets the http_headers of this V1HTTPGetAction.  # noqa: E501

        Custom headers to set in the request. HTTP allows repeated headers.  # noqa: E501

        :return: The http_headers of this V1HTTPGetAction.  # noqa: E501
        :rtype: list[V1HTTPHeader]
        r   r   s    r   r	   zV1HTTPGetAction.http_headersa   s     !!!r   c                     || _         y)a
  Sets the http_headers of this V1HTTPGetAction.

        Custom headers to set in the request. HTTP allows repeated headers.  # noqa: E501

        :param http_headers: The http_headers of this V1HTTPGetAction.  # noqa: E501
        :type: list[V1HTTPHeader]
        Nr!   )r   r	   s     r   r	   zV1HTTPGetAction.http_headersl   s     *r   c                     | j                   S )zGets the path of this V1HTTPGetAction.  # noqa: E501

        Path to access on the HTTP server.  # noqa: E501

        :return: The path of this V1HTTPGetAction.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   zV1HTTPGetAction.pathx   r   r   c                     || _         y)zSets the path of this V1HTTPGetAction.

        Path to access on the HTTP server.  # noqa: E501

        :param path: The path of this V1HTTPGetAction.  # noqa: E501
        :type: str
        Nr$   )r   r
   s     r   r
   zV1HTTPGetAction.path   r   r   c                     | j                   S )a+  Gets the port of this V1HTTPGetAction.  # noqa: E501

        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.  # noqa: E501

        :return: The port of this V1HTTPGetAction.  # noqa: E501
        :rtype: object
        )r   r   s    r   r   zV1HTTPGetAction.port   r   r   c                 X    | j                   j                  r|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.  # noqa: E501

        :param port: The port of this V1HTTPGetAction.  # noqa: E501
        :type: object
        Nz,Invalid value for `port`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1HTTPGetAction.port   s*     ((??DLKLL
r   c                     | j                   S )zGets the scheme of this V1HTTPGetAction.  # noqa: E501

        Scheme to use for connecting to the host. Defaults to HTTP.  # noqa: E501

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

        Scheme to use for connecting to the host. Defaults to HTTP.  # noqa: E501

        :param scheme: The scheme of this V1HTTPGetAction.  # noqa: E501
        :type: str
        Nr+   )r   r   s     r   r   zV1HTTPGetAction.scheme   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)V1HTTPGetAction.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   r0   )items    r   r3   z)V1HTTPGetAction.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   zV1HTTPGetAction.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V1HTTPGetAction.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rG   r   s    r   __repr__zV1HTTPGetAction.__repr__   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V1HTTPGetAction.__eq__   s&    %1||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrK   rL   s     r   __ne__zV1HTTPGetAction.__ne__   s&    %1||~00r   )NNNNNN)__name__
__module____qualname____doc__r9   attribute_mapr   propertyr   setterr	   r
   r   r   r/   rG   rI   rN   rP    r   r   r   r      s8    ,M %M!.   
[[	 	 " " 	* 	*   
[[	 	   
[[    ]]	 	0.11r   r   )rT   rE   rer7   kubernetes.client.configurationr   r   r   rX   r   r   <module>r[      s&     	 
 9V1f V1r   