Class: TencentCloud::Live::V20180801::DescribeProIspPlaySumInfoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeProIspPlaySumInfoListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeProIspPlaySumInfoList返回参数结构体
Instance Attribute Summary collapse
- #AvgFluxPerSecond ⇒ Object
- #DataInfoList ⇒ Object
- #PageNum ⇒ Object
- #PageSize ⇒ Object
- #RequestId ⇒ Object
- #StatType ⇒ Object
- #TotalFlux ⇒ Object
- #TotalNum ⇒ Object
- #TotalPage ⇒ Object
- #TotalRequest ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalflux = nil, totalrequest = nil, stattype = nil, pagesize = nil, pagenum = nil, totalnum = nil, totalpage = nil, datainfolist = nil, avgfluxpersecond = nil, requestid = nil) ⇒ DescribeProIspPlaySumInfoListResponse
constructor
A new instance of DescribeProIspPlaySumInfoListResponse.
Constructor Details
#initialize(totalflux = nil, totalrequest = nil, stattype = nil, pagesize = nil, pagenum = nil, totalnum = nil, totalpage = nil, datainfolist = nil, avgfluxpersecond = nil, requestid = nil) ⇒ DescribeProIspPlaySumInfoListResponse
Returns a new instance of DescribeProIspPlaySumInfoListResponse.
9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 |
# File 'lib/v20180801/models.rb', line 9400 def initialize(totalflux=nil, totalrequest=nil, stattype=nil, pagesize=nil, pagenum=nil, totalnum=nil, totalpage=nil, datainfolist=nil, avgfluxpersecond=nil, requestid=nil) @TotalFlux = totalflux @TotalRequest = totalrequest @StatType = stattype @PageSize = pagesize @PageNum = pagenum @TotalNum = totalnum @TotalPage = totalpage @DataInfoList = datainfolist @AvgFluxPerSecond = avgfluxpersecond @RequestId = requestid end |
Instance Attribute Details
#AvgFluxPerSecond ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def AvgFluxPerSecond @AvgFluxPerSecond end |
#DataInfoList ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def DataInfoList @DataInfoList end |
#PageNum ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def PageNum @PageNum end |
#PageSize ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def PageSize @PageSize end |
#RequestId ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def RequestId @RequestId end |
#StatType ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def StatType @StatType end |
#TotalFlux ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def TotalFlux @TotalFlux end |
#TotalNum ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def TotalPage @TotalPage end |
#TotalRequest ⇒ Object
9398 9399 9400 |
# File 'lib/v20180801/models.rb', line 9398 def TotalRequest @TotalRequest end |
Instance Method Details
#deserialize(params) ⇒ Object
9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 |
# File 'lib/v20180801/models.rb', line 9413 def deserialize(params) @TotalFlux = params['TotalFlux'] @TotalRequest = params['TotalRequest'] @StatType = params['StatType'] @PageSize = params['PageSize'] @PageNum = params['PageNum'] @TotalNum = params['TotalNum'] @TotalPage = params['TotalPage'] unless params['DataInfoList'].nil? @DataInfoList = [] params['DataInfoList'].each do |i| proispplaysuminfo_tmp = ProIspPlaySumInfo.new proispplaysuminfo_tmp.deserialize(i) @DataInfoList << proispplaysuminfo_tmp end end @AvgFluxPerSecond = params['AvgFluxPerSecond'] @RequestId = params['RequestId'] end |