Class: TencentCloud::Tdmq::V20200217::DeleteTopicsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DeleteTopicsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DeleteTopics请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicsets = nil, clusterid = nil, environmentid = nil, force = nil) ⇒ DeleteTopicsRequest
constructor
A new instance of DeleteTopicsRequest.
Constructor Details
#initialize(topicsets = nil, clusterid = nil, environmentid = nil, force = nil) ⇒ DeleteTopicsRequest
Returns a new instance of DeleteTopicsRequest.
3330 3331 3332 3333 3334 3335 |
# File 'lib/v20200217/models.rb', line 3330 def initialize(topicsets=nil, clusterid=nil, environmentid=nil, force=nil) @TopicSets = topicsets @ClusterId = clusterid @EnvironmentId = environmentid @Force = force end |
Instance Attribute Details
#ClusterId ⇒ Object
3328 3329 3330 |
# File 'lib/v20200217/models.rb', line 3328 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
3328 3329 3330 |
# File 'lib/v20200217/models.rb', line 3328 def EnvironmentId @EnvironmentId end |
#Force ⇒ Object
3328 3329 3330 |
# File 'lib/v20200217/models.rb', line 3328 def Force @Force end |
#TopicSets ⇒ Object
3328 3329 3330 |
# File 'lib/v20200217/models.rb', line 3328 def TopicSets @TopicSets end |
Instance Method Details
#deserialize(params) ⇒ Object
3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 |
# File 'lib/v20200217/models.rb', line 3337 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 @ClusterId = params['ClusterId'] @EnvironmentId = params['EnvironmentId'] @Force = params['Force'] end |