Class: TencentCloud::Cwp::V20180228::ScreenEventsCnt
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ScreenEventsCnt
- Defined in:
- lib/v20180228/models.rb
Overview
统计入侵检测
Instance Attribute Summary collapse
-
#Category ⇒ Object
Value: 事件统计数.
-
#Title ⇒ Object
Value: 事件统计数.
-
#Total ⇒ Object
Value: 事件统计数.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, total = nil, category = nil) ⇒ ScreenEventsCnt
constructor
A new instance of ScreenEventsCnt.
Constructor Details
#initialize(title = nil, total = nil, category = nil) ⇒ ScreenEventsCnt
Returns a new instance of ScreenEventsCnt.
38409 38410 38411 38412 38413 |
# File 'lib/v20180228/models.rb', line 38409 def initialize(title=nil, total=nil, category=nil) @Title = title @Total = total @Category = category end |
Instance Attribute Details
#Category ⇒ Object
Value: 事件统计数
38407 38408 38409 |
# File 'lib/v20180228/models.rb', line 38407 def Category @Category end |
#Title ⇒ Object
Value: 事件统计数
38407 38408 38409 |
# File 'lib/v20180228/models.rb', line 38407 def Title @Title end |
#Total ⇒ Object
Value: 事件统计数
38407 38408 38409 |
# File 'lib/v20180228/models.rb', line 38407 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
38415 38416 38417 38418 38419 38420 38421 38422 38423 38424 38425 38426 |
# File 'lib/v20180228/models.rb', line 38415 def deserialize(params) @Title = params['Title'] @Total = params['Total'] unless params['Category'].nil? @Category = [] params['Category'].each do |i| screennamevalue_tmp = ScreenNameValue.new screennamevalue_tmp.deserialize(i) @Category << screennamevalue_tmp end end end |