Class: TencentCloud::Mna::V20210119::GetFlowStatisticByGroupResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetFlowStatisticByGroupResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetFlowStatisticByGroup返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticByGroupResponse
constructor
A new instance of GetFlowStatisticByGroupResponse.
Constructor Details
#initialize(netdetails = nil, maxvalue = nil, avgvalue = nil, totalvalue = nil, requestid = nil) ⇒ GetFlowStatisticByGroupResponse
Returns a new instance of GetFlowStatisticByGroupResponse.
1279 1280 1281 1282 1283 1284 1285 |
# File 'lib/v20210119/models.rb', line 1279 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
1277 1278 1279 |
# File 'lib/v20210119/models.rb', line 1277 def AvgValue @AvgValue end |
#MaxValue ⇒ Object
1277 1278 1279 |
# File 'lib/v20210119/models.rb', line 1277 def MaxValue @MaxValue end |
#NetDetails ⇒ Object
1277 1278 1279 |
# File 'lib/v20210119/models.rb', line 1277 def NetDetails @NetDetails end |
#RequestId ⇒ Object
1277 1278 1279 |
# File 'lib/v20210119/models.rb', line 1277 def RequestId @RequestId end |
#TotalValue ⇒ Object
1277 1278 1279 |
# File 'lib/v20210119/models.rb', line 1277 def TotalValue @TotalValue end |
Instance Method Details
#deserialize(params) ⇒ Object
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 |
# File 'lib/v20210119/models.rb', line 1287 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 |