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.



16245
16246
16247
16248
# File 'lib/v20190612/models.rb', line 16245

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

Instance Attribute Details

#FileListObject

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

Parameters:

  • OutputStorage:

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

  • FileList:

    直播录制文件列表



16243
16244
16245
# File 'lib/v20190612/models.rb', line 16243

def FileList
  @FileList
end

#OutputStorageObject

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

Parameters:

  • OutputStorage:

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

  • FileList:

    直播录制文件列表



16243
16244
16245
# File 'lib/v20190612/models.rb', line 16243

def OutputStorage
  @OutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
# File 'lib/v20190612/models.rb', line 16250

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