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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)ÚV2alpha1PodsMetricStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aN V2alpha1PodsMetricStatus - 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. Ústr)Úcurrent_average_valueÚ metric_nameZcurrentAverageValueÚ metricNameN)Ú swagger_typesÚ attribute_mapÚ_current_average_valueÚ _metric_name)Úselfrr©rúe/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v2alpha1_pods_metric_status.pyÚ__init__s   z!V2alpha1PodsMetricStatus.__init__cCs|jS)a+ Gets the current_average_value of this V2alpha1PodsMetricStatus. currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) :return: The current_average_value of this V2alpha1PodsMetricStatus. :rtype: str )r )r rrrr.s z.V2alpha1PodsMetricStatus.current_average_valuecCs|dkrtdƒ‚||_dS)a? Sets the current_average_value of this V2alpha1PodsMetricStatus. currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) :param current_average_value: The current_average_value of this V2alpha1PodsMetricStatus. :type: str Nz=Invalid value for `current_average_value`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)zÙ Gets the metric_name of this V2alpha1PodsMetricStatus. metricName is the name of the metric in question :return: The metric_name of this V2alpha1PodsMetricStatus. :rtype: str )r )r rrrrGs z$V2alpha1PodsMetricStatus.metric_namecCs|dkrtdƒ‚||_dS)zã Sets the metric_name of this V2alpha1PodsMetricStatus. metricName is the name of the metric in question :param metric_name: The metric_name of this V2alpha1PodsMetricStatus. :type: str Nz3Invalid value for `metric_name`, must not be `None`)rr )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Újsz2V2alpha1PodsMetricStatus.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrrqs) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr`s     z V2alpha1PodsMetricStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strzszV2alpha1PodsMetricStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__€sz!V2alpha1PodsMetricStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__†s zV2alpha1PodsMetricStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV2alpha1PodsMetricStatus.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs    r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s