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„ƒZdd „Zd d „Z d d „Z dd„Z dd„Z dS)ÚExtensionsV1beta1RollbackConfigzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsddi|_ddi|_||_dS)aU ExtensionsV1beta1RollbackConfig - 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. ÚrevisionÚintN)Ú swagger_typesÚ attribute_mapÚ _revision)Úselfr©r úl/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/extensions_v1beta1_rollback_config.pyÚ__init__s  z(ExtensionsV1beta1RollbackConfig.__init__cCs|jS)zù Gets the revision of this ExtensionsV1beta1RollbackConfig. The revision to rollback to. If set to 0, rollback to the last revision. :return: The revision of this ExtensionsV1beta1RollbackConfig. :rtype: int )r )r r r r r+s z(ExtensionsV1beta1RollbackConfig.revisioncCs ||_dS)a Sets the revision of this ExtensionsV1beta1RollbackConfig. The revision to rollback to. If set to 0, rollback to the last revision. :param revision: The revision of this ExtensionsV1beta1RollbackConfig. :type: int N)r )r rr r r r6s 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 ÚLsz9ExtensionsV1beta1RollbackConfig.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r r rSs) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r r rBs     z'ExtensionsV1beta1RollbackConfig.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r r Úto_str\sz&ExtensionsV1beta1RollbackConfig.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__bsz(ExtensionsV1beta1RollbackConfig.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__hs z&ExtensionsV1beta1RollbackConfig.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r!r r r Ú__ne__qsz&ExtensionsV1beta1RollbackConfig.__ne__)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__r ÚpropertyrÚsetterrrrr"r#r r r r rs    r)r'ÚpprintrÚsixrÚreÚobjectrr r r r Ú s