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)"ÚV1beta1ReplicaSetStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_dddddd dœ|_||_||_||_||_||_||_d S) aM V1beta1ReplicaSetStatus - 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[V1beta1ReplicaSetCondition])Úavailable_replicasÚ conditionsÚfully_labeled_replicasÚobserved_generationÚready_replicasÚreplicasÚavailableReplicasrÚfullyLabeledReplicasÚobservedGenerationÚ readyReplicasr N)Ú swagger_typesÚ attribute_mapÚ_available_replicasÚ _conditionsÚ_fully_labeled_replicasÚ_observed_generationÚ_ready_replicasÚ _replicas)Úselfrrrr r r ©rúd/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_replica_set_status.pyÚ__init__s$   z V1beta1ReplicaSetStatus.__init__cCs|jS)a Gets the available_replicas of this V1beta1ReplicaSetStatus. The number of available replicas (ready for at least minReadySeconds) for this replica set. :return: The available_replicas of this V1beta1ReplicaSetStatus. :rtype: int )r)rrrrr:s z*V1beta1ReplicaSetStatus.available_replicascCs ||_dS)a! Sets the available_replicas of this V1beta1ReplicaSetStatus. The number of available replicas (ready for at least minReadySeconds) for this replica set. :param available_replicas: The available_replicas of this V1beta1ReplicaSetStatus. :type: int N)r)rrrrrrEs cCs|jS)a Gets the conditions of this V1beta1ReplicaSetStatus. Represents the latest available observations of a replica set's current state. :return: The conditions of this V1beta1ReplicaSetStatus. :rtype: list[V1beta1ReplicaSetCondition] )r)rrrrrQs z"V1beta1ReplicaSetStatus.conditionscCs ||_dS)a Sets the conditions of this V1beta1ReplicaSetStatus. Represents the latest available observations of a replica set's current state. :param conditions: The conditions of this V1beta1ReplicaSetStatus. :type: list[V1beta1ReplicaSetCondition] N)r)rrrrrr\s cCs|jS)a Gets the fully_labeled_replicas of this V1beta1ReplicaSetStatus. The number of pods that have labels matching the labels of the pod template of the replicaset. :return: The fully_labeled_replicas of this V1beta1ReplicaSetStatus. :rtype: int )r)rrrrrhs z.V1beta1ReplicaSetStatus.fully_labeled_replicascCs ||_dS)a0 Sets the fully_labeled_replicas of this V1beta1ReplicaSetStatus. The number of pods that have labels matching the labels of the pod template of the replicaset. :param fully_labeled_replicas: The fully_labeled_replicas of this V1beta1ReplicaSetStatus. :type: int N)r)rrrrrrss cCs|jS)a  Gets the observed_generation of this V1beta1ReplicaSetStatus. ObservedGeneration reflects the generation of the most recently observed ReplicaSet. :return: The observed_generation of this V1beta1ReplicaSetStatus. :rtype: int )r)rrrrr s z+V1beta1ReplicaSetStatus.observed_generationcCs ||_dS)a Sets the observed_generation of this V1beta1ReplicaSetStatus. ObservedGeneration reflects the generation of the most recently observed ReplicaSet. :param observed_generation: The observed_generation of this V1beta1ReplicaSetStatus. :type: int N)r)rr rrrr Šs cCs|jS)zß Gets the ready_replicas of this V1beta1ReplicaSetStatus. The number of ready replicas for this replica set. :return: The ready_replicas of this V1beta1ReplicaSetStatus. :rtype: int )r)rrrrr –s z&V1beta1ReplicaSetStatus.ready_replicascCs ||_dS)zì Sets the ready_replicas of this V1beta1ReplicaSetStatus. The number of ready replicas for this replica set. :param ready_replicas: The ready_replicas of this V1beta1ReplicaSetStatus. :type: int N)r)rr rrrr ¡s cCs|jS)aV Gets the replicas of this V1beta1ReplicaSetStatus. 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 V1beta1ReplicaSetStatus. :rtype: int )r)rrrrr ­s z V1beta1ReplicaSetStatus.replicascCs|dkrtdƒ‚||_dS)a] Sets the replicas of this V1beta1ReplicaSetStatus. 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 V1beta1ReplicaSetStatus. :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ÚÐsz1V1beta1ReplicaSetStatus.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     zV1beta1ReplicaSetStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_stràszV1beta1ReplicaSetStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r-)rrrrÚ__repr__æsz V1beta1ReplicaSetStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r$rÚ__dict__)rÚotherrrrÚ__eq__ìs zV1beta1ReplicaSetStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr0rrrÚ__ne__õszV1beta1ReplicaSetStatus.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r r rr-r.r1r2rrrrrs& "       r)r6ÚpprintrÚsixrÚreÚobjectrrrrrÚ s