Class: TencentCloud::Billing::V20180709::CostDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::CostDetail
- Defined in:
- lib/v20180709/models.rb
Overview
消耗明细数据类型
Instance Attribute Summary collapse
- #ActionTypeName ⇒ Object
- #BillId ⇒ Object
- #BusinessCodeName ⇒ Object
- #ComponentSet ⇒ Object
- #FeeBeginTime ⇒ Object
- #FeeEndTime ⇒ Object
- #OrderId ⇒ Object
- #PayerUin ⇒ Object
- #PayModeName ⇒ Object
- #ProductCode ⇒ Object
- #ProductCodeName ⇒ Object
- #ProjectName ⇒ Object
- #RegionName ⇒ Object
- #ResourceId ⇒ Object
- #ResourceName ⇒ Object
- #ZoneName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(payeruin = nil, businesscodename = nil, productcodename = nil, paymodename = nil, projectname = nil, regionname = nil, zonename = nil, resourceid = nil, resourcename = nil, actiontypename = nil, orderid = nil, billid = nil, feebegintime = nil, feeendtime = nil, componentset = nil, productcode = nil) ⇒ CostDetail
constructor
A new instance of CostDetail.
Constructor Details
#initialize(payeruin = nil, businesscodename = nil, productcodename = nil, paymodename = nil, projectname = nil, regionname = nil, zonename = nil, resourceid = nil, resourcename = nil, actiontypename = nil, orderid = nil, billid = nil, feebegintime = nil, feeendtime = nil, componentset = nil, productcode = nil) ⇒ CostDetail
Returns a new instance of CostDetail.
4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 |
# File 'lib/v20180709/models.rb', line 4731 def initialize(payeruin=nil, businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, feebegintime=nil, feeendtime=nil, componentset=nil, productcode=nil) @PayerUin = payeruin @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @ProjectName = projectname @RegionName = regionname @ZoneName = zonename @ResourceId = resourceid @ResourceName = resourcename @ActionTypeName = actiontypename @OrderId = orderid @BillId = billid @FeeBeginTime = feebegintime @FeeEndTime = feeendtime @ComponentSet = componentset @ProductCode = productcode end |
Instance Attribute Details
#ActionTypeName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ActionTypeName @ActionTypeName end |
#BillId ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def BillId @BillId end |
#BusinessCodeName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def BusinessCodeName @BusinessCodeName end |
#ComponentSet ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ComponentSet @ComponentSet end |
#FeeBeginTime ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def FeeBeginTime @FeeBeginTime end |
#FeeEndTime ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def FeeEndTime @FeeEndTime end |
#OrderId ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def OrderId @OrderId end |
#PayerUin ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def PayerUin @PayerUin end |
#PayModeName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def PayModeName @PayModeName end |
#ProductCode ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ProductCode @ProductCode end |
#ProductCodeName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ProductCodeName @ProductCodeName end |
#ProjectName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ProjectName @ProjectName end |
#RegionName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def RegionName @RegionName end |
#ResourceId ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ResourceId @ResourceId end |
#ResourceName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ResourceName @ResourceName end |
#ZoneName ⇒ Object
4729 4730 4731 |
# File 'lib/v20180709/models.rb', line 4729 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 |
# File 'lib/v20180709/models.rb', line 4750 def deserialize(params) @PayerUin = params['PayerUin'] @BusinessCodeName = params['BusinessCodeName'] @ProductCodeName = params['ProductCodeName'] @PayModeName = params['PayModeName'] @ProjectName = params['ProjectName'] @RegionName = params['RegionName'] @ZoneName = params['ZoneName'] @ResourceId = params['ResourceId'] @ResourceName = params['ResourceName'] @ActionTypeName = params['ActionTypeName'] @OrderId = params['OrderId'] @BillId = params['BillId'] @FeeBeginTime = params['FeeBeginTime'] @FeeEndTime = params['FeeEndTime'] unless params['ComponentSet'].nil? @ComponentSet = [] params['ComponentSet'].each do |i| costcomponentset_tmp = CostComponentSet.new costcomponentset_tmp.deserialize(i) @ComponentSet << costcomponentset_tmp end end @ProductCode = params['ProductCode'] end |