3 f÷ÔYQã@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)Ú V1WatchEventzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aB V1WatchEvent - 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. ÚRuntimeRawExtensionÚstr)ÚobjectÚtyperrN)Ú swagger_typesÚ attribute_mapÚ_objectÚ_type)Úselfrr©rúX/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_watch_event.pyÚ__init__s   zV1WatchEvent.__init__cCs|jS)aŒ Gets the object of this V1WatchEvent. Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. :return: The object of this V1WatchEvent. :rtype: RuntimeRawExtension )r )r rrrr.s zV1WatchEvent.objectcCs|dkrtdƒ‚||_dS)a‘ Sets the object of this V1WatchEvent. Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. :param object: The object of this V1WatchEvent. :type: RuntimeRawExtension Nz.Invalid value for `object`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)zz Gets the type of this V1WatchEvent. :return: The type of this V1WatchEvent. :rtype: str )r )r rrrrGszV1WatchEvent.typecCs|dkrtdƒ‚||_dS)z} Sets the type of this V1WatchEvent. :param type: The type of this V1WatchEvent. :type: str Nz,Invalid value for `type`, must not be `None`)rr )r rrrrrQscCs’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Úhsz&V1WatchEvent.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     zV1WatchEvent.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strxszV1WatchEvent.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__~szV1WatchEvent.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__„s zV1WatchEvent.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV1WatchEvent.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs     r)r+ÚpprintrÚsixrÚrerrrrrrÚ s