Class: TencentCloud::Dayu::V20180709::DeleteNewL4RulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DeleteNewL4RulesRequest
- Defined in:
- lib/v20180709/models.rb
Overview
DeleteNewL4Rules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, rule = nil) ⇒ DeleteNewL4RulesRequest
constructor
A new instance of DeleteNewL4RulesRequest.
Constructor Details
#initialize(business = nil, rule = nil) ⇒ DeleteNewL4RulesRequest
Returns a new instance of DeleteNewL4RulesRequest.
2213 2214 2215 2216 |
# File 'lib/v20180709/models.rb', line 2213 def initialize(business=nil, rule=nil) @Business = business @Rule = rule end |
Instance Attribute Details
#Business ⇒ Object
2211 2212 2213 |
# File 'lib/v20180709/models.rb', line 2211 def Business @Business end |
#Rule ⇒ Object
2211 2212 2213 |
# File 'lib/v20180709/models.rb', line 2211 def Rule @Rule end |
Instance Method Details
#deserialize(params) ⇒ Object
2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 |
# File 'lib/v20180709/models.rb', line 2218 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 |