Class: TencentCloud::Tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeCmqDeadLetterSourceQueues返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, queueset = nil, requestid = nil) ⇒ DescribeCmqDeadLetterSourceQueuesResponse
constructor
A new instance of DescribeCmqDeadLetterSourceQueuesResponse.
Constructor Details
#initialize(totalcount = nil, queueset = nil, requestid = nil) ⇒ DescribeCmqDeadLetterSourceQueuesResponse
Returns a new instance of DescribeCmqDeadLetterSourceQueuesResponse.
3778 3779 3780 3781 3782 |
# File 'lib/v20200217/models.rb', line 3778 def initialize(totalcount=nil, queueset=nil, requestid=nil) @TotalCount = totalcount @QueueSet = queueset @RequestId = requestid end |
Instance Attribute Details
#QueueSet ⇒ Object
3776 3777 3778 |
# File 'lib/v20200217/models.rb', line 3776 def QueueSet @QueueSet end |
#RequestId ⇒ Object
3776 3777 3778 |
# File 'lib/v20200217/models.rb', line 3776 def RequestId @RequestId end |
#TotalCount ⇒ Object
3776 3777 3778 |
# File 'lib/v20200217/models.rb', line 3776 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 |
# File 'lib/v20200217/models.rb', line 3784 def deserialize(params) @TotalCount = params['TotalCount'] unless params['QueueSet'].nil? @QueueSet = [] params['QueueSet'].each do |i| cmqdeadlettersource_tmp = CmqDeadLetterSource.new cmqdeadlettersource_tmp.deserialize(i) @QueueSet << cmqdeadlettersource_tmp end end @RequestId = params['RequestId'] end |