Class: TencentCloud::Vm::V20210922::TaskData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::TaskData
- Defined in:
- lib/v20210922/models.rb
Overview
任务数据
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #CreatedAt ⇒ Object
- #DataId ⇒ Object
- #InputInfo ⇒ Object
- #Labels ⇒ Object
- #MediaInfo ⇒ Object
- #Name ⇒ Object
- #Status ⇒ Object
- #Suggestion ⇒ Object
- #TaskId ⇒ Object
- #Type ⇒ Object
- #UpdatedAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, dataid = nil, biztype = nil, name = nil, status = nil, type = nil, suggestion = nil, labels = nil, mediainfo = nil, inputinfo = nil, createdat = nil, updatedat = nil) ⇒ TaskData
constructor
A new instance of TaskData.
Constructor Details
#initialize(taskid = nil, dataid = nil, biztype = nil, name = nil, status = nil, type = nil, suggestion = nil, labels = nil, mediainfo = nil, inputinfo = nil, createdat = nil, updatedat = nil) ⇒ TaskData
Returns a new instance of TaskData.
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20210922/models.rb', line 1339 def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil) @TaskId = taskid @DataId = dataid @BizType = biztype @Name = name @Status = status @Type = type @Suggestion = suggestion @Labels = labels @MediaInfo = mediainfo @InputInfo = inputinfo @CreatedAt = createdat @UpdatedAt = updatedat end |
Instance Attribute Details
#BizType ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def BizType @BizType end |
#CreatedAt ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def CreatedAt @CreatedAt end |
#DataId ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def DataId @DataId end |
#InputInfo ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def InputInfo @InputInfo end |
#Labels ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def Labels @Labels end |
#MediaInfo ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def MediaInfo @MediaInfo end |
#Name ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def Name @Name end |
#Status ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def Status @Status end |
#Suggestion ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def Suggestion @Suggestion end |
#TaskId ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def TaskId @TaskId end |
#Type ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def Type @Type end |
#UpdatedAt ⇒ Object
1337 1338 1339 |
# File 'lib/v20210922/models.rb', line 1337 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'lib/v20210922/models.rb', line 1354 def deserialize(params) @TaskId = params['TaskId'] @DataId = params['DataId'] @BizType = params['BizType'] @Name = params['Name'] @Status = params['Status'] @Type = params['Type'] @Suggestion = params['Suggestion'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| tasklabel_tmp = TaskLabel.new tasklabel_tmp.deserialize(i) @Labels << tasklabel_tmp end end unless params['MediaInfo'].nil? @MediaInfo = MediaInfo.new @MediaInfo.deserialize(params['MediaInfo']) end unless params['InputInfo'].nil? @InputInfo = InputInfo.new @InputInfo.deserialize(params['InputInfo']) end @CreatedAt = params['CreatedAt'] @UpdatedAt = params['UpdatedAt'] end |