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)ÚV1TCPSocketActionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aG V1TCPSocketAction - 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)ÚhostÚportrrN)Ú swagger_typesÚ attribute_mapÚ_hostÚ_port)Úselfrr©r ú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_tcp_socket_action.pyÚ__init__s   zV1TCPSocketAction.__init__cCs|jS)zÇ Gets the host of this V1TCPSocketAction. Optional: Host name to connect to, defaults to the pod IP. :return: The host of this V1TCPSocketAction. :rtype: str )r )r r r rr.s zV1TCPSocketAction.hostcCs ||_dS)zÊ Sets the host of this V1TCPSocketAction. Optional: Host name to connect to, defaults to the pod IP. :param host: The host of this V1TCPSocketAction. :type: str N)r )r rr r rr9s cCs|jS)a  Gets the port of this V1TCPSocketAction. Number or name 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 V1TCPSocketAction. :rtype: str )r )r r r rrEs zV1TCPSocketAction.portcCs|dkrtdƒ‚||_dS)a  Sets the port of this V1TCPSocketAction. Number or name 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 V1TCPSocketAction. :type: str Nz,Invalid value for `port`, must not be `None`)Ú ValueErrorr )r rr r rrPs 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)Úxr r rÚhsz+V1TCPSocketAction.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r rros) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r rr^s     zV1TCPSocketAction.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r rÚto_strxszV1TCPSocketAction.to_strcCs|jƒS)z* For `print` and `pprint` )r!)r r r rÚ__repr__~szV1TCPSocketAction.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r rÚ__eq__„s zV1TCPSocketAction.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r$r r rÚ__ne__szV1TCPSocketAction.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr!r"r%r&r r r rrs    r)r*ÚpprintrÚsixrÚreÚobjectrr r r rÚ s