Ver Fonte

Generated 2017-12-14 for BssOpenApi.

sdk-team há 6 anos atrás
pai
commit
d5ea37bf2c

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-01-09 Version: v1.60.326
+- Generated 2017-12-14 for `BssOpenApi`.
+- Support DAILY report in QueryInstanBill.
+
 2020-01-09 Version: v1.60.325
 - Generated 2017-11-10 for `Ens`.
 - Add New Interface DescribeInstanceTypes.

+ 2 - 0
services/bssopenapi/query_instance_bill.go

@@ -82,8 +82,10 @@ type QueryInstanceBillRequest struct {
 	BillingCycle     string           `position:"Query" name:"BillingCycle"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
 	PageNum          requests.Integer `position:"Query" name:"PageNum"`
+	BillingDate      string           `position:"Query" name:"BillingDate"`
 	ProductType      string           `position:"Query" name:"ProductType"`
 	IsBillingItem    requests.Boolean `position:"Query" name:"IsBillingItem"`
+	Granularity      string           `position:"Query" name:"Granularity"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
 }
 

+ 1 - 1
services/bssopenapi/struct_data.go

@@ -60,10 +60,10 @@ type Data struct {
 	CostUnit                    CostUnit                             `json:"CostUnit" xml:"CostUnit"`
 	CostUnitStatisInfo          CostUnitStatisInfo                   `json:"CostUnitStatisInfo" xml:"CostUnitStatisInfo"`
 	ModuleList                  ModuleList                           `json:"ModuleList" xml:"ModuleList"`
-	Items                       ItemsInQueryInstanceBill             `json:"Items" xml:"Items"`
 	InstanceList                []Instance                           `json:"InstanceList" xml:"InstanceList"`
 	OrderList                   OrderListInQueryOrders               `json:"OrderList" xml:"OrderList"`
 	Modules                     Modules                              `json:"Modules" xml:"Modules"`
+	Items                       ItemsInQueryAccountBill              `json:"Items" xml:"Items"`
 	ResourcePackages            ResourcePackages                     `json:"ResourcePackages" xml:"ResourcePackages"`
 	ProductList                 ProductList                          `json:"ProductList" xml:"ProductList"`
 	ModuleDetails               ModuleDetailsInGetPayAsYouGoPrice    `json:"ModuleDetails" xml:"ModuleDetails"`

+ 1 - 0
services/bssopenapi/struct_item.go

@@ -87,6 +87,7 @@ type Item struct {
 	PaymentTransactionID        string  `json:"PaymentTransactionID" xml:"PaymentTransactionID"`
 	OrderID                     string  `json:"OrderID" xml:"OrderID"`
 	OrderType                   string  `json:"OrderType" xml:"OrderType"`
+	BillingDate                 string  `json:"BillingDate" xml:"BillingDate"`
 	DeductedByCoupons           float64 `json:"DeductedByCoupons" xml:"DeductedByCoupons"`
 	BillingItem                 string  `json:"BillingItem" xml:"BillingItem"`
 	Zone                        string  `json:"Zone" xml:"Zone"`