Class: TencentCloud::Gpm::V20200820::ModifyRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::ModifyRuleResponse
- Defined in:
- lib/v20200820/models.rb
Overview
ModifyRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleinfo = nil, requestid = nil) ⇒ ModifyRuleResponse
constructor
A new instance of ModifyRuleResponse.
Constructor Details
#initialize(ruleinfo = nil, requestid = nil) ⇒ ModifyRuleResponse
Returns a new instance of ModifyRuleResponse.
1208 1209 1210 1211 |
# File 'lib/v20200820/models.rb', line 1208 def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1206 1207 1208 |
# File 'lib/v20200820/models.rb', line 1206 def RequestId @RequestId end |
#RuleInfo ⇒ Object
1206 1207 1208 |
# File 'lib/v20200820/models.rb', line 1206 def RuleInfo @RuleInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/v20200820/models.rb', line 1213 def deserialize(params) unless params['RuleInfo'].nil? @RuleInfo = RuleInfo.new @RuleInfo.deserialize(params['RuleInfo']) end @RequestId = params['RequestId'] end |