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.
38023 38024 38025 38026 38027 |
# File 'lib/v20180228/models.rb', line 38023 def initialize(title=nil, total=nil, category=nil) @Title = title @Total = total @Category = category end |
Instance Attribute Details
#Category ⇒ Object
Value: 事件统计数
38021 38022 38023 |
# File 'lib/v20180228/models.rb', line 38021 def Category @Category end |
#Title ⇒ Object
Value: 事件统计数
38021 38022 38023 |
# File 'lib/v20180228/models.rb', line 38021 def Title @Title end |
#Total ⇒ Object
Value: 事件统计数
38021 38022 38023 |
# File 'lib/v20180228/models.rb', line 38021 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
38029 38030 38031 38032 38033 38034 38035 38036 38037 38038 38039 38040 |
# File 'lib/v20180228/models.rb', line 38029 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 |