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.



31498
31499
31500
31501
# File 'lib/v20210820/models.rb', line 31498

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



31496
31497
31498
# File 'lib/v20210820/models.rb', line 31496

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



31496
31497
31498
# File 'lib/v20210820/models.rb', line 31496

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
# File 'lib/v20210820/models.rb', line 31503

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