Class: TencentCloud::Wedata::V20210820::RulePage

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

Overview

数据质量规则分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil) ⇒ RulePage

Returns a new instance of RulePage.



21576
21577
21578
21579
# File 'lib/v20210820/models.rb', line 21576

def initialize(totalcount=nil, items=nil)
  @TotalCount = totalcount
  @Items = items
end

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则列表



21574
21575
21576
# File 'lib/v20210820/models.rb', line 21574

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则列表



21574
21575
21576
# File 'lib/v20210820/models.rb', line 21574

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
# File 'lib/v20210820/models.rb', line 21581

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      rule_tmp = Rule.new
      rule_tmp.deserialize(i)
      @Items << rule_tmp
    end
  end
end