Class: TencentCloud::Waf::V20180125::DescribeModuleStatusResponse

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

Overview

DescribeModuleStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(websecurity = nil, accesscontrol = nil, ccprotection = nil, antitamper = nil, antileakage = nil, apiprotection = nil, ratelimit = nil, requestid = nil) ⇒ DescribeModuleStatusResponse

Returns a new instance of DescribeModuleStatusResponse.



5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
# File 'lib/v20180125/models.rb', line 5191

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

Instance Attribute Details

#AccessControlObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def AccessControl
  @AccessControl
end

#AntiLeakageObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def AntiLeakage
  @AntiLeakage
end

#AntiTamperObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def AntiTamper
  @AntiTamper
end

#ApiProtectionObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def ApiProtection
  @ApiProtection
end

#CcProtectionObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def CcProtection
  @CcProtection
end

#RateLimitObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def RateLimit
  @RateLimit
end

#RequestIdObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def RequestId
  @RequestId
end

#WebSecurityObject

Parameters:

  • WebSecurity:

    WEB安全规则是否开启

  • AccessControl:

    访问控制规则是否开启

  • CcProtection:

    CC防护是否开启

  • AntiTamper:

    网页防篡改是否开启

  • AntiLeakage:

    信息防泄漏是否开启

  • ApiProtection:

    API安全是否开启

  • RateLimit:

    限流模块开关

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5189
5190
5191
# File 'lib/v20180125/models.rb', line 5189

def WebSecurity
  @WebSecurity
end

Instance Method Details

#deserialize(params) ⇒ Object



5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
# File 'lib/v20180125/models.rb', line 5202

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