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@sªeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚV1Taintzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddddœ|_||_||_||_||_dS) a= V1Taint - 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Údatetime)ÚeffectÚkeyÚ time_addedÚvaluerrZ timeAddedr N)Ú swagger_typesÚ attribute_mapÚ_effectÚ_keyÚ _time_addedÚ_value)Úselfrrr r ©rúR/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_taint.pyÚ__init__s   zV1Taint.__init__cCs|jS)a Gets the effect of this V1Taint. Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. :return: The effect of this V1Taint. :rtype: str )r )rrrrr4s zV1Taint.effectcCs|dkrtdƒ‚||_dS)a  Sets the effect of this V1Taint. Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. :param effect: The effect of this V1Taint. :type: str Nz.Invalid value for `effect`, must not be `None`)Ú ValueErrorr )rrrrrr?s cCs|jS)z§ Gets the key of this V1Taint. Required. The taint key to be applied to a node. :return: The key of this V1Taint. :rtype: str )r)rrrrrMs z V1Taint.keycCs|dkrtdƒ‚||_dS)z© Sets the key of this V1Taint. Required. The taint key to be applied to a node. :param key: The key of this V1Taint. :type: str Nz+Invalid value for `key`, must not be `None`)rr)rrrrrrXs cCs|jS)zî Gets the time_added of this V1Taint. TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. :return: The time_added of this V1Taint. :rtype: datetime )r)rrrrr fs zV1Taint.time_addedcCs ||_dS)z÷ Sets the time_added of this V1Taint. TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. :param time_added: The time_added of this V1Taint. :type: datetime N)r)rr rrrr qs cCs|jS)z´ Gets the value of this V1Taint. Required. The taint value corresponding to the taint key. :return: The value of this V1Taint. :rtype: str )r)rrrrr }s z V1Taint.valuecCs ||_dS)z¸ Sets the value of this V1Taint. Required. The taint value corresponding to the taint key. :param value: The value of this V1Taint. :type: str N)r)rr rrrr ˆs 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Úžsz!V1Taint.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr¥s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_r rrrr”s     zV1Taint.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str®szV1Taint.to_strcCs|jƒS)z* For `print` and `pprint` )r%)rrrrÚ__repr__´szV1Taint.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__ºs zV1Taint.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrrÚ__ne__ÃszV1Taint.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r rr%r&r)r*rrrrrs       r)r.ÚpprintrÚsixrÚreÚobjectrrrrrÚ s