Переглянути джерело

BAAS SDK Auto Released By titian.gtt,Version:1.43.0

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 роки тому
батько
коміт
232f2d9dfa
100 змінених файлів з 9650 додано та 0 видалено
  1. 3 0
      ChangeLog.txt
  2. 106 0
      services/baas/accept_invitation.go
  3. 104 0
      services/baas/agree_invite.go
  4. 105 0
      services/baas/apply_blockchain.go
  5. 106 0
      services/baas/check_consortium_domain.go
  6. 107 0
      services/baas/check_organization_domain.go
  7. 81 0
      services/baas/client.go
  8. 112 0
      services/baas/confirm_consortium_member.go
  9. 107 0
      services/baas/create_blockchain_apply.go
  10. 112 0
      services/baas/create_chaincode.go
  11. 113 0
      services/baas/create_channel.go
  12. 112 0
      services/baas/create_channel_member.go
  13. 121 0
      services/baas/create_consortium.go
  14. 113 0
      services/baas/create_consortium_member.go
  15. 124 0
      services/baas/create_ecosphere.go
  16. 110 0
      services/baas/create_organization.go
  17. 105 0
      services/baas/delete_chaincode.go
  18. 107 0
      services/baas/describe_applies.go
  19. 104 0
      services/baas/describe_bc_schema.go
  20. 105 0
      services/baas/describe_blockchain_create_task.go
  21. 104 0
      services/baas/describe_blockchain_info.go
  22. 106 0
      services/baas/describe_candidate_organizations.go
  23. 106 0
      services/baas/describe_chaincode_upload_policy.go
  24. 106 0
      services/baas/describe_channel_members.go
  25. 106 0
      services/baas/describe_consortium_admin_status.go
  26. 107 0
      services/baas/describe_consortium_chaincodes.go
  27. 107 0
      services/baas/describe_consortium_channels.go
  28. 105 0
      services/baas/describe_consortium_config.go
  29. 107 0
      services/baas/describe_consortium_deletable.go
  30. 107 0
      services/baas/describe_consortium_member_approval.go
  31. 107 0
      services/baas/describe_consortium_members.go
  32. 107 0
      services/baas/describe_consortium_orderers.go
  33. 105 0
      services/baas/describe_consortium_specs.go
  34. 107 0
      services/baas/describe_consortiums.go
  35. 105 0
      services/baas/describe_ecosphere_specs.go
  36. 111 0
      services/baas/describe_explorer.go
  37. 108 0
      services/baas/describe_invitation_code.go
  38. 106 0
      services/baas/describe_invitation_list.go
  39. 106 0
      services/baas/describe_inviter.go
  40. 103 0
      services/baas/describe_my_blockchains.go
  41. 103 0
      services/baas/describe_my_success_applies.go
  42. 108 0
      services/baas/describe_orderer_logs.go
  43. 107 0
      services/baas/describe_organization.go
  44. 107 0
      services/baas/describe_organization_chaincodes.go
  45. 107 0
      services/baas/describe_organization_channels.go
  46. 107 0
      services/baas/describe_organization_deletable.go
  47. 107 0
      services/baas/describe_organization_members.go
  48. 107 0
      services/baas/describe_organization_peers.go
  49. 105 0
      services/baas/describe_organization_specs.go
  50. 109 0
      services/baas/describe_organization_user_certs.go
  51. 107 0
      services/baas/describe_organization_users.go
  52. 106 0
      services/baas/describe_organizations.go
  53. 107 0
      services/baas/describe_orgnaization_chaincodes.go
  54. 104 0
      services/baas/describe_oss_properties.go
  55. 108 0
      services/baas/describe_peer_logs.go
  56. 105 0
      services/baas/describe_regions.go
  57. 105 0
      services/baas/describe_root_domain.go
  58. 107 0
      services/baas/describe_tasks.go
  59. 103 0
      services/baas/describe_templates.go
  60. 108 0
      services/baas/destroy_consortium.go
  61. 108 0
      services/baas/destroy_organization.go
  62. 104 0
      services/baas/download_all.go
  63. 104 0
      services/baas/download_bizview.go
  64. 108 0
      services/baas/download_organization_sdk.go
  65. 104 0
      services/baas/download_sdk.go
  66. 105 0
      services/baas/download_signed_data.go
  67. 107 0
      services/baas/get_applies.go
  68. 104 0
      services/baas/get_bc_schema.go
  69. 105 0
      services/baas/get_blockchain_create_task.go
  70. 104 0
      services/baas/get_blockchain_info.go
  71. 103 0
      services/baas/get_my_blockchains.go
  72. 103 0
      services/baas/get_my_success_applies.go
  73. 104 0
      services/baas/get_oss_properties.go
  74. 103 0
      services/baas/get_templates.go
  75. 108 0
      services/baas/install_chaincode.go
  76. 109 0
      services/baas/instantiate_chaincode.go
  77. 107 0
      services/baas/invite_user.go
  78. 108 0
      services/baas/join_channel.go
  79. 107 0
      services/baas/operate_user.go
  80. 105 0
      services/baas/query_block.go
  81. 107 0
      services/baas/query_consortium_deletable.go
  82. 109 0
      services/baas/query_metric.go
  83. 107 0
      services/baas/query_organization_deletable.go
  84. 105 0
      services/baas/query_transaction.go
  85. 107 0
      services/baas/reject_user.go
  86. 104 0
      services/baas/reset_certificate.go
  87. 109 0
      services/baas/reset_organization_user_password.go
  88. 107 0
      services/baas/reset_user.go
  89. 105 0
      services/baas/schema_detail.go
  90. 21 0
      services/baas/struct_apply_history_list_in_describe_applies.go
  91. 21 0
      services/baas/struct_apply_history_list_in_get_applies.go
  92. 29 0
      services/baas/struct_apply_history_list_item.go
  93. 21 0
      services/baas/struct_blockchain_create_tasks_in_describe_blockchain_create_task.go
  94. 21 0
      services/baas/struct_blockchain_create_tasks_in_get_blockchain_create_task.go
  95. 25 0
      services/baas/struct_blockchain_create_tasks_item.go
  96. 27 0
      services/baas/struct_certificate.go
  97. 21 0
      services/baas/struct_certificates.go
  98. 37 0
      services/baas/struct_chaincode_vo.go
  99. 21 0
      services/baas/struct_channel_policy.go
  100. 26 0
      services/baas/struct_cluster_spec.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-12-04 Version: 1.43.0
+1, The first release of Alibaba Cloud BaaS SDK
+
 2018-12-03 Version: 1.42.10
 2018-12-03 Version: 1.42.10
 1, Sync CDN API.
 1, Sync CDN API.
 
 

