Class: TencentCloud::Apm::V20210622::DescribeGeneralSpanListResponse

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

Overview

DescribeGeneralSpanList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, spans = nil, requestid = nil) ⇒ DescribeGeneralSpanListResponse

Returns a new instance of DescribeGeneralSpanListResponse.



2429
2430
2431
2432
2433
# File 'lib/v20210622/models.rb', line 2429

def initialize(totalcount=nil, spans=nil, requestid=nil)
  @TotalCount = totalcount
  @Spans = spans
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    总数量

  • Spans:

    Span 分页列表

  • RequestId:

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



2427
2428
2429
# File 'lib/v20210622/models.rb', line 2427

def RequestId
  @RequestId
end

#SpansObject

Parameters:

  • TotalCount:

    总数量

  • Spans:

    Span 分页列表

  • RequestId:

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



2427
2428
2429
# File 'lib/v20210622/models.rb', line 2427

def Spans
  @Spans
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数量

  • Spans:

    Span 分页列表

  • RequestId:

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



2427
2428
2429
# File 'lib/v20210622/models.rb', line 2427

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
# File 'lib/v20210622/models.rb', line 2435

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Spans'].nil?
    @Spans = []
    params['Spans'].each do |i|
      span_tmp = Span.new
      span_tmp.deserialize(i)
      @Spans << span_tmp
    end
  end
  @RequestId = params['RequestId']
end