Class: TencentCloud::Tdmq::V20200217::ImportRocketMQConsumerGroupsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ImportRocketMQConsumerGroupsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ImportRocketMQConsumerGroups请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groups = nil, taskid = nil) ⇒ ImportRocketMQConsumerGroupsRequest
constructor
A new instance of ImportRocketMQConsumerGroupsRequest.
Constructor Details
#initialize(groups = nil, taskid = nil) ⇒ ImportRocketMQConsumerGroupsRequest
Returns a new instance of ImportRocketMQConsumerGroupsRequest.
8219 8220 8221 8222 |
# File 'lib/v20200217/models.rb', line 8219 def initialize(groups=nil, taskid=nil) @Groups = groups @TaskId = taskid end |
Instance Attribute Details
#Groups ⇒ Object
8217 8218 8219 |
# File 'lib/v20200217/models.rb', line 8217 def Groups @Groups end |
#TaskId ⇒ Object
8217 8218 8219 |
# File 'lib/v20200217/models.rb', line 8217 def TaskId @TaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 |
# File 'lib/v20200217/models.rb', line 8224 def deserialize(params) unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| rocketmqgroupconfig_tmp = RocketMQGroupConfig.new rocketmqgroupconfig_tmp.deserialize(i) @Groups << rocketmqgroupconfig_tmp end end @TaskId = params['TaskId'] end |