瀏覽代碼

BSSOPENAPI SDK Auto Released By jianchong.zht,Version:1.51.13

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 年之前
父節點
當前提交
834583e211
共有 40 個文件被更改,包括 383 次插入1433 次删除
  1. 4 0
      ChangeLog.txt
  2. 0 115
      services/bssopenapi/change_consume_amount.go
  3. 0 111
      services/bssopenapi/create_user_quota.go
  4. 5 5
      services/bssopenapi/get_order_detail.go
  5. 0 110
      services/bssopenapi/query_account_book_list.go
  6. 5 5
      services/bssopenapi/query_available_instances.go
  7. 0 109
      services/bssopenapi/query_avaliable_quota.go
  8. 116 0
      services/bssopenapi/query_bill.go
  9. 110 0
      services/bssopenapi/query_bill_overview.go
  10. 0 111
      services/bssopenapi/query_enduser_status.go
  11. 29 26
      services/bssopenapi/query_instance_bill.go
  12. 5 5
      services/bssopenapi/query_instance_gaap_cost.go
  13. 5 5
      services/bssopenapi/query_monthly_instance_consumption.go
  14. 5 5
      services/bssopenapi/query_orders.go
  15. 5 5
      services/bssopenapi/query_product_list.go
  16. 5 5
      services/bssopenapi/query_redeem.go
  17. 5 5
      services/bssopenapi/query_settlement_bill.go
  18. 0 111
      services/bssopenapi/query_user_alarm_threshold.go
  19. 0 110
      services/bssopenapi/set_enduser_status.go
  20. 0 110
      services/bssopenapi/set_user_alarm_threshold.go
  21. 0 111
      services/bssopenapi/set_user_quota.go
  22. 11 20
      services/bssopenapi/struct_data.go
  23. 0 25
      services/bssopenapi/struct_data_in_get_order_detail.go
  24. 0 24
      services/bssopenapi/struct_data_in_query_available_instances.go
  25. 0 25
      services/bssopenapi/struct_data_in_query_instance_gaap_cost.go
  26. 0 25
      services/bssopenapi/struct_data_in_query_monthly_instance_consumption.go
  27. 0 25
      services/bssopenapi/struct_data_in_query_orders.go
  28. 0 24
      services/bssopenapi/struct_data_in_query_product_list.go
  29. 6 3
      services/bssopenapi/struct_data_in_query_redeem.go
  30. 0 25
      services/bssopenapi/struct_data_in_query_settlement_bill.go
  31. 5 2
      services/bssopenapi/struct_item.go
  32. 51 0
      services/bssopenapi/struct_item_in_query_instance_bill.go
  33. 3 3
      services/bssopenapi/struct_items_in_query_bill.go
  34. 3 3
      services/bssopenapi/struct_items_in_query_bill_overview.go
  35. 3 3
      services/bssopenapi/struct_items_in_query_instance_bill.go
  36. 0 4
      services/bssopenapi/struct_module.go
  37. 2 2
      services/bssopenapi/struct_modules.go
  38. 0 21
      services/bssopenapi/struct_modules_in_query_instance_gaap_cost.go
  39. 0 27
      services/bssopenapi/struct_tier_price.go
  40. 0 108
      services/bssopenapi/subscribe_detail.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-01-28 Version: 1.51.13
+1, Release 3 new Alibaba Cloud Bill API(QueryBillOverview、QueryBill、QueryInstanceBill). 
+2, Kindly suggest replace to new APIs who is using the old ones(QueryMonthlyBill、QuerySettlementBill、QueryMonthlyInstanceConsumption).
+
 2019-01-28 Version: 1.51.12
 1, Support modify vSwitch of scalingGroup.
 2, Support new target tracking scaling rule.

+ 0 - 115
services/bssopenapi/change_consume_amount.go

