浏览代码

Init the standard baas sdk.

sdk-team 6 年之前
父节点
当前提交
a684dba24e
共有 100 个文件被更改,包括 6933 次插入3597 次删除
  1. 3 0
      ChangeLog.txt
  2. 106 0
      services/baas/accept_fabric_invitation.go
  3. 0 106
      services/baas/accept_invitation.go
  4. 0 104
      services/baas/agree_invite.go
  5. 105 0
      services/baas/apply_ant_chain_certificate.go
  6. 112 0
      services/baas/apply_ant_chain_certificate_with_key_auto_creation.go
  7. 0 105
      services/baas/apply_blockchain.go
  8. 0 106
      services/baas/check_consortium_domain.go
  9. 106 0
      services/baas/check_fabric_consortium_domain.go
  10. 107 0
      services/baas/check_fabric_organization_domain.go
  11. 0 107
      services/baas/check_organization_domain.go
  12. 53 5
      services/baas/client.go
  13. 0 112
      services/baas/confirm_consortium_member.go
  14. 112 0
      services/baas/confirm_fabric_consortium_member.go
  15. 107 0
      services/baas/copy_ant_chain_contract_project.go
  16. 107 0
      services/baas/create_ant_chain_account.go
  17. 107 0
      services/baas/create_ant_chain_account_with_key_pair_auto_creation.go
  18. 105 0
      services/baas/create_ant_chain_consortium.go
  19. 108 0
      services/baas/create_ant_chain_contract_content.go
  20. 107 0
      services/baas/create_ant_chain_contract_project.go
  21. 0 107
      services/baas/create_blockchain_apply.go
  22. 0 112
      services/baas/create_chaincode.go
  23. 0 113
      services/baas/create_channel.go
  24. 0 112
      services/baas/create_channel_member.go
  25. 0 121
      services/baas/create_consortium.go
  26. 0 113
      services/baas/create_consortium_member.go
  27. 0 124
      services/baas/create_ecosphere.go
  28. 112 0
      services/baas/create_fabric_chaincode.go
  29. 116 0
      services/baas/create_fabric_channel.go
  30. 112 0
      services/baas/create_fabric_channel_member.go
  31. 123 0
      services/baas/create_fabric_consortium.go
  32. 113 0
      services/baas/create_fabric_consortium_member.go
  33. 113 0
      services/baas/create_fabric_organization.go
  34. 109 0
      services/baas/create_fabric_organization_user.go
  35. 0 110
      services/baas/create_organization.go
  36. 104 0
      services/baas/delete_ant_chain_consortium.go
  37. 104 0
      services/baas/delete_ant_chain_contract_content.go
  38. 104 0
      services/baas/delete_ant_chain_contract_project.go
  39. 0 105
      services/baas/delete_chaincode.go
  40. 105 0
      services/baas/delete_fabric_chaincode.go
  41. 106 0
      services/baas/describe_ant_chain_accounts.go
  42. 105 0
      services/baas/describe_ant_chain_block.go
  43. 107 0
      services/baas/describe_ant_chain_certificate_applications.go
  44. 105 0
      services/baas/describe_ant_chain_consortiums.go
  45. 104 0
      services/baas/describe_ant_chain_contract_project_content_tree.go
  46. 106 0
      services/baas/describe_ant_chain_contract_projects.go
  47. 104 0
      services/baas/describe_ant_chain_download_paths.go
  48. 104 0
      services/baas/describe_ant_chain_information.go
  49. 104 0
      services/baas/describe_ant_chain_latest_blocks.go
  50. 104 0
      services/baas/describe_ant_chain_latest_transaction_digests.go
  51. 106 0
      services/baas/describe_ant_chain_members.go
  52. 104 0
      services/baas/describe_ant_chain_nodes.go
  53. 105 0
      services/baas/describe_ant_chain_transaction.go
  54. 105 0
      services/baas/describe_ant_chain_transaction_receipt.go
  55. 106 0
      services/baas/describe_ant_chain_transaction_statistics.go
  56. 106 0
      services/baas/describe_ant_chains.go
  57. 0 107
      services/baas/describe_applies.go
  58. 0 104
      services/baas/describe_bc_schema.go
  59. 0 105
      services/baas/describe_blockchain_create_task.go
  60. 0 104
      services/baas/describe_blockchain_info.go
  61. 0 106
      services/baas/describe_candidate_organizations.go
  62. 0 106
      services/baas/describe_chaincode_upload_policy.go
  63. 0 106
      services/baas/describe_channel_members.go
  64. 0 106
      services/baas/describe_consortium_admin_status.go
  65. 0 107
      services/baas/describe_consortium_chaincodes.go
  66. 0 107
      services/baas/describe_consortium_channels.go
  67. 0 105
      services/baas/describe_consortium_config.go
  68. 0 107
      services/baas/describe_consortium_deletable.go
  69. 0 107
      services/baas/describe_consortium_member_approval.go
  70. 0 107
      services/baas/describe_consortium_members.go
  71. 0 107
      services/baas/describe_consortium_orderers.go
  72. 0 105
      services/baas/describe_consortium_specs.go
  73. 0 107
      services/baas/describe_consortiums.go
  74. 0 105
      services/baas/describe_ecosphere_specs.go
  75. 106 0
      services/baas/describe_ethereum_deletable.go
  76. 106 0
      services/baas/describe_fabric_candidate_organizations.go
  77. 106 0
      services/baas/describe_fabric_chaincode_upload_policy.go
  78. 106 0
      services/baas/describe_fabric_channel_members.go
  79. 106 0
      services/baas/describe_fabric_consortium_admin_status.go
  80. 107 0
      services/baas/describe_fabric_consortium_chaincodes.go
  81. 107 0
      services/baas/describe_fabric_consortium_channels.go
  82. 105 0
      services/baas/describe_fabric_consortium_config.go
  83. 107 0
      services/baas/describe_fabric_consortium_deletable.go
  84. 107 0
      services/baas/describe_fabric_consortium_member_approval.go
  85. 107 0
      services/baas/describe_fabric_consortium_members.go
  86. 107 0
      services/baas/describe_fabric_consortium_orderers.go
  87. 105 0
      services/baas/describe_fabric_consortium_specs.go
  88. 107 0
      services/baas/describe_fabric_consortiums.go
  89. 27 27
      services/baas/describe_fabric_explorer.go
  90. 108 0
      services/baas/describe_fabric_invitation_code.go
  91. 106 0
      services/baas/describe_fabric_inviter.go
  92. 108 0
      services/baas/describe_fabric_orderer_logs.go
  93. 107 0
      services/baas/describe_fabric_organization.go
  94. 107 0
      services/baas/describe_fabric_organization_chaincodes.go
  95. 107 0
      services/baas/describe_fabric_organization_channels.go
  96. 107 0
      services/baas/describe_fabric_organization_deletable.go
  97. 107 0
      services/baas/describe_fabric_organization_members.go
  98. 107 0
      services/baas/describe_fabric_organization_peers.go
  99. 105 0
      services/baas/describe_fabric_organization_specs.go
  100. 107 0
      services/baas/describe_fabric_organization_users.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-10-21 Version: 1.60.203
+- Init the standard baas sdk.
+
 2019-10-18 Version: 1.60.202
 - Generated 2019-09-10 for `DnsKnocker`.
 

