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)Ú V1HostAliaszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aA V1HostAlias - 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. z list[str]Ústr)Ú hostnamesÚiprrN)Ú swagger_typesÚ attribute_mapÚ _hostnamesÚ_ip)Úselfrr©r úW/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_host_alias.pyÚ__init__s   zV1HostAlias.__init__cCs|jS)z´ Gets the hostnames of this V1HostAlias. Hostnames for the above IP address. :return: The hostnames of this V1HostAlias. :rtype: list[str] )r )r r r rr.s zV1HostAlias.hostnamescCs ||_dS)z¼ Sets the hostnames of this V1HostAlias. Hostnames for the above IP address. :param hostnames: The hostnames of this V1HostAlias. :type: list[str] N)r )r rr r rr9s cCs|jS)zŸ Gets the ip of this V1HostAlias. IP address of the host file entry. :return: The ip of this V1HostAlias. :rtype: str )r )r r r rrEs zV1HostAlias.ipcCs ||_dS)z  Sets the ip of this V1HostAlias. IP address of the host file entry. :param ip: The ip of this V1HostAlias. :type: str N)r )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Úfsz%V1HostAlias.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r rrms) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r rr\s     zV1HostAlias.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r rÚto_strvszV1HostAlias.to_strcCs|jƒS)z* For `print` and `pprint` )r )r r r rÚ__repr__|szV1HostAlias.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r rÚ__eq__‚s zV1HostAlias.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r#r r rÚ__ne__‹szV1HostAlias.__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