Class: TencentCloud::Tdmq::V20200217::DeleteSubscriptionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DeleteSubscriptionsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DeleteSubscriptions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subscriptiontopicsets = nil, requestid = nil) ⇒ DeleteSubscriptionsResponse
constructor
A new instance of DeleteSubscriptionsResponse.
Constructor Details
#initialize(subscriptiontopicsets = nil, requestid = nil) ⇒ DeleteSubscriptionsResponse
Returns a new instance of DeleteSubscriptionsResponse.
3299 3300 3301 3302 |
# File 'lib/v20200217/models.rb', line 3299 def initialize(subscriptiontopicsets=nil, requestid=nil) @SubscriptionTopicSets = subscriptiontopicsets @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3297 3298 3299 |
# File 'lib/v20200217/models.rb', line 3297 def RequestId @RequestId end |
#SubscriptionTopicSets ⇒ Object
3297 3298 3299 |
# File 'lib/v20200217/models.rb', line 3297 def SubscriptionTopicSets @SubscriptionTopicSets end |
Instance Method Details
#deserialize(params) ⇒ Object
3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 |
# File 'lib/v20200217/models.rb', line 3304 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 @RequestId = params['RequestId'] end |