
                         >    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
)V2beta2MetricTarget   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intstr)average_utilizationaverage_valuetypevalueaverageUtilizationaverageValuer   r   Nc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        X0l        Ub  X@l        gg)z2
V2beta2MetricTarget - a model defined in Swagger
N)	_average_utilization_average_value_type_valuediscriminatorr
   r   r   r   )selfr
   r   r   r   s        Alib/third_party/kubernetes/client/models/v2beta2_metric_target.py__init__V2beta2MetricTarget.__init__,   sW     !%DDDJDKD&!4 (Ij     c                     U R                   $ )as  
Gets the average_utilization of this V2beta2MetricTarget.
averageUtilization is the target value of the average of the resource
metric across all relevant pods, represented as a percentage of the
requested value of the resource for the pods. Currently only valid for
Resource metric source type

:return: The average_utilization of this V2beta2MetricTarget.
:rtype: int
r   r   s    r   r
   'V2beta2MetricTarget.average_utilizationC   s     $$$r   c                     Xl         g)a  
Sets the average_utilization of this V2beta2MetricTarget.
averageUtilization is the target value of the average of the resource
metric across all relevant pods, represented as a percentage of the
requested value of the resource for the pods. Currently only valid for
Resource metric source type

:param average_utilization: The average_utilization of this
V2beta2MetricTarget.
:type: int
Nr   )r   r
   s     r   r
   r   Q   s
     !4r   c                     U R                   $ )z
Gets the average_value of this V2beta2MetricTarget.
averageValue is the target value of the average of the metric across all
relevant pods (as a quantity)

:return: The average_value of this V2beta2MetricTarget.
:rtype: str
r   r   s    r   r   !V2beta2MetricTarget.average_valuea   s     r   c                     Xl         g)z
Sets the average_value of this V2beta2MetricTarget.
averageValue is the target value of the average of the metric across all
relevant pods (as a quantity)

:param average_value: The average_value of this V2beta2MetricTarget.
:type: str
Nr!   )r   r   s     r   r   r"   m   s
     (r   c                     U R                   $ )z
Gets the type of this V2beta2MetricTarget.
type represents whether the metric type is Utilization, Value, or
AverageValue

:return: The type of this V2beta2MetricTarget.
:rtype: str
)r   r   s    r   r   V2beta2MetricTarget.typez   s     ::r   c                 ,    Uc  [        S5      eXl        g)z
Sets the type of this V2beta2MetricTarget.
type represents whether the metric type is Utilization, Value, or
AverageValue

:param type: The type of this V2beta2MetricTarget.
:type: str
Nz,Invalid value for `type`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r%      s     |EFFJr   c                     U R                   $ )z
Gets the value of this V2beta2MetricTarget.
value is the target value of the metric (as a quantity).

:return: The value of this V2beta2MetricTarget.
:rtype: str
r   r   s    r   r   V2beta2MetricTarget.value   s     ;;r   c                     Xl         g)z
Sets the value of this V2beta2MetricTarget.
value is the target value of the metric (as a quantity).

:param value: The value of this V2beta2MetricTarget.
:type: str
Nr)   )r   r   s     r   r   r*      s	     Kr   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>-V2beta2MetricTarget.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   r/   )items    r   r2   r3      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr0   r.   dictitems)r   resultattr_r   s        r   r.   V2beta2MetricTarget.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V2beta2MetricTarget.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rC   r   s    r   __repr__V2beta2MetricTarget.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r9   r   __dict__r   others     r   __eq__V2beta2MetricTarget.__eq__   s(     e011==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rJ   s     r   __ne__V2beta2MetricTarget.__ne__   s     r   )	r   r   r   r   r
   r   r   r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r7   attribute_mapr   propertyr
   setterr   r   r   r.   rC   rF   rL   rP   __static_attributes__rO   r   r   r   r      s    #	- 2%	- $(!	. % % 4 4 	 	 
( 
( 	 	 ;;    	<<	 	.#+r   r   )rV   pprintr   sixr   reobjectr   rO   r   r   <module>r_      s#   	   	J& Jr   