
    <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ZdddZd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)V1IngressRulezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strV1HTTPIngressRuleValue)hosthttpr   r	   Nc                 z    |
t               }|| _        d| _        d| _        d| _        ||| _        ||| _        yy)z*V1IngressRule - a model defined in OpenAPIN)r   local_vars_configuration_host_httpdiscriminatorr   r	   )selfr   r	   r   s       ]/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_ingress_rule.py__init__zV1IngressRule.__init__-   sM    #+'4$(@%

!DIDI     c                     | j                   S )a  Gets the host of this V1IngressRule.  # noqa: E501

        host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to    the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed.    Currently the port of an Ingress is implicitly :80 for http and    :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.  host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.  # noqa: E501

        :return: The host of this V1IngressRule.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zV1IngressRule.host<   s     zzr   c                     || _         y)a  Sets the host of this V1IngressRule.

        host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to    the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed.    Currently the port of an Ingress is implicitly :80 for http and    :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.  host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.  # noqa: E501

        :param host: The host of this V1IngressRule.  # noqa: E501
        :type: str
        Nr   )r   r   s     r   r   zV1IngressRule.hostG   s     
r   c                     | j                   S )zGets the http of this V1IngressRule.  # noqa: E501


        :return: The http of this V1IngressRule.  # noqa: E501
        :rtype: V1HTTPIngressRuleValue
        r   r   s    r   r	   zV1IngressRule.httpS   s     zzr   c                     || _         y)zSets the http of this V1IngressRule.


        :param http: The http of this V1IngressRule.  # noqa: E501
        :type: V1HTTPIngressRuleValue
        Nr   )r   r	   s     r   r	   zV1IngressRule.http]   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'V1IngressRule.to_dict.<locals>.<lambda>p   s    WQ	-BaiikIIr   r   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r   r   r   )items    r   r    z'V1IngressRule.to_dict.<locals>.<lambda>w   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V1IngressRule.to_dicth   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V1IngressRule.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)r4   r   s    r   __repr__zV1IngressRule.__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V1IngressRule.__eq__   s&    %/||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr8   r9   s     r   __ne__zV1IngressRule.__ne__   s&    %/||~00r   )NNN)__name__
__module____qualname____doc__r&   attribute_mapr   propertyr   setterr	   r   r4   r6   r;   r=    r   r   r   r      s     (M M
   
[[	 	   
[[ 0.11r   r   )rA   r2   rer$   kubernetes.client.configurationr   objectr   rE   r   r   <module>rI      s&     	 
 91F 1r   