class TencentCloud::Emr::V20190103::LoadMetricsCondition

负载指标条件

def deserialize(params)

def deserialize(params)
  @StatisticPeriod = params['StatisticPeriod']
  @TriggerThreshold = params['TriggerThreshold']
  @LoadMetrics = params['LoadMetrics']
  @MetricId = params['MetricId']
  unless params['Conditions'].nil?
    @Conditions = []
    params['Conditions'].each do |i|
      triggercondition_tmp = TriggerCondition.new
      triggercondition_tmp.deserialize(i)
      @Conditions << triggercondition_tmp
    end
  end
end

def initialize(statisticperiod=nil, triggerthreshold=nil, loadmetrics=nil, metricid=nil, conditions=nil)

def initialize(statisticperiod=nil, triggerthreshold=nil, loadmetrics=nil, metricid=nil, conditions=nil)
  @StatisticPeriod = statisticperiod
  @TriggerThreshold = triggerthreshold
  @LoadMetrics = loadmetrics
  @MetricId = metricid
  @Conditions = conditions
end