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.



13448
13449
13450
13451
# File 'lib/v20180801/models.rb', line 13448

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

Instance Attribute Details

#StreamNameObject

Parameters:

  • StreamName:

    流名称。

  • TotalFlux:

    总流量,单位: MB。



13446
13447
13448
# File 'lib/v20180801/models.rb', line 13446

def StreamName
  @StreamName
end

#TotalFluxObject

Parameters:

  • StreamName:

    流名称。

  • TotalFlux:

    总流量,单位: MB。



13446
13447
13448
# File 'lib/v20180801/models.rb', line 13446

def TotalFlux
  @TotalFlux
end

Instance Method Details

#deserialize(params) ⇒ Object



13453
13454
13455
13456
# File 'lib/v20180801/models.rb', line 13453

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