+ 106 - 0
services/baas/accept_invitation.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// AcceptInvitation invokes the baas.AcceptInvitation API synchronously
+// api document: https://help.aliyun.com/api/baas/acceptinvitation.html
+func (client *Client) AcceptInvitation(request *AcceptInvitationRequest) (response *AcceptInvitationResponse, err error) {
+	response = CreateAcceptInvitationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AcceptInvitationWithChan invokes the baas.AcceptInvitation API asynchronously
+// api document: https://help.aliyun.com/api/baas/acceptinvitation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AcceptInvitationWithChan(request *AcceptInvitationRequest) (<-chan *AcceptInvitationResponse, <-chan error) {
+	responseChan := make(chan *AcceptInvitationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AcceptInvitation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AcceptInvitationWithCallback invokes the baas.AcceptInvitation API asynchronously
+// api document: https://help.aliyun.com/api/baas/acceptinvitation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AcceptInvitationWithCallback(request *AcceptInvitationRequest, callback func(response *AcceptInvitationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AcceptInvitationResponse
+		var err error
+		defer close(result)
+		response, err = client.AcceptInvitation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AcceptInvitationRequest is the request struct for api AcceptInvitation
+type AcceptInvitationRequest struct {
+	*requests.RpcRequest
+	Code       string           `position:"Body" name:"Code"`
+	IsAccepted requests.Boolean `position:"Body" name:"IsAccepted"`
+}
+
+// AcceptInvitationResponse is the response struct for api AcceptInvitation
+type AcceptInvitationResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateAcceptInvitationRequest creates a request to invoke AcceptInvitation API
+func CreateAcceptInvitationRequest() (request *AcceptInvitationRequest) {
+	request = &AcceptInvitationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "AcceptInvitation", "", "")
+	return
+}
+
+// CreateAcceptInvitationResponse creates a response to parse from AcceptInvitation response
+func CreateAcceptInvitationResponse() (response *AcceptInvitationResponse) {
+	response = &AcceptInvitationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/agree_invite.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// AgreeInvite invokes the baas.AgreeInvite API synchronously
+// api document: https://help.aliyun.com/api/baas/agreeinvite.html
+func (client *Client) AgreeInvite(request *AgreeInviteRequest) (response *AgreeInviteResponse, err error) {
+	response = CreateAgreeInviteResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AgreeInviteWithChan invokes the baas.AgreeInvite API asynchronously
+// api document: https://help.aliyun.com/api/baas/agreeinvite.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AgreeInviteWithChan(request *AgreeInviteRequest) (<-chan *AgreeInviteResponse, <-chan error) {
+	responseChan := make(chan *AgreeInviteResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AgreeInvite(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AgreeInviteWithCallback invokes the baas.AgreeInvite API asynchronously
+// api document: https://help.aliyun.com/api/baas/agreeinvite.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AgreeInviteWithCallback(request *AgreeInviteRequest, callback func(response *AgreeInviteResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AgreeInviteResponse
+		var err error
+		defer close(result)
+		response, err = client.AgreeInvite(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AgreeInviteRequest is the request struct for api AgreeInvite
+type AgreeInviteRequest struct {
+	*requests.RpcRequest
+	Code string `position:"Body" name:"Code"`
+}
+
+// AgreeInviteResponse is the response struct for api AgreeInvite
+type AgreeInviteResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateAgreeInviteRequest creates a request to invoke AgreeInvite API
+func CreateAgreeInviteRequest() (request *AgreeInviteRequest) {
+	request = &AgreeInviteRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "AgreeInvite", "", "")
+	return
+}
+
+// CreateAgreeInviteResponse creates a response to parse from AgreeInvite response
+func CreateAgreeInviteResponse() (response *AgreeInviteResponse) {
+	response = &AgreeInviteResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/apply_blockchain.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// ApplyBlockchain invokes the baas.ApplyBlockchain API synchronously
+// api document: https://help.aliyun.com/api/baas/applyblockchain.html
+func (client *Client) ApplyBlockchain(request *ApplyBlockchainRequest) (response *ApplyBlockchainResponse, err error) {
+	response = CreateApplyBlockchainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ApplyBlockchainWithChan invokes the baas.ApplyBlockchain API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyblockchain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyBlockchainWithChan(request *ApplyBlockchainRequest) (<-chan *ApplyBlockchainResponse, <-chan error) {
+	responseChan := make(chan *ApplyBlockchainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ApplyBlockchain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ApplyBlockchainWithCallback invokes the baas.ApplyBlockchain API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyblockchain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyBlockchainWithCallback(request *ApplyBlockchainRequest, callback func(response *ApplyBlockchainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ApplyBlockchainResponse
+		var err error
+		defer close(result)
+		response, err = client.ApplyBlockchain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ApplyBlockchainRequest is the request struct for api ApplyBlockchain
+type ApplyBlockchainRequest struct {
+	*requests.RpcRequest
+	Blockchain string `position:"Body" name:"Blockchain"`
+	UploadReq  string `position:"Body" name:"UploadReq"`
+}
+
+// ApplyBlockchainResponse is the response struct for api ApplyBlockchain
+type ApplyBlockchainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateApplyBlockchainRequest creates a request to invoke ApplyBlockchain API
+func CreateApplyBlockchainRequest() (request *ApplyBlockchainRequest) {
+	request = &ApplyBlockchainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "ApplyBlockchain", "", "")
+	return
+}
+
+// CreateApplyBlockchainResponse creates a response to parse from ApplyBlockchain response
+func CreateApplyBlockchainResponse() (response *ApplyBlockchainResponse) {
+	response = &ApplyBlockchainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/check_consortium_domain.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// CheckConsortiumDomain invokes the baas.CheckConsortiumDomain API synchronously
+// api document: https://help.aliyun.com/api/baas/checkconsortiumdomain.html
+func (client *Client) CheckConsortiumDomain(request *CheckConsortiumDomainRequest) (response *CheckConsortiumDomainResponse, err error) {
+	response = CreateCheckConsortiumDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckConsortiumDomainWithChan invokes the baas.CheckConsortiumDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkconsortiumdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckConsortiumDomainWithChan(request *CheckConsortiumDomainRequest) (<-chan *CheckConsortiumDomainResponse, <-chan error) {
+	responseChan := make(chan *CheckConsortiumDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckConsortiumDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckConsortiumDomainWithCallback invokes the baas.CheckConsortiumDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkconsortiumdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckConsortiumDomainWithCallback(request *CheckConsortiumDomainRequest, callback func(response *CheckConsortiumDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckConsortiumDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckConsortiumDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckConsortiumDomainRequest is the request struct for api CheckConsortiumDomain
+type CheckConsortiumDomainRequest struct {
+	*requests.RpcRequest
+	DomainCode string `position:"Body" name:"DomainCode"`
+}
+
+// CheckConsortiumDomainResponse is the response struct for api CheckConsortiumDomain
+type CheckConsortiumDomainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCheckConsortiumDomainRequest creates a request to invoke CheckConsortiumDomain API
+func CreateCheckConsortiumDomainRequest() (request *CheckConsortiumDomainRequest) {
+	request = &CheckConsortiumDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CheckConsortiumDomain", "", "")
+	return
+}
+
+// CreateCheckConsortiumDomainResponse creates a response to parse from CheckConsortiumDomain response
+func CreateCheckConsortiumDomainResponse() (response *CheckConsortiumDomainResponse) {
+	response = &CheckConsortiumDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/check_organization_domain.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// CheckOrganizationDomain invokes the baas.CheckOrganizationDomain API synchronously
+// api document: https://help.aliyun.com/api/baas/checkorganizationdomain.html
+func (client *Client) CheckOrganizationDomain(request *CheckOrganizationDomainRequest) (response *CheckOrganizationDomainResponse, err error) {
+	response = CreateCheckOrganizationDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckOrganizationDomainWithChan invokes the baas.CheckOrganizationDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkorganizationdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckOrganizationDomainWithChan(request *CheckOrganizationDomainRequest) (<-chan *CheckOrganizationDomainResponse, <-chan error) {
+	responseChan := make(chan *CheckOrganizationDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckOrganizationDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckOrganizationDomainWithCallback invokes the baas.CheckOrganizationDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkorganizationdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckOrganizationDomainWithCallback(request *CheckOrganizationDomainRequest, callback func(response *CheckOrganizationDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckOrganizationDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckOrganizationDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckOrganizationDomainRequest is the request struct for api CheckOrganizationDomain
+type CheckOrganizationDomainRequest struct {
+	*requests.RpcRequest
+	DomainCode string `position:"Body" name:"DomainCode"`
+	Domain     string `position:"Body" name:"Domain"`
+}
+
+// CheckOrganizationDomainResponse is the response struct for api CheckOrganizationDomain
+type CheckOrganizationDomainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCheckOrganizationDomainRequest creates a request to invoke CheckOrganizationDomain API
+func CreateCheckOrganizationDomainRequest() (request *CheckOrganizationDomainRequest) {
+	request = &CheckOrganizationDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CheckOrganizationDomain", "", "")
+	return
+}
+
+// CreateCheckOrganizationDomainResponse creates a response to parse from CheckOrganizationDomain response
+func CreateCheckOrganizationDomainResponse() (response *CheckOrganizationDomainResponse) {
+	response = &CheckOrganizationDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 81 - 0
services/baas/client.go

@@ -0,0 +1,81 @@
+package baas
+
+//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"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+)
+
+// Client is the sdk client struct, each func corresponds to an OpenAPI
+type Client struct {
+	sdk.Client
+}
+
+// NewClient creates a sdk client with environment variables
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	return
+}
+
+// NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
+// this is the common api to create a sdk client
+func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithOptions(regionId, config, credential)
+	return
+}
+
+// NewClientWithAccessKey is a shortcut to create sdk client with accesskey
+// usage: https://help.aliyun.com/document_detail/66217.html
+func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	return
+}
+
+// NewClientWithStsToken is a shortcut to create sdk client with sts token
+// usage: https://help.aliyun.com/document_detail/66222.html
+func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
+// usage: https://help.aliyun.com/document_detail/66222.html
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	return
+}
+
+// NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
+// usage: https://help.aliyun.com/document_detail/66223.html
+func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithEcsRamRole(regionId, roleName)
+	return
+}
+
+// NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
+// attention: rsa key pair auth is only Japan regions available
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	return
+}

+ 112 - 0
services/baas/confirm_consortium_member.go

@@ -0,0 +1,112 @@
+package baas
+
+//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"
+)
+
+// ConfirmConsortiumMember invokes the baas.ConfirmConsortiumMember API synchronously
+// api document: https://help.aliyun.com/api/baas/confirmconsortiummember.html
+func (client *Client) ConfirmConsortiumMember(request *ConfirmConsortiumMemberRequest) (response *ConfirmConsortiumMemberResponse, err error) {
+	response = CreateConfirmConsortiumMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ConfirmConsortiumMemberWithChan invokes the baas.ConfirmConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/confirmconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfirmConsortiumMemberWithChan(request *ConfirmConsortiumMemberRequest) (<-chan *ConfirmConsortiumMemberResponse, <-chan error) {
+	responseChan := make(chan *ConfirmConsortiumMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ConfirmConsortiumMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ConfirmConsortiumMemberWithCallback invokes the baas.ConfirmConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/confirmconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfirmConsortiumMemberWithCallback(request *ConfirmConsortiumMemberRequest, callback func(response *ConfirmConsortiumMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ConfirmConsortiumMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.ConfirmConsortiumMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ConfirmConsortiumMemberRequest is the request struct for api ConfirmConsortiumMember
+type ConfirmConsortiumMemberRequest struct {
+	*requests.RpcRequest
+	Organization *[]ConfirmConsortiumMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ConsortiumId string                                 `position:"Query" name:"ConsortiumId"`
+}
+
+// ConfirmConsortiumMemberOrganization is a repeated param struct in ConfirmConsortiumMemberRequest
+type ConfirmConsortiumMemberOrganization struct {
+	Id string `name:"Id"`
+}
+
+// ConfirmConsortiumMemberResponse is the response struct for api ConfirmConsortiumMember
+type ConfirmConsortiumMemberResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateConfirmConsortiumMemberRequest creates a request to invoke ConfirmConsortiumMember API
+func CreateConfirmConsortiumMemberRequest() (request *ConfirmConsortiumMemberRequest) {
+	request = &ConfirmConsortiumMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "ConfirmConsortiumMember", "", "")
+	return
+}
+
+// CreateConfirmConsortiumMemberResponse creates a response to parse from ConfirmConsortiumMember response
+func CreateConfirmConsortiumMemberResponse() (response *ConfirmConsortiumMemberResponse) {
+	response = &ConfirmConsortiumMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/create_blockchain_apply.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// CreateBlockchainApply invokes the baas.CreateBlockchainApply API synchronously
+// api document: https://help.aliyun.com/api/baas/createblockchainapply.html
+func (client *Client) CreateBlockchainApply(request *CreateBlockchainApplyRequest) (response *CreateBlockchainApplyResponse, err error) {
+	response = CreateCreateBlockchainApplyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateBlockchainApplyWithChan invokes the baas.CreateBlockchainApply API asynchronously
+// api document: https://help.aliyun.com/api/baas/createblockchainapply.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateBlockchainApplyWithChan(request *CreateBlockchainApplyRequest) (<-chan *CreateBlockchainApplyResponse, <-chan error) {
+	responseChan := make(chan *CreateBlockchainApplyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateBlockchainApply(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateBlockchainApplyWithCallback invokes the baas.CreateBlockchainApply API asynchronously
+// api document: https://help.aliyun.com/api/baas/createblockchainapply.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateBlockchainApplyWithCallback(request *CreateBlockchainApplyRequest, callback func(response *CreateBlockchainApplyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateBlockchainApplyResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateBlockchainApply(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateBlockchainApplyRequest is the request struct for api CreateBlockchainApply
+type CreateBlockchainApplyRequest struct {
+	*requests.RpcRequest
+	Size       requests.Integer `position:"Body" name:"Size"`
+	MachineNum requests.Integer `position:"Body" name:"MachineNum"`
+	LiveTime   requests.Integer `position:"Body" name:"LiveTime"`
+	Bizid      string           `position:"Body" name:"Bizid"`
+}
+
+// CreateBlockchainApplyResponse is the response struct for api CreateBlockchainApply
+type CreateBlockchainApplyResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateCreateBlockchainApplyRequest creates a request to invoke CreateBlockchainApply API
+func CreateCreateBlockchainApplyRequest() (request *CreateBlockchainApplyRequest) {
+	request = &CreateBlockchainApplyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateBlockchainApply", "", "")
+	return
+}
+
+// CreateCreateBlockchainApplyResponse creates a response to parse from CreateBlockchainApply response
+func CreateCreateBlockchainApplyResponse() (response *CreateBlockchainApplyResponse) {
+	response = &CreateBlockchainApplyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/baas/create_chaincode.go

@@ -0,0 +1,112 @@
+package baas
+
+//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"
+)
+
+// CreateChaincode invokes the baas.CreateChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/createchaincode.html
+func (client *Client) CreateChaincode(request *CreateChaincodeRequest) (response *CreateChaincodeResponse, err error) {
+	response = CreateCreateChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateChaincodeWithChan invokes the baas.CreateChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChaincodeWithChan(request *CreateChaincodeRequest) (<-chan *CreateChaincodeResponse, <-chan error) {
+	responseChan := make(chan *CreateChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateChaincodeWithCallback invokes the baas.CreateChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChaincodeWithCallback(request *CreateChaincodeRequest, callback func(response *CreateChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateChaincodeRequest is the request struct for api CreateChaincode
+type CreateChaincodeRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	OssBucket      string `position:"Body" name:"OssBucket"`
+	OssUrl         string `position:"Body" name:"OssUrl"`
+	EndorsePolicy  string `position:"Body" name:"EndorsePolicy"`
+	Location       string `position:"Body" name:"Location"`
+	ChannelId      string `position:"Body" name:"ChannelId"`
+	ConsortiumId   string `position:"Body" name:"ConsortiumId"`
+}
+
+// CreateChaincodeResponse is the response struct for api CreateChaincode
+type CreateChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                    `json:"Success" xml:"Success"`
+	ErrorCode int                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateCreateChaincodeRequest creates a request to invoke CreateChaincode API
+func CreateCreateChaincodeRequest() (request *CreateChaincodeRequest) {
+	request = &CreateChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateChaincode", "", "")
+	return
+}
+
+// CreateCreateChaincodeResponse creates a response to parse from CreateChaincode response
+func CreateCreateChaincodeResponse() (response *CreateChaincodeResponse) {
+	response = &CreateChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/baas/create_channel.go

@@ -0,0 +1,113 @@
+package baas
+
+//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"
+)
+
+// CreateChannel invokes the baas.CreateChannel API synchronously
+// api document: https://help.aliyun.com/api/baas/createchannel.html
+func (client *Client) CreateChannel(request *CreateChannelRequest) (response *CreateChannelResponse, err error) {
+	response = CreateCreateChannelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateChannelWithChan invokes the baas.CreateChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChannelWithChan(request *CreateChannelRequest) (<-chan *CreateChannelResponse, <-chan error) {
+	responseChan := make(chan *CreateChannelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateChannel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateChannelWithCallback invokes the baas.CreateChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChannelWithCallback(request *CreateChannelRequest, callback func(response *CreateChannelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateChannelResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateChannel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateChannelRequest is the request struct for api CreateChannel
+type CreateChannelRequest struct {
+	*requests.RpcRequest
+	Organization *[]CreateChannelOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ChannelName  string                       `position:"Query" name:"ChannelName"`
+	ConsortiumId string                       `position:"Query" name:"ConsortiumId"`
+}
+
+// CreateChannelOrganization is a repeated param struct in CreateChannelRequest
+type CreateChannelOrganization struct {
+	Id string `name:"Id"`
+}
+
+// CreateChannelResponse is the response struct for api CreateChannel
+type CreateChannelResponse struct {
+	*responses.BaseResponse
+	RequestId string                `json:"RequestId" xml:"RequestId"`
+	Success   bool                  `json:"Success" xml:"Success"`
+	ErrorCode int                   `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateChannel `json:"Result" xml:"Result"`
+}
+
+// CreateCreateChannelRequest creates a request to invoke CreateChannel API
+func CreateCreateChannelRequest() (request *CreateChannelRequest) {
+	request = &CreateChannelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateChannel", "", "")
+	return
+}
+
+// CreateCreateChannelResponse creates a response to parse from CreateChannel response
+func CreateCreateChannelResponse() (response *CreateChannelResponse) {
+	response = &CreateChannelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/baas/create_channel_member.go

@@ -0,0 +1,112 @@
+package baas
+
+//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"
+)
+
+// CreateChannelMember invokes the baas.CreateChannelMember API synchronously
+// api document: https://help.aliyun.com/api/baas/createchannelmember.html
+func (client *Client) CreateChannelMember(request *CreateChannelMemberRequest) (response *CreateChannelMemberResponse, err error) {
+	response = CreateCreateChannelMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateChannelMemberWithChan invokes the baas.CreateChannelMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchannelmember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChannelMemberWithChan(request *CreateChannelMemberRequest) (<-chan *CreateChannelMemberResponse, <-chan error) {
+	responseChan := make(chan *CreateChannelMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateChannelMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateChannelMemberWithCallback invokes the baas.CreateChannelMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createchannelmember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateChannelMemberWithCallback(request *CreateChannelMemberRequest, callback func(response *CreateChannelMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateChannelMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateChannelMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateChannelMemberRequest is the request struct for api CreateChannelMember
+type CreateChannelMemberRequest struct {
+	*requests.RpcRequest
+	Organization *[]CreateChannelMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ChannelId    string                             `position:"Query" name:"ChannelId"`
+}
+
+// CreateChannelMemberOrganization is a repeated param struct in CreateChannelMemberRequest
+type CreateChannelMemberOrganization struct {
+	Id string `name:"Id"`
+}
+
+// CreateChannelMemberResponse is the response struct for api CreateChannelMember
+type CreateChannelMemberResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateCreateChannelMemberRequest creates a request to invoke CreateChannelMember API
+func CreateCreateChannelMemberRequest() (request *CreateChannelMemberRequest) {
+	request = &CreateChannelMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateChannelMember", "", "")
+	return
+}
+
+// CreateCreateChannelMemberResponse creates a response to parse from CreateChannelMember response
+func CreateCreateChannelMemberResponse() (response *CreateChannelMemberResponse) {
+	response = &CreateChannelMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 121 - 0
services/baas/create_consortium.go

@@ -0,0 +1,121 @@
+package baas
+
+//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"
+)
+
+// CreateConsortium invokes the baas.CreateConsortium API synchronously
+// api document: https://help.aliyun.com/api/baas/createconsortium.html
+func (client *Client) CreateConsortium(request *CreateConsortiumRequest) (response *CreateConsortiumResponse, err error) {
+	response = CreateCreateConsortiumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateConsortiumWithChan invokes the baas.CreateConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateConsortiumWithChan(request *CreateConsortiumRequest) (<-chan *CreateConsortiumResponse, <-chan error) {
+	responseChan := make(chan *CreateConsortiumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateConsortium(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateConsortiumWithCallback invokes the baas.CreateConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateConsortiumWithCallback(request *CreateConsortiumRequest, callback func(response *CreateConsortiumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateConsortiumResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateConsortium(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateConsortiumRequest is the request struct for api CreateConsortium
+type CreateConsortiumRequest struct {
+	*requests.RpcRequest
+	OrderersCount requests.Integer                `position:"Body" name:"OrderersCount"`
+	Domain        string                          `position:"Body" name:"Domain"`
+	SpecName      string                          `position:"Body" name:"SpecName"`
+	Organization  *[]CreateConsortiumOrganization `position:"Body" name:"Organization"  type:"Repeated"`
+	Name          string                          `position:"Body" name:"Name"`
+	OrdererType   string                          `position:"Body" name:"OrdererType"`
+	ZoneId        string                          `position:"Body" name:"ZoneId"`
+	Description   string                          `position:"Body" name:"Description"`
+	Location      string                          `position:"Body" name:"Location"`
+	PeersCount    requests.Integer                `position:"Body" name:"PeersCount"`
+	ChannelPolicy string                          `position:"Body" name:"ChannelPolicy"`
+}
+
+// CreateConsortiumOrganization is a repeated param struct in CreateConsortiumRequest
+type CreateConsortiumOrganization struct {
+	Id string `name:"Id"`
+}
+
+// CreateConsortiumResponse is the response struct for api CreateConsortium
+type CreateConsortiumResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Success   bool                     `json:"Success" xml:"Success"`
+	ErrorCode int                      `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateConsortium `json:"Result" xml:"Result"`
+}
+
+// CreateCreateConsortiumRequest creates a request to invoke CreateConsortium API
+func CreateCreateConsortiumRequest() (request *CreateConsortiumRequest) {
+	request = &CreateConsortiumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateConsortium", "", "")
+	return
+}
+
+// CreateCreateConsortiumResponse creates a response to parse from CreateConsortium response
+func CreateCreateConsortiumResponse() (response *CreateConsortiumResponse) {
+	response = &CreateConsortiumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/baas/create_consortium_member.go

@@ -0,0 +1,113 @@
+package baas
+
+//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"
+)
+
+// CreateConsortiumMember invokes the baas.CreateConsortiumMember API synchronously
+// api document: https://help.aliyun.com/api/baas/createconsortiummember.html
+func (client *Client) CreateConsortiumMember(request *CreateConsortiumMemberRequest) (response *CreateConsortiumMemberResponse, err error) {
+	response = CreateCreateConsortiumMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateConsortiumMemberWithChan invokes the baas.CreateConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateConsortiumMemberWithChan(request *CreateConsortiumMemberRequest) (<-chan *CreateConsortiumMemberResponse, <-chan error) {
+	responseChan := make(chan *CreateConsortiumMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateConsortiumMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateConsortiumMemberWithCallback invokes the baas.CreateConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateConsortiumMemberWithCallback(request *CreateConsortiumMemberRequest, callback func(response *CreateConsortiumMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateConsortiumMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateConsortiumMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateConsortiumMemberRequest is the request struct for api CreateConsortiumMember
+type CreateConsortiumMemberRequest struct {
+	*requests.RpcRequest
+	Code         string                                `position:"Query" name:"Code"`
+	Organization *[]CreateConsortiumMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ConsortiumId string                                `position:"Query" name:"ConsortiumId"`
+}
+
+// CreateConsortiumMemberOrganization is a repeated param struct in CreateConsortiumMemberRequest
+type CreateConsortiumMemberOrganization struct {
+	Id string `name:"Id"`
+}
+
+// CreateConsortiumMemberResponse is the response struct for api CreateConsortiumMember
+type CreateConsortiumMemberResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateCreateConsortiumMemberRequest creates a request to invoke CreateConsortiumMember API
+func CreateCreateConsortiumMemberRequest() (request *CreateConsortiumMemberRequest) {
+	request = &CreateConsortiumMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateConsortiumMember", "", "")
+	return
+}
+
+// CreateCreateConsortiumMemberResponse creates a response to parse from CreateConsortiumMember response
+func CreateCreateConsortiumMemberResponse() (response *CreateConsortiumMemberResponse) {
+	response = &CreateConsortiumMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 124 - 0
services/baas/create_ecosphere.go

@@ -0,0 +1,124 @@
+package baas
+
+//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"
+)
+
+// CreateEcosphere invokes the baas.CreateEcosphere API synchronously
+// api document: https://help.aliyun.com/api/baas/createecosphere.html
+func (client *Client) CreateEcosphere(request *CreateEcosphereRequest) (response *CreateEcosphereResponse, err error) {
+	response = CreateCreateEcosphereResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateEcosphereWithChan invokes the baas.CreateEcosphere API asynchronously
+// api document: https://help.aliyun.com/api/baas/createecosphere.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateEcosphereWithChan(request *CreateEcosphereRequest) (<-chan *CreateEcosphereResponse, <-chan error) {
+	responseChan := make(chan *CreateEcosphereResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateEcosphere(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateEcosphereWithCallback invokes the baas.CreateEcosphere API asynchronously
+// api document: https://help.aliyun.com/api/baas/createecosphere.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateEcosphereWithCallback(request *CreateEcosphereRequest, callback func(response *CreateEcosphereResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateEcosphereResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateEcosphere(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateEcosphereRequest is the request struct for api CreateEcosphere
+type CreateEcosphereRequest struct {
+	*requests.RpcRequest
+	OrderersCount  requests.Integer               `position:"Body" name:"OrderersCount"`
+	ConsortiumName string                         `position:"Body" name:"ConsortiumName"`
+	SpecName       string                         `position:"Body" name:"SpecName"`
+	Organization   *[]CreateEcosphereOrganization `position:"Body" name:"Organization"  type:"Repeated"`
+	ZoneId         string                         `position:"Body" name:"ZoneId"`
+	OrdererType    string                         `position:"Body" name:"OrdererType"`
+	Description    string                         `position:"Body" name:"Description"`
+	OrdererDomain  string                         `position:"Body" name:"OrdererDomain"`
+	Location       string                         `position:"Body" name:"Location"`
+	PeersCount     requests.Integer               `position:"Body" name:"PeersCount"`
+	ChannelPolicy  string                         `position:"Body" name:"ChannelPolicy"`
+}
+
+// CreateEcosphereOrganization is a repeated param struct in CreateEcosphereRequest
+type CreateEcosphereOrganization struct {
+	Domain      string `name:"Domain"`
+	Name        string `name:"Name"`
+	Description string `name:"Description"`
+}
+
+// CreateEcosphereResponse is the response struct for api CreateEcosphere
+type CreateEcosphereResponse struct {
+	*responses.BaseResponse
+	RequestId    string                  `json:"RequestId" xml:"RequestId"`
+	Success      bool                    `json:"Success" xml:"Success"`
+	ErrorCode    int                     `json:"ErrorCode" xml:"ErrorCode"`
+	ErrorMessage string                  `json:"ErrorMessage" xml:"ErrorMessage"`
+	Result       ResultInCreateEcosphere `json:"Result" xml:"Result"`
+}
+
+// CreateCreateEcosphereRequest creates a request to invoke CreateEcosphere API
+func CreateCreateEcosphereRequest() (request *CreateEcosphereRequest) {
+	request = &CreateEcosphereRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateEcosphere", "", "")
+	return
+}
+
+// CreateCreateEcosphereResponse creates a response to parse from CreateEcosphere response
+func CreateCreateEcosphereResponse() (response *CreateEcosphereResponse) {
+	response = &CreateEcosphereResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/baas/create_organization.go

@@ -0,0 +1,110 @@
+package baas
+
+//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"
+)
+
+// CreateOrganization invokes the baas.CreateOrganization API synchronously
+// api document: https://help.aliyun.com/api/baas/createorganization.html
+func (client *Client) CreateOrganization(request *CreateOrganizationRequest) (response *CreateOrganizationResponse, err error) {
+	response = CreateCreateOrganizationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateOrganizationWithChan invokes the baas.CreateOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/createorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateOrganizationWithChan(request *CreateOrganizationRequest) (<-chan *CreateOrganizationResponse, <-chan error) {
+	responseChan := make(chan *CreateOrganizationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateOrganization(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateOrganizationWithCallback invokes the baas.CreateOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/createorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateOrganizationWithCallback(request *CreateOrganizationRequest, callback func(response *CreateOrganizationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateOrganizationResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateOrganization(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateOrganizationRequest is the request struct for api CreateOrganization
+type CreateOrganizationRequest struct {
+	*requests.RpcRequest
+	Domain      string `position:"Query" name:"Domain"`
+	SpecName    string `position:"Query" name:"SpecName"`
+	Name        string `position:"Query" name:"Name"`
+	Description string `position:"Query" name:"Description"`
+	Location    string `position:"Query" name:"Location"`
+}
+
+// CreateOrganizationResponse is the response struct for api CreateOrganization
+type CreateOrganizationResponse struct {
+	*responses.BaseResponse
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Success   bool                       `json:"Success" xml:"Success"`
+	ErrorCode int                        `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateOrganization `json:"Result" xml:"Result"`
+}
+
+// CreateCreateOrganizationRequest creates a request to invoke CreateOrganization API
+func CreateCreateOrganizationRequest() (request *CreateOrganizationRequest) {
+	request = &CreateOrganizationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "CreateOrganization", "", "")
+	return
+}
+
+// CreateCreateOrganizationResponse creates a response to parse from CreateOrganization response
+func CreateCreateOrganizationResponse() (response *CreateOrganizationResponse) {
+	response = &CreateOrganizationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/delete_chaincode.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DeleteChaincode invokes the baas.DeleteChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/deletechaincode.html
+func (client *Client) DeleteChaincode(request *DeleteChaincodeRequest) (response *DeleteChaincodeResponse, err error) {
+	response = CreateDeleteChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteChaincodeWithChan invokes the baas.DeleteChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/deletechaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteChaincodeWithChan(request *DeleteChaincodeRequest) (<-chan *DeleteChaincodeResponse, <-chan error) {
+	responseChan := make(chan *DeleteChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteChaincodeWithCallback invokes the baas.DeleteChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/deletechaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteChaincodeWithCallback(request *DeleteChaincodeRequest, callback func(response *DeleteChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteChaincodeRequest is the request struct for api DeleteChaincode
+type DeleteChaincodeRequest struct {
+	*requests.RpcRequest
+	ChaincodeId string `position:"Body" name:"ChaincodeId"`
+}
+
+// DeleteChaincodeResponse is the response struct for api DeleteChaincode
+type DeleteChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateDeleteChaincodeRequest creates a request to invoke DeleteChaincode API
+func CreateDeleteChaincodeRequest() (request *DeleteChaincodeRequest) {
+	request = &DeleteChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DeleteChaincode", "", "")
+	return
+}
+
+// CreateDeleteChaincodeResponse creates a response to parse from DeleteChaincode response
+func CreateDeleteChaincodeResponse() (response *DeleteChaincodeResponse) {
+	response = &DeleteChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_applies.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeApplies invokes the baas.DescribeApplies API synchronously
+// api document: https://help.aliyun.com/api/baas/describeapplies.html
+func (client *Client) DescribeApplies(request *DescribeAppliesRequest) (response *DescribeAppliesResponse, err error) {
+	response = CreateDescribeAppliesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAppliesWithChan invokes the baas.DescribeApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAppliesWithChan(request *DescribeAppliesRequest) (<-chan *DescribeAppliesResponse, <-chan error) {
+	responseChan := make(chan *DescribeAppliesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeApplies(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAppliesWithCallback invokes the baas.DescribeApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAppliesWithCallback(request *DescribeAppliesRequest, callback func(response *DescribeAppliesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAppliesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeApplies(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAppliesRequest is the request struct for api DescribeApplies
+type DescribeAppliesRequest struct {
+	*requests.RpcRequest
+	Current  requests.Integer `position:"Body" name:"Current"`
+	Bizid    string           `position:"Body" name:"Bizid"`
+	PageSize requests.Integer `position:"Body" name:"PageSize"`
+	Status   string           `position:"Body" name:"Status"`
+}
+
+// DescribeAppliesResponse is the response struct for api DescribeApplies
+type DescribeAppliesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAppliesRequest creates a request to invoke DescribeApplies API
+func CreateDescribeAppliesRequest() (request *DescribeAppliesRequest) {
+	request = &DescribeAppliesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeApplies", "", "")
+	return
+}
+
+// CreateDescribeAppliesResponse creates a response to parse from DescribeApplies response
+func CreateDescribeAppliesResponse() (response *DescribeAppliesResponse) {
+	response = &DescribeAppliesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_bc_schema.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DescribeBcSchema invokes the baas.DescribeBcSchema API synchronously
+// api document: https://help.aliyun.com/api/baas/describebcschema.html
+func (client *Client) DescribeBcSchema(request *DescribeBcSchemaRequest) (response *DescribeBcSchemaResponse, err error) {
+	response = CreateDescribeBcSchemaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeBcSchemaWithChan invokes the baas.DescribeBcSchema API asynchronously
+// api document: https://help.aliyun.com/api/baas/describebcschema.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBcSchemaWithChan(request *DescribeBcSchemaRequest) (<-chan *DescribeBcSchemaResponse, <-chan error) {
+	responseChan := make(chan *DescribeBcSchemaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeBcSchema(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeBcSchemaWithCallback invokes the baas.DescribeBcSchema API asynchronously
+// api document: https://help.aliyun.com/api/baas/describebcschema.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBcSchemaWithCallback(request *DescribeBcSchemaRequest, callback func(response *DescribeBcSchemaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeBcSchemaResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeBcSchema(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeBcSchemaRequest is the request struct for api DescribeBcSchema
+type DescribeBcSchemaRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DescribeBcSchemaResponse is the response struct for api DescribeBcSchema
+type DescribeBcSchemaResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeBcSchemaRequest creates a request to invoke DescribeBcSchema API
+func CreateDescribeBcSchemaRequest() (request *DescribeBcSchemaRequest) {
+	request = &DescribeBcSchemaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeBcSchema", "", "")
+	return
+}
+
+// CreateDescribeBcSchemaResponse creates a response to parse from DescribeBcSchema response
+func CreateDescribeBcSchemaResponse() (response *DescribeBcSchemaResponse) {
+	response = &DescribeBcSchemaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_blockchain_create_task.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeBlockchainCreateTask invokes the baas.DescribeBlockchainCreateTask API synchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaincreatetask.html
+func (client *Client) DescribeBlockchainCreateTask(request *DescribeBlockchainCreateTaskRequest) (response *DescribeBlockchainCreateTaskResponse, err error) {
+	response = CreateDescribeBlockchainCreateTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeBlockchainCreateTaskWithChan invokes the baas.DescribeBlockchainCreateTask API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaincreatetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBlockchainCreateTaskWithChan(request *DescribeBlockchainCreateTaskRequest) (<-chan *DescribeBlockchainCreateTaskResponse, <-chan error) {
+	responseChan := make(chan *DescribeBlockchainCreateTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeBlockchainCreateTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeBlockchainCreateTaskWithCallback invokes the baas.DescribeBlockchainCreateTask API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaincreatetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBlockchainCreateTaskWithCallback(request *DescribeBlockchainCreateTaskRequest, callback func(response *DescribeBlockchainCreateTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeBlockchainCreateTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeBlockchainCreateTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeBlockchainCreateTaskRequest is the request struct for api DescribeBlockchainCreateTask
+type DescribeBlockchainCreateTaskRequest struct {
+	*requests.RpcRequest
+	Current  requests.Integer `position:"Body" name:"Current"`
+	PageSize requests.Integer `position:"Body" name:"PageSize"`
+}
+
+// DescribeBlockchainCreateTaskResponse is the response struct for api DescribeBlockchainCreateTask
+type DescribeBlockchainCreateTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeBlockchainCreateTaskRequest creates a request to invoke DescribeBlockchainCreateTask API
+func CreateDescribeBlockchainCreateTaskRequest() (request *DescribeBlockchainCreateTaskRequest) {
+	request = &DescribeBlockchainCreateTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeBlockchainCreateTask", "", "")
+	return
+}
+
+// CreateDescribeBlockchainCreateTaskResponse creates a response to parse from DescribeBlockchainCreateTask response
+func CreateDescribeBlockchainCreateTaskResponse() (response *DescribeBlockchainCreateTaskResponse) {
+	response = &DescribeBlockchainCreateTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_blockchain_info.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DescribeBlockchainInfo invokes the baas.DescribeBlockchainInfo API synchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaininfo.html
+func (client *Client) DescribeBlockchainInfo(request *DescribeBlockchainInfoRequest) (response *DescribeBlockchainInfoResponse, err error) {
+	response = CreateDescribeBlockchainInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeBlockchainInfoWithChan invokes the baas.DescribeBlockchainInfo API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaininfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBlockchainInfoWithChan(request *DescribeBlockchainInfoRequest) (<-chan *DescribeBlockchainInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeBlockchainInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeBlockchainInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeBlockchainInfoWithCallback invokes the baas.DescribeBlockchainInfo API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeblockchaininfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeBlockchainInfoWithCallback(request *DescribeBlockchainInfoRequest, callback func(response *DescribeBlockchainInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeBlockchainInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeBlockchainInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeBlockchainInfoRequest is the request struct for api DescribeBlockchainInfo
+type DescribeBlockchainInfoRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DescribeBlockchainInfoResponse is the response struct for api DescribeBlockchainInfo
+type DescribeBlockchainInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeBlockchainInfoRequest creates a request to invoke DescribeBlockchainInfo API
+func CreateDescribeBlockchainInfoRequest() (request *DescribeBlockchainInfoRequest) {
+	request = &DescribeBlockchainInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeBlockchainInfo", "", "")
+	return
+}
+
+// CreateDescribeBlockchainInfoResponse creates a response to parse from DescribeBlockchainInfo response
+func CreateDescribeBlockchainInfoResponse() (response *DescribeBlockchainInfoResponse) {
+	response = &DescribeBlockchainInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_candidate_organizations.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeCandidateOrganizations invokes the baas.DescribeCandidateOrganizations API synchronously
+// api document: https://help.aliyun.com/api/baas/describecandidateorganizations.html
+func (client *Client) DescribeCandidateOrganizations(request *DescribeCandidateOrganizationsRequest) (response *DescribeCandidateOrganizationsResponse, err error) {
+	response = CreateDescribeCandidateOrganizationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCandidateOrganizationsWithChan invokes the baas.DescribeCandidateOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describecandidateorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCandidateOrganizationsWithChan(request *DescribeCandidateOrganizationsRequest) (<-chan *DescribeCandidateOrganizationsResponse, <-chan error) {
+	responseChan := make(chan *DescribeCandidateOrganizationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCandidateOrganizations(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCandidateOrganizationsWithCallback invokes the baas.DescribeCandidateOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describecandidateorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCandidateOrganizationsWithCallback(request *DescribeCandidateOrganizationsRequest, callback func(response *DescribeCandidateOrganizationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCandidateOrganizationsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCandidateOrganizations(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCandidateOrganizationsRequest is the request struct for api DescribeCandidateOrganizations
+type DescribeCandidateOrganizationsRequest struct {
+	*requests.RpcRequest
+	Location string `position:"Body" name:"Location"`
+}
+
+// DescribeCandidateOrganizationsResponse is the response struct for api DescribeCandidateOrganizations
+type DescribeCandidateOrganizationsResponse struct {
+	*responses.BaseResponse
+	RequestId string                          `json:"RequestId" xml:"RequestId"`
+	Success   bool                            `json:"Success" xml:"Success"`
+	ErrorCode int                             `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []DescribeCandidateOrganization `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeCandidateOrganizationsRequest creates a request to invoke DescribeCandidateOrganizations API
+func CreateDescribeCandidateOrganizationsRequest() (request *DescribeCandidateOrganizationsRequest) {
+	request = &DescribeCandidateOrganizationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeCandidateOrganizations", "", "")
+	return
+}
+
+// CreateDescribeCandidateOrganizationsResponse creates a response to parse from DescribeCandidateOrganizations response
+func CreateDescribeCandidateOrganizationsResponse() (response *DescribeCandidateOrganizationsResponse) {
+	response = &DescribeCandidateOrganizationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_chaincode_upload_policy.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeChaincodeUploadPolicy invokes the baas.DescribeChaincodeUploadPolicy API synchronously
+// api document: https://help.aliyun.com/api/baas/describechaincodeuploadpolicy.html
+func (client *Client) DescribeChaincodeUploadPolicy(request *DescribeChaincodeUploadPolicyRequest) (response *DescribeChaincodeUploadPolicyResponse, err error) {
+	response = CreateDescribeChaincodeUploadPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeChaincodeUploadPolicyWithChan invokes the baas.DescribeChaincodeUploadPolicy API asynchronously
+// api document: https://help.aliyun.com/api/baas/describechaincodeuploadpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChaincodeUploadPolicyWithChan(request *DescribeChaincodeUploadPolicyRequest) (<-chan *DescribeChaincodeUploadPolicyResponse, <-chan error) {
+	responseChan := make(chan *DescribeChaincodeUploadPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeChaincodeUploadPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeChaincodeUploadPolicyWithCallback invokes the baas.DescribeChaincodeUploadPolicy API asynchronously
+// api document: https://help.aliyun.com/api/baas/describechaincodeuploadpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChaincodeUploadPolicyWithCallback(request *DescribeChaincodeUploadPolicyRequest, callback func(response *DescribeChaincodeUploadPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeChaincodeUploadPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeChaincodeUploadPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeChaincodeUploadPolicyRequest is the request struct for api DescribeChaincodeUploadPolicy
+type DescribeChaincodeUploadPolicyRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+}
+
+// DescribeChaincodeUploadPolicyResponse is the response struct for api DescribeChaincodeUploadPolicy
+type DescribeChaincodeUploadPolicyResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeChaincodeUploadPolicyRequest creates a request to invoke DescribeChaincodeUploadPolicy API
+func CreateDescribeChaincodeUploadPolicyRequest() (request *DescribeChaincodeUploadPolicyRequest) {
+	request = &DescribeChaincodeUploadPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeChaincodeUploadPolicy", "", "")
+	return
+}
+
+// CreateDescribeChaincodeUploadPolicyResponse creates a response to parse from DescribeChaincodeUploadPolicy response
+func CreateDescribeChaincodeUploadPolicyResponse() (response *DescribeChaincodeUploadPolicyResponse) {
+	response = &DescribeChaincodeUploadPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_channel_members.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeChannelMembers invokes the baas.DescribeChannelMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describechannelmembers.html
+func (client *Client) DescribeChannelMembers(request *DescribeChannelMembersRequest) (response *DescribeChannelMembersResponse, err error) {
+	response = CreateDescribeChannelMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeChannelMembersWithChan invokes the baas.DescribeChannelMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describechannelmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChannelMembersWithChan(request *DescribeChannelMembersRequest) (<-chan *DescribeChannelMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeChannelMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeChannelMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeChannelMembersWithCallback invokes the baas.DescribeChannelMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describechannelmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChannelMembersWithCallback(request *DescribeChannelMembersRequest, callback func(response *DescribeChannelMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeChannelMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeChannelMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeChannelMembersRequest is the request struct for api DescribeChannelMembers
+type DescribeChannelMembersRequest struct {
+	*requests.RpcRequest
+	ChannelId string `position:"Query" name:"ChannelId"`
+}
+
+// DescribeChannelMembersResponse is the response struct for api DescribeChannelMembers
+type DescribeChannelMembersResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Success   bool         `json:"Success" xml:"Success"`
+	ErrorCode int          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeChannelMembersRequest creates a request to invoke DescribeChannelMembers API
+func CreateDescribeChannelMembersRequest() (request *DescribeChannelMembersRequest) {
+	request = &DescribeChannelMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeChannelMembers", "", "")
+	return
+}
+
+// CreateDescribeChannelMembersResponse creates a response to parse from DescribeChannelMembers response
+func CreateDescribeChannelMembersResponse() (response *DescribeChannelMembersResponse) {
+	response = &DescribeChannelMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_consortium_admin_status.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumAdminStatus invokes the baas.DescribeConsortiumAdminStatus API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumadminstatus.html
+func (client *Client) DescribeConsortiumAdminStatus(request *DescribeConsortiumAdminStatusRequest) (response *DescribeConsortiumAdminStatusResponse, err error) {
+	response = CreateDescribeConsortiumAdminStatusResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumAdminStatusWithChan invokes the baas.DescribeConsortiumAdminStatus API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumadminstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumAdminStatusWithChan(request *DescribeConsortiumAdminStatusRequest) (<-chan *DescribeConsortiumAdminStatusResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumAdminStatusResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumAdminStatus(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumAdminStatusWithCallback invokes the baas.DescribeConsortiumAdminStatus API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumadminstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumAdminStatusWithCallback(request *DescribeConsortiumAdminStatusRequest, callback func(response *DescribeConsortiumAdminStatusResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumAdminStatusResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumAdminStatus(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumAdminStatusRequest is the request struct for api DescribeConsortiumAdminStatus
+type DescribeConsortiumAdminStatusRequest struct {
+	*requests.RpcRequest
+	Location string `position:"Body" name:"Location"`
+}
+
+// DescribeConsortiumAdminStatusResponse is the response struct for api DescribeConsortiumAdminStatus
+type DescribeConsortiumAdminStatusResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                    `json:"Success" xml:"Success"`
+	ErrorCode int                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ConsortimeAdminStatus `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumAdminStatusRequest creates a request to invoke DescribeConsortiumAdminStatus API
+func CreateDescribeConsortiumAdminStatusRequest() (request *DescribeConsortiumAdminStatusRequest) {
+	request = &DescribeConsortiumAdminStatusRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumAdminStatus", "", "")
+	return
+}
+
+// CreateDescribeConsortiumAdminStatusResponse creates a response to parse from DescribeConsortiumAdminStatus response
+func CreateDescribeConsortiumAdminStatusResponse() (response *DescribeConsortiumAdminStatusResponse) {
+	response = &DescribeConsortiumAdminStatusResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_chaincodes.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumChaincodes invokes the baas.DescribeConsortiumChaincodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchaincodes.html
+func (client *Client) DescribeConsortiumChaincodes(request *DescribeConsortiumChaincodesRequest) (response *DescribeConsortiumChaincodesResponse, err error) {
+	response = CreateDescribeConsortiumChaincodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumChaincodesWithChan invokes the baas.DescribeConsortiumChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumChaincodesWithChan(request *DescribeConsortiumChaincodesRequest) (<-chan *DescribeConsortiumChaincodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumChaincodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumChaincodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumChaincodesWithCallback invokes the baas.DescribeConsortiumChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumChaincodesWithCallback(request *DescribeConsortiumChaincodesRequest, callback func(response *DescribeConsortiumChaincodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumChaincodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumChaincodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumChaincodesRequest is the request struct for api DescribeConsortiumChaincodes
+type DescribeConsortiumChaincodesRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumChaincodesResponse is the response struct for api DescribeConsortiumChaincodes
+type DescribeConsortiumChaincodesResponse struct {
+	*responses.BaseResponse
+	RequestId string        `json:"RequestId" xml:"RequestId"`
+	Success   bool          `json:"Success" xml:"Success"`
+	ErrorCode int           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ChaincodeVO `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumChaincodesRequest creates a request to invoke DescribeConsortiumChaincodes API
+func CreateDescribeConsortiumChaincodesRequest() (request *DescribeConsortiumChaincodesRequest) {
+	request = &DescribeConsortiumChaincodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumChaincodes", "", "")
+	return
+}
+
+// CreateDescribeConsortiumChaincodesResponse creates a response to parse from DescribeConsortiumChaincodes response
+func CreateDescribeConsortiumChaincodesResponse() (response *DescribeConsortiumChaincodesResponse) {
+	response = &DescribeConsortiumChaincodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_channels.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumChannels invokes the baas.DescribeConsortiumChannels API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchannels.html
+func (client *Client) DescribeConsortiumChannels(request *DescribeConsortiumChannelsRequest) (response *DescribeConsortiumChannelsResponse, err error) {
+	response = CreateDescribeConsortiumChannelsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumChannelsWithChan invokes the baas.DescribeConsortiumChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumChannelsWithChan(request *DescribeConsortiumChannelsRequest) (<-chan *DescribeConsortiumChannelsResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumChannelsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumChannels(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumChannelsWithCallback invokes the baas.DescribeConsortiumChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumChannelsWithCallback(request *DescribeConsortiumChannelsRequest, callback func(response *DescribeConsortiumChannelsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumChannelsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumChannels(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumChannelsRequest is the request struct for api DescribeConsortiumChannels
+type DescribeConsortiumChannelsRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumChannelsResponse is the response struct for api DescribeConsortiumChannels
+type DescribeConsortiumChannelsResponse struct {
+	*responses.BaseResponse
+	RequestId string                                   `json:"RequestId" xml:"RequestId"`
+	Success   bool                                     `json:"Success" xml:"Success"`
+	ErrorCode int                                      `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeConsortiumChannels `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumChannelsRequest creates a request to invoke DescribeConsortiumChannels API
+func CreateDescribeConsortiumChannelsRequest() (request *DescribeConsortiumChannelsRequest) {
+	request = &DescribeConsortiumChannelsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumChannels", "", "")
+	return
+}
+
+// CreateDescribeConsortiumChannelsResponse creates a response to parse from DescribeConsortiumChannels response
+func CreateDescribeConsortiumChannelsResponse() (response *DescribeConsortiumChannelsResponse) {
+	response = &DescribeConsortiumChannelsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_consortium_config.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumConfig invokes the baas.DescribeConsortiumConfig API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumconfig.html
+func (client *Client) DescribeConsortiumConfig(request *DescribeConsortiumConfigRequest) (response *DescribeConsortiumConfigResponse, err error) {
+	response = CreateDescribeConsortiumConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumConfigWithChan invokes the baas.DescribeConsortiumConfig API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumConfigWithChan(request *DescribeConsortiumConfigRequest) (<-chan *DescribeConsortiumConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumConfigWithCallback invokes the baas.DescribeConsortiumConfig API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumConfigWithCallback(request *DescribeConsortiumConfigRequest, callback func(response *DescribeConsortiumConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumConfigRequest is the request struct for api DescribeConsortiumConfig
+type DescribeConsortiumConfigRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeConsortiumConfigResponse is the response struct for api DescribeConsortiumConfig
+type DescribeConsortiumConfigResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumConfigRequest creates a request to invoke DescribeConsortiumConfig API
+func CreateDescribeConsortiumConfigRequest() (request *DescribeConsortiumConfigRequest) {
+	request = &DescribeConsortiumConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumConfig", "", "")
+	return
+}
+
+// CreateDescribeConsortiumConfigResponse creates a response to parse from DescribeConsortiumConfig response
+func CreateDescribeConsortiumConfigResponse() (response *DescribeConsortiumConfigResponse) {
+	response = &DescribeConsortiumConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_deletable.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumDeletable invokes the baas.DescribeConsortiumDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumdeletable.html
+func (client *Client) DescribeConsortiumDeletable(request *DescribeConsortiumDeletableRequest) (response *DescribeConsortiumDeletableResponse, err error) {
+	response = CreateDescribeConsortiumDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumDeletableWithChan invokes the baas.DescribeConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumDeletableWithChan(request *DescribeConsortiumDeletableRequest) (<-chan *DescribeConsortiumDeletableResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumDeletableWithCallback invokes the baas.DescribeConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumDeletableWithCallback(request *DescribeConsortiumDeletableRequest, callback func(response *DescribeConsortiumDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumDeletableRequest is the request struct for api DescribeConsortiumDeletable
+type DescribeConsortiumDeletableRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumDeletableResponse is the response struct for api DescribeConsortiumDeletable
+type DescribeConsortiumDeletableResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumDeletableRequest creates a request to invoke DescribeConsortiumDeletable API
+func CreateDescribeConsortiumDeletableRequest() (request *DescribeConsortiumDeletableRequest) {
+	request = &DescribeConsortiumDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumDeletable", "", "")
+	return
+}
+
+// CreateDescribeConsortiumDeletableResponse creates a response to parse from DescribeConsortiumDeletable response
+func CreateDescribeConsortiumDeletableResponse() (response *DescribeConsortiumDeletableResponse) {
+	response = &DescribeConsortiumDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_member_approval.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumMemberApproval invokes the baas.DescribeConsortiumMemberApproval API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummemberapproval.html
+func (client *Client) DescribeConsortiumMemberApproval(request *DescribeConsortiumMemberApprovalRequest) (response *DescribeConsortiumMemberApprovalResponse, err error) {
+	response = CreateDescribeConsortiumMemberApprovalResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumMemberApprovalWithChan invokes the baas.DescribeConsortiumMemberApproval API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummemberapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumMemberApprovalWithChan(request *DescribeConsortiumMemberApprovalRequest) (<-chan *DescribeConsortiumMemberApprovalResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumMemberApprovalResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumMemberApproval(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumMemberApprovalWithCallback invokes the baas.DescribeConsortiumMemberApproval API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummemberapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumMemberApprovalWithCallback(request *DescribeConsortiumMemberApprovalRequest, callback func(response *DescribeConsortiumMemberApprovalResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumMemberApprovalResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumMemberApproval(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumMemberApprovalRequest is the request struct for api DescribeConsortiumMemberApproval
+type DescribeConsortiumMemberApprovalRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumMemberApprovalResponse is the response struct for api DescribeConsortiumMemberApproval
+type DescribeConsortiumMemberApprovalResponse struct {
+	*responses.BaseResponse
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Success   bool                       `json:"Success" xml:"Success"`
+	ErrorCode int                        `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ConsortiumMemberApproval `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumMemberApprovalRequest creates a request to invoke DescribeConsortiumMemberApproval API
+func CreateDescribeConsortiumMemberApprovalRequest() (request *DescribeConsortiumMemberApprovalRequest) {
+	request = &DescribeConsortiumMemberApprovalRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumMemberApproval", "", "")
+	return
+}
+
+// CreateDescribeConsortiumMemberApprovalResponse creates a response to parse from DescribeConsortiumMemberApproval response
+func CreateDescribeConsortiumMemberApprovalResponse() (response *DescribeConsortiumMemberApprovalResponse) {
+	response = &DescribeConsortiumMemberApprovalResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_members.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumMembers invokes the baas.DescribeConsortiumMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummembers.html
+func (client *Client) DescribeConsortiumMembers(request *DescribeConsortiumMembersRequest) (response *DescribeConsortiumMembersResponse, err error) {
+	response = CreateDescribeConsortiumMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumMembersWithChan invokes the baas.DescribeConsortiumMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumMembersWithChan(request *DescribeConsortiumMembersRequest) (<-chan *DescribeConsortiumMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumMembersWithCallback invokes the baas.DescribeConsortiumMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiummembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumMembersWithCallback(request *DescribeConsortiumMembersRequest, callback func(response *DescribeConsortiumMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumMembersRequest is the request struct for api DescribeConsortiumMembers
+type DescribeConsortiumMembersRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumMembersResponse is the response struct for api DescribeConsortiumMembers
+type DescribeConsortiumMembersResponse struct {
+	*responses.BaseResponse
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Success   bool                       `json:"Success" xml:"Success"`
+	ErrorCode int                        `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []DescribeConsortiumMember `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumMembersRequest creates a request to invoke DescribeConsortiumMembers API
+func CreateDescribeConsortiumMembersRequest() (request *DescribeConsortiumMembersRequest) {
+	request = &DescribeConsortiumMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumMembers", "", "")
+	return
+}
+
+// CreateDescribeConsortiumMembersResponse creates a response to parse from DescribeConsortiumMembers response
+func CreateDescribeConsortiumMembersResponse() (response *DescribeConsortiumMembersResponse) {
+	response = &DescribeConsortiumMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortium_orderers.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumOrderers invokes the baas.DescribeConsortiumOrderers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumorderers.html
+func (client *Client) DescribeConsortiumOrderers(request *DescribeConsortiumOrderersRequest) (response *DescribeConsortiumOrderersResponse, err error) {
+	response = CreateDescribeConsortiumOrderersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumOrderersWithChan invokes the baas.DescribeConsortiumOrderers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumorderers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumOrderersWithChan(request *DescribeConsortiumOrderersRequest) (<-chan *DescribeConsortiumOrderersResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumOrderersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumOrderers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumOrderersWithCallback invokes the baas.DescribeConsortiumOrderers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumorderers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumOrderersWithCallback(request *DescribeConsortiumOrderersRequest, callback func(response *DescribeConsortiumOrderersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumOrderersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumOrderers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumOrderersRequest is the request struct for api DescribeConsortiumOrderers
+type DescribeConsortiumOrderersRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumOrderersResponse is the response struct for api DescribeConsortiumOrderers
+type DescribeConsortiumOrderersResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	Success   bool      `json:"Success" xml:"Success"`
+	ErrorCode int       `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []Orderer `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumOrderersRequest creates a request to invoke DescribeConsortiumOrderers API
+func CreateDescribeConsortiumOrderersRequest() (request *DescribeConsortiumOrderersRequest) {
+	request = &DescribeConsortiumOrderersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumOrderers", "", "")
+	return
+}
+
+// CreateDescribeConsortiumOrderersResponse creates a response to parse from DescribeConsortiumOrderers response
+func CreateDescribeConsortiumOrderersResponse() (response *DescribeConsortiumOrderersResponse) {
+	response = &DescribeConsortiumOrderersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_consortium_specs.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiumSpecs invokes the baas.DescribeConsortiumSpecs API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumspecs.html
+func (client *Client) DescribeConsortiumSpecs(request *DescribeConsortiumSpecsRequest) (response *DescribeConsortiumSpecsResponse, err error) {
+	response = CreateDescribeConsortiumSpecsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumSpecsWithChan invokes the baas.DescribeConsortiumSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumSpecsWithChan(request *DescribeConsortiumSpecsRequest) (<-chan *DescribeConsortiumSpecsResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumSpecsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiumSpecs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumSpecsWithCallback invokes the baas.DescribeConsortiumSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiumspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumSpecsWithCallback(request *DescribeConsortiumSpecsRequest, callback func(response *DescribeConsortiumSpecsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumSpecsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiumSpecs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumSpecsRequest is the request struct for api DescribeConsortiumSpecs
+type DescribeConsortiumSpecsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeConsortiumSpecsResponse is the response struct for api DescribeConsortiumSpecs
+type DescribeConsortiumSpecsResponse struct {
+	*responses.BaseResponse
+	RequestId string        `json:"RequestId" xml:"RequestId"`
+	Success   bool          `json:"Success" xml:"Success"`
+	ErrorCode int           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ClusterSpec `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumSpecsRequest creates a request to invoke DescribeConsortiumSpecs API
+func CreateDescribeConsortiumSpecsRequest() (request *DescribeConsortiumSpecsRequest) {
+	request = &DescribeConsortiumSpecsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiumSpecs", "", "")
+	return
+}
+
+// CreateDescribeConsortiumSpecsResponse creates a response to parse from DescribeConsortiumSpecs response
+func CreateDescribeConsortiumSpecsResponse() (response *DescribeConsortiumSpecsResponse) {
+	response = &DescribeConsortiumSpecsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_consortiums.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeConsortiums invokes the baas.DescribeConsortiums API synchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiums.html
+func (client *Client) DescribeConsortiums(request *DescribeConsortiumsRequest) (response *DescribeConsortiumsResponse, err error) {
+	response = CreateDescribeConsortiumsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeConsortiumsWithChan invokes the baas.DescribeConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumsWithChan(request *DescribeConsortiumsRequest) (<-chan *DescribeConsortiumsResponse, <-chan error) {
+	responseChan := make(chan *DescribeConsortiumsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeConsortiums(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeConsortiumsWithCallback invokes the baas.DescribeConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeConsortiumsWithCallback(request *DescribeConsortiumsRequest, callback func(response *DescribeConsortiumsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeConsortiumsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeConsortiums(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeConsortiumsRequest is the request struct for api DescribeConsortiums
+type DescribeConsortiumsRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeConsortiumsResponse is the response struct for api DescribeConsortiums
+type DescribeConsortiumsResponse struct {
+	*responses.BaseResponse
+	RequestId string                            `json:"RequestId" xml:"RequestId"`
+	Success   bool                              `json:"Success" xml:"Success"`
+	ErrorCode int                               `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeConsortiums `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeConsortiumsRequest creates a request to invoke DescribeConsortiums API
+func CreateDescribeConsortiumsRequest() (request *DescribeConsortiumsRequest) {
+	request = &DescribeConsortiumsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeConsortiums", "", "")
+	return
+}
+
+// CreateDescribeConsortiumsResponse creates a response to parse from DescribeConsortiums response
+func CreateDescribeConsortiumsResponse() (response *DescribeConsortiumsResponse) {
+	response = &DescribeConsortiumsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_ecosphere_specs.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeEcosphereSpecs invokes the baas.DescribeEcosphereSpecs API synchronously
+// api document: https://help.aliyun.com/api/baas/describeecospherespecs.html
+func (client *Client) DescribeEcosphereSpecs(request *DescribeEcosphereSpecsRequest) (response *DescribeEcosphereSpecsResponse, err error) {
+	response = CreateDescribeEcosphereSpecsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEcosphereSpecsWithChan invokes the baas.DescribeEcosphereSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeecospherespecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEcosphereSpecsWithChan(request *DescribeEcosphereSpecsRequest) (<-chan *DescribeEcosphereSpecsResponse, <-chan error) {
+	responseChan := make(chan *DescribeEcosphereSpecsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEcosphereSpecs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEcosphereSpecsWithCallback invokes the baas.DescribeEcosphereSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeecospherespecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEcosphereSpecsWithCallback(request *DescribeEcosphereSpecsRequest, callback func(response *DescribeEcosphereSpecsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEcosphereSpecsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEcosphereSpecs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEcosphereSpecsRequest is the request struct for api DescribeEcosphereSpecs
+type DescribeEcosphereSpecsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeEcosphereSpecsResponse is the response struct for api DescribeEcosphereSpecs
+type DescribeEcosphereSpecsResponse struct {
+	*responses.BaseResponse
+	RequestId string        `json:"RequestId" xml:"RequestId"`
+	Success   bool          `json:"Success" xml:"Success"`
+	ErrorCode int           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ClusterSpec `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeEcosphereSpecsRequest creates a request to invoke DescribeEcosphereSpecs API
+func CreateDescribeEcosphereSpecsRequest() (request *DescribeEcosphereSpecsRequest) {
+	request = &DescribeEcosphereSpecsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeEcosphereSpecs", "", "")
+	return
+}
+
+// CreateDescribeEcosphereSpecsResponse creates a response to parse from DescribeEcosphereSpecs response
+func CreateDescribeEcosphereSpecsResponse() (response *DescribeEcosphereSpecsResponse) {
+	response = &DescribeEcosphereSpecsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/baas/describe_explorer.go

@@ -0,0 +1,111 @@
+package baas
+
+//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"
+)
+
+// DescribeExplorer invokes the baas.DescribeExplorer API synchronously
+// api document: https://help.aliyun.com/api/baas/describeexplorer.html
+func (client *Client) DescribeExplorer(request *DescribeExplorerRequest) (response *DescribeExplorerResponse, err error) {
+	response = CreateDescribeExplorerResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeExplorerWithChan invokes the baas.DescribeExplorer API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeexplorer.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExplorerWithChan(request *DescribeExplorerRequest) (<-chan *DescribeExplorerResponse, <-chan error) {
+	responseChan := make(chan *DescribeExplorerResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeExplorer(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeExplorerWithCallback invokes the baas.DescribeExplorer API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeexplorer.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExplorerWithCallback(request *DescribeExplorerRequest, callback func(response *DescribeExplorerResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeExplorerResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeExplorer(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeExplorerRequest is the request struct for api DescribeExplorer
+type DescribeExplorerRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	ExBody         string `position:"Query" name:"ExBody"`
+	ExUrl          string `position:"Query" name:"ExUrl"`
+	ExMethod       string `position:"Query" name:"ExMethod"`
+}
+
+// DescribeExplorerResponse is the response struct for api DescribeExplorer
+type DescribeExplorerResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result         string `json:"Result" xml:"Result"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+}
+
+// CreateDescribeExplorerRequest creates a request to invoke DescribeExplorer API
+func CreateDescribeExplorerRequest() (request *DescribeExplorerRequest) {
+	request = &DescribeExplorerRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeExplorer", "", "")
+	return
+}
+
+// CreateDescribeExplorerResponse creates a response to parse from DescribeExplorer response
+func CreateDescribeExplorerResponse() (response *DescribeExplorerResponse) {
+	response = &DescribeExplorerResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/describe_invitation_code.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DescribeInvitationCode invokes the baas.DescribeInvitationCode API synchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationcode.html
+func (client *Client) DescribeInvitationCode(request *DescribeInvitationCodeRequest) (response *DescribeInvitationCodeResponse, err error) {
+	response = CreateDescribeInvitationCodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInvitationCodeWithChan invokes the baas.DescribeInvitationCode API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInvitationCodeWithChan(request *DescribeInvitationCodeRequest) (<-chan *DescribeInvitationCodeResponse, <-chan error) {
+	responseChan := make(chan *DescribeInvitationCodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInvitationCode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInvitationCodeWithCallback invokes the baas.DescribeInvitationCode API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInvitationCodeWithCallback(request *DescribeInvitationCodeRequest, callback func(response *DescribeInvitationCodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInvitationCodeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInvitationCode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInvitationCodeRequest is the request struct for api DescribeInvitationCode
+type DescribeInvitationCodeRequest struct {
+	*requests.RpcRequest
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeInvitationCodeResponse is the response struct for api DescribeInvitationCode
+type DescribeInvitationCodeResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+	Result         Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeInvitationCodeRequest creates a request to invoke DescribeInvitationCode API
+func CreateDescribeInvitationCodeRequest() (request *DescribeInvitationCodeRequest) {
+	request = &DescribeInvitationCodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeInvitationCode", "", "")
+	return
+}
+
+// CreateDescribeInvitationCodeResponse creates a response to parse from DescribeInvitationCode response
+func CreateDescribeInvitationCodeResponse() (response *DescribeInvitationCodeResponse) {
+	response = &DescribeInvitationCodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_invitation_list.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeInvitationList invokes the baas.DescribeInvitationList API synchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationlist.html
+func (client *Client) DescribeInvitationList(request *DescribeInvitationListRequest) (response *DescribeInvitationListResponse, err error) {
+	response = CreateDescribeInvitationListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInvitationListWithChan invokes the baas.DescribeInvitationList API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInvitationListWithChan(request *DescribeInvitationListRequest) (<-chan *DescribeInvitationListResponse, <-chan error) {
+	responseChan := make(chan *DescribeInvitationListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInvitationList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInvitationListWithCallback invokes the baas.DescribeInvitationList API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinvitationlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInvitationListWithCallback(request *DescribeInvitationListRequest, callback func(response *DescribeInvitationListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInvitationListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInvitationList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInvitationListRequest is the request struct for api DescribeInvitationList
+type DescribeInvitationListRequest struct {
+	*requests.RpcRequest
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeInvitationListResponse is the response struct for api DescribeInvitationList
+type DescribeInvitationListResponse struct {
+	*responses.BaseResponse
+	RequestId string           `json:"RequestId" xml:"RequestId"`
+	Success   bool             `json:"Success" xml:"Success"`
+	ErrorCode int              `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []InvitationList `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeInvitationListRequest creates a request to invoke DescribeInvitationList API
+func CreateDescribeInvitationListRequest() (request *DescribeInvitationListRequest) {
+	request = &DescribeInvitationListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeInvitationList", "", "")
+	return
+}
+
+// CreateDescribeInvitationListResponse creates a response to parse from DescribeInvitationList response
+func CreateDescribeInvitationListResponse() (response *DescribeInvitationListResponse) {
+	response = &DescribeInvitationListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_inviter.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeInviter invokes the baas.DescribeInviter API synchronously
+// api document: https://help.aliyun.com/api/baas/describeinviter.html
+func (client *Client) DescribeInviter(request *DescribeInviterRequest) (response *DescribeInviterResponse, err error) {
+	response = CreateDescribeInviterResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInviterWithChan invokes the baas.DescribeInviter API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinviter.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInviterWithChan(request *DescribeInviterRequest) (<-chan *DescribeInviterResponse, <-chan error) {
+	responseChan := make(chan *DescribeInviterResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInviter(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInviterWithCallback invokes the baas.DescribeInviter API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeinviter.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInviterWithCallback(request *DescribeInviterRequest, callback func(response *DescribeInviterResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInviterResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInviter(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInviterRequest is the request struct for api DescribeInviter
+type DescribeInviterRequest struct {
+	*requests.RpcRequest
+	Code string `position:"Body" name:"Code"`
+}
+
+// DescribeInviterResponse is the response struct for api DescribeInviter
+type DescribeInviterResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeInviterRequest creates a request to invoke DescribeInviter API
+func CreateDescribeInviterRequest() (request *DescribeInviterRequest) {
+	request = &DescribeInviterRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeInviter", "", "")
+	return
+}
+
+// CreateDescribeInviterResponse creates a response to parse from DescribeInviter response
+func CreateDescribeInviterResponse() (response *DescribeInviterResponse) {
+	response = &DescribeInviterResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/describe_my_blockchains.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// DescribeMyBlockchains invokes the baas.DescribeMyBlockchains API synchronously
+// api document: https://help.aliyun.com/api/baas/describemyblockchains.html
+func (client *Client) DescribeMyBlockchains(request *DescribeMyBlockchainsRequest) (response *DescribeMyBlockchainsResponse, err error) {
+	response = CreateDescribeMyBlockchainsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMyBlockchainsWithChan invokes the baas.DescribeMyBlockchains API asynchronously
+// api document: https://help.aliyun.com/api/baas/describemyblockchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMyBlockchainsWithChan(request *DescribeMyBlockchainsRequest) (<-chan *DescribeMyBlockchainsResponse, <-chan error) {
+	responseChan := make(chan *DescribeMyBlockchainsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMyBlockchains(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMyBlockchainsWithCallback invokes the baas.DescribeMyBlockchains API asynchronously
+// api document: https://help.aliyun.com/api/baas/describemyblockchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMyBlockchainsWithCallback(request *DescribeMyBlockchainsRequest, callback func(response *DescribeMyBlockchainsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMyBlockchainsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMyBlockchains(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMyBlockchainsRequest is the request struct for api DescribeMyBlockchains
+type DescribeMyBlockchainsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeMyBlockchainsResponse is the response struct for api DescribeMyBlockchains
+type DescribeMyBlockchainsResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeMyBlockchainsRequest creates a request to invoke DescribeMyBlockchains API
+func CreateDescribeMyBlockchainsRequest() (request *DescribeMyBlockchainsRequest) {
+	request = &DescribeMyBlockchainsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeMyBlockchains", "", "")
+	return
+}
+
+// CreateDescribeMyBlockchainsResponse creates a response to parse from DescribeMyBlockchains response
+func CreateDescribeMyBlockchainsResponse() (response *DescribeMyBlockchainsResponse) {
+	response = &DescribeMyBlockchainsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/describe_my_success_applies.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// DescribeMySuccessApplies invokes the baas.DescribeMySuccessApplies API synchronously
+// api document: https://help.aliyun.com/api/baas/describemysuccessapplies.html
+func (client *Client) DescribeMySuccessApplies(request *DescribeMySuccessAppliesRequest) (response *DescribeMySuccessAppliesResponse, err error) {
+	response = CreateDescribeMySuccessAppliesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMySuccessAppliesWithChan invokes the baas.DescribeMySuccessApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/describemysuccessapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMySuccessAppliesWithChan(request *DescribeMySuccessAppliesRequest) (<-chan *DescribeMySuccessAppliesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMySuccessAppliesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMySuccessApplies(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMySuccessAppliesWithCallback invokes the baas.DescribeMySuccessApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/describemysuccessapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMySuccessAppliesWithCallback(request *DescribeMySuccessAppliesRequest, callback func(response *DescribeMySuccessAppliesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMySuccessAppliesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMySuccessApplies(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMySuccessAppliesRequest is the request struct for api DescribeMySuccessApplies
+type DescribeMySuccessAppliesRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeMySuccessAppliesResponse is the response struct for api DescribeMySuccessApplies
+type DescribeMySuccessAppliesResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeMySuccessAppliesRequest creates a request to invoke DescribeMySuccessApplies API
+func CreateDescribeMySuccessAppliesRequest() (request *DescribeMySuccessAppliesRequest) {
+	request = &DescribeMySuccessAppliesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeMySuccessApplies", "", "")
+	return
+}
+
+// CreateDescribeMySuccessAppliesResponse creates a response to parse from DescribeMySuccessApplies response
+func CreateDescribeMySuccessAppliesResponse() (response *DescribeMySuccessAppliesResponse) {
+	response = &DescribeMySuccessAppliesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/describe_orderer_logs.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DescribeOrdererLogs invokes the baas.DescribeOrdererLogs API synchronously
+// api document: https://help.aliyun.com/api/baas/describeordererlogs.html
+func (client *Client) DescribeOrdererLogs(request *DescribeOrdererLogsRequest) (response *DescribeOrdererLogsResponse, err error) {
+	response = CreateDescribeOrdererLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrdererLogsWithChan invokes the baas.DescribeOrdererLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeordererlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrdererLogsWithChan(request *DescribeOrdererLogsRequest) (<-chan *DescribeOrdererLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrdererLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrdererLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrdererLogsWithCallback invokes the baas.DescribeOrdererLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeordererlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrdererLogsWithCallback(request *DescribeOrdererLogsRequest, callback func(response *DescribeOrdererLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrdererLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrdererLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrdererLogsRequest is the request struct for api DescribeOrdererLogs
+type DescribeOrdererLogsRequest struct {
+	*requests.RpcRequest
+	Lines        string `position:"Query" name:"Lines"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+	OrdererName  string `position:"Query" name:"OrdererName"`
+}
+
+// DescribeOrdererLogsResponse is the response struct for api DescribeOrdererLogs
+type DescribeOrdererLogsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrdererLogsRequest creates a request to invoke DescribeOrdererLogs API
+func CreateDescribeOrdererLogsRequest() (request *DescribeOrdererLogsRequest) {
+	request = &DescribeOrdererLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrdererLogs", "", "")
+	return
+}
+
+// CreateDescribeOrdererLogsResponse creates a response to parse from DescribeOrdererLogs response
+func CreateDescribeOrdererLogsResponse() (response *DescribeOrdererLogsResponse) {
+	response = &DescribeOrdererLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganization invokes the baas.DescribeOrganization API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganization.html
+func (client *Client) DescribeOrganization(request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error) {
+	response = CreateDescribeOrganizationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationWithChan invokes the baas.DescribeOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationWithChan(request *DescribeOrganizationRequest) (<-chan *DescribeOrganizationResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganization(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationWithCallback invokes the baas.DescribeOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationWithCallback(request *DescribeOrganizationRequest, callback func(response *DescribeOrganizationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganization(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationRequest is the request struct for api DescribeOrganization
+type DescribeOrganizationRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationResponse is the response struct for api DescribeOrganization
+type DescribeOrganizationResponse struct {
+	*responses.BaseResponse
+	RequestId string                       `json:"RequestId" xml:"RequestId"`
+	Success   bool                         `json:"Success" xml:"Success"`
+	ErrorCode int                          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInDescribeOrganization `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationRequest creates a request to invoke DescribeOrganization API
+func CreateDescribeOrganizationRequest() (request *DescribeOrganizationRequest) {
+	request = &DescribeOrganizationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganization", "", "")
+	return
+}
+
+// CreateDescribeOrganizationResponse creates a response to parse from DescribeOrganization response
+func CreateDescribeOrganizationResponse() (response *DescribeOrganizationResponse) {
+	response = &DescribeOrganizationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_chaincodes.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationChaincodes invokes the baas.DescribeOrganizationChaincodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchaincodes.html
+func (client *Client) DescribeOrganizationChaincodes(request *DescribeOrganizationChaincodesRequest) (response *DescribeOrganizationChaincodesResponse, err error) {
+	response = CreateDescribeOrganizationChaincodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationChaincodesWithChan invokes the baas.DescribeOrganizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationChaincodesWithChan(request *DescribeOrganizationChaincodesRequest) (<-chan *DescribeOrganizationChaincodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationChaincodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationChaincodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationChaincodesWithCallback invokes the baas.DescribeOrganizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationChaincodesWithCallback(request *DescribeOrganizationChaincodesRequest, callback func(response *DescribeOrganizationChaincodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationChaincodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationChaincodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationChaincodesRequest is the request struct for api DescribeOrganizationChaincodes
+type DescribeOrganizationChaincodesRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationChaincodesResponse is the response struct for api DescribeOrganizationChaincodes
+type DescribeOrganizationChaincodesResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                    `json:"Success" xml:"Success"`
+	ErrorCode int                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []OrganizationChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationChaincodesRequest creates a request to invoke DescribeOrganizationChaincodes API
+func CreateDescribeOrganizationChaincodesRequest() (request *DescribeOrganizationChaincodesRequest) {
+	request = &DescribeOrganizationChaincodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationChaincodes", "", "")
+	return
+}
+
+// CreateDescribeOrganizationChaincodesResponse creates a response to parse from DescribeOrganizationChaincodes response
+func CreateDescribeOrganizationChaincodesResponse() (response *DescribeOrganizationChaincodesResponse) {
+	response = &DescribeOrganizationChaincodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_channels.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationChannels invokes the baas.DescribeOrganizationChannels API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchannels.html
+func (client *Client) DescribeOrganizationChannels(request *DescribeOrganizationChannelsRequest) (response *DescribeOrganizationChannelsResponse, err error) {
+	response = CreateDescribeOrganizationChannelsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationChannelsWithChan invokes the baas.DescribeOrganizationChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationChannelsWithChan(request *DescribeOrganizationChannelsRequest) (<-chan *DescribeOrganizationChannelsResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationChannelsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationChannels(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationChannelsWithCallback invokes the baas.DescribeOrganizationChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationChannelsWithCallback(request *DescribeOrganizationChannelsRequest, callback func(response *DescribeOrganizationChannelsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationChannelsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationChannels(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationChannelsRequest is the request struct for api DescribeOrganizationChannels
+type DescribeOrganizationChannelsRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationChannelsResponse is the response struct for api DescribeOrganizationChannels
+type DescribeOrganizationChannelsResponse struct {
+	*responses.BaseResponse
+	RequestId string                                     `json:"RequestId" xml:"RequestId"`
+	Success   bool                                       `json:"Success" xml:"Success"`
+	ErrorCode int                                        `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeOrganizationChannels `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationChannelsRequest creates a request to invoke DescribeOrganizationChannels API
+func CreateDescribeOrganizationChannelsRequest() (request *DescribeOrganizationChannelsRequest) {
+	request = &DescribeOrganizationChannelsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationChannels", "", "")
+	return
+}
+
+// CreateDescribeOrganizationChannelsResponse creates a response to parse from DescribeOrganizationChannels response
+func CreateDescribeOrganizationChannelsResponse() (response *DescribeOrganizationChannelsResponse) {
+	response = &DescribeOrganizationChannelsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_deletable.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationDeletable invokes the baas.DescribeOrganizationDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationdeletable.html
+func (client *Client) DescribeOrganizationDeletable(request *DescribeOrganizationDeletableRequest) (response *DescribeOrganizationDeletableResponse, err error) {
+	response = CreateDescribeOrganizationDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationDeletableWithChan invokes the baas.DescribeOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationDeletableWithChan(request *DescribeOrganizationDeletableRequest) (<-chan *DescribeOrganizationDeletableResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationDeletableWithCallback invokes the baas.DescribeOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationDeletableWithCallback(request *DescribeOrganizationDeletableRequest, callback func(response *DescribeOrganizationDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationDeletableRequest is the request struct for api DescribeOrganizationDeletable
+type DescribeOrganizationDeletableRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationDeletableResponse is the response struct for api DescribeOrganizationDeletable
+type DescribeOrganizationDeletableResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationDeletableRequest creates a request to invoke DescribeOrganizationDeletable API
+func CreateDescribeOrganizationDeletableRequest() (request *DescribeOrganizationDeletableRequest) {
+	request = &DescribeOrganizationDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationDeletable", "", "")
+	return
+}
+
+// CreateDescribeOrganizationDeletableResponse creates a response to parse from DescribeOrganizationDeletable response
+func CreateDescribeOrganizationDeletableResponse() (response *DescribeOrganizationDeletableResponse) {
+	response = &DescribeOrganizationDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_members.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationMembers invokes the baas.DescribeOrganizationMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationmembers.html
+func (client *Client) DescribeOrganizationMembers(request *DescribeOrganizationMembersRequest) (response *DescribeOrganizationMembersResponse, err error) {
+	response = CreateDescribeOrganizationMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationMembersWithChan invokes the baas.DescribeOrganizationMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationMembersWithChan(request *DescribeOrganizationMembersRequest) (<-chan *DescribeOrganizationMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationMembersWithCallback invokes the baas.DescribeOrganizationMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationMembersWithCallback(request *DescribeOrganizationMembersRequest, callback func(response *DescribeOrganizationMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationMembersRequest is the request struct for api DescribeOrganizationMembers
+type DescribeOrganizationMembersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationMembersResponse is the response struct for api DescribeOrganizationMembers
+type DescribeOrganizationMembersResponse struct {
+	*responses.BaseResponse
+	RequestId string                        `json:"RequestId" xml:"RequestId"`
+	Success   bool                          `json:"Success" xml:"Success"`
+	ErrorCode int                           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []DescribeOrganizationMembers `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationMembersRequest creates a request to invoke DescribeOrganizationMembers API
+func CreateDescribeOrganizationMembersRequest() (request *DescribeOrganizationMembersRequest) {
+	request = &DescribeOrganizationMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationMembers", "", "")
+	return
+}
+
+// CreateDescribeOrganizationMembersResponse creates a response to parse from DescribeOrganizationMembers response
+func CreateDescribeOrganizationMembersResponse() (response *DescribeOrganizationMembersResponse) {
+	response = &DescribeOrganizationMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_peers.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationPeers invokes the baas.DescribeOrganizationPeers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationpeers.html
+func (client *Client) DescribeOrganizationPeers(request *DescribeOrganizationPeersRequest) (response *DescribeOrganizationPeersResponse, err error) {
+	response = CreateDescribeOrganizationPeersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationPeersWithChan invokes the baas.DescribeOrganizationPeers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationpeers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationPeersWithChan(request *DescribeOrganizationPeersRequest) (<-chan *DescribeOrganizationPeersResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationPeersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationPeers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationPeersWithCallback invokes the baas.DescribeOrganizationPeers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationpeers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationPeersWithCallback(request *DescribeOrganizationPeersRequest, callback func(response *DescribeOrganizationPeersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationPeersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationPeers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationPeersRequest is the request struct for api DescribeOrganizationPeers
+type DescribeOrganizationPeersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationPeersResponse is the response struct for api DescribeOrganizationPeers
+type DescribeOrganizationPeersResponse struct {
+	*responses.BaseResponse
+	RequestId string                                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                                    `json:"Success" xml:"Success"`
+	ErrorCode int                                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeOrganizationPeers `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationPeersRequest creates a request to invoke DescribeOrganizationPeers API
+func CreateDescribeOrganizationPeersRequest() (request *DescribeOrganizationPeersRequest) {
+	request = &DescribeOrganizationPeersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationPeers", "", "")
+	return
+}
+
+// CreateDescribeOrganizationPeersResponse creates a response to parse from DescribeOrganizationPeers response
+func CreateDescribeOrganizationPeersResponse() (response *DescribeOrganizationPeersResponse) {
+	response = &DescribeOrganizationPeersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_organization_specs.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationSpecs invokes the baas.DescribeOrganizationSpecs API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationspecs.html
+func (client *Client) DescribeOrganizationSpecs(request *DescribeOrganizationSpecsRequest) (response *DescribeOrganizationSpecsResponse, err error) {
+	response = CreateDescribeOrganizationSpecsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationSpecsWithChan invokes the baas.DescribeOrganizationSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationSpecsWithChan(request *DescribeOrganizationSpecsRequest) (<-chan *DescribeOrganizationSpecsResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationSpecsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationSpecs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationSpecsWithCallback invokes the baas.DescribeOrganizationSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationSpecsWithCallback(request *DescribeOrganizationSpecsRequest, callback func(response *DescribeOrganizationSpecsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationSpecsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationSpecs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationSpecsRequest is the request struct for api DescribeOrganizationSpecs
+type DescribeOrganizationSpecsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeOrganizationSpecsResponse is the response struct for api DescribeOrganizationSpecs
+type DescribeOrganizationSpecsResponse struct {
+	*responses.BaseResponse
+	RequestId string        `json:"RequestId" xml:"RequestId"`
+	Success   bool          `json:"Success" xml:"Success"`
+	ErrorCode int           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ClusterSpec `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationSpecsRequest creates a request to invoke DescribeOrganizationSpecs API
+func CreateDescribeOrganizationSpecsRequest() (request *DescribeOrganizationSpecsRequest) {
+	request = &DescribeOrganizationSpecsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationSpecs", "", "")
+	return
+}
+
+// CreateDescribeOrganizationSpecsResponse creates a response to parse from DescribeOrganizationSpecs response
+func CreateDescribeOrganizationSpecsResponse() (response *DescribeOrganizationSpecsResponse) {
+	response = &DescribeOrganizationSpecsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/baas/describe_organization_user_certs.go

@@ -0,0 +1,109 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationUserCerts invokes the baas.DescribeOrganizationUserCerts API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusercerts.html
+func (client *Client) DescribeOrganizationUserCerts(request *DescribeOrganizationUserCertsRequest) (response *DescribeOrganizationUserCertsResponse, err error) {
+	response = CreateDescribeOrganizationUserCertsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationUserCertsWithChan invokes the baas.DescribeOrganizationUserCerts API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusercerts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationUserCertsWithChan(request *DescribeOrganizationUserCertsRequest) (<-chan *DescribeOrganizationUserCertsResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationUserCertsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationUserCerts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationUserCertsWithCallback invokes the baas.DescribeOrganizationUserCerts API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusercerts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationUserCertsWithCallback(request *DescribeOrganizationUserCertsRequest, callback func(response *DescribeOrganizationUserCertsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationUserCertsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationUserCerts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationUserCertsRequest is the request struct for api DescribeOrganizationUserCerts
+type DescribeOrganizationUserCertsRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Username       string `position:"Body" name:"Username"`
+}
+
+// DescribeOrganizationUserCertsResponse is the response struct for api DescribeOrganizationUserCerts
+type DescribeOrganizationUserCertsResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+	Result         Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationUserCertsRequest creates a request to invoke DescribeOrganizationUserCerts API
+func CreateDescribeOrganizationUserCertsRequest() (request *DescribeOrganizationUserCertsRequest) {
+	request = &DescribeOrganizationUserCertsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationUserCerts", "", "")
+	return
+}
+
+// CreateDescribeOrganizationUserCertsResponse creates a response to parse from DescribeOrganizationUserCerts response
+func CreateDescribeOrganizationUserCertsResponse() (response *DescribeOrganizationUserCertsResponse) {
+	response = &DescribeOrganizationUserCertsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_organization_users.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizationUsers invokes the baas.DescribeOrganizationUsers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusers.html
+func (client *Client) DescribeOrganizationUsers(request *DescribeOrganizationUsersRequest) (response *DescribeOrganizationUsersResponse, err error) {
+	response = CreateDescribeOrganizationUsersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationUsersWithChan invokes the baas.DescribeOrganizationUsers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationUsersWithChan(request *DescribeOrganizationUsersRequest) (<-chan *DescribeOrganizationUsersResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationUsersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizationUsers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationUsersWithCallback invokes the baas.DescribeOrganizationUsers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizationusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationUsersWithCallback(request *DescribeOrganizationUsersRequest, callback func(response *DescribeOrganizationUsersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationUsersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizationUsers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationUsersRequest is the request struct for api DescribeOrganizationUsers
+type DescribeOrganizationUsersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationUsersResponse is the response struct for api DescribeOrganizationUsers
+type DescribeOrganizationUsersResponse struct {
+	*responses.BaseResponse
+	RequestId string                                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                                    `json:"Success" xml:"Success"`
+	ErrorCode int                                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeOrganizationUsers `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationUsersRequest creates a request to invoke DescribeOrganizationUsers API
+func CreateDescribeOrganizationUsersRequest() (request *DescribeOrganizationUsersRequest) {
+	request = &DescribeOrganizationUsersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizationUsers", "", "")
+	return
+}
+
+// CreateDescribeOrganizationUsersResponse creates a response to parse from DescribeOrganizationUsers response
+func CreateDescribeOrganizationUsersResponse() (response *DescribeOrganizationUsersResponse) {
+	response = &DescribeOrganizationUsersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_organizations.go

@@ -0,0 +1,106 @@
+package baas
+
+//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"
+)
+
+// DescribeOrganizations invokes the baas.DescribeOrganizations API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizations.html
+func (client *Client) DescribeOrganizations(request *DescribeOrganizationsRequest) (response *DescribeOrganizationsResponse, err error) {
+	response = CreateDescribeOrganizationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrganizationsWithChan invokes the baas.DescribeOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationsWithChan(request *DescribeOrganizationsRequest) (<-chan *DescribeOrganizationsResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrganizationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrganizations(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrganizationsWithCallback invokes the baas.DescribeOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrganizationsWithCallback(request *DescribeOrganizationsRequest, callback func(response *DescribeOrganizationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrganizationsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrganizations(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrganizationsRequest is the request struct for api DescribeOrganizations
+type DescribeOrganizationsRequest struct {
+	*requests.RpcRequest
+	Location string `position:"Body" name:"Location"`
+}
+
+// DescribeOrganizationsResponse is the response struct for api DescribeOrganizations
+type DescribeOrganizationsResponse struct {
+	*responses.BaseResponse
+	RequestId string                              `json:"RequestId" xml:"RequestId"`
+	Success   bool                                `json:"Success" xml:"Success"`
+	ErrorCode int                                 `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItemInDescribeOrganizations `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrganizationsRequest creates a request to invoke DescribeOrganizations API
+func CreateDescribeOrganizationsRequest() (request *DescribeOrganizationsRequest) {
+	request = &DescribeOrganizationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrganizations", "", "")
+	return
+}
+
+// CreateDescribeOrganizationsResponse creates a response to parse from DescribeOrganizations response
+func CreateDescribeOrganizationsResponse() (response *DescribeOrganizationsResponse) {
+	response = &DescribeOrganizationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_orgnaization_chaincodes.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeOrgnaizationChaincodes invokes the baas.DescribeOrgnaizationChaincodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describeorgnaizationchaincodes.html
+func (client *Client) DescribeOrgnaizationChaincodes(request *DescribeOrgnaizationChaincodesRequest) (response *DescribeOrgnaizationChaincodesResponse, err error) {
+	response = CreateDescribeOrgnaizationChaincodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrgnaizationChaincodesWithChan invokes the baas.DescribeOrgnaizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorgnaizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrgnaizationChaincodesWithChan(request *DescribeOrgnaizationChaincodesRequest) (<-chan *DescribeOrgnaizationChaincodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrgnaizationChaincodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrgnaizationChaincodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrgnaizationChaincodesWithCallback invokes the baas.DescribeOrgnaizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeorgnaizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrgnaizationChaincodesWithCallback(request *DescribeOrgnaizationChaincodesRequest, callback func(response *DescribeOrgnaizationChaincodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrgnaizationChaincodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrgnaizationChaincodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrgnaizationChaincodesRequest is the request struct for api DescribeOrgnaizationChaincodes
+type DescribeOrgnaizationChaincodesRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeOrgnaizationChaincodesResponse is the response struct for api DescribeOrgnaizationChaincodes
+type DescribeOrgnaizationChaincodesResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Success   bool                    `json:"Success" xml:"Success"`
+	ErrorCode int                     `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []OrganizationChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOrgnaizationChaincodesRequest creates a request to invoke DescribeOrgnaizationChaincodes API
+func CreateDescribeOrgnaizationChaincodesRequest() (request *DescribeOrgnaizationChaincodesRequest) {
+	request = &DescribeOrgnaizationChaincodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOrgnaizationChaincodes", "", "")
+	return
+}
+
+// CreateDescribeOrgnaizationChaincodesResponse creates a response to parse from DescribeOrgnaizationChaincodes response
+func CreateDescribeOrgnaizationChaincodesResponse() (response *DescribeOrgnaizationChaincodesResponse) {
+	response = &DescribeOrgnaizationChaincodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_oss_properties.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DescribeOssProperties invokes the baas.DescribeOssProperties API synchronously
+// api document: https://help.aliyun.com/api/baas/describeossproperties.html
+func (client *Client) DescribeOssProperties(request *DescribeOssPropertiesRequest) (response *DescribeOssPropertiesResponse, err error) {
+	response = CreateDescribeOssPropertiesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOssPropertiesWithChan invokes the baas.DescribeOssProperties API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeossproperties.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOssPropertiesWithChan(request *DescribeOssPropertiesRequest) (<-chan *DescribeOssPropertiesResponse, <-chan error) {
+	responseChan := make(chan *DescribeOssPropertiesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOssProperties(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOssPropertiesWithCallback invokes the baas.DescribeOssProperties API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeossproperties.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOssPropertiesWithCallback(request *DescribeOssPropertiesRequest, callback func(response *DescribeOssPropertiesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOssPropertiesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOssProperties(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOssPropertiesRequest is the request struct for api DescribeOssProperties
+type DescribeOssPropertiesRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DescribeOssPropertiesResponse is the response struct for api DescribeOssProperties
+type DescribeOssPropertiesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeOssPropertiesRequest creates a request to invoke DescribeOssProperties API
+func CreateDescribeOssPropertiesRequest() (request *DescribeOssPropertiesRequest) {
+	request = &DescribeOssPropertiesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeOssProperties", "", "")
+	return
+}
+
+// CreateDescribeOssPropertiesResponse creates a response to parse from DescribeOssProperties response
+func CreateDescribeOssPropertiesResponse() (response *DescribeOssPropertiesResponse) {
+	response = &DescribeOssPropertiesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/describe_peer_logs.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DescribePeerLogs invokes the baas.DescribePeerLogs API synchronously
+// api document: https://help.aliyun.com/api/baas/describepeerlogs.html
+func (client *Client) DescribePeerLogs(request *DescribePeerLogsRequest) (response *DescribePeerLogsResponse, err error) {
+	response = CreateDescribePeerLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribePeerLogsWithChan invokes the baas.DescribePeerLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describepeerlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribePeerLogsWithChan(request *DescribePeerLogsRequest) (<-chan *DescribePeerLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribePeerLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribePeerLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribePeerLogsWithCallback invokes the baas.DescribePeerLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describepeerlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribePeerLogsWithCallback(request *DescribePeerLogsRequest, callback func(response *DescribePeerLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribePeerLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribePeerLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribePeerLogsRequest is the request struct for api DescribePeerLogs
+type DescribePeerLogsRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	PeerName       string `position:"Query" name:"PeerName"`
+	Lines          string `position:"Query" name:"Lines"`
+}
+
+// DescribePeerLogsResponse is the response struct for api DescribePeerLogs
+type DescribePeerLogsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribePeerLogsRequest creates a request to invoke DescribePeerLogs API
+func CreateDescribePeerLogsRequest() (request *DescribePeerLogsRequest) {
+	request = &DescribePeerLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribePeerLogs", "", "")
+	return
+}
+
+// CreateDescribePeerLogsResponse creates a response to parse from DescribePeerLogs response
+func CreateDescribePeerLogsResponse() (response *DescribePeerLogsResponse) {
+	response = &DescribePeerLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_regions.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeRegions invokes the baas.DescribeRegions API synchronously
+// api document: https://help.aliyun.com/api/baas/describeregions.html
+func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) {
+	response = CreateDescribeRegionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRegionsWithChan invokes the baas.DescribeRegions API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeregions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error) {
+	responseChan := make(chan *DescribeRegionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRegions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRegionsWithCallback invokes the baas.DescribeRegions API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeregions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRegionsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRegions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRegionsRequest is the request struct for api DescribeRegions
+type DescribeRegionsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeRegionsResponse is the response struct for api DescribeRegions
+type DescribeRegionsResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Success   bool         `json:"Success" xml:"Success"`
+	ErrorCode int          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
+func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest) {
+	request = &DescribeRegionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeRegions", "", "")
+	return
+}
+
+// CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
+func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse) {
+	response = &DescribeRegionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_root_domain.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DescribeRootDomain invokes the baas.DescribeRootDomain API synchronously
+// api document: https://help.aliyun.com/api/baas/describerootdomain.html
+func (client *Client) DescribeRootDomain(request *DescribeRootDomainRequest) (response *DescribeRootDomainResponse, err error) {
+	response = CreateDescribeRootDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRootDomainWithChan invokes the baas.DescribeRootDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/describerootdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRootDomainWithChan(request *DescribeRootDomainRequest) (<-chan *DescribeRootDomainResponse, <-chan error) {
+	responseChan := make(chan *DescribeRootDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRootDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRootDomainWithCallback invokes the baas.DescribeRootDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/describerootdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRootDomainWithCallback(request *DescribeRootDomainRequest, callback func(response *DescribeRootDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRootDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRootDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRootDomainRequest is the request struct for api DescribeRootDomain
+type DescribeRootDomainRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeRootDomainResponse is the response struct for api DescribeRootDomain
+type DescribeRootDomainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeRootDomainRequest creates a request to invoke DescribeRootDomain API
+func CreateDescribeRootDomainRequest() (request *DescribeRootDomainRequest) {
+	request = &DescribeRootDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeRootDomain", "", "")
+	return
+}
+
+// CreateDescribeRootDomainResponse creates a response to parse from DescribeRootDomain response
+func CreateDescribeRootDomainResponse() (response *DescribeRootDomainResponse) {
+	response = &DescribeRootDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_tasks.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// DescribeTasks invokes the baas.DescribeTasks API synchronously
+// api document: https://help.aliyun.com/api/baas/describetasks.html
+func (client *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error) {
+	response = CreateDescribeTasksResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTasksWithChan invokes the baas.DescribeTasks API asynchronously
+// api document: https://help.aliyun.com/api/baas/describetasks.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTasksWithChan(request *DescribeTasksRequest) (<-chan *DescribeTasksResponse, <-chan error) {
+	responseChan := make(chan *DescribeTasksResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTasks(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTasksWithCallback invokes the baas.DescribeTasks API asynchronously
+// api document: https://help.aliyun.com/api/baas/describetasks.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, callback func(response *DescribeTasksResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTasksResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTasks(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTasksRequest is the request struct for api DescribeTasks
+type DescribeTasksRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeTasksResponse is the response struct for api DescribeTasks
+type DescribeTasksResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+	Result         []Task `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeTasksRequest creates a request to invoke DescribeTasks API
+func CreateDescribeTasksRequest() (request *DescribeTasksRequest) {
+	request = &DescribeTasksRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeTasks", "", "")
+	return
+}
+
+// CreateDescribeTasksResponse creates a response to parse from DescribeTasks response
+func CreateDescribeTasksResponse() (response *DescribeTasksResponse) {
+	response = &DescribeTasksResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/describe_templates.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// DescribeTemplates invokes the baas.DescribeTemplates API synchronously
+// api document: https://help.aliyun.com/api/baas/describetemplates.html
+func (client *Client) DescribeTemplates(request *DescribeTemplatesRequest) (response *DescribeTemplatesResponse, err error) {
+	response = CreateDescribeTemplatesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTemplatesWithChan invokes the baas.DescribeTemplates API asynchronously
+// api document: https://help.aliyun.com/api/baas/describetemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTemplatesWithChan(request *DescribeTemplatesRequest) (<-chan *DescribeTemplatesResponse, <-chan error) {
+	responseChan := make(chan *DescribeTemplatesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTemplates(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTemplatesWithCallback invokes the baas.DescribeTemplates API asynchronously
+// api document: https://help.aliyun.com/api/baas/describetemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTemplatesWithCallback(request *DescribeTemplatesRequest, callback func(response *DescribeTemplatesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTemplatesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTemplates(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTemplatesRequest is the request struct for api DescribeTemplates
+type DescribeTemplatesRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeTemplatesResponse is the response struct for api DescribeTemplates
+type DescribeTemplatesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeTemplatesRequest creates a request to invoke DescribeTemplates API
+func CreateDescribeTemplatesRequest() (request *DescribeTemplatesRequest) {
+	request = &DescribeTemplatesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeTemplates", "", "")
+	return
+}
+
+// CreateDescribeTemplatesResponse creates a response to parse from DescribeTemplates response
+func CreateDescribeTemplatesResponse() (response *DescribeTemplatesResponse) {
+	response = &DescribeTemplatesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/destroy_consortium.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DestroyConsortium invokes the baas.DestroyConsortium API synchronously
+// api document: https://help.aliyun.com/api/baas/destroyconsortium.html
+func (client *Client) DestroyConsortium(request *DestroyConsortiumRequest) (response *DestroyConsortiumResponse, err error) {
+	response = CreateDestroyConsortiumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DestroyConsortiumWithChan invokes the baas.DestroyConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/destroyconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyConsortiumWithChan(request *DestroyConsortiumRequest) (<-chan *DestroyConsortiumResponse, <-chan error) {
+	responseChan := make(chan *DestroyConsortiumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DestroyConsortium(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DestroyConsortiumWithCallback invokes the baas.DestroyConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/destroyconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyConsortiumWithCallback(request *DestroyConsortiumRequest, callback func(response *DestroyConsortiumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DestroyConsortiumResponse
+		var err error
+		defer close(result)
+		response, err = client.DestroyConsortium(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DestroyConsortiumRequest is the request struct for api DestroyConsortium
+type DestroyConsortiumRequest struct {
+	*requests.RpcRequest
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DestroyConsortiumResponse is the response struct for api DestroyConsortium
+type DestroyConsortiumResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+	Result         Result `json:"Result" xml:"Result"`
+}
+
+// CreateDestroyConsortiumRequest creates a request to invoke DestroyConsortium API
+func CreateDestroyConsortiumRequest() (request *DestroyConsortiumRequest) {
+	request = &DestroyConsortiumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DestroyConsortium", "", "")
+	return
+}
+
+// CreateDestroyConsortiumResponse creates a response to parse from DestroyConsortium response
+func CreateDestroyConsortiumResponse() (response *DestroyConsortiumResponse) {
+	response = &DestroyConsortiumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/destroy_organization.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DestroyOrganization invokes the baas.DestroyOrganization API synchronously
+// api document: https://help.aliyun.com/api/baas/destroyorganization.html
+func (client *Client) DestroyOrganization(request *DestroyOrganizationRequest) (response *DestroyOrganizationResponse, err error) {
+	response = CreateDestroyOrganizationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DestroyOrganizationWithChan invokes the baas.DestroyOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/destroyorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyOrganizationWithChan(request *DestroyOrganizationRequest) (<-chan *DestroyOrganizationResponse, <-chan error) {
+	responseChan := make(chan *DestroyOrganizationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DestroyOrganization(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DestroyOrganizationWithCallback invokes the baas.DestroyOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/destroyorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyOrganizationWithCallback(request *DestroyOrganizationRequest, callback func(response *DestroyOrganizationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DestroyOrganizationResponse
+		var err error
+		defer close(result)
+		response, err = client.DestroyOrganization(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DestroyOrganizationRequest is the request struct for api DestroyOrganization
+type DestroyOrganizationRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+}
+
+// DestroyOrganizationResponse is the response struct for api DestroyOrganization
+type DestroyOrganizationResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	ErrorCode      int    `json:"ErrorCode" xml:"ErrorCode"`
+	DynamicCode    string `json:"DynamicCode" xml:"DynamicCode"`
+	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
+	Result         Result `json:"Result" xml:"Result"`
+}
+
+// CreateDestroyOrganizationRequest creates a request to invoke DestroyOrganization API
+func CreateDestroyOrganizationRequest() (request *DestroyOrganizationRequest) {
+	request = &DestroyOrganizationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DestroyOrganization", "", "")
+	return
+}
+
+// CreateDestroyOrganizationResponse creates a response to parse from DestroyOrganization response
+func CreateDestroyOrganizationResponse() (response *DestroyOrganizationResponse) {
+	response = &DestroyOrganizationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/download_all.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DownloadAll invokes the baas.DownloadAll API synchronously
+// api document: https://help.aliyun.com/api/baas/downloadall.html
+func (client *Client) DownloadAll(request *DownloadAllRequest) (response *DownloadAllResponse, err error) {
+	response = CreateDownloadAllResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DownloadAllWithChan invokes the baas.DownloadAll API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadall.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadAllWithChan(request *DownloadAllRequest) (<-chan *DownloadAllResponse, <-chan error) {
+	responseChan := make(chan *DownloadAllResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DownloadAll(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DownloadAllWithCallback invokes the baas.DownloadAll API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadall.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadAllWithCallback(request *DownloadAllRequest, callback func(response *DownloadAllResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DownloadAllResponse
+		var err error
+		defer close(result)
+		response, err = client.DownloadAll(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DownloadAllRequest is the request struct for api DownloadAll
+type DownloadAllRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DownloadAllResponse is the response struct for api DownloadAll
+type DownloadAllResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDownloadAllRequest creates a request to invoke DownloadAll API
+func CreateDownloadAllRequest() (request *DownloadAllRequest) {
+	request = &DownloadAllRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DownloadAll", "", "")
+	return
+}
+
+// CreateDownloadAllResponse creates a response to parse from DownloadAll response
+func CreateDownloadAllResponse() (response *DownloadAllResponse) {
+	response = &DownloadAllResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/download_bizview.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DownloadBizview invokes the baas.DownloadBizview API synchronously
+// api document: https://help.aliyun.com/api/baas/downloadbizview.html
+func (client *Client) DownloadBizview(request *DownloadBizviewRequest) (response *DownloadBizviewResponse, err error) {
+	response = CreateDownloadBizviewResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DownloadBizviewWithChan invokes the baas.DownloadBizview API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadbizview.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadBizviewWithChan(request *DownloadBizviewRequest) (<-chan *DownloadBizviewResponse, <-chan error) {
+	responseChan := make(chan *DownloadBizviewResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DownloadBizview(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DownloadBizviewWithCallback invokes the baas.DownloadBizview API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadbizview.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadBizviewWithCallback(request *DownloadBizviewRequest, callback func(response *DownloadBizviewResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DownloadBizviewResponse
+		var err error
+		defer close(result)
+		response, err = client.DownloadBizview(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DownloadBizviewRequest is the request struct for api DownloadBizview
+type DownloadBizviewRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DownloadBizviewResponse is the response struct for api DownloadBizview
+type DownloadBizviewResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDownloadBizviewRequest creates a request to invoke DownloadBizview API
+func CreateDownloadBizviewRequest() (request *DownloadBizviewRequest) {
+	request = &DownloadBizviewRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DownloadBizview", "", "")
+	return
+}
+
+// CreateDownloadBizviewResponse creates a response to parse from DownloadBizview response
+func CreateDownloadBizviewResponse() (response *DownloadBizviewResponse) {
+	response = &DownloadBizviewResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/download_organization_sdk.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// DownloadOrganizationSDK invokes the baas.DownloadOrganizationSDK API synchronously
+// api document: https://help.aliyun.com/api/baas/downloadorganizationsdk.html
+func (client *Client) DownloadOrganizationSDK(request *DownloadOrganizationSDKRequest) (response *DownloadOrganizationSDKResponse, err error) {
+	response = CreateDownloadOrganizationSDKResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DownloadOrganizationSDKWithChan invokes the baas.DownloadOrganizationSDK API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadorganizationsdk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadOrganizationSDKWithChan(request *DownloadOrganizationSDKRequest) (<-chan *DownloadOrganizationSDKResponse, <-chan error) {
+	responseChan := make(chan *DownloadOrganizationSDKResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DownloadOrganizationSDK(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DownloadOrganizationSDKWithCallback invokes the baas.DownloadOrganizationSDK API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadorganizationsdk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadOrganizationSDKWithCallback(request *DownloadOrganizationSDKRequest, callback func(response *DownloadOrganizationSDKResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DownloadOrganizationSDKResponse
+		var err error
+		defer close(result)
+		response, err = client.DownloadOrganizationSDK(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DownloadOrganizationSDKRequest is the request struct for api DownloadOrganizationSDK
+type DownloadOrganizationSDKRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+	Username       string `position:"Query" name:"Username"`
+}
+
+// DownloadOrganizationSDKResponse is the response struct for api DownloadOrganizationSDK
+type DownloadOrganizationSDKResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Success   bool         `json:"Success" xml:"Success"`
+	ErrorCode int          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDownloadOrganizationSDKRequest creates a request to invoke DownloadOrganizationSDK API
+func CreateDownloadOrganizationSDKRequest() (request *DownloadOrganizationSDKRequest) {
+	request = &DownloadOrganizationSDKRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DownloadOrganizationSDK", "", "")
+	return
+}
+
+// CreateDownloadOrganizationSDKResponse creates a response to parse from DownloadOrganizationSDK response
+func CreateDownloadOrganizationSDKResponse() (response *DownloadOrganizationSDKResponse) {
+	response = &DownloadOrganizationSDKResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/download_sdk.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// DownloadSdk invokes the baas.DownloadSdk API synchronously
+// api document: https://help.aliyun.com/api/baas/downloadsdk.html
+func (client *Client) DownloadSdk(request *DownloadSdkRequest) (response *DownloadSdkResponse, err error) {
+	response = CreateDownloadSdkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DownloadSdkWithChan invokes the baas.DownloadSdk API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadsdk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadSdkWithChan(request *DownloadSdkRequest) (<-chan *DownloadSdkResponse, <-chan error) {
+	responseChan := make(chan *DownloadSdkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DownloadSdk(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DownloadSdkWithCallback invokes the baas.DownloadSdk API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadsdk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadSdkWithCallback(request *DownloadSdkRequest, callback func(response *DownloadSdkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DownloadSdkResponse
+		var err error
+		defer close(result)
+		response, err = client.DownloadSdk(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DownloadSdkRequest is the request struct for api DownloadSdk
+type DownloadSdkRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DownloadSdkResponse is the response struct for api DownloadSdk
+type DownloadSdkResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDownloadSdkRequest creates a request to invoke DownloadSdk API
+func CreateDownloadSdkRequest() (request *DownloadSdkRequest) {
+	request = &DownloadSdkRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DownloadSdk", "", "")
+	return
+}
+
+// CreateDownloadSdkResponse creates a response to parse from DownloadSdk response
+func CreateDownloadSdkResponse() (response *DownloadSdkResponse) {
+	response = &DownloadSdkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/download_signed_data.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// DownloadSignedData invokes the baas.DownloadSignedData API synchronously
+// api document: https://help.aliyun.com/api/baas/downloadsigneddata.html
+func (client *Client) DownloadSignedData(request *DownloadSignedDataRequest) (response *DownloadSignedDataResponse, err error) {
+	response = CreateDownloadSignedDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DownloadSignedDataWithChan invokes the baas.DownloadSignedData API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadsigneddata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadSignedDataWithChan(request *DownloadSignedDataRequest) (<-chan *DownloadSignedDataResponse, <-chan error) {
+	responseChan := make(chan *DownloadSignedDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DownloadSignedData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DownloadSignedDataWithCallback invokes the baas.DownloadSignedData API asynchronously
+// api document: https://help.aliyun.com/api/baas/downloadsigneddata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DownloadSignedDataWithCallback(request *DownloadSignedDataRequest, callback func(response *DownloadSignedDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DownloadSignedDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DownloadSignedData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DownloadSignedDataRequest is the request struct for api DownloadSignedData
+type DownloadSignedDataRequest struct {
+	*requests.RpcRequest
+	Path  string `position:"Body" name:"Path"`
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// DownloadSignedDataResponse is the response struct for api DownloadSignedData
+type DownloadSignedDataResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDownloadSignedDataRequest creates a request to invoke DownloadSignedData API
+func CreateDownloadSignedDataRequest() (request *DownloadSignedDataRequest) {
+	request = &DownloadSignedDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "DownloadSignedData", "", "")
+	return
+}
+
+// CreateDownloadSignedDataResponse creates a response to parse from DownloadSignedData response
+func CreateDownloadSignedDataResponse() (response *DownloadSignedDataResponse) {
+	response = &DownloadSignedDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/get_applies.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// GetApplies invokes the baas.GetApplies API synchronously
+// api document: https://help.aliyun.com/api/baas/getapplies.html
+func (client *Client) GetApplies(request *GetAppliesRequest) (response *GetAppliesResponse, err error) {
+	response = CreateGetAppliesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetAppliesWithChan invokes the baas.GetApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/getapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAppliesWithChan(request *GetAppliesRequest) (<-chan *GetAppliesResponse, <-chan error) {
+	responseChan := make(chan *GetAppliesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetApplies(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetAppliesWithCallback invokes the baas.GetApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/getapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAppliesWithCallback(request *GetAppliesRequest, callback func(response *GetAppliesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetAppliesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetApplies(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetAppliesRequest is the request struct for api GetApplies
+type GetAppliesRequest struct {
+	*requests.RpcRequest
+	Current  requests.Integer `position:"Body" name:"Current"`
+	Bizid    string           `position:"Body" name:"Bizid"`
+	PageSize requests.Integer `position:"Body" name:"PageSize"`
+	Status   string           `position:"Body" name:"Status"`
+}
+
+// GetAppliesResponse is the response struct for api GetApplies
+type GetAppliesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetAppliesRequest creates a request to invoke GetApplies API
+func CreateGetAppliesRequest() (request *GetAppliesRequest) {
+	request = &GetAppliesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetApplies", "", "")
+	return
+}
+
+// CreateGetAppliesResponse creates a response to parse from GetApplies response
+func CreateGetAppliesResponse() (response *GetAppliesResponse) {
+	response = &GetAppliesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/get_bc_schema.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// GetBcSchema invokes the baas.GetBcSchema API synchronously
+// api document: https://help.aliyun.com/api/baas/getbcschema.html
+func (client *Client) GetBcSchema(request *GetBcSchemaRequest) (response *GetBcSchemaResponse, err error) {
+	response = CreateGetBcSchemaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetBcSchemaWithChan invokes the baas.GetBcSchema API asynchronously
+// api document: https://help.aliyun.com/api/baas/getbcschema.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBcSchemaWithChan(request *GetBcSchemaRequest) (<-chan *GetBcSchemaResponse, <-chan error) {
+	responseChan := make(chan *GetBcSchemaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetBcSchema(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetBcSchemaWithCallback invokes the baas.GetBcSchema API asynchronously
+// api document: https://help.aliyun.com/api/baas/getbcschema.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBcSchemaWithCallback(request *GetBcSchemaRequest, callback func(response *GetBcSchemaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetBcSchemaResponse
+		var err error
+		defer close(result)
+		response, err = client.GetBcSchema(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetBcSchemaRequest is the request struct for api GetBcSchema
+type GetBcSchemaRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// GetBcSchemaResponse is the response struct for api GetBcSchema
+type GetBcSchemaResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetBcSchemaRequest creates a request to invoke GetBcSchema API
+func CreateGetBcSchemaRequest() (request *GetBcSchemaRequest) {
+	request = &GetBcSchemaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetBcSchema", "", "")
+	return
+}
+
+// CreateGetBcSchemaResponse creates a response to parse from GetBcSchema response
+func CreateGetBcSchemaResponse() (response *GetBcSchemaResponse) {
+	response = &GetBcSchemaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/get_blockchain_create_task.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// GetBlockchainCreateTask invokes the baas.GetBlockchainCreateTask API synchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaincreatetask.html
+func (client *Client) GetBlockchainCreateTask(request *GetBlockchainCreateTaskRequest) (response *GetBlockchainCreateTaskResponse, err error) {
+	response = CreateGetBlockchainCreateTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetBlockchainCreateTaskWithChan invokes the baas.GetBlockchainCreateTask API asynchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaincreatetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBlockchainCreateTaskWithChan(request *GetBlockchainCreateTaskRequest) (<-chan *GetBlockchainCreateTaskResponse, <-chan error) {
+	responseChan := make(chan *GetBlockchainCreateTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetBlockchainCreateTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetBlockchainCreateTaskWithCallback invokes the baas.GetBlockchainCreateTask API asynchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaincreatetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBlockchainCreateTaskWithCallback(request *GetBlockchainCreateTaskRequest, callback func(response *GetBlockchainCreateTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetBlockchainCreateTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.GetBlockchainCreateTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetBlockchainCreateTaskRequest is the request struct for api GetBlockchainCreateTask
+type GetBlockchainCreateTaskRequest struct {
+	*requests.RpcRequest
+	Current  requests.Integer `position:"Body" name:"Current"`
+	PageSize requests.Integer `position:"Body" name:"PageSize"`
+}
+
+// GetBlockchainCreateTaskResponse is the response struct for api GetBlockchainCreateTask
+type GetBlockchainCreateTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetBlockchainCreateTaskRequest creates a request to invoke GetBlockchainCreateTask API
+func CreateGetBlockchainCreateTaskRequest() (request *GetBlockchainCreateTaskRequest) {
+	request = &GetBlockchainCreateTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetBlockchainCreateTask", "", "")
+	return
+}
+
+// CreateGetBlockchainCreateTaskResponse creates a response to parse from GetBlockchainCreateTask response
+func CreateGetBlockchainCreateTaskResponse() (response *GetBlockchainCreateTaskResponse) {
+	response = &GetBlockchainCreateTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/get_blockchain_info.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// GetBlockchainInfo invokes the baas.GetBlockchainInfo API synchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaininfo.html
+func (client *Client) GetBlockchainInfo(request *GetBlockchainInfoRequest) (response *GetBlockchainInfoResponse, err error) {
+	response = CreateGetBlockchainInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetBlockchainInfoWithChan invokes the baas.GetBlockchainInfo API asynchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaininfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBlockchainInfoWithChan(request *GetBlockchainInfoRequest) (<-chan *GetBlockchainInfoResponse, <-chan error) {
+	responseChan := make(chan *GetBlockchainInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetBlockchainInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetBlockchainInfoWithCallback invokes the baas.GetBlockchainInfo API asynchronously
+// api document: https://help.aliyun.com/api/baas/getblockchaininfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetBlockchainInfoWithCallback(request *GetBlockchainInfoRequest, callback func(response *GetBlockchainInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetBlockchainInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.GetBlockchainInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetBlockchainInfoRequest is the request struct for api GetBlockchainInfo
+type GetBlockchainInfoRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// GetBlockchainInfoResponse is the response struct for api GetBlockchainInfo
+type GetBlockchainInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetBlockchainInfoRequest creates a request to invoke GetBlockchainInfo API
+func CreateGetBlockchainInfoRequest() (request *GetBlockchainInfoRequest) {
+	request = &GetBlockchainInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetBlockchainInfo", "", "")
+	return
+}
+
+// CreateGetBlockchainInfoResponse creates a response to parse from GetBlockchainInfo response
+func CreateGetBlockchainInfoResponse() (response *GetBlockchainInfoResponse) {
+	response = &GetBlockchainInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/get_my_blockchains.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// GetMyBlockchains invokes the baas.GetMyBlockchains API synchronously
+// api document: https://help.aliyun.com/api/baas/getmyblockchains.html
+func (client *Client) GetMyBlockchains(request *GetMyBlockchainsRequest) (response *GetMyBlockchainsResponse, err error) {
+	response = CreateGetMyBlockchainsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetMyBlockchainsWithChan invokes the baas.GetMyBlockchains API asynchronously
+// api document: https://help.aliyun.com/api/baas/getmyblockchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetMyBlockchainsWithChan(request *GetMyBlockchainsRequest) (<-chan *GetMyBlockchainsResponse, <-chan error) {
+	responseChan := make(chan *GetMyBlockchainsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetMyBlockchains(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetMyBlockchainsWithCallback invokes the baas.GetMyBlockchains API asynchronously
+// api document: https://help.aliyun.com/api/baas/getmyblockchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetMyBlockchainsWithCallback(request *GetMyBlockchainsRequest, callback func(response *GetMyBlockchainsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetMyBlockchainsResponse
+		var err error
+		defer close(result)
+		response, err = client.GetMyBlockchains(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetMyBlockchainsRequest is the request struct for api GetMyBlockchains
+type GetMyBlockchainsRequest struct {
+	*requests.RpcRequest
+}
+
+// GetMyBlockchainsResponse is the response struct for api GetMyBlockchains
+type GetMyBlockchainsResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateGetMyBlockchainsRequest creates a request to invoke GetMyBlockchains API
+func CreateGetMyBlockchainsRequest() (request *GetMyBlockchainsRequest) {
+	request = &GetMyBlockchainsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetMyBlockchains", "", "")
+	return
+}
+
+// CreateGetMyBlockchainsResponse creates a response to parse from GetMyBlockchains response
+func CreateGetMyBlockchainsResponse() (response *GetMyBlockchainsResponse) {
+	response = &GetMyBlockchainsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/get_my_success_applies.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// GetMySuccessApplies invokes the baas.GetMySuccessApplies API synchronously
+// api document: https://help.aliyun.com/api/baas/getmysuccessapplies.html
+func (client *Client) GetMySuccessApplies(request *GetMySuccessAppliesRequest) (response *GetMySuccessAppliesResponse, err error) {
+	response = CreateGetMySuccessAppliesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetMySuccessAppliesWithChan invokes the baas.GetMySuccessApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/getmysuccessapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetMySuccessAppliesWithChan(request *GetMySuccessAppliesRequest) (<-chan *GetMySuccessAppliesResponse, <-chan error) {
+	responseChan := make(chan *GetMySuccessAppliesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetMySuccessApplies(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetMySuccessAppliesWithCallback invokes the baas.GetMySuccessApplies API asynchronously
+// api document: https://help.aliyun.com/api/baas/getmysuccessapplies.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetMySuccessAppliesWithCallback(request *GetMySuccessAppliesRequest, callback func(response *GetMySuccessAppliesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetMySuccessAppliesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetMySuccessApplies(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetMySuccessAppliesRequest is the request struct for api GetMySuccessApplies
+type GetMySuccessAppliesRequest struct {
+	*requests.RpcRequest
+}
+
+// GetMySuccessAppliesResponse is the response struct for api GetMySuccessApplies
+type GetMySuccessAppliesResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateGetMySuccessAppliesRequest creates a request to invoke GetMySuccessApplies API
+func CreateGetMySuccessAppliesRequest() (request *GetMySuccessAppliesRequest) {
+	request = &GetMySuccessAppliesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetMySuccessApplies", "", "")
+	return
+}
+
+// CreateGetMySuccessAppliesResponse creates a response to parse from GetMySuccessApplies response
+func CreateGetMySuccessAppliesResponse() (response *GetMySuccessAppliesResponse) {
+	response = &GetMySuccessAppliesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/get_oss_properties.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// GetOssProperties invokes the baas.GetOssProperties API synchronously
+// api document: https://help.aliyun.com/api/baas/getossproperties.html
+func (client *Client) GetOssProperties(request *GetOssPropertiesRequest) (response *GetOssPropertiesResponse, err error) {
+	response = CreateGetOssPropertiesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetOssPropertiesWithChan invokes the baas.GetOssProperties API asynchronously
+// api document: https://help.aliyun.com/api/baas/getossproperties.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetOssPropertiesWithChan(request *GetOssPropertiesRequest) (<-chan *GetOssPropertiesResponse, <-chan error) {
+	responseChan := make(chan *GetOssPropertiesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetOssProperties(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetOssPropertiesWithCallback invokes the baas.GetOssProperties API asynchronously
+// api document: https://help.aliyun.com/api/baas/getossproperties.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetOssPropertiesWithCallback(request *GetOssPropertiesRequest, callback func(response *GetOssPropertiesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetOssPropertiesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetOssProperties(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetOssPropertiesRequest is the request struct for api GetOssProperties
+type GetOssPropertiesRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// GetOssPropertiesResponse is the response struct for api GetOssProperties
+type GetOssPropertiesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetOssPropertiesRequest creates a request to invoke GetOssProperties API
+func CreateGetOssPropertiesRequest() (request *GetOssPropertiesRequest) {
+	request = &GetOssPropertiesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetOssProperties", "", "")
+	return
+}
+
+// CreateGetOssPropertiesResponse creates a response to parse from GetOssProperties response
+func CreateGetOssPropertiesResponse() (response *GetOssPropertiesResponse) {
+	response = &GetOssPropertiesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/baas/get_templates.go

@@ -0,0 +1,103 @@
+package baas
+
+//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"
+)
+
+// GetTemplates invokes the baas.GetTemplates API synchronously
+// api document: https://help.aliyun.com/api/baas/gettemplates.html
+func (client *Client) GetTemplates(request *GetTemplatesRequest) (response *GetTemplatesResponse, err error) {
+	response = CreateGetTemplatesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTemplatesWithChan invokes the baas.GetTemplates API asynchronously
+// api document: https://help.aliyun.com/api/baas/gettemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTemplatesWithChan(request *GetTemplatesRequest) (<-chan *GetTemplatesResponse, <-chan error) {
+	responseChan := make(chan *GetTemplatesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTemplates(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTemplatesWithCallback invokes the baas.GetTemplates API asynchronously
+// api document: https://help.aliyun.com/api/baas/gettemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTemplatesWithCallback(request *GetTemplatesRequest, callback func(response *GetTemplatesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTemplatesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTemplates(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTemplatesRequest is the request struct for api GetTemplates
+type GetTemplatesRequest struct {
+	*requests.RpcRequest
+}
+
+// GetTemplatesResponse is the response struct for api GetTemplates
+type GetTemplatesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateGetTemplatesRequest creates a request to invoke GetTemplates API
+func CreateGetTemplatesRequest() (request *GetTemplatesRequest) {
+	request = &GetTemplatesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "GetTemplates", "", "")
+	return
+}
+
+// CreateGetTemplatesResponse creates a response to parse from GetTemplates response
+func CreateGetTemplatesResponse() (response *GetTemplatesResponse) {
+	response = &GetTemplatesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/install_chaincode.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// InstallChaincode invokes the baas.InstallChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/installchaincode.html
+func (client *Client) InstallChaincode(request *InstallChaincodeRequest) (response *InstallChaincodeResponse, err error) {
+	response = CreateInstallChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InstallChaincodeWithChan invokes the baas.InstallChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/installchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallChaincodeWithChan(request *InstallChaincodeRequest) (<-chan *InstallChaincodeResponse, <-chan error) {
+	responseChan := make(chan *InstallChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InstallChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InstallChaincodeWithCallback invokes the baas.InstallChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/installchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallChaincodeWithCallback(request *InstallChaincodeRequest, callback func(response *InstallChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InstallChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.InstallChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InstallChaincodeRequest is the request struct for api InstallChaincode
+type InstallChaincodeRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	ChaincodeId    string `position:"Body" name:"ChaincodeId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// InstallChaincodeResponse is the response struct for api InstallChaincode
+type InstallChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Success   bool                     `json:"Success" xml:"Success"`
+	ErrorCode int                      `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInInstallChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateInstallChaincodeRequest creates a request to invoke InstallChaincode API
+func CreateInstallChaincodeRequest() (request *InstallChaincodeRequest) {
+	request = &InstallChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "InstallChaincode", "", "")
+	return
+}
+
+// CreateInstallChaincodeResponse creates a response to parse from InstallChaincode response
+func CreateInstallChaincodeResponse() (response *InstallChaincodeResponse) {
+	response = &InstallChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/baas/instantiate_chaincode.go

@@ -0,0 +1,109 @@
+package baas
+
+//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"
+)
+
+// InstantiateChaincode invokes the baas.InstantiateChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/instantiatechaincode.html
+func (client *Client) InstantiateChaincode(request *InstantiateChaincodeRequest) (response *InstantiateChaincodeResponse, err error) {
+	response = CreateInstantiateChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InstantiateChaincodeWithChan invokes the baas.InstantiateChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/instantiatechaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstantiateChaincodeWithChan(request *InstantiateChaincodeRequest) (<-chan *InstantiateChaincodeResponse, <-chan error) {
+	responseChan := make(chan *InstantiateChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InstantiateChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InstantiateChaincodeWithCallback invokes the baas.InstantiateChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/instantiatechaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstantiateChaincodeWithCallback(request *InstantiateChaincodeRequest, callback func(response *InstantiateChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InstantiateChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.InstantiateChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InstantiateChaincodeRequest is the request struct for api InstantiateChaincode
+type InstantiateChaincodeRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	ChaincodeId    string `position:"Body" name:"ChaincodeId"`
+	EndorsePolicy  string `position:"Body" name:"EndorsePolicy"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// InstantiateChaincodeResponse is the response struct for api InstantiateChaincode
+type InstantiateChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string                       `json:"RequestId" xml:"RequestId"`
+	Success   bool                         `json:"Success" xml:"Success"`
+	ErrorCode int                          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInInstantiateChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateInstantiateChaincodeRequest creates a request to invoke InstantiateChaincode API
+func CreateInstantiateChaincodeRequest() (request *InstantiateChaincodeRequest) {
+	request = &InstantiateChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "InstantiateChaincode", "", "")
+	return
+}
+
+// CreateInstantiateChaincodeResponse creates a response to parse from InstantiateChaincode response
+func CreateInstantiateChaincodeResponse() (response *InstantiateChaincodeResponse) {
+	response = &InstantiateChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/invite_user.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// InviteUser invokes the baas.InviteUser API synchronously
+// api document: https://help.aliyun.com/api/baas/inviteuser.html
+func (client *Client) InviteUser(request *InviteUserRequest) (response *InviteUserResponse, err error) {
+	response = CreateInviteUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InviteUserWithChan invokes the baas.InviteUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/inviteuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InviteUserWithChan(request *InviteUserRequest) (<-chan *InviteUserResponse, <-chan error) {
+	responseChan := make(chan *InviteUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InviteUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InviteUserWithCallback invokes the baas.InviteUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/inviteuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InviteUserWithCallback(request *InviteUserRequest, callback func(response *InviteUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InviteUserResponse
+		var err error
+		defer close(result)
+		response, err = client.InviteUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InviteUserRequest is the request struct for api InviteUser
+type InviteUserRequest struct {
+	*requests.RpcRequest
+	Bizid     string           `position:"Body" name:"Bizid"`
+	Bid       string           `position:"Body" name:"Bid"`
+	UserId    requests.Integer `position:"Body" name:"UserId"`
+	UserEmail string           `position:"Body" name:"UserEmail"`
+}
+
+// InviteUserResponse is the response struct for api InviteUser
+type InviteUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateInviteUserRequest creates a request to invoke InviteUser API
+func CreateInviteUserRequest() (request *InviteUserRequest) {
+	request = &InviteUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "InviteUser", "", "")
+	return
+}
+
+// CreateInviteUserResponse creates a response to parse from InviteUser response
+func CreateInviteUserResponse() (response *InviteUserResponse) {
+	response = &InviteUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/join_channel.go

@@ -0,0 +1,108 @@
+package baas
+
+//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"
+)
+
+// JoinChannel invokes the baas.JoinChannel API synchronously
+// api document: https://help.aliyun.com/api/baas/joinchannel.html
+func (client *Client) JoinChannel(request *JoinChannelRequest) (response *JoinChannelResponse, err error) {
+	response = CreateJoinChannelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// JoinChannelWithChan invokes the baas.JoinChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/joinchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) JoinChannelWithChan(request *JoinChannelRequest) (<-chan *JoinChannelResponse, <-chan error) {
+	responseChan := make(chan *JoinChannelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.JoinChannel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// JoinChannelWithCallback invokes the baas.JoinChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/joinchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) JoinChannelWithCallback(request *JoinChannelRequest, callback func(response *JoinChannelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *JoinChannelResponse
+		var err error
+		defer close(result)
+		response, err = client.JoinChannel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// JoinChannelRequest is the request struct for api JoinChannel
+type JoinChannelRequest struct {
+	*requests.RpcRequest
+	Location  string `position:"Body" name:"Location"`
+	Do        string `position:"Query" name:"Do"`
+	ChannelId string `position:"Query" name:"ChannelId"`
+}
+
+// JoinChannelResponse is the response struct for api JoinChannel
+type JoinChannelResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Success   bool         `json:"Success" xml:"Success"`
+	ErrorCode int          `json:"ErrorCode" xml:"ErrorCode"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateJoinChannelRequest creates a request to invoke JoinChannel API
+func CreateJoinChannelRequest() (request *JoinChannelRequest) {
+	request = &JoinChannelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "JoinChannel", "", "")
+	return
+}
+
+// CreateJoinChannelResponse creates a response to parse from JoinChannel response
+func CreateJoinChannelResponse() (response *JoinChannelResponse) {
+	response = &JoinChannelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/operate_user.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// OperateUser invokes the baas.OperateUser API synchronously
+// api document: https://help.aliyun.com/api/baas/operateuser.html
+func (client *Client) OperateUser(request *OperateUserRequest) (response *OperateUserResponse, err error) {
+	response = CreateOperateUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// OperateUserWithChan invokes the baas.OperateUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/operateuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) OperateUserWithChan(request *OperateUserRequest) (<-chan *OperateUserResponse, <-chan error) {
+	responseChan := make(chan *OperateUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.OperateUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// OperateUserWithCallback invokes the baas.OperateUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/operateuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) OperateUserWithCallback(request *OperateUserRequest, callback func(response *OperateUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *OperateUserResponse
+		var err error
+		defer close(result)
+		response, err = client.OperateUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// OperateUserRequest is the request struct for api OperateUser
+type OperateUserRequest struct {
+	*requests.RpcRequest
+	Bizid     string           `position:"Body" name:"Bizid"`
+	Bid       string           `position:"Body" name:"Bid"`
+	Operation requests.Integer `position:"Body" name:"Operation"`
+	UserName  string           `position:"Body" name:"UserName"`
+}
+
+// OperateUserResponse is the response struct for api OperateUser
+type OperateUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateOperateUserRequest creates a request to invoke OperateUser API
+func CreateOperateUserRequest() (request *OperateUserRequest) {
+	request = &OperateUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "OperateUser", "", "")
+	return
+}
+
+// CreateOperateUserResponse creates a response to parse from OperateUser response
+func CreateOperateUserResponse() (response *OperateUserResponse) {
+	response = &OperateUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/query_block.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// QueryBlock invokes the baas.QueryBlock API synchronously
+// api document: https://help.aliyun.com/api/baas/queryblock.html
+func (client *Client) QueryBlock(request *QueryBlockRequest) (response *QueryBlockResponse, err error) {
+	response = CreateQueryBlockResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryBlockWithChan invokes the baas.QueryBlock API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryblock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBlockWithChan(request *QueryBlockRequest) (<-chan *QueryBlockResponse, <-chan error) {
+	responseChan := make(chan *QueryBlockResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryBlock(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryBlockWithCallback invokes the baas.QueryBlock API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryblock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBlockWithCallback(request *QueryBlockRequest, callback func(response *QueryBlockResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryBlockResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryBlock(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryBlockRequest is the request struct for api QueryBlock
+type QueryBlockRequest struct {
+	*requests.RpcRequest
+	Bizid  string           `position:"Body" name:"Bizid"`
+	Height requests.Integer `position:"Body" name:"Height"`
+}
+
+// QueryBlockResponse is the response struct for api QueryBlock
+type QueryBlockResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateQueryBlockRequest creates a request to invoke QueryBlock API
+func CreateQueryBlockRequest() (request *QueryBlockRequest) {
+	request = &QueryBlockRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "QueryBlock", "", "")
+	return
+}
+
+// CreateQueryBlockResponse creates a response to parse from QueryBlock response
+func CreateQueryBlockResponse() (response *QueryBlockResponse) {
+	response = &QueryBlockResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/query_consortium_deletable.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// QueryConsortiumDeletable invokes the baas.QueryConsortiumDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/queryconsortiumdeletable.html
+func (client *Client) QueryConsortiumDeletable(request *QueryConsortiumDeletableRequest) (response *QueryConsortiumDeletableResponse, err error) {
+	response = CreateQueryConsortiumDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryConsortiumDeletableWithChan invokes the baas.QueryConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryConsortiumDeletableWithChan(request *QueryConsortiumDeletableRequest) (<-chan *QueryConsortiumDeletableResponse, <-chan error) {
+	responseChan := make(chan *QueryConsortiumDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryConsortiumDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryConsortiumDeletableWithCallback invokes the baas.QueryConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryConsortiumDeletableWithCallback(request *QueryConsortiumDeletableRequest, callback func(response *QueryConsortiumDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryConsortiumDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryConsortiumDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryConsortiumDeletableRequest is the request struct for api QueryConsortiumDeletable
+type QueryConsortiumDeletableRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// QueryConsortiumDeletableResponse is the response struct for api QueryConsortiumDeletable
+type QueryConsortiumDeletableResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateQueryConsortiumDeletableRequest creates a request to invoke QueryConsortiumDeletable API
+func CreateQueryConsortiumDeletableRequest() (request *QueryConsortiumDeletableRequest) {
+	request = &QueryConsortiumDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "QueryConsortiumDeletable", "", "")
+	return
+}
+
+// CreateQueryConsortiumDeletableResponse creates a response to parse from QueryConsortiumDeletable response
+func CreateQueryConsortiumDeletableResponse() (response *QueryConsortiumDeletableResponse) {
+	response = &QueryConsortiumDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/baas/query_metric.go

@@ -0,0 +1,109 @@
+package baas
+
+//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"
+)
+
+// QueryMetric invokes the baas.QueryMetric API synchronously
+// api document: https://help.aliyun.com/api/baas/querymetric.html
+func (client *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error) {
+	response = CreateQueryMetricResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryMetricWithChan invokes the baas.QueryMetric API asynchronously
+// api document: https://help.aliyun.com/api/baas/querymetric.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMetricWithChan(request *QueryMetricRequest) (<-chan *QueryMetricResponse, <-chan error) {
+	responseChan := make(chan *QueryMetricResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryMetric(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryMetricWithCallback invokes the baas.QueryMetric API asynchronously
+// api document: https://help.aliyun.com/api/baas/querymetric.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMetricWithCallback(request *QueryMetricRequest, callback func(response *QueryMetricResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryMetricResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryMetric(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryMetricRequest is the request struct for api QueryMetric
+type QueryMetricRequest struct {
+	*requests.RpcRequest
+	Period   string `position:"Body" name:"Period"`
+	Metric   string `position:"Body" name:"Metric"`
+	Port     string `position:"Body" name:"Port"`
+	Bizid    string `position:"Query" name:"Bizid"`
+	TimeArea string `position:"Body" name:"TimeArea"`
+	InnerIp  string `position:"Body" name:"InnerIp"`
+}
+
+// QueryMetricResponse is the response struct for api QueryMetric
+type QueryMetricResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateQueryMetricRequest creates a request to invoke QueryMetric API
+func CreateQueryMetricRequest() (request *QueryMetricRequest) {
+	request = &QueryMetricRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "QueryMetric", "", "")
+	return
+}
+
+// CreateQueryMetricResponse creates a response to parse from QueryMetric response
+func CreateQueryMetricResponse() (response *QueryMetricResponse) {
+	response = &QueryMetricResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/query_organization_deletable.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// QueryOrganizationDeletable invokes the baas.QueryOrganizationDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/queryorganizationdeletable.html
+func (client *Client) QueryOrganizationDeletable(request *QueryOrganizationDeletableRequest) (response *QueryOrganizationDeletableResponse, err error) {
+	response = CreateQueryOrganizationDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryOrganizationDeletableWithChan invokes the baas.QueryOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryOrganizationDeletableWithChan(request *QueryOrganizationDeletableRequest) (<-chan *QueryOrganizationDeletableResponse, <-chan error) {
+	responseChan := make(chan *QueryOrganizationDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryOrganizationDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryOrganizationDeletableWithCallback invokes the baas.QueryOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/queryorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryOrganizationDeletableWithCallback(request *QueryOrganizationDeletableRequest, callback func(response *QueryOrganizationDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryOrganizationDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryOrganizationDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryOrganizationDeletableRequest is the request struct for api QueryOrganizationDeletable
+type QueryOrganizationDeletableRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// QueryOrganizationDeletableResponse is the response struct for api QueryOrganizationDeletable
+type QueryOrganizationDeletableResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateQueryOrganizationDeletableRequest creates a request to invoke QueryOrganizationDeletable API
+func CreateQueryOrganizationDeletableRequest() (request *QueryOrganizationDeletableRequest) {
+	request = &QueryOrganizationDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "QueryOrganizationDeletable", "", "")
+	return
+}
+
+// CreateQueryOrganizationDeletableResponse creates a response to parse from QueryOrganizationDeletable response
+func CreateQueryOrganizationDeletableResponse() (response *QueryOrganizationDeletableResponse) {
+	response = &QueryOrganizationDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/query_transaction.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// QueryTransaction invokes the baas.QueryTransaction API synchronously
+// api document: https://help.aliyun.com/api/baas/querytransaction.html
+func (client *Client) QueryTransaction(request *QueryTransactionRequest) (response *QueryTransactionResponse, err error) {
+	response = CreateQueryTransactionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTransactionWithChan invokes the baas.QueryTransaction API asynchronously
+// api document: https://help.aliyun.com/api/baas/querytransaction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTransactionWithChan(request *QueryTransactionRequest) (<-chan *QueryTransactionResponse, <-chan error) {
+	responseChan := make(chan *QueryTransactionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTransaction(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTransactionWithCallback invokes the baas.QueryTransaction API asynchronously
+// api document: https://help.aliyun.com/api/baas/querytransaction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTransactionWithCallback(request *QueryTransactionRequest, callback func(response *QueryTransactionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTransactionResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTransaction(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTransactionRequest is the request struct for api QueryTransaction
+type QueryTransactionRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+	Hash  string `position:"Body" name:"Hash"`
+}
+
+// QueryTransactionResponse is the response struct for api QueryTransaction
+type QueryTransactionResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Result    ResultInQueryTransaction `json:"Result" xml:"Result"`
+}
+
+// CreateQueryTransactionRequest creates a request to invoke QueryTransaction API
+func CreateQueryTransactionRequest() (request *QueryTransactionRequest) {
+	request = &QueryTransactionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "QueryTransaction", "", "")
+	return
+}
+
+// CreateQueryTransactionResponse creates a response to parse from QueryTransaction response
+func CreateQueryTransactionResponse() (response *QueryTransactionResponse) {
+	response = &QueryTransactionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/reject_user.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// RejectUser invokes the baas.RejectUser API synchronously
+// api document: https://help.aliyun.com/api/baas/rejectuser.html
+func (client *Client) RejectUser(request *RejectUserRequest) (response *RejectUserResponse, err error) {
+	response = CreateRejectUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RejectUserWithChan invokes the baas.RejectUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/rejectuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RejectUserWithChan(request *RejectUserRequest) (<-chan *RejectUserResponse, <-chan error) {
+	responseChan := make(chan *RejectUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RejectUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RejectUserWithCallback invokes the baas.RejectUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/rejectuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RejectUserWithCallback(request *RejectUserRequest, callback func(response *RejectUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RejectUserResponse
+		var err error
+		defer close(result)
+		response, err = client.RejectUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RejectUserRequest is the request struct for api RejectUser
+type RejectUserRequest struct {
+	*requests.RpcRequest
+	Reason   string `position:"Body" name:"Reason"`
+	Bizid    string `position:"Body" name:"Bizid"`
+	Bid      string `position:"Body" name:"Bid"`
+	UserName string `position:"Body" name:"UserName"`
+}
+
+// RejectUserResponse is the response struct for api RejectUser
+type RejectUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateRejectUserRequest creates a request to invoke RejectUser API
+func CreateRejectUserRequest() (request *RejectUserRequest) {
+	request = &RejectUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "RejectUser", "", "")
+	return
+}
+
+// CreateRejectUserResponse creates a response to parse from RejectUser response
+func CreateRejectUserResponse() (response *RejectUserResponse) {
+	response = &RejectUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/reset_certificate.go

@@ -0,0 +1,104 @@
+package baas
+
+//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"
+)
+
+// ResetCertificate invokes the baas.ResetCertificate API synchronously
+// api document: https://help.aliyun.com/api/baas/resetcertificate.html
+func (client *Client) ResetCertificate(request *ResetCertificateRequest) (response *ResetCertificateResponse, err error) {
+	response = CreateResetCertificateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ResetCertificateWithChan invokes the baas.ResetCertificate API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetcertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetCertificateWithChan(request *ResetCertificateRequest) (<-chan *ResetCertificateResponse, <-chan error) {
+	responseChan := make(chan *ResetCertificateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ResetCertificate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ResetCertificateWithCallback invokes the baas.ResetCertificate API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetcertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetCertificateWithCallback(request *ResetCertificateRequest, callback func(response *ResetCertificateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ResetCertificateResponse
+		var err error
+		defer close(result)
+		response, err = client.ResetCertificate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ResetCertificateRequest is the request struct for api ResetCertificate
+type ResetCertificateRequest struct {
+	*requests.RpcRequest
+	Bizid string `position:"Body" name:"Bizid"`
+}
+
+// ResetCertificateResponse is the response struct for api ResetCertificate
+type ResetCertificateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateResetCertificateRequest creates a request to invoke ResetCertificate API
+func CreateResetCertificateRequest() (request *ResetCertificateRequest) {
+	request = &ResetCertificateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "ResetCertificate", "", "")
+	return
+}
+
+// CreateResetCertificateResponse creates a response to parse from ResetCertificate response
+func CreateResetCertificateResponse() (response *ResetCertificateResponse) {
+	response = &ResetCertificateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/baas/reset_organization_user_password.go

@@ -0,0 +1,109 @@
+package baas
+
+//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"
+)
+
+// ResetOrganizationUserPassword invokes the baas.ResetOrganizationUserPassword API synchronously
+// api document: https://help.aliyun.com/api/baas/resetorganizationuserpassword.html
+func (client *Client) ResetOrganizationUserPassword(request *ResetOrganizationUserPasswordRequest) (response *ResetOrganizationUserPasswordResponse, err error) {
+	response = CreateResetOrganizationUserPasswordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ResetOrganizationUserPasswordWithChan invokes the baas.ResetOrganizationUserPassword API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetorganizationuserpassword.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetOrganizationUserPasswordWithChan(request *ResetOrganizationUserPasswordRequest) (<-chan *ResetOrganizationUserPasswordResponse, <-chan error) {
+	responseChan := make(chan *ResetOrganizationUserPasswordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ResetOrganizationUserPassword(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ResetOrganizationUserPasswordWithCallback invokes the baas.ResetOrganizationUserPassword API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetorganizationuserpassword.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetOrganizationUserPasswordWithCallback(request *ResetOrganizationUserPasswordRequest, callback func(response *ResetOrganizationUserPasswordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ResetOrganizationUserPasswordResponse
+		var err error
+		defer close(result)
+		response, err = client.ResetOrganizationUserPassword(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ResetOrganizationUserPasswordRequest is the request struct for api ResetOrganizationUserPassword
+type ResetOrganizationUserPasswordRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Password       string `position:"Body" name:"Password"`
+	Location       string `position:"Body" name:"Location"`
+	Username       string `position:"Body" name:"Username"`
+}
+
+// ResetOrganizationUserPasswordResponse is the response struct for api ResetOrganizationUserPassword
+type ResetOrganizationUserPasswordResponse struct {
+	*responses.BaseResponse
+	RequestId string                                `json:"RequestId" xml:"RequestId"`
+	Success   bool                                  `json:"Success" xml:"Success"`
+	ErrorCode int                                   `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInResetOrganizationUserPassword `json:"Result" xml:"Result"`
+}
+
+// CreateResetOrganizationUserPasswordRequest creates a request to invoke ResetOrganizationUserPassword API
+func CreateResetOrganizationUserPasswordRequest() (request *ResetOrganizationUserPasswordRequest) {
+	request = &ResetOrganizationUserPasswordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "ResetOrganizationUserPassword", "", "")
+	return
+}
+
+// CreateResetOrganizationUserPasswordResponse creates a response to parse from ResetOrganizationUserPassword response
+func CreateResetOrganizationUserPasswordResponse() (response *ResetOrganizationUserPasswordResponse) {
+	response = &ResetOrganizationUserPasswordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/reset_user.go

@@ -0,0 +1,107 @@
+package baas
+
+//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"
+)
+
+// ResetUser invokes the baas.ResetUser API synchronously
+// api document: https://help.aliyun.com/api/baas/resetuser.html
+func (client *Client) ResetUser(request *ResetUserRequest) (response *ResetUserResponse, err error) {
+	response = CreateResetUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ResetUserWithChan invokes the baas.ResetUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetUserWithChan(request *ResetUserRequest) (<-chan *ResetUserResponse, <-chan error) {
+	responseChan := make(chan *ResetUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ResetUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ResetUserWithCallback invokes the baas.ResetUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/resetuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetUserWithCallback(request *ResetUserRequest, callback func(response *ResetUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ResetUserResponse
+		var err error
+		defer close(result)
+		response, err = client.ResetUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ResetUserRequest is the request struct for api ResetUser
+type ResetUserRequest struct {
+	*requests.RpcRequest
+	Bizid     string           `position:"Body" name:"Bizid"`
+	Bid       string           `position:"Body" name:"Bid"`
+	Operation requests.Integer `position:"Body" name:"Operation"`
+	UserName  string           `position:"Body" name:"UserName"`
+}
+
+// ResetUserResponse is the response struct for api ResetUser
+type ResetUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateResetUserRequest creates a request to invoke ResetUser API
+func CreateResetUserRequest() (request *ResetUserRequest) {
+	request = &ResetUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "ResetUser", "", "")
+	return
+}
+
+// CreateResetUserResponse creates a response to parse from ResetUser response
+func CreateResetUserResponse() (response *ResetUserResponse) {
+	response = &ResetUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/schema_detail.go

@@ -0,0 +1,105 @@
+package baas
+
+//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"
+)
+
+// SchemaDetail invokes the baas.SchemaDetail API synchronously
+// api document: https://help.aliyun.com/api/baas/schemadetail.html
+func (client *Client) SchemaDetail(request *SchemaDetailRequest) (response *SchemaDetailResponse, err error) {
+	response = CreateSchemaDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SchemaDetailWithChan invokes the baas.SchemaDetail API asynchronously
+// api document: https://help.aliyun.com/api/baas/schemadetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SchemaDetailWithChan(request *SchemaDetailRequest) (<-chan *SchemaDetailResponse, <-chan error) {
+	responseChan := make(chan *SchemaDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SchemaDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SchemaDetailWithCallback invokes the baas.SchemaDetail API asynchronously
+// api document: https://help.aliyun.com/api/baas/schemadetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SchemaDetailWithCallback(request *SchemaDetailRequest, callback func(response *SchemaDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SchemaDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.SchemaDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SchemaDetailRequest is the request struct for api SchemaDetail
+type SchemaDetailRequest struct {
+	*requests.RpcRequest
+	SchemaId requests.Integer `position:"Body" name:"SchemaId"`
+	Bizid    string           `position:"Body" name:"Bizid"`
+}
+
+// SchemaDetailResponse is the response struct for api SchemaDetail
+type SchemaDetailResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateSchemaDetailRequest creates a request to invoke SchemaDetail API
+func CreateSchemaDetailRequest() (request *SchemaDetailRequest) {
+	request = &SchemaDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-07-31", "SchemaDetail", "", "")
+	return
+}
+
+// CreateSchemaDetailResponse creates a response to parse from SchemaDetail response
+func CreateSchemaDetailResponse() (response *SchemaDetailResponse) {
+	response = &SchemaDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 21 - 0
services/baas/struct_apply_history_list_in_describe_applies.go

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

+ 21 - 0
services/baas/struct_apply_history_list_in_get_applies.go

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

+ 29 - 0
services/baas/struct_apply_history_list_item.go

@@ -0,0 +1,29 @@
+package baas
+
+//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.
+
+// ApplyHistoryListItem is a nested struct in baas response
+type ApplyHistoryListItem struct {
+	Bizid        string `json:"Bizid" xml:"Bizid"`
+	Id           int    `json:"Id" xml:"Id"`
+	Createtime   int    `json:"Createtime" xml:"Createtime"`
+	Status       int    `json:"Status" xml:"Status"`
+	Username     string `json:"Username" xml:"Username"`
+	ReqAddr      string `json:"ReqAddr" xml:"ReqAddr"`
+	Updatetime   int    `json:"Updatetime" xml:"Updatetime"`
+	SignedAddr   string `json:"SignedAddr" xml:"SignedAddr"`
+	RejectReason string `json:"RejectReason" xml:"RejectReason"`
+}

+ 21 - 0
services/baas/struct_blockchain_create_tasks_in_describe_blockchain_create_task.go

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

+ 21 - 0
services/baas/struct_blockchain_create_tasks_in_get_blockchain_create_task.go

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

+ 25 - 0
services/baas/struct_blockchain_create_tasks_item.go

@@ -0,0 +1,25 @@
+package baas
+
+//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.
+
+// BlockchainCreateTasksItem is a nested struct in baas response
+type BlockchainCreateTasksItem struct {
+	Bizid      string `json:"Bizid" xml:"Bizid"`
+	Name       string `json:"Name" xml:"Name"`
+	Status     string `json:"Status" xml:"Status"`
+	CreateTime int    `json:"CreateTime" xml:"CreateTime"`
+	Memo       string `json:"Memo" xml:"Memo"`
+}

+ 27 - 0
services/baas/struct_certificate.go

@@ -0,0 +1,27 @@
+package baas
+
+//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.
+
+// Certificate is a nested struct in baas response
+type Certificate struct {
+	Scope     string `json:"Scope" xml:"Scope"`
+	Name      string `json:"Name" xml:"Name"`
+	Subject   string `json:"Subject" xml:"Subject"`
+	Issuer    string `json:"Issuer" xml:"Issuer"`
+	ValidFrom string `json:"ValidFrom" xml:"ValidFrom"`
+	ValidTo   string `json:"ValidTo" xml:"ValidTo"`
+	CertData  string `json:"CertData" xml:"CertData"`
+}

+ 21 - 0
services/baas/struct_certificates.go

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

+ 37 - 0
services/baas/struct_chaincode_vo.go

@@ -0,0 +1,37 @@
+package baas
+
+//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.
+
+// ChaincodeVO is a nested struct in baas response
+type ChaincodeVO struct {
+	Name          string `json:"Name" xml:"Name"`
+	Version       string `json:"Version" xml:"Version"`
+	Input         string `json:"Input" xml:"Input"`
+	Type          int    `json:"Type" xml:"Type"`
+	State         string `json:"State" xml:"State"`
+	Path          string `json:"Path" xml:"Path"`
+	ChaincodeId   string `json:"ChaincodeId" xml:"ChaincodeId"`
+	Install       bool   `json:"Install" xml:"Install"`
+	Message       string `json:"Message" xml:"Message"`
+	CreateTime    string `json:"CreateTime" xml:"CreateTime"`
+	DeployTime    string `json:"DeployTime" xml:"DeployTime"`
+	ChannelName   string `json:"ChannelName" xml:"ChannelName"`
+	EndorsePolicy string `json:"EndorsePolicy" xml:"EndorsePolicy"`
+	ConsortiumId  string `json:"ConsortiumId" xml:"ConsortiumId"`
+	ProviderId    string `json:"ProviderId" xml:"ProviderId"`
+	ProviderName  string `json:"ProviderName" xml:"ProviderName"`
+	ChannelId     string `json:"ChannelId" xml:"ChannelId"`
+}

+ 21 - 0
services/baas/struct_channel_policy.go

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

+ 26 - 0
services/baas/struct_cluster_spec.go

@@ -0,0 +1,26 @@
+package baas
+
+//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.
+
+// ClusterSpec is a nested struct in baas response
+type ClusterSpec struct {
+	Name              string `json:"Name" xml:"Name"`
+	Title             string `json:"Title" xml:"Title"`
+	WorkerDescription string `json:"WorkerDescription" xml:"WorkerDescription"`
+	Enable            bool   `json:"Enable" xml:"Enable"`
+	NumOfNodes        int    `json:"NumOfNodes" xml:"NumOfNodes"`
+	MasterDescription string `json:"MasterDescription" xml:"MasterDescription"`
+}

Деякі файли не було показано, через те що забагато файлів було змінено