Class: TencentCloud::Mps::V20190612::LiveRecordTaskInput

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

Overview

直播录制任务输入参数类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition = nil, outputstorage = nil, outputobjectpath = nil) ⇒ LiveRecordTaskInput

Returns a new instance of LiveRecordTaskInput.



18410
18411
18412
18413
18414
# File 'lib/v20190612/models.rb', line 18410

def initialize(definition=nil, outputstorage=nil, outputobjectpath=nil)
  @Definition = definition
  @OutputStorage = outputstorage
  @OutputObjectPath = outputobjectpath
end

Instance Attribute Details

#DefinitionObject

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

Parameters:

  • Definition:

    直播录制模板 ID。

  • OutputStorage:

    直播录制后文件的目标存储,不填则继承上层的 OutputStorage 值。

  • OutputObjectPath:

    直播录制后文件的输出路径。



18408
18409
18410
# File 'lib/v20190612/models.rb', line 18408

def Definition
  @Definition
end

#OutputObjectPathObject

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

Parameters:

  • Definition:

    直播录制模板 ID。

  • OutputStorage:

    直播录制后文件的目标存储,不填则继承上层的 OutputStorage 值。

  • OutputObjectPath:

    直播录制后文件的输出路径。



18408
18409
18410
# File 'lib/v20190612/models.rb', line 18408

def OutputObjectPath
  @OutputObjectPath
end

#OutputStorageObject

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

Parameters:

  • Definition:

    直播录制模板 ID。

  • OutputStorage:

    直播录制后文件的目标存储,不填则继承上层的 OutputStorage 值。

  • OutputObjectPath:

    直播录制后文件的输出路径。



18408
18409
18410
# File 'lib/v20190612/models.rb', line 18408

def OutputStorage
  @OutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



18416
18417
18418
18419
18420
18421
18422
18423
# File 'lib/v20190612/models.rb', line 18416

def deserialize(params)
  @Definition = params['Definition']
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
  @OutputObjectPath = params['OutputObjectPath']
end