Class: TencentCloud::Eb::V20210416::CkafkaParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::CkafkaParams
- Defined in:
- lib/v20210416/models.rb
Overview
Ckafka 连接器参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, topicname = nil) ⇒ CkafkaParams
constructor
A new instance of CkafkaParams.
Constructor Details
#initialize(offset = nil, topicname = nil) ⇒ CkafkaParams
152 153 154 155 |
# File 'lib/v20210416/models.rb', line 152 def initialize(offset=nil, topicname=nil) @Offset = offset @TopicName = topicname end |
Instance Attribute Details
#Offset ⇒ Object
150 151 152 |
# File 'lib/v20210416/models.rb', line 150 def Offset @Offset end |
#TopicName ⇒ Object
150 151 152 |
# File 'lib/v20210416/models.rb', line 150 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
157 158 159 160 |
# File 'lib/v20210416/models.rb', line 157 def deserialize(params) @Offset = params['Offset'] @TopicName = params['TopicName'] end |