Class: TencentCloud::Weilingwith::V20230427::ActionDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ActionDetail
- Defined in:
- lib/v20230427/models.rb
Overview
详细动作信息
Instance Attribute Summary collapse
- #ActionDesc ⇒ Object
- #ActionType ⇒ Object
- #CreateTime ⇒ Object
- #Id ⇒ Object
- #LinkRuleSet ⇒ Object
- #MsgContent ⇒ Object
- #MsgType ⇒ Object
- #Name ⇒ Object
- #SinkConfig ⇒ Object
- #WID ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, actiontype = nil, actiondesc = nil, msgtype = nil, msgcontent = nil, createtime = nil, wid = nil, linkruleset = nil, sinkconfig = nil) ⇒ ActionDetail
constructor
A new instance of ActionDetail.
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
#ActionDesc ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def ActionDesc @ActionDesc end |
#ActionType ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def ActionType @ActionType end |
#CreateTime ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def CreateTime @CreateTime end |
#Id ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def Id @Id end |
#LinkRuleSet ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def LinkRuleSet @LinkRuleSet end |
#MsgContent ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def MsgContent @MsgContent end |
#MsgType ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def MsgType @MsgType end |
#Name ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def Name @Name end |
#SinkConfig ⇒ Object
63 64 65 |
# File 'lib/v20230427/models.rb', line 63 def SinkConfig @SinkConfig end |
#WID ⇒ Object
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 |