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@sÞeZdZdZd!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 dd„Z dd„Zdd„Zdd„Zdd „ZdS)"ÚV1ReplicationControllerStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_dddddd dœ|_||_||_||_||_||_||_d S) aS V1ReplicationControllerStatus - 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[V1ReplicationControllerCondition])Úavailable_replicasÚ conditionsÚfully_labeled_replicasÚobserved_generationÚready_replicasÚreplicasÚavailableReplicasrZfullyLabeledReplicasÚobservedGenerationÚ readyReplicasr N)Ú swagger_typesÚ attribute_mapÚ_available_replicasÚ _conditionsÚ_fully_labeled_replicasÚ_observed_generationÚ_ready_replicasÚ _replicas)Úselfrrrr r r ©rúj/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_replication_controller_status.pyÚ__init__s$   z&V1ReplicationControllerStatus.__init__cCs|jS)a' Gets the available_replicas of this V1ReplicationControllerStatus. The number of available replicas (ready for at least minReadySeconds) for this replication controller. :return: The available_replicas of this V1ReplicationControllerStatus. :rtype: int )r)rrrrr:s z0V1ReplicationControllerStatus.available_replicascCs ||_dS)a8 Sets the available_replicas of this V1ReplicationControllerStatus. The number of available replicas (ready for at least minReadySeconds) for this replication controller. :param available_replicas: The available_replicas of this V1ReplicationControllerStatus. :type: int N)r)rrrrrrEs cCs|jS)a- Gets the conditions of this V1ReplicationControllerStatus. Represents the latest available observations of a replication controller's current state. :return: The conditions of this V1ReplicationControllerStatus. :rtype: list[V1ReplicationControllerCondition] )r)rrrrrQs z(V1ReplicationControllerStatus.conditionscCs ||_dS)a6 Sets the conditions of this V1ReplicationControllerStatus. Represents the latest available observations of a replication controller's current state. :param conditions: The conditions of this V1ReplicationControllerStatus. :type: list[V1ReplicationControllerCondition] N)r)rrrrrr\s cCs|jS)a3 Gets the fully_labeled_replicas of this V1ReplicationControllerStatus. The number of pods that have labels matching the labels of the pod template of the replication controller. :return: The fully_labeled_replicas of this V1ReplicationControllerStatus. :rtype: int )r)rrrrrhs z4V1ReplicationControllerStatus.fully_labeled_replicascCs ||_dS)aH Sets the fully_labeled_replicas of this V1ReplicationControllerStatus. The number of pods that have labels matching the labels of the pod template of the replication controller. :param fully_labeled_replicas: The fully_labeled_replicas of this V1ReplicationControllerStatus. :type: int N)r)rrrrrrss cCs|jS)a# Gets the observed_generation of this V1ReplicationControllerStatus. ObservedGeneration reflects the generation of the most recently observed replication controller. :return: The observed_generation of this V1ReplicationControllerStatus. :rtype: int )r)rrrrr s z1V1ReplicationControllerStatus.observed_generationcCs ||_dS)a5 Sets the observed_generation of this V1ReplicationControllerStatus. ObservedGeneration reflects the generation of the most recently observed replication controller. :param observed_generation: The observed_generation of this V1ReplicationControllerStatus. :type: int N)r)rr rrrr Šs cCs|jS)zö Gets the ready_replicas of this V1ReplicationControllerStatus. The number of ready replicas for this replication controller. :return: The ready_replicas of this V1ReplicationControllerStatus. :rtype: int )r)rrrrr –s z,V1ReplicationControllerStatus.ready_replicascCs ||_dS)a Sets the ready_replicas of this V1ReplicationControllerStatus. The number of ready replicas for this replication controller. :param ready_replicas: The ready_replicas of this V1ReplicationControllerStatus. :type: int N)r)rr rrrr ¡s cCs|jS)aa Gets the replicas of this V1ReplicationControllerStatus. Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller :return: The replicas of this V1ReplicationControllerStatus. :rtype: int )r)rrrrr ­s z&V1ReplicationControllerStatus.replicascCs|dkrtdƒ‚||_dS)ah Sets the replicas of this V1ReplicationControllerStatus. Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller :param replicas: The replicas of this V1ReplicationControllerStatus. :type: int Nz0Invalid value for `replicas`, must not be `None`)Ú ValueErrorr)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ÚÐsz7V1ReplicationControllerStatus.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%V1ReplicationControllerStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_stràsz$V1ReplicationControllerStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r,)rrrrÚ__repr__æsz&V1ReplicationControllerStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r#rÚ__dict__)rÚotherrrrÚ__eq__ìs z$V1ReplicationControllerStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrrÚ__ne__õsz$V1ReplicationControllerStatus.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r r rr,r-r0r1rrrrrs& "       r)r5ÚpprintrÚsixrÚreÚobjectrrrrrÚ s