Class: TencentCloud::Tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeCmqDeadLetterSourceQueues返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#QueueSetObject

Parameters:

  • TotalCount:

    满足本次条件的队列个数

  • QueueSet:

    死信队列源队列

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3776
3777
3778
# File 'lib/v20200217/models.rb', line 3776

def QueueSet
  @QueueSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    满足本次条件的队列个数

  • QueueSet:

    死信队列源队列

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3776
3777
3778
# File 'lib/v20200217/models.rb', line 3776

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    满足本次条件的队列个数

  • QueueSet:

    死信队列源队列

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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