Class: TencentCloud::Solar::V20181011::ProjectStock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Solar::V20181011::ProjectStock
- Defined in:
- lib/v20181011/models.rb
Overview
项目奖品库存
Instance Attribute Summary collapse
- #PoolIdx ⇒ Object
- #PoolName ⇒ Object
- #PrizeBat ⇒ Object
- #PrizeId ⇒ Object
- #PrizeName ⇒ Object
- #RemainStock ⇒ Object
- #UsedStock ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(prizeid = nil, prizebat = nil, prizename = nil, usedstock = nil, remainstock = nil, poolidx = nil, poolname = nil) ⇒ ProjectStock
constructor
A new instance of ProjectStock.
Constructor Details
#initialize(prizeid = nil, prizebat = nil, prizename = nil, usedstock = nil, remainstock = nil, poolidx = nil, poolname = nil) ⇒ ProjectStock
Returns a new instance of ProjectStock.
1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/v20181011/models.rb', line 1214 def initialize(prizeid=nil, prizebat=nil, prizename=nil, usedstock=nil, remainstock=nil, poolidx=nil, poolname=nil) @PrizeId = prizeid @PrizeBat = prizebat @PrizeName = prizename @UsedStock = usedstock @RemainStock = remainstock @PoolIdx = poolidx @PoolName = poolname end |
Instance Attribute Details
#PoolIdx ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def PoolIdx @PoolIdx end |
#PoolName ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def PoolName @PoolName end |
#PrizeBat ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def PrizeBat @PrizeBat end |
#PrizeId ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def PrizeId @PrizeId end |
#PrizeName ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def PrizeName @PrizeName end |
#RemainStock ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def RemainStock @RemainStock end |
#UsedStock ⇒ Object
1212 1213 1214 |
# File 'lib/v20181011/models.rb', line 1212 def UsedStock @UsedStock end |
Instance Method Details
#deserialize(params) ⇒ Object
1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/v20181011/models.rb', line 1224 def deserialize(params) @PrizeId = params['PrizeId'] @PrizeBat = params['PrizeBat'] @PrizeName = params['PrizeName'] @UsedStock = params['UsedStock'] @RemainStock = params['RemainStock'] @PoolIdx = params['PoolIdx'] @PoolName = params['PoolName'] end |