Class: TencentCloud::Ckafka::V20190819::TableMapping
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TableMapping
- Defined in:
- lib/v20190819/models.rb
Overview
Table、Topic路由
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(database = nil, table = nil, topic = nil, topicid = nil) ⇒ TableMapping
constructor
A new instance of TableMapping.
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
#Database ⇒ Object
11507 11508 11509 |
# File 'lib/v20190819/models.rb', line 11507 def Database @Database end |
#Table ⇒ Object
11507 11508 11509 |
# File 'lib/v20190819/models.rb', line 11507 def Table @Table end |
#Topic ⇒ Object
11507 11508 11509 |
# File 'lib/v20190819/models.rb', line 11507 def Topic @Topic end |
#TopicId ⇒ Object
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 |