Class: TencentCloud::Apm::V20210622::DescribeMetricRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeMetricRecordsResponse
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeMetricRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(records = nil, totalcount = nil, requestid = nil) ⇒ DescribeMetricRecordsResponse
constructor
A new instance of DescribeMetricRecordsResponse.
Constructor Details
#initialize(records = nil, totalcount = nil, requestid = nil) ⇒ DescribeMetricRecordsResponse
Returns a new instance of DescribeMetricRecordsResponse.
2562 2563 2564 2565 2566 |
# File 'lib/v20210622/models.rb', line 2562 def initialize(records=nil, totalcount=nil, requestid=nil) @Records = records @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Records ⇒ Object
2560 2561 2562 |
# File 'lib/v20210622/models.rb', line 2560 def Records @Records end |
#RequestId ⇒ Object
2560 2561 2562 |
# File 'lib/v20210622/models.rb', line 2560 def RequestId @RequestId end |
#TotalCount ⇒ Object
2560 2561 2562 |
# File 'lib/v20210622/models.rb', line 2560 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 |
# File 'lib/v20210622/models.rb', line 2568 def deserialize(params) unless params['Records'].nil? @Records = [] params['Records'].each do |i| apmmetricrecord_tmp = ApmMetricRecord.new apmmetricrecord_tmp.deserialize(i) @Records << apmmetricrecord_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |