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.



21292
21293
21294
21295
# File 'lib/v20210820/models.rb', line 21292

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则列表



21290
21291
21292
# File 'lib/v20210820/models.rb', line 21290

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则列表



21290
21291
21292
# File 'lib/v20210820/models.rb', line 21290

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
# File 'lib/v20210820/models.rb', line 21297

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