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}结尾。变量名请参考 文件名变量说明。 相对路径示例:- 文件名_变量名.format
- 文件名.format
绝对路径示例:- /自定义路径/文件名_变量名.format
如果不填,则默认为相对路径:{inputName}_sampleSnapshot_{definition}_{number}.{format}。 注意:此字段可能返回 null,表示取不到有效值。. -
#ObjectNumberFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以
.{format}结尾。变量名请参考 文件名变量说明。 相对路径示例:- 文件名_变量名.format
- 文件名.format
绝对路径示例:- /自定义路径/文件名_变量名.format
如果不填,则默认为相对路径:{inputName}_sampleSnapshot_{definition}_{number}.{format}。 注意:此字段可能返回 null,表示取不到有效值。. -
#OutputObjectPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以
.{format}结尾。变量名请参考 文件名变量说明。 相对路径示例:- 文件名_变量名.format
- 文件名.format
绝对路径示例:- /自定义路径/文件名_变量名.format
如果不填,则默认为相对路径:{inputName}_sampleSnapshot_{definition}_{number}.{format}。 注意:此字段可能返回 null,表示取不到有效值。. -
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以
.{format}结尾。变量名请参考 文件名变量说明。 相对路径示例:- 文件名_变量名.format
- 文件名.format
绝对路径示例:- /自定义路径/文件名_变量名.format
如果不填,则默认为相对路径:{inputName}_sampleSnapshot_{definition}_{number}.{format}。 注意:此字段可能返回 null,表示取不到有效值。. -
#WatermarkSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 若需定义输出路径,路径需以
.{format}结尾。变量名请参考 文件名变量说明。 相对路径示例:- 文件名_变量名.format
- 文件名.format
绝对路径示例:- /自定义路径/文件名_变量名.format
如果不填,则默认为相对路径:{inputName}_sampleSnapshot_{definition}_{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.
27047 27048 27049 27050 27051 27052 27053 |
# File 'lib/v20190612/models.rb', line 27047 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}结尾。变量名请参考 文件名变量说明。
相对路径示例:
27045 27046 27047 |
# File 'lib/v20190612/models.rb', line 27045 def Definition @Definition end |
#ObjectNumberFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
若需定义输出路径,路径需以.{format}结尾。变量名请参考 文件名变量说明。
相对路径示例:
27045 27046 27047 |
# File 'lib/v20190612/models.rb', line 27045 def ObjectNumberFormat @ObjectNumberFormat end |
#OutputObjectPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
若需定义输出路径,路径需以.{format}结尾。变量名请参考 文件名变量说明。
相对路径示例:
27045 27046 27047 |
# File 'lib/v20190612/models.rb', line 27045 def OutputObjectPath @OutputObjectPath end |
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
若需定义输出路径,路径需以.{format}结尾。变量名请参考 文件名变量说明。
相对路径示例:
27045 27046 27047 |
# File 'lib/v20190612/models.rb', line 27045 def OutputStorage @OutputStorage end |
#WatermarkSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
若需定义输出路径,路径需以.{format}结尾。变量名请参考 文件名变量说明。
相对路径示例:
27045 27046 27047 |
# File 'lib/v20190612/models.rb', line 27045 def WatermarkSet @WatermarkSet end |
Instance Method Details
#deserialize(params) ⇒ Object
27055 27056 27057 27058 27059 27060 27061 27062 27063 27064 27065 27066 27067 27068 27069 27070 27071 27072 27073 27074 |
# File 'lib/v20190612/models.rb', line 27055 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 |