Class: TencentCloud::Wedata::V20210820::CompareResultItem

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

Overview

对比结果项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fixresult = nil, resultvalue = nil, values = nil, operator = nil, comparetype = nil, valuecomputetype = nil) ⇒ CompareResultItem

Returns a new instance of CompareResultItem.



2899
2900
2901
2902
2903
2904
2905
2906
# File 'lib/v20210820/models.rb', line 2899

def initialize(fixresult=nil, resultvalue=nil, values=nil, operator=nil, comparetype=nil, valuecomputetype=nil)
  @FixResult = fixresult
  @ResultValue = resultvalue
  @Values = values
  @Operator = operator
  @CompareType = comparetype
  @ValueComputeType = valuecomputetype
end

Instance Attribute Details

#CompareTypeObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def CompareType
  @CompareType
end

#FixResultObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def FixResult
  @FixResult
end

#OperatorObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def Operator
  @Operator
end

#ResultValueObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def ResultValue
  @ResultValue
end

#ValueComputeTypeObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def ValueComputeType
  @ValueComputeType
end

#ValuesObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2897
2898
2899
# File 'lib/v20210820/models.rb', line 2897

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
# File 'lib/v20210820/models.rb', line 2908

def deserialize(params)
  @FixResult = params['FixResult']
  @ResultValue = params['ResultValue']
  unless params['Values'].nil?
    @Values = []
    params['Values'].each do |i|
      thresholdvalue_tmp = ThresholdValue.new
      thresholdvalue_tmp.deserialize(i)
      @Values << thresholdvalue_tmp
    end
  end
  @Operator = params['Operator']
  @CompareType = params['CompareType']
  @ValueComputeType = params['ValueComputeType']
end