Class: TencentCloud::Waf::V20180125::OwaspRuleType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::OwaspRuleType
- Defined in:
- lib/v20180125/models.rb
Overview
Owasp规则类型
Instance Attribute Summary collapse
- #Action ⇒ Object
- #ActiveRule ⇒ Object
- #Classification ⇒ Object
- #Description ⇒ Object
- #Level ⇒ Object
- #Status ⇒ Object
- #TotalRule ⇒ Object
- #TypeId ⇒ Object
- #TypeName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(typeid = nil, typename = nil, description = nil, classification = nil, action = nil, level = nil, status = nil, totalrule = nil, activerule = nil) ⇒ OwaspRuleType
constructor
A new instance of OwaspRuleType.
Constructor Details
#initialize(typeid = nil, typename = nil, description = nil, classification = nil, action = nil, level = nil, status = nil, totalrule = nil, activerule = nil) ⇒ OwaspRuleType
Returns a new instance of OwaspRuleType.
16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 |
# File 'lib/v20180125/models.rb', line 16947 def initialize(typeid=nil, typename=nil, description=nil, classification=nil, action=nil, level=nil, status=nil, totalrule=nil, activerule=nil) @TypeId = typeid @TypeName = typename @Description = description @Classification = classification @Action = action @Level = level @Status = status @TotalRule = totalrule @ActiveRule = activerule end |
Instance Attribute Details
#Action ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def Action @Action end |
#ActiveRule ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def ActiveRule @ActiveRule end |
#Classification ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def Classification @Classification end |
#Description ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def Description @Description end |
#Level ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def Level @Level end |
#Status ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def Status @Status end |
#TotalRule ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def TotalRule @TotalRule end |
#TypeId ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def TypeId @TypeId end |
#TypeName ⇒ Object
16945 16946 16947 |
# File 'lib/v20180125/models.rb', line 16945 def TypeName @TypeName end |
Instance Method Details
#deserialize(params) ⇒ Object
16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 |
# File 'lib/v20180125/models.rb', line 16959 def deserialize(params) @TypeId = params['TypeId'] @TypeName = params['TypeName'] @Description = params['Description'] @Classification = params['Classification'] @Action = params['Action'] @Level = params['Level'] @Status = params['Status'] @TotalRule = params['TotalRule'] @ActiveRule = params['ActiveRule'] end |