Class: TencentCloud::Dts::V20211206::SchemaDifference

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

Overview

结构不一致详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db = nil, schema = nil, table = nil, srcschema = nil, dstschema = nil) ⇒ SchemaDifference

Returns a new instance of SchemaDifference.



6520
6521
6522
6523
6524
6525
6526
# File 'lib/v20211206/models.rb', line 6520

def initialize(db=nil, schema=nil, table=nil, srcschema=nil, dstschema=nil)
  @Db = db
  @Schema = schema
  @Table = table
  @SrcSchema = srcschema
  @DstSchema = dstschema
end

Instance Attribute Details

#DbObject

Parameters:

  • Db:

    结构不一致的表所在库

  • Schema:

    结构不一致的表所在schema

  • Table:

    结构不一致的表

  • SrcSchema:

    源库表结构

  • DstSchema:

    目标库表结构



6518
6519
6520
# File 'lib/v20211206/models.rb', line 6518

def Db
  @Db
end

#DstSchemaObject

Parameters:

  • Db:

    结构不一致的表所在库

  • Schema:

    结构不一致的表所在schema

  • Table:

    结构不一致的表

  • SrcSchema:

    源库表结构

  • DstSchema:

    目标库表结构



6518
6519
6520
# File 'lib/v20211206/models.rb', line 6518

def DstSchema
  @DstSchema
end

#SchemaObject

Parameters:

  • Db:

    结构不一致的表所在库

  • Schema:

    结构不一致的表所在schema

  • Table:

    结构不一致的表

  • SrcSchema:

    源库表结构

  • DstSchema:

    目标库表结构



6518
6519
6520
# File 'lib/v20211206/models.rb', line 6518

def Schema
  @Schema
end

#SrcSchemaObject

Parameters:

  • Db:

    结构不一致的表所在库

  • Schema:

    结构不一致的表所在schema

  • Table:

    结构不一致的表

  • SrcSchema:

    源库表结构

  • DstSchema:

    目标库表结构



6518
6519
6520
# File 'lib/v20211206/models.rb', line 6518

def SrcSchema
  @SrcSchema
end

#TableObject

Parameters:

  • Db:

    结构不一致的表所在库

  • Schema:

    结构不一致的表所在schema

  • Table:

    结构不一致的表

  • SrcSchema:

    源库表结构

  • DstSchema:

    目标库表结构



6518
6519
6520
# File 'lib/v20211206/models.rb', line 6518

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



6528
6529
6530
6531
6532
6533
6534
# File 'lib/v20211206/models.rb', line 6528

def deserialize(params)
  @Db = params['Db']
  @Schema = params['Schema']
  @Table = params['Table']
  @SrcSchema = params['SrcSchema']
  @DstSchema = params['DstSchema']
end