Class: TencentCloud::Msp::V20180319::Task
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Msp::V20180319::Task
- Defined in:
- lib/v20180319/models.rb
Overview
迁移任务类别
Instance Attribute Summary collapse
- #DstInfo ⇒ Object
- #MigrationTimeLine ⇒ Object
- #MigrationType ⇒ Object
- #ProjectId ⇒ Object
- #ProjectName ⇒ Object
- #SrcInfo ⇒ Object
- #Status ⇒ Object
- #TaskId ⇒ Object
- #TaskName ⇒ Object
- #Updated ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, taskname = nil, migrationtype = nil, status = nil, projectid = nil, projectname = nil, srcinfo = nil, migrationtimeline = nil, updated = nil, dstinfo = nil) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(taskid = nil, taskname = nil, migrationtype = nil, status = nil, projectid = nil, projectname = nil, srcinfo = nil, migrationtimeline = nil, updated = nil, dstinfo = nil) ⇒ Task
460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'lib/v20180319/models.rb', line 460 def initialize(taskid=nil, taskname=nil, migrationtype=nil, status=nil, projectid=nil, projectname=nil, srcinfo=nil, migrationtimeline=nil, updated=nil, dstinfo=nil) @TaskId = taskid @TaskName = taskname @MigrationType = migrationtype @Status = status @ProjectId = projectid @ProjectName = projectname @SrcInfo = srcinfo @MigrationTimeLine = migrationtimeline @Updated = updated @DstInfo = dstinfo end |
Instance Attribute Details
#DstInfo ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def DstInfo @DstInfo end |
#MigrationTimeLine ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def MigrationTimeLine @MigrationTimeLine end |
#MigrationType ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def MigrationType @MigrationType end |
#ProjectId ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def ProjectId @ProjectId end |
#ProjectName ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def ProjectName @ProjectName end |
#SrcInfo ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def SrcInfo @SrcInfo end |
#Status ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def Status @Status end |
#TaskId ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def TaskId @TaskId end |
#TaskName ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def TaskName @TaskName end |
#Updated ⇒ Object
458 459 460 |
# File 'lib/v20180319/models.rb', line 458 def Updated @Updated end |
Instance Method Details
#deserialize(params) ⇒ Object
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
# File 'lib/v20180319/models.rb', line 473 def deserialize(params) @TaskId = params['TaskId'] @TaskName = params['TaskName'] @MigrationType = params['MigrationType'] @Status = params['Status'] @ProjectId = params['ProjectId'] @ProjectName = params['ProjectName'] unless params['SrcInfo'].nil? @SrcInfo = SrcInfo.new @SrcInfo.deserialize(params['SrcInfo']) end unless params['MigrationTimeLine'].nil? @MigrationTimeLine = TimeObj.new @MigrationTimeLine.deserialize(params['MigrationTimeLine']) end @Updated = params['Updated'] unless params['DstInfo'].nil? @DstInfo = DstInfo.new @DstInfo.deserialize(params['DstInfo']) end end |