Class: TencentCloud::Emr::V20190103::NodeRenewPriceDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::NodeRenewPriceDetail
- Defined in:
- lib/v20190103/models.rb
Overview
节点续费询价明细
Instance Attribute Summary collapse
- #ChargeType ⇒ Object
- #DiscountCost ⇒ Object
- #EmrResourceId ⇒ Object
- #ExpireTime ⇒ Object
- #Ip ⇒ Object
- #NodeType ⇒ Object
- #OriginalCost ⇒ Object
- #RenewPriceDetails ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(chargetype = nil, emrresourceid = nil, nodetype = nil, ip = nil, expiretime = nil, originalcost = nil, discountcost = nil, renewpricedetails = nil) ⇒ NodeRenewPriceDetail
constructor
A new instance of NodeRenewPriceDetail.
Constructor Details
#initialize(chargetype = nil, emrresourceid = nil, nodetype = nil, ip = nil, expiretime = nil, originalcost = nil, discountcost = nil, renewpricedetails = nil) ⇒ NodeRenewPriceDetail
Returns a new instance of NodeRenewPriceDetail.
10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 |
# File 'lib/v20190103/models.rb', line 10150 def initialize(chargetype=nil, emrresourceid=nil, nodetype=nil, ip=nil, expiretime=nil, originalcost=nil, discountcost=nil, renewpricedetails=nil) @ChargeType = chargetype @EmrResourceId = emrresourceid @NodeType = nodetype @Ip = ip @ExpireTime = expiretime @OriginalCost = originalcost @DiscountCost = discountcost @RenewPriceDetails = renewpricedetails end |
Instance Attribute Details
#ChargeType ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def ChargeType @ChargeType end |
#DiscountCost ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def DiscountCost @DiscountCost end |
#EmrResourceId ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def EmrResourceId @EmrResourceId end |
#ExpireTime ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def ExpireTime @ExpireTime end |
#Ip ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def Ip @Ip end |
#NodeType ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def NodeType @NodeType end |
#OriginalCost ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def OriginalCost @OriginalCost end |
#RenewPriceDetails ⇒ Object
10148 10149 10150 |
# File 'lib/v20190103/models.rb', line 10148 def RenewPriceDetails @RenewPriceDetails end |
Instance Method Details
#deserialize(params) ⇒ Object
10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 |
# File 'lib/v20190103/models.rb', line 10161 def deserialize(params) @ChargeType = params['ChargeType'] @EmrResourceId = params['EmrResourceId'] @NodeType = params['NodeType'] @Ip = params['Ip'] @ExpireTime = params['ExpireTime'] @OriginalCost = params['OriginalCost'] @DiscountCost = params['DiscountCost'] unless params['RenewPriceDetails'].nil? @RenewPriceDetails = [] params['RenewPriceDetails'].each do |i| renewpricedetail_tmp = RenewPriceDetail.new renewpricedetail_tmp.deserialize(i) @RenewPriceDetails << renewpricedetail_tmp end end end |