Class: TencentCloud::Waf::V20180125::AddAntiInfoLeakRulesResponse

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

Overview

AddAntiInfoLeakRules返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AddAntiInfoLeakRulesResponse.



449
450
451
452
# File 'lib/v20180125/models.rb', line 449

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • RuleId:

    规则ID

  • RequestId:

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



447
448
449
# File 'lib/v20180125/models.rb', line 447

def RequestId
  @RequestId
end

#RuleIdObject

Parameters:

  • RuleId:

    规则ID

  • RequestId:

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



447
448
449
# File 'lib/v20180125/models.rb', line 447

def RuleId
  @RuleId
end

Instance Method Details

#deserialize(params) ⇒ Object



454
455
456
457
# File 'lib/v20180125/models.rb', line 454

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