3 f÷ÔYéã@s8dZddlmZddlmZddlZGdd„deƒZdS)zç Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git é)Úpformat)Ú iteritemsNc@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)ÚV1beta1IngressRulezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aH V1beta1IngressRule - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. ÚstrÚV1beta1HTTPIngressRuleValue)ÚhostÚhttprrN)Ú swagger_typesÚ attribute_mapÚ_hostÚ_http)Úselfrr©rú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_ingress_rule.pyÚ__init__s   zV1beta1IngressRule.__init__cCs|jS)a Gets the host of this V1beta1IngressRule. 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 the RFC: 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. :return: The host of this V1beta1IngressRule. :rtype: str )r )r rrrr.s zV1beta1IngressRule.hostcCs ||_dS)a Sets the host of this V1beta1IngressRule. 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 the RFC: 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. :param host: The host of this V1beta1IngressRule. :type: str N)r )r rrrrr9s cCs|jS)zž Gets the http of this V1beta1IngressRule. :return: The http of this V1beta1IngressRule. :rtype: V1beta1HTTPIngressRuleValue )r )r rrrrEszV1beta1IngressRule.httpcCs ||_dS)z¡ Sets the http of this V1beta1IngressRule. :param http: The http of this V1beta1IngressRule. :type: V1beta1HTTPIngressRuleValue N)r )r rrrrrOs cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚdsz,V1beta1IngressRule.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrrks) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_ÚvaluerrrrZs     zV1beta1IngressRule.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strtszV1beta1IngressRule.to_strcCs|jƒS)z* For `print` and `pprint` )r!)r rrrÚ__repr__zszV1beta1IngressRule.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__€s zV1beta1IngressRule.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r$rrrÚ__ne__‰szV1beta1IngressRule.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr!r"r%r&rrrrrs     r)r*ÚpprintrÚsixrÚreÚobjectrrrrrÚ s