Class: TencentCloud::Waf::V20180125::ModifyOwaspRuleTypeLevelRequest

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

Overview

ModifyOwaspRuleTypeLevel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, typeids = nil, ruletypelevel = nil) ⇒ ModifyOwaspRuleTypeLevelRequest

Returns a new instance of ModifyOwaspRuleTypeLevelRequest.



15984
15985
15986
15987
15988
# File 'lib/v20180125/models.rb', line 15984

def initialize(domain=nil, typeids=nil, ruletypelevel=nil)
  @Domain = domain
  @TypeIDs = typeids
  @RuleTypeLevel = ruletypelevel
end

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    域名

  • TypeIDs:

    规则类型ID列表

  • RuleTypeLevel:

    规则的防护等级,100:宽松、200:正常、300:严格、400:超严格



15982
15983
15984
# File 'lib/v20180125/models.rb', line 15982

def Domain
  @Domain
end

#RuleTypeLevelObject

Parameters:

  • Domain:

    域名

  • TypeIDs:

    规则类型ID列表

  • RuleTypeLevel:

    规则的防护等级,100:宽松、200:正常、300:严格、400:超严格



15982
15983
15984
# File 'lib/v20180125/models.rb', line 15982

def RuleTypeLevel
  @RuleTypeLevel
end

#TypeIDsObject

Parameters:

  • Domain:

    域名

  • TypeIDs:

    规则类型ID列表

  • RuleTypeLevel:

    规则的防护等级,100:宽松、200:正常、300:严格、400:超严格



15982
15983
15984
# File 'lib/v20180125/models.rb', line 15982

def TypeIDs
  @TypeIDs
end

Instance Method Details

#deserialize(params) ⇒ Object



15990
15991
15992
15993
15994
# File 'lib/v20180125/models.rb', line 15990

def deserialize(params)
  @Domain = params['Domain']
  @TypeIDs = params['TypeIDs']
  @RuleTypeLevel = params['RuleTypeLevel']
end