Class: TencentCloud::Waf::V20180125::UserWhiteRuleItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::UserWhiteRuleItem
- Defined in:
- lib/v20180125/models.rb
Overview
用户规则白名单规则子项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(matchfield = nil, matchmethod = nil, matchcontent = nil) ⇒ UserWhiteRuleItem
constructor
A new instance of UserWhiteRuleItem.
Constructor Details
#initialize(matchfield = nil, matchmethod = nil, matchcontent = nil) ⇒ UserWhiteRuleItem
Returns a new instance of UserWhiteRuleItem.
12153 12154 12155 12156 12157 |
# File 'lib/v20180125/models.rb', line 12153 def initialize(matchfield=nil, matchmethod=nil, matchcontent=nil) @MatchField = matchfield @MatchMethod = matchmethod @MatchContent = matchcontent end |
Instance Attribute Details
#MatchContent ⇒ Object
12151 12152 12153 |
# File 'lib/v20180125/models.rb', line 12151 def MatchContent @MatchContent end |
#MatchField ⇒ Object
12151 12152 12153 |
# File 'lib/v20180125/models.rb', line 12151 def MatchField @MatchField end |
#MatchMethod ⇒ Object
12151 12152 12153 |
# File 'lib/v20180125/models.rb', line 12151 def MatchMethod @MatchMethod end |
Instance Method Details
#deserialize(params) ⇒ Object
12159 12160 12161 12162 12163 |
# File 'lib/v20180125/models.rb', line 12159 def deserialize(params) @MatchField = params['MatchField'] @MatchMethod = params['MatchMethod'] @MatchContent = params['MatchContent'] end |