Class: TencentCloud::Waf::V20180125::DescribeRuleLimitResponse

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

Overview

DescribeRuleLimit返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(res = nil, requestid = nil) ⇒ DescribeRuleLimitResponse

Returns a new instance of DescribeRuleLimitResponse.



6151
6152
6153
6154
# File 'lib/v20180125/models.rb', line 6151

def initialize(res=nil, requestid=nil)
  @Res = res
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Res:

    waf模块的规格

  • RequestId:

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



6149
6150
6151
# File 'lib/v20180125/models.rb', line 6149

def RequestId
  @RequestId
end

#ResObject

Parameters:

  • Res:

    waf模块的规格

  • RequestId:

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



6149
6150
6151
# File 'lib/v20180125/models.rb', line 6149

def Res
  @Res
end

Instance Method Details

#deserialize(params) ⇒ Object



6156
6157
6158
6159
6160
6161
6162
# File 'lib/v20180125/models.rb', line 6156

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