Class: TencentCloud::Wedata::V20210820::RuleHistoryPage

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

Returns a new instance of RuleHistoryPage.



28976
28977
28978
28979
# File 'lib/v20210820/models.rb', line 28976

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则操作历史列表



28974
28975
28976
# File 'lib/v20210820/models.rb', line 28974

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则操作历史列表



28974
28975
28976
# File 'lib/v20210820/models.rb', line 28974

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
# File 'lib/v20210820/models.rb', line 28981

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