Class: TencentCloud::Bizlive::V20190313::DayStreamPlayInfo

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

Overview

流播放信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bandwidth = nil, flux = nil, online = nil, request = nil, time = nil) ⇒ DayStreamPlayInfo

Returns a new instance of DayStreamPlayInfo.



95
96
97
98
99
100
101
# File 'lib/v20190313/models.rb', line 95

def initialize(bandwidth=nil, flux=nil, online=nil, request=nil, time=nil)
  @Bandwidth = bandwidth
  @Flux = flux
  @Online = online
  @Request = request
  @Time = time
end

Instance Attribute Details

#BandwidthObject

Parameters:

  • Bandwidth:

    带宽(单位Mbps)。

  • Flux:

    流量 (单位MB)。

  • Online:

    在线人数。

  • Request:

    请求数。

  • Time:

    数据时间点,格式:yyyy-mm-dd HH:MM:SS。



93
94
95
# File 'lib/v20190313/models.rb', line 93

def Bandwidth
  @Bandwidth
end

#FluxObject

Parameters:

  • Bandwidth:

    带宽(单位Mbps)。

  • Flux:

    流量 (单位MB)。

  • Online:

    在线人数。

  • Request:

    请求数。

  • Time:

    数据时间点,格式:yyyy-mm-dd HH:MM:SS。



93
94
95
# File 'lib/v20190313/models.rb', line 93

def Flux
  @Flux
end

#OnlineObject

Parameters:

  • Bandwidth:

    带宽(单位Mbps)。

  • Flux:

    流量 (单位MB)。

  • Online:

    在线人数。

  • Request:

    请求数。

  • Time:

    数据时间点,格式:yyyy-mm-dd HH:MM:SS。



93
94
95
# File 'lib/v20190313/models.rb', line 93

def Online
  @Online
end

#RequestObject

Parameters:

  • Bandwidth:

    带宽(单位Mbps)。

  • Flux:

    流量 (单位MB)。

  • Online:

    在线人数。

  • Request:

    请求数。

  • Time:

    数据时间点,格式:yyyy-mm-dd HH:MM:SS。



93
94
95
# File 'lib/v20190313/models.rb', line 93

def Request
  @Request
end

#TimeObject

Parameters:

  • Bandwidth:

    带宽(单位Mbps)。

  • Flux:

    流量 (单位MB)。

  • Online:

    在线人数。

  • Request:

    请求数。

  • Time:

    数据时间点,格式:yyyy-mm-dd HH:MM:SS。



93
94
95
# File 'lib/v20190313/models.rb', line 93

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



103
104
105
106
107
108
109
# File 'lib/v20190313/models.rb', line 103

def deserialize(params)
  @Bandwidth = params['Bandwidth']
  @Flux = params['Flux']
  @Online = params['Online']
  @Request = params['Request']
  @Time = params['Time']
end