Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse

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

Overview

DescribeRocketMQConsumerConnectionDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, details = nil, requestid = nil) ⇒ DescribeRocketMQConsumerConnectionDetailResponse

Returns a new instance of DescribeRocketMQConsumerConnectionDetailResponse.



6005
6006
6007
6008
6009
# File 'lib/v20200217/models.rb', line 6005

def initialize(totalcount=nil, details=nil, requestid=nil)
  @TotalCount = totalcount
  @Details = details
  @RequestId = requestid
end

Instance Attribute Details

#DetailsObject

Parameters:

  • TotalCount:

    总条数

  • Details:

    消费端主题信息列表

  • RequestId:

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



6003
6004
6005
# File 'lib/v20200217/models.rb', line 6003

def Details
  @Details
end

#RequestIdObject

Parameters:

  • TotalCount:

    总条数

  • Details:

    消费端主题信息列表

  • RequestId:

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



6003
6004
6005
# File 'lib/v20200217/models.rb', line 6003

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总条数

  • Details:

    消费端主题信息列表

  • RequestId:

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



6003
6004
6005
# File 'lib/v20200217/models.rb', line 6003

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
# File 'lib/v20200217/models.rb', line 6011

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Details'].nil?
    @Details = []
    params['Details'].each do |i|
      rocketmqconsumertopic_tmp = RocketMQConsumerTopic.new
      rocketmqconsumertopic_tmp.deserialize(i)
      @Details << rocketmqconsumertopic_tmp
    end
  end
  @RequestId = params['RequestId']
end