Class: TencentCloud::Tdmq::V20200217::SendRocketMQMessageRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SendRocketMQMessageRequest
- Defined in:
- lib/v20200217/models.rb
Overview
SendRocketMQMessage请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #MsgBody ⇒ Object
- #MsgKey ⇒ Object
- #MsgTag ⇒ Object
- #NamespaceId ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, namespaceid = nil, topicname = nil, msgbody = nil, msgkey = nil, msgtag = nil) ⇒ SendRocketMQMessageRequest
constructor
A new instance of SendRocketMQMessageRequest.
Constructor Details
#initialize(clusterid = nil, namespaceid = nil, topicname = nil, msgbody = nil, msgkey = nil, msgtag = nil) ⇒ SendRocketMQMessageRequest
Returns a new instance of SendRocketMQMessageRequest.
12818 12819 12820 12821 12822 12823 12824 12825 |
# File 'lib/v20200217/models.rb', line 12818 def initialize(clusterid=nil, namespaceid=nil, topicname=nil, msgbody=nil, msgkey=nil, msgtag=nil) @ClusterId = clusterid @NamespaceId = namespaceid @TopicName = topicname @MsgBody = msgbody @MsgKey = msgkey @MsgTag = msgtag end |
Instance Attribute Details
#ClusterId ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def ClusterId @ClusterId end |
#MsgBody ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def MsgBody @MsgBody end |
#MsgKey ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def MsgKey @MsgKey end |
#MsgTag ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def MsgTag @MsgTag end |
#NamespaceId ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def NamespaceId @NamespaceId end |
#TopicName ⇒ Object
12816 12817 12818 |
# File 'lib/v20200217/models.rb', line 12816 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
12827 12828 12829 12830 12831 12832 12833 12834 |
# File 'lib/v20200217/models.rb', line 12827 def deserialize(params) @ClusterId = params['ClusterId'] @NamespaceId = params['NamespaceId'] @TopicName = params['TopicName'] @MsgBody = params['MsgBody'] @MsgKey = params['MsgKey'] @MsgTag = params['MsgTag'] end |