class TencentCloud::Emr::V20190103::DescribeAutoScaleStrategiesResponse
DescribeAutoScaleStrategies返回参数结构体
def deserialize(params)
def deserialize(params) 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['TimeBasedAutoScaleStrategies'].nil? @TimeBasedAutoScaleStrategies = [] params['TimeBasedAutoScaleStrategies'].each do |i| timeautoscalestrategy_tmp = TimeAutoScaleStrategy.new timeautoscalestrategy_tmp.deserialize(i) @TimeBasedAutoScaleStrategies << timeautoscalestrategy_tmp end end @RequestId = params['RequestId'] end
def initialize(loadautoscalestrategies=nil, timebasedautoscalestrategies=nil, requestid=nil)
def initialize(loadautoscalestrategies=nil, timebasedautoscalestrategies=nil, requestid=nil) @LoadAutoScaleStrategies = loadautoscalestrategies @TimeBasedAutoScaleStrategies = timebasedautoscalestrategies @RequestId = requestid end