3 f÷ÔYmã@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)ÚV1beta1HTTPIngressPathzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aL V1beta1HTTPIngressPath - 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. ÚV1beta1IngressBackendÚstr)ÚbackendÚpathrrN)Ú swagger_typesÚ attribute_mapÚ_backendÚ_path)Úselfrr©rúc/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_http_ingress_path.pyÚ__init__s   zV1beta1HTTPIngressPath.__init__cCs|jS)a  Gets the backend of this V1beta1HTTPIngressPath. Backend defines the referenced service endpoint to which the traffic will be forwarded to. :return: The backend of this V1beta1HTTPIngressPath. :rtype: V1beta1IngressBackend )r )r rrrr.s zV1beta1HTTPIngressPath.backendcCs|dkrtdƒ‚||_dS)a Sets the backend of this V1beta1HTTPIngressPath. Backend defines the referenced service endpoint to which the traffic will be forwarded to. :param backend: The backend of this V1beta1HTTPIngressPath. :type: V1beta1IngressBackend Nz/Invalid value for `backend`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)a$ Gets the path of this V1beta1HTTPIngressPath. Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. :return: The path of this V1beta1HTTPIngressPath. :rtype: str )r )r rrrrGs zV1beta1HTTPIngressPath.pathcCs ||_dS)a' Sets the path of this V1beta1HTTPIngressPath. Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. :param path: The path of this V1beta1HTTPIngressPath. :type: str N)r )r rrrrrRs 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Úhsz0V1beta1HTTPIngressPath.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrros) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr^s     zV1beta1HTTPIngressPath.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strxszV1beta1HTTPIngressPath.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__~szV1beta1HTTPIngressPath.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__„s zV1beta1HTTPIngressPath.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV1beta1HTTPIngressPath.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs     r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s