
                         >    S r SSKJr  SSKJr  SSKr " S S\5      rg)z
Kubernetes

No description provided (generated by Swagger Codegen
https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                   6   \ rS rSrSr SSSSS.rSSSS	S.r    SS jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS rSrg
)V2beta1ExternalMetricStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strV1LabelSelector)current_average_valuecurrent_valuemetric_namemetric_selectorcurrentAverageValuecurrentValue
metricNamemetricSelectorNc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        X l        X0l        Ub  X@l        gg)z:
V2beta1ExternalMetricStatus - a model defined in Swagger
N)	_current_average_value_current_value_metric_name_metric_selectordiscriminatorr
   r   r   r   )selfr
   r   r   r   s        Jlib/third_party/kubernetes/client/models/v2beta1_external_metric_status.py__init__$V2beta1ExternalMetricStatus.__init__,   sU     #'DDD DD(#8 &"", #    c                     U R                   $ )z
Gets the current_average_value of this V2beta1ExternalMetricStatus.
currentAverageValue is the current value of metric averaged over
autoscaled pods.

:return: The current_average_value of this V2beta1ExternalMetricStatus.
:rtype: str
r   r   s    r   r
   1V2beta1ExternalMetricStatus.current_average_valueB   s     &&&r   c                     Xl         g)a   
Sets the current_average_value of this V2beta1ExternalMetricStatus.
currentAverageValue is the current value of metric averaged over
autoscaled pods.

:param current_average_value: The current_average_value of this
V2beta1ExternalMetricStatus.
:type: str
Nr   )r   r
   s     r   r
   r    N   s
     #8r   c                     U R                   $ )z
Gets the current_value of this V2beta1ExternalMetricStatus.
currentValue is the current value of the metric (as a quantity)

:return: The current_value of this V2beta1ExternalMetricStatus.
:rtype: str
)r   r   s    r   r   )V2beta1ExternalMetricStatus.current_value\   s     r   c                 ,    Uc  [        S5      eXl        g)z
Sets the current_value of this V2beta1ExternalMetricStatus.
currentValue is the current value of the metric (as a quantity)

:param current_value: The current_value of this
V2beta1ExternalMetricStatus.
:type: str
Nz5Invalid value for `current_value`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r#   g   s     NOO'r   c                     U R                   $ )z
Gets the metric_name of this V2beta1ExternalMetricStatus.
metricName is the name of a metric used for autoscaling in metric
system.

:return: The metric_name of this V2beta1ExternalMetricStatus.
:rtype: str
)r   r   s    r   r   'V2beta1ExternalMetricStatus.metric_namev   s     r   c                 ,    Uc  [        S5      eXl        g)z
Sets the metric_name of this V2beta1ExternalMetricStatus.
metricName is the name of a metric used for autoscaling in metric
system.

:param metric_name: The metric_name of this V2beta1ExternalMetricStatus.
:type: str
Nz3Invalid value for `metric_name`, must not be `None`)r%   r   )r   r   s     r   r   r'      s     LMM#r   c                     U R                   $ )z
Gets the metric_selector of this V2beta1ExternalMetricStatus.
metricSelector is used to identify a specific time series within a given
metric.

:return: The metric_selector of this V2beta1ExternalMetricStatus.
:rtype: V1LabelSelector
r   r   s    r   r   +V2beta1ExternalMetricStatus.metric_selector   s        r   c                     Xl         g)z
Sets the metric_selector of this V2beta1ExternalMetricStatus.
metricSelector is used to identify a specific time series within a given
metric.

:param metric_selector: The metric_selector of this
V2beta1ExternalMetricStatus.
:type: V1LabelSelector
Nr*   )r   r   s     r   r   r+      s
     ,r   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr/   )xs    r   <lambda>5V2beta1ExternalMetricStatus.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r/   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r/   r   r0   )items    r   r3   r4      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   #V2beta1ExternalMetricStatus.to_dict   s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r/   r   s    r   to_str"V2beta1ExternalMetricStatus.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rE   r   s    r   __repr__$V2beta1ExternalMetricStatus.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r:   r   __dict__r   others     r   __eq__"V2beta1ExternalMetricStatus.__eq__   s(     e899==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rL   s     r   __ne__"V2beta1ExternalMetricStatus.__ne__   s     r   )	r   r   r   r   r
   r   r   r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r8   attribute_mapr   propertyr
   setterr   r   r   r/   rE   rH   rN   rR   __static_attributes__rQ   r   r   r   r      s     %*	-  5%!)	- &*!#	-, 	' 	' 8  8   ( ( 	 	 $ $ 	! 	! , ,.#+r   r   )rX   pprintr   sixr   reobjectr   rQ   r   r   <module>ra      s#   	   	I& Ir   