Class: TencentCloud::Waf::V20180125::ModifyGenerateDealsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyGenerateDealsRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyGenerateDeals请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(goods = nil) ⇒ ModifyGenerateDealsRequest
constructor
A new instance of ModifyGenerateDealsRequest.
Constructor Details
#initialize(goods = nil) ⇒ ModifyGenerateDealsRequest
Returns a new instance of ModifyGenerateDealsRequest.
10506 10507 10508 |
# File 'lib/v20180125/models.rb', line 10506 def initialize(goods=nil) @Goods = goods end |
Instance Attribute Details
#Goods ⇒ Object
10504 10505 10506 |
# File 'lib/v20180125/models.rb', line 10504 def Goods @Goods end |
Instance Method Details
#deserialize(params) ⇒ Object
10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 |
# File 'lib/v20180125/models.rb', line 10510 def deserialize(params) unless params['Goods'].nil? @Goods = [] params['Goods'].each do |i| goods_tmp = Goods.new goods_tmp.deserialize(i) @Goods << goods_tmp end end end |