Class: TencentCloud::Wedata::V20210820::RuleDimStat

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

规则维度数统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcnt = nil, dimcntlist = nil) ⇒ RuleDimStat

Returns a new instance of RuleDimStat.



31134
31135
31136
31137
# File 'lib/v20210820/models.rb', line 31134

def initialize(totalcnt=nil, dimcntlist=nil)
  @TotalCnt = totalcnt
  @DimCntList = dimcntlist
end

Instance Attribute Details

#DimCntListObject

Parameters:

  • TotalCnt:

    总数

  • DimCntList:

    维度统计数



31132
31133
31134
# File 'lib/v20210820/models.rb', line 31132

def DimCntList
  @DimCntList
end

#TotalCntObject

Parameters:

  • TotalCnt:

    总数

  • DimCntList:

    维度统计数



31132
31133
31134
# File 'lib/v20210820/models.rb', line 31132

def TotalCnt
  @TotalCnt
end

Instance Method Details

#deserialize(params) ⇒ Object



31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
# File 'lib/v20210820/models.rb', line 31139

def deserialize(params)
  @TotalCnt = params['TotalCnt']
  unless params['DimCntList'].nil?
    @DimCntList = []
    params['DimCntList'].each do |i|
      ruledimcnt_tmp = RuleDimCnt.new
      ruledimcnt_tmp.deserialize(i)
      @DimCntList << ruledimcnt_tmp
    end
  end
end