Class: TencentCloud::Tdmq::V20200217::DeleteSubscriptionsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DeleteSubscriptions返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • SubscriptionTopicSets:

    成功删除的订阅关系数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3297
3298
3299
# File 'lib/v20200217/models.rb', line 3297

def RequestId
  @RequestId
end

#SubscriptionTopicSetsObject

Parameters:

  • SubscriptionTopicSets:

    成功删除的订阅关系数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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