Class: TencentCloud::Gpm::V20200820::CreateRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::CreateRuleResponse
- Defined in:
- lib/v20200820/models.rb
Overview
CreateRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleinfo = nil, requestid = nil) ⇒ CreateRuleResponse
constructor
A new instance of CreateRuleResponse.
Constructor Details
#initialize(ruleinfo = nil, requestid = nil) ⇒ CreateRuleResponse
Returns a new instance of CreateRuleResponse.
225 226 227 228 |
# File 'lib/v20200820/models.rb', line 225 def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
223 224 225 |
# File 'lib/v20200820/models.rb', line 223 def RequestId @RequestId end |
#RuleInfo ⇒ Object
223 224 225 |
# File 'lib/v20200820/models.rb', line 223 def RuleInfo @RuleInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
230 231 232 233 234 235 236 |
# File 'lib/v20200820/models.rb', line 230 def deserialize(params) unless params['RuleInfo'].nil? @RuleInfo = RuleInfo.new @RuleInfo.deserialize(params['RuleInfo']) end @RequestId = params['RequestId'] end |