Class: TencentCloud::Weilingwith::V20230427::ActionDetail

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, actiontype = nil, actiondesc = nil, msgtype = nil, msgcontent = nil, createtime = nil, wid = nil, linkruleset = nil, sinkconfig = nil) ⇒ ActionDetail

Returns a new instance of ActionDetail.



65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/v20230427/models.rb', line 65

def initialize(id=nil, name=nil, actiontype=nil, actiondesc=nil, msgtype=nil, msgcontent=nil, createtime=nil, wid=nil, linkruleset=nil, sinkconfig=nil)
  @Id = id
  @Name = name
  @ActionType = actiontype
  @ActionDesc = actiondesc
  @MsgType = msgtype
  @MsgContent = msgcontent
  @CreateTime = createtime
  @WID = wid
  @LinkRuleSet = linkruleset
  @SinkConfig = sinkconfig
end

Instance Attribute Details

#ActionDescObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def ActionDesc
  @ActionDesc
end

#ActionTypeObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def ActionType
  @ActionType
end

#CreateTimeObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def CreateTime
  @CreateTime
end

#IdObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def Id
  @Id
end

#LinkRuleSetObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def LinkRuleSet
  @LinkRuleSet
end

#MsgContentObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def MsgContent
  @MsgContent
end

#MsgTypeObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def MsgType
  @MsgType
end

#NameObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def Name
  @Name
end

#SinkConfigObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def SinkConfig
  @SinkConfig
end

#WIDObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名称

  • ActionType:

    动作类型

  • ActionDesc:

    动作说明

  • MsgType:

    消息类型,orgin/custom/model

  • MsgContent:

    消息内容,有效值为x-json:后的字段

  • CreateTime:

    创建时间

  • WID:

    设备唯一标识

  • LinkRuleSet:

    关联故障列表

  • SinkConfig:

    动作下沉配置,有效值为x-json:后的字段



63
64
65
# File 'lib/v20230427/models.rb', line 63

def WID
  @WID
end

Instance Method Details

#deserialize(params) ⇒ Object



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/v20230427/models.rb', line 78

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @ActionType = params['ActionType']
  @ActionDesc = params['ActionDesc']
  @MsgType = params['MsgType']
  @MsgContent = params['MsgContent']
  @CreateTime = params['CreateTime']
  @WID = params['WID']
  unless params['LinkRuleSet'].nil?
    @LinkRuleSet = []
    params['LinkRuleSet'].each do |i|
      linkrule_tmp = LinkRule.new
      linkrule_tmp.deserialize(i)
      @LinkRuleSet << linkrule_tmp
    end
  end
  @SinkConfig = params['SinkConfig']
end