Class: TencentCloud::Sqlserver::V20180328::MigrationDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180328/models.rb

Overview

冷备导入任务迁移细节

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ProgressObject

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总进度,如:“30”表示30%

  • StepInfo:

    步骤信息,null表示还未开始迁移



8124
8125
8126
# File 'lib/v20180328/models.rb', line 8124

def Progress
  @Progress
end

#StepAllObject

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总进度,如:“30”表示30%

  • StepInfo:

    步骤信息,null表示还未开始迁移



8124
8125
8126
# File 'lib/v20180328/models.rb', line 8124

def StepAll
  @StepAll
end

#StepInfoObject

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总进度,如:“30”表示30%

  • StepInfo:

    步骤信息,null表示还未开始迁移



8124
8125
8126
# File 'lib/v20180328/models.rb', line 8124

def StepInfo
  @StepInfo
end

#StepNowObject

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总进度,如:“30”表示30%

  • StepInfo:

    步骤信息,null表示还未开始迁移



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