Class: TencentCloud::Dts::V20180330::MigrateDetailInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20180330::MigrateDetailInfo
- Defined in:
- lib/v20180330/models.rb
Overview
描述详细迁移过程
Instance Attribute Summary collapse
- #CurrentStepProgress ⇒ Object
- #MasterSlaveDistance ⇒ Object
- #Progress ⇒ Object
- #SecondsBehindMaster ⇒ Object
- #StepAll ⇒ Object
- #StepInfo ⇒ Object
- #StepNow ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stepall = nil, stepnow = nil, progress = nil, currentstepprogress = nil, masterslavedistance = nil, secondsbehindmaster = nil, stepinfo = nil) ⇒ MigrateDetailInfo
constructor
A new instance of MigrateDetailInfo.
Constructor Details
#initialize(stepall = nil, stepnow = nil, progress = nil, currentstepprogress = nil, masterslavedistance = nil, secondsbehindmaster = nil, stepinfo = nil) ⇒ MigrateDetailInfo
Returns a new instance of MigrateDetailInfo.
931 932 933 934 935 936 937 938 939 |
# File 'lib/v20180330/models.rb', line 931 def initialize(stepall=nil, stepnow=nil, progress=nil, currentstepprogress=nil, masterslavedistance=nil, secondsbehindmaster=nil, stepinfo=nil) @StepAll = stepall @StepNow = stepnow @Progress = progress @CurrentStepProgress = currentstepprogress @MasterSlaveDistance = masterslavedistance @SecondsBehindMaster = secondsbehindmaster @StepInfo = stepinfo end |
Instance Attribute Details
#CurrentStepProgress ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def CurrentStepProgress @CurrentStepProgress end |
#MasterSlaveDistance ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def MasterSlaveDistance @MasterSlaveDistance end |
#Progress ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def Progress @Progress end |
#SecondsBehindMaster ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def SecondsBehindMaster @SecondsBehindMaster end |
#StepAll ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def StepAll @StepAll end |
#StepInfo ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def StepInfo @StepInfo end |
#StepNow ⇒ Object
929 930 931 |
# File 'lib/v20180330/models.rb', line 929 def StepNow @StepNow end |
Instance Method Details
#deserialize(params) ⇒ Object
941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 |
# File 'lib/v20180330/models.rb', line 941 def deserialize(params) @StepAll = params['StepAll'] @StepNow = params['StepNow'] @Progress = params['Progress'] @CurrentStepProgress = params['CurrentStepProgress'] @MasterSlaveDistance = params['MasterSlaveDistance'] @SecondsBehindMaster = params['SecondsBehindMaster'] unless params['StepInfo'].nil? @StepInfo = [] params['StepInfo'].each do |i| migratestepdetailinfo_tmp = MigrateStepDetailInfo.new migratestepdetailinfo_tmp.deserialize(i) @StepInfo << migratestepdetailinfo_tmp end end end |