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.



2723
2724
2725
2726
2727
2728
2729
2730
# File 'lib/v20210820/models.rb', line 2723

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:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def CompareType
  @CompareType
end

#FixResultObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def FixResult
  @FixResult
end

#OperatorObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def Operator
  @Operator
end

#ResultValueObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def ResultValue
  @ResultValue
end

#ValueComputeTypeObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def ValueComputeType
  @ValueComputeType
end

#ValuesObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



2721
2722
2723
# File 'lib/v20210820/models.rb', line 2721

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
# File 'lib/v20210820/models.rb', line 2732

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