Class: TencentCloud::Waf::V20180125::ModifyAttackWhiteRuleResponse

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

Overview

ModifyAttackWhiteRule返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleid = nil, requestid = nil) ⇒ ModifyAttackWhiteRuleResponse

Returns a new instance of ModifyAttackWhiteRuleResponse.



9932
9933
9934
9935
# File 'lib/v20180125/models.rb', line 9932

def initialize(ruleid=nil, requestid=nil)
  @RuleId = ruleid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • RuleId:

    规则总数

  • RequestId:

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



9930
9931
9932
# File 'lib/v20180125/models.rb', line 9930

def RequestId
  @RequestId
end

#RuleIdObject

Parameters:

  • RuleId:

    规则总数

  • RequestId:

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



9930
9931
9932
# File 'lib/v20180125/models.rb', line 9930

def RuleId
  @RuleId
end

Instance Method Details

#deserialize(params) ⇒ Object



9937
9938
9939
9940
# File 'lib/v20180125/models.rb', line 9937

def deserialize(params)
  @RuleId = params['RuleId']
  @RequestId = params['RequestId']
end