Class: TencentCloud::Waf::V20180125::GoodNews
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::GoodNews
- 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) ⇒ GoodNews
constructor
A new instance of GoodNews.
Constructor Details
#initialize(goodsnum = nil, goodsdetail = nil, goodscategoryid = nil, regionid = nil) ⇒ GoodNews
Returns a new instance of GoodNews.
7430 7431 7432 7433 7434 7435 |
# File 'lib/v20180125/models.rb', line 7430 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,表示取不到有效值。
7428 7429 7430 |
# File 'lib/v20180125/models.rb', line 7428 def GoodsCategoryId @GoodsCategoryId end |
#GoodsDetail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
7428 7429 7430 |
# File 'lib/v20180125/models.rb', line 7428 def GoodsDetail @GoodsDetail end |
#GoodsNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
7428 7429 7430 |
# File 'lib/v20180125/models.rb', line 7428 def GoodsNum @GoodsNum end |
#RegionId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。
7428 7429 7430 |
# File 'lib/v20180125/models.rb', line 7428 def RegionId @RegionId end |
Instance Method Details
#deserialize(params) ⇒ Object
7437 7438 7439 7440 7441 7442 7443 7444 7445 |
# File 'lib/v20180125/models.rb', line 7437 def deserialize(params) @GoodsNum = params['GoodsNum'] unless params['GoodsDetail'].nil? @GoodsDetail = GoodsDetailNew.new @GoodsDetail.deserialize(params['GoodsDetail']) end @GoodsCategoryId = params['GoodsCategoryId'] @RegionId = params['RegionId'] end |