Class: TencentCloud::Tdmq::V20200217::ReceiveMessageRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ReceiveMessageRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ReceiveMessage请求参数结构体
Instance Attribute Summary collapse
- #MaxNumBytes ⇒ Object
- #MaxNumMessages ⇒ Object
- #ReceiverQueueSize ⇒ Object
- #SubInitialPosition ⇒ Object
- #SubscriptionName ⇒ Object
- #Timeout ⇒ Object
- #Topic ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topic = nil, subscriptionname = nil, receiverqueuesize = nil, subinitialposition = nil, maxnummessages = nil, maxnumbytes = nil, timeout = nil) ⇒ ReceiveMessageRequest
constructor
A new instance of ReceiveMessageRequest.
Constructor Details
#initialize(topic = nil, subscriptionname = nil, receiverqueuesize = nil, subinitialposition = nil, maxnummessages = nil, maxnumbytes = nil, timeout = nil) ⇒ ReceiveMessageRequest
Returns a new instance of ReceiveMessageRequest.
11105 11106 11107 11108 11109 11110 11111 11112 11113 |
# File 'lib/v20200217/models.rb', line 11105 def initialize(topic=nil, subscriptionname=nil, receiverqueuesize=nil, subinitialposition=nil, =nil, maxnumbytes=nil, timeout=nil) @Topic = topic @SubscriptionName = subscriptionname @ReceiverQueueSize = receiverqueuesize @SubInitialPosition = subinitialposition @MaxNumMessages = @MaxNumBytes = maxnumbytes @Timeout = timeout end |
Instance Attribute Details
#MaxNumBytes ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def MaxNumBytes @MaxNumBytes end |
#MaxNumMessages ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def MaxNumMessages @MaxNumMessages end |
#ReceiverQueueSize ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def ReceiverQueueSize @ReceiverQueueSize end |
#SubInitialPosition ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def SubInitialPosition @SubInitialPosition end |
#SubscriptionName ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def SubscriptionName @SubscriptionName end |
#Timeout ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def Timeout @Timeout end |
#Topic ⇒ Object
11103 11104 11105 |
# File 'lib/v20200217/models.rb', line 11103 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
11115 11116 11117 11118 11119 11120 11121 11122 11123 |
# File 'lib/v20200217/models.rb', line 11115 def deserialize(params) @Topic = params['Topic'] @SubscriptionName = params['SubscriptionName'] @ReceiverQueueSize = params['ReceiverQueueSize'] @SubInitialPosition = params['SubInitialPosition'] @MaxNumMessages = params['MaxNumMessages'] @MaxNumBytes = params['MaxNumBytes'] @Timeout = params['Timeout'] end |