Class: TencentCloud::Ckafka::V20190819::ConsumerGroupResponse

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

Overview

消费组返回结果实体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, topiclist = nil, grouplist = nil, totalpartition = nil, partitionlistformonitor = nil, totaltopic = nil, topiclistformonitor = nil, grouplistformonitor = nil) ⇒ ConsumerGroupResponse

Returns a new instance of ConsumerGroupResponse.



1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'lib/v20190819/models.rb', line 1172

def initialize(totalcount=nil, topiclist=nil, grouplist=nil, totalpartition=nil, partitionlistformonitor=nil, totaltopic=nil, topiclistformonitor=nil, grouplistformonitor=nil)
  @TotalCount = totalcount
  @TopicList = topiclist
  @GroupList = grouplist
  @TotalPartition = totalpartition
  @PartitionListForMonitor = partitionlistformonitor
  @TotalTopic = totaltopic
  @TopicListForMonitor = topiclistformonitor
  @GroupListForMonitor = grouplistformonitor
end

Instance Attribute Details

#GroupListObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def GroupList
  @GroupList
end

#GroupListForMonitorObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def GroupListForMonitor
  @GroupListForMonitor
end

#PartitionListForMonitorObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def PartitionListForMonitor
  @PartitionListForMonitor
end

#TopicListObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def TopicList
  @TopicList
end

#TopicListForMonitorObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def TopicListForMonitor
  @TopicListForMonitor
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def TotalCount
  @TotalCount
end

#TotalPartitionObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def TotalPartition
  @TotalPartition
end

#TotalTopicObject

Parameters:

  • TotalCount:

    符合条件的消费组数量

  • TopicList:

    主题列表

  • GroupList:

    消费分组List

  • TotalPartition:

    所有分区数量

  • PartitionListForMonitor:

    监控的分区列表

  • TotalTopic:

    主题总数

  • TopicListForMonitor:

    监控的主题列表

  • GroupListForMonitor:

    监控的组列表



1170
1171
1172
# File 'lib/v20190819/models.rb', line 1170

def TotalTopic
  @TotalTopic
end

Instance Method Details

#deserialize(params) ⇒ Object



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
# File 'lib/v20190819/models.rb', line 1183

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['TopicList'].nil?
    @TopicList = []
    params['TopicList'].each do |i|
      consumergrouptopic_tmp = ConsumerGroupTopic.new
      consumergrouptopic_tmp.deserialize(i)
      @TopicList << consumergrouptopic_tmp
    end
  end
  unless params['GroupList'].nil?
    @GroupList = []
    params['GroupList'].each do |i|
      consumergroup_tmp = ConsumerGroup.new
      consumergroup_tmp.deserialize(i)
      @GroupList << consumergroup_tmp
    end
  end
  @TotalPartition = params['TotalPartition']
  unless params['PartitionListForMonitor'].nil?
    @PartitionListForMonitor = []
    params['PartitionListForMonitor'].each do |i|
      partition_tmp = Partition.new
      partition_tmp.deserialize(i)
      @PartitionListForMonitor << partition_tmp
    end
  end
  @TotalTopic = params['TotalTopic']
  unless params['TopicListForMonitor'].nil?
    @TopicListForMonitor = []
    params['TopicListForMonitor'].each do |i|
      consumergrouptopic_tmp = ConsumerGroupTopic.new
      consumergrouptopic_tmp.deserialize(i)
      @TopicListForMonitor << consumergrouptopic_tmp
    end
  end
  unless params['GroupListForMonitor'].nil?
    @GroupListForMonitor = []
    params['GroupListForMonitor'].each do |i|
      group_tmp = Group.new
      group_tmp.deserialize(i)
      @GroupListForMonitor << group_tmp
    end
  end
end