Class: TencentCloud::Tdmq::V20200217::DeleteTopicsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DeleteTopicsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DeleteTopics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicsets = nil, requestid = nil) ⇒ DeleteTopicsResponse
constructor
A new instance of DeleteTopicsResponse.
Constructor Details
#initialize(topicsets = nil, requestid = nil) ⇒ DeleteTopicsResponse
Returns a new instance of DeleteTopicsResponse.
3361 3362 3363 3364 |
# File 'lib/v20200217/models.rb', line 3361 def initialize(topicsets=nil, requestid=nil) @TopicSets = topicsets @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3359 3360 3361 |
# File 'lib/v20200217/models.rb', line 3359 def RequestId @RequestId end |
#TopicSets ⇒ Object
3359 3360 3361 |
# File 'lib/v20200217/models.rb', line 3359 def TopicSets @TopicSets end |
Instance Method Details
#deserialize(params) ⇒ Object
3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 |
# File 'lib/v20200217/models.rb', line 3366 def deserialize(params) unless params['TopicSets'].nil? @TopicSets = [] params['TopicSets'].each do |i| topicrecord_tmp = TopicRecord.new topicrecord_tmp.deserialize(i) @TopicSets << topicrecord_tmp end end @RequestId = params['RequestId'] end |