Class: TencentCloud::Eb::V20210416::CkafkaDeliveryParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::CkafkaDeliveryParams
- Defined in:
- lib/v20210416/models.rb
Overview
用来描述需要投递到kafka topic的参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, resourcedescription = nil) ⇒ CkafkaDeliveryParams
constructor
A new instance of CkafkaDeliveryParams.
Constructor Details
#initialize(topicname = nil, resourcedescription = nil) ⇒ CkafkaDeliveryParams
Returns a new instance of CkafkaDeliveryParams.
132 133 134 135 |
# File 'lib/v20210416/models.rb', line 132 def initialize(topicname=nil, resourcedescription=nil) @TopicName = topicname @ResourceDescription = resourcedescription end |
Instance Attribute Details
#ResourceDescription ⇒ Object
130 131 132 |
# File 'lib/v20210416/models.rb', line 130 def ResourceDescription @ResourceDescription end |
#TopicName ⇒ Object
130 131 132 |
# File 'lib/v20210416/models.rb', line 130 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
137 138 139 140 |
# File 'lib/v20210416/models.rb', line 137 def deserialize(params) @TopicName = params['TopicName'] @ResourceDescription = params['ResourceDescription'] end |