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.
17195 17196 17197 17198 |
# File 'lib/v20180125/models.rb', line 17195 def initialize(type=nil, count=nil) @Type = type @Count = count end |
Instance Attribute Details
#Count ⇒ Object
17193 17194 17195 |
# File 'lib/v20180125/models.rb', line 17193 def Count @Count end |
#Type ⇒ Object
17193 17194 17195 |
# File 'lib/v20180125/models.rb', line 17193 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
17200 17201 17202 17203 |
# File 'lib/v20180125/models.rb', line 17200 def deserialize(params) @Type = params['Type'] @Count = params['Count'] end |