Class: TencentCloud::Mps::V20190612::Rules
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::Rules
- Defined in:
- lib/v20190612/models.rb
Overview
任务判断条件
Instance Attribute Summary collapse
-
#Conditions ⇒ Object
- &&:逻辑与 - ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。.
-
#Id ⇒ Object
- &&:逻辑与 - ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。.
-
#Linker ⇒ Object
- &&:逻辑与 - ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。.
-
#RearDriveIndexs ⇒ Object
- &&:逻辑与 - ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, conditions = nil, linker = nil, reardriveindexs = nil) ⇒ Rules
constructor
A new instance of Rules.
Constructor Details
#initialize(id = nil, conditions = nil, linker = nil, reardriveindexs = nil) ⇒ Rules
Returns a new instance of Rules.
26819 26820 26821 26822 26823 26824 |
# File 'lib/v20190612/models.rb', line 26819 def initialize(id=nil, conditions=nil, linker=nil, reardriveindexs=nil) @Id = id @Conditions = conditions @Linker = linker @RearDriveIndexs = reardriveindexs end |
Instance Attribute Details
#Conditions ⇒ Object
- &&:逻辑与
- ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。
26817 26818 26819 |
# File 'lib/v20190612/models.rb', line 26817 def Conditions @Conditions end |
#Id ⇒ Object
- &&:逻辑与
- ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。
26817 26818 26819 |
# File 'lib/v20190612/models.rb', line 26817 def Id @Id end |
#Linker ⇒ Object
- &&:逻辑与
- ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。
26817 26818 26819 |
# File 'lib/v20190612/models.rb', line 26817 def Linker @Linker end |
#RearDriveIndexs ⇒ Object
- &&:逻辑与
- ||:逻辑或 注意:此字段可能返回 null,表示取不到有效值。
26817 26818 26819 |
# File 'lib/v20190612/models.rb', line 26817 def RearDriveIndexs @RearDriveIndexs end |
Instance Method Details
#deserialize(params) ⇒ Object
26826 26827 26828 26829 26830 26831 26832 26833 26834 26835 26836 26837 26838 |
# File 'lib/v20190612/models.rb', line 26826 def deserialize(params) @Id = params['Id'] unless params['Conditions'].nil? @Conditions = [] params['Conditions'].each do |i| ruleconditionitem_tmp = RuleConditionItem.new ruleconditionitem_tmp.deserialize(i) @Conditions << ruleconditionitem_tmp end end @Linker = params['Linker'] @RearDriveIndexs = params['RearDriveIndexs'] end |