Class: TencentCloud::Mps::V20190612::SampleSnapshotTaskInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::SampleSnapshotTaskInput
- Defined in:
- lib/v20190612/models.rb
Overview
对视频做采样截图任务输入参数类型。
Instance Attribute Summary collapse
-
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。 相对路径示例: <li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例: <li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ObjectNumberFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。 相对路径示例: <li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例: <li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OutputObjectPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。 相对路径示例: <li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例: <li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。 相对路径示例: <li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例: <li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WatermarkSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。 相对路径示例: <li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例: <li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, watermarkset = nil, outputstorage = nil, outputobjectpath = nil, objectnumberformat = nil) ⇒ SampleSnapshotTaskInput
constructor
A new instance of SampleSnapshotTaskInput.
Constructor Details
#initialize(definition = nil, watermarkset = nil, outputstorage = nil, outputobjectpath = nil, objectnumberformat = nil) ⇒ SampleSnapshotTaskInput
Returns a new instance of SampleSnapshotTaskInput.
26709 26710 26711 26712 26713 26714 26715 |
# File 'lib/v20190612/models.rb', line 26709 def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, objectnumberformat=nil) @Definition = definition @WatermarkSet = watermarkset @OutputStorage = outputstorage @OutputObjectPath = outputobjectpath @ObjectNumberFormat = objectnumberformat end |
Instance Attribute Details
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。相对路径示例:<li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例:<li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。注意:此字段可能返回 null,表示取不到有效值。
26707 26708 26709 |
# File 'lib/v20190612/models.rb', line 26707 def Definition @Definition end |
#ObjectNumberFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。相对路径示例:<li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例:<li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。注意:此字段可能返回 null,表示取不到有效值。
26707 26708 26709 |
# File 'lib/v20190612/models.rb', line 26707 def ObjectNumberFormat @ObjectNumberFormat end |
#OutputObjectPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。相对路径示例:<li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例:<li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。注意:此字段可能返回 null,表示取不到有效值。
26707 26708 26709 |
# File 'lib/v20190612/models.rb', line 26707 def OutputObjectPath @OutputObjectPath end |
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。相对路径示例:<li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例:<li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。注意:此字段可能返回 null,表示取不到有效值。
26707 26708 26709 |
# File 'lib/v20190612/models.rb', line 26707 def OutputStorage @OutputStorage end |
#WatermarkSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。若需定义输出路径,路径需以‘.format`结尾。变量名请参考 [文件名变量说明](cloud.tencent.com/document/product/862/37039)。相对路径示例:<li>文件名_变量名.format</li> <li>文件名.format</li> 绝对路径示例:<li>/自定义路径/文件名_变量名.format</li> 如果不填,则默认为相对路径:`inputNamesampleSnapshotdefinition_number.format`。注意:此字段可能返回 null,表示取不到有效值。
26707 26708 26709 |
# File 'lib/v20190612/models.rb', line 26707 def WatermarkSet @WatermarkSet end |
Instance Method Details
#deserialize(params) ⇒ Object
26717 26718 26719 26720 26721 26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 |
# File 'lib/v20190612/models.rb', line 26717 def deserialize(params) @Definition = params['Definition'] unless params['WatermarkSet'].nil? @WatermarkSet = [] params['WatermarkSet'].each do |i| watermarkinput_tmp = WatermarkInput.new watermarkinput_tmp.deserialize(i) @WatermarkSet << watermarkinput_tmp end end unless params['OutputStorage'].nil? @OutputStorage = TaskOutputStorage.new @OutputStorage.deserialize(params['OutputStorage']) end @OutputObjectPath = params['OutputObjectPath'] unless params['ObjectNumberFormat'].nil? @ObjectNumberFormat = NumberFormat.new @ObjectNumberFormat.deserialize(params['ObjectNumberFormat']) end end |