Class: TencentCloud::Dayu::V20180709::DeleteNewL4RulesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180709/models.rb

Overview

DeleteNewL4Rules请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BusinessObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP)

  • Rule:

    删除接口结构体



2211
2212
2213
# File 'lib/v20180709/models.rb', line 2211

def Business
  @Business
end

#RuleObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP)

  • Rule:

    删除接口结构体



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