Class: TencentCloud::Ams::V20201229::TaskInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::TaskInput
- Defined in:
- lib/v20201229/models.rb
Overview
音视频任务数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dataid = nil, name = nil, input = nil) ⇒ TaskInput
constructor
A new instance of TaskInput.
Constructor Details
#initialize(dataid = nil, name = nil, input = nil) ⇒ TaskInput
Returns a new instance of TaskInput.
1294 1295 1296 1297 1298 |
# File 'lib/v20201229/models.rb', line 1294 def initialize(dataid=nil, name=nil, input=nil) @DataId = dataid @Name = name @Input = input end |
Instance Attribute Details
#DataId ⇒ Object
1292 1293 1294 |
# File 'lib/v20201229/models.rb', line 1292 def DataId @DataId end |
#Input ⇒ Object
1292 1293 1294 |
# File 'lib/v20201229/models.rb', line 1292 def Input @Input end |
#Name ⇒ Object
1292 1293 1294 |
# File 'lib/v20201229/models.rb', line 1292 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'lib/v20201229/models.rb', line 1300 def deserialize(params) @DataId = params['DataId'] @Name = params['Name'] unless params['Input'].nil? @Input = StorageInfo.new @Input.deserialize(params['Input']) end end |