Class: TencentCloud::Dts::V20211206::SyncDetailInfo

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

Overview

同步任务的步骤信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message=nil, stepinfos=nil, causeofcomparedisable=nil, errinfo=nil)
  @StepAll = stepall
  @StepNow = stepnow
  @Progress = progress
  @CurrentStepProgress = currentstepprogress
  @MasterSlaveDistance = masterslavedistance
  @SecondsBehindMaster = secondsbehindmaster
  @Message = message
  @StepInfos = stepinfos
  @CauseOfCompareDisable = causeofcomparedisable
  @ErrInfo = errinfo
end

Instance Attribute Details

#CauseOfCompareDisableObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def CauseOfCompareDisable
  @CauseOfCompareDisable
end

#CurrentStepProgressObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def CurrentStepProgress
  @CurrentStepProgress
end

#ErrInfoObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def ErrInfo
  @ErrInfo
end

#MasterSlaveDistanceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def MasterSlaveDistance
  @MasterSlaveDistance
end

#MessageObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def Message
  @Message
end

#ProgressObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def Progress
  @Progress
end

#SecondsBehindMasterObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def SecondsBehindMaster
  @SecondsBehindMaster
end

#StepAllObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def StepAll
  @StepAll
end

#StepInfosObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



7509
7510
7511
# File 'lib/v20211206/models.rb', line 7509

def StepInfos
  @StepInfos
end

#StepNowObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • StepAll:

    总步骤数

  • StepNow:

    当前步骤

  • Progress:

    总体进度

  • CurrentStepProgress:

    当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度

  • MasterSlaveDistance:

    同步两端数据量差距

  • SecondsBehindMaster:

    同步两端时间差距

  • Message:

    总体描述信息

  • StepInfos:

    详细步骤信息

  • CauseOfCompareDisable:

    不能发起内置校验的原因

  • ErrInfo:

    任务的错误和解决方案信息



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