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, matchparams = nil) ⇒ UserWhiteRuleItem

Returns a new instance of UserWhiteRuleItem.



19900
19901
19902
19903
19904
19905
# File 'lib/v20180125/models.rb', line 19900

def initialize(matchfield=nil, matchmethod=nil, matchcontent=nil, matchparams=nil)
  @MatchField = matchfield
  @MatchMethod = matchmethod
  @MatchContent = matchcontent
  @MatchParams = matchparams
end

Instance Attribute Details

#MatchContentObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容

  • MatchParams:

    匹配参数名



19898
19899
19900
# File 'lib/v20180125/models.rb', line 19898

def MatchContent
  @MatchContent
end

#MatchFieldObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容

  • MatchParams:

    匹配参数名



19898
19899
19900
# File 'lib/v20180125/models.rb', line 19898

def MatchField
  @MatchField
end

#MatchMethodObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容

  • MatchParams:

    匹配参数名



19898
19899
19900
# File 'lib/v20180125/models.rb', line 19898

def MatchMethod
  @MatchMethod
end

#MatchParamsObject

Parameters:

  • MatchField:

    匹配域

  • MatchMethod:

    匹配方法

  • MatchContent:

    匹配内容

  • MatchParams:

    匹配参数名



19898
19899
19900
# File 'lib/v20180125/models.rb', line 19898

def MatchParams
  @MatchParams
end

Instance Method Details

#deserialize(params) ⇒ Object



19907
19908
19909
19910
19911
19912
# File 'lib/v20180125/models.rb', line 19907

def deserialize(params)
  @MatchField = params['MatchField']
  @MatchMethod = params['MatchMethod']
  @MatchContent = params['MatchContent']
  @MatchParams = params['MatchParams']
end