Browse Source

Generated 2017-12-14 for BssOpenApi.

sdk-team 6 years ago
parent
commit
de8430cd6f
67 changed files with 951 additions and 50 deletions
  1. 3 0
      ChangeLog.txt
  2. 118 0
      services/bssopenapi/allocate_finance_unit_resource.go
  3. 1 1
      services/bssopenapi/apply_invoice.go
  4. 1 1
      services/bssopenapi/cancel_order.go
  5. 1 1
      services/bssopenapi/change_reseller_consume_amount.go
  6. 1 1
      services/bssopenapi/convert_charge_type.go
  7. 1 1
      services/bssopenapi/create_ag_account.go
  8. 114 0
      services/bssopenapi/create_finance_unit.go
  9. 1 1
      services/bssopenapi/create_instance.go
  10. 1 1
      services/bssopenapi/create_reseller_user_quota.go
  11. 1 1
      services/bssopenapi/create_resource_package.go
  12. 108 0
      services/bssopenapi/delete_finance_unit.go
  13. 1 1
      services/bssopenapi/describe_pricing_module.go
  14. 1 1
      services/bssopenapi/describe_resource_package_product.go
  15. 1 1
      services/bssopenapi/enable_bill_generation.go
  16. 1 1
      services/bssopenapi/get_customer_account_info.go
  17. 1 1
      services/bssopenapi/get_customer_list.go
  18. 1 1
      services/bssopenapi/get_order_detail.go
  19. 1 1
      services/bssopenapi/get_pay_as_you_go_price.go
  20. 1 1
      services/bssopenapi/get_resource_package_price.go
  21. 1 1
      services/bssopenapi/get_subscription_price.go
  22. 114 0
      services/bssopenapi/modify_finance_unit.go
  23. 1 1
      services/bssopenapi/modify_instance.go
  24. 1 1
      services/bssopenapi/query_account_balance.go
  25. 1 1
      services/bssopenapi/query_account_transactions.go
  26. 1 1
      services/bssopenapi/query_available_instances.go
  27. 1 1
      services/bssopenapi/query_bill.go
  28. 1 1
      services/bssopenapi/query_bill_overview.go
  29. 1 1
      services/bssopenapi/query_cash_coupons.go
  30. 1 1
      services/bssopenapi/query_customer_address_list.go
  31. 1 1
      services/bssopenapi/query_evaluate_list.go
  32. 110 0
      services/bssopenapi/query_finance_unit.go
  33. 110 0
      services/bssopenapi/query_finance_unit_resource.go
  34. 1 1
      services/bssopenapi/query_instance_bill.go
  35. 1 1
      services/bssopenapi/query_instance_gaap_cost.go
  36. 1 1
      services/bssopenapi/query_invoicing_customer_list.go
  37. 1 1
      services/bssopenapi/query_monthly_bill.go
  38. 1 1
      services/bssopenapi/query_monthly_instance_consumption.go
  39. 1 1
      services/bssopenapi/query_orders.go
  40. 1 1
      services/bssopenapi/query_prepaid_cards.go
  41. 1 1
      services/bssopenapi/query_product_list.go
  42. 1 1
      services/bssopenapi/query_redeem.go
  43. 1 1
      services/bssopenapi/query_reseller_available_quota.go
  44. 1 1
      services/bssopenapi/query_resource_package_instances.go
  45. 1 1
      services/bssopenapi/query_settlement_bill.go
  46. 1 1
      services/bssopenapi/query_user_oms_data.go
  47. 1 1
      services/bssopenapi/renew_instance.go
  48. 1 1
      services/bssopenapi/renew_resource_package.go
  49. 1 1
      services/bssopenapi/set_renewal.go
  50. 1 1
      services/bssopenapi/set_reseller_user_alarm_threshold.go
  51. 1 1
      services/bssopenapi/set_reseller_user_quota.go
  52. 1 1
      services/bssopenapi/set_reseller_user_status.go
  53. 1 1
      services/bssopenapi/struct_account_transactions_list.go
  54. 9 0
      services/bssopenapi/struct_data.go
  55. 21 0
      services/bssopenapi/struct_data_in_modify_finance_unit.go
  56. 23 0
      services/bssopenapi/struct_data_item.go
  57. 24 0
      services/bssopenapi/struct_finance_unit.go
  58. 21 0
      services/bssopenapi/struct_finance_unit_dto_list_in_create_finance_unit.go
  59. 21 0
      services/bssopenapi/struct_finance_unit_dto_list_in_query_finance_unit.go
  60. 24 0
      services/bssopenapi/struct_finance_unit_dto_list_item.go
  61. 27 0
      services/bssopenapi/struct_finance_unit_statis_info.go
  62. 1 1
      services/bssopenapi/struct_redeem.go
  63. 21 0
      services/bssopenapi/struct_resource_instance_dto_list.go
  64. 33 0
      services/bssopenapi/struct_resource_instance_list.go
  65. 1 1
      services/bssopenapi/subscribe_bill_to_oss.go
  66. 1 1
      services/bssopenapi/unsubscribe_bill_to_oss.go
  67. 1 1
      services/bssopenapi/upgrade_resource_package.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-20 Version: 1.60.172
+- Generated 2017-12-14 for `BssOpenApi`.
+
 2019-09-20 Version: 1.60.171
 - Generated 2018-02-01, 2018-07-20 for `ddosbgp`.
 

