Class: TencentCloud::Dts::V20211206::DifferenceDataDetail

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(totalcount = nil, items = nil) ⇒ DifferenceDataDetail

Returns a new instance of DifferenceDataDetail.



3765
3766
3767
3768
# File 'lib/v20211206/models.rb', line 3765

def initialize(totalcount=nil, items=nil)
  @TotalCount = totalcount
  @Items = items
end

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    总数

  • Items:

    mongo数据不一致详细列表



3763
3764
3765
# File 'lib/v20211206/models.rb', line 3763

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    总数

  • Items:

    mongo数据不一致详细列表



3763
3764
3765
# File 'lib/v20211206/models.rb', line 3763

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
# File 'lib/v20211206/models.rb', line 3770

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      differencedata_tmp = DifferenceData.new
      differencedata_tmp.deserialize(i)
      @Items << differencedata_tmp
    end
  end
end