Class: TencentCloud::Waf::V20180125::ModifyUserSignatureRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyUserSignatureRuleRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyUserSignatureRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, mainclassid = nil, status = nil, ruleid = nil) ⇒ ModifyUserSignatureRuleRequest
constructor
A new instance of ModifyUserSignatureRuleRequest.
Constructor Details
#initialize(domain = nil, mainclassid = nil, status = nil, ruleid = nil) ⇒ ModifyUserSignatureRuleRequest
Returns a new instance of ModifyUserSignatureRuleRequest.
11423 11424 11425 11426 11427 11428 |
# File 'lib/v20180125/models.rb', line 11423 def initialize(domain=nil, mainclassid=nil, status=nil, ruleid=nil) @Domain = domain @MainClassID = mainclassid @Status = status @RuleID = ruleid end |
Instance Attribute Details
#Domain ⇒ Object
11421 11422 11423 |
# File 'lib/v20180125/models.rb', line 11421 def Domain @Domain end |
#MainClassID ⇒ Object
11421 11422 11423 |
# File 'lib/v20180125/models.rb', line 11421 def MainClassID @MainClassID end |
#RuleID ⇒ Object
11421 11422 11423 |
# File 'lib/v20180125/models.rb', line 11421 def RuleID @RuleID end |
#Status ⇒ Object
11421 11422 11423 |
# File 'lib/v20180125/models.rb', line 11421 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 |
# File 'lib/v20180125/models.rb', line 11430 def deserialize(params) @Domain = params['Domain'] @MainClassID = params['MainClassID'] @Status = params['Status'] unless params['RuleID'].nil? @RuleID = [] params['RuleID'].each do |i| requserrule_tmp = ReqUserRule.new requserrule_tmp.deserialize(i) @RuleID << requserrule_tmp end end end |