Class: TencentCloud::Dayu::V20180709::DeleteNewL7RulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DeleteNewL7RulesRequest
- Defined in:
- lib/v20180709/models.rb
Overview
DeleteNewL7Rules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, rule = nil) ⇒ DeleteNewL7RulesRequest
constructor
A new instance of DeleteNewL7RulesRequest.
Constructor Details
#initialize(business = nil, rule = nil) ⇒ DeleteNewL7RulesRequest
2263 2264 2265 2266 |
# File 'lib/v20180709/models.rb', line 2263 def initialize(business=nil, rule=nil) @Business = business @Rule = rule end |
Instance Attribute Details
#Business ⇒ Object
2261 2262 2263 |
# File 'lib/v20180709/models.rb', line 2261 def Business @Business end |
#Rule ⇒ Object
2261 2262 2263 |
# File 'lib/v20180709/models.rb', line 2261 def Rule @Rule end |
Instance Method Details
#deserialize(params) ⇒ Object
2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 |
# File 'lib/v20180709/models.rb', line 2268 def deserialize(params) @Business = params['Business'] unless params['Rule'].nil? @Rule = [] params['Rule'].each do |i| l4delrule_tmp = L4DelRule.new l4delrule_tmp.deserialize(i) @Rule << l4delrule_tmp end end end |