Class: TencentCloud::Waf::V20180125::GoodNews

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

Overview

计费下单接口出入参Goods

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GoodsCategoryIdObject

注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RegionId:

    购买waf实例区域ID



7428
7429
7430
# File 'lib/v20180125/models.rb', line 7428

def GoodsCategoryId
  @GoodsCategoryId
end

#GoodsDetailObject

注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RegionId:

    购买waf实例区域ID



7428
7429
7430
# File 'lib/v20180125/models.rb', line 7428

def GoodsDetail
  @GoodsDetail
end

#GoodsNumObject

注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RegionId:

    购买waf实例区域ID



7428
7429
7430
# File 'lib/v20180125/models.rb', line 7428

def GoodsNum
  @GoodsNum
end

#RegionIdObject

注意:此字段可能返回 null,表示取不到有效值。 1 表示购买大陆资源; 9表示购买非中国大陆资源 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RegionId:

    购买waf实例区域ID



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