Ver código fonte

BSSOPENAPI SDK Auto Released By xueyulun,Version:1.39.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 anos atrás
pai
commit
cde84bd088
37 arquivos alterados com 1621 adições e 52 exclusões
  1. 3 0
      ChangeLog.txt
  2. 115 0
      services/bssopenapi/change_consume_amount.go
  3. 112 0
      services/bssopenapi/convert_charge_type.go
  4. 1 1
      services/bssopenapi/create_instance.go
  5. 111 0
      services/bssopenapi/create_user_quota.go
  6. 5 5
      services/bssopenapi/get_order_detail.go
  7. 1 1
      services/bssopenapi/get_subscription_price.go
  8. 110 0
      services/bssopenapi/query_account_book_list.go
  9. 5 5
      services/bssopenapi/query_available_instances.go
  10. 109 0
      services/bssopenapi/query_avaliable_quota.go
  11. 111 0
      services/bssopenapi/query_enduser_status.go
  12. 5 5
      services/bssopenapi/query_instance_gaap_cost.go
  13. 6 6
      services/bssopenapi/query_monthly_instance_consumption.go
  14. 6 6
      services/bssopenapi/query_orders.go
  15. 5 5
      services/bssopenapi/query_product_list.go
  16. 111 0
      services/bssopenapi/query_redeem.go
  17. 6 5
      services/bssopenapi/query_settlement_bill.go
  18. 111 0
      services/bssopenapi/query_user_alarm_threshold.go
  19. 110 0
      services/bssopenapi/set_enduser_status.go
  20. 110 0
      services/bssopenapi/set_user_alarm_threshold.go
  21. 111 0
      services/bssopenapi/set_user_quota.go
  22. 4 3
      services/bssopenapi/struct_attribute.go
  23. 24 0
      services/bssopenapi/struct_attribute_value.go
  24. 21 10
      services/bssopenapi/struct_data.go
  25. 25 0
      services/bssopenapi/struct_data_in_get_order_detail.go
  26. 24 0
      services/bssopenapi/struct_data_in_query_available_instances.go
  27. 25 0
      services/bssopenapi/struct_data_in_query_instance_gaap_cost.go
  28. 25 0
      services/bssopenapi/struct_data_in_query_monthly_instance_consumption.go
  29. 25 0
      services/bssopenapi/struct_data_in_query_orders.go
  30. 24 0
      services/bssopenapi/struct_data_in_query_product_list.go
  31. 25 0
      services/bssopenapi/struct_data_in_query_settlement_bill.go
  32. 21 0
      services/bssopenapi/struct_datas_in_query_account_book_list.go
  33. 21 0
      services/bssopenapi/struct_datas_in_query_enduser_status.go
  34. 21 0
      services/bssopenapi/struct_datas_in_query_user_alarm_threshold.go
  35. 21 0
      services/bssopenapi/struct_redeem.go
  36. 30 0
      services/bssopenapi/struct_redeem_item.go
  37. 21 0
      services/bssopenapi/struct_values.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-11-19 Version: 1.39.2
+1, Add query support for redeem
+
 2018-11-16 Version: 1.39.1
 1, update version
 

+ 115 - 0
services/bssopenapi/change_consume_amount.go

@@ -0,0 +1,115 @@
+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
+}

