3 f÷ÔY¨2ã@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 edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZedd„ƒZejdd„ƒZd d!„Zd"d#„Zd$d%„Zd&d'„Zd(d)„ZdS)+ÚV1beta1DaemonSetStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csnddddddddddœ |_ddddddd d d dœ |_||_||_||_||_||_||_||_||_ | |_ d S) aL V1beta1DaemonSetStatus - 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. Úint) Úcollision_countÚcurrent_number_scheduledÚdesired_number_scheduledÚnumber_availableÚnumber_misscheduledÚ number_readyÚnumber_unavailableÚobserved_generationÚupdated_number_scheduledÚcollisionCountZcurrentNumberScheduledZdesiredNumberScheduledZnumberAvailableZnumberMisscheduledZ numberReadyZnumberUnavailableÚobservedGenerationZupdatedNumberScheduledN) Ú swagger_typesÚ attribute_mapÚ_collision_countÚ_current_number_scheduledÚ_desired_number_scheduledÚ_number_availableÚ_number_misscheduledÚ _number_readyÚ_number_unavailableÚ_observed_generationÚ_updated_number_scheduled) Úselfrrrr r r r r r©rúc/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_daemon_set_status.pyÚ__init__s6   zV1beta1DaemonSetStatus.__init__cCs|jS)ah Gets the collision_count of this V1beta1DaemonSetStatus. Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. :return: The collision_count of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrrCs z&V1beta1DaemonSetStatus.collision_countcCs ||_dS)av Sets the collision_count of this V1beta1DaemonSetStatus. Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. :param collision_count: The collision_count of this V1beta1DaemonSetStatus. :type: int N)r)rrrrrrNs cCs|jS)aq Gets the current_number_scheduled of this V1beta1DaemonSetStatus. The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :return: The current_number_scheduled of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrrZs z/V1beta1DaemonSetStatus.current_number_scheduledcCs|dkrtdƒ‚||_dS)aˆ Sets the current_number_scheduled of this V1beta1DaemonSetStatus. The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :param current_number_scheduled: The current_number_scheduled of this V1beta1DaemonSetStatus. :type: int Nz@Invalid value for `current_number_scheduled`, must not be `None`)Ú ValueErrorr)rrrrrres cCs|jS)a‚ Gets the desired_number_scheduled of this V1beta1DaemonSetStatus. The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :return: The desired_number_scheduled of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrrss z/V1beta1DaemonSetStatus.desired_number_scheduledcCs|dkrtdƒ‚||_dS)a™ Sets the desired_number_scheduled of this V1beta1DaemonSetStatus. The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :param desired_number_scheduled: The desired_number_scheduled of this V1beta1DaemonSetStatus. :type: int Nz@Invalid value for `desired_number_scheduled`, must not be `None`)r r)rrrrrr~s cCs|jS)aO Gets the number_available of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) :return: The number_available of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrr Œs z'V1beta1DaemonSetStatus.number_availablecCs ||_dS)a^ Sets the number_available of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) :param number_available: The number_available of this V1beta1DaemonSetStatus. :type: int N)r)rr rrrr —s cCs|jS)ae Gets the number_misscheduled of this V1beta1DaemonSetStatus. The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :return: The number_misscheduled of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrr £s z*V1beta1DaemonSetStatus.number_misscheduledcCs|dkrtdƒ‚||_dS)aw Sets the number_misscheduled of this V1beta1DaemonSetStatus. The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ :param number_misscheduled: The number_misscheduled of this V1beta1DaemonSetStatus. :type: int Nz;Invalid value for `number_misscheduled`, must not be `None`)r r)rr rrrr ®s cCs|jS)a Gets the number_ready of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. :return: The number_ready of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrr ¼s z#V1beta1DaemonSetStatus.number_readycCs|dkrtdƒ‚||_dS)a% Sets the number_ready of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. :param number_ready: The number_ready of this V1beta1DaemonSetStatus. :type: int Nz4Invalid value for `number_ready`, must not be `None`)r r)rr rrrr Çs cCs|jS)aL Gets the number_unavailable of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) :return: The number_unavailable of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrr Õs z)V1beta1DaemonSetStatus.number_unavailablecCs ||_dS)a] Sets the number_unavailable of this V1beta1DaemonSetStatus. The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) :param number_unavailable: The number_unavailable of this V1beta1DaemonSetStatus. :type: int N)r)rr rrrr às cCs|jS)zö Gets the observed_generation of this V1beta1DaemonSetStatus. The most recent generation observed by the daemon set controller. :return: The observed_generation of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrr ìs z*V1beta1DaemonSetStatus.observed_generationcCs ||_dS)a Sets the observed_generation of this V1beta1DaemonSetStatus. The most recent generation observed by the daemon set controller. :param observed_generation: The observed_generation of this V1beta1DaemonSetStatus. :type: int N)r)rr rrrr ÷s cCs|jS)zü Gets the updated_number_scheduled of this V1beta1DaemonSetStatus. The total number of nodes that are running updated daemon pod :return: The updated_number_scheduled of this V1beta1DaemonSetStatus. :rtype: int )r)rrrrrs z/V1beta1DaemonSetStatus.updated_number_scheduledcCs ||_dS)a Sets the updated_number_scheduled of this V1beta1DaemonSetStatus. The total number of nodes that are running updated daemon pod :param updated_number_scheduled: The updated_number_scheduled of this V1beta1DaemonSetStatus. :type: int N)r)rrrrrrs 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Ú$sz0V1beta1DaemonSetStatus.to_dict..r!cSs&t|ddƒr"|d|djƒfS|S)Nér!r)r"r!)Úitemrrrr$+s) rrÚgetattrÚ isinstanceÚlistÚmapr"r!ÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr!s     zV1beta1DaemonSetStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr!)rrrrÚto_str4szV1beta1DaemonSetStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r1)rrrrÚ__repr__:szV1beta1DaemonSetStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r(rÚ__dict__)rÚotherrrrÚ__eq__@s zV1beta1DaemonSetStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr4rrrÚ__ne__IszV1beta1DaemonSetStatus.__ne__) NNNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r r r r rr!r1r2r5r6rrrrrs2 +           r)r:ÚpprintrÚsixrÚreÚobjectrrrrrÚ s