Class: TencentCloud::Dts::V20211206::DifferenceSchemaDetail

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

Overview

表结构不一致信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil) ⇒ DifferenceSchemaDetail

Returns a new instance of DifferenceSchemaDetail.



3933
3934
3935
3936
# File 'lib/v20211206/models.rb', line 3933

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • 表结构不一致的数量

  • 表结构不一致信息



3931
3932
3933
# File 'lib/v20211206/models.rb', line 3931

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • 表结构不一致的数量

  • 表结构不一致信息



3931
3932
3933
# File 'lib/v20211206/models.rb', line 3931

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/v20211206/models.rb', line 3938

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