Class: TencentCloud::Wedata::V20210820::ColumnLineagePair

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

Overview

列血缘对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sources = nil, target = nil) ⇒ ColumnLineagePair

Returns a new instance of ColumnLineagePair.



3685
3686
3687
3688
# File 'lib/v20210820/models.rb', line 3685

def initialize(sources=nil, target=nil)
  @Sources = sources
  @Target = target
end

Instance Attribute Details

#SourcesObject

Parameters:

  • Sources:

    列血缘来源方

  • Target:

    列血缘目标方



3683
3684
3685
# File 'lib/v20210820/models.rb', line 3683

def Sources
  @Sources
end

#TargetObject

Parameters:

  • Sources:

    列血缘来源方

  • Target:

    列血缘目标方



3683
3684
3685
# File 'lib/v20210820/models.rb', line 3683

def Target
  @Target
end

Instance Method Details

#deserialize(params) ⇒ Object



3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
# File 'lib/v20210820/models.rb', line 3690

def deserialize(params)
  unless params['Sources'].nil?
    @Sources = []
    params['Sources'].each do |i|
      columnlineage_tmp = ColumnLineage.new
      columnlineage_tmp.deserialize(i)
      @Sources << columnlineage_tmp
    end
  end
  unless params['Target'].nil?
    @Target = ColumnLineage.new
    @Target.deserialize(params['Target'])
  end
end