Class: TencentCloud::Wedata::V20210820::CommitRuleGroupTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::CommitRuleGroupTaskRequest
- Defined in:
- lib/v20210820/models.rb
Overview
CommitRuleGroupTask请求参数结构体
Instance Attribute Summary collapse
- #EngineType ⇒ Object
- #ExecConfig ⇒ Object
- #ExecRuleConfig ⇒ Object
- #ProjectId ⇒ Object
- #RuleGroupId ⇒ Object
- #TriggerType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulegroupid = nil, triggertype = nil, execruleconfig = nil, execconfig = nil, projectid = nil, enginetype = nil) ⇒ CommitRuleGroupTaskRequest
constructor
A new instance of CommitRuleGroupTaskRequest.
Constructor Details
#initialize(rulegroupid = nil, triggertype = nil, execruleconfig = nil, execconfig = nil, projectid = nil, enginetype = nil) ⇒ CommitRuleGroupTaskRequest
Returns a new instance of CommitRuleGroupTaskRequest.
2557 2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/v20210820/models.rb', line 2557 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
#EngineType ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def EngineType @EngineType end |
#ExecConfig ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def ExecConfig @ExecConfig end |
#ExecRuleConfig ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def ExecRuleConfig @ExecRuleConfig end |
#ProjectId ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def ProjectId @ProjectId end |
#RuleGroupId ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def RuleGroupId @RuleGroupId end |
#TriggerType ⇒ Object
2555 2556 2557 |
# File 'lib/v20210820/models.rb', line 2555 def TriggerType @TriggerType end |
Instance Method Details
#deserialize(params) ⇒ Object
2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'lib/v20210820/models.rb', line 2566 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 |