Class: TencentCloud::Mps::V20190612::LiveRecordResult

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

Overview

直播录制结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(outputstorage = nil, filelist = nil) ⇒ LiveRecordResult

Returns a new instance of LiveRecordResult.



18376
18377
18378
18379
# File 'lib/v20190612/models.rb', line 18376

def initialize(outputstorage=nil, filelist=nil)
  @OutputStorage = outputstorage
  @FileList = filelist
end

Instance Attribute Details

#FileListObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • OutputStorage:

    直播录制文件的目标存储。

  • FileList:

    直播录制文件列表



18374
18375
18376
# File 'lib/v20190612/models.rb', line 18374

def FileList
  @FileList
end

#OutputStorageObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • OutputStorage:

    直播录制文件的目标存储。

  • FileList:

    直播录制文件列表



18374
18375
18376
# File 'lib/v20190612/models.rb', line 18374

def OutputStorage
  @OutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
# File 'lib/v20190612/models.rb', line 18381

def deserialize(params)
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
  unless params['FileList'].nil?
    @FileList = []
    params['FileList'].each do |i|
      liverecordfile_tmp = LiveRecordFile.new
      liverecordfile_tmp.deserialize(i)
      @FileList << liverecordfile_tmp
    end
  end
end