Class: TencentCloud::Tdmq::V20200217::TopicRecord

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

Overview

主题关键信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, topicname = nil) ⇒ TopicRecord

Returns a new instance of TopicRecord.



13284
13285
13286
13287
# File 'lib/v20200217/models.rb', line 13284

def initialize(environmentid=nil, topicname=nil)
  @EnvironmentId = environmentid
  @TopicName = topicname
end

Instance Attribute Details

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • TopicName:

    主题名称。



13282
13283
13284
# File 'lib/v20200217/models.rb', line 13282

def EnvironmentId
  @EnvironmentId
end

#TopicNameObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • TopicName:

    主题名称。



13282
13283
13284
# File 'lib/v20200217/models.rb', line 13282

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



13289
13290
13291
13292
# File 'lib/v20200217/models.rb', line 13289

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