Class: TencentCloud::Live::V20180801::HttpStatusData

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

Overview

播放错误码信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time = nil, httpstatusinfolist = nil) ⇒ HttpStatusData

Returns a new instance of HttpStatusData.



11213
11214
11215
11216
# File 'lib/v20180801/models.rb', line 11213

def initialize(time=nil, httpstatusinfolist=nil)
  @Time = time
  @HttpStatusInfoList = httpstatusinfolist
end

Instance Attribute Details

#HttpStatusInfoListObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。

Parameters:

  • Time:

    数据时间点,

  • HttpStatusInfoList:

    播放状态码详细信息。



11211
11212
11213
# File 'lib/v20180801/models.rb', line 11211

def HttpStatusInfoList
  @HttpStatusInfoList
end

#TimeObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。

Parameters:

  • Time:

    数据时间点,

  • HttpStatusInfoList:

    播放状态码详细信息。



11211
11212
11213
# File 'lib/v20180801/models.rb', line 11211

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
# File 'lib/v20180801/models.rb', line 11218

def deserialize(params)
  @Time = params['Time']
  unless params['HttpStatusInfoList'].nil?
    @HttpStatusInfoList = []
    params['HttpStatusInfoList'].each do |i|
      httpstatusinfo_tmp = HttpStatusInfo.new
      httpstatusinfo_tmp.deserialize(i)
      @HttpStatusInfoList << httpstatusinfo_tmp
    end
  end
end