Class: TencentCloud::Tdmq::V20200217::SendBatchMessagesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SendBatchMessagesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
SendBatchMessages请求参数结构体
Instance Attribute Summary collapse
- #BatchingMaxBytes ⇒ Object
- #BatchingMaxMessages ⇒ Object
- #BatchingMaxPublishDelay ⇒ Object
- #MaxPendingMessages ⇒ Object
- #Payload ⇒ Object
- #ProducerName ⇒ Object
- #SendTimeout ⇒ Object
- #StringToken ⇒ Object
- #Topic ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topic = nil, payload = nil, stringtoken = nil, producername = nil, sendtimeout = nil, maxpendingmessages = nil, batchingmaxmessages = nil, batchingmaxpublishdelay = nil, batchingmaxbytes = nil) ⇒ SendBatchMessagesRequest
constructor
A new instance of SendBatchMessagesRequest.
Constructor Details
#initialize(topic = nil, payload = nil, stringtoken = nil, producername = nil, sendtimeout = nil, maxpendingmessages = nil, batchingmaxmessages = nil, batchingmaxpublishdelay = nil, batchingmaxbytes = nil) ⇒ SendBatchMessagesRequest
Returns a new instance of SendBatchMessagesRequest.
12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 |
# File 'lib/v20200217/models.rb', line 12595 def initialize(topic=nil, payload=nil, stringtoken=nil, producername=nil, sendtimeout=nil, =nil, =nil, batchingmaxpublishdelay=nil, batchingmaxbytes=nil) @Topic = topic @Payload = payload @StringToken = stringtoken @ProducerName = producername @SendTimeout = sendtimeout @MaxPendingMessages = @BatchingMaxMessages = @BatchingMaxPublishDelay = batchingmaxpublishdelay @BatchingMaxBytes = batchingmaxbytes end |
Instance Attribute Details
#BatchingMaxBytes ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def BatchingMaxBytes @BatchingMaxBytes end |
#BatchingMaxMessages ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def BatchingMaxMessages @BatchingMaxMessages end |
#BatchingMaxPublishDelay ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def BatchingMaxPublishDelay @BatchingMaxPublishDelay end |
#MaxPendingMessages ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def MaxPendingMessages @MaxPendingMessages end |
#Payload ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def Payload @Payload end |
#ProducerName ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def ProducerName @ProducerName end |
#SendTimeout ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def SendTimeout @SendTimeout end |
#StringToken ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def StringToken @StringToken end |
#Topic ⇒ Object
12593 12594 12595 |
# File 'lib/v20200217/models.rb', line 12593 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 |
# File 'lib/v20200217/models.rb', line 12607 def deserialize(params) @Topic = params['Topic'] @Payload = params['Payload'] @StringToken = params['StringToken'] @ProducerName = params['ProducerName'] @SendTimeout = params['SendTimeout'] @MaxPendingMessages = params['MaxPendingMessages'] @BatchingMaxMessages = params['BatchingMaxMessages'] @BatchingMaxPublishDelay = params['BatchingMaxPublishDelay'] @BatchingMaxBytes = params['BatchingMaxBytes'] end |