Explorar o código

CAS SDK Auto Released By zuochao,Version:1.53.84

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao %!s(int64=6) %!d(string=hai) anos
pai
achega
acc3959fd8
Modificáronse 69 ficheiros con 712 adicións e 5292 borrados
  1. 3 0
      ChangeLog.txt
  2. 0 106
      services/cas/create_ali_dns_record_id.go
  3. 0 107
      services/cas/create_certificate.go
  4. 0 106
      services/cas/create_certificate_name.go
  5. 0 108
      services/cas/create_cooperation_order.go
  6. 0 108
      services/cas/create_deployment.go
  7. 0 106
      services/cas/create_domain_verify_configuration_status.go
  8. 112 0
      services/cas/create_dv_order_audit.go
  9. 0 105
      services/cas/create_filing_signature_document.go
  10. 0 113
      services/cas/create_order_audit.go
  11. 0 105
      services/cas/create_order_cancel.go
  12. 0 108
      services/cas/create_order_document.go
  13. 0 128
      services/cas/create_order_material.go
  14. 0 106
      services/cas/create_order_revoke.go
  15. 0 119
      services/cas/create_signature.go
  16. 0 106
      services/cas/create_signature_document.go
  17. 0 108
      services/cas/create_signature_people_certificate.go
  18. 0 105
      services/cas/create_un_deployment.go
  19. 108 0
      services/cas/create_user_certificate.go
  20. 0 119
      services/cas/create_web_signature.go
  21. 0 105
      services/cas/delete_certificate.go
  22. 0 105
      services/cas/delete_order.go
  23. 105 0
      services/cas/delete_user_certificate.go
  24. 0 105
      services/cas/describe_certificate_brand_list.go
  25. 0 119
      services/cas/describe_certificate_detail.go
  26. 0 112
      services/cas/describe_certificate_status_count.go
  27. 0 106
      services/cas/describe_deployment_detail.go
  28. 0 107
      services/cas/describe_deployment_domain_list.go
  29. 0 106
      services/cas/describe_deployment_product.go
  30. 0 107
      services/cas/describe_deployment_region_list.go
  31. 0 105
      services/cas/describe_domain_verify_configuration_status.go
  32. 0 112
      services/cas/describe_domain_verify_info.go
  33. 0 107
      services/cas/describe_download_certificate.go
  34. 0 106
      services/cas/describe_download_domain_verify_configuration.go
  35. 111 0
      services/cas/describe_dv_order_result.go
  36. 0 115
      services/cas/describe_expectation_result.go
  37. 0 106
      services/cas/describe_help_list.go
  38. 0 105
      services/cas/describe_location_list.go
  39. 0 108
      services/cas/describe_order_audit_fail_record.go
  40. 0 116
      services/cas/describe_order_detail.go
  41. 0 107
      services/cas/describe_order_document.go
  42. 107 0
      services/cas/describe_order_instance_list.go
  43. 0 113
      services/cas/describe_order_list.go
  44. 0 129
      services/cas/describe_order_material.go
  45. 0 106
      services/cas/describe_oss_download_info.go
  46. 0 112
      services/cas/describe_oss_upload_info.go
  47. 0 107
      services/cas/describe_signature_capacity.go
  48. 0 108
      services/cas/describe_signature_statistics.go
  49. 0 118
      services/cas/describe_signature_trade_detail.go
  50. 0 112
      services/cas/describe_signature_trade_list.go
  51. 0 105
      services/cas/describe_sts_auth_status.go
  52. 121 0
      services/cas/describe_user_certificate_detail.go
  53. 25 27
      services/cas/describe_user_certificate_list.go
  54. 0 22
      services/cas/struct_brand.go
  55. 0 21
      services/cas/struct_brand_list.go
  56. 14 19
      services/cas/struct_certificate.go
  57. 0 24
      services/cas/struct_day_data.go
  58. 0 21
      services/cas/struct_day_data_list.go
  59. 0 25
      services/cas/struct_deployment.go
  60. 0 21
      services/cas/struct_deployment_detail.go
  61. 0 21
      services/cas/struct_domain_list.go
  62. 5 19
      services/cas/struct_order.go
  63. 0 26
      services/cas/struct_order_document.go
  64. 0 21
      services/cas/struct_order_document_list.go
  65. 1 1
      services/cas/struct_order_list.go
  66. 0 21
      services/cas/struct_product_list.go
  67. 0 21
      services/cas/struct_region_list.go
  68. 0 29
      services/cas/struct_trade.go
  69. 0 21
      services/cas/struct_trade_list.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-03-29 Version: 1.53.84
+1, Fix error version
+
 2019-03-29 Version: 1.53.83
 1, Add DLQ message openAPI.
 2, Add Query the subscription relational openAPI.

