Class: TencentCloud::Tdmq::V20200217::SendMsgRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SendMsgRequest
- Defined in:
- lib/v20200217/models.rb
Overview
SendMsg请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, msgcontent = nil, clusterid = nil) ⇒ SendMsgRequest
constructor
A new instance of SendMsgRequest.
Constructor Details
#initialize(environmentid = nil, topicname = nil, msgcontent = nil, clusterid = nil) ⇒ SendMsgRequest
Returns a new instance of SendMsgRequest.
12770 12771 12772 12773 12774 12775 |
# File 'lib/v20200217/models.rb', line 12770 def initialize(environmentid=nil, topicname=nil, msgcontent=nil, clusterid=nil) @EnvironmentId = environmentid @TopicName = topicname @MsgContent = msgcontent @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
12768 12769 12770 |
# File 'lib/v20200217/models.rb', line 12768 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
12768 12769 12770 |
# File 'lib/v20200217/models.rb', line 12768 def EnvironmentId @EnvironmentId end |
#MsgContent ⇒ Object
12768 12769 12770 |
# File 'lib/v20200217/models.rb', line 12768 def MsgContent @MsgContent end |
#TopicName ⇒ Object
12768 12769 12770 |
# File 'lib/v20200217/models.rb', line 12768 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
12777 12778 12779 12780 12781 12782 |
# File 'lib/v20200217/models.rb', line 12777 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @MsgContent = params['MsgContent'] @ClusterId = params['ClusterId'] end |