Class: TencentCloud::Ckafka::V20190819::ConsumerGroupTopic

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(topicid = nil, topicname = nil) ⇒ ConsumerGroupTopic

Returns a new instance of ConsumerGroupTopic.



1259
1260
1261
1262
# File 'lib/v20190819/models.rb', line 1259

def initialize(topicid=nil, topicname=nil)
  @TopicId = topicid
  @TopicName = topicname
end

Instance Attribute Details

#TopicIdObject

Parameters:

  • TopicId:

    主题ID

  • TopicName:

    主题名称



1257
1258
1259
# File 'lib/v20190819/models.rb', line 1257

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicId:

    主题ID

  • TopicName:

    主题名称



1257
1258
1259
# File 'lib/v20190819/models.rb', line 1257

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



1264
1265
1266
1267
# File 'lib/v20190819/models.rb', line 1264

def deserialize(params)
  @TopicId = params['TopicId']
  @TopicName = params['TopicName']
end