class TencentCloud::Emr::V20190103::StartStopServiceOrMonitorRequest
StartStopServiceOrMonitor请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @OpType = params['OpType'] unless params['OpScope'].nil? @OpScope = OpScope.new @OpScope.deserialize(params['OpScope']) end unless params['StrategyConfig'].nil? @StrategyConfig = StrategyConfig.new @StrategyConfig.deserialize(params['StrategyConfig']) end unless params['StopParams'].nil? @StopParams = StopParams.new @StopParams.deserialize(params['StopParams']) end @KeepMonitorButNotRecoverProcess = params['KeepMonitorButNotRecoverProcess'] end
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil, stopparams=nil, keepmonitorbutnotrecoverprocess=nil)
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil, stopparams=nil, keepmonitorbutnotrecoverprocess=nil) @InstanceId = instanceid @OpType = optype @OpScope = opscope @StrategyConfig = strategyconfig @StopParams = stopparams @KeepMonitorButNotRecoverProcess = keepmonitorbutnotrecoverprocess end