@@ -1,115 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// ChangeConsumeAmount invokes the bssopenapi.ChangeConsumeAmount API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/changeconsumeamount.html
-func (client *Client) ChangeConsumeAmount(request *ChangeConsumeAmountRequest) (response *ChangeConsumeAmountResponse, err error) {
-	response = CreateChangeConsumeAmountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ChangeConsumeAmountWithChan invokes the bssopenapi.ChangeConsumeAmount API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/changeconsumeamount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeConsumeAmountWithChan(request *ChangeConsumeAmountRequest) (<-chan *ChangeConsumeAmountResponse, <-chan error) {
-	responseChan := make(chan *ChangeConsumeAmountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ChangeConsumeAmount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ChangeConsumeAmountWithCallback invokes the bssopenapi.ChangeConsumeAmount API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/changeconsumeamount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeConsumeAmountWithCallback(request *ChangeConsumeAmountRequest, callback func(response *ChangeConsumeAmountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ChangeConsumeAmountResponse
-		var err error
-		defer close(result)
-		response, err = client.ChangeConsumeAmount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ChangeConsumeAmountRequest is the request struct for api ChangeConsumeAmount
-type ChangeConsumeAmountRequest struct {
-	*requests.RpcRequest
-	Uid          requests.Integer `position:"Query" name:"Uid"`
-	AdjustType   string           `position:"Query" name:"AdjustType"`
-	Amount       string           `position:"Query" name:"Amount"`
-	OutBizId     string           `position:"Query" name:"OutBizId"`
-	ExtendMap    string           `position:"Query" name:"ExtendMap"`
-	Currency     string           `position:"Query" name:"Currency"`
-	Source       string           `position:"Query" name:"Source"`
-	Bid          string           `position:"Query" name:"Bid"`
-	BusinessType string           `position:"Query" name:"BusinessType"`
-}
-
-// ChangeConsumeAmountResponse is the response struct for api ChangeConsumeAmount
-type ChangeConsumeAmountResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateChangeConsumeAmountRequest creates a request to invoke ChangeConsumeAmount API
-func CreateChangeConsumeAmountRequest() (request *ChangeConsumeAmountRequest) {
-	request = &ChangeConsumeAmountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ChangeConsumeAmount", "", "")
-	return
-}
-
-// CreateChangeConsumeAmountResponse creates a response to parse from ChangeConsumeAmount response
-func CreateChangeConsumeAmountResponse() (response *ChangeConsumeAmountResponse) {
-	response = &ChangeConsumeAmountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/bssopenapi/create_user_quota.go

@@ -1,111 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateUserQuota invokes the bssopenapi.CreateUserQuota API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/createuserquota.html
-func (client *Client) CreateUserQuota(request *CreateUserQuotaRequest) (response *CreateUserQuotaResponse, err error) {
-	response = CreateCreateUserQuotaResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUserQuotaWithChan invokes the bssopenapi.CreateUserQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/createuserquota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserQuotaWithChan(request *CreateUserQuotaRequest) (<-chan *CreateUserQuotaResponse, <-chan error) {
-	responseChan := make(chan *CreateUserQuotaResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUserQuota(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUserQuotaWithCallback invokes the bssopenapi.CreateUserQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/createuserquota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserQuotaWithCallback(request *CreateUserQuotaRequest, callback func(response *CreateUserQuotaResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUserQuotaResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUserQuota(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUserQuotaRequest is the request struct for api CreateUserQuota
-type CreateUserQuotaRequest struct {
-	*requests.RpcRequest
-	Uid      requests.Integer `position:"Query" name:"Uid"`
-	Amount   string           `position:"Query" name:"Amount"`
-	OutBizId string           `position:"Query" name:"OutBizId"`
-	Currency string           `position:"Query" name:"Currency"`
-	Bid      string           `position:"Query" name:"Bid"`
-}
-
-// CreateUserQuotaResponse is the response struct for api CreateUserQuota
-type CreateUserQuotaResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateCreateUserQuotaRequest creates a request to invoke CreateUserQuota API
-func CreateCreateUserQuotaRequest() (request *CreateUserQuotaRequest) {
-	request = &CreateUserQuotaRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateUserQuota", "", "")
-	return
-}
-
-// CreateCreateUserQuotaResponse creates a response to parse from CreateUserQuota response
-func CreateCreateUserQuotaResponse() (response *CreateUserQuotaResponse) {
-	response = &CreateUserQuotaResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 5 - 5
services/bssopenapi/get_order_detail.go

@@ -83,11 +83,11 @@ type GetOrderDetailRequest struct {
 // GetOrderDetailResponse is the response struct for api GetOrderDetail
 type GetOrderDetailResponse struct {
 	*responses.BaseResponse
-	RequestId string               `json:"RequestId" xml:"RequestId"`
-	Success   bool                 `json:"Success" xml:"Success"`
-	Code      string               `json:"Code" xml:"Code"`
-	Message   string               `json:"Message" xml:"Message"`
-	Data      DataInGetOrderDetail `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateGetOrderDetailRequest creates a request to invoke GetOrderDetail API

+ 0 - 110
services/bssopenapi/query_account_book_list.go

@@ -1,110 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// QueryAccountBookList invokes the bssopenapi.QueryAccountBookList API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryaccountbooklist.html
-func (client *Client) QueryAccountBookList(request *QueryAccountBookListRequest) (response *QueryAccountBookListResponse, err error) {
-	response = CreateQueryAccountBookListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// QueryAccountBookListWithChan invokes the bssopenapi.QueryAccountBookList API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryaccountbooklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryAccountBookListWithChan(request *QueryAccountBookListRequest) (<-chan *QueryAccountBookListResponse, <-chan error) {
-	responseChan := make(chan *QueryAccountBookListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.QueryAccountBookList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// QueryAccountBookListWithCallback invokes the bssopenapi.QueryAccountBookList API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryaccountbooklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryAccountBookListWithCallback(request *QueryAccountBookListRequest, callback func(response *QueryAccountBookListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *QueryAccountBookListResponse
-		var err error
-		defer close(result)
-		response, err = client.QueryAccountBookList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// QueryAccountBookListRequest is the request struct for api QueryAccountBookList
-type QueryAccountBookListRequest struct {
-	*requests.RpcRequest
-	Uid       requests.Integer `position:"Query" name:"Uid"`
-	ItemCodes string           `position:"Query" name:"ItemCodes"`
-	Bid       string           `position:"Query" name:"Bid"`
-}
-
-// QueryAccountBookListResponse is the response struct for api QueryAccountBookList
-type QueryAccountBookListResponse struct {
-	*responses.BaseResponse
-	RequestId string                      `json:"RequestId" xml:"RequestId"`
-	Code      string                      `json:"Code" xml:"Code"`
-	Message   string                      `json:"Message" xml:"Message"`
-	Success   bool                        `json:"Success" xml:"Success"`
-	Count     int                         `json:"Count" xml:"Count"`
-	Datas     DatasInQueryAccountBookList `json:"Datas" xml:"Datas"`
-}
-
-// CreateQueryAccountBookListRequest creates a request to invoke QueryAccountBookList API
-func CreateQueryAccountBookListRequest() (request *QueryAccountBookListRequest) {
-	request = &QueryAccountBookListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountBookList", "", "")
-	return
-}
-
-// CreateQueryAccountBookListResponse creates a response to parse from QueryAccountBookList response
-func CreateQueryAccountBookListResponse() (response *QueryAccountBookListResponse) {
-	response = &QueryAccountBookListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 5 - 5
services/bssopenapi/query_available_instances.go

@@ -94,11 +94,11 @@ type QueryAvailableInstancesRequest struct {
 // QueryAvailableInstancesResponse is the response struct for api QueryAvailableInstances
 type QueryAvailableInstancesResponse struct {
 	*responses.BaseResponse
-	RequestId string                        `json:"RequestId" xml:"RequestId"`
-	Success   bool                          `json:"Success" xml:"Success"`
-	Code      string                        `json:"Code" xml:"Code"`
-	Message   string                        `json:"Message" xml:"Message"`
-	Data      DataInQueryAvailableInstances `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQueryAvailableInstancesRequest creates a request to invoke QueryAvailableInstances API

+ 0 - 109
services/bssopenapi/query_avaliable_quota.go

@@ -1,109 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// QueryAvaliableQuota invokes the bssopenapi.QueryAvaliableQuota API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryavaliablequota.html
-func (client *Client) QueryAvaliableQuota(request *QueryAvaliableQuotaRequest) (response *QueryAvaliableQuotaResponse, err error) {
-	response = CreateQueryAvaliableQuotaResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// QueryAvaliableQuotaWithChan invokes the bssopenapi.QueryAvaliableQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryavaliablequota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryAvaliableQuotaWithChan(request *QueryAvaliableQuotaRequest) (<-chan *QueryAvaliableQuotaResponse, <-chan error) {
-	responseChan := make(chan *QueryAvaliableQuotaResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.QueryAvaliableQuota(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// QueryAvaliableQuotaWithCallback invokes the bssopenapi.QueryAvaliableQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryavaliablequota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryAvaliableQuotaWithCallback(request *QueryAvaliableQuotaRequest, callback func(response *QueryAvaliableQuotaResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *QueryAvaliableQuotaResponse
-		var err error
-		defer close(result)
-		response, err = client.QueryAvaliableQuota(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// QueryAvaliableQuotaRequest is the request struct for api QueryAvaliableQuota
-type QueryAvaliableQuotaRequest struct {
-	*requests.RpcRequest
-	Uid       requests.Integer `position:"Query" name:"Uid"`
-	ItemCodes string           `position:"Query" name:"ItemCodes"`
-	Bid       string           `position:"Query" name:"Bid"`
-}
-
-// QueryAvaliableQuotaResponse is the response struct for api QueryAvaliableQuota
-type QueryAvaliableQuotaResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateQueryAvaliableQuotaRequest creates a request to invoke QueryAvaliableQuota API
-func CreateQueryAvaliableQuotaRequest() (request *QueryAvaliableQuotaRequest) {
-	request = &QueryAvaliableQuotaRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAvaliableQuota", "", "")
-	return
-}
-
-// CreateQueryAvaliableQuotaResponse creates a response to parse from QueryAvaliableQuota response
-func CreateQueryAvaliableQuotaResponse() (response *QueryAvaliableQuotaResponse) {
-	response = &QueryAvaliableQuotaResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 116 - 0
services/bssopenapi/query_bill.go

@@ -0,0 +1,116 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryBill invokes the bssopenapi.QueryBill API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybill.html
+func (client *Client) QueryBill(request *QueryBillRequest) (response *QueryBillResponse, err error) {
+	response = CreateQueryBillResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryBillWithChan invokes the bssopenapi.QueryBill API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybill.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBillWithChan(request *QueryBillRequest) (<-chan *QueryBillResponse, <-chan error) {
+	responseChan := make(chan *QueryBillResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryBill(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryBillWithCallback invokes the bssopenapi.QueryBill API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybill.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBillWithCallback(request *QueryBillRequest, callback func(response *QueryBillResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryBillResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryBill(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryBillRequest is the request struct for api QueryBill
+type QueryBillRequest struct {
+	*requests.RpcRequest
+	ProductCode            string           `position:"Query" name:"ProductCode"`
+	IsHideZeroCharge       requests.Boolean `position:"Query" name:"IsHideZeroCharge"`
+	IsDisplayLocalCurrency requests.Boolean `position:"Query" name:"IsDisplayLocalCurrency"`
+	SubscriptionType       string           `position:"Query" name:"SubscriptionType"`
+	PageSize               requests.Integer `position:"Query" name:"PageSize"`
+	BillingCycle           string           `position:"Query" name:"BillingCycle"`
+	Type                   string           `position:"Query" name:"Type"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	PageNum                requests.Integer `position:"Query" name:"PageNum"`
+	ProductType            string           `position:"Query" name:"ProductType"`
+}
+
+// QueryBillResponse is the response struct for api QueryBill
+type QueryBillResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateQueryBillRequest creates a request to invoke QueryBill API
+func CreateQueryBillRequest() (request *QueryBillRequest) {
+	request = &QueryBillRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBill", "", "")
+	return
+}
+
+// CreateQueryBillResponse creates a response to parse from QueryBill response
+func CreateQueryBillResponse() (response *QueryBillResponse) {
+	response = &QueryBillResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/bssopenapi/query_bill_overview.go

@@ -0,0 +1,110 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryBillOverview invokes the bssopenapi.QueryBillOverview API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybilloverview.html
+func (client *Client) QueryBillOverview(request *QueryBillOverviewRequest) (response *QueryBillOverviewResponse, err error) {
+	response = CreateQueryBillOverviewResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryBillOverviewWithChan invokes the bssopenapi.QueryBillOverview API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybilloverview.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBillOverviewWithChan(request *QueryBillOverviewRequest) (<-chan *QueryBillOverviewResponse, <-chan error) {
+	responseChan := make(chan *QueryBillOverviewResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryBillOverview(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryBillOverviewWithCallback invokes the bssopenapi.QueryBillOverview API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/querybilloverview.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBillOverviewWithCallback(request *QueryBillOverviewRequest, callback func(response *QueryBillOverviewResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryBillOverviewResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryBillOverview(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryBillOverviewRequest is the request struct for api QueryBillOverview
+type QueryBillOverviewRequest struct {
+	*requests.RpcRequest
+	ProductCode      string `position:"Query" name:"ProductCode"`
+	SubscriptionType string `position:"Query" name:"SubscriptionType"`
+	BillingCycle     string `position:"Query" name:"BillingCycle"`
+	ProductType      string `position:"Query" name:"ProductType"`
+}
+
+// QueryBillOverviewResponse is the response struct for api QueryBillOverview
+type QueryBillOverviewResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateQueryBillOverviewRequest creates a request to invoke QueryBillOverview API
+func CreateQueryBillOverviewRequest() (request *QueryBillOverviewRequest) {
+	request = &QueryBillOverviewRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBillOverview", "", "")
+	return
+}
+
+// CreateQueryBillOverviewResponse creates a response to parse from QueryBillOverview response
+func CreateQueryBillOverviewResponse() (response *QueryBillOverviewResponse) {
+	response = &QueryBillOverviewResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 111
services/bssopenapi/query_enduser_status.go

@@ -1,111 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// QueryEnduserStatus invokes the bssopenapi.QueryEnduserStatus API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryenduserstatus.html
-func (client *Client) QueryEnduserStatus(request *QueryEnduserStatusRequest) (response *QueryEnduserStatusResponse, err error) {
-	response = CreateQueryEnduserStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// QueryEnduserStatusWithChan invokes the bssopenapi.QueryEnduserStatus API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryenduserstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryEnduserStatusWithChan(request *QueryEnduserStatusRequest) (<-chan *QueryEnduserStatusResponse, <-chan error) {
-	responseChan := make(chan *QueryEnduserStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.QueryEnduserStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// QueryEnduserStatusWithCallback invokes the bssopenapi.QueryEnduserStatus API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryenduserstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryEnduserStatusWithCallback(request *QueryEnduserStatusRequest, callback func(response *QueryEnduserStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *QueryEnduserStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.QueryEnduserStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// QueryEnduserStatusRequest is the request struct for api QueryEnduserStatus
-type QueryEnduserStatusRequest struct {
-	*requests.RpcRequest
-	Uid            requests.Integer `position:"Query" name:"Uid"`
-	PrimaryAccount string           `position:"Query" name:"PrimaryAccount"`
-	Status         string           `position:"Query" name:"Status"`
-	BusinessType   string           `position:"Query" name:"BusinessType"`
-}
-
-// QueryEnduserStatusResponse is the response struct for api QueryEnduserStatus
-type QueryEnduserStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string                    `json:"RequestId" xml:"RequestId"`
-	Code      string                    `json:"Code" xml:"Code"`
-	Message   string                    `json:"Message" xml:"Message"`
-	Success   bool                      `json:"Success" xml:"Success"`
-	Count     int                       `json:"Count" xml:"Count"`
-	Datas     DatasInQueryEnduserStatus `json:"Datas" xml:"Datas"`
-}
-
-// CreateQueryEnduserStatusRequest creates a request to invoke QueryEnduserStatus API
-func CreateQueryEnduserStatusRequest() (request *QueryEnduserStatusRequest) {
-	request = &QueryEnduserStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryEnduserStatus", "", "")
-	return
-}
-
-// CreateQueryEnduserStatusResponse creates a response to parse from QueryEnduserStatus response
-func CreateQueryEnduserStatusResponse() (response *QueryEnduserStatusResponse) {
-	response = &QueryEnduserStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 29 - 26
services/bssopenapi/query_price_list.go → services/bssopenapi/query_instance_bill.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// QueryPriceList invokes the bssopenapi.QueryPriceList API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/querypricelist.html
-func (client *Client) QueryPriceList(request *QueryPriceListRequest) (response *QueryPriceListResponse, err error) {
-	response = CreateQueryPriceListResponse()
+// QueryInstanceBill invokes the bssopenapi.QueryInstanceBill API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryinstancebill.html
+func (client *Client) QueryInstanceBill(request *QueryInstanceBillRequest) (response *QueryInstanceBillResponse, err error) {
+	response = CreateQueryInstanceBillResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// QueryPriceListWithChan invokes the bssopenapi.QueryPriceList API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/querypricelist.html
+// QueryInstanceBillWithChan invokes the bssopenapi.QueryInstanceBill API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryinstancebill.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryPriceListWithChan(request *QueryPriceListRequest) (<-chan *QueryPriceListResponse, <-chan error) {
-	responseChan := make(chan *QueryPriceListResponse, 1)
+func (client *Client) QueryInstanceBillWithChan(request *QueryInstanceBillRequest) (<-chan *QueryInstanceBillResponse, <-chan error) {
+	responseChan := make(chan *QueryInstanceBillResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.QueryPriceList(request)
+		response, err := client.QueryInstanceBill(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) QueryPriceListWithChan(request *QueryPriceListRequest) (<-
 	return responseChan, errChan
 }
 
-// QueryPriceListWithCallback invokes the bssopenapi.QueryPriceList API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/querypricelist.html
+// QueryInstanceBillWithCallback invokes the bssopenapi.QueryInstanceBill API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryinstancebill.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryPriceListWithCallback(request *QueryPriceListRequest, callback func(response *QueryPriceListResponse, err error)) <-chan int {
+func (client *Client) QueryInstanceBillWithCallback(request *QueryInstanceBillRequest, callback func(response *QueryInstanceBillResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *QueryPriceListResponse
+		var response *QueryInstanceBillResponse
 		var err error
 		defer close(result)
-		response, err = client.QueryPriceList(request)
+		response, err = client.QueryInstanceBill(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,18 +73,21 @@ func (client *Client) QueryPriceListWithCallback(request *QueryPriceListRequest,
 	return result
 }
 
-// QueryPriceListRequest is the request struct for api QueryPriceList
-type QueryPriceListRequest struct {
+// QueryInstanceBillRequest is the request struct for api QueryInstanceBill
+type QueryInstanceBillRequest struct {
 	*requests.RpcRequest
-	ModuleCode       string           `position:"Query" name:"ModuleCode"`
+	IsBillingItem    requests.Boolean `position:"Query" name:"IsBillingItem"`
 	ProductCode      string           `position:"Query" name:"ProductCode"`
 	SubscriptionType string           `position:"Query" name:"SubscriptionType"`
+	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	BillingCycle     string           `position:"Query" name:"BillingCycle"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
+	PageNum          requests.Integer `position:"Query" name:"PageNum"`
 	ProductType      string           `position:"Query" name:"ProductType"`
 }
 
-// QueryPriceListResponse is the response struct for api QueryPriceList
-type QueryPriceListResponse struct {
+// QueryInstanceBillResponse is the response struct for api QueryInstanceBill
+type QueryInstanceBillResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
 	Success   bool   `json:"Success" xml:"Success"`
@@ -93,18 +96,18 @@ type QueryPriceListResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
-// CreateQueryPriceListRequest creates a request to invoke QueryPriceList API
-func CreateQueryPriceListRequest() (request *QueryPriceListRequest) {
-	request = &QueryPriceListRequest{
+// CreateQueryInstanceBillRequest creates a request to invoke QueryInstanceBill API
+func CreateQueryInstanceBillRequest() (request *QueryInstanceBillRequest) {
+	request = &QueryInstanceBillRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryPriceList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInstanceBill", "", "")
 	return
 }
 
-// CreateQueryPriceListResponse creates a response to parse from QueryPriceList response
-func CreateQueryPriceListResponse() (response *QueryPriceListResponse) {
-	response = &QueryPriceListResponse{
+// CreateQueryInstanceBillResponse creates a response to parse from QueryInstanceBill response
+func CreateQueryInstanceBillResponse() (response *QueryInstanceBillResponse) {
+	response = &QueryInstanceBillResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 5 - 5
services/bssopenapi/query_instance_gaap_cost.go

@@ -87,11 +87,11 @@ type QueryInstanceGaapCostRequest struct {
 // QueryInstanceGaapCostResponse is the response struct for api QueryInstanceGaapCost
 type QueryInstanceGaapCostResponse struct {
 	*responses.BaseResponse
-	RequestId string                      `json:"RequestId" xml:"RequestId"`
-	Success   bool                        `json:"Success" xml:"Success"`
-	Code      string                      `json:"Code" xml:"Code"`
-	Message   string                      `json:"Message" xml:"Message"`
-	Data      DataInQueryInstanceGaapCost `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQueryInstanceGaapCostRequest creates a request to invoke QueryInstanceGaapCost API

+ 5 - 5
services/bssopenapi/query_monthly_instance_consumption.go

@@ -88,11 +88,11 @@ type QueryMonthlyInstanceConsumptionRequest struct {
 // QueryMonthlyInstanceConsumptionResponse is the response struct for api QueryMonthlyInstanceConsumption
 type QueryMonthlyInstanceConsumptionResponse struct {
 	*responses.BaseResponse
-	RequestId string                                `json:"RequestId" xml:"RequestId"`
-	Success   bool                                  `json:"Success" xml:"Success"`
-	Code      string                                `json:"Code" xml:"Code"`
-	Message   string                                `json:"Message" xml:"Message"`
-	Data      DataInQueryMonthlyInstanceConsumption `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQueryMonthlyInstanceConsumptionRequest creates a request to invoke QueryMonthlyInstanceConsumption API

+ 5 - 5
services/bssopenapi/query_orders.go

@@ -91,11 +91,11 @@ type QueryOrdersRequest struct {
 // QueryOrdersResponse is the response struct for api QueryOrders
 type QueryOrdersResponse struct {
 	*responses.BaseResponse
-	RequestId string            `json:"RequestId" xml:"RequestId"`
-	Success   bool              `json:"Success" xml:"Success"`
-	Code      string            `json:"Code" xml:"Code"`
-	Message   string            `json:"Message" xml:"Message"`
-	Data      DataInQueryOrders `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQueryOrdersRequest creates a request to invoke QueryOrders API

+ 5 - 5
services/bssopenapi/query_product_list.go

@@ -84,11 +84,11 @@ type QueryProductListRequest struct {
 // QueryProductListResponse is the response struct for api QueryProductList
 type QueryProductListResponse struct {
 	*responses.BaseResponse
-	RequestId string                 `json:"RequestId" xml:"RequestId"`
-	Success   bool                   `json:"Success" xml:"Success"`
-	Code      string                 `json:"Code" xml:"Code"`
-	Message   string                 `json:"Message" xml:"Message"`
-	Data      DataInQueryProductList `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQueryProductListRequest creates a request to invoke QueryProductList API

+ 5 - 5
services/bssopenapi/query_redeem.go

@@ -86,11 +86,11 @@ type QueryRedeemRequest struct {
 // QueryRedeemResponse is the response struct for api QueryRedeem
 type QueryRedeemResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Data      Data   `json:"Data" xml:"Data"`
+	RequestId string            `json:"RequestId" xml:"RequestId"`
+	Success   bool              `json:"Success" xml:"Success"`
+	Code      string            `json:"Code" xml:"Code"`
+	Message   string            `json:"Message" xml:"Message"`
+	Data      DataInQueryRedeem `json:"Data" xml:"Data"`
 }
 
 // CreateQueryRedeemRequest creates a request to invoke QueryRedeem API

+ 5 - 5
services/bssopenapi/query_settlement_bill.go

@@ -92,11 +92,11 @@ type QuerySettlementBillRequest struct {
 // QuerySettlementBillResponse is the response struct for api QuerySettlementBill
 type QuerySettlementBillResponse struct {
 	*responses.BaseResponse
-	RequestId string                    `json:"RequestId" xml:"RequestId"`
-	Success   bool                      `json:"Success" xml:"Success"`
-	Code      string                    `json:"Code" xml:"Code"`
-	Message   string                    `json:"Message" xml:"Message"`
-	Data      DataInQuerySettlementBill `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateQuerySettlementBillRequest creates a request to invoke QuerySettlementBill API

+ 0 - 111
services/bssopenapi/query_user_alarm_threshold.go

@@ -1,111 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// QueryUserAlarmThreshold invokes the bssopenapi.QueryUserAlarmThreshold API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryuseralarmthreshold.html
-func (client *Client) QueryUserAlarmThreshold(request *QueryUserAlarmThresholdRequest) (response *QueryUserAlarmThresholdResponse, err error) {
-	response = CreateQueryUserAlarmThresholdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// QueryUserAlarmThresholdWithChan invokes the bssopenapi.QueryUserAlarmThreshold API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryuseralarmthreshold.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryUserAlarmThresholdWithChan(request *QueryUserAlarmThresholdRequest) (<-chan *QueryUserAlarmThresholdResponse, <-chan error) {
-	responseChan := make(chan *QueryUserAlarmThresholdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.QueryUserAlarmThreshold(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// QueryUserAlarmThresholdWithCallback invokes the bssopenapi.QueryUserAlarmThreshold API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/queryuseralarmthreshold.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryUserAlarmThresholdWithCallback(request *QueryUserAlarmThresholdRequest, callback func(response *QueryUserAlarmThresholdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *QueryUserAlarmThresholdResponse
-		var err error
-		defer close(result)
-		response, err = client.QueryUserAlarmThreshold(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// QueryUserAlarmThresholdRequest is the request struct for api QueryUserAlarmThreshold
-type QueryUserAlarmThresholdRequest struct {
-	*requests.RpcRequest
-	Uid             requests.Integer `position:"Query" name:"Uid"`
-	AlarmType       string           `position:"Query" name:"AlarmType"`
-	AlarmThresholds string           `position:"Query" name:"AlarmThresholds"`
-	Bid             string           `position:"Query" name:"Bid"`
-}
-
-// QueryUserAlarmThresholdResponse is the response struct for api QueryUserAlarmThreshold
-type QueryUserAlarmThresholdResponse struct {
-	*responses.BaseResponse
-	RequestId string                         `json:"RequestId" xml:"RequestId"`
-	Code      string                         `json:"Code" xml:"Code"`
-	Message   string                         `json:"Message" xml:"Message"`
-	Success   bool                           `json:"Success" xml:"Success"`
-	Count     int                            `json:"Count" xml:"Count"`
-	Datas     DatasInQueryUserAlarmThreshold `json:"Datas" xml:"Datas"`
-}
-
-// CreateQueryUserAlarmThresholdRequest creates a request to invoke QueryUserAlarmThreshold API
-func CreateQueryUserAlarmThresholdRequest() (request *QueryUserAlarmThresholdRequest) {
-	request = &QueryUserAlarmThresholdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryUserAlarmThreshold", "", "")
-	return
-}
-
-// CreateQueryUserAlarmThresholdResponse creates a response to parse from QueryUserAlarmThreshold response
-func CreateQueryUserAlarmThresholdResponse() (response *QueryUserAlarmThresholdResponse) {
-	response = &QueryUserAlarmThresholdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/bssopenapi/set_enduser_status.go

@@ -1,110 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// SetEnduserStatus invokes the bssopenapi.SetEnduserStatus API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setenduserstatus.html
-func (client *Client) SetEnduserStatus(request *SetEnduserStatusRequest) (response *SetEnduserStatusResponse, err error) {
-	response = CreateSetEnduserStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetEnduserStatusWithChan invokes the bssopenapi.SetEnduserStatus API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setenduserstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetEnduserStatusWithChan(request *SetEnduserStatusRequest) (<-chan *SetEnduserStatusResponse, <-chan error) {
-	responseChan := make(chan *SetEnduserStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetEnduserStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetEnduserStatusWithCallback invokes the bssopenapi.SetEnduserStatus API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setenduserstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetEnduserStatusWithCallback(request *SetEnduserStatusRequest, callback func(response *SetEnduserStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetEnduserStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.SetEnduserStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetEnduserStatusRequest is the request struct for api SetEnduserStatus
-type SetEnduserStatusRequest struct {
-	*requests.RpcRequest
-	Uid            requests.Integer `position:"Query" name:"Uid"`
-	PrimaryAccount string           `position:"Query" name:"PrimaryAccount"`
-	Status         string           `position:"Query" name:"Status"`
-	BusinessType   string           `position:"Query" name:"BusinessType"`
-}
-
-// SetEnduserStatusResponse is the response struct for api SetEnduserStatus
-type SetEnduserStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateSetEnduserStatusRequest creates a request to invoke SetEnduserStatus API
-func CreateSetEnduserStatusRequest() (request *SetEnduserStatusRequest) {
-	request = &SetEnduserStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetEnduserStatus", "", "")
-	return
-}
-
-// CreateSetEnduserStatusResponse creates a response to parse from SetEnduserStatus response
-func CreateSetEnduserStatusResponse() (response *SetEnduserStatusResponse) {
-	response = &SetEnduserStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/bssopenapi/set_user_alarm_threshold.go

@@ -1,110 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// SetUserAlarmThreshold invokes the bssopenapi.SetUserAlarmThreshold API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuseralarmthreshold.html
-func (client *Client) SetUserAlarmThreshold(request *SetUserAlarmThresholdRequest) (response *SetUserAlarmThresholdResponse, err error) {
-	response = CreateSetUserAlarmThresholdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetUserAlarmThresholdWithChan invokes the bssopenapi.SetUserAlarmThreshold API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuseralarmthreshold.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserAlarmThresholdWithChan(request *SetUserAlarmThresholdRequest) (<-chan *SetUserAlarmThresholdResponse, <-chan error) {
-	responseChan := make(chan *SetUserAlarmThresholdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetUserAlarmThreshold(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetUserAlarmThresholdWithCallback invokes the bssopenapi.SetUserAlarmThreshold API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuseralarmthreshold.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserAlarmThresholdWithCallback(request *SetUserAlarmThresholdRequest, callback func(response *SetUserAlarmThresholdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetUserAlarmThresholdResponse
-		var err error
-		defer close(result)
-		response, err = client.SetUserAlarmThreshold(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetUserAlarmThresholdRequest is the request struct for api SetUserAlarmThreshold
-type SetUserAlarmThresholdRequest struct {
-	*requests.RpcRequest
-	Uid             requests.Integer `position:"Query" name:"Uid"`
-	AlarmType       string           `position:"Query" name:"AlarmType"`
-	AlarmThresholds string           `position:"Query" name:"AlarmThresholds"`
-	Bid             string           `position:"Query" name:"Bid"`
-}
-
-// SetUserAlarmThresholdResponse is the response struct for api SetUserAlarmThreshold
-type SetUserAlarmThresholdResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateSetUserAlarmThresholdRequest creates a request to invoke SetUserAlarmThreshold API
-func CreateSetUserAlarmThresholdRequest() (request *SetUserAlarmThresholdRequest) {
-	request = &SetUserAlarmThresholdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetUserAlarmThreshold", "", "")
-	return
-}
-
-// CreateSetUserAlarmThresholdResponse creates a response to parse from SetUserAlarmThreshold response
-func CreateSetUserAlarmThresholdResponse() (response *SetUserAlarmThresholdResponse) {
-	response = &SetUserAlarmThresholdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/bssopenapi/set_user_quota.go

@@ -1,111 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// SetUserQuota invokes the bssopenapi.SetUserQuota API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuserquota.html
-func (client *Client) SetUserQuota(request *SetUserQuotaRequest) (response *SetUserQuotaResponse, err error) {
-	response = CreateSetUserQuotaResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetUserQuotaWithChan invokes the bssopenapi.SetUserQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuserquota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserQuotaWithChan(request *SetUserQuotaRequest) (<-chan *SetUserQuotaResponse, <-chan error) {
-	responseChan := make(chan *SetUserQuotaResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetUserQuota(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetUserQuotaWithCallback invokes the bssopenapi.SetUserQuota API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/setuserquota.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserQuotaWithCallback(request *SetUserQuotaRequest, callback func(response *SetUserQuotaResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetUserQuotaResponse
-		var err error
-		defer close(result)
-		response, err = client.SetUserQuota(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetUserQuotaRequest is the request struct for api SetUserQuota
-type SetUserQuotaRequest struct {
-	*requests.RpcRequest
-	Uid      requests.Integer `position:"Query" name:"Uid"`
-	Amount   string           `position:"Query" name:"Amount"`
-	OutBizId string           `position:"Query" name:"OutBizId"`
-	Currency string           `position:"Query" name:"Currency"`
-	Bid      string           `position:"Query" name:"Bid"`
-}
-
-// SetUserQuotaResponse is the response struct for api SetUserQuota
-type SetUserQuotaResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateSetUserQuotaRequest creates a request to invoke SetUserQuota API
-func CreateSetUserQuotaRequest() (request *SetUserQuotaRequest) {
-	request = &SetUserQuotaRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetUserQuota", "", "")
-	return
-}
-
-// CreateSetUserQuotaResponse creates a response to parse from SetUserQuota response
-func CreateSetUserQuotaResponse() (response *SetUserQuotaResponse) {
-	response = &SetUserQuotaResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 11 - 20
services/bssopenapi/struct_data.go

@@ -17,47 +17,38 @@ package bssopenapi
 
 // Data is a nested struct in bssopenapi response
 type Data struct {
-	BusinessType           string                                 `json:"BusinessType" xml:"BusinessType"`
 	TradePrice             float64                                `json:"TradePrice" xml:"TradePrice"`
 	HostId                 string                                 `json:"HostId" xml:"HostId"`
-	PageSize               int                                    `json:"PageSize" xml:"PageSize"`
-	Numerator              int                                    `json:"Numerator" xml:"Numerator"`
 	OriginalPrice          float64                                `json:"OriginalPrice" xml:"OriginalPrice"`
 	AvailableAmount        string                                 `json:"AvailableAmount" xml:"AvailableAmount"`
-	Amount                 string                                 `json:"Amount" xml:"Amount"`
+	PageSize               int                                    `json:"PageSize" xml:"PageSize"`
 	MybankCreditAmount     string                                 `json:"MybankCreditAmount" xml:"MybankCreditAmount"`
 	OrderId                string                                 `json:"OrderId" xml:"OrderId"`
 	CreditAmount           string                                 `json:"CreditAmount" xml:"CreditAmount"`
-	ThresholdType          int                                    `json:"ThresholdType" xml:"ThresholdType"`
+	AccountID              string                                 `json:"AccountID" xml:"AccountID"`
+	TotalCount             int                                    `json:"TotalCount" xml:"TotalCount"`
 	InstanceId             string                                 `json:"InstanceId" xml:"InstanceId"`
-	ItemCode               string                                 `json:"ItemCode" xml:"ItemCode"`
-	ThresholdAmount        string                                 `json:"ThresholdAmount" xml:"ThresholdAmount"`
 	BillingCycle           string                                 `json:"BillingCycle" xml:"BillingCycle"`
 	Boolean                bool                                   `json:"Boolean" xml:"Boolean"`
-	Uid                    int                                    `json:"Uid" xml:"Uid"`
-	TotalCount             int                                    `json:"TotalCount" xml:"TotalCount"`
 	OutstandingAmount      float64                                `json:"OutstandingAmount" xml:"OutstandingAmount"`
-	InvalidTimeStamp       int                                    `json:"InvalidTimeStamp" xml:"InvalidTimeStamp"`
-	Bid                    string                                 `json:"Bid" xml:"Bid"`
+	PageNum                int                                    `json:"PageNum" xml:"PageNum"`
 	Currency               string                                 `json:"Currency" xml:"Currency"`
 	Quantity               int                                    `json:"Quantity" xml:"Quantity"`
 	AvailableCashAmount    string                                 `json:"AvailableCashAmount" xml:"AvailableCashAmount"`
-	PageNum                int                                    `json:"PageNum" xml:"PageNum"`
 	DiscountPrice          float64                                `json:"DiscountPrice" xml:"DiscountPrice"`
-	EffectTimeStamp        int                                    `json:"EffectTimeStamp" xml:"EffectTimeStamp"`
-	PrimaryAccount         string                                 `json:"PrimaryAccount" xml:"PrimaryAccount"`
+	AccountName            string                                 `json:"AccountName" xml:"AccountName"`
+	HostName               string                                 `json:"HostName" xml:"HostName"`
 	TotalOutstandingAmount float64                                `json:"TotalOutstandingAmount" xml:"TotalOutstandingAmount"`
-	Status                 string                                 `json:"Status" xml:"Status"`
-	UserId                 int                                    `json:"UserId" xml:"UserId"`
-	Denominator            int                                    `json:"Denominator" xml:"Denominator"`
 	NewInvoiceAmount       float64                                `json:"NewInvoiceAmount" xml:"NewInvoiceAmount"`
+	Items                  ItemsInQueryBillOverview               `json:"Items" xml:"Items"`
 	ModuleList             ModuleList                             `json:"ModuleList" xml:"ModuleList"`
-	Redeem                 Redeem                                 `json:"Redeem" xml:"Redeem"`
+	InstanceList           InstanceList                           `json:"InstanceList" xml:"InstanceList"`
+	OrderList              OrderListInQueryOrders                 `json:"OrderList" xml:"OrderList"`
+	Modules                Modules                                `json:"Modules" xml:"Modules"`
 	Promotions             Promotions                             `json:"Promotions" xml:"Promotions"`
 	ResourcePackages       ResourcePackages                       `json:"ResourcePackages" xml:"ResourcePackages"`
+	ProductList            ProductList                            `json:"ProductList" xml:"ProductList"`
 	ModuleDetails          ModuleDetailsInGetSubscriptionPrice    `json:"ModuleDetails" xml:"ModuleDetails"`
-	Modules                ModulesInQueryPriceList                `json:"Modules" xml:"Modules"`
 	AttributeList          AttributeList                          `json:"AttributeList" xml:"AttributeList"`
 	PromotionDetails       PromotionDetailsInGetSubscriptionPrice `json:"PromotionDetails" xml:"PromotionDetails"`
-	Items                  ItemsInQueryMonthlyBill                `json:"Items" xml:"Items"`
 }

+ 0 - 25
services/bssopenapi/struct_data_in_get_order_detail.go

@@ -1,25 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInGetOrderDetail is a nested struct in bssopenapi response
-type DataInGetOrderDetail struct {
-	HostName   string                    `json:"HostName" xml:"HostName"`
-	PageNum    int                       `json:"PageNum" xml:"PageNum"`
-	PageSize   int                       `json:"PageSize" xml:"PageSize"`
-	TotalCount int                       `json:"TotalCount" xml:"TotalCount"`
-	OrderList  OrderListInGetOrderDetail `json:"OrderList" xml:"OrderList"`
-}

+ 0 - 24
services/bssopenapi/struct_data_in_query_available_instances.go

@@ -1,24 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQueryAvailableInstances is a nested struct in bssopenapi response
-type DataInQueryAvailableInstances struct {
-	PageNum      int        `json:"PageNum" xml:"PageNum"`
-	PageSize     int        `json:"PageSize" xml:"PageSize"`
-	TotalCount   int        `json:"TotalCount" xml:"TotalCount"`
-	InstanceList []Instance `json:"InstanceList" xml:"InstanceList"`
-}

+ 0 - 25
services/bssopenapi/struct_data_in_query_instance_gaap_cost.go

@@ -1,25 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQueryInstanceGaapCost is a nested struct in bssopenapi response
-type DataInQueryInstanceGaapCost struct {
-	HostId     string                         `json:"HostId" xml:"HostId"`
-	PageNum    int                            `json:"PageNum" xml:"PageNum"`
-	PageSize   int                            `json:"PageSize" xml:"PageSize"`
-	TotalCount int                            `json:"TotalCount" xml:"TotalCount"`
-	Modules    ModulesInQueryInstanceGaapCost `json:"Modules" xml:"Modules"`
-}

+ 0 - 25
services/bssopenapi/struct_data_in_query_monthly_instance_consumption.go

@@ -1,25 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQueryMonthlyInstanceConsumption is a nested struct in bssopenapi response
-type DataInQueryMonthlyInstanceConsumption struct {
-	PageNum      int                                    `json:"PageNum" xml:"PageNum"`
-	PageSize     int                                    `json:"PageSize" xml:"PageSize"`
-	TotalCount   int                                    `json:"TotalCount" xml:"TotalCount"`
-	BillingCycle string                                 `json:"BillingCycle" xml:"BillingCycle"`
-	Items        ItemsInQueryMonthlyInstanceConsumption `json:"Items" xml:"Items"`
-}

+ 0 - 25
services/bssopenapi/struct_data_in_query_orders.go

@@ -1,25 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQueryOrders is a nested struct in bssopenapi response
-type DataInQueryOrders struct {
-	HostName   string                 `json:"HostName" xml:"HostName"`
-	PageNum    int                    `json:"PageNum" xml:"PageNum"`
-	PageSize   int                    `json:"PageSize" xml:"PageSize"`
-	TotalCount int                    `json:"TotalCount" xml:"TotalCount"`
-	OrderList  OrderListInQueryOrders `json:"OrderList" xml:"OrderList"`
-}

+ 0 - 24
services/bssopenapi/struct_data_in_query_product_list.go

@@ -1,24 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQueryProductList is a nested struct in bssopenapi response
-type DataInQueryProductList struct {
-	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
-	PageNum     int         `json:"PageNum" xml:"PageNum"`
-	PageSize    int         `json:"PageSize" xml:"PageSize"`
-	ProductList ProductList `json:"ProductList" xml:"ProductList"`
-}

+ 6 - 3
services/bssopenapi/struct_datas_in_query_user_alarm_threshold.go → services/bssopenapi/struct_data_in_query_redeem.go

@@ -15,7 +15,10 @@ package bssopenapi
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DatasInQueryUserAlarmThreshold is a nested struct in bssopenapi response
-type DatasInQueryUserAlarmThreshold struct {
-	Data []Data `json:"Data" xml:"Data"`
+// DataInQueryRedeem is a nested struct in bssopenapi response
+type DataInQueryRedeem struct {
+	PageNum    int    `json:"PageNum" xml:"PageNum"`
+	PageSize   int    `json:"PageSize" xml:"PageSize"`
+	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
+	Redeem     Redeem `json:"Redeem" xml:"Redeem"`
 }

+ 0 - 25
services/bssopenapi/struct_data_in_query_settlement_bill.go

@@ -1,25 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DataInQuerySettlementBill is a nested struct in bssopenapi response
-type DataInQuerySettlementBill struct {
-	PageNum      int                        `json:"PageNum" xml:"PageNum"`
-	PageSize     int                        `json:"PageSize" xml:"PageSize"`
-	TotalCount   int                        `json:"TotalCount" xml:"TotalCount"`
-	BillingCycle string                     `json:"BillingCycle" xml:"BillingCycle"`
-	Items        ItemsInQuerySettlementBill `json:"Items" xml:"Items"`
-}

+ 5 - 2
services/bssopenapi/struct_item.go

@@ -23,6 +23,7 @@ type Item struct {
 	UsageStartTime              string  `json:"UsageStartTime" xml:"UsageStartTime"`
 	SuborderID                  string  `json:"SuborderID" xml:"SuborderID"`
 	SolutionCode                string  `json:"SolutionCode" xml:"SolutionCode"`
+	ProductDetail               string  `json:"ProductDetail" xml:"ProductDetail"`
 	Promotion                   string  `json:"Promotion" xml:"Promotion"`
 	Seller                      string  `json:"Seller" xml:"Seller"`
 	PretaxAmountLocal           float64 `json:"PretaxAmountLocal" xml:"PretaxAmountLocal"`
@@ -31,12 +32,13 @@ type Item struct {
 	Quantity                    string  `json:"Quantity" xml:"Quantity"`
 	InvoiceDiscount             float64 `json:"InvoiceDiscount" xml:"InvoiceDiscount"`
 	MybankPaymentAmount         float64 `json:"MybankPaymentAmount" xml:"MybankPaymentAmount"`
-	InstanceID                  string  `json:"InstanceID" xml:"InstanceID"`
 	PretaxGrossAmount           float64 `json:"PretaxGrossAmount" xml:"PretaxGrossAmount"`
+	InstanceID                  string  `json:"InstanceID" xml:"InstanceID"`
 	RecordID                    string  `json:"RecordID" xml:"RecordID"`
 	Config                      string  `json:"Config" xml:"Config"`
 	Status                      string  `json:"Status" xml:"Status"`
 	Item                        string  `json:"Item" xml:"Item"`
+	ProductName                 string  `json:"ProductName" xml:"ProductName"`
 	Region                      string  `json:"Region" xml:"Region"`
 	PaymentAmount               float64 `json:"PaymentAmount" xml:"PaymentAmount"`
 	UsageEndTime                string  `json:"UsageEndTime" xml:"UsageEndTime"`
@@ -59,8 +61,9 @@ type Item struct {
 	ProductType                 string  `json:"ProductType" xml:"ProductType"`
 	AccountDiscount             float64 `json:"AccountDiscount" xml:"AccountDiscount"`
 	Currency                    string  `json:"Currency" xml:"Currency"`
-	OriginalOrderID             string  `json:"OriginalOrderID" xml:"OriginalOrderID"`
 	DeductedByPrepaidCard       float64 `json:"DeductedByPrepaidCard" xml:"DeductedByPrepaidCard"`
+	OriginalOrderID             string  `json:"OriginalOrderID" xml:"OriginalOrderID"`
+	PaymentTransactionID        string  `json:"PaymentTransactionID" xml:"PaymentTransactionID"`
 	OrderID                     string  `json:"OrderID" xml:"OrderID"`
 	OrderType                   string  `json:"OrderType" xml:"OrderType"`
 	DeductedByCoupons           float64 `json:"DeductedByCoupons" xml:"DeductedByCoupons"`

+ 51 - 0
services/bssopenapi/struct_item_in_query_instance_bill.go

@@ -0,0 +1,51 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ItemInQueryInstanceBill is a nested struct in bssopenapi response
+type ItemInQueryInstanceBill struct {
+	InstanceID                string  `json:"InstanceID" xml:"InstanceID"`
+	NickName                  string  `json:"NickName" xml:"NickName"`
+	ServicePeriod             float64 `json:"ServicePeriod" xml:"ServicePeriod"`
+	BillingType               string  `json:"BillingType" xml:"BillingType"`
+	InstanceConfig            string  `json:"InstanceConfig" xml:"InstanceConfig"`
+	InstanceSpec              string  `json:"InstanceSpec" xml:"InstanceSpec"`
+	CostUnit                  string  `json:"CostUnit" xml:"CostUnit"`
+	ProductCode               string  `json:"ProductCode" xml:"ProductCode"`
+	ProductType               string  `json:"ProductType" xml:"ProductType"`
+	SubscriptionType          string  `json:"SubscriptionType" xml:"SubscriptionType"`
+	ProductName               string  `json:"ProductName" xml:"ProductName"`
+	ProductDetail             string  `json:"ProductDetail" xml:"ProductDetail"`
+	Tag                       string  `json:"Tag" xml:"Tag"`
+	ResourceGroup             string  `json:"ResourceGroup" xml:"ResourceGroup"`
+	OwnerID                   int     `json:"OwnerID" xml:"OwnerID"`
+	Region                    string  `json:"Region" xml:"Region"`
+	BillingItem               string  `json:"BillingItem" xml:"BillingItem"`
+	ListPrice                 float64 `json:"ListPrice" xml:"ListPrice"`
+	ListPriceUnit             string  `json:"ListPriceUnit" xml:"ListPriceUnit"`
+	Usage                     float64 `json:"Usage" xml:"Usage"`
+	UsageUnit                 string  `json:"UsageUnit" xml:"UsageUnit"`
+	DeductedByResourcePackage float64 `json:"DeductedByResourcePackage" xml:"DeductedByResourcePackage"`
+	PretaxGrossAmount         float64 `json:"PretaxGrossAmount" xml:"PretaxGrossAmount"`
+	InvoiceDiscount           float64 `json:"InvoiceDiscount" xml:"InvoiceDiscount"`
+	DeductedByCoupons         float64 `json:"DeductedByCoupons" xml:"DeductedByCoupons"`
+	PretaxAmount              float64 `json:"PretaxAmount" xml:"PretaxAmount"`
+	DeductedByCashCoupons     float64 `json:"DeductedByCashCoupons" xml:"DeductedByCashCoupons"`
+	DeductedByPrepaidCard     float64 `json:"DeductedByPrepaidCard" xml:"DeductedByPrepaidCard"`
+	PaymentAmount             float64 `json:"PaymentAmount" xml:"PaymentAmount"`
+	OutstandingAmount         float64 `json:"OutstandingAmount" xml:"OutstandingAmount"`
+	Currency                  string  `json:"Currency" xml:"Currency"`
+}

+ 3 - 3
services/bssopenapi/struct_tier_prices.go → services/bssopenapi/struct_items_in_query_bill.go

@@ -15,7 +15,7 @@ package bssopenapi
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// TierPrices is a nested struct in bssopenapi response
-type TierPrices struct {
-	TierPrice []TierPrice `json:"TierPrice" xml:"TierPrice"`
+// ItemsInQueryBill is a nested struct in bssopenapi response
+type ItemsInQueryBill struct {
+	Item []Item `json:"Item" xml:"Item"`
 }

+ 3 - 3
services/bssopenapi/struct_datas_in_query_enduser_status.go → services/bssopenapi/struct_items_in_query_bill_overview.go

@@ -15,7 +15,7 @@ package bssopenapi
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DatasInQueryEnduserStatus is a nested struct in bssopenapi response
-type DatasInQueryEnduserStatus struct {
-	Data []Data `json:"Data" xml:"Data"`
+// ItemsInQueryBillOverview is a nested struct in bssopenapi response
+type ItemsInQueryBillOverview struct {
+	Item []Item `json:"Item" xml:"Item"`
 }

+ 3 - 3
services/bssopenapi/struct_datas_in_query_account_book_list.go → services/bssopenapi/struct_items_in_query_instance_bill.go

@@ -15,7 +15,7 @@ package bssopenapi
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DatasInQueryAccountBookList is a nested struct in bssopenapi response
-type DatasInQueryAccountBookList struct {
-	Data []Data `json:"Data" xml:"Data"`
+// ItemsInQueryInstanceBill is a nested struct in bssopenapi response
+type ItemsInQueryInstanceBill struct {
+	Item []ItemInQueryInstanceBill `json:"Item" xml:"Item"`
 }

+ 0 - 4
services/bssopenapi/struct_module.go

@@ -20,7 +20,6 @@ type Module struct {
 	MonthGaapDeductedByPrepaidCard   string     `json:"MonthGaapDeductedByPrepaidCard" xml:"MonthGaapDeductedByPrepaidCard"`
 	DeductedByCashCoupons            string     `json:"DeductedByCashCoupons" xml:"DeductedByCashCoupons"`
 	PayerAccount                     string     `json:"PayerAccount" xml:"PayerAccount"`
-	PriceUnit                        string     `json:"PriceUnit" xml:"PriceUnit"`
 	GaapPretaxAmountLocal            string     `json:"GaapPretaxAmountLocal" xml:"GaapPretaxAmountLocal"`
 	UsageStartDate                   string     `json:"UsageStartDate" xml:"UsageStartDate"`
 	MonthGaapPaymentAmount           string     `json:"MonthGaapPaymentAmount" xml:"MonthGaapPaymentAmount"`
@@ -38,7 +37,6 @@ type Module struct {
 	InstanceID                       string     `json:"InstanceID" xml:"InstanceID"`
 	UnallocatedPretaxAmount          string     `json:"UnallocatedPretaxAmount" xml:"UnallocatedPretaxAmount"`
 	PriceType                        string     `json:"PriceType" xml:"PriceType"`
-	Config                           string     `json:"Config" xml:"Config"`
 	GaapPricingDiscount              string     `json:"GaapPricingDiscount" xml:"GaapPricingDiscount"`
 	AccountingUnit                   string     `json:"AccountingUnit" xml:"AccountingUnit"`
 	MonthGaapPretaxAmount            string     `json:"MonthGaapPretaxAmount" xml:"MonthGaapPretaxAmount"`
@@ -70,11 +68,9 @@ type Module struct {
 	OrderType                        string     `json:"OrderType" xml:"OrderType"`
 	GaapPaymentAmount                string     `json:"GaapPaymentAmount" xml:"GaapPaymentAmount"`
 	MonthGaapDeductedByCoupons       string     `json:"MonthGaapDeductedByCoupons" xml:"MonthGaapDeductedByCoupons"`
-	PriceUnitQuantity                string     `json:"PriceUnitQuantity" xml:"PriceUnitQuantity"`
 	PretaxAmountLocal                string     `json:"PretaxAmountLocal" xml:"PretaxAmountLocal"`
 	BillType                         string     `json:"BillType" xml:"BillType"`
 	UnallocatedPaymentAmount         string     `json:"UnallocatedPaymentAmount" xml:"UnallocatedPaymentAmount"`
 	MonthGaapDeductedByCashCoupons   string     `json:"MonthGaapDeductedByCashCoupons" xml:"MonthGaapDeductedByCashCoupons"`
 	ConfigList                       ConfigList `json:"ConfigList" xml:"ConfigList"`
-	TierPrices                       TierPrices `json:"TierPrices" xml:"TierPrices"`
 }

+ 2 - 2
services/bssopenapi/struct_modules_in_query_price_list.go → services/bssopenapi/struct_modules.go

@@ -15,7 +15,7 @@ package bssopenapi
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// ModulesInQueryPriceList is a nested struct in bssopenapi response
-type ModulesInQueryPriceList struct {
+// Modules is a nested struct in bssopenapi response
+type Modules struct {
 	Module []Module `json:"Module" xml:"Module"`
 }

+ 0 - 21
services/bssopenapi/struct_modules_in_query_instance_gaap_cost.go

@@ -1,21 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// ModulesInQueryInstanceGaapCost is a nested struct in bssopenapi response
-type ModulesInQueryInstanceGaapCost struct {
-	Module []Module `json:"Module" xml:"Module"`
-}

+ 0 - 27
services/bssopenapi/struct_tier_price.go

@@ -1,27 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// TierPrice is a nested struct in bssopenapi response
-type TierPrice struct {
-	TierStart   string `json:"TierStart" xml:"TierStart"`
-	StartSymbol string `json:"StartSymbol" xml:"StartSymbol"`
-	TierEnd     string `json:"TierEnd" xml:"TierEnd"`
-	EndSymbol   string `json:"EndSymbol" xml:"EndSymbol"`
-	TierType    string `json:"TierType" xml:"TierType"`
-	PriceType   string `json:"PriceType" xml:"PriceType"`
-	Price       string `json:"Price" xml:"Price"`
-}

+ 0 - 108
services/bssopenapi/subscribe_detail.go

@@ -1,108 +0,0 @@
-package bssopenapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// SubscribeDetail invokes the bssopenapi.SubscribeDetail API synchronously
-// api document: https://help.aliyun.com/api/bssopenapi/subscribedetail.html
-func (client *Client) SubscribeDetail(request *SubscribeDetailRequest) (response *SubscribeDetailResponse, err error) {
-	response = CreateSubscribeDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SubscribeDetailWithChan invokes the bssopenapi.SubscribeDetail API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/subscribedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SubscribeDetailWithChan(request *SubscribeDetailRequest) (<-chan *SubscribeDetailResponse, <-chan error) {
-	responseChan := make(chan *SubscribeDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SubscribeDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SubscribeDetailWithCallback invokes the bssopenapi.SubscribeDetail API asynchronously
-// api document: https://help.aliyun.com/api/bssopenapi/subscribedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SubscribeDetailWithCallback(request *SubscribeDetailRequest, callback func(response *SubscribeDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SubscribeDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.SubscribeDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SubscribeDetailRequest is the request struct for api SubscribeDetail
-type SubscribeDetailRequest struct {
-	*requests.RpcRequest
-	BucketOwnerId   requests.Integer `position:"Query" name:"BucketOwnerId"`
-	SubscribeType   *[]string        `position:"Query" name:"SubscribeType"  type:"Repeated"`
-	SubscribeBucket string           `position:"Query" name:"SubscribeBucket"`
-}
-
-// SubscribeDetailResponse is the response struct for api SubscribeDetail
-type SubscribeDetailResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-}
-
-// CreateSubscribeDetailRequest creates a request to invoke SubscribeDetail API
-func CreateSubscribeDetailRequest() (request *SubscribeDetailRequest) {
-	request = &SubscribeDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SubscribeDetail", "", "")
-	return
-}
-
-// CreateSubscribeDetailResponse creates a response to parse from SubscribeDetail response
-func CreateSubscribeDetailResponse() (response *SubscribeDetailResponse) {
-	response = &SubscribeDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}