Class: TencentCloud::Waf::V20180125::GenerateDealsAndPayNewRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::GenerateDealsAndPayNewRequest
- Defined in:
- lib/v20180125/models.rb
Overview
GenerateDealsAndPayNew请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(goods = nil) ⇒ GenerateDealsAndPayNewRequest
constructor
A new instance of GenerateDealsAndPayNewRequest.
Constructor Details
#initialize(goods = nil) ⇒ GenerateDealsAndPayNewRequest
Returns a new instance of GenerateDealsAndPayNewRequest.
7789 7790 7791 |
# File 'lib/v20180125/models.rb', line 7789 def initialize(goods=nil) @Goods = goods end |
Instance Attribute Details
#Goods ⇒ Object
7787 7788 7789 |
# File 'lib/v20180125/models.rb', line 7787 def Goods @Goods end |
Instance Method Details
#deserialize(params) ⇒ Object
7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 |
# File 'lib/v20180125/models.rb', line 7793 def deserialize(params) unless params['Goods'].nil? @Goods = [] params['Goods'].each do |i| goodnews_tmp = GoodNews.new goodnews_tmp.deserialize(i) @Goods << goodnews_tmp end end end |