Class: TencentCloud::Waf::V20180125::DescribeAttackTypeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAttackTypeResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAttackType返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(piechart = nil, requestid = nil) ⇒ DescribeAttackTypeResponse
constructor
A new instance of DescribeAttackTypeResponse.
Constructor Details
#initialize(piechart = nil, requestid = nil) ⇒ DescribeAttackTypeResponse
Returns a new instance of DescribeAttackTypeResponse.
4015 4016 4017 4018 |
# File 'lib/v20180125/models.rb', line 4015 def initialize(piechart=nil, requestid=nil) @Piechart = piechart @RequestId = requestid end |
Instance Attribute Details
#Piechart ⇒ Object
4013 4014 4015 |
# File 'lib/v20180125/models.rb', line 4013 def Piechart @Piechart end |
#RequestId ⇒ Object
4013 4014 4015 |
# File 'lib/v20180125/models.rb', line 4013 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 |
# File 'lib/v20180125/models.rb', line 4020 def deserialize(params) unless params['Piechart'].nil? @Piechart = [] params['Piechart'].each do |i| piechartitem_tmp = PiechartItem.new piechartitem_tmp.deserialize(i) @Piechart << piechartitem_tmp end end @RequestId = params['RequestId'] end |