Class: TencentCloud::Dts::V20211206::SyncDetailInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::SyncDetailInfo
- Defined in:
- lib/v20211206/models.rb
Overview
同步任务的步骤信息
Instance Attribute Summary collapse
-
#CauseOfCompareDisable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CurrentStepProgress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MasterSlaveDistance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Message ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Progress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SecondsBehindMaster ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StepAll ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StepInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StepNow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stepall = nil, stepnow = nil, progress = nil, currentstepprogress = nil, masterslavedistance = nil, secondsbehindmaster = nil, message = nil, stepinfos = nil, causeofcomparedisable = nil, errinfo = nil) ⇒ SyncDetailInfo
constructor
A new instance of SyncDetailInfo.
Constructor Details
#initialize(stepall = nil, stepnow = nil, progress = nil, currentstepprogress = nil, masterslavedistance = nil, secondsbehindmaster = nil, message = nil, stepinfos = nil, causeofcomparedisable = nil, errinfo = nil) ⇒ SyncDetailInfo
Returns a new instance of SyncDetailInfo.
7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 |
# File 'lib/v20211206/models.rb', line 7511 def initialize(stepall=nil, stepnow=nil, progress=nil, currentstepprogress=nil, masterslavedistance=nil, secondsbehindmaster=nil, =nil, stepinfos=nil, causeofcomparedisable=nil, errinfo=nil) @StepAll = stepall @StepNow = stepnow @Progress = progress @CurrentStepProgress = currentstepprogress @MasterSlaveDistance = masterslavedistance @SecondsBehindMaster = secondsbehindmaster @Message = @StepInfos = stepinfos @CauseOfCompareDisable = causeofcomparedisable @ErrInfo = errinfo end |
Instance Attribute Details
#CauseOfCompareDisable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def CauseOfCompareDisable @CauseOfCompareDisable end |
#CurrentStepProgress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def CurrentStepProgress @CurrentStepProgress end |
#ErrInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def ErrInfo @ErrInfo end |
#MasterSlaveDistance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def MasterSlaveDistance @MasterSlaveDistance end |
#Message ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def Message @Message end |
#Progress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def Progress @Progress end |
#SecondsBehindMaster ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def SecondsBehindMaster @SecondsBehindMaster end |
#StepAll ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def StepAll @StepAll end |
#StepInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def StepInfos @StepInfos end |
#StepNow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7509 7510 7511 |
# File 'lib/v20211206/models.rb', line 7509 def StepNow @StepNow end |
Instance Method Details
#deserialize(params) ⇒ Object
7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 |
# File 'lib/v20211206/models.rb', line 7524 def deserialize(params) @StepAll = params['StepAll'] @StepNow = params['StepNow'] @Progress = params['Progress'] @CurrentStepProgress = params['CurrentStepProgress'] @MasterSlaveDistance = params['MasterSlaveDistance'] @SecondsBehindMaster = params['SecondsBehindMaster'] @Message = params['Message'] unless params['StepInfos'].nil? @StepInfos = [] params['StepInfos'].each do |i| stepinfo_tmp = StepInfo.new stepinfo_tmp.deserialize(i) @StepInfos << stepinfo_tmp end end @CauseOfCompareDisable = params['CauseOfCompareDisable'] unless params['ErrInfo'].nil? @ErrInfo = ErrInfo.new @ErrInfo.deserialize(params['ErrInfo']) end end |