Class: TencentCloud::Live::V20180801::DescribeLiveDomainPlayInfoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveDomainPlayInfoListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveDomainPlayInfoList返回参数结构体
Instance Attribute Summary collapse
- #DomainInfoList ⇒ Object
- #RequestId ⇒ Object
- #Time ⇒ Object
- #TotalBandwidth ⇒ Object
- #TotalFlux ⇒ Object
- #TotalOnline ⇒ Object
- #TotalRequest ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, totalbandwidth = nil, totalflux = nil, totalrequest = nil, totalonline = nil, domaininfolist = nil, requestid = nil) ⇒ DescribeLiveDomainPlayInfoListResponse
constructor
A new instance of DescribeLiveDomainPlayInfoListResponse.
Constructor Details
#initialize(time = nil, totalbandwidth = nil, totalflux = nil, totalrequest = nil, totalonline = nil, domaininfolist = nil, requestid = nil) ⇒ DescribeLiveDomainPlayInfoListResponse
Returns a new instance of DescribeLiveDomainPlayInfoListResponse.
6793 6794 6795 6796 6797 6798 6799 6800 6801 |
# File 'lib/v20180801/models.rb', line 6793 def initialize(time=nil, totalbandwidth=nil, totalflux=nil, totalrequest=nil, totalonline=nil, domaininfolist=nil, requestid=nil) @Time = time @TotalBandwidth = totalbandwidth @TotalFlux = totalflux @TotalRequest = totalrequest @TotalOnline = totalonline @DomainInfoList = domaininfolist @RequestId = requestid end |
Instance Attribute Details
#DomainInfoList ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def DomainInfoList @DomainInfoList end |
#RequestId ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def RequestId @RequestId end |
#Time ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def Time @Time end |
#TotalBandwidth ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def TotalBandwidth @TotalBandwidth end |
#TotalFlux ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def TotalFlux @TotalFlux end |
#TotalOnline ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def TotalOnline @TotalOnline end |
#TotalRequest ⇒ Object
6791 6792 6793 |
# File 'lib/v20180801/models.rb', line 6791 def TotalRequest @TotalRequest end |
Instance Method Details
#deserialize(params) ⇒ Object
6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 |
# File 'lib/v20180801/models.rb', line 6803 def deserialize(params) @Time = params['Time'] @TotalBandwidth = params['TotalBandwidth'] @TotalFlux = params['TotalFlux'] @TotalRequest = params['TotalRequest'] @TotalOnline = params['TotalOnline'] unless params['DomainInfoList'].nil? @DomainInfoList = [] params['DomainInfoList'].each do |i| domaininfolist_tmp = DomainInfoList.new domaininfolist_tmp.deserialize(i) @DomainInfoList << domaininfolist_tmp end end @RequestId = params['RequestId'] end |