Class: TencentCloud::Sqlserver::V20180328::MigrationDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::MigrationDetail
- Defined in:
- lib/v20180328/models.rb
Overview
冷备导入任务迁移细节
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stepall = nil, stepnow = nil, progress = nil, stepinfo = nil) ⇒ MigrationDetail
constructor
A new instance of MigrationDetail.
Constructor Details
#initialize(stepall = nil, stepnow = nil, progress = nil, stepinfo = nil) ⇒ MigrationDetail
Returns a new instance of MigrationDetail.
8126 8127 8128 8129 8130 8131 |
# File 'lib/v20180328/models.rb', line 8126 def initialize(stepall=nil, stepnow=nil, progress=nil, stepinfo=nil) @StepAll = stepall @StepNow = stepnow @Progress = progress @StepInfo = stepinfo end |
Instance Attribute Details
#Progress ⇒ Object
8124 8125 8126 |
# File 'lib/v20180328/models.rb', line 8124 def Progress @Progress end |
#StepAll ⇒ Object
8124 8125 8126 |
# File 'lib/v20180328/models.rb', line 8124 def StepAll @StepAll end |
#StepInfo ⇒ Object
8124 8125 8126 |
# File 'lib/v20180328/models.rb', line 8124 def StepInfo @StepInfo end |
#StepNow ⇒ Object
8124 8125 8126 |
# File 'lib/v20180328/models.rb', line 8124 def StepNow @StepNow end |
Instance Method Details
#deserialize(params) ⇒ Object
8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 |
# File 'lib/v20180328/models.rb', line 8133 def deserialize(params) @StepAll = params['StepAll'] @StepNow = params['StepNow'] @Progress = params['Progress'] unless params['StepInfo'].nil? @StepInfo = [] params['StepInfo'].each do |i| migrationstep_tmp = MigrationStep.new migrationstep_tmp.deserialize(i) @StepInfo << migrationstep_tmp end end end |