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.



31279
31280
31281
31282
# File 'lib/v20210820/models.rb', line 31279

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



31277
31278
31279
# File 'lib/v20210820/models.rb', line 31277

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    记录数

  • Items:

    规则执行结果



31277
31278
31279
# File 'lib/v20210820/models.rb', line 31277

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
# File 'lib/v20210820/models.rb', line 31284

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