Class: TencentCloud::Teo::V20220901::RuleEngineSubRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::RuleEngineSubRule
- Defined in:
- lib/v20220901/models.rb
Overview
子规则。
Instance Attribute Summary collapse
-
#Branches ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(branches = nil, description = nil) ⇒ RuleEngineSubRule
constructor
A new instance of RuleEngineSubRule.
Constructor Details
#initialize(branches = nil, description = nil) ⇒ RuleEngineSubRule
Returns a new instance of RuleEngineSubRule.
20909 20910 20911 20912 |
# File 'lib/v20220901/models.rb', line 20909 def initialize(branches=nil, description=nil) @Branches = branches @Description = description end |
Instance Attribute Details
#Branches ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
20907 20908 20909 |
# File 'lib/v20220901/models.rb', line 20907 def Branches @Branches end |
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
20907 20908 20909 |
# File 'lib/v20220901/models.rb', line 20907 def Description @Description end |
Instance Method Details
#deserialize(params) ⇒ Object
20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 |
# File 'lib/v20220901/models.rb', line 20914 def deserialize(params) unless params['Branches'].nil? @Branches = [] params['Branches'].each do |i| rulebranch_tmp = RuleBranch.new rulebranch_tmp.deserialize(i) @Branches << rulebranch_tmp end end @Description = params['Description'] end |