Class: TencentCloud::Waf::V20180125::UserWhiteRuleItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

用户规则白名单规则子项

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MatchContentObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容



12151
12152
12153
# File 'lib/v20180125/models.rb', line 12151

def MatchContent
  @MatchContent
end

#MatchFieldObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容



12151
12152
12153
# File 'lib/v20180125/models.rb', line 12151

def MatchField
  @MatchField
end

#MatchMethodObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容



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