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