Class: TencentCloud::Waf::V20180125::ModifyModuleStatusRequest

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

Overview

ModifyModuleStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, websecurity = nil, accesscontrol = nil, ccprotection = nil, apiprotection = nil, antitamper = nil, antileakage = nil, ratelimit = nil) ⇒ ModifyModuleStatusRequest

Returns a new instance of ModifyModuleStatusRequest.



11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
# File 'lib/v20180125/models.rb', line 11008

def initialize(domain=nil, websecurity=nil, accesscontrol=nil, ccprotection=nil, apiprotection=nil, antitamper=nil, antileakage=nil, ratelimit=nil)
  @Domain = domain
  @WebSecurity = websecurity
  @AccessControl = accesscontrol
  @CcProtection = ccprotection
  @ApiProtection = apiprotection
  @AntiTamper = antitamper
  @AntiLeakage = antileakage
  @RateLimit = ratelimit
end

Instance Attribute Details

#AccessControlObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def AccessControl
  @AccessControl
end

#AntiLeakageObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def AntiLeakage
  @AntiLeakage
end

#AntiTamperObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def AntiTamper
  @AntiTamper
end

#ApiProtectionObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def ApiProtection
  @ApiProtection
end

#CcProtectionObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def CcProtection
  @CcProtection
end

#DomainObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def Domain
  @Domain
end

#RateLimitObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def RateLimit
  @RateLimit
end

#WebSecurityObject

Parameters:

  • Domain:

    需要设置的domain

  • WebSecurity:

    Web 安全模块开关,0或1

  • AccessControl:

    访问控制模块开关,0或者1

  • CcProtection:

    CC模块开关,0或者1

  • ApiProtection:

    API安全模块开关,0或者1

  • AntiTamper:

    防篡改模块开关,0或者1

  • AntiLeakage:

    防泄漏模块开关,0或者1

  • RateLimit:

    限流模块开关,0或1



11006
11007
11008
# File 'lib/v20180125/models.rb', line 11006

def WebSecurity
  @WebSecurity
end

Instance Method Details

#deserialize(params) ⇒ Object



11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
# File 'lib/v20180125/models.rb', line 11019

def deserialize(params)
  @Domain = params['Domain']
  @WebSecurity = params['WebSecurity']
  @AccessControl = params['AccessControl']
  @CcProtection = params['CcProtection']
  @ApiProtection = params['ApiProtection']
  @AntiTamper = params['AntiTamper']
  @AntiLeakage = params['AntiLeakage']
  @RateLimit = params['RateLimit']
end