+ 112 - 0
services/bssopenapi/convert_charge_type.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// ConvertChargeType invokes the bssopenapi.ConvertChargeType API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/convertchargetype.html
+func (client *Client) ConvertChargeType(request *ConvertChargeTypeRequest) (response *ConvertChargeTypeResponse, err error) {
+	response = CreateConvertChargeTypeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ConvertChargeTypeWithChan invokes the bssopenapi.ConvertChargeType API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/convertchargetype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConvertChargeTypeWithChan(request *ConvertChargeTypeRequest) (<-chan *ConvertChargeTypeResponse, <-chan error) {
+	responseChan := make(chan *ConvertChargeTypeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ConvertChargeType(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ConvertChargeTypeWithCallback invokes the bssopenapi.ConvertChargeType API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/convertchargetype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConvertChargeTypeWithCallback(request *ConvertChargeTypeRequest, callback func(response *ConvertChargeTypeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ConvertChargeTypeResponse
+		var err error
+		defer close(result)
+		response, err = client.ConvertChargeType(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ConvertChargeTypeRequest is the request struct for api ConvertChargeType
+type ConvertChargeTypeRequest struct {
+	*requests.RpcRequest
+	Period           requests.Integer `position:"Query" name:"Period"`
+	ProductCode      string           `position:"Query" name:"ProductCode"`
+	InstanceId       string           `position:"Query" name:"InstanceId"`
+	SubscriptionType string           `position:"Query" name:"SubscriptionType"`
+	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
+	ProductType      string           `position:"Query" name:"ProductType"`
+}
+
+// ConvertChargeTypeResponse is the response struct for api ConvertChargeType
+type ConvertChargeTypeResponse 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"`
+}
+
+// CreateConvertChargeTypeRequest creates a request to invoke ConvertChargeType API
+func CreateConvertChargeTypeRequest() (request *ConvertChargeTypeRequest) {
+	request = &ConvertChargeTypeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ConvertChargeType", "", "")
+	return
+}
+
+// CreateConvertChargeTypeResponse creates a response to parse from ConvertChargeType response
+func CreateConvertChargeTypeResponse() (response *ConvertChargeTypeResponse) {
+	response = &ConvertChargeTypeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/bssopenapi/create_instance.go

@@ -80,8 +80,8 @@ type CreateInstanceRequest struct {
 	Period           requests.Integer           `position:"Query" name:"Period"`
 	SubscriptionType string                     `position:"Query" name:"SubscriptionType"`
 	RenewPeriod      requests.Integer           `position:"Query" name:"RenewPeriod"`
-	RenewalStatus    string                     `position:"Query" name:"RenewalStatus"`
 	Parameter        *[]CreateInstanceParameter `position:"Query" name:"Parameter"  type:"Repeated"`
+	RenewalStatus    string                     `position:"Query" name:"RenewalStatus"`
 	OwnerId          requests.Integer           `position:"Query" name:"OwnerId"`
 	ProductType      string                     `position:"Query" name:"ProductType"`
 }

+ 111 - 0
services/bssopenapi/create_user_quota.go

@@ -0,0 +1,111 @@
+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      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      DataInGetOrderDetail `json:"Data" xml:"Data"`
 }
 
 // CreateGetOrderDetailRequest creates a request to invoke GetOrderDetail API

+ 1 - 1
services/bssopenapi/get_subscription_price.go

@@ -85,8 +85,8 @@ type GetSubscriptionPriceRequest struct {
 	ModuleList            *[]GetSubscriptionPriceModuleList `position:"Query" name:"ModuleList"  type:"Repeated"`
 	OwnerId               requests.Integer                  `position:"Query" name:"OwnerId"`
 	Region                string                            `position:"Query" name:"Region"`
-	ProductType           string                            `position:"Query" name:"ProductType"`
 	OrderType             string                            `position:"Query" name:"OrderType"`
+	ProductType           string                            `position:"Query" name:"ProductType"`
 }
 
 // GetSubscriptionPriceModuleList is a repeated param struct in GetSubscriptionPriceRequest

+ 110 - 0
services/bssopenapi/query_account_book_list.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"
+)
+
+// 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      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      DataInQueryAvailableInstances `json:"Data" xml:"Data"`
 }
 
 // CreateQueryAvailableInstancesRequest creates a request to invoke QueryAvailableInstances API

+ 109 - 0
services/bssopenapi/query_avaliable_quota.go

@@ -0,0 +1,109 @@
+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
+}

+ 111 - 0
services/bssopenapi/query_enduser_status.go

@@ -0,0 +1,111 @@
+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
+}

+ 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      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      DataInQueryInstanceGaapCost `json:"Data" xml:"Data"`
 }
 
 // CreateQueryInstanceGaapCostRequest creates a request to invoke QueryInstanceGaapCost API

+ 6 - 6
services/bssopenapi/query_monthly_instance_consumption.go

@@ -80,19 +80,19 @@ type QueryMonthlyInstanceConsumptionRequest struct {
 	SubscriptionType string           `position:"Query" name:"SubscriptionType"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
 	BillingCycle     string           `position:"Query" name:"BillingCycle"`
-	PageNum          requests.Integer `position:"Query" name:"PageNum"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
+	PageNum          requests.Integer `position:"Query" name:"PageNum"`
 	ProductType      string           `position:"Query" name:"ProductType"`
 }
 
 // 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      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      DataInQueryMonthlyInstanceConsumption `json:"Data" xml:"Data"`
 }
 
 // CreateQueryMonthlyInstanceConsumptionRequest creates a request to invoke QueryMonthlyInstanceConsumption API

