Class: TencentCloud::Waf::V20180125::AddCustomRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::AddCustomRuleResponse
- Defined in:
- lib/v20180125/models.rb
Overview
AddCustomRule返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Success ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(success = nil, ruleid = nil, requestid = nil) ⇒ AddCustomRuleResponse
constructor
A new instance of AddCustomRuleResponse.
Constructor Details
#initialize(success = nil, ruleid = nil, requestid = nil) ⇒ AddCustomRuleResponse
Returns a new instance of AddCustomRuleResponse.
684 685 686 687 688 |
# File 'lib/v20180125/models.rb', line 684 def initialize(success=nil, ruleid=nil, requestid=nil) @Success = success @RuleId = ruleid @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
682 683 684 |
# File 'lib/v20180125/models.rb', line 682 def RequestId @RequestId end |
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
682 683 684 |
# File 'lib/v20180125/models.rb', line 682 def RuleId @RuleId end |
#Success ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
682 683 684 |
# File 'lib/v20180125/models.rb', line 682 def Success @Success end |
Instance Method Details
#deserialize(params) ⇒ Object
690 691 692 693 694 695 696 697 |
# File 'lib/v20180125/models.rb', line 690 def deserialize(params) unless params['Success'].nil? @Success = ResponseCode.new @Success.deserialize(params['Success']) end @RuleId = params['RuleId'] @RequestId = params['RequestId'] end |