+ 0 - 106
services/cas/create_ali_dns_record_id.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateAliDnsRecordId invokes the cas.CreateAliDnsRecordId API synchronously
-// api document: https://help.aliyun.com/api/cas/createalidnsrecordid.html
-func (client *Client) CreateAliDnsRecordId(request *CreateAliDnsRecordIdRequest) (response *CreateAliDnsRecordIdResponse, err error) {
-	response = CreateCreateAliDnsRecordIdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAliDnsRecordIdWithChan invokes the cas.CreateAliDnsRecordId API asynchronously
-// api document: https://help.aliyun.com/api/cas/createalidnsrecordid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAliDnsRecordIdWithChan(request *CreateAliDnsRecordIdRequest) (<-chan *CreateAliDnsRecordIdResponse, <-chan error) {
-	responseChan := make(chan *CreateAliDnsRecordIdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateAliDnsRecordId(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAliDnsRecordIdWithCallback invokes the cas.CreateAliDnsRecordId API asynchronously
-// api document: https://help.aliyun.com/api/cas/createalidnsrecordid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAliDnsRecordIdWithCallback(request *CreateAliDnsRecordIdRequest, callback func(response *CreateAliDnsRecordIdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAliDnsRecordIdResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateAliDnsRecordId(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAliDnsRecordIdRequest is the request struct for api CreateAliDnsRecordId
-type CreateAliDnsRecordIdRequest struct {
-	*requests.RpcRequest
-	RecordId string           `position:"Query" name:"RecordId"`
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// CreateAliDnsRecordIdResponse is the response struct for api CreateAliDnsRecordId
-type CreateAliDnsRecordIdResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateAliDnsRecordIdRequest creates a request to invoke CreateAliDnsRecordId API
-func CreateCreateAliDnsRecordIdRequest() (request *CreateAliDnsRecordIdRequest) {
-	request = &CreateAliDnsRecordIdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateAliDnsRecordId", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateAliDnsRecordIdResponse creates a response to parse from CreateAliDnsRecordId response
-func CreateCreateAliDnsRecordIdResponse() (response *CreateAliDnsRecordIdResponse) {
-	response = &CreateAliDnsRecordIdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/create_certificate.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateCertificate invokes the cas.CreateCertificate API synchronously
-// api document: https://help.aliyun.com/api/cas/createcertificate.html
-func (client *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error) {
-	response = CreateCreateCertificateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateCertificateWithChan invokes the cas.CreateCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCertificateWithChan(request *CreateCertificateRequest) (<-chan *CreateCertificateResponse, <-chan error) {
-	responseChan := make(chan *CreateCertificateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateCertificate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateCertificateWithCallback invokes the cas.CreateCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCertificateWithCallback(request *CreateCertificateRequest, callback func(response *CreateCertificateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateCertificateResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateCertificate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateCertificateRequest is the request struct for api CreateCertificate
-type CreateCertificateRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Name     string `position:"Query" name:"Name"`
-	Cert     string `position:"Query" name:"Cert"`
-	Lang     string `position:"Query" name:"Lang"`
-	Key      string `position:"Query" name:"Key"`
-}
-
-// CreateCertificateResponse is the response struct for api CreateCertificate
-type CreateCertificateResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateCertificateRequest creates a request to invoke CreateCertificate API
-func CreateCreateCertificateRequest() (request *CreateCertificateRequest) {
-	request = &CreateCertificateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateCertificate", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateCertificateResponse creates a response to parse from CreateCertificate response
-func CreateCreateCertificateResponse() (response *CreateCertificateResponse) {
-	response = &CreateCertificateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/create_certificate_name.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateCertificateName invokes the cas.CreateCertificateName API synchronously
-// api document: https://help.aliyun.com/api/cas/createcertificatename.html
-func (client *Client) CreateCertificateName(request *CreateCertificateNameRequest) (response *CreateCertificateNameResponse, err error) {
-	response = CreateCreateCertificateNameResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateCertificateNameWithChan invokes the cas.CreateCertificateName API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcertificatename.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCertificateNameWithChan(request *CreateCertificateNameRequest) (<-chan *CreateCertificateNameResponse, <-chan error) {
-	responseChan := make(chan *CreateCertificateNameResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateCertificateName(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateCertificateNameWithCallback invokes the cas.CreateCertificateName API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcertificatename.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCertificateNameWithCallback(request *CreateCertificateNameRequest, callback func(response *CreateCertificateNameResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateCertificateNameResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateCertificateName(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateCertificateNameRequest is the request struct for api CreateCertificateName
-type CreateCertificateNameRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Name          string           `position:"Query" name:"Name"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// CreateCertificateNameResponse is the response struct for api CreateCertificateName
-type CreateCertificateNameResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateCertificateNameRequest creates a request to invoke CreateCertificateName API
-func CreateCreateCertificateNameRequest() (request *CreateCertificateNameRequest) {
-	request = &CreateCertificateNameRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateCertificateName", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateCertificateNameResponse creates a response to parse from CreateCertificateName response
-func CreateCreateCertificateNameResponse() (response *CreateCertificateNameResponse) {
-	response = &CreateCertificateNameResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/create_cooperation_order.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateCooperationOrder invokes the cas.CreateCooperationOrder API synchronously
-// api document: https://help.aliyun.com/api/cas/createcooperationorder.html
-func (client *Client) CreateCooperationOrder(request *CreateCooperationOrderRequest) (response *CreateCooperationOrderResponse, err error) {
-	response = CreateCreateCooperationOrderResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateCooperationOrderWithChan invokes the cas.CreateCooperationOrder API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcooperationorder.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCooperationOrderWithChan(request *CreateCooperationOrderRequest) (<-chan *CreateCooperationOrderResponse, <-chan error) {
-	responseChan := make(chan *CreateCooperationOrderResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateCooperationOrder(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateCooperationOrderWithCallback invokes the cas.CreateCooperationOrder API asynchronously
-// api document: https://help.aliyun.com/api/cas/createcooperationorder.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCooperationOrderWithCallback(request *CreateCooperationOrderRequest, callback func(response *CreateCooperationOrderResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateCooperationOrderResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateCooperationOrder(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateCooperationOrderRequest is the request struct for api CreateCooperationOrder
-type CreateCooperationOrderRequest struct {
-	*requests.RpcRequest
-	ProductCode string `position:"Query" name:"ProductCode"`
-	SourceIp    string `position:"Query" name:"SourceIp"`
-	Domain      string `position:"Query" name:"Domain"`
-	From        string `position:"Query" name:"From"`
-	Lang        string `position:"Query" name:"Lang"`
-}
-
-// CreateCooperationOrderResponse is the response struct for api CreateCooperationOrder
-type CreateCooperationOrderResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	OrderId   int    `json:"OrderId" xml:"OrderId"`
-}
-
-// CreateCreateCooperationOrderRequest creates a request to invoke CreateCooperationOrder API
-func CreateCreateCooperationOrderRequest() (request *CreateCooperationOrderRequest) {
-	request = &CreateCooperationOrderRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateCooperationOrder", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateCooperationOrderResponse creates a response to parse from CreateCooperationOrder response
-func CreateCreateCooperationOrderResponse() (response *CreateCooperationOrderResponse) {
-	response = &CreateCooperationOrderResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/create_deployment.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateDeployment invokes the cas.CreateDeployment API synchronously
-// api document: https://help.aliyun.com/api/cas/createdeployment.html
-func (client *Client) CreateDeployment(request *CreateDeploymentRequest) (response *CreateDeploymentResponse, err error) {
-	response = CreateCreateDeploymentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDeploymentWithChan invokes the cas.CreateDeployment API asynchronously
-// api document: https://help.aliyun.com/api/cas/createdeployment.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDeploymentWithChan(request *CreateDeploymentRequest) (<-chan *CreateDeploymentResponse, <-chan error) {
-	responseChan := make(chan *CreateDeploymentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDeployment(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDeploymentWithCallback invokes the cas.CreateDeployment API asynchronously
-// api document: https://help.aliyun.com/api/cas/createdeployment.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDeploymentWithCallback(request *CreateDeploymentRequest, callback func(response *CreateDeploymentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDeploymentResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDeployment(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDeploymentRequest is the request struct for api CreateDeployment
-type CreateDeploymentRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Domain        string           `position:"Query" name:"Domain"`
-	CloudProduct  string           `position:"Query" name:"CloudProduct"`
-	Lang          string           `position:"Query" name:"Lang"`
-	Region        string           `position:"Query" name:"Region"`
-}
-
-// CreateDeploymentResponse is the response struct for api CreateDeployment
-type CreateDeploymentResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateDeploymentRequest creates a request to invoke CreateDeployment API
-func CreateCreateDeploymentRequest() (request *CreateDeploymentRequest) {
-	request = &CreateDeploymentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateDeployment", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateDeploymentResponse creates a response to parse from CreateDeployment response
-func CreateCreateDeploymentResponse() (response *CreateDeploymentResponse) {
-	response = &CreateDeploymentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/create_domain_verify_configuration_status.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateDomainVerifyConfigurationStatus invokes the cas.CreateDomainVerifyConfigurationStatus API synchronously
-// api document: https://help.aliyun.com/api/cas/createdomainverifyconfigurationstatus.html
-func (client *Client) CreateDomainVerifyConfigurationStatus(request *CreateDomainVerifyConfigurationStatusRequest) (response *CreateDomainVerifyConfigurationStatusResponse, err error) {
-	response = CreateCreateDomainVerifyConfigurationStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDomainVerifyConfigurationStatusWithChan invokes the cas.CreateDomainVerifyConfigurationStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/createdomainverifyconfigurationstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDomainVerifyConfigurationStatusWithChan(request *CreateDomainVerifyConfigurationStatusRequest) (<-chan *CreateDomainVerifyConfigurationStatusResponse, <-chan error) {
-	responseChan := make(chan *CreateDomainVerifyConfigurationStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDomainVerifyConfigurationStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDomainVerifyConfigurationStatusWithCallback invokes the cas.CreateDomainVerifyConfigurationStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/createdomainverifyconfigurationstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDomainVerifyConfigurationStatusWithCallback(request *CreateDomainVerifyConfigurationStatusRequest, callback func(response *CreateDomainVerifyConfigurationStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDomainVerifyConfigurationStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDomainVerifyConfigurationStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDomainVerifyConfigurationStatusRequest is the request struct for api CreateDomainVerifyConfigurationStatus
-type CreateDomainVerifyConfigurationStatusRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-	Type     string           `position:"Query" name:"Type"`
-}
-
-// CreateDomainVerifyConfigurationStatusResponse is the response struct for api CreateDomainVerifyConfigurationStatus
-type CreateDomainVerifyConfigurationStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateDomainVerifyConfigurationStatusRequest creates a request to invoke CreateDomainVerifyConfigurationStatus API
-func CreateCreateDomainVerifyConfigurationStatusRequest() (request *CreateDomainVerifyConfigurationStatusRequest) {
-	request = &CreateDomainVerifyConfigurationStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateDomainVerifyConfigurationStatus", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateDomainVerifyConfigurationStatusResponse creates a response to parse from CreateDomainVerifyConfigurationStatus response
-func CreateCreateDomainVerifyConfigurationStatusResponse() (response *CreateDomainVerifyConfigurationStatusResponse) {
-	response = &CreateDomainVerifyConfigurationStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 112 - 0
services/cas/create_dv_order_audit.go

@@ -0,0 +1,112 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// CreateDVOrderAudit invokes the cas.CreateDVOrderAudit API synchronously
+// api document: https://help.aliyun.com/api/cas/createdvorderaudit.html
+func (client *Client) CreateDVOrderAudit(request *CreateDVOrderAuditRequest) (response *CreateDVOrderAuditResponse, err error) {
+	response = CreateCreateDVOrderAuditResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateDVOrderAuditWithChan invokes the cas.CreateDVOrderAudit API asynchronously
+// api document: https://help.aliyun.com/api/cas/createdvorderaudit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDVOrderAuditWithChan(request *CreateDVOrderAuditRequest) (<-chan *CreateDVOrderAuditResponse, <-chan error) {
+	responseChan := make(chan *CreateDVOrderAuditResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateDVOrderAudit(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateDVOrderAuditWithCallback invokes the cas.CreateDVOrderAudit API asynchronously
+// api document: https://help.aliyun.com/api/cas/createdvorderaudit.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDVOrderAuditWithCallback(request *CreateDVOrderAuditRequest, callback func(response *CreateDVOrderAuditResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateDVOrderAuditResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateDVOrderAudit(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateDVOrderAuditRequest is the request struct for api CreateDVOrderAudit
+type CreateDVOrderAuditRequest struct {
+	*requests.RpcRequest
+	InstanceId       string `position:"Query" name:"InstanceId"`
+	SourceIp         string `position:"Query" name:"SourceIp"`
+	Province         string `position:"Query" name:"Province"`
+	City             string `position:"Query" name:"City"`
+	Domain           string `position:"Query" name:"Domain"`
+	DomainVerifyType string `position:"Query" name:"DomainVerifyType"`
+	Mobile           string `position:"Query" name:"Mobile"`
+	Lang             string `position:"Query" name:"Lang"`
+	Email            string `position:"Query" name:"Email"`
+	Username         string `position:"Query" name:"Username"`
+}
+
+// CreateDVOrderAuditResponse is the response struct for api CreateDVOrderAudit
+type CreateDVOrderAuditResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCreateDVOrderAuditRequest creates a request to invoke CreateDVOrderAudit API
+func CreateCreateDVOrderAuditRequest() (request *CreateDVOrderAuditRequest) {
+	request = &CreateDVOrderAuditRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "CreateDVOrderAudit", "cas", "openAPI")
+	return
+}
+
+// CreateCreateDVOrderAuditResponse creates a response to parse from CreateDVOrderAudit response
+func CreateCreateDVOrderAuditResponse() (response *CreateDVOrderAuditResponse) {
+	response = &CreateDVOrderAuditResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 105
services/cas/create_filing_signature_document.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateFilingSignatureDocument invokes the cas.CreateFilingSignatureDocument API synchronously
-// api document: https://help.aliyun.com/api/cas/createfilingsignaturedocument.html
-func (client *Client) CreateFilingSignatureDocument(request *CreateFilingSignatureDocumentRequest) (response *CreateFilingSignatureDocumentResponse, err error) {
-	response = CreateCreateFilingSignatureDocumentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateFilingSignatureDocumentWithChan invokes the cas.CreateFilingSignatureDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createfilingsignaturedocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateFilingSignatureDocumentWithChan(request *CreateFilingSignatureDocumentRequest) (<-chan *CreateFilingSignatureDocumentResponse, <-chan error) {
-	responseChan := make(chan *CreateFilingSignatureDocumentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateFilingSignatureDocument(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateFilingSignatureDocumentWithCallback invokes the cas.CreateFilingSignatureDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createfilingsignaturedocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateFilingSignatureDocumentWithCallback(request *CreateFilingSignatureDocumentRequest, callback func(response *CreateFilingSignatureDocumentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateFilingSignatureDocumentResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateFilingSignatureDocument(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateFilingSignatureDocumentRequest is the request struct for api CreateFilingSignatureDocument
-type CreateFilingSignatureDocumentRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	DocId    string `position:"Query" name:"DocId"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// CreateFilingSignatureDocumentResponse is the response struct for api CreateFilingSignatureDocument
-type CreateFilingSignatureDocumentResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateFilingSignatureDocumentRequest creates a request to invoke CreateFilingSignatureDocument API
-func CreateCreateFilingSignatureDocumentRequest() (request *CreateFilingSignatureDocumentRequest) {
-	request = &CreateFilingSignatureDocumentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateFilingSignatureDocument", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateFilingSignatureDocumentResponse creates a response to parse from CreateFilingSignatureDocument response
-func CreateCreateFilingSignatureDocumentResponse() (response *CreateFilingSignatureDocumentResponse) {
-	response = &CreateFilingSignatureDocumentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 113
services/cas/create_order_audit.go

@@ -1,113 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateOrderAudit invokes the cas.CreateOrderAudit API synchronously
-// api document: https://help.aliyun.com/api/cas/createorderaudit.html
-func (client *Client) CreateOrderAudit(request *CreateOrderAuditRequest) (response *CreateOrderAuditResponse, err error) {
-	response = CreateCreateOrderAuditResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateOrderAuditWithChan invokes the cas.CreateOrderAudit API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderaudit.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderAuditWithChan(request *CreateOrderAuditRequest) (<-chan *CreateOrderAuditResponse, <-chan error) {
-	responseChan := make(chan *CreateOrderAuditResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateOrderAudit(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateOrderAuditWithCallback invokes the cas.CreateOrderAudit API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderaudit.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderAuditWithCallback(request *CreateOrderAuditRequest, callback func(response *CreateOrderAuditResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateOrderAuditResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateOrderAudit(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateOrderAuditRequest is the request struct for api CreateOrderAudit
-type CreateOrderAuditRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-	Type     string           `position:"Query" name:"Type"`
-}
-
-// CreateOrderAuditResponse is the response struct for api CreateOrderAudit
-type CreateOrderAuditResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Type         string `json:"Type" xml:"Type"`
-	CheckName    string `json:"CheckName" xml:"CheckName"`
-	CheckValue   string `json:"CheckValue" xml:"CheckValue"`
-	ModifiedTime string `json:"ModifiedTime" xml:"ModifiedTime"`
-	CheckType    string `json:"CheckType" xml:"CheckType"`
-	CheckName1   string `json:"CheckName1" xml:"CheckName1"`
-	CheckName2   string `json:"CheckName2" xml:"CheckName2"`
-}
-
-// CreateCreateOrderAuditRequest creates a request to invoke CreateOrderAudit API
-func CreateCreateOrderAuditRequest() (request *CreateOrderAuditRequest) {
-	request = &CreateOrderAuditRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateOrderAudit", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateOrderAuditResponse creates a response to parse from CreateOrderAudit response
-func CreateCreateOrderAuditResponse() (response *CreateOrderAuditResponse) {
-	response = &CreateOrderAuditResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/create_order_cancel.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateOrderCancel invokes the cas.CreateOrderCancel API synchronously
-// api document: https://help.aliyun.com/api/cas/createordercancel.html
-func (client *Client) CreateOrderCancel(request *CreateOrderCancelRequest) (response *CreateOrderCancelResponse, err error) {
-	response = CreateCreateOrderCancelResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateOrderCancelWithChan invokes the cas.CreateOrderCancel API asynchronously
-// api document: https://help.aliyun.com/api/cas/createordercancel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderCancelWithChan(request *CreateOrderCancelRequest) (<-chan *CreateOrderCancelResponse, <-chan error) {
-	responseChan := make(chan *CreateOrderCancelResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateOrderCancel(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateOrderCancelWithCallback invokes the cas.CreateOrderCancel API asynchronously
-// api document: https://help.aliyun.com/api/cas/createordercancel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderCancelWithCallback(request *CreateOrderCancelRequest, callback func(response *CreateOrderCancelResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateOrderCancelResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateOrderCancel(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateOrderCancelRequest is the request struct for api CreateOrderCancel
-type CreateOrderCancelRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// CreateOrderCancelResponse is the response struct for api CreateOrderCancel
-type CreateOrderCancelResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateOrderCancelRequest creates a request to invoke CreateOrderCancel API
-func CreateCreateOrderCancelRequest() (request *CreateOrderCancelRequest) {
-	request = &CreateOrderCancelRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateOrderCancel", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateOrderCancelResponse creates a response to parse from CreateOrderCancel response
-func CreateCreateOrderCancelResponse() (response *CreateOrderCancelResponse) {
-	response = &CreateOrderCancelResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/create_order_document.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateOrderDocument invokes the cas.CreateOrderDocument API synchronously
-// api document: https://help.aliyun.com/api/cas/createorderdocument.html
-func (client *Client) CreateOrderDocument(request *CreateOrderDocumentRequest) (response *CreateOrderDocumentResponse, err error) {
-	response = CreateCreateOrderDocumentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateOrderDocumentWithChan invokes the cas.CreateOrderDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderdocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderDocumentWithChan(request *CreateOrderDocumentRequest) (<-chan *CreateOrderDocumentResponse, <-chan error) {
-	responseChan := make(chan *CreateOrderDocumentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateOrderDocument(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateOrderDocumentWithCallback invokes the cas.CreateOrderDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderdocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderDocumentWithCallback(request *CreateOrderDocumentRequest, callback func(response *CreateOrderDocumentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateOrderDocumentResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateOrderDocument(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateOrderDocumentRequest is the request struct for api CreateOrderDocument
-type CreateOrderDocumentRequest struct {
-	*requests.RpcRequest
-	OssKey       string           `position:"Query" name:"OssKey"`
-	SourceIp     string           `position:"Query" name:"SourceIp"`
-	OrderId      requests.Integer `position:"Query" name:"OrderId"`
-	DocumentType requests.Integer `position:"Query" name:"DocumentType"`
-	Lang         string           `position:"Query" name:"Lang"`
-	ExtName      string           `position:"Query" name:"ExtName"`
-}
-
-// CreateOrderDocumentResponse is the response struct for api CreateOrderDocument
-type CreateOrderDocumentResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateOrderDocumentRequest creates a request to invoke CreateOrderDocument API
-func CreateCreateOrderDocumentRequest() (request *CreateOrderDocumentRequest) {
-	request = &CreateOrderDocumentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateOrderDocument", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateOrderDocumentResponse creates a response to parse from CreateOrderDocument response
-func CreateCreateOrderDocumentResponse() (response *CreateOrderDocumentResponse) {
-	response = &CreateOrderDocumentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 128
services/cas/create_order_material.go

@@ -1,128 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateOrderMaterial invokes the cas.CreateOrderMaterial API synchronously
-// api document: https://help.aliyun.com/api/cas/createordermaterial.html
-func (client *Client) CreateOrderMaterial(request *CreateOrderMaterialRequest) (response *CreateOrderMaterialResponse, err error) {
-	response = CreateCreateOrderMaterialResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateOrderMaterialWithChan invokes the cas.CreateOrderMaterial API asynchronously
-// api document: https://help.aliyun.com/api/cas/createordermaterial.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderMaterialWithChan(request *CreateOrderMaterialRequest) (<-chan *CreateOrderMaterialResponse, <-chan error) {
-	responseChan := make(chan *CreateOrderMaterialResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateOrderMaterial(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateOrderMaterialWithCallback invokes the cas.CreateOrderMaterial API asynchronously
-// api document: https://help.aliyun.com/api/cas/createordermaterial.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderMaterialWithCallback(request *CreateOrderMaterialRequest, callback func(response *CreateOrderMaterialResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateOrderMaterialResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateOrderMaterial(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateOrderMaterialRequest is the request struct for api CreateOrderMaterial
-type CreateOrderMaterialRequest struct {
-	*requests.RpcRequest
-	LeaderName         string           `position:"Query" name:"LeaderName"`
-	City               string           `position:"Query" name:"City"`
-	CountryCode        string           `position:"Query" name:"CountryCode"`
-	LeaderEmail        string           `position:"Query" name:"LeaderEmail"`
-	CompanyAddress     string           `position:"Query" name:"CompanyAddress"`
-	CompanyCode        string           `position:"Query" name:"CompanyCode"`
-	PersonEmail        string           `position:"Query" name:"PersonEmail"`
-	Province           string           `position:"Query" name:"Province"`
-	DomainAuthType     requests.Integer `position:"Query" name:"DomainAuthType"`
-	LeaderPhone        string           `position:"Query" name:"LeaderPhone"`
-	SourceIp           string           `position:"Query" name:"SourceIp"`
-	CsrContent         string           `position:"Query" name:"CsrContent"`
-	Lang               string           `position:"Query" name:"Lang"`
-	PersonName         string           `position:"Query" name:"PersonName"`
-	PersonIdCardNumber string           `position:"Query" name:"PersonIdCardNumber"`
-	OrderId            requests.Integer `position:"Query" name:"OrderId"`
-	LeaderTitle        string           `position:"Query" name:"LeaderTitle"`
-	PersonTitle        string           `position:"Query" name:"PersonTitle"`
-	PostCode           string           `position:"Query" name:"PostCode"`
-	CreateCsr          requests.Integer `position:"Query" name:"CreateCsr"`
-	PersonPhone        string           `position:"Query" name:"PersonPhone"`
-	CompanyName        string           `position:"Query" name:"CompanyName"`
-	CompanyPhone       string           `position:"Query" name:"CompanyPhone"`
-	CompanyType        requests.Integer `position:"Query" name:"CompanyType"`
-	Domain             string           `position:"Query" name:"Domain"`
-	PersonDepartment   string           `position:"Query" name:"PersonDepartment"`
-}
-
-// CreateOrderMaterialResponse is the response struct for api CreateOrderMaterial
-type CreateOrderMaterialResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateOrderMaterialRequest creates a request to invoke CreateOrderMaterial API
-func CreateCreateOrderMaterialRequest() (request *CreateOrderMaterialRequest) {
-	request = &CreateOrderMaterialRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateOrderMaterial", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateOrderMaterialResponse creates a response to parse from CreateOrderMaterial response
-func CreateCreateOrderMaterialResponse() (response *CreateOrderMaterialResponse) {
-	response = &CreateOrderMaterialResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/create_order_revoke.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateOrderRevoke invokes the cas.CreateOrderRevoke API synchronously
-// api document: https://help.aliyun.com/api/cas/createorderrevoke.html
-func (client *Client) CreateOrderRevoke(request *CreateOrderRevokeRequest) (response *CreateOrderRevokeResponse, err error) {
-	response = CreateCreateOrderRevokeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateOrderRevokeWithChan invokes the cas.CreateOrderRevoke API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderrevoke.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderRevokeWithChan(request *CreateOrderRevokeRequest) (<-chan *CreateOrderRevokeResponse, <-chan error) {
-	responseChan := make(chan *CreateOrderRevokeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateOrderRevoke(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateOrderRevokeWithCallback invokes the cas.CreateOrderRevoke API asynchronously
-// api document: https://help.aliyun.com/api/cas/createorderrevoke.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateOrderRevokeWithCallback(request *CreateOrderRevokeRequest, callback func(response *CreateOrderRevokeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateOrderRevokeResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateOrderRevoke(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateOrderRevokeRequest is the request struct for api CreateOrderRevoke
-type CreateOrderRevokeRequest struct {
-	*requests.RpcRequest
-	Reason   string           `position:"Query" name:"Reason"`
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// CreateOrderRevokeResponse is the response struct for api CreateOrderRevoke
-type CreateOrderRevokeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateOrderRevokeRequest creates a request to invoke CreateOrderRevoke API
-func CreateCreateOrderRevokeRequest() (request *CreateOrderRevokeRequest) {
-	request = &CreateOrderRevokeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateOrderRevoke", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateOrderRevokeResponse creates a response to parse from CreateOrderRevoke response
-func CreateCreateOrderRevokeResponse() (response *CreateOrderRevokeResponse) {
-	response = &CreateOrderRevokeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 119
services/cas/create_signature.go

@@ -1,119 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateSignature invokes the cas.CreateSignature API synchronously
-// api document: https://help.aliyun.com/api/cas/createsignature.html
-func (client *Client) CreateSignature(request *CreateSignatureRequest) (response *CreateSignatureResponse, err error) {
-	response = CreateCreateSignatureResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateSignatureWithChan invokes the cas.CreateSignature API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignature.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignatureWithChan(request *CreateSignatureRequest) (<-chan *CreateSignatureResponse, <-chan error) {
-	responseChan := make(chan *CreateSignatureResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateSignature(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateSignatureWithCallback invokes the cas.CreateSignature API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignature.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignatureWithCallback(request *CreateSignatureRequest, callback func(response *CreateSignatureResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateSignatureResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateSignature(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateSignatureRequest is the request struct for api CreateSignature
-type CreateSignatureRequest struct {
-	*requests.RpcRequest
-	Quantity        requests.Integer `position:"Query" name:"Quantity"`
-	HandSignImg     string           `position:"Query" name:"HandSignImg"`
-	DocId           string           `position:"Query" name:"DocId"`
-	CustomApi       string           `position:"Query" name:"CustomApi"`
-	PositionPage    requests.Integer `position:"Query" name:"PositionPage"`
-	DocTitle        string           `position:"Query" name:"DocTitle"`
-	PositionX       requests.Integer `position:"Query" name:"PositionX"`
-	PositionY       requests.Integer `position:"Query" name:"PositionY"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	PeopleId        string           `position:"Query" name:"PeopleId"`
-	PositionType    requests.Integer `position:"Query" name:"PositionType"`
-	SignKeyword     string           `position:"Query" name:"SignKeyword"`
-	NotifyUrl       string           `position:"Query" name:"NotifyUrl"`
-	Validity        requests.Integer `position:"Query" name:"Validity"`
-	ReturnUrl       string           `position:"Query" name:"ReturnUrl"`
-	Lang            string           `position:"Query" name:"Lang"`
-	KeywordStrategy requests.Integer `position:"Query" name:"KeywordStrategy"`
-}
-
-// CreateSignatureResponse is the response struct for api CreateSignature
-type CreateSignatureResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateSignatureRequest creates a request to invoke CreateSignature API
-func CreateCreateSignatureRequest() (request *CreateSignatureRequest) {
-	request = &CreateSignatureRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateSignature", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateSignatureResponse creates a response to parse from CreateSignature response
-func CreateCreateSignatureResponse() (response *CreateSignatureResponse) {
-	response = &CreateSignatureResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/create_signature_document.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateSignatureDocument invokes the cas.CreateSignatureDocument API synchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturedocument.html
-func (client *Client) CreateSignatureDocument(request *CreateSignatureDocumentRequest) (response *CreateSignatureDocumentResponse, err error) {
-	response = CreateCreateSignatureDocumentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateSignatureDocumentWithChan invokes the cas.CreateSignatureDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturedocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignatureDocumentWithChan(request *CreateSignatureDocumentRequest) (<-chan *CreateSignatureDocumentResponse, <-chan error) {
-	responseChan := make(chan *CreateSignatureDocumentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateSignatureDocument(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateSignatureDocumentWithCallback invokes the cas.CreateSignatureDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturedocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignatureDocumentWithCallback(request *CreateSignatureDocumentRequest, callback func(response *CreateSignatureDocumentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateSignatureDocumentResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateSignatureDocument(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateSignatureDocumentRequest is the request struct for api CreateSignatureDocument
-type CreateSignatureDocumentRequest struct {
-	*requests.RpcRequest
-	SourceIp   string `position:"Query" name:"SourceIp"`
-	DocContent string `position:"Query" name:"DocContent"`
-	Lang       string `position:"Query" name:"Lang"`
-	DocTitle   string `position:"Query" name:"DocTitle"`
-}
-
-// CreateSignatureDocumentResponse is the response struct for api CreateSignatureDocument
-type CreateSignatureDocumentResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateSignatureDocumentRequest creates a request to invoke CreateSignatureDocument API
-func CreateCreateSignatureDocumentRequest() (request *CreateSignatureDocumentRequest) {
-	request = &CreateSignatureDocumentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateSignatureDocument", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateSignatureDocumentResponse creates a response to parse from CreateSignatureDocument response
-func CreateCreateSignatureDocumentResponse() (response *CreateSignatureDocumentResponse) {
-	response = &CreateSignatureDocumentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/create_signature_people_certificate.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateSignaturePeopleCertificate invokes the cas.CreateSignaturePeopleCertificate API synchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturepeoplecertificate.html
-func (client *Client) CreateSignaturePeopleCertificate(request *CreateSignaturePeopleCertificateRequest) (response *CreateSignaturePeopleCertificateResponse, err error) {
-	response = CreateCreateSignaturePeopleCertificateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateSignaturePeopleCertificateWithChan invokes the cas.CreateSignaturePeopleCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturepeoplecertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignaturePeopleCertificateWithChan(request *CreateSignaturePeopleCertificateRequest) (<-chan *CreateSignaturePeopleCertificateResponse, <-chan error) {
-	responseChan := make(chan *CreateSignaturePeopleCertificateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateSignaturePeopleCertificate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateSignaturePeopleCertificateWithCallback invokes the cas.CreateSignaturePeopleCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/createsignaturepeoplecertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateSignaturePeopleCertificateWithCallback(request *CreateSignaturePeopleCertificateRequest, callback func(response *CreateSignaturePeopleCertificateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateSignaturePeopleCertificateResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateSignaturePeopleCertificate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateSignaturePeopleCertificateRequest is the request struct for api CreateSignaturePeopleCertificate
-type CreateSignaturePeopleCertificateRequest struct {
-	*requests.RpcRequest
-	PeopleName     string `position:"Query" name:"PeopleName"`
-	SourceIp       string `position:"Query" name:"SourceIp"`
-	Mobile         string `position:"Query" name:"Mobile"`
-	IdentityNumber string `position:"Query" name:"IdentityNumber"`
-	Lang           string `position:"Query" name:"Lang"`
-	Email          string `position:"Query" name:"Email"`
-}
-
-// CreateSignaturePeopleCertificateResponse is the response struct for api CreateSignaturePeopleCertificate
-type CreateSignaturePeopleCertificateResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateSignaturePeopleCertificateRequest creates a request to invoke CreateSignaturePeopleCertificate API
-func CreateCreateSignaturePeopleCertificateRequest() (request *CreateSignaturePeopleCertificateRequest) {
-	request = &CreateSignaturePeopleCertificateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateSignaturePeopleCertificate", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateSignaturePeopleCertificateResponse creates a response to parse from CreateSignaturePeopleCertificate response
-func CreateCreateSignaturePeopleCertificateResponse() (response *CreateSignaturePeopleCertificateResponse) {
-	response = &CreateSignaturePeopleCertificateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/create_un_deployment.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateUnDeployment invokes the cas.CreateUnDeployment API synchronously
-// api document: https://help.aliyun.com/api/cas/createundeployment.html
-func (client *Client) CreateUnDeployment(request *CreateUnDeploymentRequest) (response *CreateUnDeploymentResponse, err error) {
-	response = CreateCreateUnDeploymentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUnDeploymentWithChan invokes the cas.CreateUnDeployment API asynchronously
-// api document: https://help.aliyun.com/api/cas/createundeployment.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUnDeploymentWithChan(request *CreateUnDeploymentRequest) (<-chan *CreateUnDeploymentResponse, <-chan error) {
-	responseChan := make(chan *CreateUnDeploymentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUnDeployment(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUnDeploymentWithCallback invokes the cas.CreateUnDeployment API asynchronously
-// api document: https://help.aliyun.com/api/cas/createundeployment.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUnDeploymentWithCallback(request *CreateUnDeploymentRequest, callback func(response *CreateUnDeploymentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUnDeploymentResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUnDeployment(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUnDeploymentRequest is the request struct for api CreateUnDeployment
-type CreateUnDeploymentRequest struct {
-	*requests.RpcRequest
-	SourceIp     string           `position:"Query" name:"SourceIp"`
-	DeploymentId requests.Integer `position:"Query" name:"DeploymentId"`
-	Lang         string           `position:"Query" name:"Lang"`
-}
-
-// CreateUnDeploymentResponse is the response struct for api CreateUnDeployment
-type CreateUnDeploymentResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateUnDeploymentRequest creates a request to invoke CreateUnDeployment API
-func CreateCreateUnDeploymentRequest() (request *CreateUnDeploymentRequest) {
-	request = &CreateUnDeploymentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateUnDeployment", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateUnDeploymentResponse creates a response to parse from CreateUnDeployment response
-func CreateCreateUnDeploymentResponse() (response *CreateUnDeploymentResponse) {
-	response = &CreateUnDeploymentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 108 - 0
services/cas/create_user_certificate.go

@@ -0,0 +1,108 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// CreateUserCertificate invokes the cas.CreateUserCertificate API synchronously
+// api document: https://help.aliyun.com/api/cas/createusercertificate.html
+func (client *Client) CreateUserCertificate(request *CreateUserCertificateRequest) (response *CreateUserCertificateResponse, err error) {
+	response = CreateCreateUserCertificateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateUserCertificateWithChan invokes the cas.CreateUserCertificate API asynchronously
+// api document: https://help.aliyun.com/api/cas/createusercertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserCertificateWithChan(request *CreateUserCertificateRequest) (<-chan *CreateUserCertificateResponse, <-chan error) {
+	responseChan := make(chan *CreateUserCertificateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateUserCertificate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateUserCertificateWithCallback invokes the cas.CreateUserCertificate API asynchronously
+// api document: https://help.aliyun.com/api/cas/createusercertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserCertificateWithCallback(request *CreateUserCertificateRequest, callback func(response *CreateUserCertificateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateUserCertificateResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateUserCertificate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateUserCertificateRequest is the request struct for api CreateUserCertificate
+type CreateUserCertificateRequest struct {
+	*requests.RpcRequest
+	SourceIp string `position:"Query" name:"SourceIp"`
+	Name     string `position:"Query" name:"Name"`
+	Cert     string `position:"Query" name:"Cert"`
+	Lang     string `position:"Query" name:"Lang"`
+	Key      string `position:"Query" name:"Key"`
+}
+
+// CreateUserCertificateResponse is the response struct for api CreateUserCertificate
+type CreateUserCertificateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	CertId    int    `json:"CertId" xml:"CertId"`
+}
+
+// CreateCreateUserCertificateRequest creates a request to invoke CreateUserCertificate API
+func CreateCreateUserCertificateRequest() (request *CreateUserCertificateRequest) {
+	request = &CreateUserCertificateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "CreateUserCertificate", "cas", "openAPI")
+	return
+}
+
+// CreateCreateUserCertificateResponse creates a response to parse from CreateUserCertificate response
+func CreateCreateUserCertificateResponse() (response *CreateUserCertificateResponse) {
+	response = &CreateUserCertificateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 119
services/cas/create_web_signature.go

@@ -1,119 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// CreateWebSignature invokes the cas.CreateWebSignature API synchronously
-// api document: https://help.aliyun.com/api/cas/createwebsignature.html
-func (client *Client) CreateWebSignature(request *CreateWebSignatureRequest) (response *CreateWebSignatureResponse, err error) {
-	response = CreateCreateWebSignatureResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateWebSignatureWithChan invokes the cas.CreateWebSignature API asynchronously
-// api document: https://help.aliyun.com/api/cas/createwebsignature.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateWebSignatureWithChan(request *CreateWebSignatureRequest) (<-chan *CreateWebSignatureResponse, <-chan error) {
-	responseChan := make(chan *CreateWebSignatureResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateWebSignature(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateWebSignatureWithCallback invokes the cas.CreateWebSignature API asynchronously
-// api document: https://help.aliyun.com/api/cas/createwebsignature.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateWebSignatureWithCallback(request *CreateWebSignatureRequest, callback func(response *CreateWebSignatureResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateWebSignatureResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateWebSignature(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateWebSignatureRequest is the request struct for api CreateWebSignature
-type CreateWebSignatureRequest struct {
-	*requests.RpcRequest
-	Quantity        requests.Integer `position:"Query" name:"Quantity"`
-	HandSignImg     string           `position:"Query" name:"HandSignImg"`
-	DocId           string           `position:"Query" name:"DocId"`
-	CustomApi       string           `position:"Query" name:"CustomApi"`
-	PositionPage    requests.Integer `position:"Query" name:"PositionPage"`
-	DocTitle        string           `position:"Query" name:"DocTitle"`
-	PositionX       requests.Integer `position:"Query" name:"PositionX"`
-	PositionY       requests.Integer `position:"Query" name:"PositionY"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	PeopleId        string           `position:"Query" name:"PeopleId"`
-	PositionType    requests.Integer `position:"Query" name:"PositionType"`
-	SignKeyword     string           `position:"Query" name:"SignKeyword"`
-	NotifyUrl       string           `position:"Query" name:"NotifyUrl"`
-	Validity        requests.Integer `position:"Query" name:"Validity"`
-	ReturnUrl       string           `position:"Query" name:"ReturnUrl"`
-	Lang            string           `position:"Query" name:"Lang"`
-	KeywordStrategy requests.Integer `position:"Query" name:"KeywordStrategy"`
-}
-
-// CreateWebSignatureResponse is the response struct for api CreateWebSignature
-type CreateWebSignatureResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateWebSignatureRequest creates a request to invoke CreateWebSignature API
-func CreateCreateWebSignatureRequest() (request *CreateWebSignatureRequest) {
-	request = &CreateWebSignatureRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "CreateWebSignature", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateCreateWebSignatureResponse creates a response to parse from CreateWebSignature response
-func CreateCreateWebSignatureResponse() (response *CreateWebSignatureResponse) {
-	response = &CreateWebSignatureResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/delete_certificate.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DeleteCertificate invokes the cas.DeleteCertificate API synchronously
-// api document: https://help.aliyun.com/api/cas/deletecertificate.html
-func (client *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error) {
-	response = CreateDeleteCertificateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteCertificateWithChan invokes the cas.DeleteCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/deletecertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCertificateWithChan(request *DeleteCertificateRequest) (<-chan *DeleteCertificateResponse, <-chan error) {
-	responseChan := make(chan *DeleteCertificateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteCertificate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteCertificateWithCallback invokes the cas.DeleteCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/deletecertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCertificateWithCallback(request *DeleteCertificateRequest, callback func(response *DeleteCertificateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteCertificateResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteCertificate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteCertificateRequest is the request struct for api DeleteCertificate
-type DeleteCertificateRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DeleteCertificateResponse is the response struct for api DeleteCertificate
-type DeleteCertificateResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteCertificateRequest creates a request to invoke DeleteCertificate API
-func CreateDeleteCertificateRequest() (request *DeleteCertificateRequest) {
-	request = &DeleteCertificateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DeleteCertificate", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDeleteCertificateResponse creates a response to parse from DeleteCertificate response
-func CreateDeleteCertificateResponse() (response *DeleteCertificateResponse) {
-	response = &DeleteCertificateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/delete_order.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DeleteOrder invokes the cas.DeleteOrder API synchronously
-// api document: https://help.aliyun.com/api/cas/deleteorder.html
-func (client *Client) DeleteOrder(request *DeleteOrderRequest) (response *DeleteOrderResponse, err error) {
-	response = CreateDeleteOrderResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteOrderWithChan invokes the cas.DeleteOrder API asynchronously
-// api document: https://help.aliyun.com/api/cas/deleteorder.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteOrderWithChan(request *DeleteOrderRequest) (<-chan *DeleteOrderResponse, <-chan error) {
-	responseChan := make(chan *DeleteOrderResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteOrder(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteOrderWithCallback invokes the cas.DeleteOrder API asynchronously
-// api document: https://help.aliyun.com/api/cas/deleteorder.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteOrderWithCallback(request *DeleteOrderRequest, callback func(response *DeleteOrderResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteOrderResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteOrder(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteOrderRequest is the request struct for api DeleteOrder
-type DeleteOrderRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DeleteOrderResponse is the response struct for api DeleteOrder
-type DeleteOrderResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteOrderRequest creates a request to invoke DeleteOrder API
-func CreateDeleteOrderRequest() (request *DeleteOrderRequest) {
-	request = &DeleteOrderRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DeleteOrder", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDeleteOrderResponse creates a response to parse from DeleteOrder response
-func CreateDeleteOrderResponse() (response *DeleteOrderResponse) {
-	response = &DeleteOrderResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 105 - 0
services/cas/delete_user_certificate.go

@@ -0,0 +1,105 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// DeleteUserCertificate invokes the cas.DeleteUserCertificate API synchronously
+// api document: https://help.aliyun.com/api/cas/deleteusercertificate.html
+func (client *Client) DeleteUserCertificate(request *DeleteUserCertificateRequest) (response *DeleteUserCertificateResponse, err error) {
+	response = CreateDeleteUserCertificateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteUserCertificateWithChan invokes the cas.DeleteUserCertificate API asynchronously
+// api document: https://help.aliyun.com/api/cas/deleteusercertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteUserCertificateWithChan(request *DeleteUserCertificateRequest) (<-chan *DeleteUserCertificateResponse, <-chan error) {
+	responseChan := make(chan *DeleteUserCertificateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteUserCertificate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteUserCertificateWithCallback invokes the cas.DeleteUserCertificate API asynchronously
+// api document: https://help.aliyun.com/api/cas/deleteusercertificate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteUserCertificateWithCallback(request *DeleteUserCertificateRequest, callback func(response *DeleteUserCertificateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteUserCertificateResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteUserCertificate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteUserCertificateRequest is the request struct for api DeleteUserCertificate
+type DeleteUserCertificateRequest struct {
+	*requests.RpcRequest
+	SourceIp string           `position:"Query" name:"SourceIp"`
+	CertId   requests.Integer `position:"Query" name:"CertId"`
+	Lang     string           `position:"Query" name:"Lang"`
+}
+
+// DeleteUserCertificateResponse is the response struct for api DeleteUserCertificate
+type DeleteUserCertificateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteUserCertificateRequest creates a request to invoke DeleteUserCertificate API
+func CreateDeleteUserCertificateRequest() (request *DeleteUserCertificateRequest) {
+	request = &DeleteUserCertificateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "DeleteUserCertificate", "cas", "openAPI")
+	return
+}
+
+// CreateDeleteUserCertificateResponse creates a response to parse from DeleteUserCertificate response
+func CreateDeleteUserCertificateResponse() (response *DeleteUserCertificateResponse) {
+	response = &DeleteUserCertificateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 105
services/cas/describe_certificate_brand_list.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeCertificateBrandList invokes the cas.DescribeCertificateBrandList API synchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatebrandlist.html
-func (client *Client) DescribeCertificateBrandList(request *DescribeCertificateBrandListRequest) (response *DescribeCertificateBrandListResponse, err error) {
-	response = CreateDescribeCertificateBrandListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCertificateBrandListWithChan invokes the cas.DescribeCertificateBrandList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatebrandlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateBrandListWithChan(request *DescribeCertificateBrandListRequest) (<-chan *DescribeCertificateBrandListResponse, <-chan error) {
-	responseChan := make(chan *DescribeCertificateBrandListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCertificateBrandList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCertificateBrandListWithCallback invokes the cas.DescribeCertificateBrandList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatebrandlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateBrandListWithCallback(request *DescribeCertificateBrandListRequest, callback func(response *DescribeCertificateBrandListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCertificateBrandListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCertificateBrandList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCertificateBrandListRequest is the request struct for api DescribeCertificateBrandList
-type DescribeCertificateBrandListRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeCertificateBrandListResponse is the response struct for api DescribeCertificateBrandList
-type DescribeCertificateBrandListResponse struct {
-	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	BrandList []Brand `json:"BrandList" xml:"BrandList"`
-}
-
-// CreateDescribeCertificateBrandListRequest creates a request to invoke DescribeCertificateBrandList API
-func CreateDescribeCertificateBrandListRequest() (request *DescribeCertificateBrandListRequest) {
-	request = &DescribeCertificateBrandListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeCertificateBrandList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeCertificateBrandListResponse creates a response to parse from DescribeCertificateBrandList response
-func CreateDescribeCertificateBrandListResponse() (response *DescribeCertificateBrandListResponse) {
-	response = &DescribeCertificateBrandListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 119
services/cas/describe_certificate_detail.go

@@ -1,119 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeCertificateDetail invokes the cas.DescribeCertificateDetail API synchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatedetail.html
-func (client *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error) {
-	response = CreateDescribeCertificateDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCertificateDetailWithChan invokes the cas.DescribeCertificateDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateDetailWithChan(request *DescribeCertificateDetailRequest) (<-chan *DescribeCertificateDetailResponse, <-chan error) {
-	responseChan := make(chan *DescribeCertificateDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCertificateDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCertificateDetailWithCallback invokes the cas.DescribeCertificateDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateDetailWithCallback(request *DescribeCertificateDetailRequest, callback func(response *DescribeCertificateDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCertificateDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCertificateDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCertificateDetailRequest is the request struct for api DescribeCertificateDetail
-type DescribeCertificateDetailRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeCertificateDetailResponse is the response struct for api DescribeCertificateDetail
-type DescribeCertificateDetailResponse struct {
-	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	Id            int    `json:"Id" xml:"Id"`
-	SourceType    string `json:"SourceType" xml:"SourceType"`
-	InstanceId    string `json:"InstanceId" xml:"InstanceId"`
-	Name          string `json:"Name" xml:"Name"`
-	OrderId       int    `json:"OrderId" xml:"OrderId"`
-	Year          int    `json:"Year" xml:"Year"`
-	BeforeDate    int    `json:"BeforeDate" xml:"BeforeDate"`
-	AfterDate     int    `json:"AfterDate" xml:"AfterDate"`
-	FingerPrint   string `json:"FingerPrint" xml:"FingerPrint"`
-	Domains       string `json:"Domains" xml:"Domains"`
-	StatusCode    string `json:"StatusCode" xml:"StatusCode"`
-	BrandName     string `json:"BrandName" xml:"BrandName"`
-	CertType      string `json:"CertType" xml:"CertType"`
-	RemainingDays int    `json:"RemainingDays" xml:"RemainingDays"`
-}
-
-// CreateDescribeCertificateDetailRequest creates a request to invoke DescribeCertificateDetail API
-func CreateDescribeCertificateDetailRequest() (request *DescribeCertificateDetailRequest) {
-	request = &DescribeCertificateDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeCertificateDetail", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeCertificateDetailResponse creates a response to parse from DescribeCertificateDetail response
-func CreateDescribeCertificateDetailResponse() (response *DescribeCertificateDetailResponse) {
-	response = &DescribeCertificateDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cas/describe_certificate_status_count.go

@@ -1,112 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeCertificateStatusCount invokes the cas.DescribeCertificateStatusCount API synchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatestatuscount.html
-func (client *Client) DescribeCertificateStatusCount(request *DescribeCertificateStatusCountRequest) (response *DescribeCertificateStatusCountResponse, err error) {
-	response = CreateDescribeCertificateStatusCountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCertificateStatusCountWithChan invokes the cas.DescribeCertificateStatusCount API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatestatuscount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateStatusCountWithChan(request *DescribeCertificateStatusCountRequest) (<-chan *DescribeCertificateStatusCountResponse, <-chan error) {
-	responseChan := make(chan *DescribeCertificateStatusCountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCertificateStatusCount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCertificateStatusCountWithCallback invokes the cas.DescribeCertificateStatusCount API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatestatuscount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateStatusCountWithCallback(request *DescribeCertificateStatusCountRequest, callback func(response *DescribeCertificateStatusCountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCertificateStatusCountResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCertificateStatusCount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCertificateStatusCountRequest is the request struct for api DescribeCertificateStatusCount
-type DescribeCertificateStatusCountRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeCertificateStatusCountResponse is the response struct for api DescribeCertificateStatusCount
-type DescribeCertificateStatusCountResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	Payed       int    `json:"Payed" xml:"Payed"`
-	Checking    int    `json:"Checking" xml:"Checking"`
-	CheckedFail int    `json:"CheckedFail" xml:"CheckedFail"`
-	Issued      int    `json:"Issued" xml:"Issued"`
-	Revoked     int    `json:"Revoked" xml:"Revoked"`
-	Closed      int    `json:"Closed" xml:"Closed"`
-	WillExpired int    `json:"WillExpired" xml:"WillExpired"`
-	Expired     int    `json:"Expired" xml:"Expired"`
-}
-
-// CreateDescribeCertificateStatusCountRequest creates a request to invoke DescribeCertificateStatusCount API
-func CreateDescribeCertificateStatusCountRequest() (request *DescribeCertificateStatusCountRequest) {
-	request = &DescribeCertificateStatusCountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeCertificateStatusCount", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeCertificateStatusCountResponse creates a response to parse from DescribeCertificateStatusCount response
-func CreateDescribeCertificateStatusCountResponse() (response *DescribeCertificateStatusCountResponse) {
-	response = &DescribeCertificateStatusCountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/describe_deployment_detail.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDeploymentDetail invokes the cas.DescribeDeploymentDetail API synchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdetail.html
-func (client *Client) DescribeDeploymentDetail(request *DescribeDeploymentDetailRequest) (response *DescribeDeploymentDetailResponse, err error) {
-	response = CreateDescribeDeploymentDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDeploymentDetailWithChan invokes the cas.DescribeDeploymentDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentDetailWithChan(request *DescribeDeploymentDetailRequest) (<-chan *DescribeDeploymentDetailResponse, <-chan error) {
-	responseChan := make(chan *DescribeDeploymentDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDeploymentDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDeploymentDetailWithCallback invokes the cas.DescribeDeploymentDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentDetailWithCallback(request *DescribeDeploymentDetailRequest, callback func(response *DescribeDeploymentDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDeploymentDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDeploymentDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDeploymentDetailRequest is the request struct for api DescribeDeploymentDetail
-type DescribeDeploymentDetailRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDeploymentDetailResponse is the response struct for api DescribeDeploymentDetail
-type DescribeDeploymentDetailResponse struct {
-	*responses.BaseResponse
-	RequestId        string       `json:"RequestId" xml:"RequestId"`
-	DeploymentDetail []Deployment `json:"DeploymentDetail" xml:"DeploymentDetail"`
-}
-
-// CreateDescribeDeploymentDetailRequest creates a request to invoke DescribeDeploymentDetail API
-func CreateDescribeDeploymentDetailRequest() (request *DescribeDeploymentDetailRequest) {
-	request = &DescribeDeploymentDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDeploymentDetail", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDeploymentDetailResponse creates a response to parse from DescribeDeploymentDetail response
-func CreateDescribeDeploymentDetailResponse() (response *DescribeDeploymentDetailResponse) {
-	response = &DescribeDeploymentDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/describe_deployment_domain_list.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDeploymentDomainList invokes the cas.DescribeDeploymentDomainList API synchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdomainlist.html
-func (client *Client) DescribeDeploymentDomainList(request *DescribeDeploymentDomainListRequest) (response *DescribeDeploymentDomainListResponse, err error) {
-	response = CreateDescribeDeploymentDomainListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDeploymentDomainListWithChan invokes the cas.DescribeDeploymentDomainList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdomainlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentDomainListWithChan(request *DescribeDeploymentDomainListRequest) (<-chan *DescribeDeploymentDomainListResponse, <-chan error) {
-	responseChan := make(chan *DescribeDeploymentDomainListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDeploymentDomainList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDeploymentDomainListWithCallback invokes the cas.DescribeDeploymentDomainList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentdomainlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentDomainListWithCallback(request *DescribeDeploymentDomainListRequest, callback func(response *DescribeDeploymentDomainListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDeploymentDomainListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDeploymentDomainList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDeploymentDomainListRequest is the request struct for api DescribeDeploymentDomainList
-type DescribeDeploymentDomainListRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	CloudProduct  string           `position:"Query" name:"CloudProduct"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDeploymentDomainListResponse is the response struct for api DescribeDeploymentDomainList
-type DescribeDeploymentDomainListResponse struct {
-	*responses.BaseResponse
-	RequestId  string   `json:"RequestId" xml:"RequestId"`
-	DomainList []string `json:"DomainList" xml:"DomainList"`
-}
-
-// CreateDescribeDeploymentDomainListRequest creates a request to invoke DescribeDeploymentDomainList API
-func CreateDescribeDeploymentDomainListRequest() (request *DescribeDeploymentDomainListRequest) {
-	request = &DescribeDeploymentDomainListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDeploymentDomainList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDeploymentDomainListResponse creates a response to parse from DescribeDeploymentDomainList response
-func CreateDescribeDeploymentDomainListResponse() (response *DescribeDeploymentDomainListResponse) {
-	response = &DescribeDeploymentDomainListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/describe_deployment_product.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDeploymentProduct invokes the cas.DescribeDeploymentProduct API synchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentproduct.html
-func (client *Client) DescribeDeploymentProduct(request *DescribeDeploymentProductRequest) (response *DescribeDeploymentProductResponse, err error) {
-	response = CreateDescribeDeploymentProductResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDeploymentProductWithChan invokes the cas.DescribeDeploymentProduct API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentproduct.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentProductWithChan(request *DescribeDeploymentProductRequest) (<-chan *DescribeDeploymentProductResponse, <-chan error) {
-	responseChan := make(chan *DescribeDeploymentProductResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDeploymentProduct(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDeploymentProductWithCallback invokes the cas.DescribeDeploymentProduct API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentproduct.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentProductWithCallback(request *DescribeDeploymentProductRequest, callback func(response *DescribeDeploymentProductResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDeploymentProductResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDeploymentProduct(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDeploymentProductRequest is the request struct for api DescribeDeploymentProduct
-type DescribeDeploymentProductRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDeploymentProductResponse is the response struct for api DescribeDeploymentProduct
-type DescribeDeploymentProductResponse struct {
-	*responses.BaseResponse
-	RequestId   string   `json:"RequestId" xml:"RequestId"`
-	ProductList []string `json:"ProductList" xml:"ProductList"`
-}
-
-// CreateDescribeDeploymentProductRequest creates a request to invoke DescribeDeploymentProduct API
-func CreateDescribeDeploymentProductRequest() (request *DescribeDeploymentProductRequest) {
-	request = &DescribeDeploymentProductRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDeploymentProduct", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDeploymentProductResponse creates a response to parse from DescribeDeploymentProduct response
-func CreateDescribeDeploymentProductResponse() (response *DescribeDeploymentProductResponse) {
-	response = &DescribeDeploymentProductResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/describe_deployment_region_list.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDeploymentRegionList invokes the cas.DescribeDeploymentRegionList API synchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentregionlist.html
-func (client *Client) DescribeDeploymentRegionList(request *DescribeDeploymentRegionListRequest) (response *DescribeDeploymentRegionListResponse, err error) {
-	response = CreateDescribeDeploymentRegionListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDeploymentRegionListWithChan invokes the cas.DescribeDeploymentRegionList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentregionlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentRegionListWithChan(request *DescribeDeploymentRegionListRequest) (<-chan *DescribeDeploymentRegionListResponse, <-chan error) {
-	responseChan := make(chan *DescribeDeploymentRegionListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDeploymentRegionList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDeploymentRegionListWithCallback invokes the cas.DescribeDeploymentRegionList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedeploymentregionlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDeploymentRegionListWithCallback(request *DescribeDeploymentRegionListRequest, callback func(response *DescribeDeploymentRegionListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDeploymentRegionListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDeploymentRegionList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDeploymentRegionListRequest is the request struct for api DescribeDeploymentRegionList
-type DescribeDeploymentRegionListRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	CloudProduct  string           `position:"Query" name:"CloudProduct"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDeploymentRegionListResponse is the response struct for api DescribeDeploymentRegionList
-type DescribeDeploymentRegionListResponse struct {
-	*responses.BaseResponse
-	RequestId  string   `json:"RequestId" xml:"RequestId"`
-	RegionList []string `json:"RegionList" xml:"RegionList"`
-}
-
-// CreateDescribeDeploymentRegionListRequest creates a request to invoke DescribeDeploymentRegionList API
-func CreateDescribeDeploymentRegionListRequest() (request *DescribeDeploymentRegionListRequest) {
-	request = &DescribeDeploymentRegionListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDeploymentRegionList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDeploymentRegionListResponse creates a response to parse from DescribeDeploymentRegionList response
-func CreateDescribeDeploymentRegionListResponse() (response *DescribeDeploymentRegionListResponse) {
-	response = &DescribeDeploymentRegionListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/describe_domain_verify_configuration_status.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDomainVerifyConfigurationStatus invokes the cas.DescribeDomainVerifyConfigurationStatus API synchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyconfigurationstatus.html
-func (client *Client) DescribeDomainVerifyConfigurationStatus(request *DescribeDomainVerifyConfigurationStatusRequest) (response *DescribeDomainVerifyConfigurationStatusResponse, err error) {
-	response = CreateDescribeDomainVerifyConfigurationStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainVerifyConfigurationStatusWithChan invokes the cas.DescribeDomainVerifyConfigurationStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyconfigurationstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainVerifyConfigurationStatusWithChan(request *DescribeDomainVerifyConfigurationStatusRequest) (<-chan *DescribeDomainVerifyConfigurationStatusResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainVerifyConfigurationStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainVerifyConfigurationStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainVerifyConfigurationStatusWithCallback invokes the cas.DescribeDomainVerifyConfigurationStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyconfigurationstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainVerifyConfigurationStatusWithCallback(request *DescribeDomainVerifyConfigurationStatusRequest, callback func(response *DescribeDomainVerifyConfigurationStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainVerifyConfigurationStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainVerifyConfigurationStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainVerifyConfigurationStatusRequest is the request struct for api DescribeDomainVerifyConfigurationStatus
-type DescribeDomainVerifyConfigurationStatusRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDomainVerifyConfigurationStatusResponse is the response struct for api DescribeDomainVerifyConfigurationStatus
-type DescribeDomainVerifyConfigurationStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDescribeDomainVerifyConfigurationStatusRequest creates a request to invoke DescribeDomainVerifyConfigurationStatus API
-func CreateDescribeDomainVerifyConfigurationStatusRequest() (request *DescribeDomainVerifyConfigurationStatusRequest) {
-	request = &DescribeDomainVerifyConfigurationStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDomainVerifyConfigurationStatus", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDomainVerifyConfigurationStatusResponse creates a response to parse from DescribeDomainVerifyConfigurationStatus response
-func CreateDescribeDomainVerifyConfigurationStatusResponse() (response *DescribeDomainVerifyConfigurationStatusResponse) {
-	response = &DescribeDomainVerifyConfigurationStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cas/describe_domain_verify_info.go

@@ -1,112 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDomainVerifyInfo invokes the cas.DescribeDomainVerifyInfo API synchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyinfo.html
-func (client *Client) DescribeDomainVerifyInfo(request *DescribeDomainVerifyInfoRequest) (response *DescribeDomainVerifyInfoResponse, err error) {
-	response = CreateDescribeDomainVerifyInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainVerifyInfoWithChan invokes the cas.DescribeDomainVerifyInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainVerifyInfoWithChan(request *DescribeDomainVerifyInfoRequest) (<-chan *DescribeDomainVerifyInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainVerifyInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainVerifyInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainVerifyInfoWithCallback invokes the cas.DescribeDomainVerifyInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedomainverifyinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainVerifyInfoWithCallback(request *DescribeDomainVerifyInfoRequest, callback func(response *DescribeDomainVerifyInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainVerifyInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainVerifyInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainVerifyInfoRequest is the request struct for api DescribeDomainVerifyInfo
-type DescribeDomainVerifyInfoRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDomainVerifyInfoResponse is the response struct for api DescribeDomainVerifyInfo
-type DescribeDomainVerifyInfoResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Type         string `json:"Type" xml:"Type"`
-	CheckName    string `json:"CheckName" xml:"CheckName"`
-	CheckValue   string `json:"CheckValue" xml:"CheckValue"`
-	ModifiedTime string `json:"ModifiedTime" xml:"ModifiedTime"`
-	CheckType    string `json:"CheckType" xml:"CheckType"`
-	CheckName1   string `json:"CheckName1" xml:"CheckName1"`
-	CheckName2   string `json:"CheckName2" xml:"CheckName2"`
-}
-
-// CreateDescribeDomainVerifyInfoRequest creates a request to invoke DescribeDomainVerifyInfo API
-func CreateDescribeDomainVerifyInfoRequest() (request *DescribeDomainVerifyInfoRequest) {
-	request = &DescribeDomainVerifyInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDomainVerifyInfo", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDomainVerifyInfoResponse creates a response to parse from DescribeDomainVerifyInfo response
-func CreateDescribeDomainVerifyInfoResponse() (response *DescribeDomainVerifyInfoResponse) {
-	response = &DescribeDomainVerifyInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/describe_download_certificate.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDownloadCertificate invokes the cas.DescribeDownloadCertificate API synchronously
-// api document: https://help.aliyun.com/api/cas/describedownloadcertificate.html
-func (client *Client) DescribeDownloadCertificate(request *DescribeDownloadCertificateRequest) (response *DescribeDownloadCertificateResponse, err error) {
-	response = CreateDescribeDownloadCertificateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDownloadCertificateWithChan invokes the cas.DescribeDownloadCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedownloadcertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDownloadCertificateWithChan(request *DescribeDownloadCertificateRequest) (<-chan *DescribeDownloadCertificateResponse, <-chan error) {
-	responseChan := make(chan *DescribeDownloadCertificateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDownloadCertificate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDownloadCertificateWithCallback invokes the cas.DescribeDownloadCertificate API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedownloadcertificate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDownloadCertificateWithCallback(request *DescribeDownloadCertificateRequest, callback func(response *DescribeDownloadCertificateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDownloadCertificateResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDownloadCertificate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDownloadCertificateRequest is the request struct for api DescribeDownloadCertificate
-type DescribeDownloadCertificateRequest struct {
-	*requests.RpcRequest
-	SourceIp      string           `position:"Query" name:"SourceIp"`
-	ServerType    string           `position:"Query" name:"ServerType"`
-	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
-	Lang          string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDownloadCertificateResponse is the response struct for api DescribeDownloadCertificate
-type DescribeDownloadCertificateResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	OssKey    string `json:"OssKey" xml:"OssKey"`
-}
-
-// CreateDescribeDownloadCertificateRequest creates a request to invoke DescribeDownloadCertificate API
-func CreateDescribeDownloadCertificateRequest() (request *DescribeDownloadCertificateRequest) {
-	request = &DescribeDownloadCertificateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDownloadCertificate", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDownloadCertificateResponse creates a response to parse from DescribeDownloadCertificate response
-func CreateDescribeDownloadCertificateResponse() (response *DescribeDownloadCertificateResponse) {
-	response = &DescribeDownloadCertificateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/describe_download_domain_verify_configuration.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeDownloadDomainVerifyConfiguration invokes the cas.DescribeDownloadDomainVerifyConfiguration API synchronously
-// api document: https://help.aliyun.com/api/cas/describedownloaddomainverifyconfiguration.html
-func (client *Client) DescribeDownloadDomainVerifyConfiguration(request *DescribeDownloadDomainVerifyConfigurationRequest) (response *DescribeDownloadDomainVerifyConfigurationResponse, err error) {
-	response = CreateDescribeDownloadDomainVerifyConfigurationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDownloadDomainVerifyConfigurationWithChan invokes the cas.DescribeDownloadDomainVerifyConfiguration API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedownloaddomainverifyconfiguration.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDownloadDomainVerifyConfigurationWithChan(request *DescribeDownloadDomainVerifyConfigurationRequest) (<-chan *DescribeDownloadDomainVerifyConfigurationResponse, <-chan error) {
-	responseChan := make(chan *DescribeDownloadDomainVerifyConfigurationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDownloadDomainVerifyConfiguration(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDownloadDomainVerifyConfigurationWithCallback invokes the cas.DescribeDownloadDomainVerifyConfiguration API asynchronously
-// api document: https://help.aliyun.com/api/cas/describedownloaddomainverifyconfiguration.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDownloadDomainVerifyConfigurationWithCallback(request *DescribeDownloadDomainVerifyConfigurationRequest, callback func(response *DescribeDownloadDomainVerifyConfigurationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDownloadDomainVerifyConfigurationResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDownloadDomainVerifyConfiguration(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDownloadDomainVerifyConfigurationRequest is the request struct for api DescribeDownloadDomainVerifyConfiguration
-type DescribeDownloadDomainVerifyConfigurationRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeDownloadDomainVerifyConfigurationResponse is the response struct for api DescribeDownloadDomainVerifyConfiguration
-type DescribeDownloadDomainVerifyConfigurationResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	OssKey    string `json:"OssKey" xml:"OssKey"`
-}
-
-// CreateDescribeDownloadDomainVerifyConfigurationRequest creates a request to invoke DescribeDownloadDomainVerifyConfiguration API
-func CreateDescribeDownloadDomainVerifyConfigurationRequest() (request *DescribeDownloadDomainVerifyConfigurationRequest) {
-	request = &DescribeDownloadDomainVerifyConfigurationRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeDownloadDomainVerifyConfiguration", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeDownloadDomainVerifyConfigurationResponse creates a response to parse from DescribeDownloadDomainVerifyConfiguration response
-func CreateDescribeDownloadDomainVerifyConfigurationResponse() (response *DescribeDownloadDomainVerifyConfigurationResponse) {
-	response = &DescribeDownloadDomainVerifyConfigurationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 111 - 0
services/cas/describe_dv_order_result.go

@@ -0,0 +1,111 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// DescribeDVOrderResult invokes the cas.DescribeDVOrderResult API synchronously
+// api document: https://help.aliyun.com/api/cas/describedvorderresult.html
+func (client *Client) DescribeDVOrderResult(request *DescribeDVOrderResultRequest) (response *DescribeDVOrderResultResponse, err error) {
+	response = CreateDescribeDVOrderResultResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDVOrderResultWithChan invokes the cas.DescribeDVOrderResult API asynchronously
+// api document: https://help.aliyun.com/api/cas/describedvorderresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDVOrderResultWithChan(request *DescribeDVOrderResultRequest) (<-chan *DescribeDVOrderResultResponse, <-chan error) {
+	responseChan := make(chan *DescribeDVOrderResultResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDVOrderResult(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDVOrderResultWithCallback invokes the cas.DescribeDVOrderResult API asynchronously
+// api document: https://help.aliyun.com/api/cas/describedvorderresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDVOrderResultWithCallback(request *DescribeDVOrderResultRequest, callback func(response *DescribeDVOrderResultResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDVOrderResultResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDVOrderResult(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDVOrderResultRequest is the request struct for api DescribeDVOrderResult
+type DescribeDVOrderResultRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// DescribeDVOrderResultResponse is the response struct for api DescribeDVOrderResult
+type DescribeDVOrderResultResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	OrderStatus string `json:"OrderStatus" xml:"OrderStatus"`
+	Certificate string `json:"Certificate" xml:"Certificate"`
+	PrivateKey  string `json:"PrivateKey" xml:"PrivateKey"`
+	CheckName   string `json:"CheckName" xml:"CheckName"`
+	CheckValue  string `json:"CheckValue" xml:"CheckValue"`
+	CheckType   string `json:"CheckType" xml:"CheckType"`
+}
+
+// CreateDescribeDVOrderResultRequest creates a request to invoke DescribeDVOrderResult API
+func CreateDescribeDVOrderResultRequest() (request *DescribeDVOrderResultRequest) {
+	request = &DescribeDVOrderResultRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "DescribeDVOrderResult", "cas", "openAPI")
+	return
+}
+
+// CreateDescribeDVOrderResultResponse creates a response to parse from DescribeDVOrderResult response
+func CreateDescribeDVOrderResultResponse() (response *DescribeDVOrderResultResponse) {
+	response = &DescribeDVOrderResultResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 115
services/cas/describe_expectation_result.go

@@ -1,115 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeExpectationResult invokes the cas.DescribeExpectationResult API synchronously
-// api document: https://help.aliyun.com/api/cas/describeexpectationresult.html
-func (client *Client) DescribeExpectationResult(request *DescribeExpectationResultRequest) (response *DescribeExpectationResultResponse, err error) {
-	response = CreateDescribeExpectationResultResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeExpectationResultWithChan invokes the cas.DescribeExpectationResult API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeexpectationresult.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeExpectationResultWithChan(request *DescribeExpectationResultRequest) (<-chan *DescribeExpectationResultResponse, <-chan error) {
-	responseChan := make(chan *DescribeExpectationResultResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeExpectationResult(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeExpectationResultWithCallback invokes the cas.DescribeExpectationResult API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeexpectationresult.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeExpectationResultWithCallback(request *DescribeExpectationResultRequest, callback func(response *DescribeExpectationResultResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeExpectationResultResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeExpectationResult(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeExpectationResultRequest is the request struct for api DescribeExpectationResult
-type DescribeExpectationResultRequest struct {
-	*requests.RpcRequest
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	OrderId         requests.Integer `position:"Query" name:"OrderId"`
-	ExpectationType string           `position:"Query" name:"ExpectationType"`
-	Lang            string           `position:"Query" name:"Lang"`
-}
-
-// DescribeExpectationResultResponse is the response struct for api DescribeExpectationResult
-type DescribeExpectationResultResponse struct {
-	*responses.BaseResponse
-	RequestId       string `json:"RequestId" xml:"RequestId"`
-	ExpectationType string `json:"ExpectationType" xml:"ExpectationType"`
-	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
-	ProcessStatus   string `json:"ProcessStatus" xml:"ProcessStatus"`
-	CheckName       string `json:"CheckName" xml:"CheckName"`
-	CheckValue      string `json:"CheckValue" xml:"CheckValue"`
-	ModifiedTime    string `json:"ModifiedTime" xml:"ModifiedTime"`
-	CheckType       string `json:"CheckType" xml:"CheckType"`
-	CheckName1      string `json:"CheckName1" xml:"CheckName1"`
-	CheckName2      string `json:"CheckName2" xml:"CheckName2"`
-}
-
-// CreateDescribeExpectationResultRequest creates a request to invoke DescribeExpectationResult API
-func CreateDescribeExpectationResultRequest() (request *DescribeExpectationResultRequest) {
-	request = &DescribeExpectationResultRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeExpectationResult", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeExpectationResultResponse creates a response to parse from DescribeExpectationResult response
-func CreateDescribeExpectationResultResponse() (response *DescribeExpectationResultResponse) {
-	response = &DescribeExpectationResultResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/describe_help_list.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeHelpList invokes the cas.DescribeHelpList API synchronously
-// api document: https://help.aliyun.com/api/cas/describehelplist.html
-func (client *Client) DescribeHelpList(request *DescribeHelpListRequest) (response *DescribeHelpListResponse, err error) {
-	response = CreateDescribeHelpListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeHelpListWithChan invokes the cas.DescribeHelpList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describehelplist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHelpListWithChan(request *DescribeHelpListRequest) (<-chan *DescribeHelpListResponse, <-chan error) {
-	responseChan := make(chan *DescribeHelpListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeHelpList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeHelpListWithCallback invokes the cas.DescribeHelpList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describehelplist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHelpListWithCallback(request *DescribeHelpListRequest, callback func(response *DescribeHelpListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeHelpListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeHelpList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeHelpListRequest is the request struct for api DescribeHelpList
-type DescribeHelpListRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Category string `position:"Query" name:"Category"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeHelpListResponse is the response struct for api DescribeHelpList
-type DescribeHelpListResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	HelpInfoList string `json:"HelpInfoList" xml:"HelpInfoList"`
-}
-
-// CreateDescribeHelpListRequest creates a request to invoke DescribeHelpList API
-func CreateDescribeHelpListRequest() (request *DescribeHelpListRequest) {
-	request = &DescribeHelpListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeHelpList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeHelpListResponse creates a response to parse from DescribeHelpList response
-func CreateDescribeHelpListResponse() (response *DescribeHelpListResponse) {
-	response = &DescribeHelpListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/describe_location_list.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeLocationList invokes the cas.DescribeLocationList API synchronously
-// api document: https://help.aliyun.com/api/cas/describelocationlist.html
-func (client *Client) DescribeLocationList(request *DescribeLocationListRequest) (response *DescribeLocationListResponse, err error) {
-	response = CreateDescribeLocationListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLocationListWithChan invokes the cas.DescribeLocationList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describelocationlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLocationListWithChan(request *DescribeLocationListRequest) (<-chan *DescribeLocationListResponse, <-chan error) {
-	responseChan := make(chan *DescribeLocationListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLocationList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLocationListWithCallback invokes the cas.DescribeLocationList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describelocationlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLocationListWithCallback(request *DescribeLocationListRequest, callback func(response *DescribeLocationListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLocationListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLocationList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLocationListRequest is the request struct for api DescribeLocationList
-type DescribeLocationListRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeLocationListResponse is the response struct for api DescribeLocationList
-type DescribeLocationListResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	LocationList string `json:"LocationList" xml:"LocationList"`
-}
-
-// CreateDescribeLocationListRequest creates a request to invoke DescribeLocationList API
-func CreateDescribeLocationListRequest() (request *DescribeLocationListRequest) {
-	request = &DescribeLocationListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeLocationList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeLocationListResponse creates a response to parse from DescribeLocationList response
-func CreateDescribeLocationListResponse() (response *DescribeLocationListResponse) {
-	response = &DescribeLocationListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/describe_order_audit_fail_record.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOrderAuditFailRecord invokes the cas.DescribeOrderAuditFailRecord API synchronously
-// api document: https://help.aliyun.com/api/cas/describeorderauditfailrecord.html
-func (client *Client) DescribeOrderAuditFailRecord(request *DescribeOrderAuditFailRecordRequest) (response *DescribeOrderAuditFailRecordResponse, err error) {
-	response = CreateDescribeOrderAuditFailRecordResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOrderAuditFailRecordWithChan invokes the cas.DescribeOrderAuditFailRecord API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderauditfailrecord.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderAuditFailRecordWithChan(request *DescribeOrderAuditFailRecordRequest) (<-chan *DescribeOrderAuditFailRecordResponse, <-chan error) {
-	responseChan := make(chan *DescribeOrderAuditFailRecordResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOrderAuditFailRecord(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOrderAuditFailRecordWithCallback invokes the cas.DescribeOrderAuditFailRecord API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderauditfailrecord.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderAuditFailRecordWithCallback(request *DescribeOrderAuditFailRecordRequest, callback func(response *DescribeOrderAuditFailRecordResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOrderAuditFailRecordResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOrderAuditFailRecord(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOrderAuditFailRecordRequest is the request struct for api DescribeOrderAuditFailRecord
-type DescribeOrderAuditFailRecordRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeOrderAuditFailRecordResponse is the response struct for api DescribeOrderAuditFailRecord
-type DescribeOrderAuditFailRecordResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	AuditNote string `json:"AuditNote" xml:"AuditNote"`
-	AuditType string `json:"AuditType" xml:"AuditType"`
-	AuditTime int    `json:"AuditTime" xml:"AuditTime"`
-}
-
-// CreateDescribeOrderAuditFailRecordRequest creates a request to invoke DescribeOrderAuditFailRecord API
-func CreateDescribeOrderAuditFailRecordRequest() (request *DescribeOrderAuditFailRecordRequest) {
-	request = &DescribeOrderAuditFailRecordRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOrderAuditFailRecord", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOrderAuditFailRecordResponse creates a response to parse from DescribeOrderAuditFailRecord response
-func CreateDescribeOrderAuditFailRecordResponse() (response *DescribeOrderAuditFailRecordResponse) {
-	response = &DescribeOrderAuditFailRecordResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 116
services/cas/describe_order_detail.go

@@ -1,116 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOrderDetail invokes the cas.DescribeOrderDetail API synchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdetail.html
-func (client *Client) DescribeOrderDetail(request *DescribeOrderDetailRequest) (response *DescribeOrderDetailResponse, err error) {
-	response = CreateDescribeOrderDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOrderDetailWithChan invokes the cas.DescribeOrderDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderDetailWithChan(request *DescribeOrderDetailRequest) (<-chan *DescribeOrderDetailResponse, <-chan error) {
-	responseChan := make(chan *DescribeOrderDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOrderDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOrderDetailWithCallback invokes the cas.DescribeOrderDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderDetailWithCallback(request *DescribeOrderDetailRequest, callback func(response *DescribeOrderDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOrderDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOrderDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOrderDetailRequest is the request struct for api DescribeOrderDetail
-type DescribeOrderDetailRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeOrderDetailResponse is the response struct for api DescribeOrderDetail
-type DescribeOrderDetailResponse struct {
-	*responses.BaseResponse
-	RequestId        string `json:"RequestId" xml:"RequestId"`
-	Id               int    `json:"Id" xml:"Id"`
-	SourceType       string `json:"SourceType" xml:"SourceType"`
-	InstanceId       string `json:"InstanceId" xml:"InstanceId"`
-	OrderId          int    `json:"OrderId" xml:"OrderId"`
-	Year             int    `json:"Year" xml:"Year"`
-	BuyDate          int    `json:"BuyDate" xml:"BuyDate"`
-	Domain           string `json:"Domain" xml:"Domain"`
-	StatusCode       int    `json:"StatusCode" xml:"StatusCode"`
-	BrandName        string `json:"BrandName" xml:"BrandName"`
-	ProductAliasName string `json:"ProductAliasName" xml:"ProductAliasName"`
-	CertType         string `json:"CertType" xml:"CertType"`
-}
-
-// CreateDescribeOrderDetailRequest creates a request to invoke DescribeOrderDetail API
-func CreateDescribeOrderDetailRequest() (request *DescribeOrderDetailRequest) {
-	request = &DescribeOrderDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOrderDetail", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOrderDetailResponse creates a response to parse from DescribeOrderDetail response
-func CreateDescribeOrderDetailResponse() (response *DescribeOrderDetailResponse) {
-	response = &DescribeOrderDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/describe_order_document.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOrderDocument invokes the cas.DescribeOrderDocument API synchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdocument.html
-func (client *Client) DescribeOrderDocument(request *DescribeOrderDocumentRequest) (response *DescribeOrderDocumentResponse, err error) {
-	response = CreateDescribeOrderDocumentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOrderDocumentWithChan invokes the cas.DescribeOrderDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderDocumentWithChan(request *DescribeOrderDocumentRequest) (<-chan *DescribeOrderDocumentResponse, <-chan error) {
-	responseChan := make(chan *DescribeOrderDocumentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOrderDocument(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOrderDocumentWithCallback invokes the cas.DescribeOrderDocument API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderdocument.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderDocumentWithCallback(request *DescribeOrderDocumentRequest, callback func(response *DescribeOrderDocumentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOrderDocumentResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOrderDocument(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOrderDocumentRequest is the request struct for api DescribeOrderDocument
-type DescribeOrderDocumentRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Type     string           `position:"Query" name:"Type"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeOrderDocumentResponse is the response struct for api DescribeOrderDocument
-type DescribeOrderDocumentResponse struct {
-	*responses.BaseResponse
-	RequestId         string          `json:"RequestId" xml:"RequestId"`
-	OrderDocumentList []OrderDocument `json:"OrderDocumentList" xml:"OrderDocumentList"`
-}
-
-// CreateDescribeOrderDocumentRequest creates a request to invoke DescribeOrderDocument API
-func CreateDescribeOrderDocumentRequest() (request *DescribeOrderDocumentRequest) {
-	request = &DescribeOrderDocumentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOrderDocument", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOrderDocumentResponse creates a response to parse from DescribeOrderDocument response
-func CreateDescribeOrderDocumentResponse() (response *DescribeOrderDocumentResponse) {
-	response = &DescribeOrderDocumentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 107 - 0
services/cas/describe_order_instance_list.go

@@ -0,0 +1,107 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// DescribeOrderInstanceList invokes the cas.DescribeOrderInstanceList API synchronously
+// api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html
+func (client *Client) DescribeOrderInstanceList(request *DescribeOrderInstanceListRequest) (response *DescribeOrderInstanceListResponse, err error) {
+	response = CreateDescribeOrderInstanceListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeOrderInstanceListWithChan invokes the cas.DescribeOrderInstanceList API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrderInstanceListWithChan(request *DescribeOrderInstanceListRequest) (<-chan *DescribeOrderInstanceListResponse, <-chan error) {
+	responseChan := make(chan *DescribeOrderInstanceListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeOrderInstanceList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeOrderInstanceListWithCallback invokes the cas.DescribeOrderInstanceList API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeOrderInstanceListWithCallback(request *DescribeOrderInstanceListRequest, callback func(response *DescribeOrderInstanceListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeOrderInstanceListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeOrderInstanceList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeOrderInstanceListRequest is the request struct for api DescribeOrderInstanceList
+type DescribeOrderInstanceListRequest struct {
+	*requests.RpcRequest
+	SourceIp   string           `position:"Query" name:"SourceIp"`
+	StartIndex requests.Integer `position:"Query" name:"StartIndex"`
+	Lang       string           `position:"Query" name:"Lang"`
+}
+
+// DescribeOrderInstanceListResponse is the response struct for api DescribeOrderInstanceList
+type DescribeOrderInstanceListResponse struct {
+	*responses.BaseResponse
+	RequestId  string  `json:"RequestId" xml:"RequestId"`
+	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
+	OrderList  []Order `json:"OrderList" xml:"OrderList"`
+}
+
+// CreateDescribeOrderInstanceListRequest creates a request to invoke DescribeOrderInstanceList API
+func CreateDescribeOrderInstanceListRequest() (request *DescribeOrderInstanceListRequest) {
+	request = &DescribeOrderInstanceListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "DescribeOrderInstanceList", "cas", "openAPI")
+	return
+}
+
+// CreateDescribeOrderInstanceListResponse creates a response to parse from DescribeOrderInstanceList response
+func CreateDescribeOrderInstanceListResponse() (response *DescribeOrderInstanceListResponse) {
+	response = &DescribeOrderInstanceListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 113
services/cas/describe_order_list.go

@@ -1,113 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOrderList invokes the cas.DescribeOrderList API synchronously
-// api document: https://help.aliyun.com/api/cas/describeorderlist.html
-func (client *Client) DescribeOrderList(request *DescribeOrderListRequest) (response *DescribeOrderListResponse, err error) {
-	response = CreateDescribeOrderListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOrderListWithChan invokes the cas.DescribeOrderList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderListWithChan(request *DescribeOrderListRequest) (<-chan *DescribeOrderListResponse, <-chan error) {
-	responseChan := make(chan *DescribeOrderListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOrderList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOrderListWithCallback invokes the cas.DescribeOrderList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeorderlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderListWithCallback(request *DescribeOrderListRequest, callback func(response *DescribeOrderListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOrderListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOrderList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOrderListRequest is the request struct for api DescribeOrderList
-type DescribeOrderListRequest struct {
-	*requests.RpcRequest
-	SourceIp    string           `position:"Query" name:"SourceIp"`
-	ShowSize    requests.Integer `position:"Query" name:"ShowSize"`
-	BrandId     requests.Integer `position:"Query" name:"BrandId"`
-	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
-	Keyword     string           `position:"Query" name:"Keyword"`
-	Lang        string           `position:"Query" name:"Lang"`
-	Status      string           `position:"Query" name:"Status"`
-}
-
-// DescribeOrderListResponse is the response struct for api DescribeOrderList
-type DescribeOrderListResponse struct {
-	*responses.BaseResponse
-	RequestId   string  `json:"RequestId" xml:"RequestId"`
-	TotalCount  int     `json:"TotalCount" xml:"TotalCount"`
-	ShowSize    int     `json:"ShowSize" xml:"ShowSize"`
-	CurrentPage int     `json:"CurrentPage" xml:"CurrentPage"`
-	OrderList   []Order `json:"OrderList" xml:"OrderList"`
-}
-
-// CreateDescribeOrderListRequest creates a request to invoke DescribeOrderList API
-func CreateDescribeOrderListRequest() (request *DescribeOrderListRequest) {
-	request = &DescribeOrderListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOrderList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOrderListResponse creates a response to parse from DescribeOrderList response
-func CreateDescribeOrderListResponse() (response *DescribeOrderListResponse) {
-	response = &DescribeOrderListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 129
services/cas/describe_order_material.go

@@ -1,129 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOrderMaterial invokes the cas.DescribeOrderMaterial API synchronously
-// api document: https://help.aliyun.com/api/cas/describeordermaterial.html
-func (client *Client) DescribeOrderMaterial(request *DescribeOrderMaterialRequest) (response *DescribeOrderMaterialResponse, err error) {
-	response = CreateDescribeOrderMaterialResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOrderMaterialWithChan invokes the cas.DescribeOrderMaterial API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeordermaterial.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderMaterialWithChan(request *DescribeOrderMaterialRequest) (<-chan *DescribeOrderMaterialResponse, <-chan error) {
-	responseChan := make(chan *DescribeOrderMaterialResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOrderMaterial(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOrderMaterialWithCallback invokes the cas.DescribeOrderMaterial API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeordermaterial.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOrderMaterialWithCallback(request *DescribeOrderMaterialRequest, callback func(response *DescribeOrderMaterialResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOrderMaterialResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOrderMaterial(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOrderMaterialRequest is the request struct for api DescribeOrderMaterial
-type DescribeOrderMaterialRequest struct {
-	*requests.RpcRequest
-	SourceIp string           `position:"Query" name:"SourceIp"`
-	OrderId  requests.Integer `position:"Query" name:"OrderId"`
-	Lang     string           `position:"Query" name:"Lang"`
-}
-
-// DescribeOrderMaterialResponse is the response struct for api DescribeOrderMaterial
-type DescribeOrderMaterialResponse struct {
-	*responses.BaseResponse
-	RequestId          string `json:"RequestId" xml:"RequestId"`
-	CompanyName        string `json:"CompanyName" xml:"CompanyName"`
-	CompanyPhone       string `json:"CompanyPhone" xml:"CompanyPhone"`
-	CompanyCode        string `json:"CompanyCode" xml:"CompanyCode"`
-	PersonName         string `json:"PersonName" xml:"PersonName"`
-	PersonPhone        string `json:"PersonPhone" xml:"PersonPhone"`
-	PersonEmail        string `json:"PersonEmail" xml:"PersonEmail"`
-	CompanyEmail       string `json:"CompanyEmail" xml:"CompanyEmail"`
-	CompanyAddress     string `json:"CompanyAddress" xml:"CompanyAddress"`
-	PersonIdCardNumber string `json:"PersonIdCardNumber" xml:"PersonIdCardNumber"`
-	CompanyType        int    `json:"CompanyType" xml:"CompanyType"`
-	City               string `json:"City" xml:"City"`
-	Province           string `json:"Province" xml:"Province"`
-	CreateCsr          int    `json:"CreateCsr" xml:"CreateCsr"`
-	PostCode           string `json:"PostCode" xml:"PostCode"`
-	CsrContent         string `json:"CsrContent" xml:"CsrContent"`
-	PersonTitle        string `json:"PersonTitle" xml:"PersonTitle"`
-	LeaderName         string `json:"LeaderName" xml:"LeaderName"`
-	LeaderTitle        string `json:"LeaderTitle" xml:"LeaderTitle"`
-	LeaderEmail        string `json:"LeaderEmail" xml:"LeaderEmail"`
-	LeaderPhone        string `json:"LeaderPhone" xml:"LeaderPhone"`
-	CountryCode        string `json:"CountryCode" xml:"CountryCode"`
-	PersonDepartment   string `json:"PersonDepartment" xml:"PersonDepartment"`
-	DomainAuthType     int    `json:"DomainAuthType" xml:"DomainAuthType"`
-	Domain             string `json:"Domain" xml:"Domain"`
-}
-
-// CreateDescribeOrderMaterialRequest creates a request to invoke DescribeOrderMaterial API
-func CreateDescribeOrderMaterialRequest() (request *DescribeOrderMaterialRequest) {
-	request = &DescribeOrderMaterialRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOrderMaterial", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOrderMaterialResponse creates a response to parse from DescribeOrderMaterial response
-func CreateDescribeOrderMaterialResponse() (response *DescribeOrderMaterialResponse) {
-	response = &DescribeOrderMaterialResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cas/describe_oss_download_info.go

@@ -1,106 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOSSDownloadInfo invokes the cas.DescribeOSSDownloadInfo API synchronously
-// api document: https://help.aliyun.com/api/cas/describeossdownloadinfo.html
-func (client *Client) DescribeOSSDownloadInfo(request *DescribeOSSDownloadInfoRequest) (response *DescribeOSSDownloadInfoResponse, err error) {
-	response = CreateDescribeOSSDownloadInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOSSDownloadInfoWithChan invokes the cas.DescribeOSSDownloadInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeossdownloadinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOSSDownloadInfoWithChan(request *DescribeOSSDownloadInfoRequest) (<-chan *DescribeOSSDownloadInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeOSSDownloadInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOSSDownloadInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOSSDownloadInfoWithCallback invokes the cas.DescribeOSSDownloadInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeossdownloadinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOSSDownloadInfoWithCallback(request *DescribeOSSDownloadInfoRequest, callback func(response *DescribeOSSDownloadInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOSSDownloadInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOSSDownloadInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOSSDownloadInfoRequest is the request struct for api DescribeOSSDownloadInfo
-type DescribeOSSDownloadInfoRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	OssKey   string `position:"Query" name:"OssKey"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeOSSDownloadInfoResponse is the response struct for api DescribeOSSDownloadInfo
-type DescribeOSSDownloadInfoResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	DownloadUrl string `json:"DownloadUrl" xml:"DownloadUrl"`
-}
-
-// CreateDescribeOSSDownloadInfoRequest creates a request to invoke DescribeOSSDownloadInfo API
-func CreateDescribeOSSDownloadInfoRequest() (request *DescribeOSSDownloadInfoRequest) {
-	request = &DescribeOSSDownloadInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOSSDownloadInfo", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOSSDownloadInfoResponse creates a response to parse from DescribeOSSDownloadInfo response
-func CreateDescribeOSSDownloadInfoResponse() (response *DescribeOSSDownloadInfoResponse) {
-	response = &DescribeOSSDownloadInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cas/describe_oss_upload_info.go

@@ -1,112 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeOSSUploadInfo invokes the cas.DescribeOSSUploadInfo API synchronously
-// api document: https://help.aliyun.com/api/cas/describeossuploadinfo.html
-func (client *Client) DescribeOSSUploadInfo(request *DescribeOSSUploadInfoRequest) (response *DescribeOSSUploadInfoResponse, err error) {
-	response = CreateDescribeOSSUploadInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOSSUploadInfoWithChan invokes the cas.DescribeOSSUploadInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeossuploadinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOSSUploadInfoWithChan(request *DescribeOSSUploadInfoRequest) (<-chan *DescribeOSSUploadInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeOSSUploadInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOSSUploadInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOSSUploadInfoWithCallback invokes the cas.DescribeOSSUploadInfo API asynchronously
-// api document: https://help.aliyun.com/api/cas/describeossuploadinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOSSUploadInfoWithCallback(request *DescribeOSSUploadInfoRequest, callback func(response *DescribeOSSUploadInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOSSUploadInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOSSUploadInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOSSUploadInfoRequest is the request struct for api DescribeOSSUploadInfo
-type DescribeOSSUploadInfoRequest struct {
-	*requests.RpcRequest
-	SourceIp     string           `position:"Query" name:"SourceIp"`
-	OrderId      requests.Integer `position:"Query" name:"OrderId"`
-	DocumentType requests.Integer `position:"Query" name:"DocumentType"`
-	Lang         string           `position:"Query" name:"Lang"`
-}
-
-// DescribeOSSUploadInfoResponse is the response struct for api DescribeOSSUploadInfo
-type DescribeOSSUploadInfoResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	AccessId  string `json:"AccessId" xml:"AccessId"`
-	Policy    string `json:"Policy" xml:"Policy"`
-	Signature string `json:"Signature" xml:"Signature"`
-	Key       string `json:"Key" xml:"Key"`
-	Host      string `json:"Host" xml:"Host"`
-	Expire    int    `json:"Expire" xml:"Expire"`
-}
-
-// CreateDescribeOSSUploadInfoRequest creates a request to invoke DescribeOSSUploadInfo API
-func CreateDescribeOSSUploadInfoRequest() (request *DescribeOSSUploadInfoRequest) {
-	request = &DescribeOSSUploadInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeOSSUploadInfo", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeOSSUploadInfoResponse creates a response to parse from DescribeOSSUploadInfo response
-func CreateDescribeOSSUploadInfoResponse() (response *DescribeOSSUploadInfoResponse) {
-	response = &DescribeOSSUploadInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cas/describe_signature_capacity.go

@@ -1,107 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeSignatureCapacity invokes the cas.DescribeSignatureCapacity API synchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturecapacity.html
-func (client *Client) DescribeSignatureCapacity(request *DescribeSignatureCapacityRequest) (response *DescribeSignatureCapacityResponse, err error) {
-	response = CreateDescribeSignatureCapacityResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeSignatureCapacityWithChan invokes the cas.DescribeSignatureCapacity API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturecapacity.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureCapacityWithChan(request *DescribeSignatureCapacityRequest) (<-chan *DescribeSignatureCapacityResponse, <-chan error) {
-	responseChan := make(chan *DescribeSignatureCapacityResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeSignatureCapacity(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeSignatureCapacityWithCallback invokes the cas.DescribeSignatureCapacity API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturecapacity.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureCapacityWithCallback(request *DescribeSignatureCapacityRequest, callback func(response *DescribeSignatureCapacityResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeSignatureCapacityResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeSignatureCapacity(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeSignatureCapacityRequest is the request struct for api DescribeSignatureCapacity
-type DescribeSignatureCapacityRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeSignatureCapacityResponse is the response struct for api DescribeSignatureCapacity
-type DescribeSignatureCapacityResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	RemainCount int    `json:"RemainCount" xml:"RemainCount"`
-	UsedCount   int    `json:"UsedCount" xml:"UsedCount"`
-	TotalCount  int    `json:"TotalCount" xml:"TotalCount"`
-}
-
-// CreateDescribeSignatureCapacityRequest creates a request to invoke DescribeSignatureCapacity API
-func CreateDescribeSignatureCapacityRequest() (request *DescribeSignatureCapacityRequest) {
-	request = &DescribeSignatureCapacityRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeSignatureCapacity", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeSignatureCapacityResponse creates a response to parse from DescribeSignatureCapacity response
-func CreateDescribeSignatureCapacityResponse() (response *DescribeSignatureCapacityResponse) {
-	response = &DescribeSignatureCapacityResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cas/describe_signature_statistics.go

@@ -1,108 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeSignatureStatistics invokes the cas.DescribeSignatureStatistics API synchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturestatistics.html
-func (client *Client) DescribeSignatureStatistics(request *DescribeSignatureStatisticsRequest) (response *DescribeSignatureStatisticsResponse, err error) {
-	response = CreateDescribeSignatureStatisticsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeSignatureStatisticsWithChan invokes the cas.DescribeSignatureStatistics API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturestatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureStatisticsWithChan(request *DescribeSignatureStatisticsRequest) (<-chan *DescribeSignatureStatisticsResponse, <-chan error) {
-	responseChan := make(chan *DescribeSignatureStatisticsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeSignatureStatistics(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeSignatureStatisticsWithCallback invokes the cas.DescribeSignatureStatistics API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturestatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureStatisticsWithCallback(request *DescribeSignatureStatisticsRequest, callback func(response *DescribeSignatureStatisticsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeSignatureStatisticsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeSignatureStatistics(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeSignatureStatisticsRequest is the request struct for api DescribeSignatureStatistics
-type DescribeSignatureStatisticsRequest struct {
-	*requests.RpcRequest
-	SourceIp string `position:"Query" name:"SourceIp"`
-	Lang     string `position:"Query" name:"Lang"`
-}
-
-// DescribeSignatureStatisticsResponse is the response struct for api DescribeSignatureStatistics
-type DescribeSignatureStatisticsResponse struct {
-	*responses.BaseResponse
-	RequestId   string    `json:"RequestId" xml:"RequestId"`
-	UnSignCount int       `json:"UnSignCount" xml:"UnSignCount"`
-	SignCount   int       `json:"SignCount" xml:"SignCount"`
-	FailCount   int       `json:"FailCount" xml:"FailCount"`
-	DayDataList []DayData `json:"DayDataList" xml:"DayDataList"`
-}
-
-// CreateDescribeSignatureStatisticsRequest creates a request to invoke DescribeSignatureStatistics API
-func CreateDescribeSignatureStatisticsRequest() (request *DescribeSignatureStatisticsRequest) {
-	request = &DescribeSignatureStatisticsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeSignatureStatistics", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeSignatureStatisticsResponse creates a response to parse from DescribeSignatureStatistics response
-func CreateDescribeSignatureStatisticsResponse() (response *DescribeSignatureStatisticsResponse) {
-	response = &DescribeSignatureStatisticsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 118
services/cas/describe_signature_trade_detail.go

@@ -1,118 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeSignatureTradeDetail invokes the cas.DescribeSignatureTradeDetail API synchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradedetail.html
-func (client *Client) DescribeSignatureTradeDetail(request *DescribeSignatureTradeDetailRequest) (response *DescribeSignatureTradeDetailResponse, err error) {
-	response = CreateDescribeSignatureTradeDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeSignatureTradeDetailWithChan invokes the cas.DescribeSignatureTradeDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureTradeDetailWithChan(request *DescribeSignatureTradeDetailRequest) (<-chan *DescribeSignatureTradeDetailResponse, <-chan error) {
-	responseChan := make(chan *DescribeSignatureTradeDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeSignatureTradeDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeSignatureTradeDetailWithCallback invokes the cas.DescribeSignatureTradeDetail API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureTradeDetailWithCallback(request *DescribeSignatureTradeDetailRequest, callback func(response *DescribeSignatureTradeDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeSignatureTradeDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeSignatureTradeDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeSignatureTradeDetailRequest is the request struct for api DescribeSignatureTradeDetail
-type DescribeSignatureTradeDetailRequest struct {
-	*requests.RpcRequest
-	SourceIp      string `position:"Query" name:"SourceIp"`
-	Lang          string `position:"Query" name:"Lang"`
-	TransactionId string `position:"Query" name:"TransactionId"`
-}
-
-// DescribeSignatureTradeDetailResponse is the response struct for api DescribeSignatureTradeDetail
-type DescribeSignatureTradeDetailResponse struct {
-	*responses.BaseResponse
-	RequestId      string `json:"RequestId" xml:"RequestId"`
-	Id             int    `json:"Id" xml:"Id"`
-	DocTitle       string `json:"DocTitle" xml:"DocTitle"`
-	TransactionId  string `json:"TransactionId" xml:"TransactionId"`
-	PeopleName     string `json:"PeopleName" xml:"PeopleName"`
-	CreateTime     int    `json:"CreateTime" xml:"CreateTime"`
-	SignStatus     int    `json:"SignStatus" xml:"SignStatus"`
-	SignMode       int    `json:"SignMode" xml:"SignMode"`
-	DocId          string `json:"DocId" xml:"DocId"`
-	PeopleId       string `json:"PeopleId" xml:"PeopleId"`
-	PeopleIdentity string `json:"PeopleIdentity" xml:"PeopleIdentity"`
-	PeopleMobile   string `json:"PeopleMobile" xml:"PeopleMobile"`
-	PeopleEmail    string `json:"PeopleEmail" xml:"PeopleEmail"`
-	SignCompany    string `json:"SignCompany" xml:"SignCompany"`
-}
-
-// CreateDescribeSignatureTradeDetailRequest creates a request to invoke DescribeSignatureTradeDetail API
-func CreateDescribeSignatureTradeDetailRequest() (request *DescribeSignatureTradeDetailRequest) {
-	request = &DescribeSignatureTradeDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeSignatureTradeDetail", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeSignatureTradeDetailResponse creates a response to parse from DescribeSignatureTradeDetail response
-func CreateDescribeSignatureTradeDetailResponse() (response *DescribeSignatureTradeDetailResponse) {
-	response = &DescribeSignatureTradeDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cas/describe_signature_trade_list.go

@@ -1,112 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeSignatureTradeList invokes the cas.DescribeSignatureTradeList API synchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradelist.html
-func (client *Client) DescribeSignatureTradeList(request *DescribeSignatureTradeListRequest) (response *DescribeSignatureTradeListResponse, err error) {
-	response = CreateDescribeSignatureTradeListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeSignatureTradeListWithChan invokes the cas.DescribeSignatureTradeList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureTradeListWithChan(request *DescribeSignatureTradeListRequest) (<-chan *DescribeSignatureTradeListResponse, <-chan error) {
-	responseChan := make(chan *DescribeSignatureTradeListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeSignatureTradeList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeSignatureTradeListWithCallback invokes the cas.DescribeSignatureTradeList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describesignaturetradelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSignatureTradeListWithCallback(request *DescribeSignatureTradeListRequest, callback func(response *DescribeSignatureTradeListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeSignatureTradeListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeSignatureTradeList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeSignatureTradeListRequest is the request struct for api DescribeSignatureTradeList
-type DescribeSignatureTradeListRequest struct {
-	*requests.RpcRequest
-	SourceIp    string           `position:"Query" name:"SourceIp"`
-	ShowSize    requests.Integer `position:"Query" name:"ShowSize"`
-	SearchType  string           `position:"Query" name:"SearchType"`
-	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
-	Lang        string           `position:"Query" name:"Lang"`
-	SearchValue string           `position:"Query" name:"SearchValue"`
-}
-
-// DescribeSignatureTradeListResponse is the response struct for api DescribeSignatureTradeList
-type DescribeSignatureTradeListResponse struct {
-	*responses.BaseResponse
-	RequestId   string  `json:"RequestId" xml:"RequestId"`
-	CurrentPage int     `json:"CurrentPage" xml:"CurrentPage"`
-	ShowSize    int     `json:"ShowSize" xml:"ShowSize"`
-	TotalCount  int     `json:"TotalCount" xml:"TotalCount"`
-	TradeList   []Trade `json:"TradeList" xml:"TradeList"`
-}
-
-// CreateDescribeSignatureTradeListRequest creates a request to invoke DescribeSignatureTradeList API
-func CreateDescribeSignatureTradeListRequest() (request *DescribeSignatureTradeListRequest) {
-	request = &DescribeSignatureTradeListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeSignatureTradeList", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeSignatureTradeListResponse creates a response to parse from DescribeSignatureTradeList response
-func CreateDescribeSignatureTradeListResponse() (response *DescribeSignatureTradeListResponse) {
-	response = &DescribeSignatureTradeListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cas/describe_sts_auth_status.go

@@ -1,105 +0,0 @@
-package cas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under 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"
-)
-
-// DescribeStsAuthStatus invokes the cas.DescribeStsAuthStatus API synchronously
-// api document: https://help.aliyun.com/api/cas/describestsauthstatus.html
-func (client *Client) DescribeStsAuthStatus(request *DescribeStsAuthStatusRequest) (response *DescribeStsAuthStatusResponse, err error) {
-	response = CreateDescribeStsAuthStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeStsAuthStatusWithChan invokes the cas.DescribeStsAuthStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/describestsauthstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeStsAuthStatusWithChan(request *DescribeStsAuthStatusRequest) (<-chan *DescribeStsAuthStatusResponse, <-chan error) {
-	responseChan := make(chan *DescribeStsAuthStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeStsAuthStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeStsAuthStatusWithCallback invokes the cas.DescribeStsAuthStatus API asynchronously
-// api document: https://help.aliyun.com/api/cas/describestsauthstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeStsAuthStatusWithCallback(request *DescribeStsAuthStatusRequest, callback func(response *DescribeStsAuthStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeStsAuthStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeStsAuthStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeStsAuthStatusRequest is the request struct for api DescribeStsAuthStatus
-type DescribeStsAuthStatusRequest struct {
-	*requests.RpcRequest
-	SourceIp     string `position:"Query" name:"SourceIp"`
-	CloudProduct string `position:"Query" name:"CloudProduct"`
-	Lang         string `position:"Query" name:"Lang"`
-}
-
-// DescribeStsAuthStatusResponse is the response struct for api DescribeStsAuthStatus
-type DescribeStsAuthStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDescribeStsAuthStatusRequest creates a request to invoke DescribeStsAuthStatus API
-func CreateDescribeStsAuthStatusRequest() (request *DescribeStsAuthStatusRequest) {
-	request = &DescribeStsAuthStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeStsAuthStatus", "cas_esign_fdd", "openAPI")
-	return
-}
-
-// CreateDescribeStsAuthStatusResponse creates a response to parse from DescribeStsAuthStatus response
-func CreateDescribeStsAuthStatusResponse() (response *DescribeStsAuthStatusResponse) {
-	response = &DescribeStsAuthStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 121 - 0
services/cas/describe_user_certificate_detail.go

@@ -0,0 +1,121 @@
+package cas
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under 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"
+)
+
+// DescribeUserCertificateDetail invokes the cas.DescribeUserCertificateDetail API synchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html
+func (client *Client) DescribeUserCertificateDetail(request *DescribeUserCertificateDetailRequest) (response *DescribeUserCertificateDetailResponse, err error) {
+	response = CreateDescribeUserCertificateDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeUserCertificateDetailWithChan invokes the cas.DescribeUserCertificateDetail API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUserCertificateDetailWithChan(request *DescribeUserCertificateDetailRequest) (<-chan *DescribeUserCertificateDetailResponse, <-chan error) {
+	responseChan := make(chan *DescribeUserCertificateDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeUserCertificateDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeUserCertificateDetailWithCallback invokes the cas.DescribeUserCertificateDetail API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUserCertificateDetailWithCallback(request *DescribeUserCertificateDetailRequest, callback func(response *DescribeUserCertificateDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeUserCertificateDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeUserCertificateDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeUserCertificateDetailRequest is the request struct for api DescribeUserCertificateDetail
+type DescribeUserCertificateDetailRequest struct {
+	*requests.RpcRequest
+	SourceIp string           `position:"Query" name:"SourceIp"`
+	CertId   requests.Integer `position:"Query" name:"CertId"`
+	Lang     string           `position:"Query" name:"Lang"`
+}
+
+// DescribeUserCertificateDetailResponse is the response struct for api DescribeUserCertificateDetail
+type DescribeUserCertificateDetailResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	Id          int    `json:"Id" xml:"Id"`
+	Name        string `json:"Name" xml:"Name"`
+	Common      string `json:"Common" xml:"Common"`
+	Fingerprint string `json:"Fingerprint" xml:"Fingerprint"`
+	Issuer      string `json:"Issuer" xml:"Issuer"`
+	OrgName     string `json:"OrgName" xml:"OrgName"`
+	Province    string `json:"Province" xml:"Province"`
+	City        string `json:"City" xml:"City"`
+	Country     string `json:"Country" xml:"Country"`
+	StartDate   string `json:"StartDate" xml:"StartDate"`
+	EndDate     string `json:"EndDate" xml:"EndDate"`
+	Sans        string `json:"Sans" xml:"Sans"`
+	Expired     bool   `json:"Expired" xml:"Expired"`
+	BuyInAliyun bool   `json:"BuyInAliyun" xml:"BuyInAliyun"`
+	Cert        string `json:"Cert" xml:"Cert"`
+	Key         string `json:"Key" xml:"Key"`
+}
+
+// CreateDescribeUserCertificateDetailRequest creates a request to invoke DescribeUserCertificateDetail API
+func CreateDescribeUserCertificateDetailRequest() (request *DescribeUserCertificateDetailRequest) {
+	request = &DescribeUserCertificateDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("cas", "2018-07-13", "DescribeUserCertificateDetail", "cas", "openAPI")
+	return
+}
+
+// CreateDescribeUserCertificateDetailResponse creates a response to parse from DescribeUserCertificateDetail response
+func CreateDescribeUserCertificateDetailResponse() (response *DescribeUserCertificateDetailResponse) {
+	response = &DescribeUserCertificateDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 25 - 27
services/cas/describe_certificate_list.go → services/cas/describe_user_certificate_list.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DescribeCertificateList invokes the cas.DescribeCertificateList API synchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatelist.html
-func (client *Client) DescribeCertificateList(request *DescribeCertificateListRequest) (response *DescribeCertificateListResponse, err error) {
-	response = CreateDescribeCertificateListResponse()
+// DescribeUserCertificateList invokes the cas.DescribeUserCertificateList API synchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html
+func (client *Client) DescribeUserCertificateList(request *DescribeUserCertificateListRequest) (response *DescribeUserCertificateListResponse, err error) {
+	response = CreateDescribeUserCertificateListResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DescribeCertificateListWithChan invokes the cas.DescribeCertificateList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatelist.html
+// DescribeUserCertificateListWithChan invokes the cas.DescribeUserCertificateList API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateListWithChan(request *DescribeCertificateListRequest) (<-chan *DescribeCertificateListResponse, <-chan error) {
-	responseChan := make(chan *DescribeCertificateListResponse, 1)
+func (client *Client) DescribeUserCertificateListWithChan(request *DescribeUserCertificateListRequest) (<-chan *DescribeUserCertificateListResponse, <-chan error) {
+	responseChan := make(chan *DescribeUserCertificateListResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DescribeCertificateList(request)
+		response, err := client.DescribeUserCertificateList(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DescribeCertificateListWithChan(request *DescribeCertifica
 	return responseChan, errChan
 }
 
-// DescribeCertificateListWithCallback invokes the cas.DescribeCertificateList API asynchronously
-// api document: https://help.aliyun.com/api/cas/describecertificatelist.html
+// DescribeUserCertificateListWithCallback invokes the cas.DescribeUserCertificateList API asynchronously
+// api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCertificateListWithCallback(request *DescribeCertificateListRequest, callback func(response *DescribeCertificateListResponse, err error)) <-chan int {
+func (client *Client) DescribeUserCertificateListWithCallback(request *DescribeUserCertificateListRequest, callback func(response *DescribeUserCertificateListResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DescribeCertificateListResponse
+		var response *DescribeUserCertificateListResponse
 		var err error
 		defer close(result)
-		response, err = client.DescribeCertificateList(request)
+		response, err = client.DescribeUserCertificateList(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,19 +73,17 @@ func (client *Client) DescribeCertificateListWithCallback(request *DescribeCerti
 	return result
 }
 
-// DescribeCertificateListRequest is the request struct for api DescribeCertificateList
-type DescribeCertificateListRequest struct {
+// DescribeUserCertificateListRequest is the request struct for api DescribeUserCertificateList
+type DescribeUserCertificateListRequest struct {
 	*requests.RpcRequest
 	SourceIp    string           `position:"Query" name:"SourceIp"`
 	ShowSize    requests.Integer `position:"Query" name:"ShowSize"`
 	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
-	Keyword     string           `position:"Query" name:"Keyword"`
 	Lang        string           `position:"Query" name:"Lang"`
-	Status      string           `position:"Query" name:"Status"`
 }
 
-// DescribeCertificateListResponse is the response struct for api DescribeCertificateList
-type DescribeCertificateListResponse struct {
+// DescribeUserCertificateListResponse is the response struct for api DescribeUserCertificateList
+type DescribeUserCertificateListResponse struct {
 	*responses.BaseResponse
 	RequestId       string        `json:"RequestId" xml:"RequestId"`
 	TotalCount      int           `json:"TotalCount" xml:"TotalCount"`
@@ -94,18 +92,18 @@ type DescribeCertificateListResponse struct {
 	CertificateList []Certificate `json:"CertificateList" xml:"CertificateList"`
 }
 
-// CreateDescribeCertificateListRequest creates a request to invoke DescribeCertificateList API
-func CreateDescribeCertificateListRequest() (request *DescribeCertificateListRequest) {
-	request = &DescribeCertificateListRequest{
+// CreateDescribeUserCertificateListRequest creates a request to invoke DescribeUserCertificateList API
+func CreateDescribeUserCertificateListRequest() (request *DescribeUserCertificateListRequest) {
+	request = &DescribeUserCertificateListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("cas", "2018-08-13", "DescribeCertificateList", "cas_esign_fdd", "openAPI")
+	request.InitWithApiInfo("cas", "2018-07-13", "DescribeUserCertificateList", "cas", "openAPI")
 	return
 }
 
-// CreateDescribeCertificateListResponse creates a response to parse from DescribeCertificateList response
-func CreateDescribeCertificateListResponse() (response *DescribeCertificateListResponse) {
-	response = &DescribeCertificateListResponse{
+// CreateDescribeUserCertificateListResponse creates a response to parse from DescribeUserCertificateList response
+func CreateDescribeUserCertificateListResponse() (response *DescribeUserCertificateListResponse) {
+	response = &DescribeUserCertificateListResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 0 - 22
services/cas/struct_brand.go

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

+ 0 - 21
services/cas/struct_brand_list.go

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

+ 14 - 19
services/cas/struct_certificate.go

@@ -17,23 +17,18 @@ package cas
 
 // Certificate is a nested struct in cas response
 type Certificate struct {
-	Id                     int    `json:"Id" xml:"Id"`
-	Name                   string `json:"Name" xml:"Name"`
-	SourceType             string `json:"SourceType" xml:"SourceType"`
-	CertType               string `json:"CertType" xml:"CertType"`
-	InstanceId             string `json:"InstanceId" xml:"InstanceId"`
-	OrderId                int    `json:"OrderId" xml:"OrderId"`
-	OrderType              string `json:"OrderType" xml:"OrderType"`
-	BrandName              string `json:"BrandName" xml:"BrandName"`
-	BeforeDate             int    `json:"BeforeDate" xml:"BeforeDate"`
-	AfterDate              int    `json:"AfterDate" xml:"AfterDate"`
-	Year                   int    `json:"Year" xml:"Year"`
-	Domain                 string `json:"Domain" xml:"Domain"`
-	RemainingDays          int    `json:"RemainingDays" xml:"RemainingDays"`
-	DeploymentCloudProduct string `json:"DeploymentCloudProduct" xml:"DeploymentCloudProduct"`
-	StatusCode             string `json:"StatusCode" xml:"StatusCode"`
-	NewBuyCertType         string `json:"NewBuyCertType" xml:"NewBuyCertType"`
-	NewBuyDomainType       string `json:"NewBuyDomainType" xml:"NewBuyDomainType"`
-	NewBuyBrand            string `json:"NewBuyBrand" xml:"NewBuyBrand"`
-	ShowDeployment         int    `json:"ShowDeployment" xml:"ShowDeployment"`
+	Id          int    `json:"id" xml:"id"`
+	Name        string `json:"name" xml:"name"`
+	Common      string `json:"common" xml:"common"`
+	Fingerprint string `json:"fingerprint" xml:"fingerprint"`
+	Issuer      string `json:"issuer" xml:"issuer"`
+	OrgName     string `json:"orgName" xml:"orgName"`
+	Province    string `json:"province" xml:"province"`
+	City        string `json:"city" xml:"city"`
+	Country     string `json:"country" xml:"country"`
+	StartDate   string `json:"startDate" xml:"startDate"`
+	EndDate     string `json:"endDate" xml:"endDate"`
+	Sans        string `json:"sans" xml:"sans"`
+	Expired     bool   `json:"expired" xml:"expired"`
+	BuyInAliyun bool   `json:"buyInAliyun" xml:"buyInAliyun"`
 }

+ 0 - 24
services/cas/struct_day_data.go

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

+ 0 - 21
services/cas/struct_day_data_list.go

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

+ 0 - 25
services/cas/struct_deployment.go

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

+ 0 - 21
services/cas/struct_deployment_detail.go

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

+ 0 - 21
services/cas/struct_domain_list.go

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

+ 5 - 19
services/cas/struct_order.go

@@ -17,23 +17,9 @@ package cas
 
 // Order is a nested struct in cas response
 type Order struct {
-	Id               int    `json:"Id" xml:"Id"`
-	SourceType       string `json:"SourceType" xml:"SourceType"`
-	CertType         string `json:"CertType" xml:"CertType"`
-	InstanceId       string `json:"InstanceId" xml:"InstanceId"`
-	Year             int    `json:"Year" xml:"Year"`
-	OrderId          int    `json:"OrderId" xml:"OrderId"`
-	OrderType        string `json:"OrderType" xml:"OrderType"`
-	BrandName        string `json:"BrandName" xml:"BrandName"`
-	BuyDate          int    `json:"BuyDate" xml:"BuyDate"`
-	StatusCode       string `json:"StatusCode" xml:"StatusCode"`
-	Domain           string `json:"Domain" xml:"Domain"`
-	ProductAliasName string `json:"ProductAliasName" xml:"ProductAliasName"`
-	DomainCount      int    `json:"DomainCount" xml:"DomainCount"`
-	WildDomainCount  int    `json:"WildDomainCount" xml:"WildDomainCount"`
-	VerifyStatus     int    `json:"VerifyStatus" xml:"VerifyStatus"`
-	MaybeIssueDate   int    `json:"MaybeIssueDate" xml:"MaybeIssueDate"`
-	BeforeDate       int    `json:"BeforeDate" xml:"BeforeDate"`
-	AfterDate        int    `json:"AfterDate" xml:"AfterDate"`
-	ShowCancel       bool   `json:"ShowCancel" xml:"ShowCancel"`
+	Id         int    `json:"Id" xml:"Id"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+	Source     string `json:"Source" xml:"Source"`
+	Status     string `json:"Status" xml:"Status"`
+	CertType   string `json:"CertType" xml:"CertType"`
 }

+ 0 - 26
services/cas/struct_order_document.go

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

+ 0 - 21
services/cas/struct_order_document_list.go

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

+ 1 - 1
services/cas/struct_order_list.go

@@ -17,5 +17,5 @@ package cas
 
 // OrderList is a nested struct in cas response
 type OrderList struct {
-	Order []Order `json:"Order" xml:"Order"`
+	Order []Order `json:"order" xml:"order"`
 }

+ 0 - 21
services/cas/struct_product_list.go

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

+ 0 - 21
services/cas/struct_region_list.go

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

+ 0 - 29
services/cas/struct_trade.go

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

+ 0 - 21
services/cas/struct_trade_list.go

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