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@seZdZdZd'dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZdd„Zdd „Zd!d"„Zd#d$„Zd%d&„ZdS)(ÚAppsV1beta1DeploymentStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csddddddddddœ|_dddddd d d dœ|_||_||_||_||_||_||_||_||_ d S) aQ AppsV1beta1DeploymentStatus - 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. Úintz$list[AppsV1beta1DeploymentCondition])Úavailable_replicasÚcollision_countÚ conditionsÚobserved_generationÚready_replicasÚreplicasÚunavailable_replicasÚupdated_replicasZavailableReplicasZcollisionCountrZobservedGenerationZ readyReplicasr ZunavailableReplicasZupdatedReplicasN) Ú swagger_typesÚ attribute_mapÚ_available_replicasÚ_collision_countÚ _conditionsÚ_observed_generationÚ_ready_replicasÚ _replicasÚ_unavailable_replicasÚ_updated_replicas) Úselfrrrr r r r r ©rúh/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/apps_v1beta1_deployment_status.pyÚ__init__s0   z$AppsV1beta1DeploymentStatus.__init__cCs|jS)a Gets the available_replicas of this AppsV1beta1DeploymentStatus. Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. :return: The available_replicas of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr@s z.AppsV1beta1DeploymentStatus.available_replicascCs ||_dS)a. Sets the available_replicas of this AppsV1beta1DeploymentStatus. Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. :param available_replicas: The available_replicas of this AppsV1beta1DeploymentStatus. :type: int N)r)rrrrrrKs cCs|jS)al Gets the collision_count of this AppsV1beta1DeploymentStatus. Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. :return: The collision_count of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrrWs z+AppsV1beta1DeploymentStatus.collision_countcCs ||_dS)az Sets the collision_count of this AppsV1beta1DeploymentStatus. Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. :param collision_count: The collision_count of this AppsV1beta1DeploymentStatus. :type: int N)r)rrrrrrbs cCs|jS)a Gets the conditions of this AppsV1beta1DeploymentStatus. Represents the latest available observations of a deployment's current state. :return: The conditions of this AppsV1beta1DeploymentStatus. :rtype: list[AppsV1beta1DeploymentCondition] )r)rrrrrns z&AppsV1beta1DeploymentStatus.conditionscCs ||_dS)a$ Sets the conditions of this AppsV1beta1DeploymentStatus. Represents the latest available observations of a deployment's current state. :param conditions: The conditions of this AppsV1beta1DeploymentStatus. :type: list[AppsV1beta1DeploymentCondition] N)r)rrrrrrys cCs|jS)zô Gets the observed_generation of this AppsV1beta1DeploymentStatus. The generation observed by the deployment controller. :return: The observed_generation of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr …s z/AppsV1beta1DeploymentStatus.observed_generationcCs ||_dS)a Sets the observed_generation of this AppsV1beta1DeploymentStatus. The generation observed by the deployment controller. :param observed_generation: The observed_generation of this AppsV1beta1DeploymentStatus. :type: int N)r)rr rrrr �s cCs|jS)zì Gets the ready_replicas of this AppsV1beta1DeploymentStatus. Total number of ready pods targeted by this deployment. :return: The ready_replicas of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr œs z*AppsV1beta1DeploymentStatus.ready_replicascCs ||_dS)zù Sets the ready_replicas of this AppsV1beta1DeploymentStatus. Total number of ready pods targeted by this deployment. :param ready_replicas: The ready_replicas of this AppsV1beta1DeploymentStatus. :type: int N)r)rr rrrr §s cCs|jS)a  Gets the replicas of this AppsV1beta1DeploymentStatus. Total number of non-terminated pods targeted by this deployment (their labels match the selector). :return: The replicas of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr ³s z$AppsV1beta1DeploymentStatus.replicascCs ||_dS)a Sets the replicas of this AppsV1beta1DeploymentStatus. Total number of non-terminated pods targeted by this deployment (their labels match the selector). :param replicas: The replicas of this AppsV1beta1DeploymentStatus. :type: int N)r)rr rrrr ¾s cCs|jS)zþ Gets the unavailable_replicas of this AppsV1beta1DeploymentStatus. Total number of unavailable pods targeted by this deployment. :return: The unavailable_replicas of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr Ês z0AppsV1beta1DeploymentStatus.unavailable_replicascCs ||_dS)a Sets the unavailable_replicas of this AppsV1beta1DeploymentStatus. Total number of unavailable pods targeted by this deployment. :param unavailable_replicas: The unavailable_replicas of this AppsV1beta1DeploymentStatus. :type: int N)r)rr rrrr Õs cCs|jS)a Gets the updated_replicas of this AppsV1beta1DeploymentStatus. Total number of non-terminated pods targeted by this deployment that have the desired template spec. :return: The updated_replicas of this AppsV1beta1DeploymentStatus. :rtype: int )r)rrrrr ás z,AppsV1beta1DeploymentStatus.updated_replicascCs ||_dS)a, Sets the updated_replicas of this AppsV1beta1DeploymentStatus. Total number of non-terminated pods targeted by this deployment that have the desired template spec. :param updated_replicas: The updated_replicas of this AppsV1beta1DeploymentStatus. :type: int N)r)rr rrrr ìs 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Úsz5AppsV1beta1DeploymentStatus.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr s) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrrøs     z#AppsV1beta1DeploymentStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strsz"AppsV1beta1DeploymentStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r,)rrrrÚ__repr__sz$AppsV1beta1DeploymentStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r#rÚ__dict__)rÚotherrrrÚ__eq__s z"AppsV1beta1DeploymentStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrrÚ__ne__'sz"AppsV1beta1DeploymentStatus.__ne__)NNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r r r r rr,r-r0r1rrrrrs. (          r)r5ÚpprintrÚsixrÚreÚobjectrrrrrÚ s