Class: TencentCloud::Waf::V20180125::CreateDealsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CreateDealsRequest
- Defined in:
- lib/v20180125/models.rb
Overview
CreateDeals请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(goods = nil) ⇒ CreateDealsRequest
constructor
A new instance of CreateDealsRequest.
Constructor Details
#initialize(goods = nil) ⇒ CreateDealsRequest
Returns a new instance of CreateDealsRequest.
2259 2260 2261 |
# File 'lib/v20180125/models.rb', line 2259 def initialize(goods=nil) @Goods = goods end |
Instance Attribute Details
#Goods ⇒ Object
2257 2258 2259 |
# File 'lib/v20180125/models.rb', line 2257 def Goods @Goods end |
Instance Method Details
#deserialize(params) ⇒ Object
2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/v20180125/models.rb', line 2263 def deserialize(params) unless params['Goods'].nil? @Goods = [] params['Goods'].each do |i| createdealsgoods_tmp = CreateDealsGoods.new createdealsgoods_tmp.deserialize(i) @Goods << createdealsgoods_tmp end end end |