Class: TencentCloud::Solar::V20181011::ReplenishProjectStockRequest

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

Overview

ReplenishProjectStock请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subprojectid = nil, prizeid = nil, prizenum = nil, poolindex = nil, poolname = nil) ⇒ ReplenishProjectStockRequest

Returns a new instance of ReplenishProjectStockRequest.



1250
1251
1252
1253
1254
1255
1256
# File 'lib/v20181011/models.rb', line 1250

def initialize(subprojectid=nil, prizeid=nil, prizenum=nil, poolindex=nil, poolname=nil)
  @SubProjectId = subprojectid
  @PrizeId = prizeid
  @PrizeNum = prizenum
  @PoolIndex = poolindex
  @PoolName = poolname
end

Instance Attribute Details

#PoolIndex ⇒ Object

Parameters:

  • SubProjectId: —

    项目id

  • PrizeId: —

    奖品id

  • PrizeNum: —

    奖品数量

  • PoolIndex: —

    奖池索引

  • PoolName: —

    奖池名称



1248
1249
1250
# File 'lib/v20181011/models.rb', line 1248

def PoolIndex
  @PoolIndex
end

#PoolName ⇒ Object

Parameters:

  • SubProjectId: —

    项目id

  • PrizeId: —

    奖品id

  • PrizeNum: —

    奖品数量

  • PoolIndex: —

    奖池索引

  • PoolName: —

    奖池名称



1248
1249
1250
# File 'lib/v20181011/models.rb', line 1248

def PoolName
  @PoolName
end

#PrizeId ⇒ Object

Parameters:

  • SubProjectId: —

    项目id

  • PrizeId: —

    奖品id

  • PrizeNum: —

    奖品数量

  • PoolIndex: —

    奖池索引

  • PoolName: —

    奖池名称



1248
1249
1250
# File 'lib/v20181011/models.rb', line 1248

def PrizeId
  @PrizeId
end

#PrizeNum ⇒ Object

Parameters:

  • SubProjectId: —

    项目id

  • PrizeId: —

    奖品id

  • PrizeNum: —

    奖品数量

  • PoolIndex: —

    奖池索引

  • PoolName: —

    奖池名称



1248
1249
1250
# File 'lib/v20181011/models.rb', line 1248

def PrizeNum
  @PrizeNum
end

#SubProjectId ⇒ Object

Parameters:

  • SubProjectId: —

    项目id

  • PrizeId: —

    奖品id

  • PrizeNum: —

    奖品数量

  • PoolIndex: —

    奖池索引

  • PoolName: —

    奖池名称



1248
1249
1250
# File 'lib/v20181011/models.rb', line 1248

def SubProjectId
  @SubProjectId
end

Instance Method Details

#deserialize(params) ⇒ Object



1258
1259
1260
1261
1262
1263
1264
# File 'lib/v20181011/models.rb', line 1258

def deserialize(params)
  @SubProjectId = params['SubProjectId']
  @PrizeId = params['PrizeId']
  @PrizeNum = params['PrizeNum']
  @PoolIndex = params['PoolIndex']
  @PoolName = params['PoolName']
end