Class: TencentCloud::Mna::V20210119::GetFlowStatisticByRegionResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetFlowStatisticByRegionResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetFlowStatisticByRegion返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticByRegionResponse
constructor
A new instance of GetFlowStatisticByRegionResponse.
Constructor Details
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticByRegionResponse
Returns a new instance of GetFlowStatisticByRegionResponse.
1354 1355 1356 1357 1358 1359 1360 |
# File 'lib/v20210119/models.rb', line 1354 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
1352 1353 1354 |
# File 'lib/v20210119/models.rb', line 1352 def AvgValue @AvgValue end |
#MaxValue ⇒ Object
1352 1353 1354 |
# File 'lib/v20210119/models.rb', line 1352 def MaxValue @MaxValue end |
#NetDetails ⇒ Object
1352 1353 1354 |
# File 'lib/v20210119/models.rb', line 1352 def NetDetails @NetDetails end |
#RequestId ⇒ Object
1352 1353 1354 |
# File 'lib/v20210119/models.rb', line 1352 def RequestId @RequestId end |
#TotalValue ⇒ Object
1352 1353 1354 |
# File 'lib/v20210119/models.rb', line 1352 def TotalValue @TotalValue end |
Instance Method Details
#deserialize(params) ⇒ Object
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/v20210119/models.rb', line 1362 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 |