Class: TencentCloud::Billing::V20180709::DescribeDosageDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeDosageDetail
- Defined in:
- lib/v20180709/models.rb
Overview
计量标准接入类产品支持API接口获取用量明细返回数据结构
Instance Attribute Summary collapse
- #AttrStr ⇒ Object
- #BillingItemCode ⇒ Object
- #BillingItemCodeName ⇒ Object
- #Date ⇒ Object
- #DeductValue ⇒ Object
- #DosageBeginTime ⇒ Object
- #DosageEndTime ⇒ Object
- #DosageType ⇒ Object
- #DosageUnit ⇒ Object
- #DosageValue ⇒ Object
- #ProductCode ⇒ Object
- #ProductCodeName ⇒ Object
- #RemainValue ⇒ Object
- #SdkAppId ⇒ Object
- #SheetName ⇒ Object
- #SubBillingItemCode ⇒ Object
- #SubBillingItemCodeName ⇒ Object
- #SubProductCode ⇒ Object
- #SubProductCodeName ⇒ Object
- #Uin ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(date = nil, uin = nil, dosagetype = nil, productcode = nil, subproductcode = nil, billingitemcode = nil, subbillingitemcode = nil, productcodename = nil, subproductcodename = nil, billingitemcodename = nil, subbillingitemcodename = nil, dosageunit = nil, dosagebegintime = nil, dosageendtime = nil, dosagevalue = nil, deductvalue = nil, remainvalue = nil, sdkappid = nil, attrstr = nil, sheetname = nil) ⇒ DescribeDosageDetail
constructor
A new instance of DescribeDosageDetail.
Constructor Details
#initialize(date = nil, uin = nil, dosagetype = nil, productcode = nil, subproductcode = nil, billingitemcode = nil, subbillingitemcode = nil, productcodename = nil, subproductcodename = nil, billingitemcodename = nil, subbillingitemcodename = nil, dosageunit = nil, dosagebegintime = nil, dosageendtime = nil, dosagevalue = nil, deductvalue = nil, remainvalue = nil, sdkappid = nil, attrstr = nil, sheetname = nil) ⇒ DescribeDosageDetail
Returns a new instance of DescribeDosageDetail.
9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 |
# File 'lib/v20180709/models.rb', line 9105 def initialize(date=nil, uin=nil, dosagetype=nil, productcode=nil, subproductcode=nil, billingitemcode=nil, subbillingitemcode=nil, productcodename=nil, subproductcodename=nil, billingitemcodename=nil, subbillingitemcodename=nil, dosageunit=nil, dosagebegintime=nil, dosageendtime=nil, dosagevalue=nil, deductvalue=nil, remainvalue=nil, sdkappid=nil, attrstr=nil, sheetname=nil) @Date = date @Uin = uin @DosageType = dosagetype @ProductCode = productcode @SubProductCode = subproductcode @BillingItemCode = billingitemcode @SubBillingItemCode = subbillingitemcode @ProductCodeName = productcodename @SubProductCodeName = subproductcodename @BillingItemCodeName = billingitemcodename @SubBillingItemCodeName = subbillingitemcodename @DosageUnit = dosageunit @DosageBeginTime = dosagebegintime @DosageEndTime = dosageendtime @DosageValue = dosagevalue @DeductValue = deductvalue @RemainValue = remainvalue @SdkAppId = sdkappid @AttrStr = attrstr @SheetName = sheetname end |
Instance Attribute Details
#AttrStr ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def AttrStr @AttrStr end |
#BillingItemCode ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def BillingItemCode @BillingItemCode end |
#BillingItemCodeName ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def BillingItemCodeName @BillingItemCodeName end |
#Date ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def Date @Date end |
#DeductValue ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DeductValue @DeductValue end |
#DosageBeginTime ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DosageBeginTime @DosageBeginTime end |
#DosageEndTime ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DosageEndTime @DosageEndTime end |
#DosageType ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DosageType @DosageType end |
#DosageUnit ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DosageUnit @DosageUnit end |
#DosageValue ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def DosageValue @DosageValue end |
#ProductCode ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def ProductCode @ProductCode end |
#ProductCodeName ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def ProductCodeName @ProductCodeName end |
#RemainValue ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def RemainValue @RemainValue end |
#SdkAppId ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SdkAppId @SdkAppId end |
#SheetName ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SheetName @SheetName end |
#SubBillingItemCode ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SubBillingItemCode @SubBillingItemCode end |
#SubBillingItemCodeName ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SubBillingItemCodeName @SubBillingItemCodeName end |
#SubProductCode ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SubProductCode @SubProductCode end |
#SubProductCodeName ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def SubProductCodeName @SubProductCodeName end |
#Uin ⇒ Object
9103 9104 9105 |
# File 'lib/v20180709/models.rb', line 9103 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 |
# File 'lib/v20180709/models.rb', line 9128 def deserialize(params) @Date = params['Date'] @Uin = params['Uin'] @DosageType = params['DosageType'] @ProductCode = params['ProductCode'] @SubProductCode = params['SubProductCode'] @BillingItemCode = params['BillingItemCode'] @SubBillingItemCode = params['SubBillingItemCode'] @ProductCodeName = params['ProductCodeName'] @SubProductCodeName = params['SubProductCodeName'] @BillingItemCodeName = params['BillingItemCodeName'] @SubBillingItemCodeName = params['SubBillingItemCodeName'] @DosageUnit = params['DosageUnit'] @DosageBeginTime = params['DosageBeginTime'] @DosageEndTime = params['DosageEndTime'] @DosageValue = params['DosageValue'] @DeductValue = params['DeductValue'] @RemainValue = params['RemainValue'] @SdkAppId = params['SdkAppId'] unless params['AttrStr'].nil? @AttrStr = [] params['AttrStr'].each do |i| jsonobject_tmp = JsonObject.new jsonobject_tmp.deserialize(i) @AttrStr << jsonobject_tmp end end @SheetName = params['SheetName'] end |