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.
1260 1261 1262 1263 1264 |
# File 'lib/v20201229/models.rb', line 1260 def initialize(dataid=nil, name=nil, input=nil) @DataId = dataid @Name = name @Input = input end |
Instance Attribute Details
#DataId ⇒ Object
1258 1259 1260 |
# File 'lib/v20201229/models.rb', line 1258 def DataId @DataId end |
#Input ⇒ Object
1258 1259 1260 |
# File 'lib/v20201229/models.rb', line 1258 def Input @Input end |
#Name ⇒ Object
1258 1259 1260 |
# File 'lib/v20201229/models.rb', line 1258 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1266 1267 1268 1269 1270 1271 1272 1273 |
# File 'lib/v20201229/models.rb', line 1266 def deserialize(params) @DataId = params['DataId'] @Name = params['Name'] unless params['Input'].nil? @Input = StorageInfo.new @Input.deserialize(params['Input']) end end |