Class: TencentCloud::Apm::V20210622::DescribeGeneralSpanListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeGeneralSpanListResponse
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeGeneralSpanList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, spans = nil, requestid = nil) ⇒ DescribeGeneralSpanListResponse
constructor
A new instance of DescribeGeneralSpanListResponse.
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
#RequestId ⇒ Object
2427 2428 2429 |
# File 'lib/v20210622/models.rb', line 2427 def RequestId @RequestId end |
#Spans ⇒ Object
2427 2428 2429 |
# File 'lib/v20210622/models.rb', line 2427 def Spans @Spans end |
#TotalCount ⇒ Object
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 |