Class: TencentCloud::Wedata::V20210820::CommitRuleGroupTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

CommitRuleGroupTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rulegroupid = nil, triggertype = nil, execruleconfig = nil, execconfig = nil, projectid = nil, enginetype = nil) ⇒ CommitRuleGroupTaskRequest

Returns a new instance of CommitRuleGroupTaskRequest.



3882
3883
3884
3885
3886
3887
3888
3889
# File 'lib/v20210820/models.rb', line 3882

def initialize(rulegroupid=nil, triggertype=nil, execruleconfig=nil, execconfig=nil, projectid=nil, enginetype=nil)
  @RuleGroupId = rulegroupid
  @TriggerType = triggertype
  @ExecRuleConfig = execruleconfig
  @ExecConfig = execconfig
  @ProjectId = projectid
  @EngineType = enginetype
end

Instance Attribute Details

#EngineTypeObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def EngineType
  @EngineType
end

#ExecConfigObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def ExecConfig
  @ExecConfig
end

#ExecRuleConfigObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def ExecRuleConfig
  @ExecRuleConfig
end

#ProjectIdObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def ProjectId
  @ProjectId
end

#RuleGroupIdObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def RuleGroupId
  @RuleGroupId
end

#TriggerTypeObject

Parameters:

  • RuleGroupId:

    规则组ID

  • TriggerType:

    触发类型 1.手动触发 2.调度事中触发 3.周期调度触发

  • ExecRuleConfig:

    规则配置列表

  • ExecConfig:

    执行配置

  • ProjectId:

    项目ID

  • EngineType:

    该规则运行的执行引擎,不传时会请求该数据源下默认的执行引擎



3880
3881
3882
# File 'lib/v20210820/models.rb', line 3880

def TriggerType
  @TriggerType
end

Instance Method Details

#deserialize(params) ⇒ Object



3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
# File 'lib/v20210820/models.rb', line 3891

def deserialize(params)
  @RuleGroupId = params['RuleGroupId']
  @TriggerType = params['TriggerType']
  unless params['ExecRuleConfig'].nil?
    @ExecRuleConfig = []
    params['ExecRuleConfig'].each do |i|
      ruleconfig_tmp = RuleConfig.new
      ruleconfig_tmp.deserialize(i)
      @ExecRuleConfig << ruleconfig_tmp
    end
  end
  unless params['ExecConfig'].nil?
    @ExecConfig = RuleExecConfig.new
    @ExecConfig.deserialize(params['ExecConfig'])
  end
  @ProjectId = params['ProjectId']
  @EngineType = params['EngineType']
end