Class: TencentCloud::Weilingwith::V20230427::EventDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

事件详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CreateTimeObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def CreateTime
  @CreateTime
end

#DeviceTypeObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def DeviceType
  @DeviceType
end

#IdObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def Id
  @Id
end

#LinkRuleSetObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def LinkRuleSet
  @LinkRuleSet
end

#NameObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def Name
  @Name
end

#TriggerConditionObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def TriggerCondition
  @TriggerCondition
end

#TriggerTypeObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def TriggerType
  @TriggerType
end

#ValidPeriodObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



5609
5610
5611
# File 'lib/v20230427/models.rb', line 5609

def ValidPeriod
  @ValidPeriod
end

#WIDObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名

  • TriggerType:

    事件触发类型

  • TriggerCondition:

    事件触发条件,返回为x-json后的字段

  • ValidPeriod:

    有效期

  • LinkRuleSet:

    关联规则列表

  • CreateTime:

    创建时间

  • DeviceType:

    设备类型,当触发类型为deviceType时返回

  • WID:

    设备的wid,当触发类型是device返回



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