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.
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 |
# File 'lib/v20210922/models.rb', line 1296 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
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def BizType @BizType end |
#CreatedAt ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def CreatedAt @CreatedAt end |
#DataId ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def DataId @DataId end |
#InputInfo ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def InputInfo @InputInfo end |
#Labels ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def Labels @Labels end |
#MediaInfo ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def MediaInfo @MediaInfo end |
#Name ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def Name @Name end |
#Status ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def Status @Status end |
#Suggestion ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def Suggestion @Suggestion end |
#TaskId ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def TaskId @TaskId end |
#Type ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def Type @Type end |
#UpdatedAt ⇒ Object
1294 1295 1296 |
# File 'lib/v20210922/models.rb', line 1294 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 |
# File 'lib/v20210922/models.rb', line 1311 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 |