Class: TencentCloud::Tdmq::V20200217::DescribeCmqTopicDetailResponse

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

Overview

DescribeCmqTopicDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicdescribe = nil, requestid = nil) ⇒ DescribeCmqTopicDetailResponse

Returns a new instance of DescribeCmqTopicDetailResponse.



4006
4007
4008
4009
# File 'lib/v20200217/models.rb', line 4006

def initialize(topicdescribe=nil, requestid=nil)
  @TopicDescribe = topicdescribe
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TopicDescribe:

    主题详情

  • RequestId:

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



4004
4005
4006
# File 'lib/v20200217/models.rb', line 4004

def RequestId
  @RequestId
end

#TopicDescribeObject

Parameters:

  • TopicDescribe:

    主题详情

  • RequestId:

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



4004
4005
4006
# File 'lib/v20200217/models.rb', line 4004

def TopicDescribe
  @TopicDescribe
end

Instance Method Details

#deserialize(params) ⇒ Object



4011
4012
4013
4014
4015
4016
4017
# File 'lib/v20200217/models.rb', line 4011

def deserialize(params)
  unless params['TopicDescribe'].nil?
    @TopicDescribe = CmqTopic.new
    @TopicDescribe.deserialize(params['TopicDescribe'])
  end
  @RequestId = params['RequestId']
end