Class: TencentCloud::Dts::V20211206::RowsCountDifference

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

Overview

mongodb行校验不一致详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db = nil, table = nil, srccount = nil, dstcount = nil) ⇒ RowsCountDifference

Returns a new instance of RowsCountDifference.



6490
6491
6492
6493
6494
6495
# File 'lib/v20211206/models.rb', line 6490

def initialize(db=nil, table=nil, srccount=nil, dstcount=nil)
  @Db = db
  @Table = table
  @SrcCount = srccount
  @DstCount = dstcount
end

Instance Attribute Details

#DbObject

Parameters:

  • Db:

    数据库名

  • Table:

    集合

  • SrcCount:

    源端行数

  • DstCount:

    目标端行数



6488
6489
6490
# File 'lib/v20211206/models.rb', line 6488

def Db
  @Db
end

#DstCountObject

Parameters:

  • Db:

    数据库名

  • Table:

    集合

  • SrcCount:

    源端行数

  • DstCount:

    目标端行数



6488
6489
6490
# File 'lib/v20211206/models.rb', line 6488

def DstCount
  @DstCount
end

#SrcCountObject

Parameters:

  • Db:

    数据库名

  • Table:

    集合

  • SrcCount:

    源端行数

  • DstCount:

    目标端行数



6488
6489
6490
# File 'lib/v20211206/models.rb', line 6488

def SrcCount
  @SrcCount
end

#TableObject

Parameters:

  • Db:

    数据库名

  • Table:

    集合

  • SrcCount:

    源端行数

  • DstCount:

    目标端行数



6488
6489
6490
# File 'lib/v20211206/models.rb', line 6488

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



6497
6498
6499
6500
6501
6502
# File 'lib/v20211206/models.rb', line 6497

def deserialize(params)
  @Db = params['Db']
  @Table = params['Table']
  @SrcCount = params['SrcCount']
  @DstCount = params['DstCount']
end