Class: TencentCloud::Waf::V20180125::GenerateDealsAndPayNewRequest

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

Overview

GenerateDealsAndPayNew请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GoodsObject

Parameters:

  • Goods:

    计费下单入参



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