Class: TencentCloud::Gpm::V20200820::DescribeRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeRuleResponse
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeRule返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleinfo = nil, requestid = nil) ⇒ DescribeRuleResponse
constructor
A new instance of DescribeRuleResponse.
Constructor Details
#initialize(ruleinfo = nil, requestid = nil) ⇒ DescribeRuleResponse
Returns a new instance of DescribeRuleResponse.
629 630 631 632 |
# File 'lib/v20200820/models.rb', line 629 def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
627 628 629 |
# File 'lib/v20200820/models.rb', line 627 def RequestId @RequestId end |
#RuleInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
627 628 629 |
# File 'lib/v20200820/models.rb', line 627 def RuleInfo @RuleInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
634 635 636 637 638 639 640 |
# File 'lib/v20200820/models.rb', line 634 def deserialize(params) unless params['RuleInfo'].nil? @RuleInfo = RuleInfo.new @RuleInfo.deserialize(params['RuleInfo']) end @RequestId = params['RequestId'] end |