Class: TencentCloud::Tdmq::V20200217::DescribeMqMsgTraceResponse

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

Overview

DescribeMqMsgTrace返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, showtopicname = nil, requestid = nil) ⇒ DescribeMqMsgTraceResponse

Returns a new instance of DescribeMqMsgTraceResponse.



4368
4369
4370
4371
4372
# File 'lib/v20200217/models.rb', line 4368

def initialize(result=nil, showtopicname=nil, requestid=nil)
  @Result = result
  @ShowTopicName = showtopicname
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    消息内容

  • ShowTopicName:

    消息轨迹页展示的topic名称

  • RequestId:

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



4366
4367
4368
# File 'lib/v20200217/models.rb', line 4366

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    消息内容

  • ShowTopicName:

    消息轨迹页展示的topic名称

  • RequestId:

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



4366
4367
4368
# File 'lib/v20200217/models.rb', line 4366

def Result
  @Result
end

#ShowTopicNameObject

Parameters:

  • Result:

    消息内容

  • ShowTopicName:

    消息轨迹页展示的topic名称

  • RequestId:

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



4366
4367
4368
# File 'lib/v20200217/models.rb', line 4366

def ShowTopicName
  @ShowTopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
# File 'lib/v20200217/models.rb', line 4374

def deserialize(params)
  unless params['Result'].nil?
    @Result = []
    params['Result'].each do |i|
      traceresult_tmp = TraceResult.new
      traceresult_tmp.deserialize(i)
      @Result << traceresult_tmp
    end
  end
  @ShowTopicName = params['ShowTopicName']
  @RequestId = params['RequestId']
end