Class: TencentCloud::Wedata::V20210820::CompareResult

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

Overview

质量检查对比结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items = nil, totalrows = nil, passrows = nil, triggerrows = nil, computeexpression = nil) ⇒ CompareResult

Returns a new instance of CompareResult.



4023
4024
4025
4026
4027
4028
4029
# File 'lib/v20210820/models.rb', line 4023

def initialize(items=nil, totalrows=nil, passrows=nil, triggerrows=nil, computeexpression=nil)
  @Items = items
  @TotalRows = totalrows
  @PassRows = passrows
  @TriggerRows = triggerrows
  @ComputeExpression = computeexpression
end

Instance Attribute Details

#ComputeExpressionObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数

  • ComputeExpression:

    比较关系



4021
4022
4023
# File 'lib/v20210820/models.rb', line 4021

def ComputeExpression
  @ComputeExpression
end

#ItemsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数

  • ComputeExpression:

    比较关系



4021
4022
4023
# File 'lib/v20210820/models.rb', line 4021

def Items
  @Items
end

#PassRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数

  • ComputeExpression:

    比较关系



4021
4022
4023
# File 'lib/v20210820/models.rb', line 4021

def PassRows
  @PassRows
end

#TotalRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数

  • ComputeExpression:

    比较关系



4021
4022
4023
# File 'lib/v20210820/models.rb', line 4021

def TotalRows
  @TotalRows
end

#TriggerRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数

  • ComputeExpression:

    比较关系



4021
4022
4023
# File 'lib/v20210820/models.rb', line 4021

def TriggerRows
  @TriggerRows
end

Instance Method Details

#deserialize(params) ⇒ Object



4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
# File 'lib/v20210820/models.rb', line 4031

def deserialize(params)
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      compareresultitem_tmp = CompareResultItem.new
      compareresultitem_tmp.deserialize(i)
      @Items << compareresultitem_tmp
    end
  end
  @TotalRows = params['TotalRows']
  @PassRows = params['PassRows']
  @TriggerRows = params['TriggerRows']
  @ComputeExpression = params['ComputeExpression']
end