Class: TencentCloud::Waf::V20180125::PiechartItem

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

Overview

饼图数据类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, count = nil) ⇒ PiechartItem

Returns a new instance of PiechartItem.



11744
11745
11746
11747
# File 'lib/v20180125/models.rb', line 11744

def initialize(type=nil, count=nil)
  @Type = type
  @Count = count
end

Instance Attribute Details

#CountObject

Parameters:

  • Type:

    类型

  • Count:

    数量



11742
11743
11744
# File 'lib/v20180125/models.rb', line 11742

def Count
  @Count
end

#TypeObject

Parameters:

  • Type:

    类型

  • Count:

    数量



11742
11743
11744
# File 'lib/v20180125/models.rb', line 11742

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



11749
11750
11751
11752
# File 'lib/v20180125/models.rb', line 11749

def deserialize(params)
  @Type = params['Type']
  @Count = params['Count']
end