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.



4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/v20210820/models.rb', line 4070

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:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def CompareType
  @CompareType
end

#FixResultObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def FixResult
  @FixResult
end

#OperatorObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def Operator
  @Operator
end

#ResultValueObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def ResultValue
  @ResultValue
end

#ValueComputeTypeObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def ValueComputeType
  @ValueComputeType
end

#ValuesObject

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

Parameters:

  • FixResult:

    对比结果, 1为真 2为假

  • ResultValue:

    质量sql执行结果

  • Values:

    阈值列表

  • Operator:

    比较操作类型

  • CompareType:

    比较类型

  • ValueComputeType:

    值比较类型



4068
4069
4070
# File 'lib/v20210820/models.rb', line 4068

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
# File 'lib/v20210820/models.rb', line 4079

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