Class: TencentCloud::Ckafka::V20190819::TableMapping

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

Overview

Table、Topic路由

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database = nil, table = nil, topic = nil, topicid = nil) ⇒ TableMapping

Returns a new instance of TableMapping.



11509
11510
11511
11512
11513
11514
# File 'lib/v20190819/models.rb', line 11509

def initialize(database=nil, table=nil, topic=nil, topicid=nil)
  @Database = database
  @Table = table
  @Topic = topic
  @TopicId = topicid
end

Instance Attribute Details

#DatabaseObject

Parameters:

  • Database:

    库名

  • Table:

    表名,多个表,(逗号)隔开

  • Topic:

    Topic名称

  • TopicId:

    Topic ID



11507
11508
11509
# File 'lib/v20190819/models.rb', line 11507

def Database
  @Database
end

#TableObject

Parameters:

  • Database:

    库名

  • Table:

    表名,多个表,(逗号)隔开

  • Topic:

    Topic名称

  • TopicId:

    Topic ID



11507
11508
11509
# File 'lib/v20190819/models.rb', line 11507

def Table
  @Table
end

#TopicObject

Parameters:

  • Database:

    库名

  • Table:

    表名,多个表,(逗号)隔开

  • Topic:

    Topic名称

  • TopicId:

    Topic ID



11507
11508
11509
# File 'lib/v20190819/models.rb', line 11507

def Topic
  @Topic
end

#TopicIdObject

Parameters:

  • Database:

    库名

  • Table:

    表名,多个表,(逗号)隔开

  • Topic:

    Topic名称

  • TopicId:

    Topic ID



11507
11508
11509
# File 'lib/v20190819/models.rb', line 11507

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



11516
11517
11518
11519
11520
11521
# File 'lib/v20190819/models.rb', line 11516

def deserialize(params)
  @Database = params['Database']
  @Table = params['Table']
  @Topic = params['Topic']
  @TopicId = params['TopicId']
end