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.



18586
18587
18588
18589
# File 'lib/v20190612/models.rb', line 18586

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

Instance Attribute Details

#FileListObject

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

Parameters:

  • OutputStorage:

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

  • FileList:

    直播录制文件列表



18584
18585
18586
# File 'lib/v20190612/models.rb', line 18584

def FileList
  @FileList
end

#OutputStorageObject

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

Parameters:

  • OutputStorage:

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

  • FileList:

    直播录制文件列表



18584
18585
18586
# File 'lib/v20190612/models.rb', line 18584

def OutputStorage
  @OutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
# File 'lib/v20190612/models.rb', line 18591

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