+ 6 - 6
services/bssopenapi/query_orders.go

@@ -83,19 +83,19 @@ type QueryOrdersRequest struct {
 	CreateTimeStart  string           `position:"Query" name:"CreateTimeStart"`
 	PageNum          requests.Integer `position:"Query" name:"PageNum"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
+	CreateTimeEnd    string           `position:"Query" name:"CreateTimeEnd"`
 	ProductType      string           `position:"Query" name:"ProductType"`
 	OrderType        string           `position:"Query" name:"OrderType"`
-	CreateTimeEnd    string           `position:"Query" name:"CreateTimeEnd"`
 }
 
 // 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      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      DataInQueryOrders `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      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      DataInQueryProductList `json:"Data" xml:"Data"`
 }
 
 // CreateQueryProductListRequest creates a request to invoke QueryProductList API

+ 111 - 0
services/bssopenapi/query_redeem.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// QueryRedeem invokes the bssopenapi.QueryRedeem API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryredeem.html
+func (client *Client) QueryRedeem(request *QueryRedeemRequest) (response *QueryRedeemResponse, err error) {
+	response = CreateQueryRedeemResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryRedeemWithChan invokes the bssopenapi.QueryRedeem API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryredeem.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryRedeemWithChan(request *QueryRedeemRequest) (<-chan *QueryRedeemResponse, <-chan error) {
+	responseChan := make(chan *QueryRedeemResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryRedeem(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryRedeemWithCallback invokes the bssopenapi.QueryRedeem API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryredeem.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryRedeemWithCallback(request *QueryRedeemRequest, callback func(response *QueryRedeemResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryRedeemResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryRedeem(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryRedeemRequest is the request struct for api QueryRedeem
+type QueryRedeemRequest struct {
+	*requests.RpcRequest
+	ExpiryTimeEnd   string           `position:"Query" name:"ExpiryTimeEnd"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	ExpiryTimeStart string           `position:"Query" name:"ExpiryTimeStart"`
+	PageNum         requests.Integer `position:"Query" name:"PageNum"`
+	EffectiveOrNot  requests.Boolean `position:"Query" name:"EffectiveOrNot"`
+}
+
+// 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"`
+}
+
+// CreateQueryRedeemRequest creates a request to invoke QueryRedeem API
+func CreateQueryRedeemRequest() (request *QueryRedeemRequest) {
+	request = &QueryRedeemRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryRedeem", "", "")
+	return
+}
+
+// CreateQueryRedeemResponse creates a response to parse from QueryRedeem response
+func CreateQueryRedeemResponse() (response *QueryRedeemResponse) {
+	response = &QueryRedeemResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 5
services/bssopenapi/query_settlement_bill.go

@@ -77,6 +77,7 @@ func (client *Client) QuerySettlementBillWithCallback(request *QuerySettlementBi
 type QuerySettlementBillRequest struct {
 	*requests.RpcRequest
 	ProductCode      string           `position:"Query" name:"ProductCode"`
+	IsHideZeroCharge requests.Boolean `position:"Query" name:"IsHideZeroCharge"`
 	SubscriptionType string           `position:"Query" name:"SubscriptionType"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
 	EndTime          string           `position:"Query" name:"EndTime"`
@@ -91,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      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      DataInQuerySettlementBill `json:"Data" xml:"Data"`
 }
 
 // CreateQuerySettlementBillRequest creates a request to invoke QuerySettlementBill API

+ 111 - 0
services/bssopenapi/query_user_alarm_threshold.go

@@ -0,0 +1,111 @@
+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
+}

+ 110 - 0
services/bssopenapi/set_enduser_status.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"
+)
+
+// 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
+}

+ 110 - 0
services/bssopenapi/set_user_alarm_threshold.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"
+)
+
+// 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
+}

+ 111 - 0
services/bssopenapi/set_user_quota.go

@@ -0,0 +1,111 @@
+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
+}

+ 4 - 3
services/bssopenapi/struct_attribute.go

@@ -17,7 +17,8 @@ package bssopenapi
 
 // Attribute is a nested struct in bssopenapi response
 type Attribute struct {
-	Code string `json:"Code" xml:"Code"`
-	Name string `json:"Name" xml:"Name"`
-	Unit string `json:"Unit" xml:"Unit"`
+	Code   string `json:"Code" xml:"Code"`
+	Name   string `json:"Name" xml:"Name"`
+	Unit   string `json:"Unit" xml:"Unit"`
+	Values Values `json:"Values" xml:"Values"`
 }

+ 24 - 0
services/bssopenapi/struct_attribute_value.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.
+
+// AttributeValue is a nested struct in bssopenapi response
+type AttributeValue struct {
+	Type   string `json:"Type" xml:"Type"`
+	Name   string `json:"Name" xml:"Name"`
+	Value  string `json:"Value" xml:"Value"`
+	Remark string `json:"Remark" xml:"Remark"`
+}

+ 21 - 10
services/bssopenapi/struct_data.go

@@ -17,35 +17,46 @@ 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"`
-	PageSize               int                                    `json:"PageSize" xml:"PageSize"`
+	Amount                 string                                 `json:"Amount" xml:"Amount"`
 	MybankCreditAmount     string                                 `json:"MybankCreditAmount" xml:"MybankCreditAmount"`
 	OrderId                string                                 `json:"OrderId" xml:"OrderId"`
 	CreditAmount           string                                 `json:"CreditAmount" xml:"CreditAmount"`
+	ThresholdType          int                                    `json:"ThresholdType" xml:"ThresholdType"`
 	InstanceId             string                                 `json:"InstanceId" xml:"InstanceId"`
-	TotalCount             int                                    `json:"TotalCount" xml:"TotalCount"`
+	ItemCode               string                                 `json:"ItemCode" xml:"ItemCode"`
+	ThresholdAmount        string                                 `json:"ThresholdAmount" xml:"ThresholdAmount"`
 	BillingCycle           string                                 `json:"BillingCycle" xml:"BillingCycle"`
+	Uid                    int                                    `json:"Uid" xml:"Uid"`
+	TotalCount             int                                    `json:"TotalCount" xml:"TotalCount"`
 	OutstandingAmount      float64                                `json:"OutstandingAmount" xml:"OutstandingAmount"`
-	PageNum                int                                    `json:"PageNum" xml:"PageNum"`
+	InvalidTimeStamp       int                                    `json:"InvalidTimeStamp" xml:"InvalidTimeStamp"`
+	Bid                    string                                 `json:"Bid" xml:"Bid"`
 	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"`
-	HostName               string                                 `json:"HostName" xml:"HostName"`
+	EffectTimeStamp        int                                    `json:"EffectTimeStamp" xml:"EffectTimeStamp"`
+	PrimaryAccount         string                                 `json:"PrimaryAccount" xml:"PrimaryAccount"`
 	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"`
 	ModuleList             ModuleList                             `json:"ModuleList" xml:"ModuleList"`
-	InstanceList           InstanceList                           `json:"InstanceList" xml:"InstanceList"`
-	AttributeList          AttributeList                          `json:"AttributeList" xml:"AttributeList"`
-	OrderList              OrderListInQueryOrders                 `json:"OrderList" xml:"OrderList"`
-	Modules                ModulesInQueryInstanceGaapCost         `json:"Modules" xml:"Modules"`
-	Items                  ItemsInQuerySettlementBill             `json:"Items" xml:"Items"`
+	Redeem                 Redeem                                 `json:"Redeem" xml:"Redeem"`
 	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"`
 }

+ 25 - 0
services/bssopenapi/struct_data_in_get_order_detail.go

@@ -0,0 +1,25 @@
+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"`
+}

+ 24 - 0
services/bssopenapi/struct_data_in_query_available_instances.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.
+
+// 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"`
+}

+ 25 - 0
services/bssopenapi/struct_data_in_query_instance_gaap_cost.go

@@ -0,0 +1,25 @@
+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"`
+}

+ 25 - 0
services/bssopenapi/struct_data_in_query_monthly_instance_consumption.go

@@ -0,0 +1,25 @@
+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"`
+}

+ 25 - 0
services/bssopenapi/struct_data_in_query_orders.go

@@ -0,0 +1,25 @@
+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"`
+}

+ 24 - 0
services/bssopenapi/struct_data_in_query_product_list.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.
+
+// 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"`
+}

+ 25 - 0
services/bssopenapi/struct_data_in_query_settlement_bill.go

@@ -0,0 +1,25 @@
+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"`
+}

+ 21 - 0
services/bssopenapi/struct_datas_in_query_account_book_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.
+
+// DatasInQueryAccountBookList is a nested struct in bssopenapi response
+type DatasInQueryAccountBookList struct {
+	Data []Data `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/bssopenapi/struct_datas_in_query_enduser_status.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.
+
+// DatasInQueryEnduserStatus is a nested struct in bssopenapi response
+type DatasInQueryEnduserStatus struct {
+	Data []Data `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/bssopenapi/struct_datas_in_query_user_alarm_threshold.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.
+
+// DatasInQueryUserAlarmThreshold is a nested struct in bssopenapi response
+type DatasInQueryUserAlarmThreshold struct {
+	Data []Data `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/bssopenapi/struct_redeem.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.
+
+// Redeem is a nested struct in bssopenapi response
+type Redeem struct {
+	RedeemItem []RedeemItem `json:"RedeemItem" xml:"RedeemItem"`
+}

+ 30 - 0
services/bssopenapi/struct_redeem_item.go

@@ -0,0 +1,30 @@
+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.
+
+// RedeemItem is a nested struct in bssopenapi response
+type RedeemItem struct {
+	RedeemId           string `json:"RedeemId" xml:"RedeemId"`
+	RedeemNo           string `json:"RedeemNo" xml:"RedeemNo"`
+	Status             string `json:"Status" xml:"Status"`
+	GrantedTime        string `json:"GrantedTime" xml:"GrantedTime"`
+	EffectiveTime      string `json:"EffectiveTime" xml:"EffectiveTime"`
+	ExpiryTime         string `json:"ExpiryTime" xml:"ExpiryTime"`
+	NominalValue       string `json:"NominalValue" xml:"NominalValue"`
+	Balance            string `json:"Balance" xml:"Balance"`
+	ApplicableProducts string `json:"ApplicableProducts" xml:"ApplicableProducts"`
+	Specification      string `json:"Specification" xml:"Specification"`
+}

+ 21 - 0
services/bssopenapi/struct_values.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.
+
+// Values is a nested struct in bssopenapi response
+type Values struct {
+	AttributeValue []AttributeValue `json:"AttributeValue" xml:"AttributeValue"`
+}