Class: TencentCloud::Waf::V20180125::ApiSecCustomSensitiveRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ApiSecCustomSensitiveRule
- Defined in:
- lib/v20180125/models.rb
Overview
api安全客户自定义敏感检测规则
Instance Attribute Summary collapse
- #IsPan ⇒ Object
- #Level ⇒ Object
- #MatchCond ⇒ Object
- #MatchKey ⇒ Object
- #MatchValue ⇒ Object
- #Position ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(position = nil, matchkey = nil, matchvalue = nil, level = nil, matchcond = nil, ispan = nil) ⇒ ApiSecCustomSensitiveRule
constructor
A new instance of ApiSecCustomSensitiveRule.
Constructor Details
#initialize(position = nil, matchkey = nil, matchvalue = nil, level = nil, matchcond = nil, ispan = nil) ⇒ ApiSecCustomSensitiveRule
Returns a new instance of ApiSecCustomSensitiveRule.
1534 1535 1536 1537 1538 1539 1540 1541 |
# File 'lib/v20180125/models.rb', line 1534 def initialize(position=nil, matchkey=nil, matchvalue=nil, level=nil, matchcond=nil, ispan=nil) @Position = position @MatchKey = matchkey @MatchValue = matchvalue @Level = level @MatchCond = matchcond @IsPan = ispan end |
Instance Attribute Details
#IsPan ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def IsPan @IsPan end |
#Level ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def Level @Level end |
#MatchCond ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def MatchCond @MatchCond end |
#MatchKey ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def MatchKey @MatchKey end |
#MatchValue ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def MatchValue @MatchValue end |
#Position ⇒ Object
1532 1533 1534 |
# File 'lib/v20180125/models.rb', line 1532 def Position @Position end |
Instance Method Details
#deserialize(params) ⇒ Object
1543 1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/v20180125/models.rb', line 1543 def deserialize(params) @Position = params['Position'] @MatchKey = params['MatchKey'] @MatchValue = params['MatchValue'] @Level = params['Level'] @MatchCond = params['MatchCond'] @IsPan = params['IsPan'] end |