Class: TencentCloud::Tdmq::V20200217::DeleteTopicsResponse

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

Overview

DeleteTopics返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TopicSets:

    被删除的主题数组。

  • RequestId:

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



3359
3360
3361
# File 'lib/v20200217/models.rb', line 3359

def RequestId
  @RequestId
end

#TopicSetsObject

Parameters:

  • TopicSets:

    被删除的主题数组。

  • RequestId:

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



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