Class: TencentCloud::Ckafka::V20190819::DatahubTopicDTO
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::DatahubTopicDTO
- Defined in:
- lib/v20190819/models.rb
Overview
Datahub主题
Instance Attribute Summary collapse
- #Name ⇒ Object
- #Note ⇒ Object
- #PartitionNum ⇒ Object
- #RetentionMs ⇒ Object
- #Status ⇒ Object
- #TopicId ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, topicname = nil, topicid = nil, partitionnum = nil, retentionms = nil, note = nil, status = nil) ⇒ DatahubTopicDTO
constructor
A new instance of DatahubTopicDTO.
Constructor Details
#initialize(name = nil, topicname = nil, topicid = nil, partitionnum = nil, retentionms = nil, note = nil, status = nil) ⇒ DatahubTopicDTO
Returns a new instance of DatahubTopicDTO.
3153 3154 3155 3156 3157 3158 3159 3160 3161 |
# File 'lib/v20190819/models.rb', line 3153 def initialize(name=nil, topicname=nil, topicid=nil, partitionnum=nil, retentionms=nil, note=nil, status=nil) @Name = name @TopicName = topicname @TopicId = topicid @PartitionNum = partitionnum @RetentionMs = retentionms @Note = note @Status = status end |
Instance Attribute Details
#Name ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def Name @Name end |
#Note ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def Note @Note end |
#PartitionNum ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def PartitionNum @PartitionNum end |
#RetentionMs ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def RetentionMs @RetentionMs end |
#Status ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def Status @Status end |
#TopicId ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def TopicId @TopicId end |
#TopicName ⇒ Object
3151 3152 3153 |
# File 'lib/v20190819/models.rb', line 3151 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
3163 3164 3165 3166 3167 3168 3169 3170 3171 |
# File 'lib/v20190819/models.rb', line 3163 def deserialize(params) @Name = params['Name'] @TopicName = params['TopicName'] @TopicId = params['TopicId'] @PartitionNum = params['PartitionNum'] @RetentionMs = params['RetentionMs'] @Note = params['Note'] @Status = params['Status'] end |