+ 106 - 0
services/baas/accept_fabric_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"
+)
+
+// AcceptFabricInvitation invokes the baas.AcceptFabricInvitation API synchronously
+// api document: https://help.aliyun.com/api/baas/acceptfabricinvitation.html
+func (client *Client) AcceptFabricInvitation(request *AcceptFabricInvitationRequest) (response *AcceptFabricInvitationResponse, err error) {
+	response = CreateAcceptFabricInvitationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AcceptFabricInvitationWithChan invokes the baas.AcceptFabricInvitation API asynchronously
+// api document: https://help.aliyun.com/api/baas/acceptfabricinvitation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AcceptFabricInvitationWithChan(request *AcceptFabricInvitationRequest) (<-chan *AcceptFabricInvitationResponse, <-chan error) {
+	responseChan := make(chan *AcceptFabricInvitationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AcceptFabricInvitation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AcceptFabricInvitationWithCallback invokes the baas.AcceptFabricInvitation API asynchronously
+// api document: https://help.aliyun.com/api/baas/acceptfabricinvitation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AcceptFabricInvitationWithCallback(request *AcceptFabricInvitationRequest, callback func(response *AcceptFabricInvitationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AcceptFabricInvitationResponse
+		var err error
+		defer close(result)
+		response, err = client.AcceptFabricInvitation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AcceptFabricInvitationRequest is the request struct for api AcceptFabricInvitation
+type AcceptFabricInvitationRequest struct {
+	*requests.RpcRequest
+	Code       string           `position:"Body" name:"Code"`
+	IsAccepted requests.Boolean `position:"Body" name:"IsAccepted"`
+}
+
+// AcceptFabricInvitationResponse is the response struct for api AcceptFabricInvitation
+type AcceptFabricInvitationResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateAcceptFabricInvitationRequest creates a request to invoke AcceptFabricInvitation API
+func CreateAcceptFabricInvitationRequest() (request *AcceptFabricInvitationRequest) {
+	request = &AcceptFabricInvitationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "AcceptFabricInvitation", "baas", "openAPI")
+	return
+}
+
+// CreateAcceptFabricInvitationResponse creates a response to parse from AcceptFabricInvitation response
+func CreateAcceptFabricInvitationResponse() (response *AcceptFabricInvitationResponse) {
+	response = &AcceptFabricInvitationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 106
services/baas/accept_invitation.go

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

+ 0 - 104
services/baas/agree_invite.go

@@ -1,104 +0,0 @@
-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_ant_chain_certificate.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"
+)
+
+// ApplyAntChainCertificate invokes the baas.ApplyAntChainCertificate API synchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificate.html
+func (client *Client) ApplyAntChainCertificate(request *ApplyAntChainCertificateRequest) (response *ApplyAntChainCertificateResponse, err error) {
+	response = CreateApplyAntChainCertificateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ApplyAntChainCertificateWithChan invokes the baas.ApplyAntChainCertificate API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyAntChainCertificateWithChan(request *ApplyAntChainCertificateRequest) (<-chan *ApplyAntChainCertificateResponse, <-chan error) {
+	responseChan := make(chan *ApplyAntChainCertificateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ApplyAntChainCertificate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ApplyAntChainCertificateWithCallback invokes the baas.ApplyAntChainCertificate API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyAntChainCertificateWithCallback(request *ApplyAntChainCertificateRequest, callback func(response *ApplyAntChainCertificateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ApplyAntChainCertificateResponse
+		var err error
+		defer close(result)
+		response, err = client.ApplyAntChainCertificate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ApplyAntChainCertificateRequest is the request struct for api ApplyAntChainCertificate
+type ApplyAntChainCertificateRequest struct {
+	*requests.RpcRequest
+	UploadReq  string `position:"Body" name:"UploadReq"`
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// ApplyAntChainCertificateResponse is the response struct for api ApplyAntChainCertificate
+type ApplyAntChainCertificateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateApplyAntChainCertificateRequest creates a request to invoke ApplyAntChainCertificate API
+func CreateApplyAntChainCertificateRequest() (request *ApplyAntChainCertificateRequest) {
+	request = &ApplyAntChainCertificateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "ApplyAntChainCertificate", "baas", "openAPI")
+	return
+}
+
+// CreateApplyAntChainCertificateResponse creates a response to parse from ApplyAntChainCertificate response
+func CreateApplyAntChainCertificateResponse() (response *ApplyAntChainCertificateResponse) {
+	response = &ApplyAntChainCertificateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/baas/apply_ant_chain_certificate_with_key_auto_creation.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"
+)
+
+// ApplyAntChainCertificateWithKeyAutoCreation invokes the baas.ApplyAntChainCertificateWithKeyAutoCreation API synchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificatewithkeyautocreation.html
+func (client *Client) ApplyAntChainCertificateWithKeyAutoCreation(request *ApplyAntChainCertificateWithKeyAutoCreationRequest) (response *ApplyAntChainCertificateWithKeyAutoCreationResponse, err error) {
+	response = CreateApplyAntChainCertificateWithKeyAutoCreationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ApplyAntChainCertificateWithKeyAutoCreationWithChan invokes the baas.ApplyAntChainCertificateWithKeyAutoCreation API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificatewithkeyautocreation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyAntChainCertificateWithKeyAutoCreationWithChan(request *ApplyAntChainCertificateWithKeyAutoCreationRequest) (<-chan *ApplyAntChainCertificateWithKeyAutoCreationResponse, <-chan error) {
+	responseChan := make(chan *ApplyAntChainCertificateWithKeyAutoCreationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ApplyAntChainCertificateWithKeyAutoCreation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ApplyAntChainCertificateWithKeyAutoCreationWithCallback invokes the baas.ApplyAntChainCertificateWithKeyAutoCreation API asynchronously
+// api document: https://help.aliyun.com/api/baas/applyantchaincertificatewithkeyautocreation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyAntChainCertificateWithKeyAutoCreationWithCallback(request *ApplyAntChainCertificateWithKeyAutoCreationRequest, callback func(response *ApplyAntChainCertificateWithKeyAutoCreationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ApplyAntChainCertificateWithKeyAutoCreationResponse
+		var err error
+		defer close(result)
+		response, err = client.ApplyAntChainCertificateWithKeyAutoCreation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ApplyAntChainCertificateWithKeyAutoCreationRequest is the request struct for api ApplyAntChainCertificateWithKeyAutoCreation
+type ApplyAntChainCertificateWithKeyAutoCreationRequest struct {
+	*requests.RpcRequest
+	OrganizationUnitName string `position:"Body" name:"OrganizationUnitName"`
+	LocalityName         string `position:"Body" name:"LocalityName"`
+	Password             string `position:"Body" name:"Password"`
+	CommonName           string `position:"Body" name:"CommonName"`
+	AntChainId           string `position:"Body" name:"AntChainId"`
+	CountryName          string `position:"Body" name:"CountryName"`
+	StateOrProvinceName  string `position:"Body" name:"StateOrProvinceName"`
+	OrganizationName     string `position:"Body" name:"OrganizationName"`
+	ConsortiumId         string `position:"Body" name:"ConsortiumId"`
+}
+
+// ApplyAntChainCertificateWithKeyAutoCreationResponse is the response struct for api ApplyAntChainCertificateWithKeyAutoCreation
+type ApplyAntChainCertificateWithKeyAutoCreationResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateApplyAntChainCertificateWithKeyAutoCreationRequest creates a request to invoke ApplyAntChainCertificateWithKeyAutoCreation API
+func CreateApplyAntChainCertificateWithKeyAutoCreationRequest() (request *ApplyAntChainCertificateWithKeyAutoCreationRequest) {
+	request = &ApplyAntChainCertificateWithKeyAutoCreationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "ApplyAntChainCertificateWithKeyAutoCreation", "baas", "openAPI")
+	return
+}
+
+// CreateApplyAntChainCertificateWithKeyAutoCreationResponse creates a response to parse from ApplyAntChainCertificateWithKeyAutoCreation response
+func CreateApplyAntChainCertificateWithKeyAutoCreationResponse() (response *ApplyAntChainCertificateWithKeyAutoCreationResponse) {
+	response = &ApplyAntChainCertificateWithKeyAutoCreationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 105
services/baas/apply_blockchain.go

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

+ 0 - 106
services/baas/check_consortium_domain.go

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

+ 106 - 0
services/baas/check_fabric_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"
+)
+
+// CheckFabricConsortiumDomain invokes the baas.CheckFabricConsortiumDomain API synchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricconsortiumdomain.html
+func (client *Client) CheckFabricConsortiumDomain(request *CheckFabricConsortiumDomainRequest) (response *CheckFabricConsortiumDomainResponse, err error) {
+	response = CreateCheckFabricConsortiumDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckFabricConsortiumDomainWithChan invokes the baas.CheckFabricConsortiumDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricconsortiumdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckFabricConsortiumDomainWithChan(request *CheckFabricConsortiumDomainRequest) (<-chan *CheckFabricConsortiumDomainResponse, <-chan error) {
+	responseChan := make(chan *CheckFabricConsortiumDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckFabricConsortiumDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckFabricConsortiumDomainWithCallback invokes the baas.CheckFabricConsortiumDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricconsortiumdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckFabricConsortiumDomainWithCallback(request *CheckFabricConsortiumDomainRequest, callback func(response *CheckFabricConsortiumDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckFabricConsortiumDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckFabricConsortiumDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckFabricConsortiumDomainRequest is the request struct for api CheckFabricConsortiumDomain
+type CheckFabricConsortiumDomainRequest struct {
+	*requests.RpcRequest
+	DomainCode string `position:"Body" name:"DomainCode"`
+}
+
+// CheckFabricConsortiumDomainResponse is the response struct for api CheckFabricConsortiumDomain
+type CheckFabricConsortiumDomainResponse 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"`
+}
+
+// CreateCheckFabricConsortiumDomainRequest creates a request to invoke CheckFabricConsortiumDomain API
+func CreateCheckFabricConsortiumDomainRequest() (request *CheckFabricConsortiumDomainRequest) {
+	request = &CheckFabricConsortiumDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CheckFabricConsortiumDomain", "baas", "openAPI")
+	return
+}
+
+// CreateCheckFabricConsortiumDomainResponse creates a response to parse from CheckFabricConsortiumDomain response
+func CreateCheckFabricConsortiumDomainResponse() (response *CheckFabricConsortiumDomainResponse) {
+	response = &CheckFabricConsortiumDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/check_fabric_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"
+)
+
+// CheckFabricOrganizationDomain invokes the baas.CheckFabricOrganizationDomain API synchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricorganizationdomain.html
+func (client *Client) CheckFabricOrganizationDomain(request *CheckFabricOrganizationDomainRequest) (response *CheckFabricOrganizationDomainResponse, err error) {
+	response = CreateCheckFabricOrganizationDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckFabricOrganizationDomainWithChan invokes the baas.CheckFabricOrganizationDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricorganizationdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckFabricOrganizationDomainWithChan(request *CheckFabricOrganizationDomainRequest) (<-chan *CheckFabricOrganizationDomainResponse, <-chan error) {
+	responseChan := make(chan *CheckFabricOrganizationDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckFabricOrganizationDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckFabricOrganizationDomainWithCallback invokes the baas.CheckFabricOrganizationDomain API asynchronously
+// api document: https://help.aliyun.com/api/baas/checkfabricorganizationdomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckFabricOrganizationDomainWithCallback(request *CheckFabricOrganizationDomainRequest, callback func(response *CheckFabricOrganizationDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckFabricOrganizationDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckFabricOrganizationDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckFabricOrganizationDomainRequest is the request struct for api CheckFabricOrganizationDomain
+type CheckFabricOrganizationDomainRequest struct {
+	*requests.RpcRequest
+	DomainCode string `position:"Body" name:"DomainCode"`
+	Domain     string `position:"Body" name:"Domain"`
+}
+
+// CheckFabricOrganizationDomainResponse is the response struct for api CheckFabricOrganizationDomain
+type CheckFabricOrganizationDomainResponse 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"`
+}
+
+// CreateCheckFabricOrganizationDomainRequest creates a request to invoke CheckFabricOrganizationDomain API
+func CreateCheckFabricOrganizationDomainRequest() (request *CheckFabricOrganizationDomainRequest) {
+	request = &CheckFabricOrganizationDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CheckFabricOrganizationDomain", "baas", "openAPI")
+	return
+}
+
+// CreateCheckFabricOrganizationDomainResponse creates a response to parse from CheckFabricOrganizationDomain response
+func CreateCheckFabricOrganizationDomainResponse() (response *CheckFabricOrganizationDomainResponse) {
+	response = &CheckFabricOrganizationDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/baas/check_organization_domain.go

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

+ 53 - 5
services/baas/client.go

@@ -16,8 +16,11 @@ package baas
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -25,10 +28,40 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -37,45 +70,60 @@ func NewClient() (client *Client, err error) {
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 0 - 112
services/baas/confirm_consortium_member.go

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

+ 112 - 0
services/baas/confirm_fabric_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"
+)
+
+// ConfirmFabricConsortiumMember invokes the baas.ConfirmFabricConsortiumMember API synchronously
+// api document: https://help.aliyun.com/api/baas/confirmfabricconsortiummember.html
+func (client *Client) ConfirmFabricConsortiumMember(request *ConfirmFabricConsortiumMemberRequest) (response *ConfirmFabricConsortiumMemberResponse, err error) {
+	response = CreateConfirmFabricConsortiumMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ConfirmFabricConsortiumMemberWithChan invokes the baas.ConfirmFabricConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/confirmfabricconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfirmFabricConsortiumMemberWithChan(request *ConfirmFabricConsortiumMemberRequest) (<-chan *ConfirmFabricConsortiumMemberResponse, <-chan error) {
+	responseChan := make(chan *ConfirmFabricConsortiumMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ConfirmFabricConsortiumMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ConfirmFabricConsortiumMemberWithCallback invokes the baas.ConfirmFabricConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/confirmfabricconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfirmFabricConsortiumMemberWithCallback(request *ConfirmFabricConsortiumMemberRequest, callback func(response *ConfirmFabricConsortiumMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ConfirmFabricConsortiumMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.ConfirmFabricConsortiumMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ConfirmFabricConsortiumMemberRequest is the request struct for api ConfirmFabricConsortiumMember
+type ConfirmFabricConsortiumMemberRequest struct {
+	*requests.RpcRequest
+	Organization *[]ConfirmFabricConsortiumMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ConsortiumId string                                       `position:"Query" name:"ConsortiumId"`
+}
+
+// ConfirmFabricConsortiumMemberOrganization is a repeated param struct in ConfirmFabricConsortiumMemberRequest
+type ConfirmFabricConsortiumMemberOrganization struct {
+	OrganizationId string `name:"OrganizationId"`
+}
+
+// ConfirmFabricConsortiumMemberResponse is the response struct for api ConfirmFabricConsortiumMember
+type ConfirmFabricConsortiumMemberResponse 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"`
+}
+
+// CreateConfirmFabricConsortiumMemberRequest creates a request to invoke ConfirmFabricConsortiumMember API
+func CreateConfirmFabricConsortiumMemberRequest() (request *ConfirmFabricConsortiumMemberRequest) {
+	request = &ConfirmFabricConsortiumMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "ConfirmFabricConsortiumMember", "baas", "openAPI")
+	return
+}
+
+// CreateConfirmFabricConsortiumMemberResponse creates a response to parse from ConfirmFabricConsortiumMember response
+func CreateConfirmFabricConsortiumMemberResponse() (response *ConfirmFabricConsortiumMemberResponse) {
+	response = &ConfirmFabricConsortiumMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/copy_ant_chain_contract_project.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"
+)
+
+// CopyAntChainContractProject invokes the baas.CopyAntChainContractProject API synchronously
+// api document: https://help.aliyun.com/api/baas/copyantchaincontractproject.html
+func (client *Client) CopyAntChainContractProject(request *CopyAntChainContractProjectRequest) (response *CopyAntChainContractProjectResponse, err error) {
+	response = CreateCopyAntChainContractProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CopyAntChainContractProjectWithChan invokes the baas.CopyAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/copyantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CopyAntChainContractProjectWithChan(request *CopyAntChainContractProjectRequest) (<-chan *CopyAntChainContractProjectResponse, <-chan error) {
+	responseChan := make(chan *CopyAntChainContractProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CopyAntChainContractProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CopyAntChainContractProjectWithCallback invokes the baas.CopyAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/copyantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CopyAntChainContractProjectWithCallback(request *CopyAntChainContractProjectRequest, callback func(response *CopyAntChainContractProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CopyAntChainContractProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.CopyAntChainContractProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CopyAntChainContractProjectRequest is the request struct for api CopyAntChainContractProject
+type CopyAntChainContractProjectRequest struct {
+	*requests.RpcRequest
+	ProjectVersion     string `position:"Body" name:"ProjectVersion"`
+	ProjectId          string `position:"Body" name:"ProjectId"`
+	ProjectName        string `position:"Body" name:"ProjectName"`
+	ProjectDescription string `position:"Body" name:"ProjectDescription"`
+}
+
+// CopyAntChainContractProjectResponse is the response struct for api CopyAntChainContractProject
+type CopyAntChainContractProjectResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCopyAntChainContractProjectRequest creates a request to invoke CopyAntChainContractProject API
+func CreateCopyAntChainContractProjectRequest() (request *CopyAntChainContractProjectRequest) {
+	request = &CopyAntChainContractProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CopyAntChainContractProject", "baas", "openAPI")
+	return
+}
+
+// CreateCopyAntChainContractProjectResponse creates a response to parse from CopyAntChainContractProject response
+func CreateCopyAntChainContractProjectResponse() (response *CopyAntChainContractProjectResponse) {
+	response = &CopyAntChainContractProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/create_ant_chain_account.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"
+)
+
+// CreateAntChainAccount invokes the baas.CreateAntChainAccount API synchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccount.html
+func (client *Client) CreateAntChainAccount(request *CreateAntChainAccountRequest) (response *CreateAntChainAccountResponse, err error) {
+	response = CreateCreateAntChainAccountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAntChainAccountWithChan invokes the baas.CreateAntChainAccount API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainAccountWithChan(request *CreateAntChainAccountRequest) (<-chan *CreateAntChainAccountResponse, <-chan error) {
+	responseChan := make(chan *CreateAntChainAccountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAntChainAccount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAntChainAccountWithCallback invokes the baas.CreateAntChainAccount API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainAccountWithCallback(request *CreateAntChainAccountRequest, callback func(response *CreateAntChainAccountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAntChainAccountResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAntChainAccount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAntChainAccountRequest is the request struct for api CreateAntChainAccount
+type CreateAntChainAccountRequest struct {
+	*requests.RpcRequest
+	AccountRecoverPubKey string `position:"Body" name:"AccountRecoverPubKey"`
+	AccountPubKey        string `position:"Body" name:"AccountPubKey"`
+	AntChainId           string `position:"Body" name:"AntChainId"`
+	Account              string `position:"Body" name:"Account"`
+}
+
+// CreateAntChainAccountResponse is the response struct for api CreateAntChainAccount
+type CreateAntChainAccountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCreateAntChainAccountRequest creates a request to invoke CreateAntChainAccount API
+func CreateCreateAntChainAccountRequest() (request *CreateAntChainAccountRequest) {
+	request = &CreateAntChainAccountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateAntChainAccount", "baas", "openAPI")
+	return
+}
+
+// CreateCreateAntChainAccountResponse creates a response to parse from CreateAntChainAccount response
+func CreateCreateAntChainAccountResponse() (response *CreateAntChainAccountResponse) {
+	response = &CreateAntChainAccountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/create_ant_chain_account_with_key_pair_auto_creation.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"
+)
+
+// CreateAntChainAccountWithKeyPairAutoCreation invokes the baas.CreateAntChainAccountWithKeyPairAutoCreation API synchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccountwithkeypairautocreation.html
+func (client *Client) CreateAntChainAccountWithKeyPairAutoCreation(request *CreateAntChainAccountWithKeyPairAutoCreationRequest) (response *CreateAntChainAccountWithKeyPairAutoCreationResponse, err error) {
+	response = CreateCreateAntChainAccountWithKeyPairAutoCreationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAntChainAccountWithKeyPairAutoCreationWithChan invokes the baas.CreateAntChainAccountWithKeyPairAutoCreation API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccountwithkeypairautocreation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainAccountWithKeyPairAutoCreationWithChan(request *CreateAntChainAccountWithKeyPairAutoCreationRequest) (<-chan *CreateAntChainAccountWithKeyPairAutoCreationResponse, <-chan error) {
+	responseChan := make(chan *CreateAntChainAccountWithKeyPairAutoCreationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAntChainAccountWithKeyPairAutoCreation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAntChainAccountWithKeyPairAutoCreationWithCallback invokes the baas.CreateAntChainAccountWithKeyPairAutoCreation API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainaccountwithkeypairautocreation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainAccountWithKeyPairAutoCreationWithCallback(request *CreateAntChainAccountWithKeyPairAutoCreationRequest, callback func(response *CreateAntChainAccountWithKeyPairAutoCreationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAntChainAccountWithKeyPairAutoCreationResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAntChainAccountWithKeyPairAutoCreation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAntChainAccountWithKeyPairAutoCreationRequest is the request struct for api CreateAntChainAccountWithKeyPairAutoCreation
+type CreateAntChainAccountWithKeyPairAutoCreationRequest struct {
+	*requests.RpcRequest
+	Password        string `position:"Body" name:"Password"`
+	AntChainId      string `position:"Body" name:"AntChainId"`
+	RecoverPassword string `position:"Body" name:"RecoverPassword"`
+	Account         string `position:"Body" name:"Account"`
+}
+
+// CreateAntChainAccountWithKeyPairAutoCreationResponse is the response struct for api CreateAntChainAccountWithKeyPairAutoCreation
+type CreateAntChainAccountWithKeyPairAutoCreationResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCreateAntChainAccountWithKeyPairAutoCreationRequest creates a request to invoke CreateAntChainAccountWithKeyPairAutoCreation API
+func CreateCreateAntChainAccountWithKeyPairAutoCreationRequest() (request *CreateAntChainAccountWithKeyPairAutoCreationRequest) {
+	request = &CreateAntChainAccountWithKeyPairAutoCreationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateAntChainAccountWithKeyPairAutoCreation", "baas", "openAPI")
+	return
+}
+
+// CreateCreateAntChainAccountWithKeyPairAutoCreationResponse creates a response to parse from CreateAntChainAccountWithKeyPairAutoCreation response
+func CreateCreateAntChainAccountWithKeyPairAutoCreationResponse() (response *CreateAntChainAccountWithKeyPairAutoCreationResponse) {
+	response = &CreateAntChainAccountWithKeyPairAutoCreationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/create_ant_chain_consortium.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"
+)
+
+// CreateAntChainConsortium invokes the baas.CreateAntChainConsortium API synchronously
+// api document: https://help.aliyun.com/api/baas/createantchainconsortium.html
+func (client *Client) CreateAntChainConsortium(request *CreateAntChainConsortiumRequest) (response *CreateAntChainConsortiumResponse, err error) {
+	response = CreateCreateAntChainConsortiumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAntChainConsortiumWithChan invokes the baas.CreateAntChainConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainConsortiumWithChan(request *CreateAntChainConsortiumRequest) (<-chan *CreateAntChainConsortiumResponse, <-chan error) {
+	responseChan := make(chan *CreateAntChainConsortiumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAntChainConsortium(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAntChainConsortiumWithCallback invokes the baas.CreateAntChainConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchainconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainConsortiumWithCallback(request *CreateAntChainConsortiumRequest, callback func(response *CreateAntChainConsortiumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAntChainConsortiumResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAntChainConsortium(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAntChainConsortiumRequest is the request struct for api CreateAntChainConsortium
+type CreateAntChainConsortiumRequest struct {
+	*requests.RpcRequest
+	ConsortiumName        string `position:"Body" name:"ConsortiumName"`
+	ConsortiumDescription string `position:"Body" name:"ConsortiumDescription"`
+}
+
+// CreateAntChainConsortiumResponse is the response struct for api CreateAntChainConsortium
+type CreateAntChainConsortiumResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCreateAntChainConsortiumRequest creates a request to invoke CreateAntChainConsortium API
+func CreateCreateAntChainConsortiumRequest() (request *CreateAntChainConsortiumRequest) {
+	request = &CreateAntChainConsortiumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateAntChainConsortium", "baas", "openAPI")
+	return
+}
+
+// CreateCreateAntChainConsortiumResponse creates a response to parse from CreateAntChainConsortium response
+func CreateCreateAntChainConsortiumResponse() (response *CreateAntChainConsortiumResponse) {
+	response = &CreateAntChainConsortiumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/create_ant_chain_contract_content.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"
+)
+
+// CreateAntChainContractContent invokes the baas.CreateAntChainContractContent API synchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractcontent.html
+func (client *Client) CreateAntChainContractContent(request *CreateAntChainContractContentRequest) (response *CreateAntChainContractContentResponse, err error) {
+	response = CreateCreateAntChainContractContentResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAntChainContractContentWithChan invokes the baas.CreateAntChainContractContent API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractcontent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainContractContentWithChan(request *CreateAntChainContractContentRequest) (<-chan *CreateAntChainContractContentResponse, <-chan error) {
+	responseChan := make(chan *CreateAntChainContractContentResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAntChainContractContent(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAntChainContractContentWithCallback invokes the baas.CreateAntChainContractContent API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractcontent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainContractContentWithCallback(request *CreateAntChainContractContentRequest, callback func(response *CreateAntChainContractContentResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAntChainContractContentResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAntChainContractContent(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAntChainContractContentRequest is the request struct for api CreateAntChainContractContent
+type CreateAntChainContractContentRequest struct {
+	*requests.RpcRequest
+	Content         string           `position:"Body" name:"Content"`
+	ParentContentId string           `position:"Body" name:"ParentContentId"`
+	ProjectId       string           `position:"Body" name:"ProjectId"`
+	ContentName     string           `position:"Body" name:"ContentName"`
+	IsDirectory     requests.Boolean `position:"Body" name:"IsDirectory"`
+}
+
+// CreateAntChainContractContentResponse is the response struct for api CreateAntChainContractContent
+type CreateAntChainContractContentResponse struct {
+	*responses.BaseResponse
+	RequestId string                                `json:"RequestId" xml:"RequestId"`
+	Result    ResultInCreateAntChainContractContent `json:"Result" xml:"Result"`
+}
+
+// CreateCreateAntChainContractContentRequest creates a request to invoke CreateAntChainContractContent API
+func CreateCreateAntChainContractContentRequest() (request *CreateAntChainContractContentRequest) {
+	request = &CreateAntChainContractContentRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateAntChainContractContent", "baas", "openAPI")
+	return
+}
+
+// CreateCreateAntChainContractContentResponse creates a response to parse from CreateAntChainContractContent response
+func CreateCreateAntChainContractContentResponse() (response *CreateAntChainContractContentResponse) {
+	response = &CreateAntChainContractContentResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/create_ant_chain_contract_project.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"
+)
+
+// CreateAntChainContractProject invokes the baas.CreateAntChainContractProject API synchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractproject.html
+func (client *Client) CreateAntChainContractProject(request *CreateAntChainContractProjectRequest) (response *CreateAntChainContractProjectResponse, err error) {
+	response = CreateCreateAntChainContractProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAntChainContractProjectWithChan invokes the baas.CreateAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainContractProjectWithChan(request *CreateAntChainContractProjectRequest) (<-chan *CreateAntChainContractProjectResponse, <-chan error) {
+	responseChan := make(chan *CreateAntChainContractProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAntChainContractProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAntChainContractProjectWithCallback invokes the baas.CreateAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/createantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAntChainContractProjectWithCallback(request *CreateAntChainContractProjectRequest, callback func(response *CreateAntChainContractProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAntChainContractProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAntChainContractProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAntChainContractProjectRequest is the request struct for api CreateAntChainContractProject
+type CreateAntChainContractProjectRequest struct {
+	*requests.RpcRequest
+	ProjectVersion     string `position:"Body" name:"ProjectVersion"`
+	ProjectName        string `position:"Body" name:"ProjectName"`
+	ProjectDescription string `position:"Body" name:"ProjectDescription"`
+	ConsortiumId       string `position:"Body" name:"ConsortiumId"`
+}
+
+// CreateAntChainContractProjectResponse is the response struct for api CreateAntChainContractProject
+type CreateAntChainContractProjectResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateCreateAntChainContractProjectRequest creates a request to invoke CreateAntChainContractProject API
+func CreateCreateAntChainContractProjectRequest() (request *CreateAntChainContractProjectRequest) {
+	request = &CreateAntChainContractProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateAntChainContractProject", "baas", "openAPI")
+	return
+}
+
+// CreateCreateAntChainContractProjectResponse creates a response to parse from CreateAntChainContractProject response
+func CreateCreateAntChainContractProjectResponse() (response *CreateAntChainContractProjectResponse) {
+	response = &CreateAntChainContractProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/baas/create_blockchain_apply.go

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

+ 0 - 112
services/baas/create_chaincode.go

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

+ 0 - 113
services/baas/create_channel.go

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

+ 0 - 112
services/baas/create_channel_member.go

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

+ 0 - 121
services/baas/create_consortium.go

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

+ 0 - 113
services/baas/create_consortium_member.go

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

+ 0 - 124
services/baas/create_ecosphere.go

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

+ 112 - 0
services/baas/create_fabric_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"
+)
+
+// CreateFabricChaincode invokes the baas.CreateFabricChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchaincode.html
+func (client *Client) CreateFabricChaincode(request *CreateFabricChaincodeRequest) (response *CreateFabricChaincodeResponse, err error) {
+	response = CreateCreateFabricChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricChaincodeWithChan invokes the baas.CreateFabricChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChaincodeWithChan(request *CreateFabricChaincodeRequest) (<-chan *CreateFabricChaincodeResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricChaincodeWithCallback invokes the baas.CreateFabricChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChaincodeWithCallback(request *CreateFabricChaincodeRequest, callback func(response *CreateFabricChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricChaincodeRequest is the request struct for api CreateFabricChaincode
+type CreateFabricChaincodeRequest struct {
+	*requests.RpcRequest
+	EndorsePolicy  string `position:"Body" name:"EndorsePolicy"`
+	OssBucket      string `position:"Body" name:"OssBucket"`
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	OssUrl         string `position:"Body" name:"OssUrl"`
+	Location       string `position:"Body" name:"Location"`
+	ChannelId      string `position:"Body" name:"ChannelId"`
+	ConsortiumId   string `position:"Body" name:"ConsortiumId"`
+}
+
+// CreateFabricChaincodeResponse is the response struct for api CreateFabricChaincode
+type CreateFabricChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string                        `json:"RequestId" xml:"RequestId"`
+	Success   bool                          `json:"Success" xml:"Success"`
+	ErrorCode int                           `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateFabricChaincode `json:"Result" xml:"Result"`
+}
+
+// CreateCreateFabricChaincodeRequest creates a request to invoke CreateFabricChaincode API
+func CreateCreateFabricChaincodeRequest() (request *CreateFabricChaincodeRequest) {
+	request = &CreateFabricChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricChaincode", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricChaincodeResponse creates a response to parse from CreateFabricChaincode response
+func CreateCreateFabricChaincodeResponse() (response *CreateFabricChaincodeResponse) {
+	response = &CreateFabricChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/baas/create_fabric_channel.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// CreateFabricChannel invokes the baas.CreateFabricChannel API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannel.html
+func (client *Client) CreateFabricChannel(request *CreateFabricChannelRequest) (response *CreateFabricChannelResponse, err error) {
+	response = CreateCreateFabricChannelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricChannelWithChan invokes the baas.CreateFabricChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChannelWithChan(request *CreateFabricChannelRequest) (<-chan *CreateFabricChannelResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricChannelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricChannel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricChannelWithCallback invokes the baas.CreateFabricChannel API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChannelWithCallback(request *CreateFabricChannelRequest, callback func(response *CreateFabricChannelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricChannelResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricChannel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricChannelRequest is the request struct for api CreateFabricChannel
+type CreateFabricChannelRequest struct {
+	*requests.RpcRequest
+	PreferredMaxBytes requests.Integer                   `position:"Body" name:"PreferredMaxBytes"`
+	MaxMessageCount   requests.Integer                   `position:"Body" name:"MaxMessageCount"`
+	ChannelName       string                             `position:"Query" name:"ChannelName"`
+	Organization      *[]CreateFabricChannelOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	BatchTimeout      requests.Integer                   `position:"Body" name:"BatchTimeout"`
+	ConsortiumId      string                             `position:"Query" name:"ConsortiumId"`
+}
+
+// CreateFabricChannelOrganization is a repeated param struct in CreateFabricChannelRequest
+type CreateFabricChannelOrganization struct {
+	Id string `name:"Id"`
+}
+
+// CreateFabricChannelResponse is the response struct for api CreateFabricChannel
+type CreateFabricChannelResponse struct {
+	*responses.BaseResponse
+	RequestId string                      `json:"RequestId" xml:"RequestId"`
+	Success   bool                        `json:"Success" xml:"Success"`
+	ErrorCode int                         `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateFabricChannel `json:"Result" xml:"Result"`
+}
+
+// CreateCreateFabricChannelRequest creates a request to invoke CreateFabricChannel API
+func CreateCreateFabricChannelRequest() (request *CreateFabricChannelRequest) {
+	request = &CreateFabricChannelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricChannel", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricChannelResponse creates a response to parse from CreateFabricChannel response
+func CreateCreateFabricChannelResponse() (response *CreateFabricChannelResponse) {
+	response = &CreateFabricChannelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/baas/create_fabric_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"
+)
+
+// CreateFabricChannelMember invokes the baas.CreateFabricChannelMember API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannelmember.html
+func (client *Client) CreateFabricChannelMember(request *CreateFabricChannelMemberRequest) (response *CreateFabricChannelMemberResponse, err error) {
+	response = CreateCreateFabricChannelMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricChannelMemberWithChan invokes the baas.CreateFabricChannelMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannelmember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChannelMemberWithChan(request *CreateFabricChannelMemberRequest) (<-chan *CreateFabricChannelMemberResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricChannelMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricChannelMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricChannelMemberWithCallback invokes the baas.CreateFabricChannelMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricchannelmember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricChannelMemberWithCallback(request *CreateFabricChannelMemberRequest, callback func(response *CreateFabricChannelMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricChannelMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricChannelMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricChannelMemberRequest is the request struct for api CreateFabricChannelMember
+type CreateFabricChannelMemberRequest struct {
+	*requests.RpcRequest
+	Organization *[]CreateFabricChannelMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ChannelId    string                                   `position:"Query" name:"ChannelId"`
+}
+
+// CreateFabricChannelMemberOrganization is a repeated param struct in CreateFabricChannelMemberRequest
+type CreateFabricChannelMemberOrganization struct {
+	OrganizationId string `name:"OrganizationId"`
+}
+
+// CreateFabricChannelMemberResponse is the response struct for api CreateFabricChannelMember
+type CreateFabricChannelMemberResponse 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"`
+}
+
+// CreateCreateFabricChannelMemberRequest creates a request to invoke CreateFabricChannelMember API
+func CreateCreateFabricChannelMemberRequest() (request *CreateFabricChannelMemberRequest) {
+	request = &CreateFabricChannelMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricChannelMember", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricChannelMemberResponse creates a response to parse from CreateFabricChannelMember response
+func CreateCreateFabricChannelMemberResponse() (response *CreateFabricChannelMemberResponse) {
+	response = &CreateFabricChannelMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 123 - 0
services/baas/create_fabric_consortium.go

@@ -0,0 +1,123 @@
+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"
+)
+
+// CreateFabricConsortium invokes the baas.CreateFabricConsortium API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortium.html
+func (client *Client) CreateFabricConsortium(request *CreateFabricConsortiumRequest) (response *CreateFabricConsortiumResponse, err error) {
+	response = CreateCreateFabricConsortiumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricConsortiumWithChan invokes the baas.CreateFabricConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricConsortiumWithChan(request *CreateFabricConsortiumRequest) (<-chan *CreateFabricConsortiumResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricConsortiumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricConsortium(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricConsortiumWithCallback invokes the baas.CreateFabricConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricConsortiumWithCallback(request *CreateFabricConsortiumRequest, callback func(response *CreateFabricConsortiumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricConsortiumResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricConsortium(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricConsortiumRequest is the request struct for api CreateFabricConsortium
+type CreateFabricConsortiumRequest struct {
+	*requests.RpcRequest
+	OrderersCount         requests.Integer                      `position:"Body" name:"OrderersCount"`
+	ConsortiumName        string                                `position:"Body" name:"ConsortiumName"`
+	SpecName              string                                `position:"Body" name:"SpecName"`
+	ChannelPolicy         string                                `position:"Body" name:"ChannelPolicy"`
+	PaymentDuration       requests.Integer                      `position:"Body" name:"PaymentDuration"`
+	Domain                string                                `position:"Body" name:"Domain"`
+	ConsortiumDescription string                                `position:"Body" name:"ConsortiumDescription"`
+	Organization          *[]CreateFabricConsortiumOrganization `position:"Body" name:"Organization"  type:"Repeated"`
+	OrdererType           string                                `position:"Body" name:"OrdererType"`
+	ZoneId                string                                `position:"Body" name:"ZoneId"`
+	Location              string                                `position:"Body" name:"Location"`
+	PaymentDurationUnit   string                                `position:"Body" name:"PaymentDurationUnit"`
+	PeersCount            requests.Integer                      `position:"Body" name:"PeersCount"`
+}
+
+// CreateFabricConsortiumOrganization is a repeated param struct in CreateFabricConsortiumRequest
+type CreateFabricConsortiumOrganization struct {
+	OrganizationId string `name:"OrganizationId"`
+}
+
+// CreateFabricConsortiumResponse is the response struct for api CreateFabricConsortium
+type CreateFabricConsortiumResponse struct {
+	*responses.BaseResponse
+	RequestId string                         `json:"RequestId" xml:"RequestId"`
+	Success   bool                           `json:"Success" xml:"Success"`
+	ErrorCode int                            `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateFabricConsortium `json:"Result" xml:"Result"`
+}
+
+// CreateCreateFabricConsortiumRequest creates a request to invoke CreateFabricConsortium API
+func CreateCreateFabricConsortiumRequest() (request *CreateFabricConsortiumRequest) {
+	request = &CreateFabricConsortiumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricConsortium", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricConsortiumResponse creates a response to parse from CreateFabricConsortium response
+func CreateCreateFabricConsortiumResponse() (response *CreateFabricConsortiumResponse) {
+	response = &CreateFabricConsortiumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/baas/create_fabric_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"
+)
+
+// CreateFabricConsortiumMember invokes the baas.CreateFabricConsortiumMember API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortiummember.html
+func (client *Client) CreateFabricConsortiumMember(request *CreateFabricConsortiumMemberRequest) (response *CreateFabricConsortiumMemberResponse, err error) {
+	response = CreateCreateFabricConsortiumMemberResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricConsortiumMemberWithChan invokes the baas.CreateFabricConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricConsortiumMemberWithChan(request *CreateFabricConsortiumMemberRequest) (<-chan *CreateFabricConsortiumMemberResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricConsortiumMemberResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricConsortiumMember(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricConsortiumMemberWithCallback invokes the baas.CreateFabricConsortiumMember API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricconsortiummember.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricConsortiumMemberWithCallback(request *CreateFabricConsortiumMemberRequest, callback func(response *CreateFabricConsortiumMemberResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricConsortiumMemberResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricConsortiumMember(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricConsortiumMemberRequest is the request struct for api CreateFabricConsortiumMember
+type CreateFabricConsortiumMemberRequest struct {
+	*requests.RpcRequest
+	Code         string                                      `position:"Query" name:"Code"`
+	Organization *[]CreateFabricConsortiumMemberOrganization `position:"Query" name:"Organization"  type:"Repeated"`
+	ConsortiumId string                                      `position:"Query" name:"ConsortiumId"`
+}
+
+// CreateFabricConsortiumMemberOrganization is a repeated param struct in CreateFabricConsortiumMemberRequest
+type CreateFabricConsortiumMemberOrganization struct {
+	OrganizationId string `name:"OrganizationId"`
+}
+
+// CreateFabricConsortiumMemberResponse is the response struct for api CreateFabricConsortiumMember
+type CreateFabricConsortiumMemberResponse 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"`
+}
+
+// CreateCreateFabricConsortiumMemberRequest creates a request to invoke CreateFabricConsortiumMember API
+func CreateCreateFabricConsortiumMemberRequest() (request *CreateFabricConsortiumMemberRequest) {
+	request = &CreateFabricConsortiumMemberRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricConsortiumMember", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricConsortiumMemberResponse creates a response to parse from CreateFabricConsortiumMember response
+func CreateCreateFabricConsortiumMemberResponse() (response *CreateFabricConsortiumMemberResponse) {
+	response = &CreateFabricConsortiumMemberResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/baas/create_fabric_organization.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"
+)
+
+// CreateFabricOrganization invokes the baas.CreateFabricOrganization API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganization.html
+func (client *Client) CreateFabricOrganization(request *CreateFabricOrganizationRequest) (response *CreateFabricOrganizationResponse, err error) {
+	response = CreateCreateFabricOrganizationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricOrganizationWithChan invokes the baas.CreateFabricOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricOrganizationWithChan(request *CreateFabricOrganizationRequest) (<-chan *CreateFabricOrganizationResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricOrganizationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricOrganization(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricOrganizationWithCallback invokes the baas.CreateFabricOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricOrganizationWithCallback(request *CreateFabricOrganizationRequest, callback func(response *CreateFabricOrganizationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricOrganizationResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricOrganization(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricOrganizationRequest is the request struct for api CreateFabricOrganization
+type CreateFabricOrganizationRequest struct {
+	*requests.RpcRequest
+	Description         string           `position:"Query" name:"Description"`
+	SpecName            string           `position:"Query" name:"SpecName"`
+	PaymentDuration     requests.Integer `position:"Body" name:"PaymentDuration"`
+	OrganizationName    string           `position:"Query" name:"OrganizationName"`
+	Domain              string           `position:"Query" name:"Domain"`
+	Location            string           `position:"Query" name:"Location"`
+	PaymentDurationUnit string           `position:"Body" name:"PaymentDurationUnit"`
+	PeersCount          requests.Integer `position:"Body" name:"PeersCount"`
+}
+
+// CreateFabricOrganizationResponse is the response struct for api CreateFabricOrganization
+type CreateFabricOrganizationResponse struct {
+	*responses.BaseResponse
+	RequestId string                           `json:"RequestId" xml:"RequestId"`
+	Success   bool                             `json:"Success" xml:"Success"`
+	ErrorCode int                              `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateFabricOrganization `json:"Result" xml:"Result"`
+}
+
+// CreateCreateFabricOrganizationRequest creates a request to invoke CreateFabricOrganization API
+func CreateCreateFabricOrganizationRequest() (request *CreateFabricOrganizationRequest) {
+	request = &CreateFabricOrganizationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricOrganization", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricOrganizationResponse creates a response to parse from CreateFabricOrganization response
+func CreateCreateFabricOrganizationResponse() (response *CreateFabricOrganizationResponse) {
+	response = &CreateFabricOrganizationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/baas/create_fabric_organization_user.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"
+)
+
+// CreateFabricOrganizationUser invokes the baas.CreateFabricOrganizationUser API synchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganizationuser.html
+func (client *Client) CreateFabricOrganizationUser(request *CreateFabricOrganizationUserRequest) (response *CreateFabricOrganizationUserResponse, err error) {
+	response = CreateCreateFabricOrganizationUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFabricOrganizationUserWithChan invokes the baas.CreateFabricOrganizationUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganizationuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricOrganizationUserWithChan(request *CreateFabricOrganizationUserRequest) (<-chan *CreateFabricOrganizationUserResponse, <-chan error) {
+	responseChan := make(chan *CreateFabricOrganizationUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFabricOrganizationUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFabricOrganizationUserWithCallback invokes the baas.CreateFabricOrganizationUser API asynchronously
+// api document: https://help.aliyun.com/api/baas/createfabricorganizationuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFabricOrganizationUserWithCallback(request *CreateFabricOrganizationUserRequest, callback func(response *CreateFabricOrganizationUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFabricOrganizationUserResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFabricOrganizationUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFabricOrganizationUserRequest is the request struct for api CreateFabricOrganizationUser
+type CreateFabricOrganizationUserRequest struct {
+	*requests.RpcRequest
+	Password       string `position:"Body" name:"Password"`
+	Attrs          string `position:"Body" name:"Attrs"`
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Username       string `position:"Body" name:"Username"`
+}
+
+// CreateFabricOrganizationUserResponse is the response struct for api CreateFabricOrganizationUser
+type CreateFabricOrganizationUserResponse struct {
+	*responses.BaseResponse
+	RequestId string                               `json:"RequestId" xml:"RequestId"`
+	Success   bool                                 `json:"Success" xml:"Success"`
+	ErrorCode int                                  `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInCreateFabricOrganizationUser `json:"Result" xml:"Result"`
+}
+
+// CreateCreateFabricOrganizationUserRequest creates a request to invoke CreateFabricOrganizationUser API
+func CreateCreateFabricOrganizationUserRequest() (request *CreateFabricOrganizationUserRequest) {
+	request = &CreateFabricOrganizationUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "CreateFabricOrganizationUser", "baas", "openAPI")
+	return
+}
+
+// CreateCreateFabricOrganizationUserResponse creates a response to parse from CreateFabricOrganizationUser response
+func CreateCreateFabricOrganizationUserResponse() (response *CreateFabricOrganizationUserResponse) {
+	response = &CreateFabricOrganizationUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 110
services/baas/create_organization.go

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

+ 104 - 0
services/baas/delete_ant_chain_consortium.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"
+)
+
+// DeleteAntChainConsortium invokes the baas.DeleteAntChainConsortium API synchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchainconsortium.html
+func (client *Client) DeleteAntChainConsortium(request *DeleteAntChainConsortiumRequest) (response *DeleteAntChainConsortiumResponse, err error) {
+	response = CreateDeleteAntChainConsortiumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteAntChainConsortiumWithChan invokes the baas.DeleteAntChainConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchainconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainConsortiumWithChan(request *DeleteAntChainConsortiumRequest) (<-chan *DeleteAntChainConsortiumResponse, <-chan error) {
+	responseChan := make(chan *DeleteAntChainConsortiumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteAntChainConsortium(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteAntChainConsortiumWithCallback invokes the baas.DeleteAntChainConsortium API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchainconsortium.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainConsortiumWithCallback(request *DeleteAntChainConsortiumRequest, callback func(response *DeleteAntChainConsortiumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteAntChainConsortiumResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteAntChainConsortium(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteAntChainConsortiumRequest is the request struct for api DeleteAntChainConsortium
+type DeleteAntChainConsortiumRequest struct {
+	*requests.RpcRequest
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DeleteAntChainConsortiumResponse is the response struct for api DeleteAntChainConsortium
+type DeleteAntChainConsortiumResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteAntChainConsortiumRequest creates a request to invoke DeleteAntChainConsortium API
+func CreateDeleteAntChainConsortiumRequest() (request *DeleteAntChainConsortiumRequest) {
+	request = &DeleteAntChainConsortiumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DeleteAntChainConsortium", "baas", "openAPI")
+	return
+}
+
+// CreateDeleteAntChainConsortiumResponse creates a response to parse from DeleteAntChainConsortium response
+func CreateDeleteAntChainConsortiumResponse() (response *DeleteAntChainConsortiumResponse) {
+	response = &DeleteAntChainConsortiumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/delete_ant_chain_contract_content.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"
+)
+
+// DeleteAntChainContractContent invokes the baas.DeleteAntChainContractContent API synchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractcontent.html
+func (client *Client) DeleteAntChainContractContent(request *DeleteAntChainContractContentRequest) (response *DeleteAntChainContractContentResponse, err error) {
+	response = CreateDeleteAntChainContractContentResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteAntChainContractContentWithChan invokes the baas.DeleteAntChainContractContent API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractcontent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainContractContentWithChan(request *DeleteAntChainContractContentRequest) (<-chan *DeleteAntChainContractContentResponse, <-chan error) {
+	responseChan := make(chan *DeleteAntChainContractContentResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteAntChainContractContent(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteAntChainContractContentWithCallback invokes the baas.DeleteAntChainContractContent API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractcontent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainContractContentWithCallback(request *DeleteAntChainContractContentRequest, callback func(response *DeleteAntChainContractContentResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteAntChainContractContentResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteAntChainContractContent(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteAntChainContractContentRequest is the request struct for api DeleteAntChainContractContent
+type DeleteAntChainContractContentRequest struct {
+	*requests.RpcRequest
+	ContentId string `position:"Body" name:"ContentId"`
+}
+
+// DeleteAntChainContractContentResponse is the response struct for api DeleteAntChainContractContent
+type DeleteAntChainContractContentResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteAntChainContractContentRequest creates a request to invoke DeleteAntChainContractContent API
+func CreateDeleteAntChainContractContentRequest() (request *DeleteAntChainContractContentRequest) {
+	request = &DeleteAntChainContractContentRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DeleteAntChainContractContent", "baas", "openAPI")
+	return
+}
+
+// CreateDeleteAntChainContractContentResponse creates a response to parse from DeleteAntChainContractContent response
+func CreateDeleteAntChainContractContentResponse() (response *DeleteAntChainContractContentResponse) {
+	response = &DeleteAntChainContractContentResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/delete_ant_chain_contract_project.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"
+)
+
+// DeleteAntChainContractProject invokes the baas.DeleteAntChainContractProject API synchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractproject.html
+func (client *Client) DeleteAntChainContractProject(request *DeleteAntChainContractProjectRequest) (response *DeleteAntChainContractProjectResponse, err error) {
+	response = CreateDeleteAntChainContractProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteAntChainContractProjectWithChan invokes the baas.DeleteAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainContractProjectWithChan(request *DeleteAntChainContractProjectRequest) (<-chan *DeleteAntChainContractProjectResponse, <-chan error) {
+	responseChan := make(chan *DeleteAntChainContractProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteAntChainContractProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteAntChainContractProjectWithCallback invokes the baas.DeleteAntChainContractProject API asynchronously
+// api document: https://help.aliyun.com/api/baas/deleteantchaincontractproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAntChainContractProjectWithCallback(request *DeleteAntChainContractProjectRequest, callback func(response *DeleteAntChainContractProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteAntChainContractProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteAntChainContractProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteAntChainContractProjectRequest is the request struct for api DeleteAntChainContractProject
+type DeleteAntChainContractProjectRequest struct {
+	*requests.RpcRequest
+	ProjectId string `position:"Body" name:"ProjectId"`
+}
+
+// DeleteAntChainContractProjectResponse is the response struct for api DeleteAntChainContractProject
+type DeleteAntChainContractProjectResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteAntChainContractProjectRequest creates a request to invoke DeleteAntChainContractProject API
+func CreateDeleteAntChainContractProjectRequest() (request *DeleteAntChainContractProjectRequest) {
+	request = &DeleteAntChainContractProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DeleteAntChainContractProject", "baas", "openAPI")
+	return
+}
+
+// CreateDeleteAntChainContractProjectResponse creates a response to parse from DeleteAntChainContractProject response
+func CreateDeleteAntChainContractProjectResponse() (response *DeleteAntChainContractProjectResponse) {
+	response = &DeleteAntChainContractProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 105
services/baas/delete_chaincode.go

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

+ 105 - 0
services/baas/delete_fabric_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"
+)
+
+// DeleteFabricChaincode invokes the baas.DeleteFabricChaincode API synchronously
+// api document: https://help.aliyun.com/api/baas/deletefabricchaincode.html
+func (client *Client) DeleteFabricChaincode(request *DeleteFabricChaincodeRequest) (response *DeleteFabricChaincodeResponse, err error) {
+	response = CreateDeleteFabricChaincodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFabricChaincodeWithChan invokes the baas.DeleteFabricChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/deletefabricchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFabricChaincodeWithChan(request *DeleteFabricChaincodeRequest) (<-chan *DeleteFabricChaincodeResponse, <-chan error) {
+	responseChan := make(chan *DeleteFabricChaincodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFabricChaincode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFabricChaincodeWithCallback invokes the baas.DeleteFabricChaincode API asynchronously
+// api document: https://help.aliyun.com/api/baas/deletefabricchaincode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFabricChaincodeWithCallback(request *DeleteFabricChaincodeRequest, callback func(response *DeleteFabricChaincodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFabricChaincodeResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFabricChaincode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFabricChaincodeRequest is the request struct for api DeleteFabricChaincode
+type DeleteFabricChaincodeRequest struct {
+	*requests.RpcRequest
+	ChaincodeId string `position:"Body" name:"ChaincodeId"`
+}
+
+// DeleteFabricChaincodeResponse is the response struct for api DeleteFabricChaincode
+type DeleteFabricChaincodeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorCode int    `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateDeleteFabricChaincodeRequest creates a request to invoke DeleteFabricChaincode API
+func CreateDeleteFabricChaincodeRequest() (request *DeleteFabricChaincodeRequest) {
+	request = &DeleteFabricChaincodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DeleteFabricChaincode", "baas", "openAPI")
+	return
+}
+
+// CreateDeleteFabricChaincodeResponse creates a response to parse from DeleteFabricChaincode response
+func CreateDeleteFabricChaincodeResponse() (response *DeleteFabricChaincodeResponse) {
+	response = &DeleteFabricChaincodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_ant_chain_accounts.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"
+)
+
+// DescribeAntChainAccounts invokes the baas.DescribeAntChainAccounts API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainaccounts.html
+func (client *Client) DescribeAntChainAccounts(request *DescribeAntChainAccountsRequest) (response *DescribeAntChainAccountsResponse, err error) {
+	response = CreateDescribeAntChainAccountsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainAccountsWithChan invokes the baas.DescribeAntChainAccounts API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainaccounts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainAccountsWithChan(request *DescribeAntChainAccountsRequest) (<-chan *DescribeAntChainAccountsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainAccountsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainAccounts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainAccountsWithCallback invokes the baas.DescribeAntChainAccounts API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainaccounts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainAccountsWithCallback(request *DescribeAntChainAccountsRequest, callback func(response *DescribeAntChainAccountsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainAccountsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainAccounts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainAccountsRequest is the request struct for api DescribeAntChainAccounts
+type DescribeAntChainAccountsRequest struct {
+	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Body" name:"PageSize"`
+	AntChainId string           `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainAccountsResponse is the response struct for api DescribeAntChainAccounts
+type DescribeAntChainAccountsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainAccountsRequest creates a request to invoke DescribeAntChainAccounts API
+func CreateDescribeAntChainAccountsRequest() (request *DescribeAntChainAccountsRequest) {
+	request = &DescribeAntChainAccountsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainAccounts", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainAccountsResponse creates a response to parse from DescribeAntChainAccounts response
+func CreateDescribeAntChainAccountsResponse() (response *DescribeAntChainAccountsResponse) {
+	response = &DescribeAntChainAccountsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_ant_chain_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"
+)
+
+// DescribeAntChainBlock invokes the baas.DescribeAntChainBlock API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainblock.html
+func (client *Client) DescribeAntChainBlock(request *DescribeAntChainBlockRequest) (response *DescribeAntChainBlockResponse, err error) {
+	response = CreateDescribeAntChainBlockResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainBlockWithChan invokes the baas.DescribeAntChainBlock API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainblock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainBlockWithChan(request *DescribeAntChainBlockRequest) (<-chan *DescribeAntChainBlockResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainBlockResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainBlock(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainBlockWithCallback invokes the baas.DescribeAntChainBlock API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainblock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainBlockWithCallback(request *DescribeAntChainBlockRequest, callback func(response *DescribeAntChainBlockResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainBlockResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainBlock(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainBlockRequest is the request struct for api DescribeAntChainBlock
+type DescribeAntChainBlockRequest struct {
+	*requests.RpcRequest
+	AntChainId string           `position:"Body" name:"AntChainId"`
+	Height     requests.Integer `position:"Body" name:"Height"`
+}
+
+// DescribeAntChainBlockResponse is the response struct for api DescribeAntChainBlock
+type DescribeAntChainBlockResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainBlockRequest creates a request to invoke DescribeAntChainBlock API
+func CreateDescribeAntChainBlockRequest() (request *DescribeAntChainBlockRequest) {
+	request = &DescribeAntChainBlockRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainBlock", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainBlockResponse creates a response to parse from DescribeAntChainBlock response
+func CreateDescribeAntChainBlockResponse() (response *DescribeAntChainBlockResponse) {
+	response = &DescribeAntChainBlockResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_ant_chain_certificate_applications.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"
+)
+
+// DescribeAntChainCertificateApplications invokes the baas.DescribeAntChainCertificateApplications API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincertificateapplications.html
+func (client *Client) DescribeAntChainCertificateApplications(request *DescribeAntChainCertificateApplicationsRequest) (response *DescribeAntChainCertificateApplicationsResponse, err error) {
+	response = CreateDescribeAntChainCertificateApplicationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainCertificateApplicationsWithChan invokes the baas.DescribeAntChainCertificateApplications API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincertificateapplications.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainCertificateApplicationsWithChan(request *DescribeAntChainCertificateApplicationsRequest) (<-chan *DescribeAntChainCertificateApplicationsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainCertificateApplicationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainCertificateApplications(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainCertificateApplicationsWithCallback invokes the baas.DescribeAntChainCertificateApplications API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincertificateapplications.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainCertificateApplicationsWithCallback(request *DescribeAntChainCertificateApplicationsRequest, callback func(response *DescribeAntChainCertificateApplicationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainCertificateApplicationsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainCertificateApplications(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainCertificateApplicationsRequest is the request struct for api DescribeAntChainCertificateApplications
+type DescribeAntChainCertificateApplicationsRequest struct {
+	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
+	AntChainId string           `position:"Body" name:"AntChainId"`
+	PageSize   requests.Integer `position:"Body" name:"PageSize"`
+	Status     string           `position:"Body" name:"Status"`
+}
+
+// DescribeAntChainCertificateApplicationsResponse is the response struct for api DescribeAntChainCertificateApplications
+type DescribeAntChainCertificateApplicationsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainCertificateApplicationsRequest creates a request to invoke DescribeAntChainCertificateApplications API
+func CreateDescribeAntChainCertificateApplicationsRequest() (request *DescribeAntChainCertificateApplicationsRequest) {
+	request = &DescribeAntChainCertificateApplicationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainCertificateApplications", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainCertificateApplicationsResponse creates a response to parse from DescribeAntChainCertificateApplications response
+func CreateDescribeAntChainCertificateApplicationsResponse() (response *DescribeAntChainCertificateApplicationsResponse) {
+	response = &DescribeAntChainCertificateApplicationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_ant_chain_consortiums.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"
+)
+
+// DescribeAntChainConsortiums invokes the baas.DescribeAntChainConsortiums API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainconsortiums.html
+func (client *Client) DescribeAntChainConsortiums(request *DescribeAntChainConsortiumsRequest) (response *DescribeAntChainConsortiumsResponse, err error) {
+	response = CreateDescribeAntChainConsortiumsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainConsortiumsWithChan invokes the baas.DescribeAntChainConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainConsortiumsWithChan(request *DescribeAntChainConsortiumsRequest) (<-chan *DescribeAntChainConsortiumsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainConsortiumsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainConsortiums(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainConsortiumsWithCallback invokes the baas.DescribeAntChainConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainConsortiumsWithCallback(request *DescribeAntChainConsortiumsRequest, callback func(response *DescribeAntChainConsortiumsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainConsortiumsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainConsortiums(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainConsortiumsRequest is the request struct for api DescribeAntChainConsortiums
+type DescribeAntChainConsortiumsRequest struct {
+	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Body" name:"PageSize"`
+}
+
+// DescribeAntChainConsortiumsResponse is the response struct for api DescribeAntChainConsortiums
+type DescribeAntChainConsortiumsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainConsortiumsRequest creates a request to invoke DescribeAntChainConsortiums API
+func CreateDescribeAntChainConsortiumsRequest() (request *DescribeAntChainConsortiumsRequest) {
+	request = &DescribeAntChainConsortiumsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainConsortiums", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainConsortiumsResponse creates a response to parse from DescribeAntChainConsortiums response
+func CreateDescribeAntChainConsortiumsResponse() (response *DescribeAntChainConsortiumsResponse) {
+	response = &DescribeAntChainConsortiumsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_contract_project_content_tree.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"
+)
+
+// DescribeAntChainContractProjectContentTree invokes the baas.DescribeAntChainContractProjectContentTree API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojectcontenttree.html
+func (client *Client) DescribeAntChainContractProjectContentTree(request *DescribeAntChainContractProjectContentTreeRequest) (response *DescribeAntChainContractProjectContentTreeResponse, err error) {
+	response = CreateDescribeAntChainContractProjectContentTreeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainContractProjectContentTreeWithChan invokes the baas.DescribeAntChainContractProjectContentTree API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojectcontenttree.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainContractProjectContentTreeWithChan(request *DescribeAntChainContractProjectContentTreeRequest) (<-chan *DescribeAntChainContractProjectContentTreeResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainContractProjectContentTreeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainContractProjectContentTree(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainContractProjectContentTreeWithCallback invokes the baas.DescribeAntChainContractProjectContentTree API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojectcontenttree.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainContractProjectContentTreeWithCallback(request *DescribeAntChainContractProjectContentTreeRequest, callback func(response *DescribeAntChainContractProjectContentTreeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainContractProjectContentTreeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainContractProjectContentTree(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainContractProjectContentTreeRequest is the request struct for api DescribeAntChainContractProjectContentTree
+type DescribeAntChainContractProjectContentTreeRequest struct {
+	*requests.RpcRequest
+	ProjectId string `position:"Body" name:"ProjectId"`
+}
+
+// DescribeAntChainContractProjectContentTreeResponse is the response struct for api DescribeAntChainContractProjectContentTree
+type DescribeAntChainContractProjectContentTreeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainContractProjectContentTreeRequest creates a request to invoke DescribeAntChainContractProjectContentTree API
+func CreateDescribeAntChainContractProjectContentTreeRequest() (request *DescribeAntChainContractProjectContentTreeRequest) {
+	request = &DescribeAntChainContractProjectContentTreeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainContractProjectContentTree", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainContractProjectContentTreeResponse creates a response to parse from DescribeAntChainContractProjectContentTree response
+func CreateDescribeAntChainContractProjectContentTreeResponse() (response *DescribeAntChainContractProjectContentTreeResponse) {
+	response = &DescribeAntChainContractProjectContentTreeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_ant_chain_contract_projects.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"
+)
+
+// DescribeAntChainContractProjects invokes the baas.DescribeAntChainContractProjects API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojects.html
+func (client *Client) DescribeAntChainContractProjects(request *DescribeAntChainContractProjectsRequest) (response *DescribeAntChainContractProjectsResponse, err error) {
+	response = CreateDescribeAntChainContractProjectsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainContractProjectsWithChan invokes the baas.DescribeAntChainContractProjects API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojects.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainContractProjectsWithChan(request *DescribeAntChainContractProjectsRequest) (<-chan *DescribeAntChainContractProjectsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainContractProjectsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainContractProjects(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainContractProjectsWithCallback invokes the baas.DescribeAntChainContractProjects API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaincontractprojects.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainContractProjectsWithCallback(request *DescribeAntChainContractProjectsRequest, callback func(response *DescribeAntChainContractProjectsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainContractProjectsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainContractProjects(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainContractProjectsRequest is the request struct for api DescribeAntChainContractProjects
+type DescribeAntChainContractProjectsRequest struct {
+	*requests.RpcRequest
+	PageNumber   requests.Integer `position:"Body" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Body" name:"PageSize"`
+	ConsortiumId string           `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeAntChainContractProjectsResponse is the response struct for api DescribeAntChainContractProjects
+type DescribeAntChainContractProjectsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainContractProjectsRequest creates a request to invoke DescribeAntChainContractProjects API
+func CreateDescribeAntChainContractProjectsRequest() (request *DescribeAntChainContractProjectsRequest) {
+	request = &DescribeAntChainContractProjectsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainContractProjects", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainContractProjectsResponse creates a response to parse from DescribeAntChainContractProjects response
+func CreateDescribeAntChainContractProjectsResponse() (response *DescribeAntChainContractProjectsResponse) {
+	response = &DescribeAntChainContractProjectsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_download_paths.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"
+)
+
+// DescribeAntChainDownloadPaths invokes the baas.DescribeAntChainDownloadPaths API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaindownloadpaths.html
+func (client *Client) DescribeAntChainDownloadPaths(request *DescribeAntChainDownloadPathsRequest) (response *DescribeAntChainDownloadPathsResponse, err error) {
+	response = CreateDescribeAntChainDownloadPathsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainDownloadPathsWithChan invokes the baas.DescribeAntChainDownloadPaths API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaindownloadpaths.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainDownloadPathsWithChan(request *DescribeAntChainDownloadPathsRequest) (<-chan *DescribeAntChainDownloadPathsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainDownloadPathsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainDownloadPaths(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainDownloadPathsWithCallback invokes the baas.DescribeAntChainDownloadPaths API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaindownloadpaths.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainDownloadPathsWithCallback(request *DescribeAntChainDownloadPathsRequest, callback func(response *DescribeAntChainDownloadPathsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainDownloadPathsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainDownloadPaths(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainDownloadPathsRequest is the request struct for api DescribeAntChainDownloadPaths
+type DescribeAntChainDownloadPathsRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainDownloadPathsResponse is the response struct for api DescribeAntChainDownloadPaths
+type DescribeAntChainDownloadPathsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainDownloadPathsRequest creates a request to invoke DescribeAntChainDownloadPaths API
+func CreateDescribeAntChainDownloadPathsRequest() (request *DescribeAntChainDownloadPathsRequest) {
+	request = &DescribeAntChainDownloadPathsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainDownloadPaths", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainDownloadPathsResponse creates a response to parse from DescribeAntChainDownloadPaths response
+func CreateDescribeAntChainDownloadPathsResponse() (response *DescribeAntChainDownloadPathsResponse) {
+	response = &DescribeAntChainDownloadPathsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_information.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"
+)
+
+// DescribeAntChainInformation invokes the baas.DescribeAntChainInformation API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaininformation.html
+func (client *Client) DescribeAntChainInformation(request *DescribeAntChainInformationRequest) (response *DescribeAntChainInformationResponse, err error) {
+	response = CreateDescribeAntChainInformationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainInformationWithChan invokes the baas.DescribeAntChainInformation API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaininformation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainInformationWithChan(request *DescribeAntChainInformationRequest) (<-chan *DescribeAntChainInformationResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainInformationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainInformation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainInformationWithCallback invokes the baas.DescribeAntChainInformation API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaininformation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainInformationWithCallback(request *DescribeAntChainInformationRequest, callback func(response *DescribeAntChainInformationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainInformationResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainInformation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainInformationRequest is the request struct for api DescribeAntChainInformation
+type DescribeAntChainInformationRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainInformationResponse is the response struct for api DescribeAntChainInformation
+type DescribeAntChainInformationResponse struct {
+	*responses.BaseResponse
+	RequestId string                              `json:"RequestId" xml:"RequestId"`
+	Result    ResultInDescribeAntChainInformation `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainInformationRequest creates a request to invoke DescribeAntChainInformation API
+func CreateDescribeAntChainInformationRequest() (request *DescribeAntChainInformationRequest) {
+	request = &DescribeAntChainInformationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainInformation", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainInformationResponse creates a response to parse from DescribeAntChainInformation response
+func CreateDescribeAntChainInformationResponse() (response *DescribeAntChainInformationResponse) {
+	response = &DescribeAntChainInformationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_latest_blocks.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"
+)
+
+// DescribeAntChainLatestBlocks invokes the baas.DescribeAntChainLatestBlocks API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatestblocks.html
+func (client *Client) DescribeAntChainLatestBlocks(request *DescribeAntChainLatestBlocksRequest) (response *DescribeAntChainLatestBlocksResponse, err error) {
+	response = CreateDescribeAntChainLatestBlocksResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainLatestBlocksWithChan invokes the baas.DescribeAntChainLatestBlocks API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatestblocks.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainLatestBlocksWithChan(request *DescribeAntChainLatestBlocksRequest) (<-chan *DescribeAntChainLatestBlocksResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainLatestBlocksResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainLatestBlocks(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainLatestBlocksWithCallback invokes the baas.DescribeAntChainLatestBlocks API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatestblocks.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainLatestBlocksWithCallback(request *DescribeAntChainLatestBlocksRequest, callback func(response *DescribeAntChainLatestBlocksResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainLatestBlocksResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainLatestBlocks(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainLatestBlocksRequest is the request struct for api DescribeAntChainLatestBlocks
+type DescribeAntChainLatestBlocksRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainLatestBlocksResponse is the response struct for api DescribeAntChainLatestBlocks
+type DescribeAntChainLatestBlocksResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Result    []map[string]interface{} `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainLatestBlocksRequest creates a request to invoke DescribeAntChainLatestBlocks API
+func CreateDescribeAntChainLatestBlocksRequest() (request *DescribeAntChainLatestBlocksRequest) {
+	request = &DescribeAntChainLatestBlocksRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainLatestBlocks", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainLatestBlocksResponse creates a response to parse from DescribeAntChainLatestBlocks response
+func CreateDescribeAntChainLatestBlocksResponse() (response *DescribeAntChainLatestBlocksResponse) {
+	response = &DescribeAntChainLatestBlocksResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_latest_transaction_digests.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"
+)
+
+// DescribeAntChainLatestTransactionDigests invokes the baas.DescribeAntChainLatestTransactionDigests API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatesttransactiondigests.html
+func (client *Client) DescribeAntChainLatestTransactionDigests(request *DescribeAntChainLatestTransactionDigestsRequest) (response *DescribeAntChainLatestTransactionDigestsResponse, err error) {
+	response = CreateDescribeAntChainLatestTransactionDigestsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainLatestTransactionDigestsWithChan invokes the baas.DescribeAntChainLatestTransactionDigests API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatesttransactiondigests.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainLatestTransactionDigestsWithChan(request *DescribeAntChainLatestTransactionDigestsRequest) (<-chan *DescribeAntChainLatestTransactionDigestsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainLatestTransactionDigestsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainLatestTransactionDigests(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainLatestTransactionDigestsWithCallback invokes the baas.DescribeAntChainLatestTransactionDigests API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainlatesttransactiondigests.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainLatestTransactionDigestsWithCallback(request *DescribeAntChainLatestTransactionDigestsRequest, callback func(response *DescribeAntChainLatestTransactionDigestsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainLatestTransactionDigestsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainLatestTransactionDigests(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainLatestTransactionDigestsRequest is the request struct for api DescribeAntChainLatestTransactionDigests
+type DescribeAntChainLatestTransactionDigestsRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainLatestTransactionDigestsResponse is the response struct for api DescribeAntChainLatestTransactionDigests
+type DescribeAntChainLatestTransactionDigestsResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Result    []map[string]interface{} `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainLatestTransactionDigestsRequest creates a request to invoke DescribeAntChainLatestTransactionDigests API
+func CreateDescribeAntChainLatestTransactionDigestsRequest() (request *DescribeAntChainLatestTransactionDigestsRequest) {
+	request = &DescribeAntChainLatestTransactionDigestsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainLatestTransactionDigests", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainLatestTransactionDigestsResponse creates a response to parse from DescribeAntChainLatestTransactionDigests response
+func CreateDescribeAntChainLatestTransactionDigestsResponse() (response *DescribeAntChainLatestTransactionDigestsResponse) {
+	response = &DescribeAntChainLatestTransactionDigestsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_ant_chain_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"
+)
+
+// DescribeAntChainMembers invokes the baas.DescribeAntChainMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainmembers.html
+func (client *Client) DescribeAntChainMembers(request *DescribeAntChainMembersRequest) (response *DescribeAntChainMembersResponse, err error) {
+	response = CreateDescribeAntChainMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainMembersWithChan invokes the baas.DescribeAntChainMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainMembersWithChan(request *DescribeAntChainMembersRequest) (<-chan *DescribeAntChainMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainMembersWithCallback invokes the baas.DescribeAntChainMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainMembersWithCallback(request *DescribeAntChainMembersRequest, callback func(response *DescribeAntChainMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainMembersRequest is the request struct for api DescribeAntChainMembers
+type DescribeAntChainMembersRequest struct {
+	*requests.RpcRequest
+	PageNumber   requests.Integer `position:"Body" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Body" name:"PageSize"`
+	ConsortiumId string           `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeAntChainMembersResponse is the response struct for api DescribeAntChainMembers
+type DescribeAntChainMembersResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainMembersRequest creates a request to invoke DescribeAntChainMembers API
+func CreateDescribeAntChainMembersRequest() (request *DescribeAntChainMembersRequest) {
+	request = &DescribeAntChainMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainMembers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainMembersResponse creates a response to parse from DescribeAntChainMembers response
+func CreateDescribeAntChainMembersResponse() (response *DescribeAntChainMembersResponse) {
+	response = &DescribeAntChainMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/baas/describe_ant_chain_nodes.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"
+)
+
+// DescribeAntChainNodes invokes the baas.DescribeAntChainNodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainnodes.html
+func (client *Client) DescribeAntChainNodes(request *DescribeAntChainNodesRequest) (response *DescribeAntChainNodesResponse, err error) {
+	response = CreateDescribeAntChainNodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainNodesWithChan invokes the baas.DescribeAntChainNodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainnodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainNodesWithChan(request *DescribeAntChainNodesRequest) (<-chan *DescribeAntChainNodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainNodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainNodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainNodesWithCallback invokes the baas.DescribeAntChainNodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchainnodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainNodesWithCallback(request *DescribeAntChainNodesRequest, callback func(response *DescribeAntChainNodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainNodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainNodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainNodesRequest is the request struct for api DescribeAntChainNodes
+type DescribeAntChainNodesRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+}
+
+// DescribeAntChainNodesResponse is the response struct for api DescribeAntChainNodes
+type DescribeAntChainNodesResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Result    []map[string]interface{} `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainNodesRequest creates a request to invoke DescribeAntChainNodes API
+func CreateDescribeAntChainNodesRequest() (request *DescribeAntChainNodesRequest) {
+	request = &DescribeAntChainNodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainNodes", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainNodesResponse creates a response to parse from DescribeAntChainNodes response
+func CreateDescribeAntChainNodesResponse() (response *DescribeAntChainNodesResponse) {
+	response = &DescribeAntChainNodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_ant_chain_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"
+)
+
+// DescribeAntChainTransaction invokes the baas.DescribeAntChainTransaction API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransaction.html
+func (client *Client) DescribeAntChainTransaction(request *DescribeAntChainTransactionRequest) (response *DescribeAntChainTransactionResponse, err error) {
+	response = CreateDescribeAntChainTransactionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainTransactionWithChan invokes the baas.DescribeAntChainTransaction API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransaction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionWithChan(request *DescribeAntChainTransactionRequest) (<-chan *DescribeAntChainTransactionResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainTransactionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainTransaction(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainTransactionWithCallback invokes the baas.DescribeAntChainTransaction API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransaction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionWithCallback(request *DescribeAntChainTransactionRequest, callback func(response *DescribeAntChainTransactionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainTransactionResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainTransaction(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainTransactionRequest is the request struct for api DescribeAntChainTransaction
+type DescribeAntChainTransactionRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+	Hash       string `position:"Body" name:"Hash"`
+}
+
+// DescribeAntChainTransactionResponse is the response struct for api DescribeAntChainTransaction
+type DescribeAntChainTransactionResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainTransactionRequest creates a request to invoke DescribeAntChainTransaction API
+func CreateDescribeAntChainTransactionRequest() (request *DescribeAntChainTransactionRequest) {
+	request = &DescribeAntChainTransactionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainTransaction", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainTransactionResponse creates a response to parse from DescribeAntChainTransaction response
+func CreateDescribeAntChainTransactionResponse() (response *DescribeAntChainTransactionResponse) {
+	response = &DescribeAntChainTransactionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_ant_chain_transaction_receipt.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"
+)
+
+// DescribeAntChainTransactionReceipt invokes the baas.DescribeAntChainTransactionReceipt API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionreceipt.html
+func (client *Client) DescribeAntChainTransactionReceipt(request *DescribeAntChainTransactionReceiptRequest) (response *DescribeAntChainTransactionReceiptResponse, err error) {
+	response = CreateDescribeAntChainTransactionReceiptResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainTransactionReceiptWithChan invokes the baas.DescribeAntChainTransactionReceipt API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionreceipt.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionReceiptWithChan(request *DescribeAntChainTransactionReceiptRequest) (<-chan *DescribeAntChainTransactionReceiptResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainTransactionReceiptResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainTransactionReceipt(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainTransactionReceiptWithCallback invokes the baas.DescribeAntChainTransactionReceipt API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionreceipt.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionReceiptWithCallback(request *DescribeAntChainTransactionReceiptRequest, callback func(response *DescribeAntChainTransactionReceiptResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainTransactionReceiptResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainTransactionReceipt(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainTransactionReceiptRequest is the request struct for api DescribeAntChainTransactionReceipt
+type DescribeAntChainTransactionReceiptRequest struct {
+	*requests.RpcRequest
+	AntChainId string `position:"Body" name:"AntChainId"`
+	Hash       string `position:"Body" name:"Hash"`
+}
+
+// DescribeAntChainTransactionReceiptResponse is the response struct for api DescribeAntChainTransactionReceipt
+type DescribeAntChainTransactionReceiptResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainTransactionReceiptRequest creates a request to invoke DescribeAntChainTransactionReceipt API
+func CreateDescribeAntChainTransactionReceiptRequest() (request *DescribeAntChainTransactionReceiptRequest) {
+	request = &DescribeAntChainTransactionReceiptRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainTransactionReceipt", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainTransactionReceiptResponse creates a response to parse from DescribeAntChainTransactionReceipt response
+func CreateDescribeAntChainTransactionReceiptResponse() (response *DescribeAntChainTransactionReceiptResponse) {
+	response = &DescribeAntChainTransactionReceiptResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_ant_chain_transaction_statistics.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"
+)
+
+// DescribeAntChainTransactionStatistics invokes the baas.DescribeAntChainTransactionStatistics API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionstatistics.html
+func (client *Client) DescribeAntChainTransactionStatistics(request *DescribeAntChainTransactionStatisticsRequest) (response *DescribeAntChainTransactionStatisticsResponse, err error) {
+	response = CreateDescribeAntChainTransactionStatisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainTransactionStatisticsWithChan invokes the baas.DescribeAntChainTransactionStatistics API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionStatisticsWithChan(request *DescribeAntChainTransactionStatisticsRequest) (<-chan *DescribeAntChainTransactionStatisticsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainTransactionStatisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChainTransactionStatistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainTransactionStatisticsWithCallback invokes the baas.DescribeAntChainTransactionStatistics API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchaintransactionstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainTransactionStatisticsWithCallback(request *DescribeAntChainTransactionStatisticsRequest, callback func(response *DescribeAntChainTransactionStatisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainTransactionStatisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChainTransactionStatistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainTransactionStatisticsRequest is the request struct for api DescribeAntChainTransactionStatistics
+type DescribeAntChainTransactionStatisticsRequest struct {
+	*requests.RpcRequest
+	Start      requests.Integer `position:"Body" name:"Start"`
+	AntChainId string           `position:"Body" name:"AntChainId"`
+	End        requests.Integer `position:"Body" name:"End"`
+}
+
+// DescribeAntChainTransactionStatisticsResponse is the response struct for api DescribeAntChainTransactionStatistics
+type DescribeAntChainTransactionStatisticsResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainTransactionStatisticsRequest creates a request to invoke DescribeAntChainTransactionStatistics API
+func CreateDescribeAntChainTransactionStatisticsRequest() (request *DescribeAntChainTransactionStatisticsRequest) {
+	request = &DescribeAntChainTransactionStatisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChainTransactionStatistics", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainTransactionStatisticsResponse creates a response to parse from DescribeAntChainTransactionStatistics response
+func CreateDescribeAntChainTransactionStatisticsResponse() (response *DescribeAntChainTransactionStatisticsResponse) {
+	response = &DescribeAntChainTransactionStatisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_ant_chains.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"
+)
+
+// DescribeAntChains invokes the baas.DescribeAntChains API synchronously
+// api document: https://help.aliyun.com/api/baas/describeantchains.html
+func (client *Client) DescribeAntChains(request *DescribeAntChainsRequest) (response *DescribeAntChainsResponse, err error) {
+	response = CreateDescribeAntChainsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAntChainsWithChan invokes the baas.DescribeAntChains API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainsWithChan(request *DescribeAntChainsRequest) (<-chan *DescribeAntChainsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAntChainsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAntChains(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAntChainsWithCallback invokes the baas.DescribeAntChains API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeantchains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAntChainsWithCallback(request *DescribeAntChainsRequest, callback func(response *DescribeAntChainsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAntChainsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAntChains(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAntChainsRequest is the request struct for api DescribeAntChains
+type DescribeAntChainsRequest struct {
+	*requests.RpcRequest
+	PageNumber   requests.Integer `position:"Body" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Body" name:"PageSize"`
+	ConsortiumId string           `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeAntChainsResponse is the response struct for api DescribeAntChains
+type DescribeAntChainsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeAntChainsRequest creates a request to invoke DescribeAntChains API
+func CreateDescribeAntChainsRequest() (request *DescribeAntChainsRequest) {
+	request = &DescribeAntChainsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeAntChains", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeAntChainsResponse creates a response to parse from DescribeAntChains response
+func CreateDescribeAntChainsResponse() (response *DescribeAntChainsResponse) {
+	response = &DescribeAntChainsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/baas/describe_applies.go

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

+ 0 - 104
services/baas/describe_bc_schema.go

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

+ 0 - 105
services/baas/describe_blockchain_create_task.go

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

+ 0 - 104
services/baas/describe_blockchain_info.go

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

+ 0 - 106
services/baas/describe_candidate_organizations.go

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

+ 0 - 106
services/baas/describe_chaincode_upload_policy.go

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

+ 0 - 106
services/baas/describe_channel_members.go

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

+ 0 - 106
services/baas/describe_consortium_admin_status.go

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

+ 0 - 107
services/baas/describe_consortium_chaincodes.go

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

+ 0 - 107
services/baas/describe_consortium_channels.go

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

+ 0 - 105
services/baas/describe_consortium_config.go

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

+ 0 - 107
services/baas/describe_consortium_deletable.go

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

+ 0 - 107
services/baas/describe_consortium_member_approval.go

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

+ 0 - 107
services/baas/describe_consortium_members.go

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

+ 0 - 107
services/baas/describe_consortium_orderers.go

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

+ 0 - 105
services/baas/describe_consortium_specs.go

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

+ 0 - 107
services/baas/describe_consortiums.go

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

+ 0 - 105
services/baas/describe_ecosphere_specs.go

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

+ 106 - 0
services/baas/describe_ethereum_deletable.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"
+)
+
+// DescribeEthereumDeletable invokes the baas.DescribeEthereumDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/describeethereumdeletable.html
+func (client *Client) DescribeEthereumDeletable(request *DescribeEthereumDeletableRequest) (response *DescribeEthereumDeletableResponse, err error) {
+	response = CreateDescribeEthereumDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEthereumDeletableWithChan invokes the baas.DescribeEthereumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeethereumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEthereumDeletableWithChan(request *DescribeEthereumDeletableRequest) (<-chan *DescribeEthereumDeletableResponse, <-chan error) {
+	responseChan := make(chan *DescribeEthereumDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEthereumDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEthereumDeletableWithCallback invokes the baas.DescribeEthereumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describeethereumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEthereumDeletableWithCallback(request *DescribeEthereumDeletableRequest, callback func(response *DescribeEthereumDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEthereumDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEthereumDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEthereumDeletableRequest is the request struct for api DescribeEthereumDeletable
+type DescribeEthereumDeletableRequest struct {
+	*requests.RpcRequest
+	EthereumId string `position:"Body" name:"EthereumId"`
+}
+
+// DescribeEthereumDeletableResponse is the response struct for api DescribeEthereumDeletable
+type DescribeEthereumDeletableResponse 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"`
+}
+
+// CreateDescribeEthereumDeletableRequest creates a request to invoke DescribeEthereumDeletable API
+func CreateDescribeEthereumDeletableRequest() (request *DescribeEthereumDeletableRequest) {
+	request = &DescribeEthereumDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeEthereumDeletable", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeEthereumDeletableResponse creates a response to parse from DescribeEthereumDeletable response
+func CreateDescribeEthereumDeletableResponse() (response *DescribeEthereumDeletableResponse) {
+	response = &DescribeEthereumDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricCandidateOrganizations invokes the baas.DescribeFabricCandidateOrganizations API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabriccandidateorganizations.html
+func (client *Client) DescribeFabricCandidateOrganizations(request *DescribeFabricCandidateOrganizationsRequest) (response *DescribeFabricCandidateOrganizationsResponse, err error) {
+	response = CreateDescribeFabricCandidateOrganizationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricCandidateOrganizationsWithChan invokes the baas.DescribeFabricCandidateOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabriccandidateorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricCandidateOrganizationsWithChan(request *DescribeFabricCandidateOrganizationsRequest) (<-chan *DescribeFabricCandidateOrganizationsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricCandidateOrganizationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricCandidateOrganizations(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricCandidateOrganizationsWithCallback invokes the baas.DescribeFabricCandidateOrganizations API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabriccandidateorganizations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricCandidateOrganizationsWithCallback(request *DescribeFabricCandidateOrganizationsRequest, callback func(response *DescribeFabricCandidateOrganizationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricCandidateOrganizationsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricCandidateOrganizations(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricCandidateOrganizationsRequest is the request struct for api DescribeFabricCandidateOrganizations
+type DescribeFabricCandidateOrganizationsRequest struct {
+	*requests.RpcRequest
+	Location string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricCandidateOrganizationsResponse is the response struct for api DescribeFabricCandidateOrganizations
+type DescribeFabricCandidateOrganizationsResponse 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"`
+}
+
+// CreateDescribeFabricCandidateOrganizationsRequest creates a request to invoke DescribeFabricCandidateOrganizations API
+func CreateDescribeFabricCandidateOrganizationsRequest() (request *DescribeFabricCandidateOrganizationsRequest) {
+	request = &DescribeFabricCandidateOrganizationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricCandidateOrganizations", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricCandidateOrganizationsResponse creates a response to parse from DescribeFabricCandidateOrganizations response
+func CreateDescribeFabricCandidateOrganizationsResponse() (response *DescribeFabricCandidateOrganizationsResponse) {
+	response = &DescribeFabricCandidateOrganizationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricChaincodeUploadPolicy invokes the baas.DescribeFabricChaincodeUploadPolicy API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchaincodeuploadpolicy.html
+func (client *Client) DescribeFabricChaincodeUploadPolicy(request *DescribeFabricChaincodeUploadPolicyRequest) (response *DescribeFabricChaincodeUploadPolicyResponse, err error) {
+	response = CreateDescribeFabricChaincodeUploadPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricChaincodeUploadPolicyWithChan invokes the baas.DescribeFabricChaincodeUploadPolicy API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchaincodeuploadpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricChaincodeUploadPolicyWithChan(request *DescribeFabricChaincodeUploadPolicyRequest) (<-chan *DescribeFabricChaincodeUploadPolicyResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricChaincodeUploadPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricChaincodeUploadPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricChaincodeUploadPolicyWithCallback invokes the baas.DescribeFabricChaincodeUploadPolicy API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchaincodeuploadpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricChaincodeUploadPolicyWithCallback(request *DescribeFabricChaincodeUploadPolicyRequest, callback func(response *DescribeFabricChaincodeUploadPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricChaincodeUploadPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricChaincodeUploadPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricChaincodeUploadPolicyRequest is the request struct for api DescribeFabricChaincodeUploadPolicy
+type DescribeFabricChaincodeUploadPolicyRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+}
+
+// DescribeFabricChaincodeUploadPolicyResponse is the response struct for api DescribeFabricChaincodeUploadPolicy
+type DescribeFabricChaincodeUploadPolicyResponse 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"`
+}
+
+// CreateDescribeFabricChaincodeUploadPolicyRequest creates a request to invoke DescribeFabricChaincodeUploadPolicy API
+func CreateDescribeFabricChaincodeUploadPolicyRequest() (request *DescribeFabricChaincodeUploadPolicyRequest) {
+	request = &DescribeFabricChaincodeUploadPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricChaincodeUploadPolicy", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricChaincodeUploadPolicyResponse creates a response to parse from DescribeFabricChaincodeUploadPolicy response
+func CreateDescribeFabricChaincodeUploadPolicyResponse() (response *DescribeFabricChaincodeUploadPolicyResponse) {
+	response = &DescribeFabricChaincodeUploadPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricChannelMembers invokes the baas.DescribeFabricChannelMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchannelmembers.html
+func (client *Client) DescribeFabricChannelMembers(request *DescribeFabricChannelMembersRequest) (response *DescribeFabricChannelMembersResponse, err error) {
+	response = CreateDescribeFabricChannelMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricChannelMembersWithChan invokes the baas.DescribeFabricChannelMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchannelmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricChannelMembersWithChan(request *DescribeFabricChannelMembersRequest) (<-chan *DescribeFabricChannelMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricChannelMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricChannelMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricChannelMembersWithCallback invokes the baas.DescribeFabricChannelMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricchannelmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricChannelMembersWithCallback(request *DescribeFabricChannelMembersRequest, callback func(response *DescribeFabricChannelMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricChannelMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricChannelMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricChannelMembersRequest is the request struct for api DescribeFabricChannelMembers
+type DescribeFabricChannelMembersRequest struct {
+	*requests.RpcRequest
+	ChannelId string `position:"Query" name:"ChannelId"`
+}
+
+// DescribeFabricChannelMembersResponse is the response struct for api DescribeFabricChannelMembers
+type DescribeFabricChannelMembersResponse 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"`
+}
+
+// CreateDescribeFabricChannelMembersRequest creates a request to invoke DescribeFabricChannelMembers API
+func CreateDescribeFabricChannelMembersRequest() (request *DescribeFabricChannelMembersRequest) {
+	request = &DescribeFabricChannelMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricChannelMembers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricChannelMembersResponse creates a response to parse from DescribeFabricChannelMembers response
+func CreateDescribeFabricChannelMembersResponse() (response *DescribeFabricChannelMembersResponse) {
+	response = &DescribeFabricChannelMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumAdminStatus invokes the baas.DescribeFabricConsortiumAdminStatus API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumadminstatus.html
+func (client *Client) DescribeFabricConsortiumAdminStatus(request *DescribeFabricConsortiumAdminStatusRequest) (response *DescribeFabricConsortiumAdminStatusResponse, err error) {
+	response = CreateDescribeFabricConsortiumAdminStatusResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumAdminStatusWithChan invokes the baas.DescribeFabricConsortiumAdminStatus API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumadminstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumAdminStatusWithChan(request *DescribeFabricConsortiumAdminStatusRequest) (<-chan *DescribeFabricConsortiumAdminStatusResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumAdminStatusResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumAdminStatus(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumAdminStatusWithCallback invokes the baas.DescribeFabricConsortiumAdminStatus API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumadminstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumAdminStatusWithCallback(request *DescribeFabricConsortiumAdminStatusRequest, callback func(response *DescribeFabricConsortiumAdminStatusResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumAdminStatusResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumAdminStatus(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumAdminStatusRequest is the request struct for api DescribeFabricConsortiumAdminStatus
+type DescribeFabricConsortiumAdminStatusRequest struct {
+	*requests.RpcRequest
+	Location string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricConsortiumAdminStatusResponse is the response struct for api DescribeFabricConsortiumAdminStatus
+type DescribeFabricConsortiumAdminStatusResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumAdminStatusRequest creates a request to invoke DescribeFabricConsortiumAdminStatus API
+func CreateDescribeFabricConsortiumAdminStatusRequest() (request *DescribeFabricConsortiumAdminStatusRequest) {
+	request = &DescribeFabricConsortiumAdminStatusRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumAdminStatus", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumAdminStatusResponse creates a response to parse from DescribeFabricConsortiumAdminStatus response
+func CreateDescribeFabricConsortiumAdminStatusResponse() (response *DescribeFabricConsortiumAdminStatusResponse) {
+	response = &DescribeFabricConsortiumAdminStatusResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumChaincodes invokes the baas.DescribeFabricConsortiumChaincodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchaincodes.html
+func (client *Client) DescribeFabricConsortiumChaincodes(request *DescribeFabricConsortiumChaincodesRequest) (response *DescribeFabricConsortiumChaincodesResponse, err error) {
+	response = CreateDescribeFabricConsortiumChaincodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumChaincodesWithChan invokes the baas.DescribeFabricConsortiumChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumChaincodesWithChan(request *DescribeFabricConsortiumChaincodesRequest) (<-chan *DescribeFabricConsortiumChaincodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumChaincodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumChaincodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumChaincodesWithCallback invokes the baas.DescribeFabricConsortiumChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumChaincodesWithCallback(request *DescribeFabricConsortiumChaincodesRequest, callback func(response *DescribeFabricConsortiumChaincodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumChaincodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumChaincodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumChaincodesRequest is the request struct for api DescribeFabricConsortiumChaincodes
+type DescribeFabricConsortiumChaincodesRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumChaincodesResponse is the response struct for api DescribeFabricConsortiumChaincodes
+type DescribeFabricConsortiumChaincodesResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumChaincodesRequest creates a request to invoke DescribeFabricConsortiumChaincodes API
+func CreateDescribeFabricConsortiumChaincodesRequest() (request *DescribeFabricConsortiumChaincodesRequest) {
+	request = &DescribeFabricConsortiumChaincodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumChaincodes", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumChaincodesResponse creates a response to parse from DescribeFabricConsortiumChaincodes response
+func CreateDescribeFabricConsortiumChaincodesResponse() (response *DescribeFabricConsortiumChaincodesResponse) {
+	response = &DescribeFabricConsortiumChaincodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumChannels invokes the baas.DescribeFabricConsortiumChannels API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchannels.html
+func (client *Client) DescribeFabricConsortiumChannels(request *DescribeFabricConsortiumChannelsRequest) (response *DescribeFabricConsortiumChannelsResponse, err error) {
+	response = CreateDescribeFabricConsortiumChannelsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumChannelsWithChan invokes the baas.DescribeFabricConsortiumChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumChannelsWithChan(request *DescribeFabricConsortiumChannelsRequest) (<-chan *DescribeFabricConsortiumChannelsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumChannelsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumChannels(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumChannelsWithCallback invokes the baas.DescribeFabricConsortiumChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumChannelsWithCallback(request *DescribeFabricConsortiumChannelsRequest, callback func(response *DescribeFabricConsortiumChannelsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumChannelsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumChannels(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumChannelsRequest is the request struct for api DescribeFabricConsortiumChannels
+type DescribeFabricConsortiumChannelsRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumChannelsResponse is the response struct for api DescribeFabricConsortiumChannels
+type DescribeFabricConsortiumChannelsResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumChannelsRequest creates a request to invoke DescribeFabricConsortiumChannels API
+func CreateDescribeFabricConsortiumChannelsRequest() (request *DescribeFabricConsortiumChannelsRequest) {
+	request = &DescribeFabricConsortiumChannelsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumChannels", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumChannelsResponse creates a response to parse from DescribeFabricConsortiumChannels response
+func CreateDescribeFabricConsortiumChannelsResponse() (response *DescribeFabricConsortiumChannelsResponse) {
+	response = &DescribeFabricConsortiumChannelsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumConfig invokes the baas.DescribeFabricConsortiumConfig API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumconfig.html
+func (client *Client) DescribeFabricConsortiumConfig(request *DescribeFabricConsortiumConfigRequest) (response *DescribeFabricConsortiumConfigResponse, err error) {
+	response = CreateDescribeFabricConsortiumConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumConfigWithChan invokes the baas.DescribeFabricConsortiumConfig API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumConfigWithChan(request *DescribeFabricConsortiumConfigRequest) (<-chan *DescribeFabricConsortiumConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumConfigWithCallback invokes the baas.DescribeFabricConsortiumConfig API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumConfigWithCallback(request *DescribeFabricConsortiumConfigRequest, callback func(response *DescribeFabricConsortiumConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumConfigRequest is the request struct for api DescribeFabricConsortiumConfig
+type DescribeFabricConsortiumConfigRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeFabricConsortiumConfigResponse is the response struct for api DescribeFabricConsortiumConfig
+type DescribeFabricConsortiumConfigResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumConfigRequest creates a request to invoke DescribeFabricConsortiumConfig API
+func CreateDescribeFabricConsortiumConfigRequest() (request *DescribeFabricConsortiumConfigRequest) {
+	request = &DescribeFabricConsortiumConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumConfig", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumConfigResponse creates a response to parse from DescribeFabricConsortiumConfig response
+func CreateDescribeFabricConsortiumConfigResponse() (response *DescribeFabricConsortiumConfigResponse) {
+	response = &DescribeFabricConsortiumConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumDeletable invokes the baas.DescribeFabricConsortiumDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumdeletable.html
+func (client *Client) DescribeFabricConsortiumDeletable(request *DescribeFabricConsortiumDeletableRequest) (response *DescribeFabricConsortiumDeletableResponse, err error) {
+	response = CreateDescribeFabricConsortiumDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumDeletableWithChan invokes the baas.DescribeFabricConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumDeletableWithChan(request *DescribeFabricConsortiumDeletableRequest) (<-chan *DescribeFabricConsortiumDeletableResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumDeletableWithCallback invokes the baas.DescribeFabricConsortiumDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumDeletableWithCallback(request *DescribeFabricConsortiumDeletableRequest, callback func(response *DescribeFabricConsortiumDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumDeletableRequest is the request struct for api DescribeFabricConsortiumDeletable
+type DescribeFabricConsortiumDeletableRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumDeletableResponse is the response struct for api DescribeFabricConsortiumDeletable
+type DescribeFabricConsortiumDeletableResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumDeletableRequest creates a request to invoke DescribeFabricConsortiumDeletable API
+func CreateDescribeFabricConsortiumDeletableRequest() (request *DescribeFabricConsortiumDeletableRequest) {
+	request = &DescribeFabricConsortiumDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumDeletable", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumDeletableResponse creates a response to parse from DescribeFabricConsortiumDeletable response
+func CreateDescribeFabricConsortiumDeletableResponse() (response *DescribeFabricConsortiumDeletableResponse) {
+	response = &DescribeFabricConsortiumDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumMemberApproval invokes the baas.DescribeFabricConsortiumMemberApproval API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummemberapproval.html
+func (client *Client) DescribeFabricConsortiumMemberApproval(request *DescribeFabricConsortiumMemberApprovalRequest) (response *DescribeFabricConsortiumMemberApprovalResponse, err error) {
+	response = CreateDescribeFabricConsortiumMemberApprovalResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumMemberApprovalWithChan invokes the baas.DescribeFabricConsortiumMemberApproval API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummemberapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumMemberApprovalWithChan(request *DescribeFabricConsortiumMemberApprovalRequest) (<-chan *DescribeFabricConsortiumMemberApprovalResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumMemberApprovalResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumMemberApproval(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumMemberApprovalWithCallback invokes the baas.DescribeFabricConsortiumMemberApproval API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummemberapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumMemberApprovalWithCallback(request *DescribeFabricConsortiumMemberApprovalRequest, callback func(response *DescribeFabricConsortiumMemberApprovalResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumMemberApprovalResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumMemberApproval(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumMemberApprovalRequest is the request struct for api DescribeFabricConsortiumMemberApproval
+type DescribeFabricConsortiumMemberApprovalRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumMemberApprovalResponse is the response struct for api DescribeFabricConsortiumMemberApproval
+type DescribeFabricConsortiumMemberApprovalResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumMemberApprovalRequest creates a request to invoke DescribeFabricConsortiumMemberApproval API
+func CreateDescribeFabricConsortiumMemberApprovalRequest() (request *DescribeFabricConsortiumMemberApprovalRequest) {
+	request = &DescribeFabricConsortiumMemberApprovalRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumMemberApproval", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumMemberApprovalResponse creates a response to parse from DescribeFabricConsortiumMemberApproval response
+func CreateDescribeFabricConsortiumMemberApprovalResponse() (response *DescribeFabricConsortiumMemberApprovalResponse) {
+	response = &DescribeFabricConsortiumMemberApprovalResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumMembers invokes the baas.DescribeFabricConsortiumMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummembers.html
+func (client *Client) DescribeFabricConsortiumMembers(request *DescribeFabricConsortiumMembersRequest) (response *DescribeFabricConsortiumMembersResponse, err error) {
+	response = CreateDescribeFabricConsortiumMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumMembersWithChan invokes the baas.DescribeFabricConsortiumMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumMembersWithChan(request *DescribeFabricConsortiumMembersRequest) (<-chan *DescribeFabricConsortiumMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumMembersWithCallback invokes the baas.DescribeFabricConsortiumMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiummembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumMembersWithCallback(request *DescribeFabricConsortiumMembersRequest, callback func(response *DescribeFabricConsortiumMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumMembersRequest is the request struct for api DescribeFabricConsortiumMembers
+type DescribeFabricConsortiumMembersRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumMembersResponse is the response struct for api DescribeFabricConsortiumMembers
+type DescribeFabricConsortiumMembersResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumMembersRequest creates a request to invoke DescribeFabricConsortiumMembers API
+func CreateDescribeFabricConsortiumMembersRequest() (request *DescribeFabricConsortiumMembersRequest) {
+	request = &DescribeFabricConsortiumMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumMembers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumMembersResponse creates a response to parse from DescribeFabricConsortiumMembers response
+func CreateDescribeFabricConsortiumMembersResponse() (response *DescribeFabricConsortiumMembersResponse) {
+	response = &DescribeFabricConsortiumMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumOrderers invokes the baas.DescribeFabricConsortiumOrderers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumorderers.html
+func (client *Client) DescribeFabricConsortiumOrderers(request *DescribeFabricConsortiumOrderersRequest) (response *DescribeFabricConsortiumOrderersResponse, err error) {
+	response = CreateDescribeFabricConsortiumOrderersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumOrderersWithChan invokes the baas.DescribeFabricConsortiumOrderers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumorderers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumOrderersWithChan(request *DescribeFabricConsortiumOrderersRequest) (<-chan *DescribeFabricConsortiumOrderersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumOrderersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumOrderers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumOrderersWithCallback invokes the baas.DescribeFabricConsortiumOrderers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumorderers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumOrderersWithCallback(request *DescribeFabricConsortiumOrderersRequest, callback func(response *DescribeFabricConsortiumOrderersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumOrderersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumOrderers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumOrderersRequest is the request struct for api DescribeFabricConsortiumOrderers
+type DescribeFabricConsortiumOrderersRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumOrderersResponse is the response struct for api DescribeFabricConsortiumOrderers
+type DescribeFabricConsortiumOrderersResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumOrderersRequest creates a request to invoke DescribeFabricConsortiumOrderers API
+func CreateDescribeFabricConsortiumOrderersRequest() (request *DescribeFabricConsortiumOrderersRequest) {
+	request = &DescribeFabricConsortiumOrderersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumOrderers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumOrderersResponse creates a response to parse from DescribeFabricConsortiumOrderers response
+func CreateDescribeFabricConsortiumOrderersResponse() (response *DescribeFabricConsortiumOrderersResponse) {
+	response = &DescribeFabricConsortiumOrderersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiumSpecs invokes the baas.DescribeFabricConsortiumSpecs API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumspecs.html
+func (client *Client) DescribeFabricConsortiumSpecs(request *DescribeFabricConsortiumSpecsRequest) (response *DescribeFabricConsortiumSpecsResponse, err error) {
+	response = CreateDescribeFabricConsortiumSpecsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumSpecsWithChan invokes the baas.DescribeFabricConsortiumSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumSpecsWithChan(request *DescribeFabricConsortiumSpecsRequest) (<-chan *DescribeFabricConsortiumSpecsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumSpecsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiumSpecs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumSpecsWithCallback invokes the baas.DescribeFabricConsortiumSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiumspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumSpecsWithCallback(request *DescribeFabricConsortiumSpecsRequest, callback func(response *DescribeFabricConsortiumSpecsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumSpecsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiumSpecs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumSpecsRequest is the request struct for api DescribeFabricConsortiumSpecs
+type DescribeFabricConsortiumSpecsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeFabricConsortiumSpecsResponse is the response struct for api DescribeFabricConsortiumSpecs
+type DescribeFabricConsortiumSpecsResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumSpecsRequest creates a request to invoke DescribeFabricConsortiumSpecs API
+func CreateDescribeFabricConsortiumSpecsRequest() (request *DescribeFabricConsortiumSpecsRequest) {
+	request = &DescribeFabricConsortiumSpecsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiumSpecs", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumSpecsResponse creates a response to parse from DescribeFabricConsortiumSpecs response
+func CreateDescribeFabricConsortiumSpecsResponse() (response *DescribeFabricConsortiumSpecsResponse) {
+	response = &DescribeFabricConsortiumSpecsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricConsortiums invokes the baas.DescribeFabricConsortiums API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiums.html
+func (client *Client) DescribeFabricConsortiums(request *DescribeFabricConsortiumsRequest) (response *DescribeFabricConsortiumsResponse, err error) {
+	response = CreateDescribeFabricConsortiumsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricConsortiumsWithChan invokes the baas.DescribeFabricConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumsWithChan(request *DescribeFabricConsortiumsRequest) (<-chan *DescribeFabricConsortiumsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricConsortiumsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricConsortiums(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricConsortiumsWithCallback invokes the baas.DescribeFabricConsortiums API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricconsortiums.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricConsortiumsWithCallback(request *DescribeFabricConsortiumsRequest, callback func(response *DescribeFabricConsortiumsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricConsortiumsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricConsortiums(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricConsortiumsRequest is the request struct for api DescribeFabricConsortiums
+type DescribeFabricConsortiumsRequest struct {
+	*requests.RpcRequest
+	Location     string `position:"Body" name:"Location"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeFabricConsortiumsResponse is the response struct for api DescribeFabricConsortiums
+type DescribeFabricConsortiumsResponse 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"`
+}
+
+// CreateDescribeFabricConsortiumsRequest creates a request to invoke DescribeFabricConsortiums API
+func CreateDescribeFabricConsortiumsRequest() (request *DescribeFabricConsortiumsRequest) {
+	request = &DescribeFabricConsortiumsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricConsortiums", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricConsortiumsResponse creates a response to parse from DescribeFabricConsortiums response
+func CreateDescribeFabricConsortiumsResponse() (response *DescribeFabricConsortiumsResponse) {
+	response = &DescribeFabricConsortiumsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 27 - 27
services/baas/describe_explorer.go → services/baas/describe_fabric_explorer.go

@@ -20,24 +20,24 @@ import (
 	"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()
+// DescribeFabricExplorer invokes the baas.DescribeFabricExplorer API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricexplorer.html
+func (client *Client) DescribeFabricExplorer(request *DescribeFabricExplorerRequest) (response *DescribeFabricExplorerResponse, err error) {
+	response = CreateDescribeFabricExplorerResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DescribeExplorerWithChan invokes the baas.DescribeExplorer API asynchronously
-// api document: https://help.aliyun.com/api/baas/describeexplorer.html
+// DescribeFabricExplorerWithChan invokes the baas.DescribeFabricExplorer API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricexplorer.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)
+func (client *Client) DescribeFabricExplorerWithChan(request *DescribeFabricExplorerRequest) (<-chan *DescribeFabricExplorerResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricExplorerResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DescribeExplorer(request)
+		response, err := client.DescribeFabricExplorer(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DescribeExplorerWithChan(request *DescribeExplorerRequest)
 	return responseChan, errChan
 }
 
-// DescribeExplorerWithCallback invokes the baas.DescribeExplorer API asynchronously
-// api document: https://help.aliyun.com/api/baas/describeexplorer.html
+// DescribeFabricExplorerWithCallback invokes the baas.DescribeFabricExplorer API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricexplorer.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 {
+func (client *Client) DescribeFabricExplorerWithCallback(request *DescribeFabricExplorerRequest, callback func(response *DescribeFabricExplorerResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DescribeExplorerResponse
+		var response *DescribeFabricExplorerResponse
 		var err error
 		defer close(result)
-		response, err = client.DescribeExplorer(request)
+		response, err = client.DescribeFabricExplorer(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,17 +73,17 @@ func (client *Client) DescribeExplorerWithCallback(request *DescribeExplorerRequ
 	return result
 }
 
-// DescribeExplorerRequest is the request struct for api DescribeExplorer
-type DescribeExplorerRequest struct {
+// DescribeFabricExplorerRequest is the request struct for api DescribeFabricExplorer
+type DescribeFabricExplorerRequest 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"`
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	ExBody         string `position:"Query" name:"ExBody"`
 }
 
-// DescribeExplorerResponse is the response struct for api DescribeExplorer
-type DescribeExplorerResponse struct {
+// DescribeFabricExplorerResponse is the response struct for api DescribeFabricExplorer
+type DescribeFabricExplorerResponse struct {
 	*responses.BaseResponse
 	RequestId      string `json:"RequestId" xml:"RequestId"`
 	Success        bool   `json:"Success" xml:"Success"`
@@ -93,18 +93,18 @@ type DescribeExplorerResponse struct {
 	DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"`
 }
 
-// CreateDescribeExplorerRequest creates a request to invoke DescribeExplorer API
-func CreateDescribeExplorerRequest() (request *DescribeExplorerRequest) {
-	request = &DescribeExplorerRequest{
+// CreateDescribeFabricExplorerRequest creates a request to invoke DescribeFabricExplorer API
+func CreateDescribeFabricExplorerRequest() (request *DescribeFabricExplorerRequest) {
+	request = &DescribeFabricExplorerRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Baas", "2018-07-31", "DescribeExplorer", "", "")
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricExplorer", "baas", "openAPI")
 	return
 }
 
-// CreateDescribeExplorerResponse creates a response to parse from DescribeExplorer response
-func CreateDescribeExplorerResponse() (response *DescribeExplorerResponse) {
-	response = &DescribeExplorerResponse{
+// CreateDescribeFabricExplorerResponse creates a response to parse from DescribeFabricExplorer response
+func CreateDescribeFabricExplorerResponse() (response *DescribeFabricExplorerResponse) {
+	response = &DescribeFabricExplorerResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 108 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricInvitationCode invokes the baas.DescribeFabricInvitationCode API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinvitationcode.html
+func (client *Client) DescribeFabricInvitationCode(request *DescribeFabricInvitationCodeRequest) (response *DescribeFabricInvitationCodeResponse, err error) {
+	response = CreateDescribeFabricInvitationCodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricInvitationCodeWithChan invokes the baas.DescribeFabricInvitationCode API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinvitationcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricInvitationCodeWithChan(request *DescribeFabricInvitationCodeRequest) (<-chan *DescribeFabricInvitationCodeResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricInvitationCodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricInvitationCode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricInvitationCodeWithCallback invokes the baas.DescribeFabricInvitationCode API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinvitationcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricInvitationCodeWithCallback(request *DescribeFabricInvitationCodeRequest, callback func(response *DescribeFabricInvitationCodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricInvitationCodeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricInvitationCode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricInvitationCodeRequest is the request struct for api DescribeFabricInvitationCode
+type DescribeFabricInvitationCodeRequest struct {
+	*requests.RpcRequest
+	ConsortiumId string `position:"Body" name:"ConsortiumId"`
+}
+
+// DescribeFabricInvitationCodeResponse is the response struct for api DescribeFabricInvitationCode
+type DescribeFabricInvitationCodeResponse 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"`
+}
+
+// CreateDescribeFabricInvitationCodeRequest creates a request to invoke DescribeFabricInvitationCode API
+func CreateDescribeFabricInvitationCodeRequest() (request *DescribeFabricInvitationCodeRequest) {
+	request = &DescribeFabricInvitationCodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricInvitationCode", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricInvitationCodeResponse creates a response to parse from DescribeFabricInvitationCode response
+func CreateDescribeFabricInvitationCodeResponse() (response *DescribeFabricInvitationCodeResponse) {
+	response = &DescribeFabricInvitationCodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricInviter invokes the baas.DescribeFabricInviter API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinviter.html
+func (client *Client) DescribeFabricInviter(request *DescribeFabricInviterRequest) (response *DescribeFabricInviterResponse, err error) {
+	response = CreateDescribeFabricInviterResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricInviterWithChan invokes the baas.DescribeFabricInviter API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinviter.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricInviterWithChan(request *DescribeFabricInviterRequest) (<-chan *DescribeFabricInviterResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricInviterResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricInviter(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricInviterWithCallback invokes the baas.DescribeFabricInviter API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricinviter.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricInviterWithCallback(request *DescribeFabricInviterRequest, callback func(response *DescribeFabricInviterResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricInviterResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricInviter(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricInviterRequest is the request struct for api DescribeFabricInviter
+type DescribeFabricInviterRequest struct {
+	*requests.RpcRequest
+	Code string `position:"Body" name:"Code"`
+}
+
+// DescribeFabricInviterResponse is the response struct for api DescribeFabricInviter
+type DescribeFabricInviterResponse 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"`
+}
+
+// CreateDescribeFabricInviterRequest creates a request to invoke DescribeFabricInviter API
+func CreateDescribeFabricInviterRequest() (request *DescribeFabricInviterRequest) {
+	request = &DescribeFabricInviterRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricInviter", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricInviterResponse creates a response to parse from DescribeFabricInviter response
+func CreateDescribeFabricInviterResponse() (response *DescribeFabricInviterResponse) {
+	response = &DescribeFabricInviterResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrdererLogs invokes the baas.DescribeFabricOrdererLogs API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricordererlogs.html
+func (client *Client) DescribeFabricOrdererLogs(request *DescribeFabricOrdererLogsRequest) (response *DescribeFabricOrdererLogsResponse, err error) {
+	response = CreateDescribeFabricOrdererLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrdererLogsWithChan invokes the baas.DescribeFabricOrdererLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricordererlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrdererLogsWithChan(request *DescribeFabricOrdererLogsRequest) (<-chan *DescribeFabricOrdererLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrdererLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrdererLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrdererLogsWithCallback invokes the baas.DescribeFabricOrdererLogs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricordererlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrdererLogsWithCallback(request *DescribeFabricOrdererLogsRequest, callback func(response *DescribeFabricOrdererLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrdererLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrdererLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrdererLogsRequest is the request struct for api DescribeFabricOrdererLogs
+type DescribeFabricOrdererLogsRequest struct {
+	*requests.RpcRequest
+	OrdererName  string `position:"Query" name:"OrdererName"`
+	Lines        string `position:"Query" name:"Lines"`
+	ConsortiumId string `position:"Query" name:"ConsortiumId"`
+}
+
+// DescribeFabricOrdererLogsResponse is the response struct for api DescribeFabricOrdererLogs
+type DescribeFabricOrdererLogsResponse 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"`
+}
+
+// CreateDescribeFabricOrdererLogsRequest creates a request to invoke DescribeFabricOrdererLogs API
+func CreateDescribeFabricOrdererLogsRequest() (request *DescribeFabricOrdererLogsRequest) {
+	request = &DescribeFabricOrdererLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrdererLogs", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrdererLogsResponse creates a response to parse from DescribeFabricOrdererLogs response
+func CreateDescribeFabricOrdererLogsResponse() (response *DescribeFabricOrdererLogsResponse) {
+	response = &DescribeFabricOrdererLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganization invokes the baas.DescribeFabricOrganization API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganization.html
+func (client *Client) DescribeFabricOrganization(request *DescribeFabricOrganizationRequest) (response *DescribeFabricOrganizationResponse, err error) {
+	response = CreateDescribeFabricOrganizationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationWithChan invokes the baas.DescribeFabricOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationWithChan(request *DescribeFabricOrganizationRequest) (<-chan *DescribeFabricOrganizationResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganization(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationWithCallback invokes the baas.DescribeFabricOrganization API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganization.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationWithCallback(request *DescribeFabricOrganizationRequest, callback func(response *DescribeFabricOrganizationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganization(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationRequest is the request struct for api DescribeFabricOrganization
+type DescribeFabricOrganizationRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationResponse is the response struct for api DescribeFabricOrganization
+type DescribeFabricOrganizationResponse struct {
+	*responses.BaseResponse
+	RequestId string                             `json:"RequestId" xml:"RequestId"`
+	Success   bool                               `json:"Success" xml:"Success"`
+	ErrorCode int                                `json:"ErrorCode" xml:"ErrorCode"`
+	Result    ResultInDescribeFabricOrganization `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeFabricOrganizationRequest creates a request to invoke DescribeFabricOrganization API
+func CreateDescribeFabricOrganizationRequest() (request *DescribeFabricOrganizationRequest) {
+	request = &DescribeFabricOrganizationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganization", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationResponse creates a response to parse from DescribeFabricOrganization response
+func CreateDescribeFabricOrganizationResponse() (response *DescribeFabricOrganizationResponse) {
+	response = &DescribeFabricOrganizationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationChaincodes invokes the baas.DescribeFabricOrganizationChaincodes API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchaincodes.html
+func (client *Client) DescribeFabricOrganizationChaincodes(request *DescribeFabricOrganizationChaincodesRequest) (response *DescribeFabricOrganizationChaincodesResponse, err error) {
+	response = CreateDescribeFabricOrganizationChaincodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationChaincodesWithChan invokes the baas.DescribeFabricOrganizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationChaincodesWithChan(request *DescribeFabricOrganizationChaincodesRequest) (<-chan *DescribeFabricOrganizationChaincodesResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationChaincodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationChaincodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationChaincodesWithCallback invokes the baas.DescribeFabricOrganizationChaincodes API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchaincodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationChaincodesWithCallback(request *DescribeFabricOrganizationChaincodesRequest, callback func(response *DescribeFabricOrganizationChaincodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationChaincodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationChaincodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationChaincodesRequest is the request struct for api DescribeFabricOrganizationChaincodes
+type DescribeFabricOrganizationChaincodesRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationChaincodesResponse is the response struct for api DescribeFabricOrganizationChaincodes
+type DescribeFabricOrganizationChaincodesResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationChaincodesRequest creates a request to invoke DescribeFabricOrganizationChaincodes API
+func CreateDescribeFabricOrganizationChaincodesRequest() (request *DescribeFabricOrganizationChaincodesRequest) {
+	request = &DescribeFabricOrganizationChaincodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationChaincodes", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationChaincodesResponse creates a response to parse from DescribeFabricOrganizationChaincodes response
+func CreateDescribeFabricOrganizationChaincodesResponse() (response *DescribeFabricOrganizationChaincodesResponse) {
+	response = &DescribeFabricOrganizationChaincodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationChannels invokes the baas.DescribeFabricOrganizationChannels API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchannels.html
+func (client *Client) DescribeFabricOrganizationChannels(request *DescribeFabricOrganizationChannelsRequest) (response *DescribeFabricOrganizationChannelsResponse, err error) {
+	response = CreateDescribeFabricOrganizationChannelsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationChannelsWithChan invokes the baas.DescribeFabricOrganizationChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationChannelsWithChan(request *DescribeFabricOrganizationChannelsRequest) (<-chan *DescribeFabricOrganizationChannelsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationChannelsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationChannels(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationChannelsWithCallback invokes the baas.DescribeFabricOrganizationChannels API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationchannels.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationChannelsWithCallback(request *DescribeFabricOrganizationChannelsRequest, callback func(response *DescribeFabricOrganizationChannelsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationChannelsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationChannels(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationChannelsRequest is the request struct for api DescribeFabricOrganizationChannels
+type DescribeFabricOrganizationChannelsRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationChannelsResponse is the response struct for api DescribeFabricOrganizationChannels
+type DescribeFabricOrganizationChannelsResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationChannelsRequest creates a request to invoke DescribeFabricOrganizationChannels API
+func CreateDescribeFabricOrganizationChannelsRequest() (request *DescribeFabricOrganizationChannelsRequest) {
+	request = &DescribeFabricOrganizationChannelsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationChannels", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationChannelsResponse creates a response to parse from DescribeFabricOrganizationChannels response
+func CreateDescribeFabricOrganizationChannelsResponse() (response *DescribeFabricOrganizationChannelsResponse) {
+	response = &DescribeFabricOrganizationChannelsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationDeletable invokes the baas.DescribeFabricOrganizationDeletable API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationdeletable.html
+func (client *Client) DescribeFabricOrganizationDeletable(request *DescribeFabricOrganizationDeletableRequest) (response *DescribeFabricOrganizationDeletableResponse, err error) {
+	response = CreateDescribeFabricOrganizationDeletableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationDeletableWithChan invokes the baas.DescribeFabricOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationDeletableWithChan(request *DescribeFabricOrganizationDeletableRequest) (<-chan *DescribeFabricOrganizationDeletableResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationDeletableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationDeletable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationDeletableWithCallback invokes the baas.DescribeFabricOrganizationDeletable API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationdeletable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationDeletableWithCallback(request *DescribeFabricOrganizationDeletableRequest, callback func(response *DescribeFabricOrganizationDeletableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationDeletableResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationDeletable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationDeletableRequest is the request struct for api DescribeFabricOrganizationDeletable
+type DescribeFabricOrganizationDeletableRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationDeletableResponse is the response struct for api DescribeFabricOrganizationDeletable
+type DescribeFabricOrganizationDeletableResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationDeletableRequest creates a request to invoke DescribeFabricOrganizationDeletable API
+func CreateDescribeFabricOrganizationDeletableRequest() (request *DescribeFabricOrganizationDeletableRequest) {
+	request = &DescribeFabricOrganizationDeletableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationDeletable", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationDeletableResponse creates a response to parse from DescribeFabricOrganizationDeletable response
+func CreateDescribeFabricOrganizationDeletableResponse() (response *DescribeFabricOrganizationDeletableResponse) {
+	response = &DescribeFabricOrganizationDeletableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationMembers invokes the baas.DescribeFabricOrganizationMembers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationmembers.html
+func (client *Client) DescribeFabricOrganizationMembers(request *DescribeFabricOrganizationMembersRequest) (response *DescribeFabricOrganizationMembersResponse, err error) {
+	response = CreateDescribeFabricOrganizationMembersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationMembersWithChan invokes the baas.DescribeFabricOrganizationMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationMembersWithChan(request *DescribeFabricOrganizationMembersRequest) (<-chan *DescribeFabricOrganizationMembersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationMembersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationMembers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationMembersWithCallback invokes the baas.DescribeFabricOrganizationMembers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationmembers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationMembersWithCallback(request *DescribeFabricOrganizationMembersRequest, callback func(response *DescribeFabricOrganizationMembersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationMembersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationMembers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationMembersRequest is the request struct for api DescribeFabricOrganizationMembers
+type DescribeFabricOrganizationMembersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Body" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationMembersResponse is the response struct for api DescribeFabricOrganizationMembers
+type DescribeFabricOrganizationMembersResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationMembersRequest creates a request to invoke DescribeFabricOrganizationMembers API
+func CreateDescribeFabricOrganizationMembersRequest() (request *DescribeFabricOrganizationMembersRequest) {
+	request = &DescribeFabricOrganizationMembersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationMembers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationMembersResponse creates a response to parse from DescribeFabricOrganizationMembers response
+func CreateDescribeFabricOrganizationMembersResponse() (response *DescribeFabricOrganizationMembersResponse) {
+	response = &DescribeFabricOrganizationMembersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationPeers invokes the baas.DescribeFabricOrganizationPeers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationpeers.html
+func (client *Client) DescribeFabricOrganizationPeers(request *DescribeFabricOrganizationPeersRequest) (response *DescribeFabricOrganizationPeersResponse, err error) {
+	response = CreateDescribeFabricOrganizationPeersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationPeersWithChan invokes the baas.DescribeFabricOrganizationPeers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationpeers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationPeersWithChan(request *DescribeFabricOrganizationPeersRequest) (<-chan *DescribeFabricOrganizationPeersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationPeersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationPeers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationPeersWithCallback invokes the baas.DescribeFabricOrganizationPeers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationpeers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationPeersWithCallback(request *DescribeFabricOrganizationPeersRequest, callback func(response *DescribeFabricOrganizationPeersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationPeersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationPeers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationPeersRequest is the request struct for api DescribeFabricOrganizationPeers
+type DescribeFabricOrganizationPeersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationPeersResponse is the response struct for api DescribeFabricOrganizationPeers
+type DescribeFabricOrganizationPeersResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationPeersRequest creates a request to invoke DescribeFabricOrganizationPeers API
+func CreateDescribeFabricOrganizationPeersRequest() (request *DescribeFabricOrganizationPeersRequest) {
+	request = &DescribeFabricOrganizationPeersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationPeers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationPeersResponse creates a response to parse from DescribeFabricOrganizationPeers response
+func CreateDescribeFabricOrganizationPeersResponse() (response *DescribeFabricOrganizationPeersResponse) {
+	response = &DescribeFabricOrganizationPeersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationSpecs invokes the baas.DescribeFabricOrganizationSpecs API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationspecs.html
+func (client *Client) DescribeFabricOrganizationSpecs(request *DescribeFabricOrganizationSpecsRequest) (response *DescribeFabricOrganizationSpecsResponse, err error) {
+	response = CreateDescribeFabricOrganizationSpecsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationSpecsWithChan invokes the baas.DescribeFabricOrganizationSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationSpecsWithChan(request *DescribeFabricOrganizationSpecsRequest) (<-chan *DescribeFabricOrganizationSpecsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationSpecsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationSpecs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationSpecsWithCallback invokes the baas.DescribeFabricOrganizationSpecs API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationspecs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationSpecsWithCallback(request *DescribeFabricOrganizationSpecsRequest, callback func(response *DescribeFabricOrganizationSpecsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationSpecsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationSpecs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationSpecsRequest is the request struct for api DescribeFabricOrganizationSpecs
+type DescribeFabricOrganizationSpecsRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeFabricOrganizationSpecsResponse is the response struct for api DescribeFabricOrganizationSpecs
+type DescribeFabricOrganizationSpecsResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationSpecsRequest creates a request to invoke DescribeFabricOrganizationSpecs API
+func CreateDescribeFabricOrganizationSpecsRequest() (request *DescribeFabricOrganizationSpecsRequest) {
+	request = &DescribeFabricOrganizationSpecsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationSpecs", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationSpecsResponse creates a response to parse from DescribeFabricOrganizationSpecs response
+func CreateDescribeFabricOrganizationSpecsResponse() (response *DescribeFabricOrganizationSpecsResponse) {
+	response = &DescribeFabricOrganizationSpecsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/baas/describe_fabric_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"
+)
+
+// DescribeFabricOrganizationUsers invokes the baas.DescribeFabricOrganizationUsers API synchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationusers.html
+func (client *Client) DescribeFabricOrganizationUsers(request *DescribeFabricOrganizationUsersRequest) (response *DescribeFabricOrganizationUsersResponse, err error) {
+	response = CreateDescribeFabricOrganizationUsersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFabricOrganizationUsersWithChan invokes the baas.DescribeFabricOrganizationUsers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationUsersWithChan(request *DescribeFabricOrganizationUsersRequest) (<-chan *DescribeFabricOrganizationUsersResponse, <-chan error) {
+	responseChan := make(chan *DescribeFabricOrganizationUsersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFabricOrganizationUsers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFabricOrganizationUsersWithCallback invokes the baas.DescribeFabricOrganizationUsers API asynchronously
+// api document: https://help.aliyun.com/api/baas/describefabricorganizationusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFabricOrganizationUsersWithCallback(request *DescribeFabricOrganizationUsersRequest, callback func(response *DescribeFabricOrganizationUsersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFabricOrganizationUsersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFabricOrganizationUsers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFabricOrganizationUsersRequest is the request struct for api DescribeFabricOrganizationUsers
+type DescribeFabricOrganizationUsersRequest struct {
+	*requests.RpcRequest
+	OrganizationId string `position:"Query" name:"OrganizationId"`
+	Location       string `position:"Body" name:"Location"`
+}
+
+// DescribeFabricOrganizationUsersResponse is the response struct for api DescribeFabricOrganizationUsers
+type DescribeFabricOrganizationUsersResponse 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"`
+}
+
+// CreateDescribeFabricOrganizationUsersRequest creates a request to invoke DescribeFabricOrganizationUsers API
+func CreateDescribeFabricOrganizationUsersRequest() (request *DescribeFabricOrganizationUsersRequest) {
+	request = &DescribeFabricOrganizationUsersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Baas", "2018-12-21", "DescribeFabricOrganizationUsers", "baas", "openAPI")
+	return
+}
+
+// CreateDescribeFabricOrganizationUsersResponse creates a response to parse from DescribeFabricOrganizationUsers response
+func CreateDescribeFabricOrganizationUsersResponse() (response *DescribeFabricOrganizationUsersResponse) {
+	response = &DescribeFabricOrganizationUsersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

部分文件因为文件数量过多而无法显示