Class: TencentCloud::Live::V20180801::PlayDataInfoByStream

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180801/models.rb

Overview

流维度的播放信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(streamname = nil, totalflux = nil) ⇒ PlayDataInfoByStream

Returns a new instance of PlayDataInfoByStream.



13343
13344
13345
13346
# File 'lib/v20180801/models.rb', line 13343

def initialize(streamname=nil, totalflux=nil)
  @StreamName = streamname
  @TotalFlux = totalflux
end

Instance Attribute Details

#StreamNameObject

Parameters:

  • StreamName:

    流名称。

  • TotalFlux:

    总流量,单位: MB。



13341
13342
13343
# File 'lib/v20180801/models.rb', line 13341

def StreamName
  @StreamName
end

#TotalFluxObject

Parameters:

  • StreamName:

    流名称。

  • TotalFlux:

    总流量,单位: MB。



13341
13342
13343
# File 'lib/v20180801/models.rb', line 13341

def TotalFlux
  @TotalFlux
end

Instance Method Details

#deserialize(params) ⇒ Object



13348
13349
13350
13351
# File 'lib/v20180801/models.rb', line 13348

def deserialize(params)
  @StreamName = params['StreamName']
  @TotalFlux = params['TotalFlux']
end