Class: TencentCloud::Weilingwith::V20230427::EventDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::EventDetail
- Defined in:
- lib/v20230427/models.rb
Overview
事件详细信息
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #DeviceType ⇒ Object
- #Id ⇒ Object
- #LinkRuleSet ⇒ Object
- #Name ⇒ Object
- #TriggerCondition ⇒ Object
- #TriggerType ⇒ Object
- #ValidPeriod ⇒ Object
- #WID ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, triggertype = nil, triggercondition = nil, validperiod = nil, linkruleset = nil, createtime = nil, devicetype = nil, wid = nil) ⇒ EventDetail
constructor
A new instance of EventDetail.
Constructor Details
#initialize(id = nil, name = nil, triggertype = nil, triggercondition = nil, validperiod = nil, linkruleset = nil, createtime = nil, devicetype = nil, wid = nil) ⇒ EventDetail
Returns a new instance of EventDetail.
5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 |
# File 'lib/v20230427/models.rb', line 5611 def initialize(id=nil, name=nil, triggertype=nil, triggercondition=nil, validperiod=nil, linkruleset=nil, createtime=nil, devicetype=nil, wid=nil) @Id = id @Name = name @TriggerType = triggertype @TriggerCondition = triggercondition @ValidPeriod = validperiod @LinkRuleSet = linkruleset @CreateTime = createtime @DeviceType = devicetype @WID = wid end |
Instance Attribute Details
#CreateTime ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def CreateTime @CreateTime end |
#DeviceType ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def DeviceType @DeviceType end |
#Id ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def Id @Id end |
#LinkRuleSet ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def LinkRuleSet @LinkRuleSet end |
#Name ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def Name @Name end |
#TriggerCondition ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def TriggerCondition @TriggerCondition end |
#TriggerType ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def TriggerType @TriggerType end |
#ValidPeriod ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def ValidPeriod @ValidPeriod end |
#WID ⇒ Object
5609 5610 5611 |
# File 'lib/v20230427/models.rb', line 5609 def WID @WID end |
Instance Method Details
#deserialize(params) ⇒ Object
5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 |
# File 'lib/v20230427/models.rb', line 5623 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @TriggerType = params['TriggerType'] @TriggerCondition = params['TriggerCondition'] @ValidPeriod = params['ValidPeriod'] unless params['LinkRuleSet'].nil? @LinkRuleSet = [] params['LinkRuleSet'].each do |i| linkrule_tmp = LinkRule.new linkrule_tmp.deserialize(i) @LinkRuleSet << linkrule_tmp end end @CreateTime = params['CreateTime'] @DeviceType = params['DeviceType'] @WID = params['WID'] end |