Class: TencentCloud::Ckafka::V20190819::DatahubTopicResp

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

Overview

Datahub Topic 响应

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, topicid = nil) ⇒ DatahubTopicResp

Returns a new instance of DatahubTopicResp.



3183
3184
3185
3186
# File 'lib/v20190819/models.rb', line 3183

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

Instance Attribute Details

#TopicIdObject

Parameters:

  • TopicName:

    主题名称

  • TopicId:

    主题Id



3181
3182
3183
# File 'lib/v20190819/models.rb', line 3181

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicName:

    主题名称

  • TopicId:

    主题Id



3181
3182
3183
# File 'lib/v20190819/models.rb', line 3181

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



3188
3189
3190
3191
# File 'lib/v20190819/models.rb', line 3188

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