Class: TencentCloud::Tdmq::V20200217::SendCmqMsgRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SendCmqMsgRequest
- Defined in:
- lib/v20200217/models.rb
Overview
SendCmqMsg请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(queuename = nil, msgcontent = nil, delayseconds = nil) ⇒ SendCmqMsgRequest
constructor
A new instance of SendCmqMsgRequest.
Constructor Details
#initialize(queuename = nil, msgcontent = nil, delayseconds = nil) ⇒ SendCmqMsgRequest
Returns a new instance of SendCmqMsgRequest.
12657 12658 12659 12660 12661 |
# File 'lib/v20200217/models.rb', line 12657 def initialize(queuename=nil, msgcontent=nil, delayseconds=nil) @QueueName = queuename @MsgContent = msgcontent @DelaySeconds = delayseconds end |
Instance Attribute Details
#DelaySeconds ⇒ Object
12655 12656 12657 |
# File 'lib/v20200217/models.rb', line 12655 def DelaySeconds @DelaySeconds end |
#MsgContent ⇒ Object
12655 12656 12657 |
# File 'lib/v20200217/models.rb', line 12655 def MsgContent @MsgContent end |
#QueueName ⇒ Object
12655 12656 12657 |
# File 'lib/v20200217/models.rb', line 12655 def QueueName @QueueName end |
Instance Method Details
#deserialize(params) ⇒ Object
12663 12664 12665 12666 12667 |
# File 'lib/v20200217/models.rb', line 12663 def deserialize(params) @QueueName = params['QueueName'] @MsgContent = params['MsgContent'] @DelaySeconds = params['DelaySeconds'] end |