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)ÚV2alpha1PodsMetricSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aN V2alpha1PodsMetricSource - 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)Ú metric_nameÚtarget_average_valueÚ metricNameZtargetAverageValueN)Ú swagger_typesÚ attribute_mapÚ _metric_nameÚ_target_average_value)Úselfrr©rúe/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v2alpha1_pods_metric_source.pyÚ__init__s   z!V2alpha1PodsMetricSource.__init__cCs|jS)zÙ Gets the metric_name of this V2alpha1PodsMetricSource. metricName is the name of the metric in question :return: The metric_name of this V2alpha1PodsMetricSource. :rtype: str )r )r rrrr.s z$V2alpha1PodsMetricSource.metric_namecCs|dkrtdƒ‚||_dS)zã Sets the metric_name of this V2alpha1PodsMetricSource. metricName is the name of the metric in question :param metric_name: The metric_name of this V2alpha1PodsMetricSource. :type: str Nz3Invalid value for `metric_name`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)a' Gets the target_average_value of this V2alpha1PodsMetricSource. targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) :return: The target_average_value of this V2alpha1PodsMetricSource. :rtype: str )r )r rrrrGs z-V2alpha1PodsMetricSource.target_average_valuecCs|dkrtdƒ‚||_dS)a: Sets the target_average_value of this V2alpha1PodsMetricSource. targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) :param target_average_value: The target_average_value of this V2alpha1PodsMetricSource. :type: str Nzjsz2V2alpha1PodsMetricSource.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 V2alpha1PodsMetricSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strzszV2alpha1PodsMetricSource.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__€sz!V2alpha1PodsMetricSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__†s zV2alpha1PodsMetricSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV2alpha1PodsMetricSource.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs    r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s