Class: TencentCloud::Waf::V20180125::PiechartItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::PiechartItem
- Defined in:
- lib/v20180125/models.rb
Overview
饼图数据类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, count = nil) ⇒ PiechartItem
constructor
A new instance of PiechartItem.
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
#Count ⇒ Object
11742 11743 11744 |
# File 'lib/v20180125/models.rb', line 11742 def Count @Count end |
#Type ⇒ Object
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 |