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)ÚV1beta1DaemonSetUpdateStrategyzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aT V1beta1DaemonSetUpdateStrategy - 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. ÚV1beta1RollingUpdateDaemonSetÚstr)Úrolling_updateÚtypeÚ rollingUpdaterN)Ú swagger_typesÚ attribute_mapÚ_rolling_updateÚ_type)Úselfrr©rúl/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_daemon_set_update_strategy.pyÚ__init__s   z'V1beta1DaemonSetUpdateStrategy.__init__cCs|jS)a Gets the rolling_update of this V1beta1DaemonSetUpdateStrategy. Rolling update config params. Present only if type = "RollingUpdate". :return: The rolling_update of this V1beta1DaemonSetUpdateStrategy. :rtype: V1beta1RollingUpdateDaemonSet )r )rrrrr.s z-V1beta1DaemonSetUpdateStrategy.rolling_updatecCs ||_dS)a' Sets the rolling_update of this V1beta1DaemonSetUpdateStrategy. Rolling update config params. Present only if type = "RollingUpdate". :param rolling_update: The rolling_update of this V1beta1DaemonSetUpdateStrategy. :type: V1beta1RollingUpdateDaemonSet N)r )rrrrrr9s cCs|jS)zü Gets the type of this V1beta1DaemonSetUpdateStrategy. Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete. :return: The type of this V1beta1DaemonSetUpdateStrategy. :rtype: str )r )rrrrrEs z#V1beta1DaemonSetUpdateStrategy.typecCs ||_dS)zÿ Sets the type of this V1beta1DaemonSetUpdateStrategy. Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete. :param type: The type of this V1beta1DaemonSetUpdateStrategy. :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Úfsz8V1beta1DaemonSetUpdateStrategy.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&V1beta1DaemonSetUpdateStrategy.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strvsz%V1beta1DaemonSetUpdateStrategy.to_strcCs|jƒS)z* For `print` and `pprint` )r")rrrrÚ__repr__|sz'V1beta1DaemonSetUpdateStrategy.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__‚s z%V1beta1DaemonSetUpdateStrategy.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr%rrrÚ__ne__‹sz%V1beta1DaemonSetUpdateStrategy.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs     r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s