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