Class: TencentCloud::Emr::V20190103::PartDetailPriceItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::PartDetailPriceItem
- Defined in:
- lib/v20190103/models.rb
Overview
用于创建集群价格清单-节点组成部分价格
Instance Attribute Summary collapse
- #GoodsNum ⇒ Object
- #InstanceType ⇒ Object
- #Policy ⇒ Object
- #Price ⇒ Object
- #RealCost ⇒ Object
- #RealTotalCost ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancetype = nil, price = nil, realcost = nil, realtotalcost = nil, policy = nil, goodsnum = nil) ⇒ PartDetailPriceItem
constructor
A new instance of PartDetailPriceItem.
Constructor Details
#initialize(instancetype = nil, price = nil, realcost = nil, realtotalcost = nil, policy = nil, goodsnum = nil) ⇒ PartDetailPriceItem
Returns a new instance of PartDetailPriceItem.
10900 10901 10902 10903 10904 10905 10906 10907 |
# File 'lib/v20190103/models.rb', line 10900 def initialize(instancetype=nil, price=nil, realcost=nil, realtotalcost=nil, policy=nil, goodsnum=nil) @InstanceType = instancetype @Price = price @RealCost = realcost @RealTotalCost = realtotalcost @Policy = policy @GoodsNum = goodsnum end |
Instance Attribute Details
#GoodsNum ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def GoodsNum @GoodsNum end |
#InstanceType ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def InstanceType @InstanceType end |
#Policy ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def Policy @Policy end |
#Price ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def Price @Price end |
#RealCost ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def RealCost @RealCost end |
#RealTotalCost ⇒ Object
10898 10899 10900 |
# File 'lib/v20190103/models.rb', line 10898 def RealTotalCost @RealTotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
10909 10910 10911 10912 10913 10914 10915 10916 |
# File 'lib/v20190103/models.rb', line 10909 def deserialize(params) @InstanceType = params['InstanceType'] @Price = params['Price'] @RealCost = params['RealCost'] @RealTotalCost = params['RealTotalCost'] @Policy = params['Policy'] @GoodsNum = params['GoodsNum'] end |