Class: TencentCloud::Wedata::V20210820::RuleExecResultPage

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

Returns a new instance of RuleExecResultPage.



20809
20810
20811
20812
# File 'lib/v20210820/models.rb', line 20809

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



20807
20808
20809
# File 'lib/v20210820/models.rb', line 20807

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



20807
20808
20809
# File 'lib/v20210820/models.rb', line 20807

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
# File 'lib/v20210820/models.rb', line 20814

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