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) ⇒ CompareResult

Returns a new instance of CompareResult.



2854
2855
2856
2857
2858
2859
# File 'lib/v20210820/models.rb', line 2854

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数



2852
2853
2854
# File 'lib/v20210820/models.rb', line 2852

def Items
  @Items
end

#PassRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数



2852
2853
2854
# File 'lib/v20210820/models.rb', line 2852

def PassRows
  @PassRows
end

#TotalRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数



2852
2853
2854
# File 'lib/v20210820/models.rb', line 2852

def TotalRows
  @TotalRows
end

#TriggerRowsObject

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

Parameters:

  • Items:

    对比结果项列表

  • TotalRows:

    检测总行数

  • PassRows:

    检测通过行数

  • TriggerRows:

    检测不通过行数



2852
2853
2854
# File 'lib/v20210820/models.rb', line 2852

def TriggerRows
  @TriggerRows
end

Instance Method Details

#deserialize(params) ⇒ Object



2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'lib/v20210820/models.rb', line 2861

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']
end