Class: TencentCloud::Waf::V20180125::CreateDealsGoods

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) ⇒ CreateDealsGoods

Returns a new instance of CreateDealsGoods.



3578
3579
3580
3581
3582
3583
# File 'lib/v20180125/models.rb', line 3578

def initialize(goodsnum=nil, goodsdetail=nil, goodscategoryid=nil, regionid=nil)
  @GoodsNum = goodsnum
  @GoodsDetail = goodsdetail
  @GoodsCategoryId = goodscategoryid
  @RegionId = regionid
end

Instance Attribute Details

#GoodsCategoryIdObject

高级版-CLB: 新购 101198 续费 101199 变配 101200 企业版-CLB 101204(新购),101205(续费),101206(变配) 旗舰版-CLB : 101201(新购),101202(续费),101203(变配) 域名包-CLB: 101207(新购),101208(续费),101209(变配) 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配) 1 表示购买大陆资源; 9表示购买非中国大陆资源

Parameters:

  • RegionId:

    购买waf实例区域ID



3576
3577
3578
# File 'lib/v20180125/models.rb', line 3576

def GoodsCategoryId
  @GoodsCategoryId
end

#GoodsDetailObject

高级版-CLB: 新购 101198 续费 101199 变配 101200 企业版-CLB 101204(新购),101205(续费),101206(变配) 旗舰版-CLB : 101201(新购),101202(续费),101203(变配) 域名包-CLB: 101207(新购),101208(续费),101209(变配) 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配) 1 表示购买大陆资源; 9表示购买非中国大陆资源

Parameters:

  • RegionId:

    购买waf实例区域ID



3576
3577
3578
# File 'lib/v20180125/models.rb', line 3576

def GoodsDetail
  @GoodsDetail
end

#GoodsNumObject

高级版-CLB: 新购 101198 续费 101199 变配 101200 企业版-CLB 101204(新购),101205(续费),101206(变配) 旗舰版-CLB : 101201(新购),101202(续费),101203(变配) 域名包-CLB: 101207(新购),101208(续费),101209(变配) 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配) 1 表示购买大陆资源; 9表示购买非中国大陆资源

Parameters:

  • RegionId:

    购买waf实例区域ID



3576
3577
3578
# File 'lib/v20180125/models.rb', line 3576

def GoodsNum
  @GoodsNum
end

#RegionIdObject

高级版-CLB: 新购 101198 续费 101199 变配 101200 企业版-CLB 101204(新购),101205(续费),101206(变配) 旗舰版-CLB : 101201(新购),101202(续费),101203(变配) 域名包-CLB: 101207(新购),101208(续费),101209(变配) 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配) 1 表示购买大陆资源; 9表示购买非中国大陆资源

Parameters:

  • RegionId:

    购买waf实例区域ID



3576
3577
3578
# File 'lib/v20180125/models.rb', line 3576

def RegionId
  @RegionId
end

Instance Method Details

#deserialize(params) ⇒ Object



3585
3586
3587
3588
3589
3590
3591
3592
3593
# File 'lib/v20180125/models.rb', line 3585

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