Class: TencentCloud::Ckafka::V20190819::Topic
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::Topic
- Defined in:
- lib/v20190819/models.rb
Overview
返回的topic对象
Instance Attribute Summary collapse
-
#Note ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicid = nil, topicname = nil, note = nil) ⇒ Topic
constructor
A new instance of Topic.
Constructor Details
#initialize(topicid = nil, topicname = nil, note = nil) ⇒ Topic
Returns a new instance of Topic.
11611 11612 11613 11614 11615 |
# File 'lib/v20190819/models.rb', line 11611 def initialize(topicid=nil, topicname=nil, note=nil) @TopicId = topicid @TopicName = topicname @Note = note end |
Instance Attribute Details
#Note ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11609 11610 11611 |
# File 'lib/v20190819/models.rb', line 11609 def Note @Note end |
#TopicId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11609 11610 11611 |
# File 'lib/v20190819/models.rb', line 11609 def TopicId @TopicId end |
#TopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11609 11610 11611 |
# File 'lib/v20190819/models.rb', line 11609 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
11617 11618 11619 11620 11621 |
# File 'lib/v20190819/models.rb', line 11617 def deserialize(params) @TopicId = params['TopicId'] @TopicName = params['TopicName'] @Note = params['Note'] end |