Class: TencentCloud::Cls::V20201016::ModifyKafkaConsumerRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ModifyKafkaConsumerRequest
- Defined in:
- lib/v20201016/models.rb
Overview
ModifyKafkaConsumer请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fromtopicid = nil, compression = nil, consumercontent = nil) ⇒ ModifyKafkaConsumerRequest
constructor
A new instance of ModifyKafkaConsumerRequest.
Constructor Details
#initialize(fromtopicid = nil, compression = nil, consumercontent = nil) ⇒ ModifyKafkaConsumerRequest
Returns a new instance of ModifyKafkaConsumerRequest.
14536 14537 14538 14539 14540 |
# File 'lib/v20201016/models.rb', line 14536 def initialize(fromtopicid=nil, compression=nil, consumercontent=nil) @FromTopicId = fromtopicid @Compression = compression @ConsumerContent = consumercontent end |
Instance Attribute Details
#Compression ⇒ Object
14534 14535 14536 |
# File 'lib/v20201016/models.rb', line 14534 def Compression @Compression end |
#ConsumerContent ⇒ Object
14534 14535 14536 |
# File 'lib/v20201016/models.rb', line 14534 def ConsumerContent @ConsumerContent end |
Instance Method Details
#deserialize(params) ⇒ Object
14542 14543 14544 14545 14546 14547 14548 14549 |
# File 'lib/v20201016/models.rb', line 14542 def deserialize(params) @FromTopicId = params['FromTopicId'] @Compression = params['Compression'] unless params['ConsumerContent'].nil? @ConsumerContent = KafkaConsumerContent.new @ConsumerContent.deserialize(params['ConsumerContent']) end end |