Class: TencentCloud::Waf::V20180125::Goods
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::Goods
- Defined in:
- lib/v20180125/models.rb
Overview
计费下单接口出入参Goods
Instance Attribute Summary collapse
- #GoodsCategoryId ⇒ Object
- #GoodsDetail ⇒ Object
- #GoodsNum ⇒ Object
- #PayMode ⇒ Object
- #Platform ⇒ Object
- #ProjectId ⇒ Object
- #RegionId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paymode = nil, goodsnum = nil, goodsdetail = nil, projectid = nil, goodscategoryid = nil, platform = nil, regionid = nil) ⇒ Goods
constructor
A new instance of Goods.
Constructor Details
#initialize(paymode = nil, goodsnum = nil, goodsdetail = nil, projectid = nil, goodscategoryid = nil, platform = nil, regionid = nil) ⇒ Goods
Returns a new instance of Goods.
11686 11687 11688 11689 11690 11691 11692 11693 11694 |
# File 'lib/v20180125/models.rb', line 11686 def initialize(paymode=nil, goodsnum=nil, goodsdetail=nil, projectid=nil, goodscategoryid=nil, platform=nil, regionid=nil) @PayMode = paymode @GoodsNum = goodsnum @GoodsDetail = goodsdetail @ProjectId = projectid @GoodsCategoryId = goodscategoryid @Platform = platform @RegionId = regionid end |
Instance Attribute Details
#GoodsCategoryId ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def GoodsCategoryId @GoodsCategoryId end |
#GoodsDetail ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def GoodsDetail @GoodsDetail end |
#GoodsNum ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def GoodsNum @GoodsNum end |
#PayMode ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def PayMode @PayMode end |
#Platform ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def Platform @Platform end |
#ProjectId ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def ProjectId @ProjectId end |
#RegionId ⇒ Object
11684 11685 11686 |
# File 'lib/v20180125/models.rb', line 11684 def RegionId @RegionId end |
Instance Method Details
#deserialize(params) ⇒ Object
11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 |
# File 'lib/v20180125/models.rb', line 11696 def deserialize(params) @PayMode = params['PayMode'] @GoodsNum = params['GoodsNum'] unless params['GoodsDetail'].nil? @GoodsDetail = GoodsDetail.new @GoodsDetail.deserialize(params['GoodsDetail']) end @ProjectId = params['ProjectId'] @GoodsCategoryId = params['GoodsCategoryId'] @Platform = params['Platform'] @RegionId = params['RegionId'] end |