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.
2733 2734 2735 2736 2737 2738 2739 2740 |
# File 'lib/v20210820/models.rb', line 2733 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
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def EngineType @EngineType end |
#ExecConfig ⇒ Object
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def ExecConfig @ExecConfig end |
#ExecRuleConfig ⇒ Object
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def ExecRuleConfig @ExecRuleConfig end |
#ProjectId ⇒ Object
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def ProjectId @ProjectId end |
#RuleGroupId ⇒ Object
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def RuleGroupId @RuleGroupId end |
#TriggerType ⇒ Object
2731 2732 2733 |
# File 'lib/v20210820/models.rb', line 2731 def TriggerType @TriggerType end |
Instance Method Details
#deserialize(params) ⇒ Object
2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'lib/v20210820/models.rb', line 2742 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 |