Class: TencentCloud::Wedata::V20210820::CompareRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::CompareRule
- Defined in:
- lib/v20210820/models.rb
Overview
对比规则
Instance Attribute Summary collapse
-
#ComputeExpression ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CycleStep ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, cyclestep = nil, computeexpression = nil) ⇒ CompareRule
constructor
A new instance of CompareRule.
Constructor Details
#initialize(items = nil, cyclestep = nil, computeexpression = nil) ⇒ CompareRule
Returns a new instance of CompareRule.
4134 4135 4136 4137 4138 |
# File 'lib/v20210820/models.rb', line 4134 def initialize(items=nil, cyclestep=nil, computeexpression=nil) @Items = items @CycleStep = cyclestep @ComputeExpression = computeexpression end |
Instance Attribute Details
#ComputeExpression ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4132 4133 4134 |
# File 'lib/v20210820/models.rb', line 4132 def ComputeExpression @ComputeExpression end |
#CycleStep ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4132 4133 4134 |
# File 'lib/v20210820/models.rb', line 4132 def CycleStep @CycleStep end |
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4132 4133 4134 |
# File 'lib/v20210820/models.rb', line 4132 def Items @Items end |
Instance Method Details
#deserialize(params) ⇒ Object
4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/v20210820/models.rb', line 4140 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| compareruleitem_tmp = CompareRuleItem.new compareruleitem_tmp.deserialize(i) @Items << compareruleitem_tmp end end @CycleStep = params['CycleStep'] @ComputeExpression = params['ComputeExpression'] end |