Class: TencentCloud::Mna::V20210119::GetFlowStatisticResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetFlowStatisticResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetFlowStatistic返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticResponse
constructor
A new instance of GetFlowStatisticResponse.
Constructor Details
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticResponse
Returns a new instance of GetFlowStatisticResponse.
1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/v20210119/models.rb', line 1437 def initialize(netdetails=nil, maxvalue=nil, avgvalue=nil, totalvalue=nil, requestid=nil) @NetDetails = netdetails @MaxValue = maxvalue @AvgValue = avgvalue @TotalValue = totalvalue @RequestId = requestid end |
Instance Attribute Details
#AvgValue ⇒ Object
1435 1436 1437 |
# File 'lib/v20210119/models.rb', line 1435 def AvgValue @AvgValue end |
#MaxValue ⇒ Object
1435 1436 1437 |
# File 'lib/v20210119/models.rb', line 1435 def MaxValue @MaxValue end |
#NetDetails ⇒ Object
1435 1436 1437 |
# File 'lib/v20210119/models.rb', line 1435 def NetDetails @NetDetails end |
#RequestId ⇒ Object
1435 1436 1437 |
# File 'lib/v20210119/models.rb', line 1435 def RequestId @RequestId end |
#TotalValue ⇒ Object
1435 1436 1437 |
# File 'lib/v20210119/models.rb', line 1435 def TotalValue @TotalValue end |
Instance Method Details
#deserialize(params) ⇒ Object
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 |
# File 'lib/v20210119/models.rb', line 1445 def deserialize(params) unless params['NetDetails'].nil? @NetDetails = [] params['NetDetails'].each do |i| netdetails_tmp = NetDetails.new netdetails_tmp.deserialize(i) @NetDetails << netdetails_tmp end end @MaxValue = params['MaxValue'] @AvgValue = params['AvgValue'] @TotalValue = params['TotalValue'] @RequestId = params['RequestId'] end |