Class: TencentCloud::Tdmq::V20200217::ImportRocketMQTopicsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ImportRocketMQTopicsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ImportRocketMQTopics请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topics = nil, taskid = nil) ⇒ ImportRocketMQTopicsRequest
constructor
A new instance of ImportRocketMQTopicsRequest.
Constructor Details
#initialize(topics = nil, taskid = nil) ⇒ ImportRocketMQTopicsRequest
Returns a new instance of ImportRocketMQTopicsRequest.
8262 8263 8264 8265 |
# File 'lib/v20200217/models.rb', line 8262 def initialize(topics=nil, taskid=nil) @Topics = topics @TaskId = taskid end |
Instance Attribute Details
#TaskId ⇒ Object
8260 8261 8262 |
# File 'lib/v20200217/models.rb', line 8260 def TaskId @TaskId end |
#Topics ⇒ Object
8260 8261 8262 |
# File 'lib/v20200217/models.rb', line 8260 def Topics @Topics end |
Instance Method Details
#deserialize(params) ⇒ Object
8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 |
# File 'lib/v20200217/models.rb', line 8267 def deserialize(params) unless params['Topics'].nil? @Topics = [] params['Topics'].each do |i| rocketmqtopicconfig_tmp = RocketMQTopicConfig.new rocketmqtopicconfig_tmp.deserialize(i) @Topics << rocketmqtopicconfig_tmp end end @TaskId = params['TaskId'] end |