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.
26894 26895 26896 26897 26898 26899 26900 |
# File 'lib/v20190612/models.rb', line 26894 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,表示取不到有效值。
26892 26893 26894 |
# File 'lib/v20190612/models.rb', line 26892 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,表示取不到有效值。
26892 26893 26894 |
# File 'lib/v20190612/models.rb', line 26892 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,表示取不到有效值。
26892 26893 26894 |
# File 'lib/v20190612/models.rb', line 26892 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,表示取不到有效值。
26892 26893 26894 |
# File 'lib/v20190612/models.rb', line 26892 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,表示取不到有效值。
26892 26893 26894 |
# File 'lib/v20190612/models.rb', line 26892 def WatermarkSet @WatermarkSet end |
Instance Method Details
#deserialize(params) ⇒ Object
26902 26903 26904 26905 26906 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 |
# File 'lib/v20190612/models.rb', line 26902 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 |