Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse

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

Overview

DescribeRocketMQSourceClusterTopicList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topics = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterTopicListResponse

Returns a new instance of DescribeRocketMQSourceClusterTopicListResponse.



7120
7121
7122
7123
7124
# File 'lib/v20200217/models.rb', line 7120

def initialize(topics=nil, totalcount=nil, requestid=nil)
  @Topics = topics
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Topics:

    topic层列表

  • TotalCount:

    总条数

  • RequestId:

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



7118
7119
7120
# File 'lib/v20200217/models.rb', line 7118

def RequestId
  @RequestId
end

#TopicsObject

Parameters:

  • Topics:

    topic层列表

  • TotalCount:

    总条数

  • RequestId:

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



7118
7119
7120
# File 'lib/v20200217/models.rb', line 7118

def Topics
  @Topics
end

#TotalCountObject

Parameters:

  • Topics:

    topic层列表

  • TotalCount:

    总条数

  • RequestId:

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



7118
7119
7120
# File 'lib/v20200217/models.rb', line 7118

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
# File 'lib/v20200217/models.rb', line 7126

def deserialize(params)
  unless params['Topics'].nil?
    @Topics = []
    params['Topics'].each do |i|
      rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new
      rocketmqtopicconfigoutput_tmp.deserialize(i)
      @Topics << rocketmqtopicconfigoutput_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end