Class: TencentCloud::Waf::V20180125::DescribeWafAutoDenyStatusResponse

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

Overview

DescribeWafAutoDenyStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(wafautodenydetails = nil, requestid = nil) ⇒ DescribeWafAutoDenyStatusResponse

Returns a new instance of DescribeWafAutoDenyStatusResponse.



6826
6827
6828
6829
# File 'lib/v20180125/models.rb', line 6826

def initialize(wafautodenydetails=nil, requestid=nil)
  @WafAutoDenyDetails = wafautodenydetails
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • WafAutoDenyDetails:

    WAF 自动封禁详情

  • RequestId:

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



6824
6825
6826
# File 'lib/v20180125/models.rb', line 6824

def RequestId
  @RequestId
end

#WafAutoDenyDetailsObject

Parameters:

  • WafAutoDenyDetails:

    WAF 自动封禁详情

  • RequestId:

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



6824
6825
6826
# File 'lib/v20180125/models.rb', line 6824

def WafAutoDenyDetails
  @WafAutoDenyDetails
end

Instance Method Details

#deserialize(params) ⇒ Object



6831
6832
6833
6834
6835
6836
6837
# File 'lib/v20180125/models.rb', line 6831

def deserialize(params)
  unless params['WafAutoDenyDetails'].nil?
    @WafAutoDenyDetails = AutoDenyDetail.new
    @WafAutoDenyDetails.deserialize(params['WafAutoDenyDetails'])
  end
  @RequestId = params['RequestId']
end