Class: TencentCloud::Wedata::V20210820::WeightInfo

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

Overview

权重信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(weight = nil, qualitydim = nil) ⇒ WeightInfo

Returns a new instance of WeightInfo.



40782
40783
40784
40785
# File 'lib/v20210820/models.rb', line 40782

def initialize(weight=nil, qualitydim=nil)
  @Weight = weight
  @QualityDim = qualitydim
end

Instance Attribute Details

#QualityDimObject

Parameters:

  • Weight:

    权重

  • QualityDim:

    维度类型 1:准确性,2:唯一性,3:完整性,4:一致性,5:及时性,6:有效性



40780
40781
40782
# File 'lib/v20210820/models.rb', line 40780

def QualityDim
  @QualityDim
end

#WeightObject

Parameters:

  • Weight:

    权重

  • QualityDim:

    维度类型 1:准确性,2:唯一性,3:完整性,4:一致性,5:及时性,6:有效性



40780
40781
40782
# File 'lib/v20210820/models.rb', line 40780

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



40787
40788
40789
40790
# File 'lib/v20210820/models.rb', line 40787

def deserialize(params)
  @Weight = params['Weight']
  @QualityDim = params['QualityDim']
end