Class: TencentCloud::Tdmq::V20200217::PublishCmqMsgRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::PublishCmqMsgRequest
- Defined in:
- lib/v20200217/models.rb
Overview
PublishCmqMsg请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, msgcontent = nil, msgtag = nil) ⇒ PublishCmqMsgRequest
constructor
A new instance of PublishCmqMsgRequest.
Constructor Details
#initialize(topicname = nil, msgcontent = nil, msgtag = nil) ⇒ PublishCmqMsgRequest
Returns a new instance of PublishCmqMsgRequest.
9802 9803 9804 9805 9806 |
# File 'lib/v20200217/models.rb', line 9802 def initialize(topicname=nil, msgcontent=nil, msgtag=nil) @TopicName = topicname @MsgContent = msgcontent @MsgTag = msgtag end |
Instance Attribute Details
#MsgContent ⇒ Object
9800 9801 9802 |
# File 'lib/v20200217/models.rb', line 9800 def MsgContent @MsgContent end |
#MsgTag ⇒ Object
9800 9801 9802 |
# File 'lib/v20200217/models.rb', line 9800 def MsgTag @MsgTag end |
#TopicName ⇒ Object
9800 9801 9802 |
# File 'lib/v20200217/models.rb', line 9800 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
9808 9809 9810 9811 9812 |
# File 'lib/v20200217/models.rb', line 9808 def deserialize(params) @TopicName = params['TopicName'] @MsgContent = params['MsgContent'] @MsgTag = params['MsgTag'] end |