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)Ú V1beta1StatefulSetUpdateStrategyzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aV V1beta1StatefulSetUpdateStrategy - 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. Ú'V1beta1RollingUpdateStatefulSetStrategyÚstr)Úrolling_updateÚtypeÚ rollingUpdaterN)Ú swagger_typesÚ attribute_mapÚ_rolling_updateÚ_type)Úselfrr©rún/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_stateful_set_update_strategy.pyÚ__init__s   z)V1beta1StatefulSetUpdateStrategy.__init__cCs|jS)aE Gets the rolling_update of this V1beta1StatefulSetUpdateStrategy. RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. :return: The rolling_update of this V1beta1StatefulSetUpdateStrategy. :rtype: V1beta1RollingUpdateStatefulSetStrategy )r )rrrrr.s z/V1beta1StatefulSetUpdateStrategy.rolling_updatecCs ||_dS)aR Sets the rolling_update of this V1beta1StatefulSetUpdateStrategy. RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. :param rolling_update: The rolling_update of this V1beta1StatefulSetUpdateStrategy. :type: V1beta1RollingUpdateStatefulSetStrategy N)r )rrrrrr9s cCs|jS)zä Gets the type of this V1beta1StatefulSetUpdateStrategy. Type indicates the type of the StatefulSetUpdateStrategy. :return: The type of this V1beta1StatefulSetUpdateStrategy. :rtype: str )r )rrrrrEs z%V1beta1StatefulSetUpdateStrategy.typecCs ||_dS)zç Sets the type of this V1beta1StatefulSetUpdateStrategy. Type indicates the type of the StatefulSetUpdateStrategy. :param type: The type of this V1beta1StatefulSetUpdateStrategy. :type: str N)r )rrrrrrPs 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Úfsz:V1beta1StatefulSetUpdateStrategy.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrrms) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr\s     z(V1beta1StatefulSetUpdateStrategy.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strvsz'V1beta1StatefulSetUpdateStrategy.to_strcCs|jƒS)z* For `print` and `pprint` )r")rrrrÚ__repr__|sz)V1beta1StatefulSetUpdateStrategy.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__‚s z'V1beta1StatefulSetUpdateStrategy.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr%rrrÚ__ne__‹sz'V1beta1StatefulSetUpdateStrategy.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs     r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s