Class: TencentCloud::Dayu::V20180709::CreateL7CCRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::CreateL7CCRuleResponse
- Defined in:
- lib/v20180709/models.rb
Overview
CreateL7CCRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleconfig = nil, requestid = nil) ⇒ CreateL7CCRuleResponse
constructor
A new instance of CreateL7CCRuleResponse.
Constructor Details
#initialize(ruleconfig = nil, requestid = nil) ⇒ CreateL7CCRuleResponse
Returns a new instance of CreateL7CCRuleResponse.
1003 1004 1005 1006 |
# File 'lib/v20180709/models.rb', line 1003 def initialize(ruleconfig=nil, requestid=nil) @RuleConfig = ruleconfig @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1001 1002 1003 |
# File 'lib/v20180709/models.rb', line 1001 def RequestId @RequestId end |
#RuleConfig ⇒ Object
1001 1002 1003 |
# File 'lib/v20180709/models.rb', line 1001 def RuleConfig @RuleConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/v20180709/models.rb', line 1008 def deserialize(params) unless params['RuleConfig'].nil? @RuleConfig = [] params['RuleConfig'].each do |i| ccruleconfig_tmp = CCRuleConfig.new ccruleconfig_tmp.deserialize(i) @RuleConfig << ccruleconfig_tmp end end @RequestId = params['RequestId'] end |