Class: TencentCloud::Waf::V20180125::CreateDealsGoods
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CreateDealsGoods
- Defined in:
- lib/v20180125/models.rb
Overview
计费下单接口出入参Goods
Instance Attribute Summary collapse
-
#GoodsCategoryId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。.
-
#GoodsDetail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。.
-
#GoodsNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。.
-
#RegionId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(goodsnum = nil, goodsdetail = nil, goodscategoryid = nil, regionid = nil) ⇒ CreateDealsGoods
constructor
A new instance of CreateDealsGoods.
Constructor Details
#initialize(goodsnum = nil, goodsdetail = nil, goodscategoryid = nil, regionid = nil) ⇒ CreateDealsGoods
Returns a new instance of CreateDealsGoods.
1874 1875 1876 1877 1878 1879 |
# File 'lib/v20180125/models.rb', line 1874 def initialize(goodsnum=nil, goodsdetail=nil, goodscategoryid=nil, regionid=nil) @GoodsNum = goodsnum @GoodsDetail = goodsdetail @GoodsCategoryId = goodscategoryid @RegionId = regionid end |
Instance Attribute Details
#GoodsCategoryId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
1872 1873 1874 |
# File 'lib/v20180125/models.rb', line 1872 def GoodsCategoryId @GoodsCategoryId end |
#GoodsDetail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
1872 1873 1874 |
# File 'lib/v20180125/models.rb', line 1872 def GoodsDetail @GoodsDetail end |
#GoodsNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
1872 1873 1874 |
# File 'lib/v20180125/models.rb', line 1872 def GoodsNum @GoodsNum end |
#RegionId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
1872 1873 1874 |
# File 'lib/v20180125/models.rb', line 1872 def RegionId @RegionId end |
Instance Method Details
#deserialize(params) ⇒ Object
1881 1882 1883 1884 1885 1886 1887 1888 1889 |
# File 'lib/v20180125/models.rb', line 1881 def deserialize(params) @GoodsNum = params['GoodsNum'] unless params['GoodsDetail'].nil? @GoodsDetail = CreateDealsGoodsDetail.new @GoodsDetail.deserialize(params['GoodsDetail']) end @GoodsCategoryId = params['GoodsCategoryId'] @RegionId = params['RegionId'] end |