Class: TencentCloud::Tdmq::V20200217::DeleteSubscriptionsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DeleteSubscriptionsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DeleteSubscriptions请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subscriptiontopicsets = nil, clusterid = nil, environmentid = nil, force = nil) ⇒ DeleteSubscriptionsRequest
constructor
A new instance of DeleteSubscriptionsRequest.
Constructor Details
#initialize(subscriptiontopicsets = nil, clusterid = nil, environmentid = nil, force = nil) ⇒ DeleteSubscriptionsRequest
Returns a new instance of DeleteSubscriptionsRequest.
3268 3269 3270 3271 3272 3273 |
# File 'lib/v20200217/models.rb', line 3268 def initialize(subscriptiontopicsets=nil, clusterid=nil, environmentid=nil, force=nil) @SubscriptionTopicSets = subscriptiontopicsets @ClusterId = clusterid @EnvironmentId = environmentid @Force = force end |
Instance Attribute Details
#ClusterId ⇒ Object
3266 3267 3268 |
# File 'lib/v20200217/models.rb', line 3266 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
3266 3267 3268 |
# File 'lib/v20200217/models.rb', line 3266 def EnvironmentId @EnvironmentId end |
#Force ⇒ Object
3266 3267 3268 |
# File 'lib/v20200217/models.rb', line 3266 def Force @Force end |
#SubscriptionTopicSets ⇒ Object
3266 3267 3268 |
# File 'lib/v20200217/models.rb', line 3266 def SubscriptionTopicSets @SubscriptionTopicSets end |
Instance Method Details
#deserialize(params) ⇒ Object
3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 |
# File 'lib/v20200217/models.rb', line 3275 def deserialize(params) unless params['SubscriptionTopicSets'].nil? @SubscriptionTopicSets = [] params['SubscriptionTopicSets'].each do |i| subscriptiontopic_tmp = SubscriptionTopic.new subscriptiontopic_tmp.deserialize(i) @SubscriptionTopicSets << subscriptiontopic_tmp end end @ClusterId = params['ClusterId'] @EnvironmentId = params['EnvironmentId'] @Force = params['Force'] end |