class TencentCloud::Emr::V20190103::ModifyAutoScaleStrategyRequest

ModifyAutoScaleStrategy请求参数结构体

def deserialize(params)

def deserialize(params)
  @InstanceId = params['InstanceId']
  @StrategyType = params['StrategyType']
  unless params['LoadAutoScaleStrategies'].nil?
    @LoadAutoScaleStrategies = []
    params['LoadAutoScaleStrategies'].each do |i|
      loadautoscalestrategy_tmp = LoadAutoScaleStrategy.new
      loadautoscalestrategy_tmp.deserialize(i)
      @LoadAutoScaleStrategies << loadautoscalestrategy_tmp
    end
  end
  unless params['TimeAutoScaleStrategies'].nil?
    @TimeAutoScaleStrategies = []
    params['TimeAutoScaleStrategies'].each do |i|
      timeautoscalestrategy_tmp = TimeAutoScaleStrategy.new
      timeautoscalestrategy_tmp.deserialize(i)
      @TimeAutoScaleStrategies << timeautoscalestrategy_tmp
    end
  end
  @GroupId = params['GroupId']
end

def initialize(instanceid=nil, strategytype=nil, loadautoscalestrategies=nil, timeautoscalestrategies=nil, groupid=nil)

def initialize(instanceid=nil, strategytype=nil, loadautoscalestrategies=nil, timeautoscalestrategies=nil, groupid=nil)
  @InstanceId = instanceid
  @StrategyType = strategytype
  @LoadAutoScaleStrategies = loadautoscalestrategies
  @TimeAutoScaleStrategies = timeautoscalestrategies
  @GroupId = groupid
end