+ 118 - 0
services/bssopenapi/allocate_finance_unit_resource.go

@@ -0,0 +1,118 @@
+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"
+)
+
+// AllocateFinanceUnitResource invokes the bssopenapi.AllocateFinanceUnitResource API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/allocatefinanceunitresource.html
+func (client *Client) AllocateFinanceUnitResource(request *AllocateFinanceUnitResourceRequest) (response *AllocateFinanceUnitResourceResponse, err error) {
+	response = CreateAllocateFinanceUnitResourceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AllocateFinanceUnitResourceWithChan invokes the bssopenapi.AllocateFinanceUnitResource API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/allocatefinanceunitresource.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AllocateFinanceUnitResourceWithChan(request *AllocateFinanceUnitResourceRequest) (<-chan *AllocateFinanceUnitResourceResponse, <-chan error) {
+	responseChan := make(chan *AllocateFinanceUnitResourceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AllocateFinanceUnitResource(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AllocateFinanceUnitResourceWithCallback invokes the bssopenapi.AllocateFinanceUnitResource API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/allocatefinanceunitresource.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AllocateFinanceUnitResourceWithCallback(request *AllocateFinanceUnitResourceRequest, callback func(response *AllocateFinanceUnitResourceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AllocateFinanceUnitResourceResponse
+		var err error
+		defer close(result)
+		response, err = client.AllocateFinanceUnitResource(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AllocateFinanceUnitResourceRequest is the request struct for api AllocateFinanceUnitResource
+type AllocateFinanceUnitResourceRequest struct {
+	*requests.RpcRequest
+	ResourceInstanceList *[]AllocateFinanceUnitResourceResourceInstanceList `position:"Query" name:"ResourceInstanceList"  type:"Repeated"`
+	FromUnitId           requests.Integer                                   `position:"Query" name:"FromUnitId"`
+	ToUnitId             requests.Integer                                   `position:"Query" name:"ToUnitId"`
+	FromUnitUserId       requests.Integer                                   `position:"Query" name:"FromUnitUserId"`
+	ToUnitUserId         requests.Integer                                   `position:"Query" name:"ToUnitUserId"`
+}
+
+// AllocateFinanceUnitResourceResourceInstanceList is a repeated param struct in AllocateFinanceUnitResourceRequest
+type AllocateFinanceUnitResourceResourceInstanceList struct {
+	ResourceId     string `name:"ResourceId"`
+	CommodityCode  string `name:"CommodityCode"`
+	ResourceUserId string `name:"ResourceUserId"`
+}
+
+// AllocateFinanceUnitResourceResponse is the response struct for api AllocateFinanceUnitResource
+type AllocateFinanceUnitResourceResponse 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"`
+}
+
+// CreateAllocateFinanceUnitResourceRequest creates a request to invoke AllocateFinanceUnitResource API
+func CreateAllocateFinanceUnitResourceRequest() (request *AllocateFinanceUnitResourceRequest) {
+	request = &AllocateFinanceUnitResourceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "AllocateFinanceUnitResource", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateAllocateFinanceUnitResourceResponse creates a response to parse from AllocateFinanceUnitResource response
+func CreateAllocateFinanceUnitResourceResponse() (response *AllocateFinanceUnitResourceResponse) {
+	response = &AllocateFinanceUnitResourceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/apply_invoice.go

@@ -104,7 +104,7 @@ func CreateApplyInvoiceRequest() (request *ApplyInvoiceRequest) {
 	request = &ApplyInvoiceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ApplyInvoice", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ApplyInvoice", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/cancel_order.go

@@ -95,7 +95,7 @@ func CreateCancelOrderRequest() (request *CancelOrderRequest) {
 	request = &CancelOrderRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CancelOrder", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CancelOrder", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/change_reseller_consume_amount.go

@@ -101,7 +101,7 @@ func CreateChangeResellerConsumeAmountRequest() (request *ChangeResellerConsumeA
 	request = &ChangeResellerConsumeAmountRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ChangeResellerConsumeAmount", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ChangeResellerConsumeAmount", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/convert_charge_type.go

@@ -99,7 +99,7 @@ func CreateConvertChargeTypeRequest() (request *ConvertChargeTypeRequest) {
 	request = &ConvertChargeTypeRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ConvertChargeType", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ConvertChargeType", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/create_ag_account.go

@@ -102,7 +102,7 @@ func CreateCreateAgAccountRequest() (request *CreateAgAccountRequest) {
 	request = &CreateAgAccountRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateAgAccount", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateAgAccount", "bssopenapi", "openAPI")
 	return
 }
 

+ 114 - 0
services/bssopenapi/create_finance_unit.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// CreateFinanceUnit invokes the bssopenapi.CreateFinanceUnit API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createfinanceunit.html
+func (client *Client) CreateFinanceUnit(request *CreateFinanceUnitRequest) (response *CreateFinanceUnitResponse, err error) {
+	response = CreateCreateFinanceUnitResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFinanceUnitWithChan invokes the bssopenapi.CreateFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFinanceUnitWithChan(request *CreateFinanceUnitRequest) (<-chan *CreateFinanceUnitResponse, <-chan error) {
+	responseChan := make(chan *CreateFinanceUnitResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFinanceUnit(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFinanceUnitWithCallback invokes the bssopenapi.CreateFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFinanceUnitWithCallback(request *CreateFinanceUnitRequest, callback func(response *CreateFinanceUnitResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFinanceUnitResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFinanceUnit(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFinanceUnitRequest is the request struct for api CreateFinanceUnit
+type CreateFinanceUnitRequest struct {
+	*requests.RpcRequest
+	UnitEntityList *[]CreateFinanceUnitUnitEntityList `position:"Query" name:"UnitEntityList"  type:"Repeated"`
+}
+
+// CreateFinanceUnitUnitEntityList is a repeated param struct in CreateFinanceUnitRequest
+type CreateFinanceUnitUnitEntityList struct {
+	UnitName     string `name:"UnitName"`
+	ParentUnitId string `name:"ParentUnitId"`
+	OwnerUid     string `name:"OwnerUid"`
+}
+
+// CreateFinanceUnitResponse is the response struct for api CreateFinanceUnit
+type CreateFinanceUnitResponse 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"`
+}
+
+// CreateCreateFinanceUnitRequest creates a request to invoke CreateFinanceUnit API
+func CreateCreateFinanceUnitRequest() (request *CreateFinanceUnitRequest) {
+	request = &CreateFinanceUnitRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateFinanceUnit", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateCreateFinanceUnitResponse creates a response to parse from CreateFinanceUnit response
+func CreateCreateFinanceUnitResponse() (response *CreateFinanceUnitResponse) {
+	response = &CreateFinanceUnitResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/create_instance.go

@@ -108,7 +108,7 @@ func CreateCreateInstanceRequest() (request *CreateInstanceRequest) {
 	request = &CreateInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateInstance", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateInstance", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/create_reseller_user_quota.go

@@ -97,7 +97,7 @@ func CreateCreateResellerUserQuotaRequest() (request *CreateResellerUserQuotaReq
 	request = &CreateResellerUserQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateResellerUserQuota", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateResellerUserQuota", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/create_resource_package.go

@@ -101,7 +101,7 @@ func CreateCreateResourcePackageRequest() (request *CreateResourcePackageRequest
 	request = &CreateResourcePackageRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateResourcePackage", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateResourcePackage", "bssopenapi", "openAPI")
 	return
 }
 

+ 108 - 0
services/bssopenapi/delete_finance_unit.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DeleteFinanceUnit invokes the bssopenapi.DeleteFinanceUnit API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/deletefinanceunit.html
+func (client *Client) DeleteFinanceUnit(request *DeleteFinanceUnitRequest) (response *DeleteFinanceUnitResponse, err error) {
+	response = CreateDeleteFinanceUnitResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFinanceUnitWithChan invokes the bssopenapi.DeleteFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/deletefinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFinanceUnitWithChan(request *DeleteFinanceUnitRequest) (<-chan *DeleteFinanceUnitResponse, <-chan error) {
+	responseChan := make(chan *DeleteFinanceUnitResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFinanceUnit(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFinanceUnitWithCallback invokes the bssopenapi.DeleteFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/deletefinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFinanceUnitWithCallback(request *DeleteFinanceUnitRequest, callback func(response *DeleteFinanceUnitResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFinanceUnitResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFinanceUnit(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFinanceUnitRequest is the request struct for api DeleteFinanceUnit
+type DeleteFinanceUnitRequest struct {
+	*requests.RpcRequest
+	UnitId   requests.Integer `position:"Query" name:"UnitId"`
+	OwnerUid requests.Integer `position:"Query" name:"OwnerUid"`
+}
+
+// DeleteFinanceUnitResponse is the response struct for api DeleteFinanceUnit
+type DeleteFinanceUnitResponse 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"`
+}
+
+// CreateDeleteFinanceUnitRequest creates a request to invoke DeleteFinanceUnit API
+func CreateDeleteFinanceUnitRequest() (request *DeleteFinanceUnitRequest) {
+	request = &DeleteFinanceUnitRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "DeleteFinanceUnit", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateDeleteFinanceUnitResponse creates a response to parse from DeleteFinanceUnit response
+func CreateDeleteFinanceUnitResponse() (response *DeleteFinanceUnitResponse) {
+	response = &DeleteFinanceUnitResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/describe_pricing_module.go

@@ -97,7 +97,7 @@ func CreateDescribePricingModuleRequest() (request *DescribePricingModuleRequest
 	request = &DescribePricingModuleRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "DescribePricingModule", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "DescribePricingModule", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/describe_resource_package_product.go

@@ -95,7 +95,7 @@ func CreateDescribeResourcePackageProductRequest() (request *DescribeResourcePac
 	request = &DescribeResourcePackageProductRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "DescribeResourcePackageProduct", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "DescribeResourcePackageProduct", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/enable_bill_generation.go

@@ -95,7 +95,7 @@ func CreateEnableBillGenerationRequest() (request *EnableBillGenerationRequest)
 	request = &EnableBillGenerationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "EnableBillGeneration", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "EnableBillGeneration", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_customer_account_info.go

@@ -94,7 +94,7 @@ func CreateGetCustomerAccountInfoRequest() (request *GetCustomerAccountInfoReque
 	request = &GetCustomerAccountInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerAccountInfo", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerAccountInfo", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_customer_list.go

@@ -93,7 +93,7 @@ func CreateGetCustomerListRequest() (request *GetCustomerListRequest) {
 	request = &GetCustomerListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerList", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_order_detail.go

@@ -95,7 +95,7 @@ func CreateGetOrderDetailRequest() (request *GetOrderDetailRequest) {
 	request = &GetOrderDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetOrderDetail", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetOrderDetail", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_pay_as_you_go_price.go

@@ -106,7 +106,7 @@ func CreateGetPayAsYouGoPriceRequest() (request *GetPayAsYouGoPriceRequest) {
 	request = &GetPayAsYouGoPriceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetPayAsYouGoPrice", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetPayAsYouGoPrice", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_resource_package_price.go

@@ -102,7 +102,7 @@ func CreateGetResourcePackagePriceRequest() (request *GetResourcePackagePriceReq
 	request = &GetResourcePackagePriceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetResourcePackagePrice", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetResourcePackagePrice", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/get_subscription_price.go

@@ -112,7 +112,7 @@ func CreateGetSubscriptionPriceRequest() (request *GetSubscriptionPriceRequest)
 	request = &GetSubscriptionPriceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetSubscriptionPrice", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetSubscriptionPrice", "bssopenapi", "openAPI")
 	return
 }
 

+ 114 - 0
services/bssopenapi/modify_finance_unit.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// ModifyFinanceUnit invokes the bssopenapi.ModifyFinanceUnit API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/modifyfinanceunit.html
+func (client *Client) ModifyFinanceUnit(request *ModifyFinanceUnitRequest) (response *ModifyFinanceUnitResponse, err error) {
+	response = CreateModifyFinanceUnitResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyFinanceUnitWithChan invokes the bssopenapi.ModifyFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/modifyfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyFinanceUnitWithChan(request *ModifyFinanceUnitRequest) (<-chan *ModifyFinanceUnitResponse, <-chan error) {
+	responseChan := make(chan *ModifyFinanceUnitResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyFinanceUnit(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyFinanceUnitWithCallback invokes the bssopenapi.ModifyFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/modifyfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyFinanceUnitWithCallback(request *ModifyFinanceUnitRequest, callback func(response *ModifyFinanceUnitResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyFinanceUnitResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyFinanceUnit(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyFinanceUnitRequest is the request struct for api ModifyFinanceUnit
+type ModifyFinanceUnitRequest struct {
+	*requests.RpcRequest
+	UnitEntityList *[]ModifyFinanceUnitUnitEntityList `position:"Query" name:"UnitEntityList"  type:"Repeated"`
+}
+
+// ModifyFinanceUnitUnitEntityList is a repeated param struct in ModifyFinanceUnitRequest
+type ModifyFinanceUnitUnitEntityList struct {
+	UnitName string `name:"UnitName"`
+	UnitId   string `name:"UnitId"`
+	OwnerUid string `name:"OwnerUid"`
+}
+
+// ModifyFinanceUnitResponse is the response struct for api ModifyFinanceUnit
+type ModifyFinanceUnitResponse 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      []DataItem `json:"Data" xml:"Data"`
+}
+
+// CreateModifyFinanceUnitRequest creates a request to invoke ModifyFinanceUnit API
+func CreateModifyFinanceUnitRequest() (request *ModifyFinanceUnitRequest) {
+	request = &ModifyFinanceUnitRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ModifyFinanceUnit", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateModifyFinanceUnitResponse creates a response to parse from ModifyFinanceUnit response
+func CreateModifyFinanceUnitResponse() (response *ModifyFinanceUnitResponse) {
+	response = &ModifyFinanceUnitResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/modify_instance.go

@@ -107,7 +107,7 @@ func CreateModifyInstanceRequest() (request *ModifyInstanceRequest) {
 	request = &ModifyInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ModifyInstance", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ModifyInstance", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_account_balance.go

@@ -93,7 +93,7 @@ func CreateQueryAccountBalanceRequest() (request *QueryAccountBalanceRequest) {
 	request = &QueryAccountBalanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountBalance", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountBalance", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_account_transactions.go

@@ -100,7 +100,7 @@ func CreateQueryAccountTransactionsRequest() (request *QueryAccountTransactionsR
 	request = &QueryAccountTransactionsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountTransactions", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountTransactions", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_available_instances.go

@@ -106,7 +106,7 @@ func CreateQueryAvailableInstancesRequest() (request *QueryAvailableInstancesReq
 	request = &QueryAvailableInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAvailableInstances", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAvailableInstances", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_bill.go

@@ -103,7 +103,7 @@ func CreateQueryBillRequest() (request *QueryBillRequest) {
 	request = &QueryBillRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBill", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBill", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_bill_overview.go

@@ -97,7 +97,7 @@ func CreateQueryBillOverviewRequest() (request *QueryBillOverviewRequest) {
 	request = &QueryBillOverviewRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBillOverview", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryBillOverview", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_cash_coupons.go

@@ -96,7 +96,7 @@ func CreateQueryCashCouponsRequest() (request *QueryCashCouponsRequest) {
 	request = &QueryCashCouponsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryCashCoupons", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryCashCoupons", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_customer_address_list.go

@@ -96,7 +96,7 @@ func CreateQueryCustomerAddressListRequest() (request *QueryCustomerAddressListR
 	request = &QueryCustomerAddressListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryCustomerAddressList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryCustomerAddressList", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_evaluate_list.go

@@ -107,7 +107,7 @@ func CreateQueryEvaluateListRequest() (request *QueryEvaluateListRequest) {
 	request = &QueryEvaluateListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryEvaluateList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryEvaluateList", "bssopenapi", "openAPI")
 	return
 }
 

+ 110 - 0
services/bssopenapi/query_finance_unit.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"
+)
+
+// QueryFinanceUnit invokes the bssopenapi.QueryFinanceUnit API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunit.html
+func (client *Client) QueryFinanceUnit(request *QueryFinanceUnitRequest) (response *QueryFinanceUnitResponse, err error) {
+	response = CreateQueryFinanceUnitResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryFinanceUnitWithChan invokes the bssopenapi.QueryFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryFinanceUnitWithChan(request *QueryFinanceUnitRequest) (<-chan *QueryFinanceUnitResponse, <-chan error) {
+	responseChan := make(chan *QueryFinanceUnitResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryFinanceUnit(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryFinanceUnitWithCallback invokes the bssopenapi.QueryFinanceUnit API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryFinanceUnitWithCallback(request *QueryFinanceUnitRequest, callback func(response *QueryFinanceUnitResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryFinanceUnitResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryFinanceUnit(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryFinanceUnitRequest is the request struct for api QueryFinanceUnit
+type QueryFinanceUnitRequest struct {
+	*requests.RpcRequest
+	PageNum  requests.Integer `position:"Query" name:"PageNum"`
+	PageSize requests.Integer `position:"Query" name:"PageSize"`
+	UnitId   requests.Integer `position:"Query" name:"UnitId"`
+	OwnerUid requests.Integer `position:"Query" name:"OwnerUid"`
+}
+
+// QueryFinanceUnitResponse is the response struct for api QueryFinanceUnit
+type QueryFinanceUnitResponse 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"`
+}
+
+// CreateQueryFinanceUnitRequest creates a request to invoke QueryFinanceUnit API
+func CreateQueryFinanceUnitRequest() (request *QueryFinanceUnitRequest) {
+	request = &QueryFinanceUnitRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryFinanceUnit", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateQueryFinanceUnitResponse creates a response to parse from QueryFinanceUnit response
+func CreateQueryFinanceUnitResponse() (response *QueryFinanceUnitResponse) {
+	response = &QueryFinanceUnitResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/bssopenapi/query_finance_unit_resource.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"
+)
+
+// QueryFinanceUnitResource invokes the bssopenapi.QueryFinanceUnitResource API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunitresource.html
+func (client *Client) QueryFinanceUnitResource(request *QueryFinanceUnitResourceRequest) (response *QueryFinanceUnitResourceResponse, err error) {
+	response = CreateQueryFinanceUnitResourceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryFinanceUnitResourceWithChan invokes the bssopenapi.QueryFinanceUnitResource API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunitresource.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryFinanceUnitResourceWithChan(request *QueryFinanceUnitResourceRequest) (<-chan *QueryFinanceUnitResourceResponse, <-chan error) {
+	responseChan := make(chan *QueryFinanceUnitResourceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryFinanceUnitResource(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryFinanceUnitResourceWithCallback invokes the bssopenapi.QueryFinanceUnitResource API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryfinanceunitresource.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryFinanceUnitResourceWithCallback(request *QueryFinanceUnitResourceRequest, callback func(response *QueryFinanceUnitResourceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryFinanceUnitResourceResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryFinanceUnitResource(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryFinanceUnitResourceRequest is the request struct for api QueryFinanceUnitResource
+type QueryFinanceUnitResourceRequest struct {
+	*requests.RpcRequest
+	PageNum  requests.Integer `position:"Query" name:"PageNum"`
+	PageSize requests.Integer `position:"Query" name:"PageSize"`
+	UnitId   requests.Integer `position:"Query" name:"UnitId"`
+	OwnerUid requests.Integer `position:"Query" name:"OwnerUid"`
+}
+
+// QueryFinanceUnitResourceResponse is the response struct for api QueryFinanceUnitResource
+type QueryFinanceUnitResourceResponse 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"`
+}
+
+// CreateQueryFinanceUnitResourceRequest creates a request to invoke QueryFinanceUnitResource API
+func CreateQueryFinanceUnitResourceRequest() (request *QueryFinanceUnitResourceRequest) {
+	request = &QueryFinanceUnitResourceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryFinanceUnitResource", "bssopenapi", "openAPI")
+	return
+}
+
+// CreateQueryFinanceUnitResourceResponse creates a response to parse from QueryFinanceUnitResource response
+func CreateQueryFinanceUnitResourceResponse() (response *QueryFinanceUnitResourceResponse) {
+	response = &QueryFinanceUnitResourceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/query_instance_bill.go

@@ -102,7 +102,7 @@ func CreateQueryInstanceBillRequest() (request *QueryInstanceBillRequest) {
 	request = &QueryInstanceBillRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInstanceBill", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInstanceBill", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_instance_gaap_cost.go

@@ -99,7 +99,7 @@ func CreateQueryInstanceGaapCostRequest() (request *QueryInstanceGaapCostRequest
 	request = &QueryInstanceGaapCostRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInstanceGaapCost", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInstanceGaapCost", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_invoicing_customer_list.go

@@ -94,7 +94,7 @@ func CreateQueryInvoicingCustomerListRequest() (request *QueryInvoicingCustomerL
 	request = &QueryInvoicingCustomerListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInvoicingCustomerList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryInvoicingCustomerList", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_monthly_bill.go

@@ -94,7 +94,7 @@ func CreateQueryMonthlyBillRequest() (request *QueryMonthlyBillRequest) {
 	request = &QueryMonthlyBillRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryMonthlyBill", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryMonthlyBill", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_monthly_instance_consumption.go

@@ -100,7 +100,7 @@ func CreateQueryMonthlyInstanceConsumptionRequest() (request *QueryMonthlyInstan
 	request = &QueryMonthlyInstanceConsumptionRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryMonthlyInstanceConsumption", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryMonthlyInstanceConsumption", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_orders.go

@@ -103,7 +103,7 @@ func CreateQueryOrdersRequest() (request *QueryOrdersRequest) {
 	request = &QueryOrdersRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryOrders", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryOrders", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_prepaid_cards.go

@@ -96,7 +96,7 @@ func CreateQueryPrepaidCardsRequest() (request *QueryPrepaidCardsRequest) {
 	request = &QueryPrepaidCardsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryPrepaidCards", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryPrepaidCards", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_product_list.go

@@ -96,7 +96,7 @@ func CreateQueryProductListRequest() (request *QueryProductListRequest) {
 	request = &QueryProductListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryProductList", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryProductList", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_redeem.go

@@ -98,7 +98,7 @@ func CreateQueryRedeemRequest() (request *QueryRedeemRequest) {
 	request = &QueryRedeemRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryRedeem", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryRedeem", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_reseller_available_quota.go

@@ -95,7 +95,7 @@ func CreateQueryResellerAvailableQuotaRequest() (request *QueryResellerAvailable
 	request = &QueryResellerAvailableQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryResellerAvailableQuota", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryResellerAvailableQuota", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_resource_package_instances.go

@@ -102,7 +102,7 @@ func CreateQueryResourcePackageInstancesRequest() (request *QueryResourcePackage
 	request = &QueryResourcePackageInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryResourcePackageInstances", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryResourcePackageInstances", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_settlement_bill.go

@@ -104,7 +104,7 @@ func CreateQuerySettlementBillRequest() (request *QuerySettlementBillRequest) {
 	request = &QuerySettlementBillRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QuerySettlementBill", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QuerySettlementBill", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/query_user_oms_data.go

@@ -100,7 +100,7 @@ func CreateQueryUserOmsDataRequest() (request *QueryUserOmsDataRequest) {
 	request = &QueryUserOmsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryUserOmsData", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryUserOmsData", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/renew_instance.go

@@ -99,7 +99,7 @@ func CreateRenewInstanceRequest() (request *RenewInstanceRequest) {
 	request = &RenewInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "RenewInstance", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "RenewInstance", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/renew_resource_package.go

@@ -99,7 +99,7 @@ func CreateRenewResourcePackageRequest() (request *RenewResourcePackageRequest)
 	request = &RenewResourcePackageRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "RenewResourcePackage", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "RenewResourcePackage", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/set_renewal.go

@@ -100,7 +100,7 @@ func CreateSetRenewalRequest() (request *SetRenewalRequest) {
 	request = &SetRenewalRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetRenewal", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetRenewal", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/set_reseller_user_alarm_threshold.go

@@ -96,7 +96,7 @@ func CreateSetResellerUserAlarmThresholdRequest() (request *SetResellerUserAlarm
 	request = &SetResellerUserAlarmThresholdRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserAlarmThreshold", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserAlarmThreshold", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/set_reseller_user_quota.go

@@ -97,7 +97,7 @@ func CreateSetResellerUserQuotaRequest() (request *SetResellerUserQuotaRequest)
 	request = &SetResellerUserQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserQuota", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserQuota", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/set_reseller_user_status.go

@@ -96,7 +96,7 @@ func CreateSetResellerUserStatusRequest() (request *SetResellerUserStatusRequest
 	request = &SetResellerUserStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserStatus", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserStatus", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/struct_account_transactions_list.go

@@ -17,5 +17,5 @@ package bssopenapi
 
 // AccountTransactionsList is a nested struct in bssopenapi response
 type AccountTransactionsList struct {
-	AccountTransactionsListItem []AccountTransactionsListItem `json:"AccountTransactionsListItem" xml:"AccountTransactionsListItem"`
+	AccountTransactionsListItem []AccountTransactionsListItem `json:"AccountTransactionsList" xml:"AccountTransactionsList"`
 }

+ 9 - 0
services/bssopenapi/struct_data.go

@@ -17,10 +17,12 @@ package bssopenapi
 
 // Data is a nested struct in bssopenapi response
 type Data struct {
+	ToUnitUserId                int64                                `json:"ToUnitUserId" xml:"ToUnitUserId"`
 	TradePrice                  float64                              `json:"TradePrice" xml:"TradePrice"`
 	HostId                      string                               `json:"HostId" xml:"HostId"`
 	TotalUnAppliedInvoiceAmount int64                                `json:"TotalUnAppliedInvoiceAmount" xml:"TotalUnAppliedInvoiceAmount"`
 	OriginalPrice               float64                              `json:"OriginalPrice" xml:"OriginalPrice"`
+	ToUnitId                    int64                                `json:"ToUnitId" xml:"ToUnitId"`
 	OrderId                     string                               `json:"OrderId" xml:"OrderId"`
 	HostingStatus               string                               `json:"HostingStatus" xml:"HostingStatus"`
 	TotalCount                  int                                  `json:"TotalCount" xml:"TotalCount"`
@@ -37,14 +39,17 @@ type Data struct {
 	AvailableAmount             string                               `json:"AvailableAmount" xml:"AvailableAmount"`
 	PageSize                    int                                  `json:"PageSize" xml:"PageSize"`
 	MybankCreditAmount          string                               `json:"MybankCreditAmount" xml:"MybankCreditAmount"`
+	UnitId                      int64                                `json:"UnitId" xml:"UnitId"`
 	CreditAmount                string                               `json:"CreditAmount" xml:"CreditAmount"`
 	AccountID                   string                               `json:"AccountID" xml:"AccountID"`
 	InstanceId                  string                               `json:"InstanceId" xml:"InstanceId"`
+	OwnerUid                    int64                                `json:"OwnerUid" xml:"OwnerUid"`
 	InvoiceApplyId              int64                                `json:"InvoiceApplyId" xml:"InvoiceApplyId"`
 	Boolean                     bool                                 `json:"Boolean" xml:"Boolean"`
 	IsCertified                 bool                                 `json:"IsCertified" xml:"IsCertified"`
 	TotalInvoiceAmount          int64                                `json:"TotalInvoiceAmount" xml:"TotalInvoiceAmount"`
 	PageNum                     int                                  `json:"PageNum" xml:"PageNum"`
+	IsSuccess                   bool                                 `json:"IsSuccess" xml:"IsSuccess"`
 	Currency                    string                               `json:"Currency" xml:"Currency"`
 	LoginEmail                  string                               `json:"LoginEmail" xml:"LoginEmail"`
 	DiscountPrice               float64                              `json:"DiscountPrice" xml:"DiscountPrice"`
@@ -52,6 +57,9 @@ type Data struct {
 	Mpk                         int64                                `json:"Mpk" xml:"Mpk"`
 	UidList                     UidList                              `json:"UidList" xml:"UidList"`
 	OmsData                     OmsData                              `json:"OmsData" xml:"OmsData"`
+	FinanceUnitStatisInfo       FinanceUnitStatisInfo                `json:"FinanceUnitStatisInfo" xml:"FinanceUnitStatisInfo"`
+	FinanceUnit                 FinanceUnit                          `json:"FinanceUnit" xml:"FinanceUnit"`
+	ResourceInstanceDtoList     []ResourceInstanceList               `json:"ResourceInstanceDtoList" xml:"ResourceInstanceDtoList"`
 	ModuleList                  ModuleList                           `json:"ModuleList" xml:"ModuleList"`
 	Items                       ItemsInQueryInstanceBill             `json:"Items" xml:"Items"`
 	InstanceList                []Instance                           `json:"InstanceList" xml:"InstanceList"`
@@ -63,6 +71,7 @@ type Data struct {
 	PromotionDetails            PromotionDetailsInGetPayAsYouGoPrice `json:"PromotionDetails" xml:"PromotionDetails"`
 	AccountTransactionsList     AccountTransactionsList              `json:"AccountTransactionsList" xml:"AccountTransactionsList"`
 	EvaluateList                EvaluateList                         `json:"EvaluateList" xml:"EvaluateList"`
+	FinanceUnitDtoList          []FinanceUnitDtoListItem             `json:"FinanceUnitDtoList" xml:"FinanceUnitDtoList"`
 	Promotions                  Promotions                           `json:"Promotions" xml:"Promotions"`
 	CustomerInvoiceAddressList  CustomerInvoiceAddressList           `json:"CustomerInvoiceAddressList" xml:"CustomerInvoiceAddressList"`
 	CustomerInvoiceList         CustomerInvoiceList                  `json:"CustomerInvoiceList" xml:"CustomerInvoiceList"`

+ 21 - 0
services/bssopenapi/struct_data_in_modify_finance_unit.go

@@ -0,0 +1,21 @@
+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.
+
+// DataInModifyFinanceUnit is a nested struct in bssopenapi response
+type DataInModifyFinanceUnit struct {
+	DataItem []DataItem `json:"Data" xml:"Data"`
+}

+ 23 - 0
services/bssopenapi/struct_data_item.go

@@ -0,0 +1,23 @@
+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.
+
+// DataItem is a nested struct in bssopenapi response
+type DataItem struct {
+	OwnerUid  int64 `json:"OwnerUid" xml:"OwnerUid"`
+	UnitId    int64 `json:"UnitId" xml:"UnitId"`
+	IsSuccess bool  `json:"IsSuccess" xml:"IsSuccess"`
+}

+ 24 - 0
services/bssopenapi/struct_finance_unit.go

@@ -0,0 +1,24 @@
+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.
+
+// FinanceUnit is a nested struct in bssopenapi response
+type FinanceUnit struct {
+	OwnerUid     int64  `json:"OwnerUid" xml:"OwnerUid"`
+	ParentUnitId int64  `json:"ParentUnitId" xml:"ParentUnitId"`
+	UnitId       int64  `json:"UnitId" xml:"UnitId"`
+	UnitName     string `json:"UnitName" xml:"UnitName"`
+}

+ 21 - 0
services/bssopenapi/struct_finance_unit_dto_list_in_create_finance_unit.go

@@ -0,0 +1,21 @@
+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.
+
+// FinanceUnitDtoListInCreateFinanceUnit is a nested struct in bssopenapi response
+type FinanceUnitDtoListInCreateFinanceUnit struct {
+	FinanceUnitDtoListItem []FinanceUnitDtoListItem `json:"FinanceUnitDtoList" xml:"FinanceUnitDtoList"`
+}

+ 21 - 0
services/bssopenapi/struct_finance_unit_dto_list_in_query_finance_unit.go

@@ -0,0 +1,21 @@
+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.
+
+// FinanceUnitDtoListInQueryFinanceUnit is a nested struct in bssopenapi response
+type FinanceUnitDtoListInQueryFinanceUnit struct {
+	FinanceUnitDtoListItem []FinanceUnitDtoListItem `json:"FinanceUnitDtoList" xml:"FinanceUnitDtoList"`
+}

+ 24 - 0
services/bssopenapi/struct_finance_unit_dto_list_item.go

@@ -0,0 +1,24 @@
+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.
+
+// FinanceUnitDtoListItem is a nested struct in bssopenapi response
+type FinanceUnitDtoListItem struct {
+	ParentUnitId int64  `json:"ParentUnitId" xml:"ParentUnitId"`
+	UnitName     string `json:"UnitName" xml:"UnitName"`
+	OwnerUid     int64  `json:"OwnerUid" xml:"OwnerUid"`
+	UnitId       int64  `json:"UnitId" xml:"UnitId"`
+}

+ 27 - 0
services/bssopenapi/struct_finance_unit_statis_info.go

@@ -0,0 +1,27 @@
+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.
+
+// FinanceUnitStatisInfo is a nested struct in bssopenapi response
+type FinanceUnitStatisInfo struct {
+	ResourceCount           int64 `json:"ResourceCount" xml:"ResourceCount"`
+	ResourceGroupCount      int64 `json:"ResourceGroupCount" xml:"ResourceGroupCount"`
+	SubUnitCount            int64 `json:"SubUnitCount" xml:"SubUnitCount"`
+	UserCount               int64 `json:"UserCount" xml:"UserCount"`
+	TotalResourceCount      int64 `json:"TotalResourceCount" xml:"TotalResourceCount"`
+	TotalUserCount          int64 `json:"TotalUserCount" xml:"TotalUserCount"`
+	TotalResourceGroupCount int64 `json:"TotalResourceGroupCount" xml:"TotalResourceGroupCount"`
+}

+ 1 - 1
services/bssopenapi/struct_redeem.go

@@ -17,5 +17,5 @@ package bssopenapi
 
 // Redeem is a nested struct in bssopenapi response
 type Redeem struct {
-	RedeemItem []RedeemItem `json:"RedeemItem" xml:"RedeemItem"`
+	RedeemItem []RedeemItem `json:"Redeem" xml:"Redeem"`
 }

+ 21 - 0
services/bssopenapi/struct_resource_instance_dto_list.go

@@ -0,0 +1,21 @@
+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.
+
+// ResourceInstanceDtoList is a nested struct in bssopenapi response
+type ResourceInstanceDtoList struct {
+	ResourceInstanceList []ResourceInstanceList `json:"ResourceInstanceList" xml:"ResourceInstanceList"`
+}

+ 33 - 0
services/bssopenapi/struct_resource_instance_list.go

@@ -0,0 +1,33 @@
+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.
+
+// ResourceInstanceList is a nested struct in bssopenapi response
+type ResourceInstanceList struct {
+	ResourceUserId   int64  `json:"ResourceUserId" xml:"ResourceUserId"`
+	ResourceId       int64  `json:"ResourceId" xml:"ResourceId"`
+	CommodityCode    string `json:"CommodityCode" xml:"CommodityCode"`
+	ResourceUserName string `json:"ResourceUserName" xml:"ResourceUserName"`
+	CommodityName    string `json:"CommodityName" xml:"CommodityName"`
+	ResourceGroup    string `json:"ResourceGroup" xml:"ResourceGroup"`
+	ResourceTag      string `json:"ResourceTag" xml:"ResourceTag"`
+	ResourceNick     string `json:"ResourceNick" xml:"ResourceNick"`
+	ResourceType     string `json:"ResourceType" xml:"ResourceType"`
+	ResourceStatus   string `json:"ResourceStatus" xml:"ResourceStatus"`
+	RelatedResources string `json:"RelatedResources" xml:"RelatedResources"`
+	ApportionCode    string `json:"ApportionCode" xml:"ApportionCode"`
+	ApportionName    string `json:"ApportionName" xml:"ApportionName"`
+}

+ 1 - 1
services/bssopenapi/subscribe_bill_to_oss.go

@@ -96,7 +96,7 @@ func CreateSubscribeBillToOSSRequest() (request *SubscribeBillToOSSRequest) {
 	request = &SubscribeBillToOSSRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SubscribeBillToOSS", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SubscribeBillToOSS", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/unsubscribe_bill_to_oss.go

@@ -94,7 +94,7 @@ func CreateUnsubscribeBillToOSSRequest() (request *UnsubscribeBillToOSSRequest)
 	request = &UnsubscribeBillToOSSRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "UnsubscribeBillToOSS", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "UnsubscribeBillToOSS", "bssopenapi", "openAPI")
 	return
 }
 

+ 1 - 1
services/bssopenapi/upgrade_resource_package.go

@@ -98,7 +98,7 @@ func CreateUpgradeResourcePackageRequest() (request *UpgradeResourcePackageReque
 	request = &UpgradeResourcePackageRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "UpgradeResourcePackage", "", "")
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "UpgradeResourcePackage", "bssopenapi", "openAPI")
 	return
 }