diff --git a/ChangeLog.txt b/ChangeLog.txt index 7fbd54ee7..5fd897059 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-04-16 Version: v1.62.715 +- Generated 2018-02-08 for `Domain`. +- Add SnatchNo For QueryBookingDomainInfo + 2024-04-16 Version: v1.62.714 - Generated 2023-07-01 for `EHPC`. - Support Container for CreateJob. diff --git a/services/domain/accept_demand.go b/services/domain/accept_demand.go index ce4cadea0..e8607eb66 100644 --- a/services/domain/accept_demand.go +++ b/services/domain/accept_demand.go @@ -71,8 +71,8 @@ func (client *Client) AcceptDemandWithCallback(request *AcceptDemandRequest, cal // AcceptDemandRequest is the request struct for api AcceptDemand type AcceptDemandRequest struct { *requests.RpcRequest - BizId string `position:"Query" name:"BizId"` Message string `position:"Query" name:"Message"` + BizId string `position:"Query" name:"BizId"` } // AcceptDemandResponse is the response struct for api AcceptDemand diff --git a/services/domain/acknowledge_task_result.go b/services/domain/acknowledge_task_result.go deleted file mode 100644 index a953e2085..000000000 --- a/services/domain/acknowledge_task_result.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// AcknowledgeTaskResult invokes the domain.AcknowledgeTaskResult API synchronously -func (client *Client) AcknowledgeTaskResult(request *AcknowledgeTaskResultRequest) (response *AcknowledgeTaskResultResponse, err error) { - response = CreateAcknowledgeTaskResultResponse() - err = client.DoAction(request, response) - return -} - -// AcknowledgeTaskResultWithChan invokes the domain.AcknowledgeTaskResult API asynchronously -func (client *Client) AcknowledgeTaskResultWithChan(request *AcknowledgeTaskResultRequest) (<-chan *AcknowledgeTaskResultResponse, <-chan error) { - responseChan := make(chan *AcknowledgeTaskResultResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.AcknowledgeTaskResult(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// AcknowledgeTaskResultWithCallback invokes the domain.AcknowledgeTaskResult API asynchronously -func (client *Client) AcknowledgeTaskResultWithCallback(request *AcknowledgeTaskResultRequest, callback func(response *AcknowledgeTaskResultResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *AcknowledgeTaskResultResponse - var err error - defer close(result) - response, err = client.AcknowledgeTaskResult(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// AcknowledgeTaskResultRequest is the request struct for api AcknowledgeTaskResult -type AcknowledgeTaskResultRequest struct { - *requests.RpcRequest - TaskDetailNo *[]string `position:"Query" name:"TaskDetailNo" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// AcknowledgeTaskResultResponse is the response struct for api AcknowledgeTaskResult -type AcknowledgeTaskResultResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Result int `json:"Result" xml:"Result"` -} - -// CreateAcknowledgeTaskResultRequest creates a request to invoke AcknowledgeTaskResult API -func CreateAcknowledgeTaskResultRequest() (request *AcknowledgeTaskResultRequest) { - request = &AcknowledgeTaskResultRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "AcknowledgeTaskResult", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateAcknowledgeTaskResultResponse creates a response to parse from AcknowledgeTaskResult response -func CreateAcknowledgeTaskResultResponse() (response *AcknowledgeTaskResultResponse) { - response = &AcknowledgeTaskResultResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/batch_fuzzy_match_domain_sensitive_word.go b/services/domain/batch_fuzzy_match_domain_sensitive_word.go deleted file mode 100644 index 341e197ed..000000000 --- a/services/domain/batch_fuzzy_match_domain_sensitive_word.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// BatchFuzzyMatchDomainSensitiveWord invokes the domain.BatchFuzzyMatchDomainSensitiveWord API synchronously -func (client *Client) BatchFuzzyMatchDomainSensitiveWord(request *BatchFuzzyMatchDomainSensitiveWordRequest) (response *BatchFuzzyMatchDomainSensitiveWordResponse, err error) { - response = CreateBatchFuzzyMatchDomainSensitiveWordResponse() - err = client.DoAction(request, response) - return -} - -// BatchFuzzyMatchDomainSensitiveWordWithChan invokes the domain.BatchFuzzyMatchDomainSensitiveWord API asynchronously -func (client *Client) BatchFuzzyMatchDomainSensitiveWordWithChan(request *BatchFuzzyMatchDomainSensitiveWordRequest) (<-chan *BatchFuzzyMatchDomainSensitiveWordResponse, <-chan error) { - responseChan := make(chan *BatchFuzzyMatchDomainSensitiveWordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.BatchFuzzyMatchDomainSensitiveWord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// BatchFuzzyMatchDomainSensitiveWordWithCallback invokes the domain.BatchFuzzyMatchDomainSensitiveWord API asynchronously -func (client *Client) BatchFuzzyMatchDomainSensitiveWordWithCallback(request *BatchFuzzyMatchDomainSensitiveWordRequest, callback func(response *BatchFuzzyMatchDomainSensitiveWordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *BatchFuzzyMatchDomainSensitiveWordResponse - var err error - defer close(result) - response, err = client.BatchFuzzyMatchDomainSensitiveWord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// BatchFuzzyMatchDomainSensitiveWordRequest is the request struct for api BatchFuzzyMatchDomainSensitiveWord -type BatchFuzzyMatchDomainSensitiveWordRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Keyword string `position:"Query" name:"Keyword"` - Lang string `position:"Query" name:"Lang"` -} - -// BatchFuzzyMatchDomainSensitiveWordResponse is the response struct for api BatchFuzzyMatchDomainSensitiveWord -type BatchFuzzyMatchDomainSensitiveWordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SensitiveWordMatchResultList SensitiveWordMatchResultList `json:"SensitiveWordMatchResultList" xml:"SensitiveWordMatchResultList"` -} - -// CreateBatchFuzzyMatchDomainSensitiveWordRequest creates a request to invoke BatchFuzzyMatchDomainSensitiveWord API -func CreateBatchFuzzyMatchDomainSensitiveWordRequest() (request *BatchFuzzyMatchDomainSensitiveWordRequest) { - request = &BatchFuzzyMatchDomainSensitiveWordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "BatchFuzzyMatchDomainSensitiveWord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateBatchFuzzyMatchDomainSensitiveWordResponse creates a response to parse from BatchFuzzyMatchDomainSensitiveWord response -func CreateBatchFuzzyMatchDomainSensitiveWordResponse() (response *BatchFuzzyMatchDomainSensitiveWordResponse) { - response = &BatchFuzzyMatchDomainSensitiveWordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/cancel_domain_verification.go b/services/domain/cancel_domain_verification.go deleted file mode 100644 index e9139d4af..000000000 --- a/services/domain/cancel_domain_verification.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CancelDomainVerification invokes the domain.CancelDomainVerification API synchronously -func (client *Client) CancelDomainVerification(request *CancelDomainVerificationRequest) (response *CancelDomainVerificationResponse, err error) { - response = CreateCancelDomainVerificationResponse() - err = client.DoAction(request, response) - return -} - -// CancelDomainVerificationWithChan invokes the domain.CancelDomainVerification API asynchronously -func (client *Client) CancelDomainVerificationWithChan(request *CancelDomainVerificationRequest) (<-chan *CancelDomainVerificationResponse, <-chan error) { - responseChan := make(chan *CancelDomainVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CancelDomainVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CancelDomainVerificationWithCallback invokes the domain.CancelDomainVerification API asynchronously -func (client *Client) CancelDomainVerificationWithCallback(request *CancelDomainVerificationRequest, callback func(response *CancelDomainVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CancelDomainVerificationResponse - var err error - defer close(result) - response, err = client.CancelDomainVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CancelDomainVerificationRequest is the request struct for api CancelDomainVerification -type CancelDomainVerificationRequest struct { - *requests.RpcRequest - ActionType string `position:"Query" name:"ActionType"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CancelDomainVerificationResponse is the response struct for api CancelDomainVerification -type CancelDomainVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateCancelDomainVerificationRequest creates a request to invoke CancelDomainVerification API -func CreateCancelDomainVerificationRequest() (request *CancelDomainVerificationRequest) { - request = &CancelDomainVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CancelDomainVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCancelDomainVerificationResponse creates a response to parse from CancelDomainVerification response -func CreateCancelDomainVerificationResponse() (response *CancelDomainVerificationResponse) { - response = &CancelDomainVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/cancel_operation_audit.go b/services/domain/cancel_operation_audit.go deleted file mode 100644 index 440d1db1c..000000000 --- a/services/domain/cancel_operation_audit.go +++ /dev/null @@ -1,100 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CancelOperationAudit invokes the domain.CancelOperationAudit API synchronously -func (client *Client) CancelOperationAudit(request *CancelOperationAuditRequest) (response *CancelOperationAuditResponse, err error) { - response = CreateCancelOperationAuditResponse() - err = client.DoAction(request, response) - return -} - -// CancelOperationAuditWithChan invokes the domain.CancelOperationAudit API asynchronously -func (client *Client) CancelOperationAuditWithChan(request *CancelOperationAuditRequest) (<-chan *CancelOperationAuditResponse, <-chan error) { - responseChan := make(chan *CancelOperationAuditResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CancelOperationAudit(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CancelOperationAuditWithCallback invokes the domain.CancelOperationAudit API asynchronously -func (client *Client) CancelOperationAuditWithCallback(request *CancelOperationAuditRequest, callback func(response *CancelOperationAuditResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CancelOperationAuditResponse - var err error - defer close(result) - response, err = client.CancelOperationAudit(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CancelOperationAuditRequest is the request struct for api CancelOperationAudit -type CancelOperationAuditRequest struct { - *requests.RpcRequest - AuditRecordId requests.Integer `position:"Query" name:"AuditRecordId"` - Lang string `position:"Query" name:"Lang"` -} - -// CancelOperationAuditResponse is the response struct for api CancelOperationAudit -type CancelOperationAuditResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateCancelOperationAuditRequest creates a request to invoke CancelOperationAudit API -func CreateCancelOperationAuditRequest() (request *CancelOperationAuditRequest) { - request = &CancelOperationAuditRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CancelOperationAudit", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCancelOperationAuditResponse creates a response to parse from CancelOperationAudit response -func CreateCancelOperationAuditResponse() (response *CancelOperationAuditResponse) { - response = &CancelOperationAuditResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/cancel_qualification_verification.go b/services/domain/cancel_qualification_verification.go deleted file mode 100644 index 997c1a9a1..000000000 --- a/services/domain/cancel_qualification_verification.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CancelQualificationVerification invokes the domain.CancelQualificationVerification API synchronously -func (client *Client) CancelQualificationVerification(request *CancelQualificationVerificationRequest) (response *CancelQualificationVerificationResponse, err error) { - response = CreateCancelQualificationVerificationResponse() - err = client.DoAction(request, response) - return -} - -// CancelQualificationVerificationWithChan invokes the domain.CancelQualificationVerification API asynchronously -func (client *Client) CancelQualificationVerificationWithChan(request *CancelQualificationVerificationRequest) (<-chan *CancelQualificationVerificationResponse, <-chan error) { - responseChan := make(chan *CancelQualificationVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CancelQualificationVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CancelQualificationVerificationWithCallback invokes the domain.CancelQualificationVerification API asynchronously -func (client *Client) CancelQualificationVerificationWithCallback(request *CancelQualificationVerificationRequest, callback func(response *CancelQualificationVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CancelQualificationVerificationResponse - var err error - defer close(result) - response, err = client.CancelQualificationVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CancelQualificationVerificationRequest is the request struct for api CancelQualificationVerification -type CancelQualificationVerificationRequest struct { - *requests.RpcRequest - QualificationType string `position:"Query" name:"QualificationType"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CancelQualificationVerificationResponse is the response struct for api CancelQualificationVerification -type CancelQualificationVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateCancelQualificationVerificationRequest creates a request to invoke CancelQualificationVerification API -func CreateCancelQualificationVerificationRequest() (request *CancelQualificationVerificationRequest) { - request = &CancelQualificationVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CancelQualificationVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCancelQualificationVerificationResponse creates a response to parse from CancelQualificationVerification response -func CreateCancelQualificationVerificationResponse() (response *CancelQualificationVerificationResponse) { - response = &CancelQualificationVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/cancel_task.go b/services/domain/cancel_task.go deleted file mode 100644 index d53d7e347..000000000 --- a/services/domain/cancel_task.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CancelTask invokes the domain.CancelTask API synchronously -func (client *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error) { - response = CreateCancelTaskResponse() - err = client.DoAction(request, response) - return -} - -// CancelTaskWithChan invokes the domain.CancelTask API asynchronously -func (client *Client) CancelTaskWithChan(request *CancelTaskRequest) (<-chan *CancelTaskResponse, <-chan error) { - responseChan := make(chan *CancelTaskResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CancelTask(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CancelTaskWithCallback invokes the domain.CancelTask API asynchronously -func (client *Client) CancelTaskWithCallback(request *CancelTaskRequest, callback func(response *CancelTaskResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CancelTaskResponse - var err error - defer close(result) - response, err = client.CancelTask(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CancelTaskRequest is the request struct for api CancelTask -type CancelTaskRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - TaskNo string `position:"Query" name:"TaskNo"` - Lang string `position:"Query" name:"Lang"` -} - -// CancelTaskResponse is the response struct for api CancelTask -type CancelTaskResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateCancelTaskRequest creates a request to invoke CancelTask API -func CreateCancelTaskRequest() (request *CancelTaskRequest) { - request = &CancelTaskRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CancelTask", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCancelTaskResponse creates a response to parse from CancelTask response -func CreateCancelTaskResponse() (response *CancelTaskResponse) { - response = &CancelTaskResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/change_resource_group.go b/services/domain/change_resource_group.go deleted file mode 100644 index 0864b7d9c..000000000 --- a/services/domain/change_resource_group.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ChangeResourceGroup invokes the domain.ChangeResourceGroup API synchronously -func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error) { - response = CreateChangeResourceGroupResponse() - err = client.DoAction(request, response) - return -} - -// ChangeResourceGroupWithChan invokes the domain.ChangeResourceGroup API asynchronously -func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error) { - responseChan := make(chan *ChangeResourceGroupResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ChangeResourceGroup(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ChangeResourceGroupWithCallback invokes the domain.ChangeResourceGroup API asynchronously -func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ChangeResourceGroupResponse - var err error - defer close(result) - response, err = client.ChangeResourceGroup(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ChangeResourceGroupRequest is the request struct for api ChangeResourceGroup -type ChangeResourceGroupRequest struct { - *requests.RpcRequest - ResourceId string `position:"Query" name:"ResourceId"` - ResourceType string `position:"Query" name:"ResourceType"` - NewResourceGroupId string `position:"Query" name:"NewResourceGroupId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup -type ChangeResourceGroupResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Result string `json:"Result" xml:"Result"` -} - -// CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API -func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest) { - request = &ChangeResourceGroupRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ChangeResourceGroup", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateChangeResourceGroupResponse creates a response to parse from ChangeResourceGroup response -func CreateChangeResourceGroupResponse() (response *ChangeResourceGroupResponse) { - response = &ChangeResourceGroupResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/check_domain.go b/services/domain/check_domain.go deleted file mode 100644 index b7e8c1ed4..000000000 --- a/services/domain/check_domain.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CheckDomain invokes the domain.CheckDomain API synchronously -func (client *Client) CheckDomain(request *CheckDomainRequest) (response *CheckDomainResponse, err error) { - response = CreateCheckDomainResponse() - err = client.DoAction(request, response) - return -} - -// CheckDomainWithChan invokes the domain.CheckDomain API asynchronously -func (client *Client) CheckDomainWithChan(request *CheckDomainRequest) (<-chan *CheckDomainResponse, <-chan error) { - responseChan := make(chan *CheckDomainResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CheckDomain(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CheckDomainWithCallback invokes the domain.CheckDomain API asynchronously -func (client *Client) CheckDomainWithCallback(request *CheckDomainRequest, callback func(response *CheckDomainResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CheckDomainResponse - var err error - defer close(result) - response, err = client.CheckDomain(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CheckDomainRequest is the request struct for api CheckDomain -type CheckDomainRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CheckDomainResponse is the response struct for api CheckDomain -type CheckDomainResponse struct { - *responses.BaseResponse - FeeFee string `json:"FeeFee" xml:"FeeFee"` - RequestId string `json:"RequestId" xml:"RequestId"` - Avail int `json:"Avail" xml:"Avail"` - RmbFee string `json:"RmbFee" xml:"RmbFee"` - FeeCommand string `json:"FeeCommand" xml:"FeeCommand"` - FeePeriod int `json:"FeePeriod" xml:"FeePeriod"` - Reason string `json:"Reason" xml:"Reason"` - FeeCurrency string `json:"FeeCurrency" xml:"FeeCurrency"` - Name string `json:"Name" xml:"Name"` -} - -// CreateCheckDomainRequest creates a request to invoke CheckDomain API -func CreateCheckDomainRequest() (request *CheckDomainRequest) { - request = &CheckDomainRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "CheckDomain", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCheckDomainResponse creates a response to parse from CheckDomain response -func CreateCheckDomainResponse() (response *CheckDomainResponse) { - response = &CheckDomainResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/check_domain_sunrise_claim.go b/services/domain/check_domain_sunrise_claim.go deleted file mode 100644 index 9e33dd178..000000000 --- a/services/domain/check_domain_sunrise_claim.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CheckDomainSunriseClaim invokes the domain.CheckDomainSunriseClaim API synchronously -func (client *Client) CheckDomainSunriseClaim(request *CheckDomainSunriseClaimRequest) (response *CheckDomainSunriseClaimResponse, err error) { - response = CreateCheckDomainSunriseClaimResponse() - err = client.DoAction(request, response) - return -} - -// CheckDomainSunriseClaimWithChan invokes the domain.CheckDomainSunriseClaim API asynchronously -func (client *Client) CheckDomainSunriseClaimWithChan(request *CheckDomainSunriseClaimRequest) (<-chan *CheckDomainSunriseClaimResponse, <-chan error) { - responseChan := make(chan *CheckDomainSunriseClaimResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CheckDomainSunriseClaim(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CheckDomainSunriseClaimWithCallback invokes the domain.CheckDomainSunriseClaim API asynchronously -func (client *Client) CheckDomainSunriseClaimWithCallback(request *CheckDomainSunriseClaimRequest, callback func(response *CheckDomainSunriseClaimResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CheckDomainSunriseClaimResponse - var err error - defer close(result) - response, err = client.CheckDomainSunriseClaim(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CheckDomainSunriseClaimRequest is the request struct for api CheckDomainSunriseClaim -type CheckDomainSunriseClaimRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CheckDomainSunriseClaimResponse is the response struct for api CheckDomainSunriseClaim -type CheckDomainSunriseClaimResponse struct { - *responses.BaseResponse - ClaimKey string `json:"ClaimKey" xml:"ClaimKey"` - RequestId string `json:"RequestId" xml:"RequestId"` - Result int `json:"Result" xml:"Result"` -} - -// CreateCheckDomainSunriseClaimRequest creates a request to invoke CheckDomainSunriseClaim API -func CreateCheckDomainSunriseClaimRequest() (request *CheckDomainSunriseClaimRequest) { - request = &CheckDomainSunriseClaimRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CheckDomainSunriseClaim", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCheckDomainSunriseClaimResponse creates a response to parse from CheckDomainSunriseClaim response -func CreateCheckDomainSunriseClaimResponse() (response *CheckDomainSunriseClaimResponse) { - response = &CheckDomainSunriseClaimResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/check_max_year_of_server_lock.go b/services/domain/check_max_year_of_server_lock.go deleted file mode 100644 index 12caabba6..000000000 --- a/services/domain/check_max_year_of_server_lock.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CheckMaxYearOfServerLock invokes the domain.CheckMaxYearOfServerLock API synchronously -func (client *Client) CheckMaxYearOfServerLock(request *CheckMaxYearOfServerLockRequest) (response *CheckMaxYearOfServerLockResponse, err error) { - response = CreateCheckMaxYearOfServerLockResponse() - err = client.DoAction(request, response) - return -} - -// CheckMaxYearOfServerLockWithChan invokes the domain.CheckMaxYearOfServerLock API asynchronously -func (client *Client) CheckMaxYearOfServerLockWithChan(request *CheckMaxYearOfServerLockRequest) (<-chan *CheckMaxYearOfServerLockResponse, <-chan error) { - responseChan := make(chan *CheckMaxYearOfServerLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CheckMaxYearOfServerLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CheckMaxYearOfServerLockWithCallback invokes the domain.CheckMaxYearOfServerLock API asynchronously -func (client *Client) CheckMaxYearOfServerLockWithCallback(request *CheckMaxYearOfServerLockRequest, callback func(response *CheckMaxYearOfServerLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CheckMaxYearOfServerLockResponse - var err error - defer close(result) - response, err = client.CheckMaxYearOfServerLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CheckMaxYearOfServerLockRequest is the request struct for api CheckMaxYearOfServerLock -type CheckMaxYearOfServerLockRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - CheckAction string `position:"Query" name:"CheckAction"` - Lang string `position:"Query" name:"Lang"` -} - -// CheckMaxYearOfServerLockResponse is the response struct for api CheckMaxYearOfServerLock -type CheckMaxYearOfServerLockResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - MaxYear int `json:"MaxYear" xml:"MaxYear"` -} - -// CreateCheckMaxYearOfServerLockRequest creates a request to invoke CheckMaxYearOfServerLock API -func CreateCheckMaxYearOfServerLockRequest() (request *CheckMaxYearOfServerLockRequest) { - request = &CheckMaxYearOfServerLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CheckMaxYearOfServerLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCheckMaxYearOfServerLockResponse creates a response to parse from CheckMaxYearOfServerLock response -func CreateCheckMaxYearOfServerLockResponse() (response *CheckMaxYearOfServerLockResponse) { - response = &CheckMaxYearOfServerLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/check_processing_server_lock_apply.go b/services/domain/check_processing_server_lock_apply.go deleted file mode 100644 index 5055a9a44..000000000 --- a/services/domain/check_processing_server_lock_apply.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CheckProcessingServerLockApply invokes the domain.CheckProcessingServerLockApply API synchronously -func (client *Client) CheckProcessingServerLockApply(request *CheckProcessingServerLockApplyRequest) (response *CheckProcessingServerLockApplyResponse, err error) { - response = CreateCheckProcessingServerLockApplyResponse() - err = client.DoAction(request, response) - return -} - -// CheckProcessingServerLockApplyWithChan invokes the domain.CheckProcessingServerLockApply API asynchronously -func (client *Client) CheckProcessingServerLockApplyWithChan(request *CheckProcessingServerLockApplyRequest) (<-chan *CheckProcessingServerLockApplyResponse, <-chan error) { - responseChan := make(chan *CheckProcessingServerLockApplyResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CheckProcessingServerLockApply(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CheckProcessingServerLockApplyWithCallback invokes the domain.CheckProcessingServerLockApply API asynchronously -func (client *Client) CheckProcessingServerLockApplyWithCallback(request *CheckProcessingServerLockApplyRequest, callback func(response *CheckProcessingServerLockApplyResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CheckProcessingServerLockApplyResponse - var err error - defer close(result) - response, err = client.CheckProcessingServerLockApply(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CheckProcessingServerLockApplyRequest is the request struct for api CheckProcessingServerLockApply -type CheckProcessingServerLockApplyRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - FeePeriod requests.Integer `position:"Query" name:"FeePeriod"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CheckProcessingServerLockApplyResponse is the response struct for api CheckProcessingServerLockApply -type CheckProcessingServerLockApplyResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Exists bool `json:"Exists" xml:"Exists"` -} - -// CreateCheckProcessingServerLockApplyRequest creates a request to invoke CheckProcessingServerLockApply API -func CreateCheckProcessingServerLockApplyRequest() (request *CheckProcessingServerLockApplyRequest) { - request = &CheckProcessingServerLockApplyRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CheckProcessingServerLockApply", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCheckProcessingServerLockApplyResponse creates a response to parse from CheckProcessingServerLockApply response -func CreateCheckProcessingServerLockApplyResponse() (response *CheckProcessingServerLockApplyResponse) { - response = &CheckProcessingServerLockApplyResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/check_transfer_in_feasibility.go b/services/domain/check_transfer_in_feasibility.go deleted file mode 100644 index 7a467a0b9..000000000 --- a/services/domain/check_transfer_in_feasibility.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CheckTransferInFeasibility invokes the domain.CheckTransferInFeasibility API synchronously -func (client *Client) CheckTransferInFeasibility(request *CheckTransferInFeasibilityRequest) (response *CheckTransferInFeasibilityResponse, err error) { - response = CreateCheckTransferInFeasibilityResponse() - err = client.DoAction(request, response) - return -} - -// CheckTransferInFeasibilityWithChan invokes the domain.CheckTransferInFeasibility API asynchronously -func (client *Client) CheckTransferInFeasibilityWithChan(request *CheckTransferInFeasibilityRequest) (<-chan *CheckTransferInFeasibilityResponse, <-chan error) { - responseChan := make(chan *CheckTransferInFeasibilityResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CheckTransferInFeasibility(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CheckTransferInFeasibilityWithCallback invokes the domain.CheckTransferInFeasibility API asynchronously -func (client *Client) CheckTransferInFeasibilityWithCallback(request *CheckTransferInFeasibilityRequest, callback func(response *CheckTransferInFeasibilityResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CheckTransferInFeasibilityResponse - var err error - defer close(result) - response, err = client.CheckTransferInFeasibility(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CheckTransferInFeasibilityRequest is the request struct for api CheckTransferInFeasibility -type CheckTransferInFeasibilityRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - TransferAuthorizationCode string `position:"Query" name:"TransferAuthorizationCode"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CheckTransferInFeasibilityResponse is the response struct for api CheckTransferInFeasibility -type CheckTransferInFeasibilityResponse struct { - *responses.BaseResponse - CanTransfer bool `json:"CanTransfer" xml:"CanTransfer"` - Message string `json:"Message" xml:"Message"` - RequestId string `json:"RequestId" xml:"RequestId"` - ProductId string `json:"ProductId" xml:"ProductId"` - Code string `json:"Code" xml:"Code"` -} - -// CreateCheckTransferInFeasibilityRequest creates a request to invoke CheckTransferInFeasibility API -func CreateCheckTransferInFeasibilityRequest() (request *CheckTransferInFeasibilityRequest) { - request = &CheckTransferInFeasibilityRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "CheckTransferInFeasibility", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCheckTransferInFeasibilityResponse creates a response to parse from CheckTransferInFeasibility response -func CreateCheckTransferInFeasibilityResponse() (response *CheckTransferInFeasibilityResponse) { - response = &CheckTransferInFeasibilityResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/confirm_transfer_in_email.go b/services/domain/confirm_transfer_in_email.go deleted file mode 100644 index 537ec4ff9..000000000 --- a/services/domain/confirm_transfer_in_email.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ConfirmTransferInEmail invokes the domain.ConfirmTransferInEmail API synchronously -func (client *Client) ConfirmTransferInEmail(request *ConfirmTransferInEmailRequest) (response *ConfirmTransferInEmailResponse, err error) { - response = CreateConfirmTransferInEmailResponse() - err = client.DoAction(request, response) - return -} - -// ConfirmTransferInEmailWithChan invokes the domain.ConfirmTransferInEmail API asynchronously -func (client *Client) ConfirmTransferInEmailWithChan(request *ConfirmTransferInEmailRequest) (<-chan *ConfirmTransferInEmailResponse, <-chan error) { - responseChan := make(chan *ConfirmTransferInEmailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ConfirmTransferInEmail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ConfirmTransferInEmailWithCallback invokes the domain.ConfirmTransferInEmail API asynchronously -func (client *Client) ConfirmTransferInEmailWithCallback(request *ConfirmTransferInEmailRequest, callback func(response *ConfirmTransferInEmailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ConfirmTransferInEmailResponse - var err error - defer close(result) - response, err = client.ConfirmTransferInEmail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ConfirmTransferInEmailRequest is the request struct for api ConfirmTransferInEmail -type ConfirmTransferInEmailRequest struct { - *requests.RpcRequest - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// ConfirmTransferInEmailResponse is the response struct for api ConfirmTransferInEmail -type ConfirmTransferInEmailResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SuccessList SuccessListInConfirmTransferInEmail `json:"SuccessList" xml:"SuccessList"` - FailList FailListInConfirmTransferInEmail `json:"FailList" xml:"FailList"` -} - -// CreateConfirmTransferInEmailRequest creates a request to invoke ConfirmTransferInEmail API -func CreateConfirmTransferInEmailRequest() (request *ConfirmTransferInEmailRequest) { - request = &ConfirmTransferInEmailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ConfirmTransferInEmail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateConfirmTransferInEmailResponse creates a response to parse from ConfirmTransferInEmail response -func CreateConfirmTransferInEmailResponse() (response *ConfirmTransferInEmailResponse) { - response = &ConfirmTransferInEmailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/create_order.go b/services/domain/create_order.go deleted file mode 100644 index 6db9e8f93..000000000 --- a/services/domain/create_order.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// CreateOrder invokes the domain.CreateOrder API synchronously -func (client *Client) CreateOrder(request *CreateOrderRequest) (response *CreateOrderResponse, err error) { - response = CreateCreateOrderResponse() - err = client.DoAction(request, response) - return -} - -// CreateOrderWithChan invokes the domain.CreateOrder API asynchronously -func (client *Client) CreateOrderWithChan(request *CreateOrderRequest) (<-chan *CreateOrderResponse, <-chan error) { - responseChan := make(chan *CreateOrderResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CreateOrder(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CreateOrderWithCallback invokes the domain.CreateOrder API asynchronously -func (client *Client) CreateOrderWithCallback(request *CreateOrderRequest, callback func(response *CreateOrderResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CreateOrderResponse - var err error - defer close(result) - response, err = client.CreateOrder(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CreateOrderRequest is the request struct for api CreateOrder -type CreateOrderRequest struct { - *requests.RpcRequest - SubOrderParam *[]CreateOrderSubOrderParam `position:"Query" name:"SubOrderParam" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// CreateOrderSubOrderParam is a repeated param struct in CreateOrderRequest -type CreateOrderSubOrderParam struct { - Period string `name:"Period"` - SaleID string `name:"SaleID"` - DomainTemplateID string `name:"DomainTemplateID"` - RelatedName string `name:"RelatedName"` - Action string `name:"Action"` -} - -// CreateOrderResponse is the response struct for api CreateOrder -type CreateOrderResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - OrderID string `json:"OrderID" xml:"OrderID"` -} - -// CreateCreateOrderRequest creates a request to invoke CreateOrder API -func CreateCreateOrderRequest() (request *CreateOrderRequest) { - request = &CreateOrderRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "CreateOrder", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateCreateOrderResponse creates a response to parse from CreateOrder response -func CreateCreateOrderResponse() (response *CreateOrderResponse) { - response = &CreateOrderResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/delete_contact_template.go b/services/domain/delete_contact_template.go deleted file mode 100644 index 74456d2aa..000000000 --- a/services/domain/delete_contact_template.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DeleteContactTemplate invokes the domain.DeleteContactTemplate API synchronously -func (client *Client) DeleteContactTemplate(request *DeleteContactTemplateRequest) (response *DeleteContactTemplateResponse, err error) { - response = CreateDeleteContactTemplateResponse() - err = client.DoAction(request, response) - return -} - -// DeleteContactTemplateWithChan invokes the domain.DeleteContactTemplate API asynchronously -func (client *Client) DeleteContactTemplateWithChan(request *DeleteContactTemplateRequest) (<-chan *DeleteContactTemplateResponse, <-chan error) { - responseChan := make(chan *DeleteContactTemplateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DeleteContactTemplate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DeleteContactTemplateWithCallback invokes the domain.DeleteContactTemplate API asynchronously -func (client *Client) DeleteContactTemplateWithCallback(request *DeleteContactTemplateRequest, callback func(response *DeleteContactTemplateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DeleteContactTemplateResponse - var err error - defer close(result) - response, err = client.DeleteContactTemplate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DeleteContactTemplateRequest is the request struct for api DeleteContactTemplate -type DeleteContactTemplateRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// DeleteContactTemplateResponse is the response struct for api DeleteContactTemplate -type DeleteContactTemplateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Success bool `json:"Success" xml:"Success"` -} - -// CreateDeleteContactTemplateRequest creates a request to invoke DeleteContactTemplate API -func CreateDeleteContactTemplateRequest() (request *DeleteContactTemplateRequest) { - request = &DeleteContactTemplateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "DeleteContactTemplate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDeleteContactTemplateResponse creates a response to parse from DeleteContactTemplate response -func CreateDeleteContactTemplateResponse() (response *DeleteContactTemplateResponse) { - response = &DeleteContactTemplateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/delete_contact_templates.go b/services/domain/delete_contact_templates.go deleted file mode 100644 index 0d6a6b106..000000000 --- a/services/domain/delete_contact_templates.go +++ /dev/null @@ -1,100 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DeleteContactTemplates invokes the domain.DeleteContactTemplates API synchronously -func (client *Client) DeleteContactTemplates(request *DeleteContactTemplatesRequest) (response *DeleteContactTemplatesResponse, err error) { - response = CreateDeleteContactTemplatesResponse() - err = client.DoAction(request, response) - return -} - -// DeleteContactTemplatesWithChan invokes the domain.DeleteContactTemplates API asynchronously -func (client *Client) DeleteContactTemplatesWithChan(request *DeleteContactTemplatesRequest) (<-chan *DeleteContactTemplatesResponse, <-chan error) { - responseChan := make(chan *DeleteContactTemplatesResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DeleteContactTemplates(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DeleteContactTemplatesWithCallback invokes the domain.DeleteContactTemplates API asynchronously -func (client *Client) DeleteContactTemplatesWithCallback(request *DeleteContactTemplatesRequest, callback func(response *DeleteContactTemplatesResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DeleteContactTemplatesResponse - var err error - defer close(result) - response, err = client.DeleteContactTemplates(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DeleteContactTemplatesRequest is the request struct for api DeleteContactTemplates -type DeleteContactTemplatesRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - RegistrantProfileIds string `position:"Query" name:"RegistrantProfileIds"` -} - -// DeleteContactTemplatesResponse is the response struct for api DeleteContactTemplates -type DeleteContactTemplatesResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateDeleteContactTemplatesRequest creates a request to invoke DeleteContactTemplates API -func CreateDeleteContactTemplatesRequest() (request *DeleteContactTemplatesRequest) { - request = &DeleteContactTemplatesRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "DeleteContactTemplates", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDeleteContactTemplatesResponse creates a response to parse from DeleteContactTemplates response -func CreateDeleteContactTemplatesResponse() (response *DeleteContactTemplatesResponse) { - response = &DeleteContactTemplatesResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/delete_domain_group.go b/services/domain/delete_domain_group.go deleted file mode 100644 index fa1271267..000000000 --- a/services/domain/delete_domain_group.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DeleteDomainGroup invokes the domain.DeleteDomainGroup API synchronously -func (client *Client) DeleteDomainGroup(request *DeleteDomainGroupRequest) (response *DeleteDomainGroupResponse, err error) { - response = CreateDeleteDomainGroupResponse() - err = client.DoAction(request, response) - return -} - -// DeleteDomainGroupWithChan invokes the domain.DeleteDomainGroup API asynchronously -func (client *Client) DeleteDomainGroupWithChan(request *DeleteDomainGroupRequest) (<-chan *DeleteDomainGroupResponse, <-chan error) { - responseChan := make(chan *DeleteDomainGroupResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DeleteDomainGroup(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DeleteDomainGroupWithCallback invokes the domain.DeleteDomainGroup API asynchronously -func (client *Client) DeleteDomainGroupWithCallback(request *DeleteDomainGroupRequest, callback func(response *DeleteDomainGroupResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DeleteDomainGroupResponse - var err error - defer close(result) - response, err = client.DeleteDomainGroup(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DeleteDomainGroupRequest is the request struct for api DeleteDomainGroup -type DeleteDomainGroupRequest struct { - *requests.RpcRequest - DomainGroupId requests.Integer `position:"Query" name:"DomainGroupId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// DeleteDomainGroupResponse is the response struct for api DeleteDomainGroup -type DeleteDomainGroupResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateDeleteDomainGroupRequest creates a request to invoke DeleteDomainGroup API -func CreateDeleteDomainGroupRequest() (request *DeleteDomainGroupRequest) { - request = &DeleteDomainGroupRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "DeleteDomainGroup", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDeleteDomainGroupResponse creates a response to parse from DeleteDomainGroup response -func CreateDeleteDomainGroupResponse() (response *DeleteDomainGroupResponse) { - response = &DeleteDomainGroupResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/delete_email_verification.go b/services/domain/delete_email_verification.go deleted file mode 100644 index 186372ae6..000000000 --- a/services/domain/delete_email_verification.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DeleteEmailVerification invokes the domain.DeleteEmailVerification API synchronously -func (client *Client) DeleteEmailVerification(request *DeleteEmailVerificationRequest) (response *DeleteEmailVerificationResponse, err error) { - response = CreateDeleteEmailVerificationResponse() - err = client.DoAction(request, response) - return -} - -// DeleteEmailVerificationWithChan invokes the domain.DeleteEmailVerification API asynchronously -func (client *Client) DeleteEmailVerificationWithChan(request *DeleteEmailVerificationRequest) (<-chan *DeleteEmailVerificationResponse, <-chan error) { - responseChan := make(chan *DeleteEmailVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DeleteEmailVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DeleteEmailVerificationWithCallback invokes the domain.DeleteEmailVerification API asynchronously -func (client *Client) DeleteEmailVerificationWithCallback(request *DeleteEmailVerificationRequest, callback func(response *DeleteEmailVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DeleteEmailVerificationResponse - var err error - defer close(result) - response, err = client.DeleteEmailVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DeleteEmailVerificationRequest is the request struct for api DeleteEmailVerification -type DeleteEmailVerificationRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// DeleteEmailVerificationResponse is the response struct for api DeleteEmailVerification -type DeleteEmailVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SuccessList []SendResult `json:"SuccessList" xml:"SuccessList"` - FailList []SendResult `json:"FailList" xml:"FailList"` -} - -// CreateDeleteEmailVerificationRequest creates a request to invoke DeleteEmailVerification API -func CreateDeleteEmailVerificationRequest() (request *DeleteEmailVerificationRequest) { - request = &DeleteEmailVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "DeleteEmailVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDeleteEmailVerificationResponse creates a response to parse from DeleteEmailVerification response -func CreateDeleteEmailVerificationResponse() (response *DeleteEmailVerificationResponse) { - response = &DeleteEmailVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/delete_registrant_profile.go b/services/domain/delete_registrant_profile.go deleted file mode 100644 index d12c11427..000000000 --- a/services/domain/delete_registrant_profile.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DeleteRegistrantProfile invokes the domain.DeleteRegistrantProfile API synchronously -func (client *Client) DeleteRegistrantProfile(request *DeleteRegistrantProfileRequest) (response *DeleteRegistrantProfileResponse, err error) { - response = CreateDeleteRegistrantProfileResponse() - err = client.DoAction(request, response) - return -} - -// DeleteRegistrantProfileWithChan invokes the domain.DeleteRegistrantProfile API asynchronously -func (client *Client) DeleteRegistrantProfileWithChan(request *DeleteRegistrantProfileRequest) (<-chan *DeleteRegistrantProfileResponse, <-chan error) { - responseChan := make(chan *DeleteRegistrantProfileResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DeleteRegistrantProfile(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DeleteRegistrantProfileWithCallback invokes the domain.DeleteRegistrantProfile API asynchronously -func (client *Client) DeleteRegistrantProfileWithCallback(request *DeleteRegistrantProfileRequest, callback func(response *DeleteRegistrantProfileResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DeleteRegistrantProfileResponse - var err error - defer close(result) - response, err = client.DeleteRegistrantProfile(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DeleteRegistrantProfileRequest is the request struct for api DeleteRegistrantProfile -type DeleteRegistrantProfileRequest struct { - *requests.RpcRequest - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// DeleteRegistrantProfileResponse is the response struct for api DeleteRegistrantProfile -type DeleteRegistrantProfileResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateDeleteRegistrantProfileRequest creates a request to invoke DeleteRegistrantProfile API -func CreateDeleteRegistrantProfileRequest() (request *DeleteRegistrantProfileRequest) { - request = &DeleteRegistrantProfileRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "DeleteRegistrantProfile", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDeleteRegistrantProfileResponse creates a response to parse from DeleteRegistrantProfile response -func CreateDeleteRegistrantProfileResponse() (response *DeleteRegistrantProfileResponse) { - response = &DeleteRegistrantProfileResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/domain_special_biz_cancel.go b/services/domain/domain_special_biz_cancel.go deleted file mode 100644 index e7438e628..000000000 --- a/services/domain/domain_special_biz_cancel.go +++ /dev/null @@ -1,99 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// DomainSpecialBizCancel invokes the domain.DomainSpecialBizCancel API synchronously -func (client *Client) DomainSpecialBizCancel(request *DomainSpecialBizCancelRequest) (response *DomainSpecialBizCancelResponse, err error) { - response = CreateDomainSpecialBizCancelResponse() - err = client.DoAction(request, response) - return -} - -// DomainSpecialBizCancelWithChan invokes the domain.DomainSpecialBizCancel API asynchronously -func (client *Client) DomainSpecialBizCancelWithChan(request *DomainSpecialBizCancelRequest) (<-chan *DomainSpecialBizCancelResponse, <-chan error) { - responseChan := make(chan *DomainSpecialBizCancelResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.DomainSpecialBizCancel(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// DomainSpecialBizCancelWithCallback invokes the domain.DomainSpecialBizCancel API asynchronously -func (client *Client) DomainSpecialBizCancelWithCallback(request *DomainSpecialBizCancelRequest, callback func(response *DomainSpecialBizCancelResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *DomainSpecialBizCancelResponse - var err error - defer close(result) - response, err = client.DomainSpecialBizCancel(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// DomainSpecialBizCancelRequest is the request struct for api DomainSpecialBizCancel -type DomainSpecialBizCancelRequest struct { - *requests.RpcRequest - BizId requests.Integer `position:"Body" name:"BizId"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// DomainSpecialBizCancelResponse is the response struct for api DomainSpecialBizCancel -type DomainSpecialBizCancelResponse struct { - *responses.BaseResponse -} - -// CreateDomainSpecialBizCancelRequest creates a request to invoke DomainSpecialBizCancel API -func CreateDomainSpecialBizCancelRequest() (request *DomainSpecialBizCancelRequest) { - request = &DomainSpecialBizCancelRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "DomainSpecialBizCancel", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateDomainSpecialBizCancelResponse creates a response to parse from DomainSpecialBizCancel response -func CreateDomainSpecialBizCancelResponse() (response *DomainSpecialBizCancelResponse) { - response = &DomainSpecialBizCancelResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/email_verified.go b/services/domain/email_verified.go deleted file mode 100644 index 1e424ea13..000000000 --- a/services/domain/email_verified.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// EmailVerified invokes the domain.EmailVerified API synchronously -func (client *Client) EmailVerified(request *EmailVerifiedRequest) (response *EmailVerifiedResponse, err error) { - response = CreateEmailVerifiedResponse() - err = client.DoAction(request, response) - return -} - -// EmailVerifiedWithChan invokes the domain.EmailVerified API asynchronously -func (client *Client) EmailVerifiedWithChan(request *EmailVerifiedRequest) (<-chan *EmailVerifiedResponse, <-chan error) { - responseChan := make(chan *EmailVerifiedResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.EmailVerified(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// EmailVerifiedWithCallback invokes the domain.EmailVerified API asynchronously -func (client *Client) EmailVerifiedWithCallback(request *EmailVerifiedRequest, callback func(response *EmailVerifiedResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *EmailVerifiedResponse - var err error - defer close(result) - response, err = client.EmailVerified(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// EmailVerifiedRequest is the request struct for api EmailVerified -type EmailVerifiedRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// EmailVerifiedResponse is the response struct for api EmailVerified -type EmailVerifiedResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateEmailVerifiedRequest creates a request to invoke EmailVerified API -func CreateEmailVerifiedRequest() (request *EmailVerifiedRequest) { - request = &EmailVerifiedRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "EmailVerified", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateEmailVerifiedResponse creates a response to parse from EmailVerified response -func CreateEmailVerifiedResponse() (response *EmailVerifiedResponse) { - response = &EmailVerifiedResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/fail_demand.go b/services/domain/fail_demand.go index faf89364e..d95aef23f 100644 --- a/services/domain/fail_demand.go +++ b/services/domain/fail_demand.go @@ -71,8 +71,8 @@ func (client *Client) FailDemandWithCallback(request *FailDemandRequest, callbac // FailDemandRequest is the request struct for api FailDemand type FailDemandRequest struct { *requests.RpcRequest - BizId string `position:"Query" name:"BizId"` Message string `position:"Query" name:"Message"` + BizId string `position:"Query" name:"BizId"` } // FailDemandResponse is the response struct for api FailDemand diff --git a/services/domain/finish_demand.go b/services/domain/finish_demand.go index 887f37f34..d2725c705 100644 --- a/services/domain/finish_demand.go +++ b/services/domain/finish_demand.go @@ -71,8 +71,8 @@ func (client *Client) FinishDemandWithCallback(request *FinishDemandRequest, cal // FinishDemandRequest is the request struct for api FinishDemand type FinishDemandRequest struct { *requests.RpcRequest - BizId string `position:"Query" name:"BizId"` Message string `position:"Query" name:"Message"` + BizId string `position:"Query" name:"BizId"` } // FinishDemandResponse is the response struct for api FinishDemand diff --git a/services/domain/fuzzy_match_domain_sensitive_word.go b/services/domain/fuzzy_match_domain_sensitive_word.go deleted file mode 100644 index 624734126..000000000 --- a/services/domain/fuzzy_match_domain_sensitive_word.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// FuzzyMatchDomainSensitiveWord invokes the domain.FuzzyMatchDomainSensitiveWord API synchronously -func (client *Client) FuzzyMatchDomainSensitiveWord(request *FuzzyMatchDomainSensitiveWordRequest) (response *FuzzyMatchDomainSensitiveWordResponse, err error) { - response = CreateFuzzyMatchDomainSensitiveWordResponse() - err = client.DoAction(request, response) - return -} - -// FuzzyMatchDomainSensitiveWordWithChan invokes the domain.FuzzyMatchDomainSensitiveWord API asynchronously -func (client *Client) FuzzyMatchDomainSensitiveWordWithChan(request *FuzzyMatchDomainSensitiveWordRequest) (<-chan *FuzzyMatchDomainSensitiveWordResponse, <-chan error) { - responseChan := make(chan *FuzzyMatchDomainSensitiveWordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.FuzzyMatchDomainSensitiveWord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// FuzzyMatchDomainSensitiveWordWithCallback invokes the domain.FuzzyMatchDomainSensitiveWord API asynchronously -func (client *Client) FuzzyMatchDomainSensitiveWordWithCallback(request *FuzzyMatchDomainSensitiveWordRequest, callback func(response *FuzzyMatchDomainSensitiveWordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *FuzzyMatchDomainSensitiveWordResponse - var err error - defer close(result) - response, err = client.FuzzyMatchDomainSensitiveWord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// FuzzyMatchDomainSensitiveWordRequest is the request struct for api FuzzyMatchDomainSensitiveWord -type FuzzyMatchDomainSensitiveWordRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Keyword string `position:"Query" name:"Keyword"` - Lang string `position:"Query" name:"Lang"` -} - -// FuzzyMatchDomainSensitiveWordResponse is the response struct for api FuzzyMatchDomainSensitiveWord -type FuzzyMatchDomainSensitiveWordResponse struct { - *responses.BaseResponse - Exist bool `json:"Exist" xml:"Exist"` - RequestId string `json:"RequestId" xml:"RequestId"` - Keyword string `json:"Keyword" xml:"Keyword"` - MatchedSentiveWords MatchedSentiveWordsInFuzzyMatchDomainSensitiveWord `json:"MatchedSentiveWords" xml:"MatchedSentiveWords"` -} - -// CreateFuzzyMatchDomainSensitiveWordRequest creates a request to invoke FuzzyMatchDomainSensitiveWord API -func CreateFuzzyMatchDomainSensitiveWordRequest() (request *FuzzyMatchDomainSensitiveWordRequest) { - request = &FuzzyMatchDomainSensitiveWordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "FuzzyMatchDomainSensitiveWord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateFuzzyMatchDomainSensitiveWordResponse creates a response to parse from FuzzyMatchDomainSensitiveWord response -func CreateFuzzyMatchDomainSensitiveWordResponse() (response *FuzzyMatchDomainSensitiveWordResponse) { - response = &FuzzyMatchDomainSensitiveWordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/get_operation_oss_upload_policy.go b/services/domain/get_operation_oss_upload_policy.go deleted file mode 100644 index 86a7f8822..000000000 --- a/services/domain/get_operation_oss_upload_policy.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// GetOperationOssUploadPolicy invokes the domain.GetOperationOssUploadPolicy API synchronously -func (client *Client) GetOperationOssUploadPolicy(request *GetOperationOssUploadPolicyRequest) (response *GetOperationOssUploadPolicyResponse, err error) { - response = CreateGetOperationOssUploadPolicyResponse() - err = client.DoAction(request, response) - return -} - -// GetOperationOssUploadPolicyWithChan invokes the domain.GetOperationOssUploadPolicy API asynchronously -func (client *Client) GetOperationOssUploadPolicyWithChan(request *GetOperationOssUploadPolicyRequest) (<-chan *GetOperationOssUploadPolicyResponse, <-chan error) { - responseChan := make(chan *GetOperationOssUploadPolicyResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.GetOperationOssUploadPolicy(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// GetOperationOssUploadPolicyWithCallback invokes the domain.GetOperationOssUploadPolicy API asynchronously -func (client *Client) GetOperationOssUploadPolicyWithCallback(request *GetOperationOssUploadPolicyRequest, callback func(response *GetOperationOssUploadPolicyResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *GetOperationOssUploadPolicyResponse - var err error - defer close(result) - response, err = client.GetOperationOssUploadPolicy(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// GetOperationOssUploadPolicyRequest is the request struct for api GetOperationOssUploadPolicy -type GetOperationOssUploadPolicyRequest struct { - *requests.RpcRequest - AuditType requests.Integer `position:"Query" name:"AuditType"` - Lang string `position:"Query" name:"Lang"` -} - -// GetOperationOssUploadPolicyResponse is the response struct for api GetOperationOssUploadPolicy -type GetOperationOssUploadPolicyResponse struct { - *responses.BaseResponse - FileDir string `json:"FileDir" xml:"FileDir"` - EncodedPolicy string `json:"EncodedPolicy" xml:"EncodedPolicy"` - RequestId string `json:"RequestId" xml:"RequestId"` - Accessid string `json:"Accessid" xml:"Accessid"` - Signature string `json:"Signature" xml:"Signature"` - Host string `json:"Host" xml:"Host"` - ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` -} - -// CreateGetOperationOssUploadPolicyRequest creates a request to invoke GetOperationOssUploadPolicy API -func CreateGetOperationOssUploadPolicyRequest() (request *GetOperationOssUploadPolicyRequest) { - request = &GetOperationOssUploadPolicyRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "GetOperationOssUploadPolicy", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateGetOperationOssUploadPolicyResponse creates a response to parse from GetOperationOssUploadPolicy response -func CreateGetOperationOssUploadPolicyResponse() (response *GetOperationOssUploadPolicyResponse) { - response = &GetOperationOssUploadPolicyResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/get_qualification_upload_policy.go b/services/domain/get_qualification_upload_policy.go deleted file mode 100644 index 3708f42d0..000000000 --- a/services/domain/get_qualification_upload_policy.go +++ /dev/null @@ -1,107 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// GetQualificationUploadPolicy invokes the domain.GetQualificationUploadPolicy API synchronously -func (client *Client) GetQualificationUploadPolicy(request *GetQualificationUploadPolicyRequest) (response *GetQualificationUploadPolicyResponse, err error) { - response = CreateGetQualificationUploadPolicyResponse() - err = client.DoAction(request, response) - return -} - -// GetQualificationUploadPolicyWithChan invokes the domain.GetQualificationUploadPolicy API asynchronously -func (client *Client) GetQualificationUploadPolicyWithChan(request *GetQualificationUploadPolicyRequest) (<-chan *GetQualificationUploadPolicyResponse, <-chan error) { - responseChan := make(chan *GetQualificationUploadPolicyResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.GetQualificationUploadPolicy(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// GetQualificationUploadPolicyWithCallback invokes the domain.GetQualificationUploadPolicy API asynchronously -func (client *Client) GetQualificationUploadPolicyWithCallback(request *GetQualificationUploadPolicyRequest, callback func(response *GetQualificationUploadPolicyResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *GetQualificationUploadPolicyResponse - var err error - defer close(result) - response, err = client.GetQualificationUploadPolicy(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// GetQualificationUploadPolicyRequest is the request struct for api GetQualificationUploadPolicy -type GetQualificationUploadPolicyRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// GetQualificationUploadPolicyResponse is the response struct for api GetQualificationUploadPolicy -type GetQualificationUploadPolicyResponse struct { - *responses.BaseResponse - Policy string `json:"Policy" xml:"Policy"` - Expire string `json:"Expire" xml:"Expire"` - RequestId string `json:"RequestId" xml:"RequestId"` - Accessid string `json:"Accessid" xml:"Accessid"` - Signature string `json:"Signature" xml:"Signature"` - Host string `json:"Host" xml:"Host"` - Prefix string `json:"Prefix" xml:"Prefix"` - Dir string `json:"Dir" xml:"Dir"` -} - -// CreateGetQualificationUploadPolicyRequest creates a request to invoke GetQualificationUploadPolicy API -func CreateGetQualificationUploadPolicyRequest() (request *GetQualificationUploadPolicyRequest) { - request = &GetQualificationUploadPolicyRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "GetQualificationUploadPolicy", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateGetQualificationUploadPolicyResponse creates a response to parse from GetQualificationUploadPolicy response -func CreateGetQualificationUploadPolicyResponse() (response *GetQualificationUploadPolicyResponse) { - response = &GetQualificationUploadPolicyResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/get_whois_info.go b/services/domain/get_whois_info.go deleted file mode 100644 index c4fc12d6d..000000000 --- a/services/domain/get_whois_info.go +++ /dev/null @@ -1,159 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// GetWhoisInfo invokes the domain.GetWhoisInfo API synchronously -func (client *Client) GetWhoisInfo(request *GetWhoisInfoRequest) (response *GetWhoisInfoResponse, err error) { - response = CreateGetWhoisInfoResponse() - err = client.DoAction(request, response) - return -} - -// GetWhoisInfoWithChan invokes the domain.GetWhoisInfo API asynchronously -func (client *Client) GetWhoisInfoWithChan(request *GetWhoisInfoRequest) (<-chan *GetWhoisInfoResponse, <-chan error) { - responseChan := make(chan *GetWhoisInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.GetWhoisInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// GetWhoisInfoWithCallback invokes the domain.GetWhoisInfo API asynchronously -func (client *Client) GetWhoisInfoWithCallback(request *GetWhoisInfoRequest, callback func(response *GetWhoisInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *GetWhoisInfoResponse - var err error - defer close(result) - response, err = client.GetWhoisInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// GetWhoisInfoRequest is the request struct for api GetWhoisInfo -type GetWhoisInfoRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` -} - -// GetWhoisInfoResponse is the response struct for api GetWhoisInfo -type GetWhoisInfoResponse struct { - *responses.BaseResponse - CreationDate string `json:"CreationDate" xml:"CreationDate"` - NameServerList string `json:"NameServerList" xml:"NameServerList"` - AdminPhone string `json:"AdminPhone" xml:"AdminPhone"` - UpdatedDate string `json:"UpdatedDate" xml:"UpdatedDate"` - RegistrantFaxExt string `json:"RegistrantFaxExt" xml:"RegistrantFaxExt"` - RegistrarAbuseContactPhone string `json:"RegistrarAbuseContactPhone" xml:"RegistrarAbuseContactPhone"` - OriginalInfo string `json:"OriginalInfo" xml:"OriginalInfo"` - RegistrantStreet string `json:"RegistrantStreet" xml:"RegistrantStreet"` - AdminCity string `json:"AdminCity" xml:"AdminCity"` - TechFax string `json:"TechFax" xml:"TechFax"` - AdminPostalCode string `json:"AdminPostalCode" xml:"AdminPostalCode"` - FormatUpdatedDate string `json:"FormatUpdatedDate" xml:"FormatUpdatedDate"` - CacheUpdatedDate string `json:"CacheUpdatedDate" xml:"CacheUpdatedDate"` - RegistrantStateProvince string `json:"RegistrantStateProvince" xml:"RegistrantStateProvince"` - RegistrantFax string `json:"RegistrantFax" xml:"RegistrantFax"` - RegistrantEmail string `json:"RegistrantEmail" xml:"RegistrantEmail"` - RegistrantOrganization string `json:"RegistrantOrganization" xml:"RegistrantOrganization"` - RegistryAdminID string `json:"RegistryAdminID" xml:"RegistryAdminID"` - ReferralURL string `json:"ReferralURL" xml:"ReferralURL"` - RequestId string `json:"RequestId" xml:"RequestId"` - DomainName string `json:"DomainName" xml:"DomainName"` - RegistrarURL string `json:"RegistrarURL" xml:"RegistrarURL"` - TechFaxExt string `json:"TechFaxExt" xml:"TechFaxExt"` - RegistrantCountry string `json:"RegistrantCountry" xml:"RegistrantCountry"` - RegistrantName string `json:"RegistrantName" xml:"RegistrantName"` - TechStreet string `json:"TechStreet" xml:"TechStreet"` - RegistryDomainID string `json:"RegistryDomainID" xml:"RegistryDomainID"` - TechPhone string `json:"TechPhone" xml:"TechPhone"` - AdminPhoneExt string `json:"AdminPhoneExt" xml:"AdminPhoneExt"` - AdminCountry string `json:"AdminCountry" xml:"AdminCountry"` - TechCity string `json:"TechCity" xml:"TechCity"` - RegistrantPhone string `json:"RegistrantPhone" xml:"RegistrantPhone"` - RegistrarAbuseContactEmail string `json:"RegistrarAbuseContactEmail" xml:"RegistrarAbuseContactEmail"` - AdminStateProvince string `json:"AdminStateProvince" xml:"AdminStateProvince"` - FormatCreationDate string `json:"FormatCreationDate" xml:"FormatCreationDate"` - TechCountry string `json:"TechCountry" xml:"TechCountry"` - StatusList string `json:"StatusList" xml:"StatusList"` - TechEmail string `json:"TechEmail" xml:"TechEmail"` - AdminEmail string `json:"AdminEmail" xml:"AdminEmail"` - RegistrarIANAID string `json:"RegistrarIANAID" xml:"RegistrarIANAID"` - Registrar string `json:"Registrar" xml:"Registrar"` - RegistryTechID string `json:"RegistryTechID" xml:"RegistryTechID"` - WhoisProtected string `json:"WhoisProtected" xml:"WhoisProtected"` - AdminOrganization string `json:"AdminOrganization" xml:"AdminOrganization"` - AdminName string `json:"AdminName" xml:"AdminName"` - TechName string `json:"TechName" xml:"TechName"` - TechPostalCode string `json:"TechPostalCode" xml:"TechPostalCode"` - RegistrantCity string `json:"RegistrantCity" xml:"RegistrantCity"` - TechPhoneExt string `json:"TechPhoneExt" xml:"TechPhoneExt"` - TechStateProvince string `json:"TechStateProvince" xml:"TechStateProvince"` - RegistrarWhoisServer string `json:"RegistrarWhoisServer" xml:"RegistrarWhoisServer"` - RegistrantPhoneExt string `json:"RegistrantPhoneExt" xml:"RegistrantPhoneExt"` - FormatExpirationDate string `json:"FormatExpirationDate" xml:"FormatExpirationDate"` - RegistrantPostalCode string `json:"RegistrantPostalCode" xml:"RegistrantPostalCode"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - TechOrganization string `json:"TechOrganization" xml:"TechOrganization"` - AdminStreet string `json:"AdminStreet" xml:"AdminStreet"` - AdminFax string `json:"AdminFax" xml:"AdminFax"` - AdminFaxExt string `json:"AdminFaxExt" xml:"AdminFaxExt"` - RegistryRegistrantId string `json:"RegistryRegistrantId" xml:"RegistryRegistrantId"` - DomainStatusList DomainStatusList `json:"DomainStatusList" xml:"DomainStatusList"` -} - -// CreateGetWhoisInfoRequest creates a request to invoke GetWhoisInfo API -func CreateGetWhoisInfoRequest() (request *GetWhoisInfoRequest) { - request = &GetWhoisInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "GetWhoisInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateGetWhoisInfoResponse creates a response to parse from GetWhoisInfo response -func CreateGetWhoisInfoResponse() (response *GetWhoisInfoResponse) { - response = &GetWhoisInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/list_email_verification.go b/services/domain/list_email_verification.go deleted file mode 100644 index 75a5562bd..000000000 --- a/services/domain/list_email_verification.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ListEmailVerification invokes the domain.ListEmailVerification API synchronously -func (client *Client) ListEmailVerification(request *ListEmailVerificationRequest) (response *ListEmailVerificationResponse, err error) { - response = CreateListEmailVerificationResponse() - err = client.DoAction(request, response) - return -} - -// ListEmailVerificationWithChan invokes the domain.ListEmailVerification API asynchronously -func (client *Client) ListEmailVerificationWithChan(request *ListEmailVerificationRequest) (<-chan *ListEmailVerificationResponse, <-chan error) { - responseChan := make(chan *ListEmailVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ListEmailVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ListEmailVerificationWithCallback invokes the domain.ListEmailVerification API asynchronously -func (client *Client) ListEmailVerificationWithCallback(request *ListEmailVerificationRequest, callback func(response *ListEmailVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ListEmailVerificationResponse - var err error - defer close(result) - response, err = client.ListEmailVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ListEmailVerificationRequest is the request struct for api ListEmailVerification -type ListEmailVerificationRequest struct { - *requests.RpcRequest - EndCreateTime requests.Integer `position:"Query" name:"EndCreateTime"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - VerificationStatus requests.Integer `position:"Query" name:"VerificationStatus"` - BeginCreateTime requests.Integer `position:"Query" name:"BeginCreateTime"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// ListEmailVerificationResponse is the response struct for api ListEmailVerification -type ListEmailVerificationResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data []EmailVerification `json:"Data" xml:"Data"` -} - -// CreateListEmailVerificationRequest creates a request to invoke ListEmailVerification API -func CreateListEmailVerificationRequest() (request *ListEmailVerificationRequest) { - request = &ListEmailVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ListEmailVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateListEmailVerificationResponse creates a response to parse from ListEmailVerification response -func CreateListEmailVerificationResponse() (response *ListEmailVerificationResponse) { - response = &ListEmailVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/list_server_lock.go b/services/domain/list_server_lock.go deleted file mode 100644 index aebd043f3..000000000 --- a/services/domain/list_server_lock.go +++ /dev/null @@ -1,118 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ListServerLock invokes the domain.ListServerLock API synchronously -func (client *Client) ListServerLock(request *ListServerLockRequest) (response *ListServerLockResponse, err error) { - response = CreateListServerLockResponse() - err = client.DoAction(request, response) - return -} - -// ListServerLockWithChan invokes the domain.ListServerLock API asynchronously -func (client *Client) ListServerLockWithChan(request *ListServerLockRequest) (<-chan *ListServerLockResponse, <-chan error) { - responseChan := make(chan *ListServerLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ListServerLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ListServerLockWithCallback invokes the domain.ListServerLock API asynchronously -func (client *Client) ListServerLockWithCallback(request *ListServerLockRequest, callback func(response *ListServerLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ListServerLockResponse - var err error - defer close(result) - response, err = client.ListServerLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ListServerLockRequest is the request struct for api ListServerLock -type ListServerLockRequest struct { - *requests.RpcRequest - LockProductId string `position:"Query" name:"LockProductId"` - EndExpireDate requests.Integer `position:"Query" name:"EndExpireDate"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - BeginStartDate requests.Integer `position:"Query" name:"BeginStartDate"` - OrderByType string `position:"Query" name:"OrderByType"` - ServerLockStatus requests.Integer `position:"Query" name:"ServerLockStatus"` - StartExpireDate requests.Integer `position:"Query" name:"StartExpireDate"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` - DomainName string `position:"Query" name:"DomainName"` - OrderBy string `position:"Query" name:"OrderBy"` - EndStartDate requests.Integer `position:"Query" name:"EndStartDate"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// ListServerLockResponse is the response struct for api ListServerLock -type ListServerLockResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data []QueryTransferInResponse `json:"Data" xml:"Data"` -} - -// CreateListServerLockRequest creates a request to invoke ListServerLock API -func CreateListServerLockRequest() (request *ListServerLockRequest) { - request = &ListServerLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ListServerLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateListServerLockResponse creates a response to parse from ListServerLock response -func CreateListServerLockResponse() (response *ListServerLockResponse) { - response = &ListServerLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/lookup_tmch_notice.go b/services/domain/lookup_tmch_notice.go deleted file mode 100644 index 1c8f973a9..000000000 --- a/services/domain/lookup_tmch_notice.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// LookupTmchNotice invokes the domain.LookupTmchNotice API synchronously -func (client *Client) LookupTmchNotice(request *LookupTmchNoticeRequest) (response *LookupTmchNoticeResponse, err error) { - response = CreateLookupTmchNoticeResponse() - err = client.DoAction(request, response) - return -} - -// LookupTmchNoticeWithChan invokes the domain.LookupTmchNotice API asynchronously -func (client *Client) LookupTmchNoticeWithChan(request *LookupTmchNoticeRequest) (<-chan *LookupTmchNoticeResponse, <-chan error) { - responseChan := make(chan *LookupTmchNoticeResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.LookupTmchNotice(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// LookupTmchNoticeWithCallback invokes the domain.LookupTmchNotice API asynchronously -func (client *Client) LookupTmchNoticeWithCallback(request *LookupTmchNoticeRequest, callback func(response *LookupTmchNoticeResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *LookupTmchNoticeResponse - var err error - defer close(result) - response, err = client.LookupTmchNotice(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// LookupTmchNoticeRequest is the request struct for api LookupTmchNotice -type LookupTmchNoticeRequest struct { - *requests.RpcRequest - ClaimKey string `position:"Query" name:"ClaimKey"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// LookupTmchNoticeResponse is the response struct for api LookupTmchNotice -type LookupTmchNoticeResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Label string `json:"Label" xml:"Label"` - Id int64 `json:"Id" xml:"Id"` - NotBefore string `json:"NotBefore" xml:"NotBefore"` - NotAfter string `json:"NotAfter" xml:"NotAfter"` - Claims Claims `json:"Claims" xml:"Claims"` -} - -// CreateLookupTmchNoticeRequest creates a request to invoke LookupTmchNotice API -func CreateLookupTmchNoticeRequest() (request *LookupTmchNoticeRequest) { - request = &LookupTmchNoticeRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "LookupTmchNotice", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateLookupTmchNoticeResponse creates a response to parse from LookupTmchNotice response -func CreateLookupTmchNoticeResponse() (response *LookupTmchNoticeResponse) { - response = &LookupTmchNoticeResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/o_suborder_domain.go b/services/domain/o_suborder_domain.go deleted file mode 100644 index a27fa6e4a..000000000 --- a/services/domain/o_suborder_domain.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// OSuborderDomain invokes the domain.OSuborderDomain API synchronously -func (client *Client) OSuborderDomain(request *OSuborderDomainRequest) (response *OSuborderDomainResponse, err error) { - response = CreateOSuborderDomainResponse() - err = client.DoAction(request, response) - return -} - -// OSuborderDomainWithChan invokes the domain.OSuborderDomain API asynchronously -func (client *Client) OSuborderDomainWithChan(request *OSuborderDomainRequest) (<-chan *OSuborderDomainResponse, <-chan error) { - responseChan := make(chan *OSuborderDomainResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.OSuborderDomain(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// OSuborderDomainWithCallback invokes the domain.OSuborderDomain API asynchronously -func (client *Client) OSuborderDomainWithCallback(request *OSuborderDomainRequest, callback func(response *OSuborderDomainResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *OSuborderDomainResponse - var err error - defer close(result) - response, err = client.OSuborderDomain(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// OSuborderDomainRequest is the request struct for api OSuborderDomain -type OSuborderDomainRequest struct { - *requests.RpcRequest - Type string `position:"Query" name:"type"` - StartDate string `position:"Query" name:"startDate"` - PageNum requests.Integer `position:"Query" name:"pageNum"` - EndDate string `position:"Query" name:"endDate"` - PageSize requests.Integer `position:"Query" name:"pageSize"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// OSuborderDomainResponse is the response struct for api OSuborderDomain -type OSuborderDomainResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TotalItemNum int `json:"totalItemNum" xml:"totalItemNum"` - PageSize int `json:"pageSize" xml:"pageSize"` - CurrentPageNum int `json:"currentPageNum" xml:"currentPageNum"` - Data DataInOSuborderDomain `json:"data" xml:"data"` -} - -// CreateOSuborderDomainRequest creates a request to invoke OSuborderDomain API -func CreateOSuborderDomainRequest() (request *OSuborderDomainRequest) { - request = &OSuborderDomainRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "OSuborderDomain", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateOSuborderDomainResponse creates a response to parse from OSuborderDomain response -func CreateOSuborderDomainResponse() (response *OSuborderDomainResponse) { - response = &OSuborderDomainResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/poll_task_result.go b/services/domain/poll_task_result.go deleted file mode 100644 index b5e46e343..000000000 --- a/services/domain/poll_task_result.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// PollTaskResult invokes the domain.PollTaskResult API synchronously -func (client *Client) PollTaskResult(request *PollTaskResultRequest) (response *PollTaskResultResponse, err error) { - response = CreatePollTaskResultResponse() - err = client.DoAction(request, response) - return -} - -// PollTaskResultWithChan invokes the domain.PollTaskResult API asynchronously -func (client *Client) PollTaskResultWithChan(request *PollTaskResultRequest) (<-chan *PollTaskResultResponse, <-chan error) { - responseChan := make(chan *PollTaskResultResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.PollTaskResult(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// PollTaskResultWithCallback invokes the domain.PollTaskResult API asynchronously -func (client *Client) PollTaskResultWithCallback(request *PollTaskResultRequest, callback func(response *PollTaskResultResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *PollTaskResultResponse - var err error - defer close(result) - response, err = client.PollTaskResult(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// PollTaskResultRequest is the request struct for api PollTaskResult -type PollTaskResultRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - TaskResultStatus requests.Integer `position:"Query" name:"TaskResultStatus"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - TaskNo string `position:"Query" name:"TaskNo"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// PollTaskResultResponse is the response struct for api PollTaskResult -type PollTaskResultResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInPollTaskResult `json:"Data" xml:"Data"` -} - -// CreatePollTaskResultRequest creates a request to invoke PollTaskResult API -func CreatePollTaskResultRequest() (request *PollTaskResultRequest) { - request = &PollTaskResultRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "PollTaskResult", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreatePollTaskResultResponse creates a response to parse from PollTaskResult response -func CreatePollTaskResultResponse() (response *PollTaskResultResponse) { - response = &PollTaskResultResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_advanced_domain_list.go b/services/domain/query_advanced_domain_list.go deleted file mode 100644 index c5e2aa6de..000000000 --- a/services/domain/query_advanced_domain_list.go +++ /dev/null @@ -1,139 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryAdvancedDomainList invokes the domain.QueryAdvancedDomainList API synchronously -func (client *Client) QueryAdvancedDomainList(request *QueryAdvancedDomainListRequest) (response *QueryAdvancedDomainListResponse, err error) { - response = CreateQueryAdvancedDomainListResponse() - err = client.DoAction(request, response) - return -} - -// QueryAdvancedDomainListWithChan invokes the domain.QueryAdvancedDomainList API asynchronously -func (client *Client) QueryAdvancedDomainListWithChan(request *QueryAdvancedDomainListRequest) (<-chan *QueryAdvancedDomainListResponse, <-chan error) { - responseChan := make(chan *QueryAdvancedDomainListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryAdvancedDomainList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryAdvancedDomainListWithCallback invokes the domain.QueryAdvancedDomainList API asynchronously -func (client *Client) QueryAdvancedDomainListWithCallback(request *QueryAdvancedDomainListRequest, callback func(response *QueryAdvancedDomainListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryAdvancedDomainListResponse - var err error - defer close(result) - response, err = client.QueryAdvancedDomainList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryAdvancedDomainListRequest is the request struct for api QueryAdvancedDomainList -type QueryAdvancedDomainListRequest struct { - *requests.RpcRequest - ProductDomainType string `position:"Query" name:"ProductDomainType"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - Excluded string `position:"Query" name:"Excluded"` - StartLength requests.Integer `position:"Query" name:"StartLength"` - ResourceGroupId string `position:"Query" name:"ResourceGroupId"` - ExcludedSuffix requests.Boolean `position:"Query" name:"ExcludedSuffix"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Tag *[]QueryAdvancedDomainListTag `position:"Query" name:"Tag" type:"Repeated"` - Lang string `position:"Query" name:"Lang"` - ExcludedPrefix requests.Boolean `position:"Query" name:"ExcludedPrefix"` - KeyWord string `position:"Query" name:"KeyWord"` - ProductDomainTypeSort requests.Boolean `position:"Query" name:"ProductDomainTypeSort"` - EndExpirationDate requests.Integer `position:"Query" name:"EndExpirationDate"` - Suffixs string `position:"Query" name:"Suffixs"` - DomainNameSort requests.Boolean `position:"Query" name:"DomainNameSort"` - ExpirationDateSort requests.Boolean `position:"Query" name:"ExpirationDateSort"` - StartExpirationDate requests.Integer `position:"Query" name:"StartExpirationDate"` - DomainStatus requests.Integer `position:"Query" name:"DomainStatus"` - DomainGroupId requests.Integer `position:"Query" name:"DomainGroupId"` - KeyWordSuffix requests.Boolean `position:"Query" name:"KeyWordSuffix"` - KeyWordPrefix requests.Boolean `position:"Query" name:"KeyWordPrefix"` - TradeType requests.Integer `position:"Query" name:"TradeType"` - EndRegistrationDate requests.Integer `position:"Query" name:"EndRegistrationDate"` - Form requests.Integer `position:"Query" name:"Form"` - UserClientIp string `position:"Query" name:"UserClientIp"` - RegistrationDateSort requests.Boolean `position:"Query" name:"RegistrationDateSort"` - StartRegistrationDate requests.Integer `position:"Query" name:"StartRegistrationDate"` - EndLength requests.Integer `position:"Query" name:"EndLength"` -} - -// QueryAdvancedDomainListTag is a repeated param struct in QueryAdvancedDomainListRequest -type QueryAdvancedDomainListTag struct { - Value string `name:"Value"` - Key string `name:"Key"` -} - -// QueryAdvancedDomainListResponse is the response struct for api QueryAdvancedDomainList -type QueryAdvancedDomainListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryAdvancedDomainList `json:"Data" xml:"Data"` -} - -// CreateQueryAdvancedDomainListRequest creates a request to invoke QueryAdvancedDomainList API -func CreateQueryAdvancedDomainListRequest() (request *QueryAdvancedDomainListRequest) { - request = &QueryAdvancedDomainListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryAdvancedDomainList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryAdvancedDomainListResponse creates a response to parse from QueryAdvancedDomainList response -func CreateQueryAdvancedDomainListResponse() (response *QueryAdvancedDomainListResponse) { - response = &QueryAdvancedDomainListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_art_extension.go b/services/domain/query_art_extension.go deleted file mode 100644 index e74d6a434..000000000 --- a/services/domain/query_art_extension.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryArtExtension invokes the domain.QueryArtExtension API synchronously -func (client *Client) QueryArtExtension(request *QueryArtExtensionRequest) (response *QueryArtExtensionResponse, err error) { - response = CreateQueryArtExtensionResponse() - err = client.DoAction(request, response) - return -} - -// QueryArtExtensionWithChan invokes the domain.QueryArtExtension API asynchronously -func (client *Client) QueryArtExtensionWithChan(request *QueryArtExtensionRequest) (<-chan *QueryArtExtensionResponse, <-chan error) { - responseChan := make(chan *QueryArtExtensionResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryArtExtension(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryArtExtensionWithCallback invokes the domain.QueryArtExtension API asynchronously -func (client *Client) QueryArtExtensionWithCallback(request *QueryArtExtensionRequest, callback func(response *QueryArtExtensionResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryArtExtensionResponse - var err error - defer close(result) - response, err = client.QueryArtExtension(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryArtExtensionRequest is the request struct for api QueryArtExtension -type QueryArtExtensionRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryArtExtensionResponse is the response struct for api QueryArtExtension -type QueryArtExtensionResponse struct { - *responses.BaseResponse - ObjectType string `json:"ObjectType" xml:"ObjectType"` - MaterialsAndTechniques string `json:"MaterialsAndTechniques" xml:"MaterialsAndTechniques"` - InscriptionsAndMarkings string `json:"InscriptionsAndMarkings" xml:"InscriptionsAndMarkings"` - RequestId string `json:"RequestId" xml:"RequestId"` - Reference string `json:"Reference" xml:"Reference"` - DateOrPeriod string `json:"DateOrPeriod" xml:"DateOrPeriod"` - Dimensions string `json:"Dimensions" xml:"Dimensions"` - Title string `json:"Title" xml:"Title"` - Features string `json:"Features" xml:"Features"` - Subject string `json:"Subject" xml:"Subject"` - Maker string `json:"Maker" xml:"Maker"` -} - -// CreateQueryArtExtensionRequest creates a request to invoke QueryArtExtension API -func CreateQueryArtExtensionRequest() (request *QueryArtExtensionRequest) { - request = &QueryArtExtensionRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryArtExtension", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryArtExtensionResponse creates a response to parse from QueryArtExtension response -func CreateQueryArtExtensionResponse() (response *QueryArtExtensionResponse) { - response = &QueryArtExtensionResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_auctions.go b/services/domain/query_auctions.go index 397286e12..b9395ce28 100644 --- a/services/domain/query_auctions.go +++ b/services/domain/query_auctions.go @@ -71,8 +71,8 @@ func (client *Client) QueryAuctionsWithCallback(request *QueryAuctionsRequest, c // QueryAuctionsRequest is the request struct for api QueryAuctions type QueryAuctionsRequest struct { *requests.RpcRequest - PageSize requests.Integer `position:"Body" name:"PageSize"` CurrentPage requests.Integer `position:"Body" name:"CurrentPage"` + PageSize requests.Integer `position:"Body" name:"PageSize"` Status string `position:"Body" name:"Status"` } diff --git a/services/domain/query_batch_task_detail_list.go b/services/domain/query_batch_task_detail_list.go deleted file mode 100644 index b74a49ec2..000000000 --- a/services/domain/query_batch_task_detail_list.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryBatchTaskDetailList invokes the domain.QueryBatchTaskDetailList API synchronously -func (client *Client) QueryBatchTaskDetailList(request *QueryBatchTaskDetailListRequest) (response *QueryBatchTaskDetailListResponse, err error) { - response = CreateQueryBatchTaskDetailListResponse() - err = client.DoAction(request, response) - return -} - -// QueryBatchTaskDetailListWithChan invokes the domain.QueryBatchTaskDetailList API asynchronously -func (client *Client) QueryBatchTaskDetailListWithChan(request *QueryBatchTaskDetailListRequest) (<-chan *QueryBatchTaskDetailListResponse, <-chan error) { - responseChan := make(chan *QueryBatchTaskDetailListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryBatchTaskDetailList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryBatchTaskDetailListWithCallback invokes the domain.QueryBatchTaskDetailList API asynchronously -func (client *Client) QueryBatchTaskDetailListWithCallback(request *QueryBatchTaskDetailListRequest, callback func(response *QueryBatchTaskDetailListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryBatchTaskDetailListResponse - var err error - defer close(result) - response, err = client.QueryBatchTaskDetailList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryBatchTaskDetailListRequest is the request struct for api QueryBatchTaskDetailList -type QueryBatchTaskDetailListRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - TaskStatus requests.Integer `position:"Query" name:"TaskStatus"` - UserClientIp string `position:"Query" name:"UserClientIp"` - TaskNo string `position:"Query" name:"TaskNo"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryBatchTaskDetailListResponse is the response struct for api QueryBatchTaskDetailList -type QueryBatchTaskDetailListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryBatchTaskDetailList `json:"Data" xml:"Data"` -} - -// CreateQueryBatchTaskDetailListRequest creates a request to invoke QueryBatchTaskDetailList API -func CreateQueryBatchTaskDetailListRequest() (request *QueryBatchTaskDetailListRequest) { - request = &QueryBatchTaskDetailListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryBatchTaskDetailList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryBatchTaskDetailListResponse creates a response to parse from QueryBatchTaskDetailList response -func CreateQueryBatchTaskDetailListResponse() (response *QueryBatchTaskDetailListResponse) { - response = &QueryBatchTaskDetailListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_batch_task_list.go b/services/domain/query_batch_task_list.go deleted file mode 100644 index 62b55aae2..000000000 --- a/services/domain/query_batch_task_list.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryBatchTaskList invokes the domain.QueryBatchTaskList API synchronously -func (client *Client) QueryBatchTaskList(request *QueryBatchTaskListRequest) (response *QueryBatchTaskListResponse, err error) { - response = CreateQueryBatchTaskListResponse() - err = client.DoAction(request, response) - return -} - -// QueryBatchTaskListWithChan invokes the domain.QueryBatchTaskList API asynchronously -func (client *Client) QueryBatchTaskListWithChan(request *QueryBatchTaskListRequest) (<-chan *QueryBatchTaskListResponse, <-chan error) { - responseChan := make(chan *QueryBatchTaskListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryBatchTaskList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryBatchTaskListWithCallback invokes the domain.QueryBatchTaskList API asynchronously -func (client *Client) QueryBatchTaskListWithCallback(request *QueryBatchTaskListRequest, callback func(response *QueryBatchTaskListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryBatchTaskListResponse - var err error - defer close(result) - response, err = client.QueryBatchTaskList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryBatchTaskListRequest is the request struct for api QueryBatchTaskList -type QueryBatchTaskListRequest struct { - *requests.RpcRequest - EndCreateTime string `position:"Query" name:"EndCreateTime"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - BeginCreateTime string `position:"Query" name:"BeginCreateTime"` - UserClientIp string `position:"Query" name:"UserClientIp"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryBatchTaskListResponse is the response struct for api QueryBatchTaskList -type QueryBatchTaskListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryBatchTaskList `json:"Data" xml:"Data"` -} - -// CreateQueryBatchTaskListRequest creates a request to invoke QueryBatchTaskList API -func CreateQueryBatchTaskListRequest() (request *QueryBatchTaskListRequest) { - request = &QueryBatchTaskListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryBatchTaskList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryBatchTaskListResponse creates a response to parse from QueryBatchTaskList response -func CreateQueryBatchTaskListResponse() (response *QueryBatchTaskListResponse) { - response = &QueryBatchTaskListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_bid_records.go b/services/domain/query_bid_records.go index 9189156f2..73f3e2469 100644 --- a/services/domain/query_bid_records.go +++ b/services/domain/query_bid_records.go @@ -71,9 +71,9 @@ func (client *Client) QueryBidRecordsWithCallback(request *QueryBidRecordsReques // QueryBidRecordsRequest is the request struct for api QueryBidRecords type QueryBidRecordsRequest struct { *requests.RpcRequest + CurrentPage requests.Integer `position:"Body" name:"CurrentPage"` AuctionId string `position:"Body" name:"AuctionId"` PageSize requests.Integer `position:"Body" name:"PageSize"` - CurrentPage requests.Integer `position:"Body" name:"CurrentPage"` } // QueryBidRecordsResponse is the response struct for api QueryBidRecords diff --git a/services/domain/query_booking_domain_info.go b/services/domain/query_booking_domain_info.go index f32d8b2a8..38a93e721 100644 --- a/services/domain/query_booking_domain_info.go +++ b/services/domain/query_booking_domain_info.go @@ -84,6 +84,7 @@ type QueryBookingDomainInfoResponse struct { AuctionId int `json:"AuctionId" xml:"AuctionId"` Currency string `json:"Currency" xml:"Currency"` PartnerType string `json:"PartnerType" xml:"PartnerType"` + SnatchNo string `json:"SnatchNo" xml:"SnatchNo"` } // CreateQueryBookingDomainInfoRequest creates a request to invoke QueryBookingDomainInfo API diff --git a/services/domain/query_broker_demand.go b/services/domain/query_broker_demand.go index 0181bdb11..f96d9fcc0 100644 --- a/services/domain/query_broker_demand.go +++ b/services/domain/query_broker_demand.go @@ -71,9 +71,9 @@ func (client *Client) QueryBrokerDemandWithCallback(request *QueryBrokerDemandRe // QueryBrokerDemandRequest is the request struct for api QueryBrokerDemand type QueryBrokerDemandRequest struct { *requests.RpcRequest + CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` PageSize requests.Integer `position:"Query" name:"PageSize"` BizId string `position:"Query" name:"BizId"` - CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` Status string `position:"Query" name:"Status"` } diff --git a/services/domain/query_broker_demand_record.go b/services/domain/query_broker_demand_record.go index 980257fd5..67b1d529d 100644 --- a/services/domain/query_broker_demand_record.go +++ b/services/domain/query_broker_demand_record.go @@ -71,9 +71,9 @@ func (client *Client) QueryBrokerDemandRecordWithCallback(request *QueryBrokerDe // QueryBrokerDemandRecordRequest is the request struct for api QueryBrokerDemandRecord type QueryBrokerDemandRecordRequest struct { *requests.RpcRequest + CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` PageSize requests.Integer `position:"Query" name:"PageSize"` BizId string `position:"Query" name:"BizId"` - CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` } // QueryBrokerDemandRecordResponse is the response struct for api QueryBrokerDemandRecord diff --git a/services/domain/query_change_log_list.go b/services/domain/query_change_log_list.go deleted file mode 100644 index 52a4b8bb5..000000000 --- a/services/domain/query_change_log_list.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryChangeLogList invokes the domain.QueryChangeLogList API synchronously -func (client *Client) QueryChangeLogList(request *QueryChangeLogListRequest) (response *QueryChangeLogListResponse, err error) { - response = CreateQueryChangeLogListResponse() - err = client.DoAction(request, response) - return -} - -// QueryChangeLogListWithChan invokes the domain.QueryChangeLogList API asynchronously -func (client *Client) QueryChangeLogListWithChan(request *QueryChangeLogListRequest) (<-chan *QueryChangeLogListResponse, <-chan error) { - responseChan := make(chan *QueryChangeLogListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryChangeLogList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryChangeLogListWithCallback invokes the domain.QueryChangeLogList API asynchronously -func (client *Client) QueryChangeLogListWithCallback(request *QueryChangeLogListRequest, callback func(response *QueryChangeLogListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryChangeLogListResponse - var err error - defer close(result) - response, err = client.QueryChangeLogList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryChangeLogListRequest is the request struct for api QueryChangeLogList -type QueryChangeLogListRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - StartDate requests.Integer `position:"Query" name:"StartDate"` - EndDate requests.Integer `position:"Query" name:"EndDate"` - UserClientIp string `position:"Query" name:"UserClientIp"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryChangeLogListResponse is the response struct for api QueryChangeLogList -type QueryChangeLogListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - ResultLimit bool `json:"ResultLimit" xml:"ResultLimit"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryChangeLogList `json:"Data" xml:"Data"` -} - -// CreateQueryChangeLogListRequest creates a request to invoke QueryChangeLogList API -func CreateQueryChangeLogListRequest() (request *QueryChangeLogListRequest) { - request = &QueryChangeLogListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryChangeLogList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryChangeLogListResponse creates a response to parse from QueryChangeLogList response -func CreateQueryChangeLogListResponse() (response *QueryChangeLogListResponse) { - response = &QueryChangeLogListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_contact.go b/services/domain/query_contact.go deleted file mode 100644 index 27b9dd2f0..000000000 --- a/services/domain/query_contact.go +++ /dev/null @@ -1,121 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryContact invokes the domain.QueryContact API synchronously -func (client *Client) QueryContact(request *QueryContactRequest) (response *QueryContactResponse, err error) { - response = CreateQueryContactResponse() - err = client.DoAction(request, response) - return -} - -// QueryContactWithChan invokes the domain.QueryContact API asynchronously -func (client *Client) QueryContactWithChan(request *QueryContactRequest) (<-chan *QueryContactResponse, <-chan error) { - responseChan := make(chan *QueryContactResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryContact(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryContactWithCallback invokes the domain.QueryContact API asynchronously -func (client *Client) QueryContactWithCallback(request *QueryContactRequest, callback func(response *QueryContactResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryContactResponse - var err error - defer close(result) - response, err = client.QueryContact(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryContactRequest is the request struct for api QueryContact -type QueryContactRequest struct { - *requests.RpcRequest - ContactType string `position:"Query" name:"ContactType"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryContactResponse is the response struct for api QueryContact -type QueryContactResponse struct { - *responses.BaseResponse - CVenu string `json:"CVenu" xml:"CVenu"` - EName string `json:"EName" xml:"EName"` - Email string `json:"Email" xml:"Email"` - RequestId string `json:"RequestId" xml:"RequestId"` - RegType string `json:"RegType" xml:"RegType"` - EProvince string `json:"EProvince" xml:"EProvince"` - ECompany string `json:"ECompany" xml:"ECompany"` - PostalCode string `json:"PostalCode" xml:"PostalCode"` - CCountry string `json:"CCountry" xml:"CCountry"` - CreateDate string `json:"CreateDate" xml:"CreateDate"` - EVenu string `json:"EVenu" xml:"EVenu"` - TelMain string `json:"TelMain" xml:"TelMain"` - UpdateDate string `json:"UpdateDate" xml:"UpdateDate"` - CCompany string `json:"CCompany" xml:"CCompany"` - CProvince string `json:"CProvince" xml:"CProvince"` - CName string `json:"CName" xml:"CName"` - ECity string `json:"ECity" xml:"ECity"` - CCity string `json:"CCity" xml:"CCity"` - TelExt string `json:"TelExt" xml:"TelExt"` - TelArea string `json:"TelArea" xml:"TelArea"` -} - -// CreateQueryContactRequest creates a request to invoke QueryContact API -func CreateQueryContactRequest() (request *QueryContactRequest) { - request = &QueryContactRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryContact", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryContactResponse creates a response to parse from QueryContact response -func CreateQueryContactResponse() (response *QueryContactResponse) { - response = &QueryContactResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_contact_info.go b/services/domain/query_contact_info.go deleted file mode 100644 index d60ad0a66..000000000 --- a/services/domain/query_contact_info.go +++ /dev/null @@ -1,119 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryContactInfo invokes the domain.QueryContactInfo API synchronously -func (client *Client) QueryContactInfo(request *QueryContactInfoRequest) (response *QueryContactInfoResponse, err error) { - response = CreateQueryContactInfoResponse() - err = client.DoAction(request, response) - return -} - -// QueryContactInfoWithChan invokes the domain.QueryContactInfo API asynchronously -func (client *Client) QueryContactInfoWithChan(request *QueryContactInfoRequest) (<-chan *QueryContactInfoResponse, <-chan error) { - responseChan := make(chan *QueryContactInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryContactInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryContactInfoWithCallback invokes the domain.QueryContactInfo API asynchronously -func (client *Client) QueryContactInfoWithCallback(request *QueryContactInfoRequest, callback func(response *QueryContactInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryContactInfoResponse - var err error - defer close(result) - response, err = client.QueryContactInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryContactInfoRequest is the request struct for api QueryContactInfo -type QueryContactInfoRequest struct { - *requests.RpcRequest - ContactType string `position:"Query" name:"ContactType"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryContactInfoResponse is the response struct for api QueryContactInfo -type QueryContactInfoResponse struct { - *responses.BaseResponse - ZhProvince string `json:"ZhProvince" xml:"ZhProvince"` - Email string `json:"Email" xml:"Email"` - Telephone string `json:"Telephone" xml:"Telephone"` - RequestId string `json:"RequestId" xml:"RequestId"` - Address string `json:"Address" xml:"Address"` - PostalCode string `json:"PostalCode" xml:"PostalCode"` - ZhRegistrantName string `json:"ZhRegistrantName" xml:"ZhRegistrantName"` - City string `json:"City" xml:"City"` - CreateDate string `json:"CreateDate" xml:"CreateDate"` - Province string `json:"Province" xml:"Province"` - ZhCity string `json:"ZhCity" xml:"ZhCity"` - RegistrantName string `json:"RegistrantName" xml:"RegistrantName"` - ZhRegistrantOrganization string `json:"ZhRegistrantOrganization" xml:"ZhRegistrantOrganization"` - Country string `json:"Country" xml:"Country"` - RegistrantOrganization string `json:"RegistrantOrganization" xml:"RegistrantOrganization"` - TelExt string `json:"TelExt" xml:"TelExt"` - TelArea string `json:"TelArea" xml:"TelArea"` - ZhAddress string `json:"ZhAddress" xml:"ZhAddress"` -} - -// CreateQueryContactInfoRequest creates a request to invoke QueryContactInfo API -func CreateQueryContactInfoRequest() (request *QueryContactInfoRequest) { - request = &QueryContactInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryContactInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryContactInfoResponse creates a response to parse from QueryContactInfo response -func CreateQueryContactInfoResponse() (response *QueryContactInfoResponse) { - response = &QueryContactInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_contact_template.go b/services/domain/query_contact_template.go deleted file mode 100644 index d2a00e235..000000000 --- a/services/domain/query_contact_template.go +++ /dev/null @@ -1,115 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryContactTemplate invokes the domain.QueryContactTemplate API synchronously -func (client *Client) QueryContactTemplate(request *QueryContactTemplateRequest) (response *QueryContactTemplateResponse, err error) { - response = CreateQueryContactTemplateResponse() - err = client.DoAction(request, response) - return -} - -// QueryContactTemplateWithChan invokes the domain.QueryContactTemplate API asynchronously -func (client *Client) QueryContactTemplateWithChan(request *QueryContactTemplateRequest) (<-chan *QueryContactTemplateResponse, <-chan error) { - responseChan := make(chan *QueryContactTemplateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryContactTemplate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryContactTemplateWithCallback invokes the domain.QueryContactTemplate API asynchronously -func (client *Client) QueryContactTemplateWithCallback(request *QueryContactTemplateRequest, callback func(response *QueryContactTemplateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryContactTemplateResponse - var err error - defer close(result) - response, err = client.QueryContactTemplate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryContactTemplateRequest is the request struct for api QueryContactTemplate -type QueryContactTemplateRequest struct { - *requests.RpcRequest - CCompany string `position:"Query" name:"CCompany"` - DefaultTemplate requests.Boolean `position:"Query" name:"DefaultTemplate"` - ECompany string `position:"Query" name:"ECompany"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - RegType string `position:"Query" name:"RegType"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` - AuditStatus string `position:"Query" name:"AuditStatus"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// QueryContactTemplateResponse is the response struct for api QueryContactTemplate -type QueryContactTemplateResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - ContactTemplates ContactTemplates `json:"ContactTemplates" xml:"ContactTemplates"` -} - -// CreateQueryContactTemplateRequest creates a request to invoke QueryContactTemplate API -func CreateQueryContactTemplateRequest() (request *QueryContactTemplateRequest) { - request = &QueryContactTemplateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryContactTemplate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryContactTemplateResponse creates a response to parse from QueryContactTemplate response -func CreateQueryContactTemplateResponse() (response *QueryContactTemplateResponse) { - response = &QueryContactTemplateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_dns_host.go b/services/domain/query_dns_host.go deleted file mode 100644 index 7d8e491a3..000000000 --- a/services/domain/query_dns_host.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDnsHost invokes the domain.QueryDnsHost API synchronously -func (client *Client) QueryDnsHost(request *QueryDnsHostRequest) (response *QueryDnsHostResponse, err error) { - response = CreateQueryDnsHostResponse() - err = client.DoAction(request, response) - return -} - -// QueryDnsHostWithChan invokes the domain.QueryDnsHost API asynchronously -func (client *Client) QueryDnsHostWithChan(request *QueryDnsHostRequest) (<-chan *QueryDnsHostResponse, <-chan error) { - responseChan := make(chan *QueryDnsHostResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDnsHost(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDnsHostWithCallback invokes the domain.QueryDnsHost API asynchronously -func (client *Client) QueryDnsHostWithCallback(request *QueryDnsHostRequest, callback func(response *QueryDnsHostResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDnsHostResponse - var err error - defer close(result) - response, err = client.QueryDnsHost(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDnsHostRequest is the request struct for api QueryDnsHost -type QueryDnsHostRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDnsHostResponse is the response struct for api QueryDnsHost -type QueryDnsHostResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - DnsHostList []DnsHost `json:"DnsHostList" xml:"DnsHostList"` -} - -// CreateQueryDnsHostRequest creates a request to invoke QueryDnsHost API -func CreateQueryDnsHostRequest() (request *QueryDnsHostRequest) { - request = &QueryDnsHostRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDnsHost", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDnsHostResponse creates a response to parse from QueryDnsHost response -func CreateQueryDnsHostResponse() (response *QueryDnsHostResponse) { - response = &QueryDnsHostResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_admin_division.go b/services/domain/query_domain_admin_division.go deleted file mode 100644 index c9c81342d..000000000 --- a/services/domain/query_domain_admin_division.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainAdminDivision invokes the domain.QueryDomainAdminDivision API synchronously -func (client *Client) QueryDomainAdminDivision(request *QueryDomainAdminDivisionRequest) (response *QueryDomainAdminDivisionResponse, err error) { - response = CreateQueryDomainAdminDivisionResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainAdminDivisionWithChan invokes the domain.QueryDomainAdminDivision API asynchronously -func (client *Client) QueryDomainAdminDivisionWithChan(request *QueryDomainAdminDivisionRequest) (<-chan *QueryDomainAdminDivisionResponse, <-chan error) { - responseChan := make(chan *QueryDomainAdminDivisionResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainAdminDivision(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainAdminDivisionWithCallback invokes the domain.QueryDomainAdminDivision API asynchronously -func (client *Client) QueryDomainAdminDivisionWithCallback(request *QueryDomainAdminDivisionRequest, callback func(response *QueryDomainAdminDivisionResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainAdminDivisionResponse - var err error - defer close(result) - response, err = client.QueryDomainAdminDivision(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainAdminDivisionRequest is the request struct for api QueryDomainAdminDivision -type QueryDomainAdminDivisionRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainAdminDivisionResponse is the response struct for api QueryDomainAdminDivision -type QueryDomainAdminDivisionResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - AdminDivisions AdminDivisions `json:"AdminDivisions" xml:"AdminDivisions"` -} - -// CreateQueryDomainAdminDivisionRequest creates a request to invoke QueryDomainAdminDivision API -func CreateQueryDomainAdminDivisionRequest() (request *QueryDomainAdminDivisionRequest) { - request = &QueryDomainAdminDivisionRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainAdminDivision", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainAdminDivisionResponse creates a response to parse from QueryDomainAdminDivision response -func CreateQueryDomainAdminDivisionResponse() (response *QueryDomainAdminDivisionResponse) { - response = &QueryDomainAdminDivisionResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_by_domain_name.go b/services/domain/query_domain_by_domain_name.go deleted file mode 100644 index ed0d497c2..000000000 --- a/services/domain/query_domain_by_domain_name.go +++ /dev/null @@ -1,134 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainByDomainName invokes the domain.QueryDomainByDomainName API synchronously -func (client *Client) QueryDomainByDomainName(request *QueryDomainByDomainNameRequest) (response *QueryDomainByDomainNameResponse, err error) { - response = CreateQueryDomainByDomainNameResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainByDomainNameWithChan invokes the domain.QueryDomainByDomainName API asynchronously -func (client *Client) QueryDomainByDomainNameWithChan(request *QueryDomainByDomainNameRequest) (<-chan *QueryDomainByDomainNameResponse, <-chan error) { - responseChan := make(chan *QueryDomainByDomainNameResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainByDomainName(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainByDomainNameWithCallback invokes the domain.QueryDomainByDomainName API asynchronously -func (client *Client) QueryDomainByDomainNameWithCallback(request *QueryDomainByDomainNameRequest, callback func(response *QueryDomainByDomainNameResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainByDomainNameResponse - var err error - defer close(result) - response, err = client.QueryDomainByDomainName(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainByDomainNameRequest is the request struct for api QueryDomainByDomainName -type QueryDomainByDomainNameRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainByDomainNameResponse is the response struct for api QueryDomainByDomainName -type QueryDomainByDomainNameResponse struct { - *responses.BaseResponse - Email string `json:"Email" xml:"Email"` - RegistrationDate string `json:"RegistrationDate" xml:"RegistrationDate"` - RegistrationDateLong int64 `json:"RegistrationDateLong" xml:"RegistrationDateLong"` - RealNameStatus string `json:"RealNameStatus" xml:"RealNameStatus"` - Premium bool `json:"Premium" xml:"Premium"` - DomainNameVerificationStatus string `json:"DomainNameVerificationStatus" xml:"DomainNameVerificationStatus"` - ExpirationDateLong int64 `json:"ExpirationDateLong" xml:"ExpirationDateLong"` - TransferOutStatus string `json:"TransferOutStatus" xml:"TransferOutStatus"` - ZhRegistrantOrganization string `json:"ZhRegistrantOrganization" xml:"ZhRegistrantOrganization"` - EmailVerificationClientHold bool `json:"EmailVerificationClientHold" xml:"EmailVerificationClientHold"` - EmailVerificationStatus int `json:"EmailVerificationStatus" xml:"EmailVerificationStatus"` - RegistrantOrganization string `json:"RegistrantOrganization" xml:"RegistrantOrganization"` - TransferProhibitionLock string `json:"TransferProhibitionLock" xml:"TransferProhibitionLock"` - DomainNameProxyService bool `json:"DomainNameProxyService" xml:"DomainNameProxyService"` - RegistrantType string `json:"RegistrantType" xml:"RegistrantType"` - RegistrantUpdatingStatus string `json:"RegistrantUpdatingStatus" xml:"RegistrantUpdatingStatus"` - RequestId string `json:"RequestId" xml:"RequestId"` - DomainName string `json:"DomainName" xml:"DomainName"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - ZhRegistrantName string `json:"ZhRegistrantName" xml:"ZhRegistrantName"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - RegistrantName string `json:"RegistrantName" xml:"RegistrantName"` - UserId string `json:"UserId" xml:"UserId"` - UpdateProhibitionLock string `json:"UpdateProhibitionLock" xml:"UpdateProhibitionLock"` - DomainGroupId int64 `json:"DomainGroupId" xml:"DomainGroupId"` - Remark string `json:"Remark" xml:"Remark"` - DomainGroupName string `json:"DomainGroupName" xml:"DomainGroupName"` - ExpirationDateStatus string `json:"ExpirationDateStatus" xml:"ExpirationDateStatus"` - ExpirationCurrDateDiff int `json:"ExpirationCurrDateDiff" xml:"ExpirationCurrDateDiff"` - DomainType string `json:"DomainType" xml:"DomainType"` - DomainStatus string `json:"DomainStatus" xml:"DomainStatus"` - ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` - DnsList DnsListInQueryDomainByDomainName `json:"DnsList" xml:"DnsList"` - Tag TagInQueryDomainByDomainName `json:"Tag" xml:"Tag"` -} - -// CreateQueryDomainByDomainNameRequest creates a request to invoke QueryDomainByDomainName API -func CreateQueryDomainByDomainNameRequest() (request *QueryDomainByDomainNameRequest) { - request = &QueryDomainByDomainNameRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainByDomainName", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainByDomainNameResponse creates a response to parse from QueryDomainByDomainName response -func CreateQueryDomainByDomainNameResponse() (response *QueryDomainByDomainNameResponse) { - response = &QueryDomainByDomainNameResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_by_instance_id.go b/services/domain/query_domain_by_instance_id.go deleted file mode 100644 index a500b243c..000000000 --- a/services/domain/query_domain_by_instance_id.go +++ /dev/null @@ -1,134 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainByInstanceId invokes the domain.QueryDomainByInstanceId API synchronously -func (client *Client) QueryDomainByInstanceId(request *QueryDomainByInstanceIdRequest) (response *QueryDomainByInstanceIdResponse, err error) { - response = CreateQueryDomainByInstanceIdResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainByInstanceIdWithChan invokes the domain.QueryDomainByInstanceId API asynchronously -func (client *Client) QueryDomainByInstanceIdWithChan(request *QueryDomainByInstanceIdRequest) (<-chan *QueryDomainByInstanceIdResponse, <-chan error) { - responseChan := make(chan *QueryDomainByInstanceIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainByInstanceId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainByInstanceIdWithCallback invokes the domain.QueryDomainByInstanceId API asynchronously -func (client *Client) QueryDomainByInstanceIdWithCallback(request *QueryDomainByInstanceIdRequest, callback func(response *QueryDomainByInstanceIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainByInstanceIdResponse - var err error - defer close(result) - response, err = client.QueryDomainByInstanceId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainByInstanceIdRequest is the request struct for api QueryDomainByInstanceId -type QueryDomainByInstanceIdRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainByInstanceIdResponse is the response struct for api QueryDomainByInstanceId -type QueryDomainByInstanceIdResponse struct { - *responses.BaseResponse - Email string `json:"Email" xml:"Email"` - RegistrationDate string `json:"RegistrationDate" xml:"RegistrationDate"` - RegistrationDateLong int64 `json:"RegistrationDateLong" xml:"RegistrationDateLong"` - RealNameStatus string `json:"RealNameStatus" xml:"RealNameStatus"` - Premium bool `json:"Premium" xml:"Premium"` - DomainNameVerificationStatus string `json:"DomainNameVerificationStatus" xml:"DomainNameVerificationStatus"` - ExpirationDateLong int64 `json:"ExpirationDateLong" xml:"ExpirationDateLong"` - TransferOutStatus string `json:"TransferOutStatus" xml:"TransferOutStatus"` - ZhRegistrantOrganization string `json:"ZhRegistrantOrganization" xml:"ZhRegistrantOrganization"` - EmailVerificationClientHold bool `json:"EmailVerificationClientHold" xml:"EmailVerificationClientHold"` - EmailVerificationStatus int `json:"EmailVerificationStatus" xml:"EmailVerificationStatus"` - RegistrantOrganization string `json:"RegistrantOrganization" xml:"RegistrantOrganization"` - TransferProhibitionLock string `json:"TransferProhibitionLock" xml:"TransferProhibitionLock"` - DomainNameProxyService bool `json:"DomainNameProxyService" xml:"DomainNameProxyService"` - RegistrantType string `json:"RegistrantType" xml:"RegistrantType"` - RegistrantUpdatingStatus string `json:"RegistrantUpdatingStatus" xml:"RegistrantUpdatingStatus"` - RequestId string `json:"RequestId" xml:"RequestId"` - DomainName string `json:"DomainName" xml:"DomainName"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - ZhRegistrantName string `json:"ZhRegistrantName" xml:"ZhRegistrantName"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - RegistrantName string `json:"RegistrantName" xml:"RegistrantName"` - UserId string `json:"UserId" xml:"UserId"` - UpdateProhibitionLock string `json:"UpdateProhibitionLock" xml:"UpdateProhibitionLock"` - DomainGroupId int64 `json:"DomainGroupId" xml:"DomainGroupId"` - Remark string `json:"Remark" xml:"Remark"` - DomainGroupName string `json:"DomainGroupName" xml:"DomainGroupName"` - ExpirationDateStatus string `json:"ExpirationDateStatus" xml:"ExpirationDateStatus"` - ExpirationCurrDateDiff int `json:"ExpirationCurrDateDiff" xml:"ExpirationCurrDateDiff"` - DomainType string `json:"DomainType" xml:"DomainType"` - DomainStatus string `json:"DomainStatus" xml:"DomainStatus"` - ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` - DnsList DnsListInQueryDomainByInstanceId `json:"DnsList" xml:"DnsList"` - Tag TagInQueryDomainByInstanceId `json:"Tag" xml:"Tag"` -} - -// CreateQueryDomainByInstanceIdRequest creates a request to invoke QueryDomainByInstanceId API -func CreateQueryDomainByInstanceIdRequest() (request *QueryDomainByInstanceIdRequest) { - request = &QueryDomainByInstanceIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainByInstanceId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainByInstanceIdResponse creates a response to parse from QueryDomainByInstanceId response -func CreateQueryDomainByInstanceIdResponse() (response *QueryDomainByInstanceIdResponse) { - response = &QueryDomainByInstanceIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_by_sale_id.go b/services/domain/query_domain_by_sale_id.go deleted file mode 100644 index 02dd6cfb9..000000000 --- a/services/domain/query_domain_by_sale_id.go +++ /dev/null @@ -1,120 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainBySaleId invokes the domain.QueryDomainBySaleId API synchronously -func (client *Client) QueryDomainBySaleId(request *QueryDomainBySaleIdRequest) (response *QueryDomainBySaleIdResponse, err error) { - response = CreateQueryDomainBySaleIdResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainBySaleIdWithChan invokes the domain.QueryDomainBySaleId API asynchronously -func (client *Client) QueryDomainBySaleIdWithChan(request *QueryDomainBySaleIdRequest) (<-chan *QueryDomainBySaleIdResponse, <-chan error) { - responseChan := make(chan *QueryDomainBySaleIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainBySaleId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainBySaleIdWithCallback invokes the domain.QueryDomainBySaleId API asynchronously -func (client *Client) QueryDomainBySaleIdWithCallback(request *QueryDomainBySaleIdRequest, callback func(response *QueryDomainBySaleIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainBySaleIdResponse - var err error - defer close(result) - response, err = client.QueryDomainBySaleId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainBySaleIdRequest is the request struct for api QueryDomainBySaleId -type QueryDomainBySaleIdRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainBySaleIdResponse is the response struct for api QueryDomainBySaleId -type QueryDomainBySaleIdResponse struct { - *responses.BaseResponse - ChineseHolder string `json:"ChineseHolder" xml:"ChineseHolder"` - CreationDate string `json:"CreationDate" xml:"CreationDate"` - DomainName string `json:"DomainName" xml:"DomainName"` - SaleId string `json:"SaleId" xml:"SaleId"` - Premium bool `json:"Premium" xml:"Premium"` - HolderEmail string `json:"HolderEmail" xml:"HolderEmail"` - DomainRegType string `json:"DomainRegType" xml:"DomainRegType"` - EnglishHolder string `json:"EnglishHolder" xml:"EnglishHolder"` - Remark string `json:"Remark" xml:"Remark"` - EnglishContactPerson string `json:"EnglishContactPerson" xml:"EnglishContactPerson"` - TransferLock string `json:"TransferLock" xml:"TransferLock"` - TransferOutStatus string `json:"TransferOutStatus" xml:"TransferOutStatus"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - UserId string `json:"UserId" xml:"UserId"` - SafetyLock string `json:"SafetyLock" xml:"SafetyLock"` - ChineseContactPerson string `json:"ChineseContactPerson" xml:"ChineseContactPerson"` - EmailVerificationClientHold bool `json:"EmailVerificationClientHold" xml:"EmailVerificationClientHold"` - EmailVerificationStatus int `json:"EmailVerificationStatus" xml:"EmailVerificationStatus"` - WhoisProtected bool `json:"WhoisProtected" xml:"WhoisProtected"` - DnsList DnsList `json:"DnsList" xml:"DnsList"` -} - -// CreateQueryDomainBySaleIdRequest creates a request to invoke QueryDomainBySaleId API -func CreateQueryDomainBySaleIdRequest() (request *QueryDomainBySaleIdRequest) { - request = &QueryDomainBySaleIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryDomainBySaleId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainBySaleIdResponse creates a response to parse from QueryDomainBySaleId response -func CreateQueryDomainBySaleIdResponse() (response *QueryDomainBySaleIdResponse) { - response = &QueryDomainBySaleIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_group_list.go b/services/domain/query_domain_group_list.go deleted file mode 100644 index d1ec2f959..000000000 --- a/services/domain/query_domain_group_list.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainGroupList invokes the domain.QueryDomainGroupList API synchronously -func (client *Client) QueryDomainGroupList(request *QueryDomainGroupListRequest) (response *QueryDomainGroupListResponse, err error) { - response = CreateQueryDomainGroupListResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainGroupListWithChan invokes the domain.QueryDomainGroupList API asynchronously -func (client *Client) QueryDomainGroupListWithChan(request *QueryDomainGroupListRequest) (<-chan *QueryDomainGroupListResponse, <-chan error) { - responseChan := make(chan *QueryDomainGroupListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainGroupList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainGroupListWithCallback invokes the domain.QueryDomainGroupList API asynchronously -func (client *Client) QueryDomainGroupListWithCallback(request *QueryDomainGroupListRequest, callback func(response *QueryDomainGroupListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainGroupListResponse - var err error - defer close(result) - response, err = client.QueryDomainGroupList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainGroupListRequest is the request struct for api QueryDomainGroupList -type QueryDomainGroupListRequest struct { - *requests.RpcRequest - ShowDeletingGroup requests.Boolean `position:"Query" name:"ShowDeletingGroup"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DomainGroupName string `position:"Query" name:"DomainGroupName"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainGroupListResponse is the response struct for api QueryDomainGroupList -type QueryDomainGroupListResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Data DataInQueryDomainGroupList `json:"Data" xml:"Data"` -} - -// CreateQueryDomainGroupListRequest creates a request to invoke QueryDomainGroupList API -func CreateQueryDomainGroupListRequest() (request *QueryDomainGroupListRequest) { - request = &QueryDomainGroupListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainGroupList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainGroupListResponse creates a response to parse from QueryDomainGroupList response -func CreateQueryDomainGroupListResponse() (response *QueryDomainGroupListResponse) { - response = &QueryDomainGroupListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_list.go b/services/domain/query_domain_list.go deleted file mode 100644 index 0502f4739..000000000 --- a/services/domain/query_domain_list.go +++ /dev/null @@ -1,122 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainList invokes the domain.QueryDomainList API synchronously -func (client *Client) QueryDomainList(request *QueryDomainListRequest) (response *QueryDomainListResponse, err error) { - response = CreateQueryDomainListResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainListWithChan invokes the domain.QueryDomainList API asynchronously -func (client *Client) QueryDomainListWithChan(request *QueryDomainListRequest) (<-chan *QueryDomainListResponse, <-chan error) { - responseChan := make(chan *QueryDomainListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainListWithCallback invokes the domain.QueryDomainList API asynchronously -func (client *Client) QueryDomainListWithCallback(request *QueryDomainListRequest, callback func(response *QueryDomainListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainListResponse - var err error - defer close(result) - response, err = client.QueryDomainList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainListRequest is the request struct for api QueryDomainList -type QueryDomainListRequest struct { - *requests.RpcRequest - ProductDomainType string `position:"Query" name:"ProductDomainType"` - RegStartDate requests.Integer `position:"Query" name:"RegStartDate"` - OrderKeyType string `position:"Query" name:"OrderKeyType"` - DeadEndDate requests.Integer `position:"Query" name:"DeadEndDate"` - StartDate string `position:"Query" name:"StartDate"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - OrderByType string `position:"Query" name:"OrderByType"` - DomainType string `position:"Query" name:"DomainType"` - DeadStartDate requests.Integer `position:"Query" name:"DeadStartDate"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` - QueryType string `position:"Query" name:"QueryType"` - GroupId string `position:"Query" name:"GroupId"` - DomainName string `position:"Query" name:"DomainName"` - RegEndDate requests.Integer `position:"Query" name:"RegEndDate"` - EndDate string `position:"Query" name:"EndDate"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// QueryDomainListResponse is the response struct for api QueryDomainList -type QueryDomainListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryDomainList `json:"Data" xml:"Data"` -} - -// CreateQueryDomainListRequest creates a request to invoke QueryDomainList API -func CreateQueryDomainListRequest() (request *QueryDomainListRequest) { - request = &QueryDomainListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryDomainList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainListResponse creates a response to parse from QueryDomainList response -func CreateQueryDomainListResponse() (response *QueryDomainListResponse) { - response = &QueryDomainListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_real_name_verification_info.go b/services/domain/query_domain_real_name_verification_info.go deleted file mode 100644 index 20898158b..000000000 --- a/services/domain/query_domain_real_name_verification_info.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainRealNameVerificationInfo invokes the domain.QueryDomainRealNameVerificationInfo API synchronously -func (client *Client) QueryDomainRealNameVerificationInfo(request *QueryDomainRealNameVerificationInfoRequest) (response *QueryDomainRealNameVerificationInfoResponse, err error) { - response = CreateQueryDomainRealNameVerificationInfoResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainRealNameVerificationInfoWithChan invokes the domain.QueryDomainRealNameVerificationInfo API asynchronously -func (client *Client) QueryDomainRealNameVerificationInfoWithChan(request *QueryDomainRealNameVerificationInfoRequest) (<-chan *QueryDomainRealNameVerificationInfoResponse, <-chan error) { - responseChan := make(chan *QueryDomainRealNameVerificationInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainRealNameVerificationInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainRealNameVerificationInfoWithCallback invokes the domain.QueryDomainRealNameVerificationInfo API asynchronously -func (client *Client) QueryDomainRealNameVerificationInfoWithCallback(request *QueryDomainRealNameVerificationInfoRequest, callback func(response *QueryDomainRealNameVerificationInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainRealNameVerificationInfoResponse - var err error - defer close(result) - response, err = client.QueryDomainRealNameVerificationInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainRealNameVerificationInfoRequest is the request struct for api QueryDomainRealNameVerificationInfo -type QueryDomainRealNameVerificationInfoRequest struct { - *requests.RpcRequest - FetchImage requests.Boolean `position:"Query" name:"FetchImage"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainRealNameVerificationInfoResponse is the response struct for api QueryDomainRealNameVerificationInfo -type QueryDomainRealNameVerificationInfoResponse struct { - *responses.BaseResponse - IdentityCredentialType string `json:"IdentityCredentialType" xml:"IdentityCredentialType"` - RequestId string `json:"RequestId" xml:"RequestId"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - DomainName string `json:"DomainName" xml:"DomainName"` - IdentityCredential string `json:"IdentityCredential" xml:"IdentityCredential"` - SubmissionDate string `json:"SubmissionDate" xml:"SubmissionDate"` - IdentityCredentialNo string `json:"IdentityCredentialNo" xml:"IdentityCredentialNo"` - IdentityCredentialUrl string `json:"IdentityCredentialUrl" xml:"IdentityCredentialUrl"` -} - -// CreateQueryDomainRealNameVerificationInfoRequest creates a request to invoke QueryDomainRealNameVerificationInfo API -func CreateQueryDomainRealNameVerificationInfoRequest() (request *QueryDomainRealNameVerificationInfoRequest) { - request = &QueryDomainRealNameVerificationInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainRealNameVerificationInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainRealNameVerificationInfoResponse creates a response to parse from QueryDomainRealNameVerificationInfo response -func CreateQueryDomainRealNameVerificationInfoResponse() (response *QueryDomainRealNameVerificationInfoResponse) { - response = &QueryDomainRealNameVerificationInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_special_biz_detail.go b/services/domain/query_domain_special_biz_detail.go deleted file mode 100644 index be8fda3e6..000000000 --- a/services/domain/query_domain_special_biz_detail.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainSpecialBizDetail invokes the domain.QueryDomainSpecialBizDetail API synchronously -func (client *Client) QueryDomainSpecialBizDetail(request *QueryDomainSpecialBizDetailRequest) (response *QueryDomainSpecialBizDetailResponse, err error) { - response = CreateQueryDomainSpecialBizDetailResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainSpecialBizDetailWithChan invokes the domain.QueryDomainSpecialBizDetail API asynchronously -func (client *Client) QueryDomainSpecialBizDetailWithChan(request *QueryDomainSpecialBizDetailRequest) (<-chan *QueryDomainSpecialBizDetailResponse, <-chan error) { - responseChan := make(chan *QueryDomainSpecialBizDetailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainSpecialBizDetail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainSpecialBizDetailWithCallback invokes the domain.QueryDomainSpecialBizDetail API asynchronously -func (client *Client) QueryDomainSpecialBizDetailWithCallback(request *QueryDomainSpecialBizDetailRequest, callback func(response *QueryDomainSpecialBizDetailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainSpecialBizDetailResponse - var err error - defer close(result) - response, err = client.QueryDomainSpecialBizDetail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainSpecialBizDetailRequest is the request struct for api QueryDomainSpecialBizDetail -type QueryDomainSpecialBizDetailRequest struct { - *requests.RpcRequest - BizId requests.Integer `position:"Body" name:"BizId"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// QueryDomainSpecialBizDetailResponse is the response struct for api QueryDomainSpecialBizDetail -type QueryDomainSpecialBizDetailResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` - DynamicCode string `json:"DynamicCode" xml:"DynamicCode"` - DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"` - Synchro bool `json:"Synchro" xml:"Synchro"` - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` - Success bool `json:"Success" xml:"Success"` - AllowRetry bool `json:"AllowRetry" xml:"AllowRetry"` - AppName string `json:"AppName" xml:"AppName"` - ErrorArgs []string `json:"ErrorArgs" xml:"ErrorArgs"` - Module Module `json:"Module" xml:"Module"` -} - -// CreateQueryDomainSpecialBizDetailRequest creates a request to invoke QueryDomainSpecialBizDetail API -func CreateQueryDomainSpecialBizDetailRequest() (request *QueryDomainSpecialBizDetailRequest) { - request = &QueryDomainSpecialBizDetailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainSpecialBizDetail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainSpecialBizDetailResponse creates a response to parse from QueryDomainSpecialBizDetail response -func CreateQueryDomainSpecialBizDetailResponse() (response *QueryDomainSpecialBizDetailResponse) { - response = &QueryDomainSpecialBizDetailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_special_biz_info_by_domain.go b/services/domain/query_domain_special_biz_info_by_domain.go deleted file mode 100644 index 73c58c74b..000000000 --- a/services/domain/query_domain_special_biz_info_by_domain.go +++ /dev/null @@ -1,112 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainSpecialBizInfoByDomain invokes the domain.QueryDomainSpecialBizInfoByDomain API synchronously -func (client *Client) QueryDomainSpecialBizInfoByDomain(request *QueryDomainSpecialBizInfoByDomainRequest) (response *QueryDomainSpecialBizInfoByDomainResponse, err error) { - response = CreateQueryDomainSpecialBizInfoByDomainResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainSpecialBizInfoByDomainWithChan invokes the domain.QueryDomainSpecialBizInfoByDomain API asynchronously -func (client *Client) QueryDomainSpecialBizInfoByDomainWithChan(request *QueryDomainSpecialBizInfoByDomainRequest) (<-chan *QueryDomainSpecialBizInfoByDomainResponse, <-chan error) { - responseChan := make(chan *QueryDomainSpecialBizInfoByDomainResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainSpecialBizInfoByDomain(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainSpecialBizInfoByDomainWithCallback invokes the domain.QueryDomainSpecialBizInfoByDomain API asynchronously -func (client *Client) QueryDomainSpecialBizInfoByDomainWithCallback(request *QueryDomainSpecialBizInfoByDomainRequest, callback func(response *QueryDomainSpecialBizInfoByDomainResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainSpecialBizInfoByDomainResponse - var err error - defer close(result) - response, err = client.QueryDomainSpecialBizInfoByDomain(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainSpecialBizInfoByDomainRequest is the request struct for api QueryDomainSpecialBizInfoByDomain -type QueryDomainSpecialBizInfoByDomainRequest struct { - *requests.RpcRequest - DomainName string `position:"Body" name:"DomainName"` - BizType string `position:"Body" name:"BizType"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// QueryDomainSpecialBizInfoByDomainResponse is the response struct for api QueryDomainSpecialBizInfoByDomain -type QueryDomainSpecialBizInfoByDomainResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` - DynamicCode string `json:"DynamicCode" xml:"DynamicCode"` - DynamicMessage string `json:"DynamicMessage" xml:"DynamicMessage"` - Synchro bool `json:"Synchro" xml:"Synchro"` - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` - Success bool `json:"Success" xml:"Success"` - AllowRetry bool `json:"AllowRetry" xml:"AllowRetry"` - AppName string `json:"AppName" xml:"AppName"` - ErrorArgs []string `json:"ErrorArgs" xml:"ErrorArgs"` - Module Module `json:"Module" xml:"Module"` -} - -// CreateQueryDomainSpecialBizInfoByDomainRequest creates a request to invoke QueryDomainSpecialBizInfoByDomain API -func CreateQueryDomainSpecialBizInfoByDomainRequest() (request *QueryDomainSpecialBizInfoByDomainRequest) { - request = &QueryDomainSpecialBizInfoByDomainRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainSpecialBizInfoByDomain", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainSpecialBizInfoByDomainResponse creates a response to parse from QueryDomainSpecialBizInfoByDomain response -func CreateQueryDomainSpecialBizInfoByDomainResponse() (response *QueryDomainSpecialBizInfoByDomainResponse) { - response = &QueryDomainSpecialBizInfoByDomainResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_domain_suffix.go b/services/domain/query_domain_suffix.go deleted file mode 100644 index 6ec9f8a2c..000000000 --- a/services/domain/query_domain_suffix.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDomainSuffix invokes the domain.QueryDomainSuffix API synchronously -func (client *Client) QueryDomainSuffix(request *QueryDomainSuffixRequest) (response *QueryDomainSuffixResponse, err error) { - response = CreateQueryDomainSuffixResponse() - err = client.DoAction(request, response) - return -} - -// QueryDomainSuffixWithChan invokes the domain.QueryDomainSuffix API asynchronously -func (client *Client) QueryDomainSuffixWithChan(request *QueryDomainSuffixRequest) (<-chan *QueryDomainSuffixResponse, <-chan error) { - responseChan := make(chan *QueryDomainSuffixResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDomainSuffix(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDomainSuffixWithCallback invokes the domain.QueryDomainSuffix API asynchronously -func (client *Client) QueryDomainSuffixWithCallback(request *QueryDomainSuffixRequest, callback func(response *QueryDomainSuffixResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDomainSuffixResponse - var err error - defer close(result) - response, err = client.QueryDomainSuffix(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDomainSuffixRequest is the request struct for api QueryDomainSuffix -type QueryDomainSuffixRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDomainSuffixResponse is the response struct for api QueryDomainSuffix -type QueryDomainSuffixResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SuffixList SuffixList `json:"SuffixList" xml:"SuffixList"` -} - -// CreateQueryDomainSuffixRequest creates a request to invoke QueryDomainSuffix API -func CreateQueryDomainSuffixRequest() (request *QueryDomainSuffixRequest) { - request = &QueryDomainSuffixRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDomainSuffix", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDomainSuffixResponse creates a response to parse from QueryDomainSuffix response -func CreateQueryDomainSuffixResponse() (response *QueryDomainSuffixResponse) { - response = &QueryDomainSuffixResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_ds_record.go b/services/domain/query_ds_record.go deleted file mode 100644 index 593abc0c3..000000000 --- a/services/domain/query_ds_record.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryDSRecord invokes the domain.QueryDSRecord API synchronously -func (client *Client) QueryDSRecord(request *QueryDSRecordRequest) (response *QueryDSRecordResponse, err error) { - response = CreateQueryDSRecordResponse() - err = client.DoAction(request, response) - return -} - -// QueryDSRecordWithChan invokes the domain.QueryDSRecord API asynchronously -func (client *Client) QueryDSRecordWithChan(request *QueryDSRecordRequest) (<-chan *QueryDSRecordResponse, <-chan error) { - responseChan := make(chan *QueryDSRecordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryDSRecord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryDSRecordWithCallback invokes the domain.QueryDSRecord API asynchronously -func (client *Client) QueryDSRecordWithCallback(request *QueryDSRecordRequest, callback func(response *QueryDSRecordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryDSRecordResponse - var err error - defer close(result) - response, err = client.QueryDSRecord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryDSRecordRequest is the request struct for api QueryDSRecord -type QueryDSRecordRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryDSRecordResponse is the response struct for api QueryDSRecord -type QueryDSRecordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - DSRecordList []DSRecord `json:"DSRecordList" xml:"DSRecordList"` -} - -// CreateQueryDSRecordRequest creates a request to invoke QueryDSRecord API -func CreateQueryDSRecordRequest() (request *QueryDSRecordRequest) { - request = &QueryDSRecordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryDSRecord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryDSRecordResponse creates a response to parse from QueryDSRecord response -func CreateQueryDSRecordResponse() (response *QueryDSRecordResponse) { - response = &QueryDSRecordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_email_verification.go b/services/domain/query_email_verification.go deleted file mode 100644 index 48e6732ed..000000000 --- a/services/domain/query_email_verification.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryEmailVerification invokes the domain.QueryEmailVerification API synchronously -func (client *Client) QueryEmailVerification(request *QueryEmailVerificationRequest) (response *QueryEmailVerificationResponse, err error) { - response = CreateQueryEmailVerificationResponse() - err = client.DoAction(request, response) - return -} - -// QueryEmailVerificationWithChan invokes the domain.QueryEmailVerification API asynchronously -func (client *Client) QueryEmailVerificationWithChan(request *QueryEmailVerificationRequest) (<-chan *QueryEmailVerificationResponse, <-chan error) { - responseChan := make(chan *QueryEmailVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryEmailVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryEmailVerificationWithCallback invokes the domain.QueryEmailVerification API asynchronously -func (client *Client) QueryEmailVerificationWithCallback(request *QueryEmailVerificationRequest, callback func(response *QueryEmailVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryEmailVerificationResponse - var err error - defer close(result) - response, err = client.QueryEmailVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryEmailVerificationRequest is the request struct for api QueryEmailVerification -type QueryEmailVerificationRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// QueryEmailVerificationResponse is the response struct for api QueryEmailVerification -type QueryEmailVerificationResponse struct { - *responses.BaseResponse - VerificationStatus int `json:"VerificationStatus" xml:"VerificationStatus"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - Email string `json:"Email" xml:"Email"` - EmailVerificationNo string `json:"EmailVerificationNo" xml:"EmailVerificationNo"` - ConfirmIp string `json:"ConfirmIp" xml:"ConfirmIp"` - RequestId string `json:"RequestId" xml:"RequestId"` - UserId string `json:"UserId" xml:"UserId"` - GmtModified string `json:"GmtModified" xml:"GmtModified"` - SendIp string `json:"SendIp" xml:"SendIp"` - VerificationTime string `json:"VerificationTime" xml:"VerificationTime"` - TokenSendTime string `json:"TokenSendTime" xml:"TokenSendTime"` -} - -// CreateQueryEmailVerificationRequest creates a request to invoke QueryEmailVerification API -func CreateQueryEmailVerificationRequest() (request *QueryEmailVerificationRequest) { - request = &QueryEmailVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryEmailVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryEmailVerificationResponse creates a response to parse from QueryEmailVerification response -func CreateQueryEmailVerificationResponse() (response *QueryEmailVerificationResponse) { - response = &QueryEmailVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_ens_association.go b/services/domain/query_ens_association.go deleted file mode 100644 index 191e0edcb..000000000 --- a/services/domain/query_ens_association.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryEnsAssociation invokes the domain.QueryEnsAssociation API synchronously -func (client *Client) QueryEnsAssociation(request *QueryEnsAssociationRequest) (response *QueryEnsAssociationResponse, err error) { - response = CreateQueryEnsAssociationResponse() - err = client.DoAction(request, response) - return -} - -// QueryEnsAssociationWithChan invokes the domain.QueryEnsAssociation API asynchronously -func (client *Client) QueryEnsAssociationWithChan(request *QueryEnsAssociationRequest) (<-chan *QueryEnsAssociationResponse, <-chan error) { - responseChan := make(chan *QueryEnsAssociationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryEnsAssociation(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryEnsAssociationWithCallback invokes the domain.QueryEnsAssociation API asynchronously -func (client *Client) QueryEnsAssociationWithCallback(request *QueryEnsAssociationRequest, callback func(response *QueryEnsAssociationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryEnsAssociationResponse - var err error - defer close(result) - response, err = client.QueryEnsAssociation(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryEnsAssociationRequest is the request struct for api QueryEnsAssociation -type QueryEnsAssociationRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryEnsAssociationResponse is the response struct for api QueryEnsAssociation -type QueryEnsAssociationResponse struct { - *responses.BaseResponse - Address string `json:"Address" xml:"Address"` - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateQueryEnsAssociationRequest creates a request to invoke QueryEnsAssociation API -func CreateQueryEnsAssociationRequest() (request *QueryEnsAssociationRequest) { - request = &QueryEnsAssociationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryEnsAssociation", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryEnsAssociationResponse creates a response to parse from QueryEnsAssociation response -func CreateQueryEnsAssociationResponse() (response *QueryEnsAssociationResponse) { - response = &QueryEnsAssociationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_fail_reason_for_domain_real_name_verification.go b/services/domain/query_fail_reason_for_domain_real_name_verification.go deleted file mode 100644 index df61ebf20..000000000 --- a/services/domain/query_fail_reason_for_domain_real_name_verification.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryFailReasonForDomainRealNameVerification invokes the domain.QueryFailReasonForDomainRealNameVerification API synchronously -func (client *Client) QueryFailReasonForDomainRealNameVerification(request *QueryFailReasonForDomainRealNameVerificationRequest) (response *QueryFailReasonForDomainRealNameVerificationResponse, err error) { - response = CreateQueryFailReasonForDomainRealNameVerificationResponse() - err = client.DoAction(request, response) - return -} - -// QueryFailReasonForDomainRealNameVerificationWithChan invokes the domain.QueryFailReasonForDomainRealNameVerification API asynchronously -func (client *Client) QueryFailReasonForDomainRealNameVerificationWithChan(request *QueryFailReasonForDomainRealNameVerificationRequest) (<-chan *QueryFailReasonForDomainRealNameVerificationResponse, <-chan error) { - responseChan := make(chan *QueryFailReasonForDomainRealNameVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryFailReasonForDomainRealNameVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryFailReasonForDomainRealNameVerificationWithCallback invokes the domain.QueryFailReasonForDomainRealNameVerification API asynchronously -func (client *Client) QueryFailReasonForDomainRealNameVerificationWithCallback(request *QueryFailReasonForDomainRealNameVerificationRequest, callback func(response *QueryFailReasonForDomainRealNameVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryFailReasonForDomainRealNameVerificationResponse - var err error - defer close(result) - response, err = client.QueryFailReasonForDomainRealNameVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryFailReasonForDomainRealNameVerificationRequest is the request struct for api QueryFailReasonForDomainRealNameVerification -type QueryFailReasonForDomainRealNameVerificationRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - RealNameVerificationAction string `position:"Query" name:"RealNameVerificationAction"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryFailReasonForDomainRealNameVerificationResponse is the response struct for api QueryFailReasonForDomainRealNameVerification -type QueryFailReasonForDomainRealNameVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Data []FailRecord `json:"Data" xml:"Data"` -} - -// CreateQueryFailReasonForDomainRealNameVerificationRequest creates a request to invoke QueryFailReasonForDomainRealNameVerification API -func CreateQueryFailReasonForDomainRealNameVerificationRequest() (request *QueryFailReasonForDomainRealNameVerificationRequest) { - request = &QueryFailReasonForDomainRealNameVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryFailReasonForDomainRealNameVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryFailReasonForDomainRealNameVerificationResponse creates a response to parse from QueryFailReasonForDomainRealNameVerification response -func CreateQueryFailReasonForDomainRealNameVerificationResponse() (response *QueryFailReasonForDomainRealNameVerificationResponse) { - response = &QueryFailReasonForDomainRealNameVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_fail_reason_for_registrant_profile_real_name_verification.go b/services/domain/query_fail_reason_for_registrant_profile_real_name_verification.go deleted file mode 100644 index 7b10c68f1..000000000 --- a/services/domain/query_fail_reason_for_registrant_profile_real_name_verification.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryFailReasonForRegistrantProfileRealNameVerification invokes the domain.QueryFailReasonForRegistrantProfileRealNameVerification API synchronously -func (client *Client) QueryFailReasonForRegistrantProfileRealNameVerification(request *QueryFailReasonForRegistrantProfileRealNameVerificationRequest) (response *QueryFailReasonForRegistrantProfileRealNameVerificationResponse, err error) { - response = CreateQueryFailReasonForRegistrantProfileRealNameVerificationResponse() - err = client.DoAction(request, response) - return -} - -// QueryFailReasonForRegistrantProfileRealNameVerificationWithChan invokes the domain.QueryFailReasonForRegistrantProfileRealNameVerification API asynchronously -func (client *Client) QueryFailReasonForRegistrantProfileRealNameVerificationWithChan(request *QueryFailReasonForRegistrantProfileRealNameVerificationRequest) (<-chan *QueryFailReasonForRegistrantProfileRealNameVerificationResponse, <-chan error) { - responseChan := make(chan *QueryFailReasonForRegistrantProfileRealNameVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryFailReasonForRegistrantProfileRealNameVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryFailReasonForRegistrantProfileRealNameVerificationWithCallback invokes the domain.QueryFailReasonForRegistrantProfileRealNameVerification API asynchronously -func (client *Client) QueryFailReasonForRegistrantProfileRealNameVerificationWithCallback(request *QueryFailReasonForRegistrantProfileRealNameVerificationRequest, callback func(response *QueryFailReasonForRegistrantProfileRealNameVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryFailReasonForRegistrantProfileRealNameVerificationResponse - var err error - defer close(result) - response, err = client.QueryFailReasonForRegistrantProfileRealNameVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryFailReasonForRegistrantProfileRealNameVerificationRequest is the request struct for api QueryFailReasonForRegistrantProfileRealNameVerification -type QueryFailReasonForRegistrantProfileRealNameVerificationRequest struct { - *requests.RpcRequest - RegistrantProfileID requests.Integer `position:"Query" name:"RegistrantProfileID"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryFailReasonForRegistrantProfileRealNameVerificationResponse is the response struct for api QueryFailReasonForRegistrantProfileRealNameVerification -type QueryFailReasonForRegistrantProfileRealNameVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Data []FailRecord `json:"Data" xml:"Data"` -} - -// CreateQueryFailReasonForRegistrantProfileRealNameVerificationRequest creates a request to invoke QueryFailReasonForRegistrantProfileRealNameVerification API -func CreateQueryFailReasonForRegistrantProfileRealNameVerificationRequest() (request *QueryFailReasonForRegistrantProfileRealNameVerificationRequest) { - request = &QueryFailReasonForRegistrantProfileRealNameVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryFailReasonForRegistrantProfileRealNameVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryFailReasonForRegistrantProfileRealNameVerificationResponse creates a response to parse from QueryFailReasonForRegistrantProfileRealNameVerification response -func CreateQueryFailReasonForRegistrantProfileRealNameVerificationResponse() (response *QueryFailReasonForRegistrantProfileRealNameVerificationResponse) { - response = &QueryFailReasonForRegistrantProfileRealNameVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_fail_reason_list.go b/services/domain/query_fail_reason_list.go deleted file mode 100644 index d2d88587e..000000000 --- a/services/domain/query_fail_reason_list.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryFailReasonList invokes the domain.QueryFailReasonList API synchronously -func (client *Client) QueryFailReasonList(request *QueryFailReasonListRequest) (response *QueryFailReasonListResponse, err error) { - response = CreateQueryFailReasonListResponse() - err = client.DoAction(request, response) - return -} - -// QueryFailReasonListWithChan invokes the domain.QueryFailReasonList API asynchronously -func (client *Client) QueryFailReasonListWithChan(request *QueryFailReasonListRequest) (<-chan *QueryFailReasonListResponse, <-chan error) { - responseChan := make(chan *QueryFailReasonListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryFailReasonList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryFailReasonListWithCallback invokes the domain.QueryFailReasonList API asynchronously -func (client *Client) QueryFailReasonListWithCallback(request *QueryFailReasonListRequest, callback func(response *QueryFailReasonListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryFailReasonListResponse - var err error - defer close(result) - response, err = client.QueryFailReasonList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryFailReasonListRequest is the request struct for api QueryFailReasonList -type QueryFailReasonListRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// QueryFailReasonListResponse is the response struct for api QueryFailReasonList -type QueryFailReasonListResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Data DataInQueryFailReasonList `json:"Data" xml:"Data"` -} - -// CreateQueryFailReasonListRequest creates a request to invoke QueryFailReasonList API -func CreateQueryFailReasonListRequest() (request *QueryFailReasonListRequest) { - request = &QueryFailReasonListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryFailReasonList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryFailReasonListResponse creates a response to parse from QueryFailReasonList response -func CreateQueryFailReasonListResponse() (response *QueryFailReasonListResponse) { - response = &QueryFailReasonListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_failing_reason_list_for_qualification.go b/services/domain/query_failing_reason_list_for_qualification.go deleted file mode 100644 index a67cc4e7a..000000000 --- a/services/domain/query_failing_reason_list_for_qualification.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryFailingReasonListForQualification invokes the domain.QueryFailingReasonListForQualification API synchronously -func (client *Client) QueryFailingReasonListForQualification(request *QueryFailingReasonListForQualificationRequest) (response *QueryFailingReasonListForQualificationResponse, err error) { - response = CreateQueryFailingReasonListForQualificationResponse() - err = client.DoAction(request, response) - return -} - -// QueryFailingReasonListForQualificationWithChan invokes the domain.QueryFailingReasonListForQualification API asynchronously -func (client *Client) QueryFailingReasonListForQualificationWithChan(request *QueryFailingReasonListForQualificationRequest) (<-chan *QueryFailingReasonListForQualificationResponse, <-chan error) { - responseChan := make(chan *QueryFailingReasonListForQualificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryFailingReasonListForQualification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryFailingReasonListForQualificationWithCallback invokes the domain.QueryFailingReasonListForQualification API asynchronously -func (client *Client) QueryFailingReasonListForQualificationWithCallback(request *QueryFailingReasonListForQualificationRequest, callback func(response *QueryFailingReasonListForQualificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryFailingReasonListForQualificationResponse - var err error - defer close(result) - response, err = client.QueryFailingReasonListForQualification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryFailingReasonListForQualificationRequest is the request struct for api QueryFailingReasonListForQualification -type QueryFailingReasonListForQualificationRequest struct { - *requests.RpcRequest - QualificationType string `position:"Query" name:"QualificationType"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Limit requests.Integer `position:"Query" name:"Limit"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryFailingReasonListForQualificationResponse is the response struct for api QueryFailingReasonListForQualification -type QueryFailingReasonListForQualificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Data []FailRecord `json:"Data" xml:"Data"` -} - -// CreateQueryFailingReasonListForQualificationRequest creates a request to invoke QueryFailingReasonListForQualification API -func CreateQueryFailingReasonListForQualificationRequest() (request *QueryFailingReasonListForQualificationRequest) { - request = &QueryFailingReasonListForQualificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryFailingReasonListForQualification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryFailingReasonListForQualificationResponse creates a response to parse from QueryFailingReasonListForQualification response -func CreateQueryFailingReasonListForQualificationResponse() (response *QueryFailingReasonListForQualificationResponse) { - response = &QueryFailingReasonListForQualificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_local_ens_association.go b/services/domain/query_local_ens_association.go deleted file mode 100644 index dd362d22f..000000000 --- a/services/domain/query_local_ens_association.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryLocalEnsAssociation invokes the domain.QueryLocalEnsAssociation API synchronously -func (client *Client) QueryLocalEnsAssociation(request *QueryLocalEnsAssociationRequest) (response *QueryLocalEnsAssociationResponse, err error) { - response = CreateQueryLocalEnsAssociationResponse() - err = client.DoAction(request, response) - return -} - -// QueryLocalEnsAssociationWithChan invokes the domain.QueryLocalEnsAssociation API asynchronously -func (client *Client) QueryLocalEnsAssociationWithChan(request *QueryLocalEnsAssociationRequest) (<-chan *QueryLocalEnsAssociationResponse, <-chan error) { - responseChan := make(chan *QueryLocalEnsAssociationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryLocalEnsAssociation(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryLocalEnsAssociationWithCallback invokes the domain.QueryLocalEnsAssociation API asynchronously -func (client *Client) QueryLocalEnsAssociationWithCallback(request *QueryLocalEnsAssociationRequest, callback func(response *QueryLocalEnsAssociationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryLocalEnsAssociationResponse - var err error - defer close(result) - response, err = client.QueryLocalEnsAssociation(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryLocalEnsAssociationRequest is the request struct for api QueryLocalEnsAssociation -type QueryLocalEnsAssociationRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryLocalEnsAssociationResponse is the response struct for api QueryLocalEnsAssociation -type QueryLocalEnsAssociationResponse struct { - *responses.BaseResponse - Address string `json:"Address" xml:"Address"` - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateQueryLocalEnsAssociationRequest creates a request to invoke QueryLocalEnsAssociation API -func CreateQueryLocalEnsAssociationRequest() (request *QueryLocalEnsAssociationRequest) { - request = &QueryLocalEnsAssociationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryLocalEnsAssociation", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryLocalEnsAssociationResponse creates a response to parse from QueryLocalEnsAssociation response -func CreateQueryLocalEnsAssociationResponse() (response *QueryLocalEnsAssociationResponse) { - response = &QueryLocalEnsAssociationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_operation_audit_info_detail.go b/services/domain/query_operation_audit_info_detail.go deleted file mode 100644 index 4c441ccd4..000000000 --- a/services/domain/query_operation_audit_info_detail.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryOperationAuditInfoDetail invokes the domain.QueryOperationAuditInfoDetail API synchronously -func (client *Client) QueryOperationAuditInfoDetail(request *QueryOperationAuditInfoDetailRequest) (response *QueryOperationAuditInfoDetailResponse, err error) { - response = CreateQueryOperationAuditInfoDetailResponse() - err = client.DoAction(request, response) - return -} - -// QueryOperationAuditInfoDetailWithChan invokes the domain.QueryOperationAuditInfoDetail API asynchronously -func (client *Client) QueryOperationAuditInfoDetailWithChan(request *QueryOperationAuditInfoDetailRequest) (<-chan *QueryOperationAuditInfoDetailResponse, <-chan error) { - responseChan := make(chan *QueryOperationAuditInfoDetailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryOperationAuditInfoDetail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryOperationAuditInfoDetailWithCallback invokes the domain.QueryOperationAuditInfoDetail API asynchronously -func (client *Client) QueryOperationAuditInfoDetailWithCallback(request *QueryOperationAuditInfoDetailRequest, callback func(response *QueryOperationAuditInfoDetailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryOperationAuditInfoDetailResponse - var err error - defer close(result) - response, err = client.QueryOperationAuditInfoDetail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryOperationAuditInfoDetailRequest is the request struct for api QueryOperationAuditInfoDetail -type QueryOperationAuditInfoDetailRequest struct { - *requests.RpcRequest - AuditRecordId requests.Integer `position:"Query" name:"AuditRecordId"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryOperationAuditInfoDetailResponse is the response struct for api QueryOperationAuditInfoDetail -type QueryOperationAuditInfoDetailResponse struct { - *responses.BaseResponse - AuditInfo string `json:"AuditInfo" xml:"AuditInfo"` - AuditStatus int `json:"AuditStatus" xml:"AuditStatus"` - RequestId string `json:"RequestId" xml:"RequestId"` - BusinessName string `json:"BusinessName" xml:"BusinessName"` - AuditType int `json:"AuditType" xml:"AuditType"` - DomainName string `json:"DomainName" xml:"DomainName"` - CreateTime int64 `json:"CreateTime" xml:"CreateTime"` - UpdateTime int64 `json:"UpdateTime" xml:"UpdateTime"` - Id string `json:"Id" xml:"Id"` - Remark string `json:"Remark" xml:"Remark"` -} - -// CreateQueryOperationAuditInfoDetailRequest creates a request to invoke QueryOperationAuditInfoDetail API -func CreateQueryOperationAuditInfoDetailRequest() (request *QueryOperationAuditInfoDetailRequest) { - request = &QueryOperationAuditInfoDetailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryOperationAuditInfoDetail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryOperationAuditInfoDetailResponse creates a response to parse from QueryOperationAuditInfoDetail response -func CreateQueryOperationAuditInfoDetailResponse() (response *QueryOperationAuditInfoDetailResponse) { - response = &QueryOperationAuditInfoDetailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_operation_audit_info_list.go b/services/domain/query_operation_audit_info_list.go deleted file mode 100644 index c3bd4256e..000000000 --- a/services/domain/query_operation_audit_info_list.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryOperationAuditInfoList invokes the domain.QueryOperationAuditInfoList API synchronously -func (client *Client) QueryOperationAuditInfoList(request *QueryOperationAuditInfoListRequest) (response *QueryOperationAuditInfoListResponse, err error) { - response = CreateQueryOperationAuditInfoListResponse() - err = client.DoAction(request, response) - return -} - -// QueryOperationAuditInfoListWithChan invokes the domain.QueryOperationAuditInfoList API asynchronously -func (client *Client) QueryOperationAuditInfoListWithChan(request *QueryOperationAuditInfoListRequest) (<-chan *QueryOperationAuditInfoListResponse, <-chan error) { - responseChan := make(chan *QueryOperationAuditInfoListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryOperationAuditInfoList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryOperationAuditInfoListWithCallback invokes the domain.QueryOperationAuditInfoList API asynchronously -func (client *Client) QueryOperationAuditInfoListWithCallback(request *QueryOperationAuditInfoListRequest, callback func(response *QueryOperationAuditInfoListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryOperationAuditInfoListResponse - var err error - defer close(result) - response, err = client.QueryOperationAuditInfoList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryOperationAuditInfoListRequest is the request struct for api QueryOperationAuditInfoList -type QueryOperationAuditInfoListRequest struct { - *requests.RpcRequest - AuditStatus requests.Integer `position:"Query" name:"AuditStatus"` - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - AuditType requests.Integer `position:"Query" name:"AuditType"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryOperationAuditInfoListResponse is the response struct for api QueryOperationAuditInfoList -type QueryOperationAuditInfoListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data []OperationAuditRecord `json:"Data" xml:"Data"` -} - -// CreateQueryOperationAuditInfoListRequest creates a request to invoke QueryOperationAuditInfoList API -func CreateQueryOperationAuditInfoListRequest() (request *QueryOperationAuditInfoListRequest) { - request = &QueryOperationAuditInfoListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryOperationAuditInfoList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryOperationAuditInfoListResponse creates a response to parse from QueryOperationAuditInfoList response -func CreateQueryOperationAuditInfoListResponse() (response *QueryOperationAuditInfoListResponse) { - response = &QueryOperationAuditInfoListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_order.go b/services/domain/query_order.go deleted file mode 100644 index 38bbc6100..000000000 --- a/services/domain/query_order.go +++ /dev/null @@ -1,110 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryOrder invokes the domain.QueryOrder API synchronously -func (client *Client) QueryOrder(request *QueryOrderRequest) (response *QueryOrderResponse, err error) { - response = CreateQueryOrderResponse() - err = client.DoAction(request, response) - return -} - -// QueryOrderWithChan invokes the domain.QueryOrder API asynchronously -func (client *Client) QueryOrderWithChan(request *QueryOrderRequest) (<-chan *QueryOrderResponse, <-chan error) { - responseChan := make(chan *QueryOrderResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryOrder(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryOrderWithCallback invokes the domain.QueryOrder API asynchronously -func (client *Client) QueryOrderWithCallback(request *QueryOrderRequest, callback func(response *QueryOrderResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryOrderResponse - var err error - defer close(result) - response, err = client.QueryOrder(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryOrderRequest is the request struct for api QueryOrder -type QueryOrderRequest struct { - *requests.RpcRequest - OrderID string `position:"Query" name:"OrderID"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryOrderResponse is the response struct for api QueryOrder -type QueryOrderResponse struct { - *responses.BaseResponse - Money string `json:"Money" xml:"Money"` - RequestId string `json:"RequestId" xml:"RequestId"` - CheckType bool `json:"CheckType" xml:"CheckType"` - UserID string `json:"UserID" xml:"UserID"` - ValidFlag bool `json:"ValidFlag" xml:"ValidFlag"` - CheckFlag bool `json:"CheckFlag" xml:"CheckFlag"` - CheckDate string `json:"CheckDate" xml:"CheckDate"` - OrderID string `json:"OrderID" xml:"OrderID"` - OrderDate string `json:"OrderDate" xml:"OrderDate"` - OrderProducts OrderProducts `json:"OrderProducts" xml:"OrderProducts"` -} - -// CreateQueryOrderRequest creates a request to invoke QueryOrder API -func CreateQueryOrderRequest() (request *QueryOrderRequest) { - request = &QueryOrderRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "QueryOrder", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryOrderResponse creates a response to parse from QueryOrder response -func CreateQueryOrderResponse() (response *QueryOrderResponse) { - response = &QueryOrderResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_qualification_detail.go b/services/domain/query_qualification_detail.go deleted file mode 100644 index e179d8855..000000000 --- a/services/domain/query_qualification_detail.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryQualificationDetail invokes the domain.QueryQualificationDetail API synchronously -func (client *Client) QueryQualificationDetail(request *QueryQualificationDetailRequest) (response *QueryQualificationDetailResponse, err error) { - response = CreateQueryQualificationDetailResponse() - err = client.DoAction(request, response) - return -} - -// QueryQualificationDetailWithChan invokes the domain.QueryQualificationDetail API asynchronously -func (client *Client) QueryQualificationDetailWithChan(request *QueryQualificationDetailRequest) (<-chan *QueryQualificationDetailResponse, <-chan error) { - responseChan := make(chan *QueryQualificationDetailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryQualificationDetail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryQualificationDetailWithCallback invokes the domain.QueryQualificationDetail API asynchronously -func (client *Client) QueryQualificationDetailWithCallback(request *QueryQualificationDetailRequest, callback func(response *QueryQualificationDetailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryQualificationDetailResponse - var err error - defer close(result) - response, err = client.QueryQualificationDetail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryQualificationDetailRequest is the request struct for api QueryQualificationDetail -type QueryQualificationDetailRequest struct { - *requests.RpcRequest - QualificationType string `position:"Query" name:"QualificationType"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryQualificationDetailResponse is the response struct for api QueryQualificationDetail -type QueryQualificationDetailResponse struct { - *responses.BaseResponse - AuditStatus int `json:"AuditStatus" xml:"AuditStatus"` - RequestId string `json:"RequestId" xml:"RequestId"` - TrackId string `json:"TrackId" xml:"TrackId"` - Credentials Credentials `json:"Credentials" xml:"Credentials"` -} - -// CreateQueryQualificationDetailRequest creates a request to invoke QueryQualificationDetail API -func CreateQueryQualificationDetailRequest() (request *QueryQualificationDetailRequest) { - request = &QueryQualificationDetailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryQualificationDetail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryQualificationDetailResponse creates a response to parse from QueryQualificationDetail response -func CreateQueryQualificationDetailResponse() (response *QueryQualificationDetailResponse) { - response = &QueryQualificationDetailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_registrant_profile_real_name_verification_info.go b/services/domain/query_registrant_profile_real_name_verification_info.go deleted file mode 100644 index da06330ab..000000000 --- a/services/domain/query_registrant_profile_real_name_verification_info.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryRegistrantProfileRealNameVerificationInfo invokes the domain.QueryRegistrantProfileRealNameVerificationInfo API synchronously -func (client *Client) QueryRegistrantProfileRealNameVerificationInfo(request *QueryRegistrantProfileRealNameVerificationInfoRequest) (response *QueryRegistrantProfileRealNameVerificationInfoResponse, err error) { - response = CreateQueryRegistrantProfileRealNameVerificationInfoResponse() - err = client.DoAction(request, response) - return -} - -// QueryRegistrantProfileRealNameVerificationInfoWithChan invokes the domain.QueryRegistrantProfileRealNameVerificationInfo API asynchronously -func (client *Client) QueryRegistrantProfileRealNameVerificationInfoWithChan(request *QueryRegistrantProfileRealNameVerificationInfoRequest) (<-chan *QueryRegistrantProfileRealNameVerificationInfoResponse, <-chan error) { - responseChan := make(chan *QueryRegistrantProfileRealNameVerificationInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryRegistrantProfileRealNameVerificationInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryRegistrantProfileRealNameVerificationInfoWithCallback invokes the domain.QueryRegistrantProfileRealNameVerificationInfo API asynchronously -func (client *Client) QueryRegistrantProfileRealNameVerificationInfoWithCallback(request *QueryRegistrantProfileRealNameVerificationInfoRequest, callback func(response *QueryRegistrantProfileRealNameVerificationInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryRegistrantProfileRealNameVerificationInfoResponse - var err error - defer close(result) - response, err = client.QueryRegistrantProfileRealNameVerificationInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryRegistrantProfileRealNameVerificationInfoRequest is the request struct for api QueryRegistrantProfileRealNameVerificationInfo -type QueryRegistrantProfileRealNameVerificationInfoRequest struct { - *requests.RpcRequest - FetchImage requests.Boolean `position:"Query" name:"FetchImage"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryRegistrantProfileRealNameVerificationInfoResponse is the response struct for api QueryRegistrantProfileRealNameVerificationInfo -type QueryRegistrantProfileRealNameVerificationInfoResponse struct { - *responses.BaseResponse - IdentityCredentialType string `json:"IdentityCredentialType" xml:"IdentityCredentialType"` - RequestId string `json:"RequestId" xml:"RequestId"` - ModificationDate string `json:"ModificationDate" xml:"ModificationDate"` - IdentityCredential string `json:"IdentityCredential" xml:"IdentityCredential"` - SubmissionDate string `json:"SubmissionDate" xml:"SubmissionDate"` - IdentityCredentialNo string `json:"IdentityCredentialNo" xml:"IdentityCredentialNo"` - RegistrantProfileId int64 `json:"RegistrantProfileId" xml:"RegistrantProfileId"` - IdentityCredentialUrl string `json:"IdentityCredentialUrl" xml:"IdentityCredentialUrl"` -} - -// CreateQueryRegistrantProfileRealNameVerificationInfoRequest creates a request to invoke QueryRegistrantProfileRealNameVerificationInfo API -func CreateQueryRegistrantProfileRealNameVerificationInfoRequest() (request *QueryRegistrantProfileRealNameVerificationInfoRequest) { - request = &QueryRegistrantProfileRealNameVerificationInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryRegistrantProfileRealNameVerificationInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryRegistrantProfileRealNameVerificationInfoResponse creates a response to parse from QueryRegistrantProfileRealNameVerificationInfo response -func CreateQueryRegistrantProfileRealNameVerificationInfoResponse() (response *QueryRegistrantProfileRealNameVerificationInfoResponse) { - response = &QueryRegistrantProfileRealNameVerificationInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_registrant_profiles.go b/services/domain/query_registrant_profiles.go deleted file mode 100644 index deef31725..000000000 --- a/services/domain/query_registrant_profiles.go +++ /dev/null @@ -1,117 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryRegistrantProfiles invokes the domain.QueryRegistrantProfiles API synchronously -func (client *Client) QueryRegistrantProfiles(request *QueryRegistrantProfilesRequest) (response *QueryRegistrantProfilesResponse, err error) { - response = CreateQueryRegistrantProfilesResponse() - err = client.DoAction(request, response) - return -} - -// QueryRegistrantProfilesWithChan invokes the domain.QueryRegistrantProfiles API asynchronously -func (client *Client) QueryRegistrantProfilesWithChan(request *QueryRegistrantProfilesRequest) (<-chan *QueryRegistrantProfilesResponse, <-chan error) { - responseChan := make(chan *QueryRegistrantProfilesResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryRegistrantProfiles(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryRegistrantProfilesWithCallback invokes the domain.QueryRegistrantProfiles API asynchronously -func (client *Client) QueryRegistrantProfilesWithCallback(request *QueryRegistrantProfilesRequest, callback func(response *QueryRegistrantProfilesResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryRegistrantProfilesResponse - var err error - defer close(result) - response, err = client.QueryRegistrantProfiles(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryRegistrantProfilesRequest is the request struct for api QueryRegistrantProfiles -type QueryRegistrantProfilesRequest struct { - *requests.RpcRequest - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - RealNameStatus string `position:"Query" name:"RealNameStatus"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - RegistrantType string `position:"Query" name:"RegistrantType"` - RegistrantProfileType string `position:"Query" name:"RegistrantProfileType"` - DefaultRegistrantProfile requests.Boolean `position:"Query" name:"DefaultRegistrantProfile"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// QueryRegistrantProfilesResponse is the response struct for api QueryRegistrantProfiles -type QueryRegistrantProfilesResponse struct { - *responses.BaseResponse - NextPage bool `json:"NextPage" xml:"NextPage"` - RequestId string `json:"RequestId" xml:"RequestId"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - PageSize int `json:"PageSize" xml:"PageSize"` - RegistrantProfiles RegistrantProfiles `json:"RegistrantProfiles" xml:"RegistrantProfiles"` -} - -// CreateQueryRegistrantProfilesRequest creates a request to invoke QueryRegistrantProfiles API -func CreateQueryRegistrantProfilesRequest() (request *QueryRegistrantProfilesRequest) { - request = &QueryRegistrantProfilesRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryRegistrantProfiles", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryRegistrantProfilesResponse creates a response to parse from QueryRegistrantProfiles response -func CreateQueryRegistrantProfilesResponse() (response *QueryRegistrantProfilesResponse) { - response = &QueryRegistrantProfilesResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_server_lock.go b/services/domain/query_server_lock.go deleted file mode 100644 index 9e23b1776..000000000 --- a/services/domain/query_server_lock.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryServerLock invokes the domain.QueryServerLock API synchronously -func (client *Client) QueryServerLock(request *QueryServerLockRequest) (response *QueryServerLockResponse, err error) { - response = CreateQueryServerLockResponse() - err = client.DoAction(request, response) - return -} - -// QueryServerLockWithChan invokes the domain.QueryServerLock API asynchronously -func (client *Client) QueryServerLockWithChan(request *QueryServerLockRequest) (<-chan *QueryServerLockResponse, <-chan error) { - responseChan := make(chan *QueryServerLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryServerLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryServerLockWithCallback invokes the domain.QueryServerLock API asynchronously -func (client *Client) QueryServerLockWithCallback(request *QueryServerLockRequest, callback func(response *QueryServerLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryServerLockResponse - var err error - defer close(result) - response, err = client.QueryServerLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryServerLockRequest is the request struct for api QueryServerLock -type QueryServerLockRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryServerLockResponse is the response struct for api QueryServerLock -type QueryServerLockResponse struct { - *responses.BaseResponse - StartDate string `json:"StartDate" xml:"StartDate"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - RequestId string `json:"RequestId" xml:"RequestId"` - ExpireDate string `json:"ExpireDate" xml:"ExpireDate"` - DomainName string `json:"DomainName" xml:"DomainName"` - UserId string `json:"UserId" xml:"UserId"` - GmtModified string `json:"GmtModified" xml:"GmtModified"` - DomainInstanceId string `json:"DomainInstanceId" xml:"DomainInstanceId"` - LockInstanceId string `json:"LockInstanceId" xml:"LockInstanceId"` - ServerLockStatus int `json:"ServerLockStatus" xml:"ServerLockStatus"` - LockProductId string `json:"LockProductId" xml:"LockProductId"` -} - -// CreateQueryServerLockRequest creates a request to invoke QueryServerLock API -func CreateQueryServerLockRequest() (request *QueryServerLockRequest) { - request = &QueryServerLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryServerLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryServerLockResponse creates a response to parse from QueryServerLock response -func CreateQueryServerLockResponse() (response *QueryServerLockResponse) { - response = &QueryServerLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_task_detail_history.go b/services/domain/query_task_detail_history.go deleted file mode 100644 index 8045be4ed..000000000 --- a/services/domain/query_task_detail_history.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTaskDetailHistory invokes the domain.QueryTaskDetailHistory API synchronously -func (client *Client) QueryTaskDetailHistory(request *QueryTaskDetailHistoryRequest) (response *QueryTaskDetailHistoryResponse, err error) { - response = CreateQueryTaskDetailHistoryResponse() - err = client.DoAction(request, response) - return -} - -// QueryTaskDetailHistoryWithChan invokes the domain.QueryTaskDetailHistory API asynchronously -func (client *Client) QueryTaskDetailHistoryWithChan(request *QueryTaskDetailHistoryRequest) (<-chan *QueryTaskDetailHistoryResponse, <-chan error) { - responseChan := make(chan *QueryTaskDetailHistoryResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTaskDetailHistory(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTaskDetailHistoryWithCallback invokes the domain.QueryTaskDetailHistory API asynchronously -func (client *Client) QueryTaskDetailHistoryWithCallback(request *QueryTaskDetailHistoryRequest, callback func(response *QueryTaskDetailHistoryResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTaskDetailHistoryResponse - var err error - defer close(result) - response, err = client.QueryTaskDetailHistory(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTaskDetailHistoryRequest is the request struct for api QueryTaskDetailHistory -type QueryTaskDetailHistoryRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - TaskStatus requests.Integer `position:"Query" name:"TaskStatus"` - UserClientIp string `position:"Query" name:"UserClientIp"` - TaskNo string `position:"Query" name:"TaskNo"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - TaskDetailNoCursor string `position:"Query" name:"TaskDetailNoCursor"` - Lang string `position:"Query" name:"Lang"` - DomainNameCursor string `position:"Query" name:"DomainNameCursor"` -} - -// QueryTaskDetailHistoryResponse is the response struct for api QueryTaskDetailHistory -type QueryTaskDetailHistoryResponse struct { - *responses.BaseResponse - PageSize int `json:"PageSize" xml:"PageSize"` - RequestId string `json:"RequestId" xml:"RequestId"` - CurrentPageCursor CurrentPageCursor `json:"CurrentPageCursor" xml:"CurrentPageCursor"` - PrePageCursor PrePageCursor `json:"PrePageCursor" xml:"PrePageCursor"` - NextPageCursor NextPageCursor `json:"NextPageCursor" xml:"NextPageCursor"` - Objects []TaskDetailHistory `json:"Objects" xml:"Objects"` -} - -// CreateQueryTaskDetailHistoryRequest creates a request to invoke QueryTaskDetailHistory API -func CreateQueryTaskDetailHistoryRequest() (request *QueryTaskDetailHistoryRequest) { - request = &QueryTaskDetailHistoryRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTaskDetailHistory", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTaskDetailHistoryResponse creates a response to parse from QueryTaskDetailHistory response -func CreateQueryTaskDetailHistoryResponse() (response *QueryTaskDetailHistoryResponse) { - response = &QueryTaskDetailHistoryResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_task_detail_list.go b/services/domain/query_task_detail_list.go deleted file mode 100644 index 6c3a27d62..000000000 --- a/services/domain/query_task_detail_list.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTaskDetailList invokes the domain.QueryTaskDetailList API synchronously -func (client *Client) QueryTaskDetailList(request *QueryTaskDetailListRequest) (response *QueryTaskDetailListResponse, err error) { - response = CreateQueryTaskDetailListResponse() - err = client.DoAction(request, response) - return -} - -// QueryTaskDetailListWithChan invokes the domain.QueryTaskDetailList API asynchronously -func (client *Client) QueryTaskDetailListWithChan(request *QueryTaskDetailListRequest) (<-chan *QueryTaskDetailListResponse, <-chan error) { - responseChan := make(chan *QueryTaskDetailListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTaskDetailList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTaskDetailListWithCallback invokes the domain.QueryTaskDetailList API asynchronously -func (client *Client) QueryTaskDetailListWithCallback(request *QueryTaskDetailListRequest, callback func(response *QueryTaskDetailListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTaskDetailListResponse - var err error - defer close(result) - response, err = client.QueryTaskDetailList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTaskDetailListRequest is the request struct for api QueryTaskDetailList -type QueryTaskDetailListRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - TaskStatus requests.Integer `position:"Query" name:"TaskStatus"` - InstanceId string `position:"Query" name:"InstanceId"` - TaskNo string `position:"Query" name:"TaskNo"` - UserClientIp string `position:"Query" name:"UserClientIp"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryTaskDetailListResponse is the response struct for api QueryTaskDetailList -type QueryTaskDetailListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryTaskDetailList `json:"Data" xml:"Data"` -} - -// CreateQueryTaskDetailListRequest creates a request to invoke QueryTaskDetailList API -func CreateQueryTaskDetailListRequest() (request *QueryTaskDetailListRequest) { - request = &QueryTaskDetailListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTaskDetailList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTaskDetailListResponse creates a response to parse from QueryTaskDetailList response -func CreateQueryTaskDetailListResponse() (response *QueryTaskDetailListResponse) { - response = &QueryTaskDetailListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_task_info_history.go b/services/domain/query_task_info_history.go deleted file mode 100644 index e376a0bbb..000000000 --- a/services/domain/query_task_info_history.go +++ /dev/null @@ -1,110 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTaskInfoHistory invokes the domain.QueryTaskInfoHistory API synchronously -func (client *Client) QueryTaskInfoHistory(request *QueryTaskInfoHistoryRequest) (response *QueryTaskInfoHistoryResponse, err error) { - response = CreateQueryTaskInfoHistoryResponse() - err = client.DoAction(request, response) - return -} - -// QueryTaskInfoHistoryWithChan invokes the domain.QueryTaskInfoHistory API asynchronously -func (client *Client) QueryTaskInfoHistoryWithChan(request *QueryTaskInfoHistoryRequest) (<-chan *QueryTaskInfoHistoryResponse, <-chan error) { - responseChan := make(chan *QueryTaskInfoHistoryResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTaskInfoHistory(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTaskInfoHistoryWithCallback invokes the domain.QueryTaskInfoHistory API asynchronously -func (client *Client) QueryTaskInfoHistoryWithCallback(request *QueryTaskInfoHistoryRequest, callback func(response *QueryTaskInfoHistoryResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTaskInfoHistoryResponse - var err error - defer close(result) - response, err = client.QueryTaskInfoHistory(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTaskInfoHistoryRequest is the request struct for api QueryTaskInfoHistory -type QueryTaskInfoHistoryRequest struct { - *requests.RpcRequest - EndCreateTime requests.Integer `position:"Query" name:"EndCreateTime"` - BeginCreateTime requests.Integer `position:"Query" name:"BeginCreateTime"` - TaskNoCursor string `position:"Query" name:"TaskNoCursor"` - UserClientIp string `position:"Query" name:"UserClientIp"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` - CreateTimeCursor requests.Integer `position:"Query" name:"CreateTimeCursor"` -} - -// QueryTaskInfoHistoryResponse is the response struct for api QueryTaskInfoHistory -type QueryTaskInfoHistoryResponse struct { - *responses.BaseResponse - PageSize int `json:"PageSize" xml:"PageSize"` - RequestId string `json:"RequestId" xml:"RequestId"` - CurrentPageCursor CurrentPageCursor `json:"CurrentPageCursor" xml:"CurrentPageCursor"` - PrePageCursor PrePageCursor `json:"PrePageCursor" xml:"PrePageCursor"` - NextPageCursor NextPageCursor `json:"NextPageCursor" xml:"NextPageCursor"` - Objects []TaskInfoHistory `json:"Objects" xml:"Objects"` -} - -// CreateQueryTaskInfoHistoryRequest creates a request to invoke QueryTaskInfoHistory API -func CreateQueryTaskInfoHistoryRequest() (request *QueryTaskInfoHistoryRequest) { - request = &QueryTaskInfoHistoryRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTaskInfoHistory", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTaskInfoHistoryResponse creates a response to parse from QueryTaskInfoHistory response -func CreateQueryTaskInfoHistoryResponse() (response *QueryTaskInfoHistoryResponse) { - response = &QueryTaskInfoHistoryResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_task_list.go b/services/domain/query_task_list.go deleted file mode 100644 index 6a9a6d3a4..000000000 --- a/services/domain/query_task_list.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTaskList invokes the domain.QueryTaskList API synchronously -func (client *Client) QueryTaskList(request *QueryTaskListRequest) (response *QueryTaskListResponse, err error) { - response = CreateQueryTaskListResponse() - err = client.DoAction(request, response) - return -} - -// QueryTaskListWithChan invokes the domain.QueryTaskList API asynchronously -func (client *Client) QueryTaskListWithChan(request *QueryTaskListRequest) (<-chan *QueryTaskListResponse, <-chan error) { - responseChan := make(chan *QueryTaskListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTaskList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTaskListWithCallback invokes the domain.QueryTaskList API asynchronously -func (client *Client) QueryTaskListWithCallback(request *QueryTaskListRequest, callback func(response *QueryTaskListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTaskListResponse - var err error - defer close(result) - response, err = client.QueryTaskList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTaskListRequest is the request struct for api QueryTaskList -type QueryTaskListRequest struct { - *requests.RpcRequest - EndCreateTime requests.Integer `position:"Query" name:"EndCreateTime"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - BeginCreateTime requests.Integer `position:"Query" name:"BeginCreateTime"` - UserClientIp string `position:"Query" name:"UserClientIp"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryTaskListResponse is the response struct for api QueryTaskList -type QueryTaskListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryTaskList `json:"Data" xml:"Data"` -} - -// CreateQueryTaskListRequest creates a request to invoke QueryTaskList API -func CreateQueryTaskListRequest() (request *QueryTaskListRequest) { - request = &QueryTaskListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTaskList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTaskListResponse creates a response to parse from QueryTaskList response -func CreateQueryTaskListResponse() (response *QueryTaskListResponse) { - response = &QueryTaskListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_transfer_in_by_instance_id.go b/services/domain/query_transfer_in_by_instance_id.go deleted file mode 100644 index 34df23185..000000000 --- a/services/domain/query_transfer_in_by_instance_id.go +++ /dev/null @@ -1,122 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTransferInByInstanceId invokes the domain.QueryTransferInByInstanceId API synchronously -func (client *Client) QueryTransferInByInstanceId(request *QueryTransferInByInstanceIdRequest) (response *QueryTransferInByInstanceIdResponse, err error) { - response = CreateQueryTransferInByInstanceIdResponse() - err = client.DoAction(request, response) - return -} - -// QueryTransferInByInstanceIdWithChan invokes the domain.QueryTransferInByInstanceId API asynchronously -func (client *Client) QueryTransferInByInstanceIdWithChan(request *QueryTransferInByInstanceIdRequest) (<-chan *QueryTransferInByInstanceIdResponse, <-chan error) { - responseChan := make(chan *QueryTransferInByInstanceIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTransferInByInstanceId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTransferInByInstanceIdWithCallback invokes the domain.QueryTransferInByInstanceId API asynchronously -func (client *Client) QueryTransferInByInstanceIdWithCallback(request *QueryTransferInByInstanceIdRequest, callback func(response *QueryTransferInByInstanceIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTransferInByInstanceIdResponse - var err error - defer close(result) - response, err = client.QueryTransferInByInstanceId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTransferInByInstanceIdRequest is the request struct for api QueryTransferInByInstanceId -type QueryTransferInByInstanceIdRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryTransferInByInstanceIdResponse is the response struct for api QueryTransferInByInstanceId -type QueryTransferInByInstanceIdResponse struct { - *responses.BaseResponse - Status int `json:"Status" xml:"Status"` - TransferAuthorizationCodeSubmissionDate string `json:"TransferAuthorizationCodeSubmissionDate" xml:"TransferAuthorizationCodeSubmissionDate"` - Email string `json:"Email" xml:"Email"` - ProgressBarType int `json:"ProgressBarType" xml:"ProgressBarType"` - RequestId string `json:"RequestId" xml:"RequestId"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - DomainName string `json:"DomainName" xml:"DomainName"` - SubmissionDateLong int64 `json:"SubmissionDateLong" xml:"SubmissionDateLong"` - SubmissionDate string `json:"SubmissionDate" xml:"SubmissionDate"` - SimpleTransferInStatus string `json:"SimpleTransferInStatus" xml:"SimpleTransferInStatus"` - TransferAuthorizationCodeSubmissionDateLong int64 `json:"TransferAuthorizationCodeSubmissionDateLong" xml:"TransferAuthorizationCodeSubmissionDateLong"` - ExpirationDateLong int64 `json:"ExpirationDateLong" xml:"ExpirationDateLong"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - NeedMailCheck bool `json:"NeedMailCheck" xml:"NeedMailCheck"` - UserId string `json:"UserId" xml:"UserId"` - ModificationDate string `json:"ModificationDate" xml:"ModificationDate"` - ResultDateLong int64 `json:"ResultDateLong" xml:"ResultDateLong"` - ResultMsg string `json:"ResultMsg" xml:"ResultMsg"` - WhoisMailStatus bool `json:"WhoisMailStatus" xml:"WhoisMailStatus"` - ModificationDateLong int64 `json:"ModificationDateLong" xml:"ModificationDateLong"` - ResultCode string `json:"ResultCode" xml:"ResultCode"` - ResultDate string `json:"ResultDate" xml:"ResultDate"` -} - -// CreateQueryTransferInByInstanceIdRequest creates a request to invoke QueryTransferInByInstanceId API -func CreateQueryTransferInByInstanceIdRequest() (request *QueryTransferInByInstanceIdRequest) { - request = &QueryTransferInByInstanceIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTransferInByInstanceId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTransferInByInstanceIdResponse creates a response to parse from QueryTransferInByInstanceId response -func CreateQueryTransferInByInstanceIdResponse() (response *QueryTransferInByInstanceIdResponse) { - response = &QueryTransferInByInstanceIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_transfer_in_list.go b/services/domain/query_transfer_in_list.go deleted file mode 100644 index a84e42018..000000000 --- a/services/domain/query_transfer_in_list.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTransferInList invokes the domain.QueryTransferInList API synchronously -func (client *Client) QueryTransferInList(request *QueryTransferInListRequest) (response *QueryTransferInListResponse, err error) { - response = CreateQueryTransferInListResponse() - err = client.DoAction(request, response) - return -} - -// QueryTransferInListWithChan invokes the domain.QueryTransferInList API asynchronously -func (client *Client) QueryTransferInListWithChan(request *QueryTransferInListRequest) (<-chan *QueryTransferInListResponse, <-chan error) { - responseChan := make(chan *QueryTransferInListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTransferInList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTransferInListWithCallback invokes the domain.QueryTransferInList API asynchronously -func (client *Client) QueryTransferInListWithCallback(request *QueryTransferInListRequest, callback func(response *QueryTransferInListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTransferInListResponse - var err error - defer close(result) - response, err = client.QueryTransferInList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTransferInListRequest is the request struct for api QueryTransferInList -type QueryTransferInListRequest struct { - *requests.RpcRequest - SubmissionStartDate requests.Integer `position:"Query" name:"SubmissionStartDate"` - SubmissionEndDate requests.Integer `position:"Query" name:"SubmissionEndDate"` - DomainName string `position:"Query" name:"DomainName"` - PageNum requests.Integer `position:"Query" name:"PageNum"` - UserClientIp string `position:"Query" name:"UserClientIp"` - SimpleTransferInStatus string `position:"Query" name:"SimpleTransferInStatus"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryTransferInListResponse is the response struct for api QueryTransferInList -type QueryTransferInListResponse struct { - *responses.BaseResponse - PrePage bool `json:"PrePage" xml:"PrePage"` - CurrentPageNum int `json:"CurrentPageNum" xml:"CurrentPageNum"` - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - TotalPageNum int `json:"TotalPageNum" xml:"TotalPageNum"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - NextPage bool `json:"NextPage" xml:"NextPage"` - Data DataInQueryTransferInList `json:"Data" xml:"Data"` -} - -// CreateQueryTransferInListRequest creates a request to invoke QueryTransferInList API -func CreateQueryTransferInListRequest() (request *QueryTransferInListRequest) { - request = &QueryTransferInListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTransferInList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTransferInListResponse creates a response to parse from QueryTransferInList response -func CreateQueryTransferInListResponse() (response *QueryTransferInListResponse) { - response = &QueryTransferInListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/query_transfer_out_info.go b/services/domain/query_transfer_out_info.go deleted file mode 100644 index 81f2609af..000000000 --- a/services/domain/query_transfer_out_info.go +++ /dev/null @@ -1,108 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// QueryTransferOutInfo invokes the domain.QueryTransferOutInfo API synchronously -func (client *Client) QueryTransferOutInfo(request *QueryTransferOutInfoRequest) (response *QueryTransferOutInfoResponse, err error) { - response = CreateQueryTransferOutInfoResponse() - err = client.DoAction(request, response) - return -} - -// QueryTransferOutInfoWithChan invokes the domain.QueryTransferOutInfo API asynchronously -func (client *Client) QueryTransferOutInfoWithChan(request *QueryTransferOutInfoRequest) (<-chan *QueryTransferOutInfoResponse, <-chan error) { - responseChan := make(chan *QueryTransferOutInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.QueryTransferOutInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// QueryTransferOutInfoWithCallback invokes the domain.QueryTransferOutInfo API asynchronously -func (client *Client) QueryTransferOutInfoWithCallback(request *QueryTransferOutInfoRequest, callback func(response *QueryTransferOutInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *QueryTransferOutInfoResponse - var err error - defer close(result) - response, err = client.QueryTransferOutInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// QueryTransferOutInfoRequest is the request struct for api QueryTransferOutInfo -type QueryTransferOutInfoRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// QueryTransferOutInfoResponse is the response struct for api QueryTransferOutInfo -type QueryTransferOutInfoResponse struct { - *responses.BaseResponse - Status int `json:"Status" xml:"Status"` - Email string `json:"Email" xml:"Email"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - RequestId string `json:"RequestId" xml:"RequestId"` - ResultMsg string `json:"ResultMsg" xml:"ResultMsg"` - PendingRequestDate string `json:"PendingRequestDate" xml:"PendingRequestDate"` - ResultCode string `json:"ResultCode" xml:"ResultCode"` - TransferAuthorizationCodeSendDate string `json:"TransferAuthorizationCodeSendDate" xml:"TransferAuthorizationCodeSendDate"` -} - -// CreateQueryTransferOutInfoRequest creates a request to invoke QueryTransferOutInfo API -func CreateQueryTransferOutInfoRequest() (request *QueryTransferOutInfoRequest) { - request = &QueryTransferOutInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "QueryTransferOutInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateQueryTransferOutInfoResponse creates a response to parse from QueryTransferOutInfo response -func CreateQueryTransferOutInfoResponse() (response *QueryTransferOutInfoResponse) { - response = &QueryTransferOutInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/record_demand.go b/services/domain/record_demand.go index 4332b6f9b..f9fae3534 100644 --- a/services/domain/record_demand.go +++ b/services/domain/record_demand.go @@ -71,8 +71,8 @@ func (client *Client) RecordDemandWithCallback(request *RecordDemandRequest, cal // RecordDemandRequest is the request struct for api RecordDemand type RecordDemandRequest struct { *requests.RpcRequest - BizId string `position:"Query" name:"BizId"` Message string `position:"Query" name:"Message"` + BizId string `position:"Query" name:"BizId"` } // RecordDemandResponse is the response struct for api RecordDemand diff --git a/services/domain/refuse_demand.go b/services/domain/refuse_demand.go index ca0693a53..a6595040c 100644 --- a/services/domain/refuse_demand.go +++ b/services/domain/refuse_demand.go @@ -71,8 +71,8 @@ func (client *Client) RefuseDemandWithCallback(request *RefuseDemandRequest, cal // RefuseDemandRequest is the request struct for api RefuseDemand type RefuseDemandRequest struct { *requests.RpcRequest - BizId string `position:"Query" name:"BizId"` Message string `position:"Query" name:"Message"` + BizId string `position:"Query" name:"BizId"` } // RefuseDemandResponse is the response struct for api RefuseDemand diff --git a/services/domain/registrant_profile_real_name_verification.go b/services/domain/registrant_profile_real_name_verification.go deleted file mode 100644 index f5c2b8933..000000000 --- a/services/domain/registrant_profile_real_name_verification.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// RegistrantProfileRealNameVerification invokes the domain.RegistrantProfileRealNameVerification API synchronously -func (client *Client) RegistrantProfileRealNameVerification(request *RegistrantProfileRealNameVerificationRequest) (response *RegistrantProfileRealNameVerificationResponse, err error) { - response = CreateRegistrantProfileRealNameVerificationResponse() - err = client.DoAction(request, response) - return -} - -// RegistrantProfileRealNameVerificationWithChan invokes the domain.RegistrantProfileRealNameVerification API asynchronously -func (client *Client) RegistrantProfileRealNameVerificationWithChan(request *RegistrantProfileRealNameVerificationRequest) (<-chan *RegistrantProfileRealNameVerificationResponse, <-chan error) { - responseChan := make(chan *RegistrantProfileRealNameVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.RegistrantProfileRealNameVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// RegistrantProfileRealNameVerificationWithCallback invokes the domain.RegistrantProfileRealNameVerification API asynchronously -func (client *Client) RegistrantProfileRealNameVerificationWithCallback(request *RegistrantProfileRealNameVerificationRequest, callback func(response *RegistrantProfileRealNameVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *RegistrantProfileRealNameVerificationResponse - var err error - defer close(result) - response, err = client.RegistrantProfileRealNameVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// RegistrantProfileRealNameVerificationRequest is the request struct for api RegistrantProfileRealNameVerification -type RegistrantProfileRealNameVerificationRequest struct { - *requests.RpcRequest - IdentityCredentialType string `position:"Query" name:"IdentityCredentialType"` - RegistrantProfileID requests.Integer `position:"Query" name:"RegistrantProfileID"` - IdentityCredential string `position:"Body" name:"IdentityCredential"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - IdentityCredentialNo string `position:"Query" name:"IdentityCredentialNo"` -} - -// RegistrantProfileRealNameVerificationResponse is the response struct for api RegistrantProfileRealNameVerification -type RegistrantProfileRealNameVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateRegistrantProfileRealNameVerificationRequest creates a request to invoke RegistrantProfileRealNameVerification API -func CreateRegistrantProfileRealNameVerificationRequest() (request *RegistrantProfileRealNameVerificationRequest) { - request = &RegistrantProfileRealNameVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "RegistrantProfileRealNameVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateRegistrantProfileRealNameVerificationResponse creates a response to parse from RegistrantProfileRealNameVerification response -func CreateRegistrantProfileRealNameVerificationResponse() (response *RegistrantProfileRealNameVerificationResponse) { - response = &RegistrantProfileRealNameVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/request_pay_demand.go b/services/domain/request_pay_demand.go index 934901a88..8ee5c02c3 100644 --- a/services/domain/request_pay_demand.go +++ b/services/domain/request_pay_demand.go @@ -71,11 +71,11 @@ func (client *Client) RequestPayDemandWithCallback(request *RequestPayDemandRequ // RequestPayDemandRequest is the request struct for api RequestPayDemand type RequestPayDemandRequest struct { *requests.RpcRequest - Price requests.Float `position:"Query" name:"Price"` - BizId string `position:"Query" name:"BizId"` DomainName string `position:"Query" name:"DomainName"` ProduceType requests.Integer `position:"Query" name:"ProduceType"` Message string `position:"Query" name:"Message"` + Price requests.Float `position:"Query" name:"Price"` + BizId string `position:"Query" name:"BizId"` } // RequestPayDemandResponse is the response struct for api RequestPayDemand diff --git a/services/domain/resend_email_verification.go b/services/domain/resend_email_verification.go deleted file mode 100644 index 8c6bcfb2a..000000000 --- a/services/domain/resend_email_verification.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ResendEmailVerification invokes the domain.ResendEmailVerification API synchronously -func (client *Client) ResendEmailVerification(request *ResendEmailVerificationRequest) (response *ResendEmailVerificationResponse, err error) { - response = CreateResendEmailVerificationResponse() - err = client.DoAction(request, response) - return -} - -// ResendEmailVerificationWithChan invokes the domain.ResendEmailVerification API asynchronously -func (client *Client) ResendEmailVerificationWithChan(request *ResendEmailVerificationRequest) (<-chan *ResendEmailVerificationResponse, <-chan error) { - responseChan := make(chan *ResendEmailVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ResendEmailVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ResendEmailVerificationWithCallback invokes the domain.ResendEmailVerification API asynchronously -func (client *Client) ResendEmailVerificationWithCallback(request *ResendEmailVerificationRequest, callback func(response *ResendEmailVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ResendEmailVerificationResponse - var err error - defer close(result) - response, err = client.ResendEmailVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ResendEmailVerificationRequest is the request struct for api ResendEmailVerification -type ResendEmailVerificationRequest struct { - *requests.RpcRequest - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// ResendEmailVerificationResponse is the response struct for api ResendEmailVerification -type ResendEmailVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SuccessList []SendResult `json:"SuccessList" xml:"SuccessList"` - FailList []SendResult `json:"FailList" xml:"FailList"` -} - -// CreateResendEmailVerificationRequest creates a request to invoke ResendEmailVerification API -func CreateResendEmailVerificationRequest() (request *ResendEmailVerificationRequest) { - request = &ResendEmailVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ResendEmailVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateResendEmailVerificationResponse creates a response to parse from ResendEmailVerification response -func CreateResendEmailVerificationResponse() (response *ResendEmailVerificationResponse) { - response = &ResendEmailVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/reserve_domain.go b/services/domain/reserve_domain.go index fe7806287..e56a1d6a7 100644 --- a/services/domain/reserve_domain.go +++ b/services/domain/reserve_domain.go @@ -71,8 +71,8 @@ func (client *Client) ReserveDomainWithCallback(request *ReserveDomainRequest, c // ReserveDomainRequest is the request struct for api ReserveDomain type ReserveDomainRequest struct { *requests.RpcRequest - Channels *[]string `position:"Body" name:"Channels" type:"Repeated"` DomainName string `position:"Body" name:"DomainName"` + Channels *[]string `position:"Body" name:"Channels" type:"Repeated"` } // ReserveDomainResponse is the response struct for api ReserveDomain diff --git a/services/domain/reset_qualification_verification.go b/services/domain/reset_qualification_verification.go deleted file mode 100644 index a53af10e4..000000000 --- a/services/domain/reset_qualification_verification.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ResetQualificationVerification invokes the domain.ResetQualificationVerification API synchronously -func (client *Client) ResetQualificationVerification(request *ResetQualificationVerificationRequest) (response *ResetQualificationVerificationResponse, err error) { - response = CreateResetQualificationVerificationResponse() - err = client.DoAction(request, response) - return -} - -// ResetQualificationVerificationWithChan invokes the domain.ResetQualificationVerification API asynchronously -func (client *Client) ResetQualificationVerificationWithChan(request *ResetQualificationVerificationRequest) (<-chan *ResetQualificationVerificationResponse, <-chan error) { - responseChan := make(chan *ResetQualificationVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ResetQualificationVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ResetQualificationVerificationWithCallback invokes the domain.ResetQualificationVerification API asynchronously -func (client *Client) ResetQualificationVerificationWithCallback(request *ResetQualificationVerificationRequest, callback func(response *ResetQualificationVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ResetQualificationVerificationResponse - var err error - defer close(result) - response, err = client.ResetQualificationVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ResetQualificationVerificationRequest is the request struct for api ResetQualificationVerification -type ResetQualificationVerificationRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// ResetQualificationVerificationResponse is the response struct for api ResetQualificationVerification -type ResetQualificationVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateResetQualificationVerificationRequest creates a request to invoke ResetQualificationVerification API -func CreateResetQualificationVerificationRequest() (request *ResetQualificationVerificationRequest) { - request = &ResetQualificationVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ResetQualificationVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateResetQualificationVerificationResponse creates a response to parse from ResetQualificationVerification response -func CreateResetQualificationVerificationResponse() (response *ResetQualificationVerificationResponse) { - response = &ResetQualificationVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_domain_remark.go b/services/domain/save_batch_domain_remark.go deleted file mode 100644 index a355fd01d..000000000 --- a/services/domain/save_batch_domain_remark.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchDomainRemark invokes the domain.SaveBatchDomainRemark API synchronously -func (client *Client) SaveBatchDomainRemark(request *SaveBatchDomainRemarkRequest) (response *SaveBatchDomainRemarkResponse, err error) { - response = CreateSaveBatchDomainRemarkResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchDomainRemarkWithChan invokes the domain.SaveBatchDomainRemark API asynchronously -func (client *Client) SaveBatchDomainRemarkWithChan(request *SaveBatchDomainRemarkRequest) (<-chan *SaveBatchDomainRemarkResponse, <-chan error) { - responseChan := make(chan *SaveBatchDomainRemarkResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchDomainRemark(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchDomainRemarkWithCallback invokes the domain.SaveBatchDomainRemark API asynchronously -func (client *Client) SaveBatchDomainRemarkWithCallback(request *SaveBatchDomainRemarkRequest, callback func(response *SaveBatchDomainRemarkResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchDomainRemarkResponse - var err error - defer close(result) - response, err = client.SaveBatchDomainRemark(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchDomainRemarkRequest is the request struct for api SaveBatchDomainRemark -type SaveBatchDomainRemarkRequest struct { - *requests.RpcRequest - Remark string `position:"Query" name:"Remark"` - InstanceIds string `position:"Query" name:"InstanceIds"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveBatchDomainRemarkResponse is the response struct for api SaveBatchDomainRemark -type SaveBatchDomainRemarkResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSaveBatchDomainRemarkRequest creates a request to invoke SaveBatchDomainRemark API -func CreateSaveBatchDomainRemarkRequest() (request *SaveBatchDomainRemarkRequest) { - request = &SaveBatchDomainRemarkRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchDomainRemark", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchDomainRemarkResponse creates a response to parse from SaveBatchDomainRemark response -func CreateSaveBatchDomainRemarkResponse() (response *SaveBatchDomainRemarkResponse) { - response = &SaveBatchDomainRemarkResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_apply_quick_transfer_out_openly.go b/services/domain/save_batch_task_for_apply_quick_transfer_out_openly.go deleted file mode 100644 index c1a4b33ab..000000000 --- a/services/domain/save_batch_task_for_apply_quick_transfer_out_openly.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForApplyQuickTransferOutOpenly invokes the domain.SaveBatchTaskForApplyQuickTransferOutOpenly API synchronously -func (client *Client) SaveBatchTaskForApplyQuickTransferOutOpenly(request *SaveBatchTaskForApplyQuickTransferOutOpenlyRequest) (response *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse, err error) { - response = CreateSaveBatchTaskForApplyQuickTransferOutOpenlyResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForApplyQuickTransferOutOpenlyWithChan invokes the domain.SaveBatchTaskForApplyQuickTransferOutOpenly API asynchronously -func (client *Client) SaveBatchTaskForApplyQuickTransferOutOpenlyWithChan(request *SaveBatchTaskForApplyQuickTransferOutOpenlyRequest) (<-chan *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForApplyQuickTransferOutOpenly(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForApplyQuickTransferOutOpenlyWithCallback invokes the domain.SaveBatchTaskForApplyQuickTransferOutOpenly API asynchronously -func (client *Client) SaveBatchTaskForApplyQuickTransferOutOpenlyWithCallback(request *SaveBatchTaskForApplyQuickTransferOutOpenlyRequest, callback func(response *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForApplyQuickTransferOutOpenly(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForApplyQuickTransferOutOpenlyRequest is the request struct for api SaveBatchTaskForApplyQuickTransferOutOpenly -type SaveBatchTaskForApplyQuickTransferOutOpenlyRequest struct { - *requests.RpcRequest - DomainNames *[]string `position:"Query" name:"DomainNames" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveBatchTaskForApplyQuickTransferOutOpenlyResponse is the response struct for api SaveBatchTaskForApplyQuickTransferOutOpenly -type SaveBatchTaskForApplyQuickTransferOutOpenlyResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForApplyQuickTransferOutOpenlyRequest creates a request to invoke SaveBatchTaskForApplyQuickTransferOutOpenly API -func CreateSaveBatchTaskForApplyQuickTransferOutOpenlyRequest() (request *SaveBatchTaskForApplyQuickTransferOutOpenlyRequest) { - request = &SaveBatchTaskForApplyQuickTransferOutOpenlyRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForApplyQuickTransferOutOpenly", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForApplyQuickTransferOutOpenlyResponse creates a response to parse from SaveBatchTaskForApplyQuickTransferOutOpenly response -func CreateSaveBatchTaskForApplyQuickTransferOutOpenlyResponse() (response *SaveBatchTaskForApplyQuickTransferOutOpenlyResponse) { - response = &SaveBatchTaskForApplyQuickTransferOutOpenlyResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_creating_order_activate.go b/services/domain/save_batch_task_for_creating_order_activate.go deleted file mode 100644 index ecd569d0c..000000000 --- a/services/domain/save_batch_task_for_creating_order_activate.go +++ /dev/null @@ -1,137 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForCreatingOrderActivate invokes the domain.SaveBatchTaskForCreatingOrderActivate API synchronously -func (client *Client) SaveBatchTaskForCreatingOrderActivate(request *SaveBatchTaskForCreatingOrderActivateRequest) (response *SaveBatchTaskForCreatingOrderActivateResponse, err error) { - response = CreateSaveBatchTaskForCreatingOrderActivateResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForCreatingOrderActivateWithChan invokes the domain.SaveBatchTaskForCreatingOrderActivate API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderActivateWithChan(request *SaveBatchTaskForCreatingOrderActivateRequest) (<-chan *SaveBatchTaskForCreatingOrderActivateResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForCreatingOrderActivateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForCreatingOrderActivate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForCreatingOrderActivateWithCallback invokes the domain.SaveBatchTaskForCreatingOrderActivate API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderActivateWithCallback(request *SaveBatchTaskForCreatingOrderActivateRequest, callback func(response *SaveBatchTaskForCreatingOrderActivateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForCreatingOrderActivateResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForCreatingOrderActivate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForCreatingOrderActivateRequest is the request struct for api SaveBatchTaskForCreatingOrderActivate -type SaveBatchTaskForCreatingOrderActivateRequest struct { - *requests.RpcRequest - OrderActivateParam *[]SaveBatchTaskForCreatingOrderActivateOrderActivateParam `position:"Query" name:"OrderActivateParam" type:"Repeated"` - CouponNo string `position:"Query" name:"CouponNo"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveBatchTaskForCreatingOrderActivateOrderActivateParam is a repeated param struct in SaveBatchTaskForCreatingOrderActivateRequest -type SaveBatchTaskForCreatingOrderActivateOrderActivateParam struct { - Country string `name:"Country"` - SubscriptionDuration string `name:"SubscriptionDuration"` - PermitPremiumActivation string `name:"PermitPremiumActivation"` - City string `name:"City"` - Dns2 string `name:"Dns2"` - Dns1 string `name:"Dns1"` - RegistrantProfileId string `name:"RegistrantProfileId"` - AliyunDns string `name:"AliyunDns"` - ZhCity string `name:"ZhCity"` - ResourceGroupId string `name:"ResourceGroupId"` - TelExt string `name:"TelExt"` - ZhRegistrantName string `name:"ZhRegistrantName"` - Province string `name:"Province"` - PostalCode string `name:"PostalCode"` - Email string `name:"Email"` - ZhRegistrantOrganization string `name:"ZhRegistrantOrganization"` - Address string `name:"Address"` - TelArea string `name:"TelArea"` - DomainName string `name:"DomainName"` - RegistrantType string `name:"RegistrantType"` - ZhAddress string `name:"ZhAddress"` - Telephone string `name:"Telephone"` - TrademarkDomainActivation string `name:"TrademarkDomainActivation"` - ZhProvince string `name:"ZhProvince"` - RegistrantOrganization string `name:"RegistrantOrganization"` - EnableDomainProxy string `name:"EnableDomainProxy"` - RegistrantName string `name:"RegistrantName"` -} - -// SaveBatchTaskForCreatingOrderActivateResponse is the response struct for api SaveBatchTaskForCreatingOrderActivate -type SaveBatchTaskForCreatingOrderActivateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForCreatingOrderActivateRequest creates a request to invoke SaveBatchTaskForCreatingOrderActivate API -func CreateSaveBatchTaskForCreatingOrderActivateRequest() (request *SaveBatchTaskForCreatingOrderActivateRequest) { - request = &SaveBatchTaskForCreatingOrderActivateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForCreatingOrderActivate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForCreatingOrderActivateResponse creates a response to parse from SaveBatchTaskForCreatingOrderActivate response -func CreateSaveBatchTaskForCreatingOrderActivateResponse() (response *SaveBatchTaskForCreatingOrderActivateResponse) { - response = &SaveBatchTaskForCreatingOrderActivateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_creating_order_redeem.go b/services/domain/save_batch_task_for_creating_order_redeem.go deleted file mode 100644 index 1c702232b..000000000 --- a/services/domain/save_batch_task_for_creating_order_redeem.go +++ /dev/null @@ -1,112 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForCreatingOrderRedeem invokes the domain.SaveBatchTaskForCreatingOrderRedeem API synchronously -func (client *Client) SaveBatchTaskForCreatingOrderRedeem(request *SaveBatchTaskForCreatingOrderRedeemRequest) (response *SaveBatchTaskForCreatingOrderRedeemResponse, err error) { - response = CreateSaveBatchTaskForCreatingOrderRedeemResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForCreatingOrderRedeemWithChan invokes the domain.SaveBatchTaskForCreatingOrderRedeem API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderRedeemWithChan(request *SaveBatchTaskForCreatingOrderRedeemRequest) (<-chan *SaveBatchTaskForCreatingOrderRedeemResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForCreatingOrderRedeemResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForCreatingOrderRedeem(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForCreatingOrderRedeemWithCallback invokes the domain.SaveBatchTaskForCreatingOrderRedeem API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderRedeemWithCallback(request *SaveBatchTaskForCreatingOrderRedeemRequest, callback func(response *SaveBatchTaskForCreatingOrderRedeemResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForCreatingOrderRedeemResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForCreatingOrderRedeem(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForCreatingOrderRedeemRequest is the request struct for api SaveBatchTaskForCreatingOrderRedeem -type SaveBatchTaskForCreatingOrderRedeemRequest struct { - *requests.RpcRequest - CouponNo string `position:"Query" name:"CouponNo"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - OrderRedeemParam *[]SaveBatchTaskForCreatingOrderRedeemOrderRedeemParam `position:"Query" name:"OrderRedeemParam" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveBatchTaskForCreatingOrderRedeemOrderRedeemParam is a repeated param struct in SaveBatchTaskForCreatingOrderRedeemRequest -type SaveBatchTaskForCreatingOrderRedeemOrderRedeemParam struct { - CurrentExpirationDate string `name:"CurrentExpirationDate"` - DomainName string `name:"DomainName"` -} - -// SaveBatchTaskForCreatingOrderRedeemResponse is the response struct for api SaveBatchTaskForCreatingOrderRedeem -type SaveBatchTaskForCreatingOrderRedeemResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForCreatingOrderRedeemRequest creates a request to invoke SaveBatchTaskForCreatingOrderRedeem API -func CreateSaveBatchTaskForCreatingOrderRedeemRequest() (request *SaveBatchTaskForCreatingOrderRedeemRequest) { - request = &SaveBatchTaskForCreatingOrderRedeemRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForCreatingOrderRedeem", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForCreatingOrderRedeemResponse creates a response to parse from SaveBatchTaskForCreatingOrderRedeem response -func CreateSaveBatchTaskForCreatingOrderRedeemResponse() (response *SaveBatchTaskForCreatingOrderRedeemResponse) { - response = &SaveBatchTaskForCreatingOrderRedeemResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_creating_order_renew.go b/services/domain/save_batch_task_for_creating_order_renew.go deleted file mode 100644 index 562fdef13..000000000 --- a/services/domain/save_batch_task_for_creating_order_renew.go +++ /dev/null @@ -1,113 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForCreatingOrderRenew invokes the domain.SaveBatchTaskForCreatingOrderRenew API synchronously -func (client *Client) SaveBatchTaskForCreatingOrderRenew(request *SaveBatchTaskForCreatingOrderRenewRequest) (response *SaveBatchTaskForCreatingOrderRenewResponse, err error) { - response = CreateSaveBatchTaskForCreatingOrderRenewResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForCreatingOrderRenewWithChan invokes the domain.SaveBatchTaskForCreatingOrderRenew API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderRenewWithChan(request *SaveBatchTaskForCreatingOrderRenewRequest) (<-chan *SaveBatchTaskForCreatingOrderRenewResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForCreatingOrderRenewResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForCreatingOrderRenew(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForCreatingOrderRenewWithCallback invokes the domain.SaveBatchTaskForCreatingOrderRenew API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderRenewWithCallback(request *SaveBatchTaskForCreatingOrderRenewRequest, callback func(response *SaveBatchTaskForCreatingOrderRenewResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForCreatingOrderRenewResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForCreatingOrderRenew(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForCreatingOrderRenewRequest is the request struct for api SaveBatchTaskForCreatingOrderRenew -type SaveBatchTaskForCreatingOrderRenewRequest struct { - *requests.RpcRequest - CouponNo string `position:"Query" name:"CouponNo"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - UserClientIp string `position:"Query" name:"UserClientIp"` - OrderRenewParam *[]SaveBatchTaskForCreatingOrderRenewOrderRenewParam `position:"Query" name:"OrderRenewParam" type:"Repeated"` - Lang string `position:"Query" name:"Lang"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveBatchTaskForCreatingOrderRenewOrderRenewParam is a repeated param struct in SaveBatchTaskForCreatingOrderRenewRequest -type SaveBatchTaskForCreatingOrderRenewOrderRenewParam struct { - SubscriptionDuration string `name:"SubscriptionDuration"` - CurrentExpirationDate string `name:"CurrentExpirationDate"` - DomainName string `name:"DomainName"` -} - -// SaveBatchTaskForCreatingOrderRenewResponse is the response struct for api SaveBatchTaskForCreatingOrderRenew -type SaveBatchTaskForCreatingOrderRenewResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForCreatingOrderRenewRequest creates a request to invoke SaveBatchTaskForCreatingOrderRenew API -func CreateSaveBatchTaskForCreatingOrderRenewRequest() (request *SaveBatchTaskForCreatingOrderRenewRequest) { - request = &SaveBatchTaskForCreatingOrderRenewRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForCreatingOrderRenew", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForCreatingOrderRenewResponse creates a response to parse from SaveBatchTaskForCreatingOrderRenew response -func CreateSaveBatchTaskForCreatingOrderRenewResponse() (response *SaveBatchTaskForCreatingOrderRenewResponse) { - response = &SaveBatchTaskForCreatingOrderRenewResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_creating_order_transfer.go b/services/domain/save_batch_task_for_creating_order_transfer.go deleted file mode 100644 index 39c6484bd..000000000 --- a/services/domain/save_batch_task_for_creating_order_transfer.go +++ /dev/null @@ -1,114 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForCreatingOrderTransfer invokes the domain.SaveBatchTaskForCreatingOrderTransfer API synchronously -func (client *Client) SaveBatchTaskForCreatingOrderTransfer(request *SaveBatchTaskForCreatingOrderTransferRequest) (response *SaveBatchTaskForCreatingOrderTransferResponse, err error) { - response = CreateSaveBatchTaskForCreatingOrderTransferResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForCreatingOrderTransferWithChan invokes the domain.SaveBatchTaskForCreatingOrderTransfer API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderTransferWithChan(request *SaveBatchTaskForCreatingOrderTransferRequest) (<-chan *SaveBatchTaskForCreatingOrderTransferResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForCreatingOrderTransferResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForCreatingOrderTransfer(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForCreatingOrderTransferWithCallback invokes the domain.SaveBatchTaskForCreatingOrderTransfer API asynchronously -func (client *Client) SaveBatchTaskForCreatingOrderTransferWithCallback(request *SaveBatchTaskForCreatingOrderTransferRequest, callback func(response *SaveBatchTaskForCreatingOrderTransferResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForCreatingOrderTransferResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForCreatingOrderTransfer(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForCreatingOrderTransferRequest is the request struct for api SaveBatchTaskForCreatingOrderTransfer -type SaveBatchTaskForCreatingOrderTransferRequest struct { - *requests.RpcRequest - OrderTransferParam *[]SaveBatchTaskForCreatingOrderTransferOrderTransferParam `position:"Query" name:"OrderTransferParam" type:"Repeated"` - CouponNo string `position:"Query" name:"CouponNo"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveBatchTaskForCreatingOrderTransferOrderTransferParam is a repeated param struct in SaveBatchTaskForCreatingOrderTransferRequest -type SaveBatchTaskForCreatingOrderTransferOrderTransferParam struct { - PermitPremiumTransfer string `name:"PermitPremiumTransfer"` - AuthorizationCode string `name:"AuthorizationCode"` - RegistrantProfileId string `name:"RegistrantProfileId"` - DomainName string `name:"DomainName"` -} - -// SaveBatchTaskForCreatingOrderTransferResponse is the response struct for api SaveBatchTaskForCreatingOrderTransfer -type SaveBatchTaskForCreatingOrderTransferResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForCreatingOrderTransferRequest creates a request to invoke SaveBatchTaskForCreatingOrderTransfer API -func CreateSaveBatchTaskForCreatingOrderTransferRequest() (request *SaveBatchTaskForCreatingOrderTransferRequest) { - request = &SaveBatchTaskForCreatingOrderTransferRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForCreatingOrderTransfer", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForCreatingOrderTransferResponse creates a response to parse from SaveBatchTaskForCreatingOrderTransfer response -func CreateSaveBatchTaskForCreatingOrderTransferResponse() (response *SaveBatchTaskForCreatingOrderTransferResponse) { - response = &SaveBatchTaskForCreatingOrderTransferResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_domain_name_proxy_service.go b/services/domain/save_batch_task_for_domain_name_proxy_service.go deleted file mode 100644 index cbe51b682..000000000 --- a/services/domain/save_batch_task_for_domain_name_proxy_service.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForDomainNameProxyService invokes the domain.SaveBatchTaskForDomainNameProxyService API synchronously -func (client *Client) SaveBatchTaskForDomainNameProxyService(request *SaveBatchTaskForDomainNameProxyServiceRequest) (response *SaveBatchTaskForDomainNameProxyServiceResponse, err error) { - response = CreateSaveBatchTaskForDomainNameProxyServiceResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForDomainNameProxyServiceWithChan invokes the domain.SaveBatchTaskForDomainNameProxyService API asynchronously -func (client *Client) SaveBatchTaskForDomainNameProxyServiceWithChan(request *SaveBatchTaskForDomainNameProxyServiceRequest) (<-chan *SaveBatchTaskForDomainNameProxyServiceResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForDomainNameProxyServiceResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForDomainNameProxyService(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForDomainNameProxyServiceWithCallback invokes the domain.SaveBatchTaskForDomainNameProxyService API asynchronously -func (client *Client) SaveBatchTaskForDomainNameProxyServiceWithCallback(request *SaveBatchTaskForDomainNameProxyServiceRequest, callback func(response *SaveBatchTaskForDomainNameProxyServiceResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForDomainNameProxyServiceResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForDomainNameProxyService(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForDomainNameProxyServiceRequest is the request struct for api SaveBatchTaskForDomainNameProxyService -type SaveBatchTaskForDomainNameProxyServiceRequest struct { - *requests.RpcRequest - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveBatchTaskForDomainNameProxyServiceResponse is the response struct for api SaveBatchTaskForDomainNameProxyService -type SaveBatchTaskForDomainNameProxyServiceResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForDomainNameProxyServiceRequest creates a request to invoke SaveBatchTaskForDomainNameProxyService API -func CreateSaveBatchTaskForDomainNameProxyServiceRequest() (request *SaveBatchTaskForDomainNameProxyServiceRequest) { - request = &SaveBatchTaskForDomainNameProxyServiceRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForDomainNameProxyService", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForDomainNameProxyServiceResponse creates a response to parse from SaveBatchTaskForDomainNameProxyService response -func CreateSaveBatchTaskForDomainNameProxyServiceResponse() (response *SaveBatchTaskForDomainNameProxyServiceResponse) { - response = &SaveBatchTaskForDomainNameProxyServiceResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_generate_domain_certificate.go b/services/domain/save_batch_task_for_generate_domain_certificate.go deleted file mode 100644 index b229b38b7..000000000 --- a/services/domain/save_batch_task_for_generate_domain_certificate.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForGenerateDomainCertificate invokes the domain.SaveBatchTaskForGenerateDomainCertificate API synchronously -func (client *Client) SaveBatchTaskForGenerateDomainCertificate(request *SaveBatchTaskForGenerateDomainCertificateRequest) (response *SaveBatchTaskForGenerateDomainCertificateResponse, err error) { - response = CreateSaveBatchTaskForGenerateDomainCertificateResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForGenerateDomainCertificateWithChan invokes the domain.SaveBatchTaskForGenerateDomainCertificate API asynchronously -func (client *Client) SaveBatchTaskForGenerateDomainCertificateWithChan(request *SaveBatchTaskForGenerateDomainCertificateRequest) (<-chan *SaveBatchTaskForGenerateDomainCertificateResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForGenerateDomainCertificateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForGenerateDomainCertificate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForGenerateDomainCertificateWithCallback invokes the domain.SaveBatchTaskForGenerateDomainCertificate API asynchronously -func (client *Client) SaveBatchTaskForGenerateDomainCertificateWithCallback(request *SaveBatchTaskForGenerateDomainCertificateRequest, callback func(response *SaveBatchTaskForGenerateDomainCertificateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForGenerateDomainCertificateResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForGenerateDomainCertificate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForGenerateDomainCertificateRequest is the request struct for api SaveBatchTaskForGenerateDomainCertificate -type SaveBatchTaskForGenerateDomainCertificateRequest struct { - *requests.RpcRequest - DomainNames *[]string `position:"Query" name:"DomainNames" type:"Json"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveBatchTaskForGenerateDomainCertificateResponse is the response struct for api SaveBatchTaskForGenerateDomainCertificate -type SaveBatchTaskForGenerateDomainCertificateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForGenerateDomainCertificateRequest creates a request to invoke SaveBatchTaskForGenerateDomainCertificate API -func CreateSaveBatchTaskForGenerateDomainCertificateRequest() (request *SaveBatchTaskForGenerateDomainCertificateRequest) { - request = &SaveBatchTaskForGenerateDomainCertificateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForGenerateDomainCertificate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForGenerateDomainCertificateResponse creates a response to parse from SaveBatchTaskForGenerateDomainCertificate response -func CreateSaveBatchTaskForGenerateDomainCertificateResponse() (response *SaveBatchTaskForGenerateDomainCertificateResponse) { - response = &SaveBatchTaskForGenerateDomainCertificateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_modifying_domain_dns.go b/services/domain/save_batch_task_for_modifying_domain_dns.go deleted file mode 100644 index 12143195c..000000000 --- a/services/domain/save_batch_task_for_modifying_domain_dns.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForModifyingDomainDns invokes the domain.SaveBatchTaskForModifyingDomainDns API synchronously -func (client *Client) SaveBatchTaskForModifyingDomainDns(request *SaveBatchTaskForModifyingDomainDnsRequest) (response *SaveBatchTaskForModifyingDomainDnsResponse, err error) { - response = CreateSaveBatchTaskForModifyingDomainDnsResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForModifyingDomainDnsWithChan invokes the domain.SaveBatchTaskForModifyingDomainDns API asynchronously -func (client *Client) SaveBatchTaskForModifyingDomainDnsWithChan(request *SaveBatchTaskForModifyingDomainDnsRequest) (<-chan *SaveBatchTaskForModifyingDomainDnsResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForModifyingDomainDnsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForModifyingDomainDns(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForModifyingDomainDnsWithCallback invokes the domain.SaveBatchTaskForModifyingDomainDns API asynchronously -func (client *Client) SaveBatchTaskForModifyingDomainDnsWithCallback(request *SaveBatchTaskForModifyingDomainDnsRequest, callback func(response *SaveBatchTaskForModifyingDomainDnsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForModifyingDomainDnsResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForModifyingDomainDns(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForModifyingDomainDnsRequest is the request struct for api SaveBatchTaskForModifyingDomainDns -type SaveBatchTaskForModifyingDomainDnsRequest struct { - *requests.RpcRequest - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - AliyunDns requests.Boolean `position:"Query" name:"AliyunDns"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DomainNameServer *[]string `position:"Query" name:"DomainNameServer" type:"Repeated"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveBatchTaskForModifyingDomainDnsResponse is the response struct for api SaveBatchTaskForModifyingDomainDns -type SaveBatchTaskForModifyingDomainDnsResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForModifyingDomainDnsRequest creates a request to invoke SaveBatchTaskForModifyingDomainDns API -func CreateSaveBatchTaskForModifyingDomainDnsRequest() (request *SaveBatchTaskForModifyingDomainDnsRequest) { - request = &SaveBatchTaskForModifyingDomainDnsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForModifyingDomainDns", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForModifyingDomainDnsResponse creates a response to parse from SaveBatchTaskForModifyingDomainDns response -func CreateSaveBatchTaskForModifyingDomainDnsResponse() (response *SaveBatchTaskForModifyingDomainDnsResponse) { - response = &SaveBatchTaskForModifyingDomainDnsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_reserve_drop_list_domain.go b/services/domain/save_batch_task_for_reserve_drop_list_domain.go deleted file mode 100644 index a2c427736..000000000 --- a/services/domain/save_batch_task_for_reserve_drop_list_domain.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForReserveDropListDomain invokes the domain.SaveBatchTaskForReserveDropListDomain API synchronously -func (client *Client) SaveBatchTaskForReserveDropListDomain(request *SaveBatchTaskForReserveDropListDomainRequest) (response *SaveBatchTaskForReserveDropListDomainResponse, err error) { - response = CreateSaveBatchTaskForReserveDropListDomainResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForReserveDropListDomainWithChan invokes the domain.SaveBatchTaskForReserveDropListDomain API asynchronously -func (client *Client) SaveBatchTaskForReserveDropListDomainWithChan(request *SaveBatchTaskForReserveDropListDomainRequest) (<-chan *SaveBatchTaskForReserveDropListDomainResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForReserveDropListDomainResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForReserveDropListDomain(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForReserveDropListDomainWithCallback invokes the domain.SaveBatchTaskForReserveDropListDomain API asynchronously -func (client *Client) SaveBatchTaskForReserveDropListDomainWithCallback(request *SaveBatchTaskForReserveDropListDomainRequest, callback func(response *SaveBatchTaskForReserveDropListDomainResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForReserveDropListDomainResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForReserveDropListDomain(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForReserveDropListDomainRequest is the request struct for api SaveBatchTaskForReserveDropListDomain -type SaveBatchTaskForReserveDropListDomainRequest struct { - *requests.RpcRequest - Domains *[]SaveBatchTaskForReserveDropListDomainDomains `position:"Query" name:"Domains" type:"Repeated"` - ContactTemplateId string `position:"Query" name:"ContactTemplateId"` -} - -// SaveBatchTaskForReserveDropListDomainDomains is a repeated param struct in SaveBatchTaskForReserveDropListDomainRequest -type SaveBatchTaskForReserveDropListDomainDomains struct { - DomainName string `name:"DomainName"` -} - -// SaveBatchTaskForReserveDropListDomainResponse is the response struct for api SaveBatchTaskForReserveDropListDomain -type SaveBatchTaskForReserveDropListDomainResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForReserveDropListDomainRequest creates a request to invoke SaveBatchTaskForReserveDropListDomain API -func CreateSaveBatchTaskForReserveDropListDomainRequest() (request *SaveBatchTaskForReserveDropListDomainRequest) { - request = &SaveBatchTaskForReserveDropListDomainRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForReserveDropListDomain", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForReserveDropListDomainResponse creates a response to parse from SaveBatchTaskForReserveDropListDomain response -func CreateSaveBatchTaskForReserveDropListDomainResponse() (response *SaveBatchTaskForReserveDropListDomainResponse) { - response = &SaveBatchTaskForReserveDropListDomainResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_transfer_prohibition_lock.go b/services/domain/save_batch_task_for_transfer_prohibition_lock.go deleted file mode 100644 index abc6c2285..000000000 --- a/services/domain/save_batch_task_for_transfer_prohibition_lock.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForTransferProhibitionLock invokes the domain.SaveBatchTaskForTransferProhibitionLock API synchronously -func (client *Client) SaveBatchTaskForTransferProhibitionLock(request *SaveBatchTaskForTransferProhibitionLockRequest) (response *SaveBatchTaskForTransferProhibitionLockResponse, err error) { - response = CreateSaveBatchTaskForTransferProhibitionLockResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForTransferProhibitionLockWithChan invokes the domain.SaveBatchTaskForTransferProhibitionLock API asynchronously -func (client *Client) SaveBatchTaskForTransferProhibitionLockWithChan(request *SaveBatchTaskForTransferProhibitionLockRequest) (<-chan *SaveBatchTaskForTransferProhibitionLockResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForTransferProhibitionLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForTransferProhibitionLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForTransferProhibitionLockWithCallback invokes the domain.SaveBatchTaskForTransferProhibitionLock API asynchronously -func (client *Client) SaveBatchTaskForTransferProhibitionLockWithCallback(request *SaveBatchTaskForTransferProhibitionLockRequest, callback func(response *SaveBatchTaskForTransferProhibitionLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForTransferProhibitionLockResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForTransferProhibitionLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForTransferProhibitionLockRequest is the request struct for api SaveBatchTaskForTransferProhibitionLock -type SaveBatchTaskForTransferProhibitionLockRequest struct { - *requests.RpcRequest - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveBatchTaskForTransferProhibitionLockResponse is the response struct for api SaveBatchTaskForTransferProhibitionLock -type SaveBatchTaskForTransferProhibitionLockResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForTransferProhibitionLockRequest creates a request to invoke SaveBatchTaskForTransferProhibitionLock API -func CreateSaveBatchTaskForTransferProhibitionLockRequest() (request *SaveBatchTaskForTransferProhibitionLockRequest) { - request = &SaveBatchTaskForTransferProhibitionLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForTransferProhibitionLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForTransferProhibitionLockResponse creates a response to parse from SaveBatchTaskForTransferProhibitionLock response -func CreateSaveBatchTaskForTransferProhibitionLockResponse() (response *SaveBatchTaskForTransferProhibitionLockResponse) { - response = &SaveBatchTaskForTransferProhibitionLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_update_prohibition_lock.go b/services/domain/save_batch_task_for_update_prohibition_lock.go deleted file mode 100644 index bf194e72b..000000000 --- a/services/domain/save_batch_task_for_update_prohibition_lock.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForUpdateProhibitionLock invokes the domain.SaveBatchTaskForUpdateProhibitionLock API synchronously -func (client *Client) SaveBatchTaskForUpdateProhibitionLock(request *SaveBatchTaskForUpdateProhibitionLockRequest) (response *SaveBatchTaskForUpdateProhibitionLockResponse, err error) { - response = CreateSaveBatchTaskForUpdateProhibitionLockResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForUpdateProhibitionLockWithChan invokes the domain.SaveBatchTaskForUpdateProhibitionLock API asynchronously -func (client *Client) SaveBatchTaskForUpdateProhibitionLockWithChan(request *SaveBatchTaskForUpdateProhibitionLockRequest) (<-chan *SaveBatchTaskForUpdateProhibitionLockResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForUpdateProhibitionLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForUpdateProhibitionLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForUpdateProhibitionLockWithCallback invokes the domain.SaveBatchTaskForUpdateProhibitionLock API asynchronously -func (client *Client) SaveBatchTaskForUpdateProhibitionLockWithCallback(request *SaveBatchTaskForUpdateProhibitionLockRequest, callback func(response *SaveBatchTaskForUpdateProhibitionLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForUpdateProhibitionLockResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForUpdateProhibitionLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForUpdateProhibitionLockRequest is the request struct for api SaveBatchTaskForUpdateProhibitionLock -type SaveBatchTaskForUpdateProhibitionLockRequest struct { - *requests.RpcRequest - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveBatchTaskForUpdateProhibitionLockResponse is the response struct for api SaveBatchTaskForUpdateProhibitionLock -type SaveBatchTaskForUpdateProhibitionLockResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForUpdateProhibitionLockRequest creates a request to invoke SaveBatchTaskForUpdateProhibitionLock API -func CreateSaveBatchTaskForUpdateProhibitionLockRequest() (request *SaveBatchTaskForUpdateProhibitionLockRequest) { - request = &SaveBatchTaskForUpdateProhibitionLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForUpdateProhibitionLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForUpdateProhibitionLockResponse creates a response to parse from SaveBatchTaskForUpdateProhibitionLock response -func CreateSaveBatchTaskForUpdateProhibitionLockResponse() (response *SaveBatchTaskForUpdateProhibitionLockResponse) { - response = &SaveBatchTaskForUpdateProhibitionLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_updating_contact_info_by_new_contact.go b/services/domain/save_batch_task_for_updating_contact_info_by_new_contact.go deleted file mode 100644 index e2daacdb1..000000000 --- a/services/domain/save_batch_task_for_updating_contact_info_by_new_contact.go +++ /dev/null @@ -1,121 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForUpdatingContactInfoByNewContact invokes the domain.SaveBatchTaskForUpdatingContactInfoByNewContact API synchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByNewContact(request *SaveBatchTaskForUpdatingContactInfoByNewContactRequest) (response *SaveBatchTaskForUpdatingContactInfoByNewContactResponse, err error) { - response = CreateSaveBatchTaskForUpdatingContactInfoByNewContactResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForUpdatingContactInfoByNewContactWithChan invokes the domain.SaveBatchTaskForUpdatingContactInfoByNewContact API asynchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByNewContactWithChan(request *SaveBatchTaskForUpdatingContactInfoByNewContactRequest) (<-chan *SaveBatchTaskForUpdatingContactInfoByNewContactResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForUpdatingContactInfoByNewContactResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForUpdatingContactInfoByNewContact(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForUpdatingContactInfoByNewContactWithCallback invokes the domain.SaveBatchTaskForUpdatingContactInfoByNewContact API asynchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByNewContactWithCallback(request *SaveBatchTaskForUpdatingContactInfoByNewContactRequest, callback func(response *SaveBatchTaskForUpdatingContactInfoByNewContactResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForUpdatingContactInfoByNewContactResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForUpdatingContactInfoByNewContact(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForUpdatingContactInfoByNewContactRequest is the request struct for api SaveBatchTaskForUpdatingContactInfoByNewContact -type SaveBatchTaskForUpdatingContactInfoByNewContactRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - City string `position:"Query" name:"City"` - TransferOutProhibited requests.Boolean `position:"Query" name:"TransferOutProhibited"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ContactType string `position:"Query" name:"ContactType"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` - RegistrantName string `position:"Query" name:"RegistrantName"` -} - -// SaveBatchTaskForUpdatingContactInfoByNewContactResponse is the response struct for api SaveBatchTaskForUpdatingContactInfoByNewContact -type SaveBatchTaskForUpdatingContactInfoByNewContactResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForUpdatingContactInfoByNewContactRequest creates a request to invoke SaveBatchTaskForUpdatingContactInfoByNewContact API -func CreateSaveBatchTaskForUpdatingContactInfoByNewContactRequest() (request *SaveBatchTaskForUpdatingContactInfoByNewContactRequest) { - request = &SaveBatchTaskForUpdatingContactInfoByNewContactRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForUpdatingContactInfoByNewContact", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForUpdatingContactInfoByNewContactResponse creates a response to parse from SaveBatchTaskForUpdatingContactInfoByNewContact response -func CreateSaveBatchTaskForUpdatingContactInfoByNewContactResponse() (response *SaveBatchTaskForUpdatingContactInfoByNewContactResponse) { - response = &SaveBatchTaskForUpdatingContactInfoByNewContactResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_updating_contact_info_by_registrant_profile_id.go b/services/domain/save_batch_task_for_updating_contact_info_by_registrant_profile_id.go deleted file mode 100644 index 733df9b1a..000000000 --- a/services/domain/save_batch_task_for_updating_contact_info_by_registrant_profile_id.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId invokes the domain.SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId API synchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId(request *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest) (response *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse, err error) { - response = CreateSaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdWithChan invokes the domain.SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId API asynchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdWithChan(request *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest) (<-chan *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdWithCallback invokes the domain.SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId API asynchronously -func (client *Client) SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdWithCallback(request *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest, callback func(response *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest is the request struct for api SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId -type SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest struct { - *requests.RpcRequest - ContactType string `position:"Query" name:"ContactType"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - TransferOutProhibited requests.Boolean `position:"Query" name:"TransferOutProhibited"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse is the response struct for api SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId -type SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest creates a request to invoke SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId API -func CreateSaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest() (request *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest) { - request = &SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse creates a response to parse from SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId response -func CreateSaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse() (response *SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse) { - response = &SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_batch_task_for_updating_registrant_except_org_by_new_contact.go b/services/domain/save_batch_task_for_updating_registrant_except_org_by_new_contact.go deleted file mode 100644 index 0746a4f87..000000000 --- a/services/domain/save_batch_task_for_updating_registrant_except_org_by_new_contact.go +++ /dev/null @@ -1,117 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact invokes the domain.SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact API synchronously -func (client *Client) SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact(request *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest) (response *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse, err error) { - response = CreateSaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse() - err = client.DoAction(request, response) - return -} - -// SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactWithChan invokes the domain.SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact API asynchronously -func (client *Client) SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactWithChan(request *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest) (<-chan *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse, <-chan error) { - responseChan := make(chan *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactWithCallback invokes the domain.SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact API asynchronously -func (client *Client) SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactWithCallback(request *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest, callback func(response *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse - var err error - defer close(result) - response, err = client.SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest is the request struct for api SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact -type SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - City string `position:"Query" name:"City"` - TransferOutProhibited requests.Boolean `position:"Query" name:"TransferOutProhibited"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ContactType string `position:"Query" name:"ContactType"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse is the response struct for api SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact -type SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest creates a request to invoke SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact API -func CreateSaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest() (request *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest) { - request = &SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-1-24", "SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse creates a response to parse from SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContact response -func CreateSaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse() (response *SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse) { - response = &SaveBatchTaskForUpdatingRegistrantExceptOrgByNewContactResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_contact_template.go b/services/domain/save_contact_template.go deleted file mode 100644 index d86eac6f1..000000000 --- a/services/domain/save_contact_template.go +++ /dev/null @@ -1,121 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveContactTemplate invokes the domain.SaveContactTemplate API synchronously -func (client *Client) SaveContactTemplate(request *SaveContactTemplateRequest) (response *SaveContactTemplateResponse, err error) { - response = CreateSaveContactTemplateResponse() - err = client.DoAction(request, response) - return -} - -// SaveContactTemplateWithChan invokes the domain.SaveContactTemplate API asynchronously -func (client *Client) SaveContactTemplateWithChan(request *SaveContactTemplateRequest) (<-chan *SaveContactTemplateResponse, <-chan error) { - responseChan := make(chan *SaveContactTemplateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveContactTemplate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveContactTemplateWithCallback invokes the domain.SaveContactTemplate API asynchronously -func (client *Client) SaveContactTemplateWithCallback(request *SaveContactTemplateRequest, callback func(response *SaveContactTemplateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveContactTemplateResponse - var err error - defer close(result) - response, err = client.SaveContactTemplate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveContactTemplateRequest is the request struct for api SaveContactTemplate -type SaveContactTemplateRequest struct { - *requests.RpcRequest - CCompany string `position:"Query" name:"CCompany"` - DefaultTemplate requests.Boolean `position:"Query" name:"DefaultTemplate"` - ECompany string `position:"Query" name:"ECompany"` - TelMain string `position:"Query" name:"TelMain"` - CName string `position:"Query" name:"CName"` - CProvince string `position:"Query" name:"CProvince"` - RegType string `position:"Query" name:"RegType"` - TelExt string `position:"Query" name:"TelExt"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - EVenu string `position:"Query" name:"EVenu"` - Email string `position:"Query" name:"Email"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` - TelArea string `position:"Query" name:"TelArea"` - ECity string `position:"Query" name:"ECity"` - CCity string `position:"Query" name:"CCity"` - EName string `position:"Query" name:"EName"` - CVenu string `position:"Query" name:"CVenu"` - EProvince string `position:"Query" name:"EProvince"` - UserClientIp string `position:"Query" name:"UserClientIp"` - CCountry string `position:"Query" name:"CCountry"` -} - -// SaveContactTemplateResponse is the response struct for api SaveContactTemplate -type SaveContactTemplateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - ContactTemplateId int64 `json:"ContactTemplateId" xml:"ContactTemplateId"` - Success bool `json:"Success" xml:"Success"` -} - -// CreateSaveContactTemplateRequest creates a request to invoke SaveContactTemplate API -func CreateSaveContactTemplateRequest() (request *SaveContactTemplateRequest) { - request = &SaveContactTemplateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveContactTemplate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveContactTemplateResponse creates a response to parse from SaveContactTemplate response -func CreateSaveContactTemplateResponse() (response *SaveContactTemplateResponse) { - response = &SaveContactTemplateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_contact_template_credential.go b/services/domain/save_contact_template_credential.go deleted file mode 100644 index 46857e290..000000000 --- a/services/domain/save_contact_template_credential.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveContactTemplateCredential invokes the domain.SaveContactTemplateCredential API synchronously -func (client *Client) SaveContactTemplateCredential(request *SaveContactTemplateCredentialRequest) (response *SaveContactTemplateCredentialResponse, err error) { - response = CreateSaveContactTemplateCredentialResponse() - err = client.DoAction(request, response) - return -} - -// SaveContactTemplateCredentialWithChan invokes the domain.SaveContactTemplateCredential API asynchronously -func (client *Client) SaveContactTemplateCredentialWithChan(request *SaveContactTemplateCredentialRequest) (<-chan *SaveContactTemplateCredentialResponse, <-chan error) { - responseChan := make(chan *SaveContactTemplateCredentialResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveContactTemplateCredential(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveContactTemplateCredentialWithCallback invokes the domain.SaveContactTemplateCredential API asynchronously -func (client *Client) SaveContactTemplateCredentialWithCallback(request *SaveContactTemplateCredentialRequest, callback func(response *SaveContactTemplateCredentialResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveContactTemplateCredentialResponse - var err error - defer close(result) - response, err = client.SaveContactTemplateCredential(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveContactTemplateCredentialRequest is the request struct for api SaveContactTemplateCredential -type SaveContactTemplateCredentialRequest struct { - *requests.RpcRequest - CredentialNo string `position:"Query" name:"CredentialNo"` - Credential string `position:"Query" name:"Credential"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// SaveContactTemplateCredentialResponse is the response struct for api SaveContactTemplateCredential -type SaveContactTemplateCredentialResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSaveContactTemplateCredentialRequest creates a request to invoke SaveContactTemplateCredential API -func CreateSaveContactTemplateCredentialRequest() (request *SaveContactTemplateCredentialRequest) { - request = &SaveContactTemplateCredentialRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveContactTemplateCredential", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveContactTemplateCredentialResponse creates a response to parse from SaveContactTemplateCredential response -func CreateSaveContactTemplateCredentialResponse() (response *SaveContactTemplateCredentialResponse) { - response = &SaveContactTemplateCredentialResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_domain_group.go b/services/domain/save_domain_group.go deleted file mode 100644 index c65910c9b..000000000 --- a/services/domain/save_domain_group.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveDomainGroup invokes the domain.SaveDomainGroup API synchronously -func (client *Client) SaveDomainGroup(request *SaveDomainGroupRequest) (response *SaveDomainGroupResponse, err error) { - response = CreateSaveDomainGroupResponse() - err = client.DoAction(request, response) - return -} - -// SaveDomainGroupWithChan invokes the domain.SaveDomainGroup API asynchronously -func (client *Client) SaveDomainGroupWithChan(request *SaveDomainGroupRequest) (<-chan *SaveDomainGroupResponse, <-chan error) { - responseChan := make(chan *SaveDomainGroupResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveDomainGroup(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveDomainGroupWithCallback invokes the domain.SaveDomainGroup API asynchronously -func (client *Client) SaveDomainGroupWithCallback(request *SaveDomainGroupRequest, callback func(response *SaveDomainGroupResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveDomainGroupResponse - var err error - defer close(result) - response, err = client.SaveDomainGroup(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveDomainGroupRequest is the request struct for api SaveDomainGroup -type SaveDomainGroupRequest struct { - *requests.RpcRequest - DomainGroupId requests.Integer `position:"Query" name:"DomainGroupId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DomainGroupName string `position:"Query" name:"DomainGroupName"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveDomainGroupResponse is the response struct for api SaveDomainGroup -type SaveDomainGroupResponse struct { - *responses.BaseResponse - BeingDeleted bool `json:"BeingDeleted" xml:"BeingDeleted"` - CreationDate string `json:"CreationDate" xml:"CreationDate"` - RequestId string `json:"RequestId" xml:"RequestId"` - DomainGroupName string `json:"DomainGroupName" xml:"DomainGroupName"` - ModificationDate string `json:"ModificationDate" xml:"ModificationDate"` - DomainGroupStatus string `json:"DomainGroupStatus" xml:"DomainGroupStatus"` - DomainGroupId int64 `json:"DomainGroupId" xml:"DomainGroupId"` - TotalNumber int `json:"TotalNumber" xml:"TotalNumber"` -} - -// CreateSaveDomainGroupRequest creates a request to invoke SaveDomainGroup API -func CreateSaveDomainGroupRequest() (request *SaveDomainGroupRequest) { - request = &SaveDomainGroupRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveDomainGroup", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveDomainGroupResponse creates a response to parse from SaveDomainGroup response -func CreateSaveDomainGroupResponse() (response *SaveDomainGroupResponse) { - response = &SaveDomainGroupResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_registrant_profile.go b/services/domain/save_registrant_profile.go deleted file mode 100644 index f4dd5431e..000000000 --- a/services/domain/save_registrant_profile.go +++ /dev/null @@ -1,121 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveRegistrantProfile invokes the domain.SaveRegistrantProfile API synchronously -func (client *Client) SaveRegistrantProfile(request *SaveRegistrantProfileRequest) (response *SaveRegistrantProfileResponse, err error) { - response = CreateSaveRegistrantProfileResponse() - err = client.DoAction(request, response) - return -} - -// SaveRegistrantProfileWithChan invokes the domain.SaveRegistrantProfile API asynchronously -func (client *Client) SaveRegistrantProfileWithChan(request *SaveRegistrantProfileRequest) (<-chan *SaveRegistrantProfileResponse, <-chan error) { - responseChan := make(chan *SaveRegistrantProfileResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveRegistrantProfile(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveRegistrantProfileWithCallback invokes the domain.SaveRegistrantProfile API asynchronously -func (client *Client) SaveRegistrantProfileWithCallback(request *SaveRegistrantProfileRequest, callback func(response *SaveRegistrantProfileResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveRegistrantProfileResponse - var err error - defer close(result) - response, err = client.SaveRegistrantProfile(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveRegistrantProfileRequest is the request struct for api SaveRegistrantProfile -type SaveRegistrantProfileRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - City string `position:"Query" name:"City"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - RegistrantProfileType string `position:"Query" name:"RegistrantProfileType"` - Telephone string `position:"Query" name:"Telephone"` - DefaultRegistrantProfile requests.Boolean `position:"Query" name:"DefaultRegistrantProfile"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` - RegistrantName string `position:"Query" name:"RegistrantName"` -} - -// SaveRegistrantProfileResponse is the response struct for api SaveRegistrantProfile -type SaveRegistrantProfileResponse struct { - *responses.BaseResponse - RegistrantProfileId int64 `json:"RegistrantProfileId" xml:"RegistrantProfileId"` - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSaveRegistrantProfileRequest creates a request to invoke SaveRegistrantProfile API -func CreateSaveRegistrantProfileRequest() (request *SaveRegistrantProfileRequest) { - request = &SaveRegistrantProfileRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveRegistrantProfile", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveRegistrantProfileResponse creates a response to parse from SaveRegistrantProfile response -func CreateSaveRegistrantProfileResponse() (response *SaveRegistrantProfileResponse) { - response = &SaveRegistrantProfileResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_registrant_profile_real_name_verification.go b/services/domain/save_registrant_profile_real_name_verification.go deleted file mode 100644 index 7f637b703..000000000 --- a/services/domain/save_registrant_profile_real_name_verification.go +++ /dev/null @@ -1,123 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveRegistrantProfileRealNameVerification invokes the domain.SaveRegistrantProfileRealNameVerification API synchronously -func (client *Client) SaveRegistrantProfileRealNameVerification(request *SaveRegistrantProfileRealNameVerificationRequest) (response *SaveRegistrantProfileRealNameVerificationResponse, err error) { - response = CreateSaveRegistrantProfileRealNameVerificationResponse() - err = client.DoAction(request, response) - return -} - -// SaveRegistrantProfileRealNameVerificationWithChan invokes the domain.SaveRegistrantProfileRealNameVerification API asynchronously -func (client *Client) SaveRegistrantProfileRealNameVerificationWithChan(request *SaveRegistrantProfileRealNameVerificationRequest) (<-chan *SaveRegistrantProfileRealNameVerificationResponse, <-chan error) { - responseChan := make(chan *SaveRegistrantProfileRealNameVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveRegistrantProfileRealNameVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveRegistrantProfileRealNameVerificationWithCallback invokes the domain.SaveRegistrantProfileRealNameVerification API asynchronously -func (client *Client) SaveRegistrantProfileRealNameVerificationWithCallback(request *SaveRegistrantProfileRealNameVerificationRequest, callback func(response *SaveRegistrantProfileRealNameVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveRegistrantProfileRealNameVerificationResponse - var err error - defer close(result) - response, err = client.SaveRegistrantProfileRealNameVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveRegistrantProfileRealNameVerificationRequest is the request struct for api SaveRegistrantProfileRealNameVerification -type SaveRegistrantProfileRealNameVerificationRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - IdentityCredentialType string `position:"Query" name:"IdentityCredentialType"` - City string `position:"Query" name:"City"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - IdentityCredential string `position:"Query" name:"IdentityCredential"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - RegistrantProfileType string `position:"Query" name:"RegistrantProfileType"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` - IdentityCredentialNo string `position:"Query" name:"IdentityCredentialNo"` - RegistrantName string `position:"Query" name:"RegistrantName"` -} - -// SaveRegistrantProfileRealNameVerificationResponse is the response struct for api SaveRegistrantProfileRealNameVerification -type SaveRegistrantProfileRealNameVerificationResponse struct { - *responses.BaseResponse - RegistrantProfileId int64 `json:"RegistrantProfileId" xml:"RegistrantProfileId"` - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSaveRegistrantProfileRealNameVerificationRequest creates a request to invoke SaveRegistrantProfileRealNameVerification API -func CreateSaveRegistrantProfileRealNameVerificationRequest() (request *SaveRegistrantProfileRealNameVerificationRequest) { - request = &SaveRegistrantProfileRealNameVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveRegistrantProfileRealNameVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveRegistrantProfileRealNameVerificationResponse creates a response to parse from SaveRegistrantProfileRealNameVerification response -func CreateSaveRegistrantProfileRealNameVerificationResponse() (response *SaveRegistrantProfileRealNameVerificationResponse) { - response = &SaveRegistrantProfileRealNameVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_adding_ds_record.go b/services/domain/save_single_task_for_adding_ds_record.go deleted file mode 100644 index e56472198..000000000 --- a/services/domain/save_single_task_for_adding_ds_record.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForAddingDSRecord invokes the domain.SaveSingleTaskForAddingDSRecord API synchronously -func (client *Client) SaveSingleTaskForAddingDSRecord(request *SaveSingleTaskForAddingDSRecordRequest) (response *SaveSingleTaskForAddingDSRecordResponse, err error) { - response = CreateSaveSingleTaskForAddingDSRecordResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForAddingDSRecordWithChan invokes the domain.SaveSingleTaskForAddingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForAddingDSRecordWithChan(request *SaveSingleTaskForAddingDSRecordRequest) (<-chan *SaveSingleTaskForAddingDSRecordResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForAddingDSRecordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForAddingDSRecord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForAddingDSRecordWithCallback invokes the domain.SaveSingleTaskForAddingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForAddingDSRecordWithCallback(request *SaveSingleTaskForAddingDSRecordRequest, callback func(response *SaveSingleTaskForAddingDSRecordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForAddingDSRecordResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForAddingDSRecord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForAddingDSRecordRequest is the request struct for api SaveSingleTaskForAddingDSRecord -type SaveSingleTaskForAddingDSRecordRequest struct { - *requests.RpcRequest - KeyTag requests.Integer `position:"Query" name:"KeyTag"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DigestType requests.Integer `position:"Query" name:"DigestType"` - Digest string `position:"Query" name:"Digest"` - Lang string `position:"Query" name:"Lang"` - Algorithm requests.Integer `position:"Query" name:"Algorithm"` -} - -// SaveSingleTaskForAddingDSRecordResponse is the response struct for api SaveSingleTaskForAddingDSRecord -type SaveSingleTaskForAddingDSRecordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForAddingDSRecordRequest creates a request to invoke SaveSingleTaskForAddingDSRecord API -func CreateSaveSingleTaskForAddingDSRecordRequest() (request *SaveSingleTaskForAddingDSRecordRequest) { - request = &SaveSingleTaskForAddingDSRecordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForAddingDSRecord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForAddingDSRecordResponse creates a response to parse from SaveSingleTaskForAddingDSRecord response -func CreateSaveSingleTaskForAddingDSRecordResponse() (response *SaveSingleTaskForAddingDSRecordResponse) { - response = &SaveSingleTaskForAddingDSRecordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_apply_quick_transfer_out_openly.go b/services/domain/save_single_task_for_apply_quick_transfer_out_openly.go deleted file mode 100644 index ae3467b6c..000000000 --- a/services/domain/save_single_task_for_apply_quick_transfer_out_openly.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForApplyQuickTransferOutOpenly invokes the domain.SaveSingleTaskForApplyQuickTransferOutOpenly API synchronously -func (client *Client) SaveSingleTaskForApplyQuickTransferOutOpenly(request *SaveSingleTaskForApplyQuickTransferOutOpenlyRequest) (response *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse, err error) { - response = CreateSaveSingleTaskForApplyQuickTransferOutOpenlyResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForApplyQuickTransferOutOpenlyWithChan invokes the domain.SaveSingleTaskForApplyQuickTransferOutOpenly API asynchronously -func (client *Client) SaveSingleTaskForApplyQuickTransferOutOpenlyWithChan(request *SaveSingleTaskForApplyQuickTransferOutOpenlyRequest) (<-chan *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForApplyQuickTransferOutOpenly(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForApplyQuickTransferOutOpenlyWithCallback invokes the domain.SaveSingleTaskForApplyQuickTransferOutOpenly API asynchronously -func (client *Client) SaveSingleTaskForApplyQuickTransferOutOpenlyWithCallback(request *SaveSingleTaskForApplyQuickTransferOutOpenlyRequest, callback func(response *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForApplyQuickTransferOutOpenly(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForApplyQuickTransferOutOpenlyRequest is the request struct for api SaveSingleTaskForApplyQuickTransferOutOpenly -type SaveSingleTaskForApplyQuickTransferOutOpenlyRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForApplyQuickTransferOutOpenlyResponse is the response struct for api SaveSingleTaskForApplyQuickTransferOutOpenly -type SaveSingleTaskForApplyQuickTransferOutOpenlyResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForApplyQuickTransferOutOpenlyRequest creates a request to invoke SaveSingleTaskForApplyQuickTransferOutOpenly API -func CreateSaveSingleTaskForApplyQuickTransferOutOpenlyRequest() (request *SaveSingleTaskForApplyQuickTransferOutOpenlyRequest) { - request = &SaveSingleTaskForApplyQuickTransferOutOpenlyRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForApplyQuickTransferOutOpenly", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForApplyQuickTransferOutOpenlyResponse creates a response to parse from SaveSingleTaskForApplyQuickTransferOutOpenly response -func CreateSaveSingleTaskForApplyQuickTransferOutOpenlyResponse() (response *SaveSingleTaskForApplyQuickTransferOutOpenlyResponse) { - response = &SaveSingleTaskForApplyQuickTransferOutOpenlyResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_approving_transfer_out.go b/services/domain/save_single_task_for_approving_transfer_out.go deleted file mode 100644 index 14313f19b..000000000 --- a/services/domain/save_single_task_for_approving_transfer_out.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForApprovingTransferOut invokes the domain.SaveSingleTaskForApprovingTransferOut API synchronously -func (client *Client) SaveSingleTaskForApprovingTransferOut(request *SaveSingleTaskForApprovingTransferOutRequest) (response *SaveSingleTaskForApprovingTransferOutResponse, err error) { - response = CreateSaveSingleTaskForApprovingTransferOutResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForApprovingTransferOutWithChan invokes the domain.SaveSingleTaskForApprovingTransferOut API asynchronously -func (client *Client) SaveSingleTaskForApprovingTransferOutWithChan(request *SaveSingleTaskForApprovingTransferOutRequest) (<-chan *SaveSingleTaskForApprovingTransferOutResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForApprovingTransferOutResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForApprovingTransferOut(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForApprovingTransferOutWithCallback invokes the domain.SaveSingleTaskForApprovingTransferOut API asynchronously -func (client *Client) SaveSingleTaskForApprovingTransferOutWithCallback(request *SaveSingleTaskForApprovingTransferOutRequest, callback func(response *SaveSingleTaskForApprovingTransferOutResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForApprovingTransferOutResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForApprovingTransferOut(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForApprovingTransferOutRequest is the request struct for api SaveSingleTaskForApprovingTransferOut -type SaveSingleTaskForApprovingTransferOutRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForApprovingTransferOutResponse is the response struct for api SaveSingleTaskForApprovingTransferOut -type SaveSingleTaskForApprovingTransferOutResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForApprovingTransferOutRequest creates a request to invoke SaveSingleTaskForApprovingTransferOut API -func CreateSaveSingleTaskForApprovingTransferOutRequest() (request *SaveSingleTaskForApprovingTransferOutRequest) { - request = &SaveSingleTaskForApprovingTransferOutRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForApprovingTransferOut", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForApprovingTransferOutResponse creates a response to parse from SaveSingleTaskForApprovingTransferOut response -func CreateSaveSingleTaskForApprovingTransferOutResponse() (response *SaveSingleTaskForApprovingTransferOutResponse) { - response = &SaveSingleTaskForApprovingTransferOutResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_associating_ens.go b/services/domain/save_single_task_for_associating_ens.go deleted file mode 100644 index 5bb49ae9f..000000000 --- a/services/domain/save_single_task_for_associating_ens.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForAssociatingEns invokes the domain.SaveSingleTaskForAssociatingEns API synchronously -func (client *Client) SaveSingleTaskForAssociatingEns(request *SaveSingleTaskForAssociatingEnsRequest) (response *SaveSingleTaskForAssociatingEnsResponse, err error) { - response = CreateSaveSingleTaskForAssociatingEnsResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForAssociatingEnsWithChan invokes the domain.SaveSingleTaskForAssociatingEns API asynchronously -func (client *Client) SaveSingleTaskForAssociatingEnsWithChan(request *SaveSingleTaskForAssociatingEnsRequest) (<-chan *SaveSingleTaskForAssociatingEnsResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForAssociatingEnsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForAssociatingEns(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForAssociatingEnsWithCallback invokes the domain.SaveSingleTaskForAssociatingEns API asynchronously -func (client *Client) SaveSingleTaskForAssociatingEnsWithCallback(request *SaveSingleTaskForAssociatingEnsRequest, callback func(response *SaveSingleTaskForAssociatingEnsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForAssociatingEnsResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForAssociatingEns(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForAssociatingEnsRequest is the request struct for api SaveSingleTaskForAssociatingEns -type SaveSingleTaskForAssociatingEnsRequest struct { - *requests.RpcRequest - Address string `position:"Query" name:"Address"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForAssociatingEnsResponse is the response struct for api SaveSingleTaskForAssociatingEns -type SaveSingleTaskForAssociatingEnsResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForAssociatingEnsRequest creates a request to invoke SaveSingleTaskForAssociatingEns API -func CreateSaveSingleTaskForAssociatingEnsRequest() (request *SaveSingleTaskForAssociatingEnsRequest) { - request = &SaveSingleTaskForAssociatingEnsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForAssociatingEns", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForAssociatingEnsResponse creates a response to parse from SaveSingleTaskForAssociatingEns response -func CreateSaveSingleTaskForAssociatingEnsResponse() (response *SaveSingleTaskForAssociatingEnsResponse) { - response = &SaveSingleTaskForAssociatingEnsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_canceling_transfer_in.go b/services/domain/save_single_task_for_canceling_transfer_in.go deleted file mode 100644 index 0d18a5484..000000000 --- a/services/domain/save_single_task_for_canceling_transfer_in.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCancelingTransferIn invokes the domain.SaveSingleTaskForCancelingTransferIn API synchronously -func (client *Client) SaveSingleTaskForCancelingTransferIn(request *SaveSingleTaskForCancelingTransferInRequest) (response *SaveSingleTaskForCancelingTransferInResponse, err error) { - response = CreateSaveSingleTaskForCancelingTransferInResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCancelingTransferInWithChan invokes the domain.SaveSingleTaskForCancelingTransferIn API asynchronously -func (client *Client) SaveSingleTaskForCancelingTransferInWithChan(request *SaveSingleTaskForCancelingTransferInRequest) (<-chan *SaveSingleTaskForCancelingTransferInResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCancelingTransferInResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCancelingTransferIn(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCancelingTransferInWithCallback invokes the domain.SaveSingleTaskForCancelingTransferIn API asynchronously -func (client *Client) SaveSingleTaskForCancelingTransferInWithCallback(request *SaveSingleTaskForCancelingTransferInRequest, callback func(response *SaveSingleTaskForCancelingTransferInResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCancelingTransferInResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCancelingTransferIn(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCancelingTransferInRequest is the request struct for api SaveSingleTaskForCancelingTransferIn -type SaveSingleTaskForCancelingTransferInRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForCancelingTransferInResponse is the response struct for api SaveSingleTaskForCancelingTransferIn -type SaveSingleTaskForCancelingTransferInResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCancelingTransferInRequest creates a request to invoke SaveSingleTaskForCancelingTransferIn API -func CreateSaveSingleTaskForCancelingTransferInRequest() (request *SaveSingleTaskForCancelingTransferInRequest) { - request = &SaveSingleTaskForCancelingTransferInRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCancelingTransferIn", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCancelingTransferInResponse creates a response to parse from SaveSingleTaskForCancelingTransferIn response -func CreateSaveSingleTaskForCancelingTransferInResponse() (response *SaveSingleTaskForCancelingTransferInResponse) { - response = &SaveSingleTaskForCancelingTransferInResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_canceling_transfer_out.go b/services/domain/save_single_task_for_canceling_transfer_out.go deleted file mode 100644 index d845e0994..000000000 --- a/services/domain/save_single_task_for_canceling_transfer_out.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCancelingTransferOut invokes the domain.SaveSingleTaskForCancelingTransferOut API synchronously -func (client *Client) SaveSingleTaskForCancelingTransferOut(request *SaveSingleTaskForCancelingTransferOutRequest) (response *SaveSingleTaskForCancelingTransferOutResponse, err error) { - response = CreateSaveSingleTaskForCancelingTransferOutResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCancelingTransferOutWithChan invokes the domain.SaveSingleTaskForCancelingTransferOut API asynchronously -func (client *Client) SaveSingleTaskForCancelingTransferOutWithChan(request *SaveSingleTaskForCancelingTransferOutRequest) (<-chan *SaveSingleTaskForCancelingTransferOutResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCancelingTransferOutResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCancelingTransferOut(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCancelingTransferOutWithCallback invokes the domain.SaveSingleTaskForCancelingTransferOut API asynchronously -func (client *Client) SaveSingleTaskForCancelingTransferOutWithCallback(request *SaveSingleTaskForCancelingTransferOutRequest, callback func(response *SaveSingleTaskForCancelingTransferOutResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCancelingTransferOutResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCancelingTransferOut(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCancelingTransferOutRequest is the request struct for api SaveSingleTaskForCancelingTransferOut -type SaveSingleTaskForCancelingTransferOutRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForCancelingTransferOutResponse is the response struct for api SaveSingleTaskForCancelingTransferOut -type SaveSingleTaskForCancelingTransferOutResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCancelingTransferOutRequest creates a request to invoke SaveSingleTaskForCancelingTransferOut API -func CreateSaveSingleTaskForCancelingTransferOutRequest() (request *SaveSingleTaskForCancelingTransferOutRequest) { - request = &SaveSingleTaskForCancelingTransferOutRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCancelingTransferOut", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCancelingTransferOutResponse creates a response to parse from SaveSingleTaskForCancelingTransferOut response -func CreateSaveSingleTaskForCancelingTransferOutResponse() (response *SaveSingleTaskForCancelingTransferOutResponse) { - response = &SaveSingleTaskForCancelingTransferOutResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_creating_dns_host.go b/services/domain/save_single_task_for_creating_dns_host.go deleted file mode 100644 index 7b95ae025..000000000 --- a/services/domain/save_single_task_for_creating_dns_host.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCreatingDnsHost invokes the domain.SaveSingleTaskForCreatingDnsHost API synchronously -func (client *Client) SaveSingleTaskForCreatingDnsHost(request *SaveSingleTaskForCreatingDnsHostRequest) (response *SaveSingleTaskForCreatingDnsHostResponse, err error) { - response = CreateSaveSingleTaskForCreatingDnsHostResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCreatingDnsHostWithChan invokes the domain.SaveSingleTaskForCreatingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForCreatingDnsHostWithChan(request *SaveSingleTaskForCreatingDnsHostRequest) (<-chan *SaveSingleTaskForCreatingDnsHostResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCreatingDnsHostResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCreatingDnsHost(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCreatingDnsHostWithCallback invokes the domain.SaveSingleTaskForCreatingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForCreatingDnsHostWithCallback(request *SaveSingleTaskForCreatingDnsHostRequest, callback func(response *SaveSingleTaskForCreatingDnsHostResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCreatingDnsHostResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCreatingDnsHost(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCreatingDnsHostRequest is the request struct for api SaveSingleTaskForCreatingDnsHost -type SaveSingleTaskForCreatingDnsHostRequest struct { - *requests.RpcRequest - Ip *[]string `position:"Query" name:"Ip" type:"Repeated"` - InstanceId string `position:"Query" name:"InstanceId"` - DnsName string `position:"Query" name:"DnsName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForCreatingDnsHostResponse is the response struct for api SaveSingleTaskForCreatingDnsHost -type SaveSingleTaskForCreatingDnsHostResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCreatingDnsHostRequest creates a request to invoke SaveSingleTaskForCreatingDnsHost API -func CreateSaveSingleTaskForCreatingDnsHostRequest() (request *SaveSingleTaskForCreatingDnsHostRequest) { - request = &SaveSingleTaskForCreatingDnsHostRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCreatingDnsHost", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCreatingDnsHostResponse creates a response to parse from SaveSingleTaskForCreatingDnsHost response -func CreateSaveSingleTaskForCreatingDnsHostResponse() (response *SaveSingleTaskForCreatingDnsHostResponse) { - response = &SaveSingleTaskForCreatingDnsHostResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_creating_order_activate.go b/services/domain/save_single_task_for_creating_order_activate.go deleted file mode 100644 index d1d4da523..000000000 --- a/services/domain/save_single_task_for_creating_order_activate.go +++ /dev/null @@ -1,132 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCreatingOrderActivate invokes the domain.SaveSingleTaskForCreatingOrderActivate API synchronously -func (client *Client) SaveSingleTaskForCreatingOrderActivate(request *SaveSingleTaskForCreatingOrderActivateRequest) (response *SaveSingleTaskForCreatingOrderActivateResponse, err error) { - response = CreateSaveSingleTaskForCreatingOrderActivateResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCreatingOrderActivateWithChan invokes the domain.SaveSingleTaskForCreatingOrderActivate API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderActivateWithChan(request *SaveSingleTaskForCreatingOrderActivateRequest) (<-chan *SaveSingleTaskForCreatingOrderActivateResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCreatingOrderActivateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCreatingOrderActivate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCreatingOrderActivateWithCallback invokes the domain.SaveSingleTaskForCreatingOrderActivate API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderActivateWithCallback(request *SaveSingleTaskForCreatingOrderActivateRequest, callback func(response *SaveSingleTaskForCreatingOrderActivateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCreatingOrderActivateResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCreatingOrderActivate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCreatingOrderActivateRequest is the request struct for api SaveSingleTaskForCreatingOrderActivate -type SaveSingleTaskForCreatingOrderActivateRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - Dns2 string `position:"Query" name:"Dns2"` - Dns1 string `position:"Query" name:"Dns1"` - CouponNo string `position:"Query" name:"CouponNo"` - ZhCity string `position:"Query" name:"ZhCity"` - ResourceGroupId string `position:"Query" name:"ResourceGroupId"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - DomainName string `position:"Query" name:"DomainName"` - ZhAddress string `position:"Query" name:"ZhAddress"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - PromotionNo string `position:"Query" name:"PromotionNo"` - RegistrantName string `position:"Query" name:"RegistrantName"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` - SubscriptionDuration requests.Integer `position:"Query" name:"SubscriptionDuration"` - PermitPremiumActivation requests.Boolean `position:"Query" name:"PermitPremiumActivation"` - City string `position:"Query" name:"City"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - AliyunDns requests.Boolean `position:"Query" name:"AliyunDns"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - RegistrantType string `position:"Query" name:"RegistrantType"` - TrademarkDomainActivation requests.Boolean `position:"Query" name:"TrademarkDomainActivation"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - EnableDomainProxy requests.Boolean `position:"Query" name:"EnableDomainProxy"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// SaveSingleTaskForCreatingOrderActivateResponse is the response struct for api SaveSingleTaskForCreatingOrderActivate -type SaveSingleTaskForCreatingOrderActivateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCreatingOrderActivateRequest creates a request to invoke SaveSingleTaskForCreatingOrderActivate API -func CreateSaveSingleTaskForCreatingOrderActivateRequest() (request *SaveSingleTaskForCreatingOrderActivateRequest) { - request = &SaveSingleTaskForCreatingOrderActivateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCreatingOrderActivate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCreatingOrderActivateResponse creates a response to parse from SaveSingleTaskForCreatingOrderActivate response -func CreateSaveSingleTaskForCreatingOrderActivateResponse() (response *SaveSingleTaskForCreatingOrderActivateResponse) { - response = &SaveSingleTaskForCreatingOrderActivateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_creating_order_redeem.go b/services/domain/save_single_task_for_creating_order_redeem.go deleted file mode 100644 index b001cba84..000000000 --- a/services/domain/save_single_task_for_creating_order_redeem.go +++ /dev/null @@ -1,107 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCreatingOrderRedeem invokes the domain.SaveSingleTaskForCreatingOrderRedeem API synchronously -func (client *Client) SaveSingleTaskForCreatingOrderRedeem(request *SaveSingleTaskForCreatingOrderRedeemRequest) (response *SaveSingleTaskForCreatingOrderRedeemResponse, err error) { - response = CreateSaveSingleTaskForCreatingOrderRedeemResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCreatingOrderRedeemWithChan invokes the domain.SaveSingleTaskForCreatingOrderRedeem API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderRedeemWithChan(request *SaveSingleTaskForCreatingOrderRedeemRequest) (<-chan *SaveSingleTaskForCreatingOrderRedeemResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCreatingOrderRedeemResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCreatingOrderRedeem(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCreatingOrderRedeemWithCallback invokes the domain.SaveSingleTaskForCreatingOrderRedeem API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderRedeemWithCallback(request *SaveSingleTaskForCreatingOrderRedeemRequest, callback func(response *SaveSingleTaskForCreatingOrderRedeemResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCreatingOrderRedeemResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCreatingOrderRedeem(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCreatingOrderRedeemRequest is the request struct for api SaveSingleTaskForCreatingOrderRedeem -type SaveSingleTaskForCreatingOrderRedeemRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - CouponNo string `position:"Query" name:"CouponNo"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - CurrentExpirationDate requests.Integer `position:"Query" name:"CurrentExpirationDate"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveSingleTaskForCreatingOrderRedeemResponse is the response struct for api SaveSingleTaskForCreatingOrderRedeem -type SaveSingleTaskForCreatingOrderRedeemResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCreatingOrderRedeemRequest creates a request to invoke SaveSingleTaskForCreatingOrderRedeem API -func CreateSaveSingleTaskForCreatingOrderRedeemRequest() (request *SaveSingleTaskForCreatingOrderRedeemRequest) { - request = &SaveSingleTaskForCreatingOrderRedeemRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCreatingOrderRedeem", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCreatingOrderRedeemResponse creates a response to parse from SaveSingleTaskForCreatingOrderRedeem response -func CreateSaveSingleTaskForCreatingOrderRedeemResponse() (response *SaveSingleTaskForCreatingOrderRedeemResponse) { - response = &SaveSingleTaskForCreatingOrderRedeemResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_creating_order_renew.go b/services/domain/save_single_task_for_creating_order_renew.go deleted file mode 100644 index 6398e5608..000000000 --- a/services/domain/save_single_task_for_creating_order_renew.go +++ /dev/null @@ -1,108 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCreatingOrderRenew invokes the domain.SaveSingleTaskForCreatingOrderRenew API synchronously -func (client *Client) SaveSingleTaskForCreatingOrderRenew(request *SaveSingleTaskForCreatingOrderRenewRequest) (response *SaveSingleTaskForCreatingOrderRenewResponse, err error) { - response = CreateSaveSingleTaskForCreatingOrderRenewResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCreatingOrderRenewWithChan invokes the domain.SaveSingleTaskForCreatingOrderRenew API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderRenewWithChan(request *SaveSingleTaskForCreatingOrderRenewRequest) (<-chan *SaveSingleTaskForCreatingOrderRenewResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCreatingOrderRenewResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCreatingOrderRenew(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCreatingOrderRenewWithCallback invokes the domain.SaveSingleTaskForCreatingOrderRenew API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderRenewWithCallback(request *SaveSingleTaskForCreatingOrderRenewRequest, callback func(response *SaveSingleTaskForCreatingOrderRenewResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCreatingOrderRenewResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCreatingOrderRenew(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCreatingOrderRenewRequest is the request struct for api SaveSingleTaskForCreatingOrderRenew -type SaveSingleTaskForCreatingOrderRenewRequest struct { - *requests.RpcRequest - SubscriptionDuration requests.Integer `position:"Query" name:"SubscriptionDuration"` - CouponNo string `position:"Query" name:"CouponNo"` - CurrentExpirationDate requests.Integer `position:"Query" name:"CurrentExpirationDate"` - Lang string `position:"Query" name:"Lang"` - DomainName string `position:"Query" name:"DomainName"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PromotionNo string `position:"Query" name:"PromotionNo"` - UserClientIp string `position:"Query" name:"UserClientIp"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveSingleTaskForCreatingOrderRenewResponse is the response struct for api SaveSingleTaskForCreatingOrderRenew -type SaveSingleTaskForCreatingOrderRenewResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCreatingOrderRenewRequest creates a request to invoke SaveSingleTaskForCreatingOrderRenew API -func CreateSaveSingleTaskForCreatingOrderRenewRequest() (request *SaveSingleTaskForCreatingOrderRenewRequest) { - request = &SaveSingleTaskForCreatingOrderRenewRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCreatingOrderRenew", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCreatingOrderRenewResponse creates a response to parse from SaveSingleTaskForCreatingOrderRenew response -func CreateSaveSingleTaskForCreatingOrderRenewResponse() (response *SaveSingleTaskForCreatingOrderRenewResponse) { - response = &SaveSingleTaskForCreatingOrderRenewResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_creating_order_transfer.go b/services/domain/save_single_task_for_creating_order_transfer.go deleted file mode 100644 index cf7fafab8..000000000 --- a/services/domain/save_single_task_for_creating_order_transfer.go +++ /dev/null @@ -1,109 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForCreatingOrderTransfer invokes the domain.SaveSingleTaskForCreatingOrderTransfer API synchronously -func (client *Client) SaveSingleTaskForCreatingOrderTransfer(request *SaveSingleTaskForCreatingOrderTransferRequest) (response *SaveSingleTaskForCreatingOrderTransferResponse, err error) { - response = CreateSaveSingleTaskForCreatingOrderTransferResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForCreatingOrderTransferWithChan invokes the domain.SaveSingleTaskForCreatingOrderTransfer API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderTransferWithChan(request *SaveSingleTaskForCreatingOrderTransferRequest) (<-chan *SaveSingleTaskForCreatingOrderTransferResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForCreatingOrderTransferResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForCreatingOrderTransfer(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForCreatingOrderTransferWithCallback invokes the domain.SaveSingleTaskForCreatingOrderTransfer API asynchronously -func (client *Client) SaveSingleTaskForCreatingOrderTransferWithCallback(request *SaveSingleTaskForCreatingOrderTransferRequest, callback func(response *SaveSingleTaskForCreatingOrderTransferResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForCreatingOrderTransferResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForCreatingOrderTransfer(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForCreatingOrderTransferRequest is the request struct for api SaveSingleTaskForCreatingOrderTransfer -type SaveSingleTaskForCreatingOrderTransferRequest struct { - *requests.RpcRequest - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - CouponNo string `position:"Query" name:"CouponNo"` - Lang string `position:"Query" name:"Lang"` - DomainName string `position:"Query" name:"DomainName"` - UseCoupon requests.Boolean `position:"Query" name:"UseCoupon"` - PermitPremiumTransfer requests.Boolean `position:"Query" name:"PermitPremiumTransfer"` - PromotionNo string `position:"Query" name:"PromotionNo"` - AuthorizationCode string `position:"Query" name:"AuthorizationCode"` - UserClientIp string `position:"Query" name:"UserClientIp"` - UsePromotion requests.Boolean `position:"Query" name:"UsePromotion"` -} - -// SaveSingleTaskForCreatingOrderTransferResponse is the response struct for api SaveSingleTaskForCreatingOrderTransfer -type SaveSingleTaskForCreatingOrderTransferResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForCreatingOrderTransferRequest creates a request to invoke SaveSingleTaskForCreatingOrderTransfer API -func CreateSaveSingleTaskForCreatingOrderTransferRequest() (request *SaveSingleTaskForCreatingOrderTransferRequest) { - request = &SaveSingleTaskForCreatingOrderTransferRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForCreatingOrderTransfer", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForCreatingOrderTransferResponse creates a response to parse from SaveSingleTaskForCreatingOrderTransfer response -func CreateSaveSingleTaskForCreatingOrderTransferResponse() (response *SaveSingleTaskForCreatingOrderTransferResponse) { - response = &SaveSingleTaskForCreatingOrderTransferResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_deleting_dns_host.go b/services/domain/save_single_task_for_deleting_dns_host.go deleted file mode 100644 index aac545684..000000000 --- a/services/domain/save_single_task_for_deleting_dns_host.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForDeletingDnsHost invokes the domain.SaveSingleTaskForDeletingDnsHost API synchronously -func (client *Client) SaveSingleTaskForDeletingDnsHost(request *SaveSingleTaskForDeletingDnsHostRequest) (response *SaveSingleTaskForDeletingDnsHostResponse, err error) { - response = CreateSaveSingleTaskForDeletingDnsHostResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForDeletingDnsHostWithChan invokes the domain.SaveSingleTaskForDeletingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForDeletingDnsHostWithChan(request *SaveSingleTaskForDeletingDnsHostRequest) (<-chan *SaveSingleTaskForDeletingDnsHostResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForDeletingDnsHostResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForDeletingDnsHost(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForDeletingDnsHostWithCallback invokes the domain.SaveSingleTaskForDeletingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForDeletingDnsHostWithCallback(request *SaveSingleTaskForDeletingDnsHostRequest, callback func(response *SaveSingleTaskForDeletingDnsHostResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForDeletingDnsHostResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForDeletingDnsHost(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForDeletingDnsHostRequest is the request struct for api SaveSingleTaskForDeletingDnsHost -type SaveSingleTaskForDeletingDnsHostRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - DnsName string `position:"Query" name:"DnsName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForDeletingDnsHostResponse is the response struct for api SaveSingleTaskForDeletingDnsHost -type SaveSingleTaskForDeletingDnsHostResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForDeletingDnsHostRequest creates a request to invoke SaveSingleTaskForDeletingDnsHost API -func CreateSaveSingleTaskForDeletingDnsHostRequest() (request *SaveSingleTaskForDeletingDnsHostRequest) { - request = &SaveSingleTaskForDeletingDnsHostRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForDeletingDnsHost", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForDeletingDnsHostResponse creates a response to parse from SaveSingleTaskForDeletingDnsHost response -func CreateSaveSingleTaskForDeletingDnsHostResponse() (response *SaveSingleTaskForDeletingDnsHostResponse) { - response = &SaveSingleTaskForDeletingDnsHostResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_deleting_ds_record.go b/services/domain/save_single_task_for_deleting_ds_record.go deleted file mode 100644 index 931ee5887..000000000 --- a/services/domain/save_single_task_for_deleting_ds_record.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForDeletingDSRecord invokes the domain.SaveSingleTaskForDeletingDSRecord API synchronously -func (client *Client) SaveSingleTaskForDeletingDSRecord(request *SaveSingleTaskForDeletingDSRecordRequest) (response *SaveSingleTaskForDeletingDSRecordResponse, err error) { - response = CreateSaveSingleTaskForDeletingDSRecordResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForDeletingDSRecordWithChan invokes the domain.SaveSingleTaskForDeletingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForDeletingDSRecordWithChan(request *SaveSingleTaskForDeletingDSRecordRequest) (<-chan *SaveSingleTaskForDeletingDSRecordResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForDeletingDSRecordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForDeletingDSRecord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForDeletingDSRecordWithCallback invokes the domain.SaveSingleTaskForDeletingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForDeletingDSRecordWithCallback(request *SaveSingleTaskForDeletingDSRecordRequest, callback func(response *SaveSingleTaskForDeletingDSRecordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForDeletingDSRecordResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForDeletingDSRecord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForDeletingDSRecordRequest is the request struct for api SaveSingleTaskForDeletingDSRecord -type SaveSingleTaskForDeletingDSRecordRequest struct { - *requests.RpcRequest - KeyTag requests.Integer `position:"Query" name:"KeyTag"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForDeletingDSRecordResponse is the response struct for api SaveSingleTaskForDeletingDSRecord -type SaveSingleTaskForDeletingDSRecordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForDeletingDSRecordRequest creates a request to invoke SaveSingleTaskForDeletingDSRecord API -func CreateSaveSingleTaskForDeletingDSRecordRequest() (request *SaveSingleTaskForDeletingDSRecordRequest) { - request = &SaveSingleTaskForDeletingDSRecordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForDeletingDSRecord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForDeletingDSRecordResponse creates a response to parse from SaveSingleTaskForDeletingDSRecord response -func CreateSaveSingleTaskForDeletingDSRecordResponse() (response *SaveSingleTaskForDeletingDSRecordResponse) { - response = &SaveSingleTaskForDeletingDSRecordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_disassociating_ens.go b/services/domain/save_single_task_for_disassociating_ens.go deleted file mode 100644 index 47c9cc789..000000000 --- a/services/domain/save_single_task_for_disassociating_ens.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForDisassociatingEns invokes the domain.SaveSingleTaskForDisassociatingEns API synchronously -func (client *Client) SaveSingleTaskForDisassociatingEns(request *SaveSingleTaskForDisassociatingEnsRequest) (response *SaveSingleTaskForDisassociatingEnsResponse, err error) { - response = CreateSaveSingleTaskForDisassociatingEnsResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForDisassociatingEnsWithChan invokes the domain.SaveSingleTaskForDisassociatingEns API asynchronously -func (client *Client) SaveSingleTaskForDisassociatingEnsWithChan(request *SaveSingleTaskForDisassociatingEnsRequest) (<-chan *SaveSingleTaskForDisassociatingEnsResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForDisassociatingEnsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForDisassociatingEns(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForDisassociatingEnsWithCallback invokes the domain.SaveSingleTaskForDisassociatingEns API asynchronously -func (client *Client) SaveSingleTaskForDisassociatingEnsWithCallback(request *SaveSingleTaskForDisassociatingEnsRequest, callback func(response *SaveSingleTaskForDisassociatingEnsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForDisassociatingEnsResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForDisassociatingEns(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForDisassociatingEnsRequest is the request struct for api SaveSingleTaskForDisassociatingEns -type SaveSingleTaskForDisassociatingEnsRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForDisassociatingEnsResponse is the response struct for api SaveSingleTaskForDisassociatingEns -type SaveSingleTaskForDisassociatingEnsResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForDisassociatingEnsRequest creates a request to invoke SaveSingleTaskForDisassociatingEns API -func CreateSaveSingleTaskForDisassociatingEnsRequest() (request *SaveSingleTaskForDisassociatingEnsRequest) { - request = &SaveSingleTaskForDisassociatingEnsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForDisassociatingEns", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForDisassociatingEnsResponse creates a response to parse from SaveSingleTaskForDisassociatingEns response -func CreateSaveSingleTaskForDisassociatingEnsResponse() (response *SaveSingleTaskForDisassociatingEnsResponse) { - response = &SaveSingleTaskForDisassociatingEnsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_domain_name_proxy_service.go b/services/domain/save_single_task_for_domain_name_proxy_service.go deleted file mode 100644 index 60089d59b..000000000 --- a/services/domain/save_single_task_for_domain_name_proxy_service.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForDomainNameProxyService invokes the domain.SaveSingleTaskForDomainNameProxyService API synchronously -func (client *Client) SaveSingleTaskForDomainNameProxyService(request *SaveSingleTaskForDomainNameProxyServiceRequest) (response *SaveSingleTaskForDomainNameProxyServiceResponse, err error) { - response = CreateSaveSingleTaskForDomainNameProxyServiceResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForDomainNameProxyServiceWithChan invokes the domain.SaveSingleTaskForDomainNameProxyService API asynchronously -func (client *Client) SaveSingleTaskForDomainNameProxyServiceWithChan(request *SaveSingleTaskForDomainNameProxyServiceRequest) (<-chan *SaveSingleTaskForDomainNameProxyServiceResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForDomainNameProxyServiceResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForDomainNameProxyService(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForDomainNameProxyServiceWithCallback invokes the domain.SaveSingleTaskForDomainNameProxyService API asynchronously -func (client *Client) SaveSingleTaskForDomainNameProxyServiceWithCallback(request *SaveSingleTaskForDomainNameProxyServiceRequest, callback func(response *SaveSingleTaskForDomainNameProxyServiceResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForDomainNameProxyServiceResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForDomainNameProxyService(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForDomainNameProxyServiceRequest is the request struct for api SaveSingleTaskForDomainNameProxyService -type SaveSingleTaskForDomainNameProxyServiceRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveSingleTaskForDomainNameProxyServiceResponse is the response struct for api SaveSingleTaskForDomainNameProxyService -type SaveSingleTaskForDomainNameProxyServiceResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForDomainNameProxyServiceRequest creates a request to invoke SaveSingleTaskForDomainNameProxyService API -func CreateSaveSingleTaskForDomainNameProxyServiceRequest() (request *SaveSingleTaskForDomainNameProxyServiceRequest) { - request = &SaveSingleTaskForDomainNameProxyServiceRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForDomainNameProxyService", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForDomainNameProxyServiceResponse creates a response to parse from SaveSingleTaskForDomainNameProxyService response -func CreateSaveSingleTaskForDomainNameProxyServiceResponse() (response *SaveSingleTaskForDomainNameProxyServiceResponse) { - response = &SaveSingleTaskForDomainNameProxyServiceResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_generate_domain_certificate.go b/services/domain/save_single_task_for_generate_domain_certificate.go deleted file mode 100644 index 65ef19c39..000000000 --- a/services/domain/save_single_task_for_generate_domain_certificate.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForGenerateDomainCertificate invokes the domain.SaveSingleTaskForGenerateDomainCertificate API synchronously -func (client *Client) SaveSingleTaskForGenerateDomainCertificate(request *SaveSingleTaskForGenerateDomainCertificateRequest) (response *SaveSingleTaskForGenerateDomainCertificateResponse, err error) { - response = CreateSaveSingleTaskForGenerateDomainCertificateResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForGenerateDomainCertificateWithChan invokes the domain.SaveSingleTaskForGenerateDomainCertificate API asynchronously -func (client *Client) SaveSingleTaskForGenerateDomainCertificateWithChan(request *SaveSingleTaskForGenerateDomainCertificateRequest) (<-chan *SaveSingleTaskForGenerateDomainCertificateResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForGenerateDomainCertificateResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForGenerateDomainCertificate(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForGenerateDomainCertificateWithCallback invokes the domain.SaveSingleTaskForGenerateDomainCertificate API asynchronously -func (client *Client) SaveSingleTaskForGenerateDomainCertificateWithCallback(request *SaveSingleTaskForGenerateDomainCertificateRequest, callback func(response *SaveSingleTaskForGenerateDomainCertificateResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForGenerateDomainCertificateResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForGenerateDomainCertificate(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForGenerateDomainCertificateRequest is the request struct for api SaveSingleTaskForGenerateDomainCertificate -type SaveSingleTaskForGenerateDomainCertificateRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForGenerateDomainCertificateResponse is the response struct for api SaveSingleTaskForGenerateDomainCertificate -type SaveSingleTaskForGenerateDomainCertificateResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForGenerateDomainCertificateRequest creates a request to invoke SaveSingleTaskForGenerateDomainCertificate API -func CreateSaveSingleTaskForGenerateDomainCertificateRequest() (request *SaveSingleTaskForGenerateDomainCertificateRequest) { - request = &SaveSingleTaskForGenerateDomainCertificateRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForGenerateDomainCertificate", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForGenerateDomainCertificateResponse creates a response to parse from SaveSingleTaskForGenerateDomainCertificate response -func CreateSaveSingleTaskForGenerateDomainCertificateResponse() (response *SaveSingleTaskForGenerateDomainCertificateResponse) { - response = &SaveSingleTaskForGenerateDomainCertificateResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_modifying_dns_host.go b/services/domain/save_single_task_for_modifying_dns_host.go deleted file mode 100644 index f1243470a..000000000 --- a/services/domain/save_single_task_for_modifying_dns_host.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForModifyingDnsHost invokes the domain.SaveSingleTaskForModifyingDnsHost API synchronously -func (client *Client) SaveSingleTaskForModifyingDnsHost(request *SaveSingleTaskForModifyingDnsHostRequest) (response *SaveSingleTaskForModifyingDnsHostResponse, err error) { - response = CreateSaveSingleTaskForModifyingDnsHostResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForModifyingDnsHostWithChan invokes the domain.SaveSingleTaskForModifyingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForModifyingDnsHostWithChan(request *SaveSingleTaskForModifyingDnsHostRequest) (<-chan *SaveSingleTaskForModifyingDnsHostResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForModifyingDnsHostResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForModifyingDnsHost(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForModifyingDnsHostWithCallback invokes the domain.SaveSingleTaskForModifyingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForModifyingDnsHostWithCallback(request *SaveSingleTaskForModifyingDnsHostRequest, callback func(response *SaveSingleTaskForModifyingDnsHostResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForModifyingDnsHostResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForModifyingDnsHost(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForModifyingDnsHostRequest is the request struct for api SaveSingleTaskForModifyingDnsHost -type SaveSingleTaskForModifyingDnsHostRequest struct { - *requests.RpcRequest - Ip *[]string `position:"Query" name:"Ip" type:"Repeated"` - InstanceId string `position:"Query" name:"InstanceId"` - DnsName string `position:"Query" name:"DnsName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForModifyingDnsHostResponse is the response struct for api SaveSingleTaskForModifyingDnsHost -type SaveSingleTaskForModifyingDnsHostResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForModifyingDnsHostRequest creates a request to invoke SaveSingleTaskForModifyingDnsHost API -func CreateSaveSingleTaskForModifyingDnsHostRequest() (request *SaveSingleTaskForModifyingDnsHostRequest) { - request = &SaveSingleTaskForModifyingDnsHostRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForModifyingDnsHost", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForModifyingDnsHostResponse creates a response to parse from SaveSingleTaskForModifyingDnsHost response -func CreateSaveSingleTaskForModifyingDnsHostResponse() (response *SaveSingleTaskForModifyingDnsHostResponse) { - response = &SaveSingleTaskForModifyingDnsHostResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_modifying_ds_record.go b/services/domain/save_single_task_for_modifying_ds_record.go deleted file mode 100644 index 300cb95ac..000000000 --- a/services/domain/save_single_task_for_modifying_ds_record.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForModifyingDSRecord invokes the domain.SaveSingleTaskForModifyingDSRecord API synchronously -func (client *Client) SaveSingleTaskForModifyingDSRecord(request *SaveSingleTaskForModifyingDSRecordRequest) (response *SaveSingleTaskForModifyingDSRecordResponse, err error) { - response = CreateSaveSingleTaskForModifyingDSRecordResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForModifyingDSRecordWithChan invokes the domain.SaveSingleTaskForModifyingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForModifyingDSRecordWithChan(request *SaveSingleTaskForModifyingDSRecordRequest) (<-chan *SaveSingleTaskForModifyingDSRecordResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForModifyingDSRecordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForModifyingDSRecord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForModifyingDSRecordWithCallback invokes the domain.SaveSingleTaskForModifyingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForModifyingDSRecordWithCallback(request *SaveSingleTaskForModifyingDSRecordRequest, callback func(response *SaveSingleTaskForModifyingDSRecordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForModifyingDSRecordResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForModifyingDSRecord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForModifyingDSRecordRequest is the request struct for api SaveSingleTaskForModifyingDSRecord -type SaveSingleTaskForModifyingDSRecordRequest struct { - *requests.RpcRequest - KeyTag requests.Integer `position:"Query" name:"KeyTag"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DigestType requests.Integer `position:"Query" name:"DigestType"` - Digest string `position:"Query" name:"Digest"` - Lang string `position:"Query" name:"Lang"` - Algorithm requests.Integer `position:"Query" name:"Algorithm"` -} - -// SaveSingleTaskForModifyingDSRecordResponse is the response struct for api SaveSingleTaskForModifyingDSRecord -type SaveSingleTaskForModifyingDSRecordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForModifyingDSRecordRequest creates a request to invoke SaveSingleTaskForModifyingDSRecord API -func CreateSaveSingleTaskForModifyingDSRecordRequest() (request *SaveSingleTaskForModifyingDSRecordRequest) { - request = &SaveSingleTaskForModifyingDSRecordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForModifyingDSRecord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForModifyingDSRecordResponse creates a response to parse from SaveSingleTaskForModifyingDSRecord response -func CreateSaveSingleTaskForModifyingDSRecordResponse() (response *SaveSingleTaskForModifyingDSRecordResponse) { - response = &SaveSingleTaskForModifyingDSRecordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_querying_transfer_authorization_code.go b/services/domain/save_single_task_for_querying_transfer_authorization_code.go deleted file mode 100644 index 258b2e954..000000000 --- a/services/domain/save_single_task_for_querying_transfer_authorization_code.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForQueryingTransferAuthorizationCode invokes the domain.SaveSingleTaskForQueryingTransferAuthorizationCode API synchronously -func (client *Client) SaveSingleTaskForQueryingTransferAuthorizationCode(request *SaveSingleTaskForQueryingTransferAuthorizationCodeRequest) (response *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse, err error) { - response = CreateSaveSingleTaskForQueryingTransferAuthorizationCodeResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForQueryingTransferAuthorizationCodeWithChan invokes the domain.SaveSingleTaskForQueryingTransferAuthorizationCode API asynchronously -func (client *Client) SaveSingleTaskForQueryingTransferAuthorizationCodeWithChan(request *SaveSingleTaskForQueryingTransferAuthorizationCodeRequest) (<-chan *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForQueryingTransferAuthorizationCode(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForQueryingTransferAuthorizationCodeWithCallback invokes the domain.SaveSingleTaskForQueryingTransferAuthorizationCode API asynchronously -func (client *Client) SaveSingleTaskForQueryingTransferAuthorizationCodeWithCallback(request *SaveSingleTaskForQueryingTransferAuthorizationCodeRequest, callback func(response *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForQueryingTransferAuthorizationCode(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForQueryingTransferAuthorizationCodeRequest is the request struct for api SaveSingleTaskForQueryingTransferAuthorizationCode -type SaveSingleTaskForQueryingTransferAuthorizationCodeRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForQueryingTransferAuthorizationCodeResponse is the response struct for api SaveSingleTaskForQueryingTransferAuthorizationCode -type SaveSingleTaskForQueryingTransferAuthorizationCodeResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForQueryingTransferAuthorizationCodeRequest creates a request to invoke SaveSingleTaskForQueryingTransferAuthorizationCode API -func CreateSaveSingleTaskForQueryingTransferAuthorizationCodeRequest() (request *SaveSingleTaskForQueryingTransferAuthorizationCodeRequest) { - request = &SaveSingleTaskForQueryingTransferAuthorizationCodeRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForQueryingTransferAuthorizationCode", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForQueryingTransferAuthorizationCodeResponse creates a response to parse from SaveSingleTaskForQueryingTransferAuthorizationCode response -func CreateSaveSingleTaskForQueryingTransferAuthorizationCodeResponse() (response *SaveSingleTaskForQueryingTransferAuthorizationCodeResponse) { - response = &SaveSingleTaskForQueryingTransferAuthorizationCodeResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_save_art_extension.go b/services/domain/save_single_task_for_save_art_extension.go deleted file mode 100644 index 0bd9e546c..000000000 --- a/services/domain/save_single_task_for_save_art_extension.go +++ /dev/null @@ -1,111 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForSaveArtExtension invokes the domain.SaveSingleTaskForSaveArtExtension API synchronously -func (client *Client) SaveSingleTaskForSaveArtExtension(request *SaveSingleTaskForSaveArtExtensionRequest) (response *SaveSingleTaskForSaveArtExtensionResponse, err error) { - response = CreateSaveSingleTaskForSaveArtExtensionResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForSaveArtExtensionWithChan invokes the domain.SaveSingleTaskForSaveArtExtension API asynchronously -func (client *Client) SaveSingleTaskForSaveArtExtensionWithChan(request *SaveSingleTaskForSaveArtExtensionRequest) (<-chan *SaveSingleTaskForSaveArtExtensionResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForSaveArtExtensionResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForSaveArtExtension(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForSaveArtExtensionWithCallback invokes the domain.SaveSingleTaskForSaveArtExtension API asynchronously -func (client *Client) SaveSingleTaskForSaveArtExtensionWithCallback(request *SaveSingleTaskForSaveArtExtensionRequest, callback func(response *SaveSingleTaskForSaveArtExtensionResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForSaveArtExtensionResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForSaveArtExtension(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForSaveArtExtensionRequest is the request struct for api SaveSingleTaskForSaveArtExtension -type SaveSingleTaskForSaveArtExtensionRequest struct { - *requests.RpcRequest - Subject string `position:"Query" name:"Subject"` - Title string `position:"Query" name:"Title"` - DateOrPeriod string `position:"Query" name:"DateOrPeriod"` - Reference string `position:"Query" name:"Reference"` - Features string `position:"Query" name:"Features"` - InscriptionsAndMarkings string `position:"Query" name:"InscriptionsAndMarkings"` - ObjectType string `position:"Query" name:"ObjectType"` - Lang string `position:"Query" name:"Lang"` - DomainName string `position:"Query" name:"DomainName"` - Maker string `position:"Query" name:"Maker"` - MaterialsAndTechniques string `position:"Query" name:"MaterialsAndTechniques"` - Dimensions string `position:"Query" name:"Dimensions"` -} - -// SaveSingleTaskForSaveArtExtensionResponse is the response struct for api SaveSingleTaskForSaveArtExtension -type SaveSingleTaskForSaveArtExtensionResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForSaveArtExtensionRequest creates a request to invoke SaveSingleTaskForSaveArtExtension API -func CreateSaveSingleTaskForSaveArtExtensionRequest() (request *SaveSingleTaskForSaveArtExtensionRequest) { - request = &SaveSingleTaskForSaveArtExtensionRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForSaveArtExtension", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForSaveArtExtensionResponse creates a response to parse from SaveSingleTaskForSaveArtExtension response -func CreateSaveSingleTaskForSaveArtExtensionResponse() (response *SaveSingleTaskForSaveArtExtensionResponse) { - response = &SaveSingleTaskForSaveArtExtensionResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_synchronizing_dns_host.go b/services/domain/save_single_task_for_synchronizing_dns_host.go deleted file mode 100644 index 54350ae83..000000000 --- a/services/domain/save_single_task_for_synchronizing_dns_host.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForSynchronizingDnsHost invokes the domain.SaveSingleTaskForSynchronizingDnsHost API synchronously -func (client *Client) SaveSingleTaskForSynchronizingDnsHost(request *SaveSingleTaskForSynchronizingDnsHostRequest) (response *SaveSingleTaskForSynchronizingDnsHostResponse, err error) { - response = CreateSaveSingleTaskForSynchronizingDnsHostResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForSynchronizingDnsHostWithChan invokes the domain.SaveSingleTaskForSynchronizingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForSynchronizingDnsHostWithChan(request *SaveSingleTaskForSynchronizingDnsHostRequest) (<-chan *SaveSingleTaskForSynchronizingDnsHostResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForSynchronizingDnsHostResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForSynchronizingDnsHost(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForSynchronizingDnsHostWithCallback invokes the domain.SaveSingleTaskForSynchronizingDnsHost API asynchronously -func (client *Client) SaveSingleTaskForSynchronizingDnsHostWithCallback(request *SaveSingleTaskForSynchronizingDnsHostRequest, callback func(response *SaveSingleTaskForSynchronizingDnsHostResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForSynchronizingDnsHostResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForSynchronizingDnsHost(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForSynchronizingDnsHostRequest is the request struct for api SaveSingleTaskForSynchronizingDnsHost -type SaveSingleTaskForSynchronizingDnsHostRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForSynchronizingDnsHostResponse is the response struct for api SaveSingleTaskForSynchronizingDnsHost -type SaveSingleTaskForSynchronizingDnsHostResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForSynchronizingDnsHostRequest creates a request to invoke SaveSingleTaskForSynchronizingDnsHost API -func CreateSaveSingleTaskForSynchronizingDnsHostRequest() (request *SaveSingleTaskForSynchronizingDnsHostRequest) { - request = &SaveSingleTaskForSynchronizingDnsHostRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForSynchronizingDnsHost", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForSynchronizingDnsHostResponse creates a response to parse from SaveSingleTaskForSynchronizingDnsHost response -func CreateSaveSingleTaskForSynchronizingDnsHostResponse() (response *SaveSingleTaskForSynchronizingDnsHostResponse) { - response = &SaveSingleTaskForSynchronizingDnsHostResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_synchronizing_ds_record.go b/services/domain/save_single_task_for_synchronizing_ds_record.go deleted file mode 100644 index aa1a5eb98..000000000 --- a/services/domain/save_single_task_for_synchronizing_ds_record.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForSynchronizingDSRecord invokes the domain.SaveSingleTaskForSynchronizingDSRecord API synchronously -func (client *Client) SaveSingleTaskForSynchronizingDSRecord(request *SaveSingleTaskForSynchronizingDSRecordRequest) (response *SaveSingleTaskForSynchronizingDSRecordResponse, err error) { - response = CreateSaveSingleTaskForSynchronizingDSRecordResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForSynchronizingDSRecordWithChan invokes the domain.SaveSingleTaskForSynchronizingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForSynchronizingDSRecordWithChan(request *SaveSingleTaskForSynchronizingDSRecordRequest) (<-chan *SaveSingleTaskForSynchronizingDSRecordResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForSynchronizingDSRecordResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForSynchronizingDSRecord(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForSynchronizingDSRecordWithCallback invokes the domain.SaveSingleTaskForSynchronizingDSRecord API asynchronously -func (client *Client) SaveSingleTaskForSynchronizingDSRecordWithCallback(request *SaveSingleTaskForSynchronizingDSRecordRequest, callback func(response *SaveSingleTaskForSynchronizingDSRecordResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForSynchronizingDSRecordResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForSynchronizingDSRecord(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForSynchronizingDSRecordRequest is the request struct for api SaveSingleTaskForSynchronizingDSRecord -type SaveSingleTaskForSynchronizingDSRecordRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForSynchronizingDSRecordResponse is the response struct for api SaveSingleTaskForSynchronizingDSRecord -type SaveSingleTaskForSynchronizingDSRecordResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForSynchronizingDSRecordRequest creates a request to invoke SaveSingleTaskForSynchronizingDSRecord API -func CreateSaveSingleTaskForSynchronizingDSRecordRequest() (request *SaveSingleTaskForSynchronizingDSRecordRequest) { - request = &SaveSingleTaskForSynchronizingDSRecordRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForSynchronizingDSRecord", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForSynchronizingDSRecordResponse creates a response to parse from SaveSingleTaskForSynchronizingDSRecord response -func CreateSaveSingleTaskForSynchronizingDSRecordResponse() (response *SaveSingleTaskForSynchronizingDSRecordResponse) { - response = &SaveSingleTaskForSynchronizingDSRecordResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_transfer_prohibition_lock.go b/services/domain/save_single_task_for_transfer_prohibition_lock.go deleted file mode 100644 index 6320437c4..000000000 --- a/services/domain/save_single_task_for_transfer_prohibition_lock.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForTransferProhibitionLock invokes the domain.SaveSingleTaskForTransferProhibitionLock API synchronously -func (client *Client) SaveSingleTaskForTransferProhibitionLock(request *SaveSingleTaskForTransferProhibitionLockRequest) (response *SaveSingleTaskForTransferProhibitionLockResponse, err error) { - response = CreateSaveSingleTaskForTransferProhibitionLockResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForTransferProhibitionLockWithChan invokes the domain.SaveSingleTaskForTransferProhibitionLock API asynchronously -func (client *Client) SaveSingleTaskForTransferProhibitionLockWithChan(request *SaveSingleTaskForTransferProhibitionLockRequest) (<-chan *SaveSingleTaskForTransferProhibitionLockResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForTransferProhibitionLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForTransferProhibitionLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForTransferProhibitionLockWithCallback invokes the domain.SaveSingleTaskForTransferProhibitionLock API asynchronously -func (client *Client) SaveSingleTaskForTransferProhibitionLockWithCallback(request *SaveSingleTaskForTransferProhibitionLockRequest, callback func(response *SaveSingleTaskForTransferProhibitionLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForTransferProhibitionLockResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForTransferProhibitionLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForTransferProhibitionLockRequest is the request struct for api SaveSingleTaskForTransferProhibitionLock -type SaveSingleTaskForTransferProhibitionLockRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveSingleTaskForTransferProhibitionLockResponse is the response struct for api SaveSingleTaskForTransferProhibitionLock -type SaveSingleTaskForTransferProhibitionLockResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForTransferProhibitionLockRequest creates a request to invoke SaveSingleTaskForTransferProhibitionLock API -func CreateSaveSingleTaskForTransferProhibitionLockRequest() (request *SaveSingleTaskForTransferProhibitionLockRequest) { - request = &SaveSingleTaskForTransferProhibitionLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForTransferProhibitionLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForTransferProhibitionLockResponse creates a response to parse from SaveSingleTaskForTransferProhibitionLock response -func CreateSaveSingleTaskForTransferProhibitionLockResponse() (response *SaveSingleTaskForTransferProhibitionLockResponse) { - response = &SaveSingleTaskForTransferProhibitionLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_update_prohibition_lock.go b/services/domain/save_single_task_for_update_prohibition_lock.go deleted file mode 100644 index 44a852aac..000000000 --- a/services/domain/save_single_task_for_update_prohibition_lock.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForUpdateProhibitionLock invokes the domain.SaveSingleTaskForUpdateProhibitionLock API synchronously -func (client *Client) SaveSingleTaskForUpdateProhibitionLock(request *SaveSingleTaskForUpdateProhibitionLockRequest) (response *SaveSingleTaskForUpdateProhibitionLockResponse, err error) { - response = CreateSaveSingleTaskForUpdateProhibitionLockResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForUpdateProhibitionLockWithChan invokes the domain.SaveSingleTaskForUpdateProhibitionLock API asynchronously -func (client *Client) SaveSingleTaskForUpdateProhibitionLockWithChan(request *SaveSingleTaskForUpdateProhibitionLockRequest) (<-chan *SaveSingleTaskForUpdateProhibitionLockResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForUpdateProhibitionLockResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForUpdateProhibitionLock(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForUpdateProhibitionLockWithCallback invokes the domain.SaveSingleTaskForUpdateProhibitionLock API asynchronously -func (client *Client) SaveSingleTaskForUpdateProhibitionLockWithCallback(request *SaveSingleTaskForUpdateProhibitionLockRequest, callback func(response *SaveSingleTaskForUpdateProhibitionLockResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForUpdateProhibitionLockResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForUpdateProhibitionLock(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForUpdateProhibitionLockRequest is the request struct for api SaveSingleTaskForUpdateProhibitionLock -type SaveSingleTaskForUpdateProhibitionLockRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Status requests.Boolean `position:"Query" name:"Status"` -} - -// SaveSingleTaskForUpdateProhibitionLockResponse is the response struct for api SaveSingleTaskForUpdateProhibitionLock -type SaveSingleTaskForUpdateProhibitionLockResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForUpdateProhibitionLockRequest creates a request to invoke SaveSingleTaskForUpdateProhibitionLock API -func CreateSaveSingleTaskForUpdateProhibitionLockRequest() (request *SaveSingleTaskForUpdateProhibitionLockRequest) { - request = &SaveSingleTaskForUpdateProhibitionLockRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForUpdateProhibitionLock", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForUpdateProhibitionLockResponse creates a response to parse from SaveSingleTaskForUpdateProhibitionLock response -func CreateSaveSingleTaskForUpdateProhibitionLockResponse() (response *SaveSingleTaskForUpdateProhibitionLockResponse) { - response = &SaveSingleTaskForUpdateProhibitionLockResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_single_task_for_updating_contact_info.go b/services/domain/save_single_task_for_updating_contact_info.go deleted file mode 100644 index d4e3db5be..000000000 --- a/services/domain/save_single_task_for_updating_contact_info.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveSingleTaskForUpdatingContactInfo invokes the domain.SaveSingleTaskForUpdatingContactInfo API synchronously -func (client *Client) SaveSingleTaskForUpdatingContactInfo(request *SaveSingleTaskForUpdatingContactInfoRequest) (response *SaveSingleTaskForUpdatingContactInfoResponse, err error) { - response = CreateSaveSingleTaskForUpdatingContactInfoResponse() - err = client.DoAction(request, response) - return -} - -// SaveSingleTaskForUpdatingContactInfoWithChan invokes the domain.SaveSingleTaskForUpdatingContactInfo API asynchronously -func (client *Client) SaveSingleTaskForUpdatingContactInfoWithChan(request *SaveSingleTaskForUpdatingContactInfoRequest) (<-chan *SaveSingleTaskForUpdatingContactInfoResponse, <-chan error) { - responseChan := make(chan *SaveSingleTaskForUpdatingContactInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveSingleTaskForUpdatingContactInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveSingleTaskForUpdatingContactInfoWithCallback invokes the domain.SaveSingleTaskForUpdatingContactInfo API asynchronously -func (client *Client) SaveSingleTaskForUpdatingContactInfoWithCallback(request *SaveSingleTaskForUpdatingContactInfoRequest, callback func(response *SaveSingleTaskForUpdatingContactInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveSingleTaskForUpdatingContactInfoResponse - var err error - defer close(result) - response, err = client.SaveSingleTaskForUpdatingContactInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveSingleTaskForUpdatingContactInfoRequest is the request struct for api SaveSingleTaskForUpdatingContactInfo -type SaveSingleTaskForUpdatingContactInfoRequest struct { - *requests.RpcRequest - ContactType string `position:"Query" name:"ContactType"` - DomainName string `position:"Query" name:"DomainName"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - AddTransferLock requests.Boolean `position:"Query" name:"AddTransferLock"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveSingleTaskForUpdatingContactInfoResponse is the response struct for api SaveSingleTaskForUpdatingContactInfo -type SaveSingleTaskForUpdatingContactInfoResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveSingleTaskForUpdatingContactInfoRequest creates a request to invoke SaveSingleTaskForUpdatingContactInfo API -func CreateSaveSingleTaskForUpdatingContactInfoRequest() (request *SaveSingleTaskForUpdatingContactInfoRequest) { - request = &SaveSingleTaskForUpdatingContactInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveSingleTaskForUpdatingContactInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveSingleTaskForUpdatingContactInfoResponse creates a response to parse from SaveSingleTaskForUpdatingContactInfo response -func CreateSaveSingleTaskForUpdatingContactInfoResponse() (response *SaveSingleTaskForUpdatingContactInfoResponse) { - response = &SaveSingleTaskForUpdatingContactInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_modifying_domain_dns.go b/services/domain/save_task_for_modifying_domain_dns.go deleted file mode 100644 index 753684efb..000000000 --- a/services/domain/save_task_for_modifying_domain_dns.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForModifyingDomainDns invokes the domain.SaveTaskForModifyingDomainDns API synchronously -func (client *Client) SaveTaskForModifyingDomainDns(request *SaveTaskForModifyingDomainDnsRequest) (response *SaveTaskForModifyingDomainDnsResponse, err error) { - response = CreateSaveTaskForModifyingDomainDnsResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForModifyingDomainDnsWithChan invokes the domain.SaveTaskForModifyingDomainDns API asynchronously -func (client *Client) SaveTaskForModifyingDomainDnsWithChan(request *SaveTaskForModifyingDomainDnsRequest) (<-chan *SaveTaskForModifyingDomainDnsResponse, <-chan error) { - responseChan := make(chan *SaveTaskForModifyingDomainDnsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForModifyingDomainDns(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForModifyingDomainDnsWithCallback invokes the domain.SaveTaskForModifyingDomainDns API asynchronously -func (client *Client) SaveTaskForModifyingDomainDnsWithCallback(request *SaveTaskForModifyingDomainDnsRequest, callback func(response *SaveTaskForModifyingDomainDnsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForModifyingDomainDnsResponse - var err error - defer close(result) - response, err = client.SaveTaskForModifyingDomainDns(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForModifyingDomainDnsRequest is the request struct for api SaveTaskForModifyingDomainDns -type SaveTaskForModifyingDomainDnsRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - DomainName string `position:"Query" name:"DomainName"` - AliyunDns requests.Boolean `position:"Query" name:"AliyunDns"` - DnsList *[]string `position:"Query" name:"DnsList" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveTaskForModifyingDomainDnsResponse is the response struct for api SaveTaskForModifyingDomainDns -type SaveTaskForModifyingDomainDnsResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForModifyingDomainDnsRequest creates a request to invoke SaveTaskForModifyingDomainDns API -func CreateSaveTaskForModifyingDomainDnsRequest() (request *SaveTaskForModifyingDomainDnsRequest) { - request = &SaveTaskForModifyingDomainDnsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveTaskForModifyingDomainDns", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForModifyingDomainDnsResponse creates a response to parse from SaveTaskForModifyingDomainDns response -func CreateSaveTaskForModifyingDomainDnsResponse() (response *SaveTaskForModifyingDomainDnsResponse) { - response = &SaveTaskForModifyingDomainDnsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_submitting_domain_delete.go b/services/domain/save_task_for_submitting_domain_delete.go deleted file mode 100644 index ffbd5025c..000000000 --- a/services/domain/save_task_for_submitting_domain_delete.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForSubmittingDomainDelete invokes the domain.SaveTaskForSubmittingDomainDelete API synchronously -func (client *Client) SaveTaskForSubmittingDomainDelete(request *SaveTaskForSubmittingDomainDeleteRequest) (response *SaveTaskForSubmittingDomainDeleteResponse, err error) { - response = CreateSaveTaskForSubmittingDomainDeleteResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForSubmittingDomainDeleteWithChan invokes the domain.SaveTaskForSubmittingDomainDelete API asynchronously -func (client *Client) SaveTaskForSubmittingDomainDeleteWithChan(request *SaveTaskForSubmittingDomainDeleteRequest) (<-chan *SaveTaskForSubmittingDomainDeleteResponse, <-chan error) { - responseChan := make(chan *SaveTaskForSubmittingDomainDeleteResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForSubmittingDomainDelete(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForSubmittingDomainDeleteWithCallback invokes the domain.SaveTaskForSubmittingDomainDelete API asynchronously -func (client *Client) SaveTaskForSubmittingDomainDeleteWithCallback(request *SaveTaskForSubmittingDomainDeleteRequest, callback func(response *SaveTaskForSubmittingDomainDeleteResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForSubmittingDomainDeleteResponse - var err error - defer close(result) - response, err = client.SaveTaskForSubmittingDomainDelete(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForSubmittingDomainDeleteRequest is the request struct for api SaveTaskForSubmittingDomainDelete -type SaveTaskForSubmittingDomainDeleteRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveTaskForSubmittingDomainDeleteResponse is the response struct for api SaveTaskForSubmittingDomainDelete -type SaveTaskForSubmittingDomainDeleteResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForSubmittingDomainDeleteRequest creates a request to invoke SaveTaskForSubmittingDomainDelete API -func CreateSaveTaskForSubmittingDomainDeleteRequest() (request *SaveTaskForSubmittingDomainDeleteRequest) { - request = &SaveTaskForSubmittingDomainDeleteRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveTaskForSubmittingDomainDelete", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForSubmittingDomainDeleteResponse creates a response to parse from SaveTaskForSubmittingDomainDelete response -func CreateSaveTaskForSubmittingDomainDeleteResponse() (response *SaveTaskForSubmittingDomainDeleteResponse) { - response = &SaveTaskForSubmittingDomainDeleteResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_submitting_domain_name_credential.go b/services/domain/save_task_for_submitting_domain_name_credential.go deleted file mode 100644 index c519e3752..000000000 --- a/services/domain/save_task_for_submitting_domain_name_credential.go +++ /dev/null @@ -1,106 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForSubmittingDomainNameCredential invokes the domain.SaveTaskForSubmittingDomainNameCredential API synchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredential(request *SaveTaskForSubmittingDomainNameCredentialRequest) (response *SaveTaskForSubmittingDomainNameCredentialResponse, err error) { - response = CreateSaveTaskForSubmittingDomainNameCredentialResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForSubmittingDomainNameCredentialWithChan invokes the domain.SaveTaskForSubmittingDomainNameCredential API asynchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredentialWithChan(request *SaveTaskForSubmittingDomainNameCredentialRequest) (<-chan *SaveTaskForSubmittingDomainNameCredentialResponse, <-chan error) { - responseChan := make(chan *SaveTaskForSubmittingDomainNameCredentialResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForSubmittingDomainNameCredential(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForSubmittingDomainNameCredentialWithCallback invokes the domain.SaveTaskForSubmittingDomainNameCredential API asynchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredentialWithCallback(request *SaveTaskForSubmittingDomainNameCredentialRequest, callback func(response *SaveTaskForSubmittingDomainNameCredentialResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForSubmittingDomainNameCredentialResponse - var err error - defer close(result) - response, err = client.SaveTaskForSubmittingDomainNameCredential(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForSubmittingDomainNameCredentialRequest is the request struct for api SaveTaskForSubmittingDomainNameCredential -type SaveTaskForSubmittingDomainNameCredentialRequest struct { - *requests.RpcRequest - CredentialType string `position:"Query" name:"CredentialType"` - SaleId string `position:"Query" name:"SaleId"` - DomainName string `position:"Query" name:"DomainName"` - CredentialNo string `position:"Query" name:"CredentialNo"` - Credential string `position:"Query" name:"Credential"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveTaskForSubmittingDomainNameCredentialResponse is the response struct for api SaveTaskForSubmittingDomainNameCredential -type SaveTaskForSubmittingDomainNameCredentialResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForSubmittingDomainNameCredentialRequest creates a request to invoke SaveTaskForSubmittingDomainNameCredential API -func CreateSaveTaskForSubmittingDomainNameCredentialRequest() (request *SaveTaskForSubmittingDomainNameCredentialRequest) { - request = &SaveTaskForSubmittingDomainNameCredentialRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveTaskForSubmittingDomainNameCredential", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForSubmittingDomainNameCredentialResponse creates a response to parse from SaveTaskForSubmittingDomainNameCredential response -func CreateSaveTaskForSubmittingDomainNameCredentialResponse() (response *SaveTaskForSubmittingDomainNameCredentialResponse) { - response = &SaveTaskForSubmittingDomainNameCredentialResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_submitting_domain_name_credential_by_template_id.go b/services/domain/save_task_for_submitting_domain_name_credential_by_template_id.go deleted file mode 100644 index 27891def4..000000000 --- a/services/domain/save_task_for_submitting_domain_name_credential_by_template_id.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForSubmittingDomainNameCredentialByTemplateId invokes the domain.SaveTaskForSubmittingDomainNameCredentialByTemplateId API synchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredentialByTemplateId(request *SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest) (response *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse, err error) { - response = CreateSaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForSubmittingDomainNameCredentialByTemplateIdWithChan invokes the domain.SaveTaskForSubmittingDomainNameCredentialByTemplateId API asynchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredentialByTemplateIdWithChan(request *SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest) (<-chan *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse, <-chan error) { - responseChan := make(chan *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForSubmittingDomainNameCredentialByTemplateId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForSubmittingDomainNameCredentialByTemplateIdWithCallback invokes the domain.SaveTaskForSubmittingDomainNameCredentialByTemplateId API asynchronously -func (client *Client) SaveTaskForSubmittingDomainNameCredentialByTemplateIdWithCallback(request *SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest, callback func(response *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse - var err error - defer close(result) - response, err = client.SaveTaskForSubmittingDomainNameCredentialByTemplateId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest is the request struct for api SaveTaskForSubmittingDomainNameCredentialByTemplateId -type SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse is the response struct for api SaveTaskForSubmittingDomainNameCredentialByTemplateId -type SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - Success bool `json:"Success" xml:"Success"` -} - -// CreateSaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest creates a request to invoke SaveTaskForSubmittingDomainNameCredentialByTemplateId API -func CreateSaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest() (request *SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest) { - request = &SaveTaskForSubmittingDomainNameCredentialByTemplateIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveTaskForSubmittingDomainNameCredentialByTemplateId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse creates a response to parse from SaveTaskForSubmittingDomainNameCredentialByTemplateId response -func CreateSaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse() (response *SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse) { - response = &SaveTaskForSubmittingDomainNameCredentialByTemplateIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_submitting_domain_real_name_verification_by_identity_credential.go b/services/domain/save_task_for_submitting_domain_real_name_verification_by_identity_credential.go deleted file mode 100644 index d91b81391..000000000 --- a/services/domain/save_task_for_submitting_domain_real_name_verification_by_identity_credential.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential API synchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential(request *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest) (response *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse, err error) { - response = CreateSaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialWithChan invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential API asynchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialWithChan(request *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest) (<-chan *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse, <-chan error) { - responseChan := make(chan *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialWithCallback invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential API asynchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialWithCallback(request *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest, callback func(response *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse - var err error - defer close(result) - response, err = client.SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest is the request struct for api SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential -type SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest struct { - *requests.RpcRequest - IdentityCredentialType string `position:"Query" name:"IdentityCredentialType"` - IdentityCredential string `position:"Body" name:"IdentityCredential"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - IdentityCredentialNo string `position:"Query" name:"IdentityCredentialNo"` -} - -// SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse is the response struct for api SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential -type SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest creates a request to invoke SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential API -func CreateSaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest() (request *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest) { - request = &SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse creates a response to parse from SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential response -func CreateSaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse() (response *SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse) { - response = &SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_submitting_domain_real_name_verification_by_registrant_profile_id.go b/services/domain/save_task_for_submitting_domain_real_name_verification_by_registrant_profile_id.go deleted file mode 100644 index 5002157ef..000000000 --- a/services/domain/save_task_for_submitting_domain_real_name_verification_by_registrant_profile_id.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID API synchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID(request *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest) (response *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse, err error) { - response = CreateSaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDWithChan invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID API asynchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDWithChan(request *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest) (<-chan *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse, <-chan error) { - responseChan := make(chan *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDWithCallback invokes the domain.SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID API asynchronously -func (client *Client) SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDWithCallback(request *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest, callback func(response *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse - var err error - defer close(result) - response, err = client.SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest is the request struct for api SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID -type SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - InstanceId string `position:"Query" name:"InstanceId"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse is the response struct for api SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID -type SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest creates a request to invoke SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID API -func CreateSaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest() (request *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest) { - request = &SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse creates a response to parse from SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID response -func CreateSaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse() (response *SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse) { - response = &SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileIDResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_updating_contact_by_tempate_id.go b/services/domain/save_task_for_updating_contact_by_tempate_id.go deleted file mode 100644 index 5e50f5177..000000000 --- a/services/domain/save_task_for_updating_contact_by_tempate_id.go +++ /dev/null @@ -1,107 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForUpdatingContactByTempateId invokes the domain.SaveTaskForUpdatingContactByTempateId API synchronously -func (client *Client) SaveTaskForUpdatingContactByTempateId(request *SaveTaskForUpdatingContactByTempateIdRequest) (response *SaveTaskForUpdatingContactByTempateIdResponse, err error) { - response = CreateSaveTaskForUpdatingContactByTempateIdResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForUpdatingContactByTempateIdWithChan invokes the domain.SaveTaskForUpdatingContactByTempateId API asynchronously -func (client *Client) SaveTaskForUpdatingContactByTempateIdWithChan(request *SaveTaskForUpdatingContactByTempateIdRequest) (<-chan *SaveTaskForUpdatingContactByTempateIdResponse, <-chan error) { - responseChan := make(chan *SaveTaskForUpdatingContactByTempateIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForUpdatingContactByTempateId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForUpdatingContactByTempateIdWithCallback invokes the domain.SaveTaskForUpdatingContactByTempateId API asynchronously -func (client *Client) SaveTaskForUpdatingContactByTempateIdWithCallback(request *SaveTaskForUpdatingContactByTempateIdRequest, callback func(response *SaveTaskForUpdatingContactByTempateIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForUpdatingContactByTempateIdResponse - var err error - defer close(result) - response, err = client.SaveTaskForUpdatingContactByTempateId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForUpdatingContactByTempateIdRequest is the request struct for api SaveTaskForUpdatingContactByTempateId -type SaveTaskForUpdatingContactByTempateIdRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - ContactType string `position:"Query" name:"ContactType"` - DomainName string `position:"Query" name:"DomainName"` - AddTransferLock requests.Boolean `position:"Query" name:"AddTransferLock"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// SaveTaskForUpdatingContactByTempateIdResponse is the response struct for api SaveTaskForUpdatingContactByTempateId -type SaveTaskForUpdatingContactByTempateIdResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - Success bool `json:"Success" xml:"Success"` -} - -// CreateSaveTaskForUpdatingContactByTempateIdRequest creates a request to invoke SaveTaskForUpdatingContactByTempateId API -func CreateSaveTaskForUpdatingContactByTempateIdRequest() (request *SaveTaskForUpdatingContactByTempateIdRequest) { - request = &SaveTaskForUpdatingContactByTempateIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveTaskForUpdatingContactByTempateId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForUpdatingContactByTempateIdResponse creates a response to parse from SaveTaskForUpdatingContactByTempateId response -func CreateSaveTaskForUpdatingContactByTempateIdResponse() (response *SaveTaskForUpdatingContactByTempateIdResponse) { - response = &SaveTaskForUpdatingContactByTempateIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_updating_contact_by_template_id.go b/services/domain/save_task_for_updating_contact_by_template_id.go deleted file mode 100644 index ea11dd06c..000000000 --- a/services/domain/save_task_for_updating_contact_by_template_id.go +++ /dev/null @@ -1,107 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForUpdatingContactByTemplateId invokes the domain.SaveTaskForUpdatingContactByTemplateId API synchronously -func (client *Client) SaveTaskForUpdatingContactByTemplateId(request *SaveTaskForUpdatingContactByTemplateIdRequest) (response *SaveTaskForUpdatingContactByTemplateIdResponse, err error) { - response = CreateSaveTaskForUpdatingContactByTemplateIdResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForUpdatingContactByTemplateIdWithChan invokes the domain.SaveTaskForUpdatingContactByTemplateId API asynchronously -func (client *Client) SaveTaskForUpdatingContactByTemplateIdWithChan(request *SaveTaskForUpdatingContactByTemplateIdRequest) (<-chan *SaveTaskForUpdatingContactByTemplateIdResponse, <-chan error) { - responseChan := make(chan *SaveTaskForUpdatingContactByTemplateIdResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForUpdatingContactByTemplateId(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForUpdatingContactByTemplateIdWithCallback invokes the domain.SaveTaskForUpdatingContactByTemplateId API asynchronously -func (client *Client) SaveTaskForUpdatingContactByTemplateIdWithCallback(request *SaveTaskForUpdatingContactByTemplateIdRequest, callback func(response *SaveTaskForUpdatingContactByTemplateIdResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForUpdatingContactByTemplateIdResponse - var err error - defer close(result) - response, err = client.SaveTaskForUpdatingContactByTemplateId(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForUpdatingContactByTemplateIdRequest is the request struct for api SaveTaskForUpdatingContactByTemplateId -type SaveTaskForUpdatingContactByTemplateIdRequest struct { - *requests.RpcRequest - SaleId string `position:"Query" name:"SaleId"` - ContactType string `position:"Query" name:"ContactType"` - DomainName string `position:"Query" name:"DomainName"` - AddTransferLock requests.Boolean `position:"Query" name:"AddTransferLock"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - ContactTemplateId requests.Integer `position:"Query" name:"ContactTemplateId"` -} - -// SaveTaskForUpdatingContactByTemplateIdResponse is the response struct for api SaveTaskForUpdatingContactByTemplateId -type SaveTaskForUpdatingContactByTemplateIdResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - Success bool `json:"Success" xml:"Success"` -} - -// CreateSaveTaskForUpdatingContactByTemplateIdRequest creates a request to invoke SaveTaskForUpdatingContactByTemplateId API -func CreateSaveTaskForUpdatingContactByTemplateIdRequest() (request *SaveTaskForUpdatingContactByTemplateIdRequest) { - request = &SaveTaskForUpdatingContactByTemplateIdRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "SaveTaskForUpdatingContactByTemplateId", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForUpdatingContactByTemplateIdResponse creates a response to parse from SaveTaskForUpdatingContactByTemplateId response -func CreateSaveTaskForUpdatingContactByTemplateIdResponse() (response *SaveTaskForUpdatingContactByTemplateIdResponse) { - response = &SaveTaskForUpdatingContactByTemplateIdResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_updating_registrant_info_by_identity_credential.go b/services/domain/save_task_for_updating_registrant_info_by_identity_credential.go deleted file mode 100644 index 708bccd85..000000000 --- a/services/domain/save_task_for_updating_registrant_info_by_identity_credential.go +++ /dev/null @@ -1,123 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForUpdatingRegistrantInfoByIdentityCredential invokes the domain.SaveTaskForUpdatingRegistrantInfoByIdentityCredential API synchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByIdentityCredential(request *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest) (response *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse, err error) { - response = CreateSaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForUpdatingRegistrantInfoByIdentityCredentialWithChan invokes the domain.SaveTaskForUpdatingRegistrantInfoByIdentityCredential API asynchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByIdentityCredentialWithChan(request *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest) (<-chan *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse, <-chan error) { - responseChan := make(chan *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForUpdatingRegistrantInfoByIdentityCredential(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForUpdatingRegistrantInfoByIdentityCredentialWithCallback invokes the domain.SaveTaskForUpdatingRegistrantInfoByIdentityCredential API asynchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByIdentityCredentialWithCallback(request *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest, callback func(response *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse - var err error - defer close(result) - response, err = client.SaveTaskForUpdatingRegistrantInfoByIdentityCredential(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest is the request struct for api SaveTaskForUpdatingRegistrantInfoByIdentityCredential -type SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - IdentityCredentialType string `position:"Query" name:"IdentityCredentialType"` - City string `position:"Query" name:"City"` - IdentityCredential string `position:"Body" name:"IdentityCredential"` - TransferOutProhibited requests.Boolean `position:"Query" name:"TransferOutProhibited"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` - IdentityCredentialNo string `position:"Query" name:"IdentityCredentialNo"` - RegistrantName string `position:"Query" name:"RegistrantName"` -} - -// SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse is the response struct for api SaveTaskForUpdatingRegistrantInfoByIdentityCredential -type SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest creates a request to invoke SaveTaskForUpdatingRegistrantInfoByIdentityCredential API -func CreateSaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest() (request *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest) { - request = &SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveTaskForUpdatingRegistrantInfoByIdentityCredential", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse creates a response to parse from SaveTaskForUpdatingRegistrantInfoByIdentityCredential response -func CreateSaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse() (response *SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse) { - response = &SaveTaskForUpdatingRegistrantInfoByIdentityCredentialResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/save_task_for_updating_registrant_info_by_registrant_profile_id.go b/services/domain/save_task_for_updating_registrant_info_by_registrant_profile_id.go deleted file mode 100644 index 26af76bd3..000000000 --- a/services/domain/save_task_for_updating_registrant_info_by_registrant_profile_id.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID invokes the domain.SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID API synchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID(request *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest) (response *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse, err error) { - response = CreateSaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse() - err = client.DoAction(request, response) - return -} - -// SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDWithChan invokes the domain.SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID API asynchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDWithChan(request *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest) (<-chan *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse, <-chan error) { - responseChan := make(chan *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDWithCallback invokes the domain.SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID API asynchronously -func (client *Client) SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDWithCallback(request *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest, callback func(response *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse - var err error - defer close(result) - response, err = client.SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest is the request struct for api SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID -type SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest struct { - *requests.RpcRequest - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - TransferOutProhibited requests.Boolean `position:"Query" name:"TransferOutProhibited"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse is the response struct for api SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID -type SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` -} - -// CreateSaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest creates a request to invoke SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID API -func CreateSaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest() (request *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest) { - request = &SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse creates a response to parse from SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID response -func CreateSaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse() (response *SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse) { - response = &SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/scroll_domain_list.go b/services/domain/scroll_domain_list.go deleted file mode 100644 index 1ae0435b3..000000000 --- a/services/domain/scroll_domain_list.go +++ /dev/null @@ -1,125 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// ScrollDomainList invokes the domain.ScrollDomainList API synchronously -func (client *Client) ScrollDomainList(request *ScrollDomainListRequest) (response *ScrollDomainListResponse, err error) { - response = CreateScrollDomainListResponse() - err = client.DoAction(request, response) - return -} - -// ScrollDomainListWithChan invokes the domain.ScrollDomainList API asynchronously -func (client *Client) ScrollDomainListWithChan(request *ScrollDomainListRequest) (<-chan *ScrollDomainListResponse, <-chan error) { - responseChan := make(chan *ScrollDomainListResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ScrollDomainList(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ScrollDomainListWithCallback invokes the domain.ScrollDomainList API asynchronously -func (client *Client) ScrollDomainListWithCallback(request *ScrollDomainListRequest, callback func(response *ScrollDomainListResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ScrollDomainListResponse - var err error - defer close(result) - response, err = client.ScrollDomainList(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ScrollDomainListRequest is the request struct for api ScrollDomainList -type ScrollDomainListRequest struct { - *requests.RpcRequest - ProductDomainType string `position:"Query" name:"ProductDomainType"` - Excluded string `position:"Query" name:"Excluded"` - StartLength requests.Integer `position:"Query" name:"StartLength"` - ResourceGroupId string `position:"Query" name:"ResourceGroupId"` - ExcludedSuffix requests.Boolean `position:"Query" name:"ExcludedSuffix"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - Lang string `position:"Query" name:"Lang"` - ExcludedPrefix requests.Boolean `position:"Query" name:"ExcludedPrefix"` - KeyWord string `position:"Query" name:"KeyWord"` - EndExpirationDate requests.Integer `position:"Query" name:"EndExpirationDate"` - Suffixs string `position:"Query" name:"Suffixs"` - StartExpirationDate requests.Integer `position:"Query" name:"StartExpirationDate"` - DomainStatus requests.Integer `position:"Query" name:"DomainStatus"` - DomainGroupId requests.Integer `position:"Query" name:"DomainGroupId"` - KeyWordSuffix requests.Boolean `position:"Query" name:"KeyWordSuffix"` - ScrollId string `position:"Query" name:"ScrollId"` - KeyWordPrefix requests.Boolean `position:"Query" name:"KeyWordPrefix"` - TradeType requests.Integer `position:"Query" name:"TradeType"` - EndRegistrationDate requests.Integer `position:"Query" name:"EndRegistrationDate"` - Form requests.Integer `position:"Query" name:"Form"` - UserClientIp string `position:"Query" name:"UserClientIp"` - StartRegistrationDate requests.Integer `position:"Query" name:"StartRegistrationDate"` - EndLength requests.Integer `position:"Query" name:"EndLength"` -} - -// ScrollDomainListResponse is the response struct for api ScrollDomainList -type ScrollDomainListResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - PageSize int `json:"PageSize" xml:"PageSize"` - ScrollId string `json:"ScrollId" xml:"ScrollId"` - TotalItemNum int `json:"TotalItemNum" xml:"TotalItemNum"` - Data DataInScrollDomainList `json:"Data" xml:"Data"` -} - -// CreateScrollDomainListRequest creates a request to invoke ScrollDomainList API -func CreateScrollDomainListRequest() (request *ScrollDomainListRequest) { - request = &ScrollDomainListRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "ScrollDomainList", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateScrollDomainListResponse creates a response to parse from ScrollDomainList response -func CreateScrollDomainListResponse() (response *ScrollDomainListResponse) { - response = &ScrollDomainListResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/set_default_registrant_profile.go b/services/domain/set_default_registrant_profile.go deleted file mode 100644 index 9ca8ae3ea..000000000 --- a/services/domain/set_default_registrant_profile.go +++ /dev/null @@ -1,100 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SetDefaultRegistrantProfile invokes the domain.SetDefaultRegistrantProfile API synchronously -func (client *Client) SetDefaultRegistrantProfile(request *SetDefaultRegistrantProfileRequest) (response *SetDefaultRegistrantProfileResponse, err error) { - response = CreateSetDefaultRegistrantProfileResponse() - err = client.DoAction(request, response) - return -} - -// SetDefaultRegistrantProfileWithChan invokes the domain.SetDefaultRegistrantProfile API asynchronously -func (client *Client) SetDefaultRegistrantProfileWithChan(request *SetDefaultRegistrantProfileRequest) (<-chan *SetDefaultRegistrantProfileResponse, <-chan error) { - responseChan := make(chan *SetDefaultRegistrantProfileResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SetDefaultRegistrantProfile(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SetDefaultRegistrantProfileWithCallback invokes the domain.SetDefaultRegistrantProfile API asynchronously -func (client *Client) SetDefaultRegistrantProfileWithCallback(request *SetDefaultRegistrantProfileRequest, callback func(response *SetDefaultRegistrantProfileResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SetDefaultRegistrantProfileResponse - var err error - defer close(result) - response, err = client.SetDefaultRegistrantProfile(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SetDefaultRegistrantProfileRequest is the request struct for api SetDefaultRegistrantProfile -type SetDefaultRegistrantProfileRequest struct { - *requests.RpcRequest - RegistrantProfileId requests.Integer `position:"Query" name:"RegistrantProfileId"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// SetDefaultRegistrantProfileResponse is the response struct for api SetDefaultRegistrantProfile -type SetDefaultRegistrantProfileResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSetDefaultRegistrantProfileRequest creates a request to invoke SetDefaultRegistrantProfile API -func CreateSetDefaultRegistrantProfileRequest() (request *SetDefaultRegistrantProfileRequest) { - request = &SetDefaultRegistrantProfileRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SetDefaultRegistrantProfile", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSetDefaultRegistrantProfileResponse creates a response to parse from SetDefaultRegistrantProfile response -func CreateSetDefaultRegistrantProfileResponse() (response *SetDefaultRegistrantProfileResponse) { - response = &SetDefaultRegistrantProfileResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/setup_domain_auto_renew.go b/services/domain/setup_domain_auto_renew.go deleted file mode 100644 index 92ca68c84..000000000 --- a/services/domain/setup_domain_auto_renew.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SetupDomainAutoRenew invokes the domain.SetupDomainAutoRenew API synchronously -func (client *Client) SetupDomainAutoRenew(request *SetupDomainAutoRenewRequest) (response *SetupDomainAutoRenewResponse, err error) { - response = CreateSetupDomainAutoRenewResponse() - err = client.DoAction(request, response) - return -} - -// SetupDomainAutoRenewWithChan invokes the domain.SetupDomainAutoRenew API asynchronously -func (client *Client) SetupDomainAutoRenewWithChan(request *SetupDomainAutoRenewRequest) (<-chan *SetupDomainAutoRenewResponse, <-chan error) { - responseChan := make(chan *SetupDomainAutoRenewResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SetupDomainAutoRenew(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SetupDomainAutoRenewWithCallback invokes the domain.SetupDomainAutoRenew API asynchronously -func (client *Client) SetupDomainAutoRenewWithCallback(request *SetupDomainAutoRenewRequest, callback func(response *SetupDomainAutoRenewResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SetupDomainAutoRenewResponse - var err error - defer close(result) - response, err = client.SetupDomainAutoRenew(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SetupDomainAutoRenewRequest is the request struct for api SetupDomainAutoRenew -type SetupDomainAutoRenewRequest struct { - *requests.RpcRequest - InstanceId string `position:"Query" name:"InstanceId"` - Operation string `position:"Query" name:"Operation"` -} - -// SetupDomainAutoRenewResponse is the response struct for api SetupDomainAutoRenew -type SetupDomainAutoRenewResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Result bool `json:"Result" xml:"Result"` -} - -// CreateSetupDomainAutoRenewRequest creates a request to invoke SetupDomainAutoRenew API -func CreateSetupDomainAutoRenewRequest() (request *SetupDomainAutoRenewRequest) { - request = &SetupDomainAutoRenewRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SetupDomainAutoRenew", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSetupDomainAutoRenewResponse creates a response to parse from SetupDomainAutoRenew response -func CreateSetupDomainAutoRenewResponse() (response *SetupDomainAutoRenewResponse) { - response = &SetupDomainAutoRenewResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/struct_addr.go b/services/domain/struct_addr.go deleted file mode 100644 index 7dfd76389..000000000 --- a/services/domain/struct_addr.go +++ /dev/null @@ -1,25 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Addr is a nested struct in domain response -type Addr struct { - Cc string `json:"Cc" xml:"Cc"` - Pc string `json:"Pc" xml:"Pc"` - Sp string `json:"Sp" xml:"Sp"` - City string `json:"City" xml:"City"` - Street StreetInLookupTmchNotice `json:"Street" xml:"Street"` -} diff --git a/services/domain/struct_admin_division.go b/services/domain/struct_admin_division.go deleted file mode 100644 index c513a7835..000000000 --- a/services/domain/struct_admin_division.go +++ /dev/null @@ -1,22 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// AdminDivision is a nested struct in domain response -type AdminDivision struct { - DivisionName string `json:"DivisionName" xml:"DivisionName"` - Children Children `json:"Children" xml:"Children"` -} diff --git a/services/domain/struct_admin_divisions.go b/services/domain/struct_admin_divisions.go deleted file mode 100644 index 3448d11dc..000000000 --- a/services/domain/struct_admin_divisions.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// AdminDivisions is a nested struct in domain response -type AdminDivisions struct { - AdminDivision []AdminDivision `json:"AdminDivision" xml:"AdminDivision"` -} diff --git a/services/domain/struct_change_log.go b/services/domain/struct_change_log.go deleted file mode 100644 index 682440ed4..000000000 --- a/services/domain/struct_change_log.go +++ /dev/null @@ -1,26 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ChangeLog is a nested struct in domain response -type ChangeLog struct { - Operation string `json:"Operation" xml:"Operation"` - Time string `json:"Time" xml:"Time"` - Result string `json:"Result" xml:"Result"` - DomainName string `json:"DomainName" xml:"DomainName"` - OperationIPAddress string `json:"OperationIPAddress" xml:"OperationIPAddress"` - Details string `json:"Details" xml:"Details"` -} diff --git a/services/domain/struct_children.go b/services/domain/struct_children.go deleted file mode 100644 index 1c6925cbd..000000000 --- a/services/domain/struct_children.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Children is a nested struct in domain response -type Children struct { - ChildrenItem []ChildrenItem `json:"Children" xml:"Children"` -} diff --git a/services/domain/struct_children_item.go b/services/domain/struct_children_item.go deleted file mode 100644 index 7e27fe32a..000000000 --- a/services/domain/struct_children_item.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ChildrenItem is a nested struct in domain response -type ChildrenItem struct { - ChildDivisionName string `json:"ChildDivisionName" xml:"ChildDivisionName"` -} diff --git a/services/domain/struct_claim.go b/services/domain/struct_claim.go deleted file mode 100644 index 204d5b3b1..000000000 --- a/services/domain/struct_claim.go +++ /dev/null @@ -1,26 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Claim is a nested struct in domain response -type Claim struct { - GoodsAndServices string `json:"GoodsAndServices" xml:"GoodsAndServices"` - MarkName string `json:"MarkName" xml:"MarkName"` - JurDesc JurDesc `json:"JurDesc" xml:"JurDesc"` - Contacts Contacts `json:"Contacts" xml:"Contacts"` - ClassDescs ClassDescs `json:"ClassDescs" xml:"ClassDescs"` - Holders Holders `json:"Holders" xml:"Holders"` -} diff --git a/services/domain/struct_claims.go b/services/domain/struct_claims.go deleted file mode 100644 index 8110d591a..000000000 --- a/services/domain/struct_claims.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Claims is a nested struct in domain response -type Claims struct { - Claim []Claim `json:"Claim" xml:"Claim"` -} diff --git a/services/domain/struct_class_desc.go b/services/domain/struct_class_desc.go deleted file mode 100644 index 48ddae570..000000000 --- a/services/domain/struct_class_desc.go +++ /dev/null @@ -1,22 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ClassDesc is a nested struct in domain response -type ClassDesc struct { - ClassNum int `json:"ClassNum" xml:"ClassNum"` - Desc string `json:"Desc" xml:"Desc"` -} diff --git a/services/domain/struct_class_descs.go b/services/domain/struct_class_descs.go deleted file mode 100644 index b814b6729..000000000 --- a/services/domain/struct_class_descs.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ClassDescs is a nested struct in domain response -type ClassDescs struct { - ClassDesc []ClassDesc `json:"ClassDesc" xml:"ClassDesc"` -} diff --git a/services/domain/struct_contact.go b/services/domain/struct_contact.go deleted file mode 100644 index 28c4af075..000000000 --- a/services/domain/struct_contact.go +++ /dev/null @@ -1,27 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Contact is a nested struct in domain response -type Contact struct { - Type string `json:"Type" xml:"Type"` - Voice string `json:"Voice" xml:"Voice"` - Email string `json:"Email" xml:"Email"` - Fax string `json:"Fax" xml:"Fax"` - Org string `json:"Org" xml:"Org"` - Name string `json:"Name" xml:"Name"` - Addr Addr `json:"Addr" xml:"Addr"` -} diff --git a/services/domain/struct_contact_template.go b/services/domain/struct_contact_template.go deleted file mode 100644 index cdb5cd0c0..000000000 --- a/services/domain/struct_contact_template.go +++ /dev/null @@ -1,44 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ContactTemplate is a nested struct in domain response -type ContactTemplate struct { - CCountry string `json:"CCountry" xml:"CCountry"` - TelExt string `json:"TelExt" xml:"TelExt"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - RegType string `json:"RegType" xml:"RegType"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - EProvince string `json:"EProvince" xml:"EProvince"` - UserId string `json:"UserId" xml:"UserId"` - CVenu string `json:"CVenu" xml:"CVenu"` - TelArea string `json:"TelArea" xml:"TelArea"` - ContactTemplateId int64 `json:"ContactTemplateId" xml:"ContactTemplateId"` - AuditStatus string `json:"AuditStatus" xml:"AuditStatus"` - CProvince string `json:"CProvince" xml:"CProvince"` - PostalCode string `json:"PostalCode" xml:"PostalCode"` - CCity string `json:"CCity" xml:"CCity"` - EVenu string `json:"EVenu" xml:"EVenu"` - ECompany string `json:"ECompany" xml:"ECompany"` - CCompany string `json:"CCompany" xml:"CCompany"` - EName string `json:"EName" xml:"EName"` - TelMain string `json:"TelMain" xml:"TelMain"` - Email string `json:"Email" xml:"Email"` - DefaultTemplate bool `json:"DefaultTemplate" xml:"DefaultTemplate"` - EmailVerificationStatus int `json:"EmailVerificationStatus" xml:"EmailVerificationStatus"` - ECity string `json:"ECity" xml:"ECity"` - CName string `json:"CName" xml:"CName"` -} diff --git a/services/domain/struct_contact_templates.go b/services/domain/struct_contact_templates.go deleted file mode 100644 index 643b0312b..000000000 --- a/services/domain/struct_contact_templates.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ContactTemplates is a nested struct in domain response -type ContactTemplates struct { - ContactTemplate []ContactTemplate `json:"ContactTemplate" xml:"ContactTemplate"` -} diff --git a/services/domain/struct_contacts.go b/services/domain/struct_contacts.go deleted file mode 100644 index 7a3f189ca..000000000 --- a/services/domain/struct_contacts.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Contacts is a nested struct in domain response -type Contacts struct { - Contact []Contact `json:"Contact" xml:"Contact"` -} diff --git a/services/domain/struct_credentials.go b/services/domain/struct_credentials.go deleted file mode 100644 index e3b5117a1..000000000 --- a/services/domain/struct_credentials.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Credentials is a nested struct in domain response -type Credentials struct { - QualificationCredential []QualificationCredential `json:"QualificationCredential" xml:"QualificationCredential"` -} diff --git a/services/domain/struct_current_page_cursor.go b/services/domain/struct_current_page_cursor.go deleted file mode 100644 index fa08a0665..000000000 --- a/services/domain/struct_current_page_cursor.go +++ /dev/null @@ -1,35 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// CurrentPageCursor is a nested struct in domain response -type CurrentPageCursor struct { - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - TaskDetailNo string `json:"TaskDetailNo" xml:"TaskDetailNo"` - CreateTimeLong int64 `json:"CreateTimeLong" xml:"CreateTimeLong"` - DomainName string `json:"DomainName" xml:"DomainName"` - TaskStatusCode int `json:"TaskStatusCode" xml:"TaskStatusCode"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - TaskTypeDescription string `json:"TaskTypeDescription" xml:"TaskTypeDescription"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskNum int `json:"TaskNum" xml:"TaskNum"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - Clientip string `json:"Clientip" xml:"Clientip"` - TryCount int `json:"TryCount" xml:"TryCount"` - TaskType string `json:"TaskType" xml:"TaskType"` -} diff --git a/services/domain/struct_data_in_list_email_verification.go b/services/domain/struct_data_in_list_email_verification.go deleted file mode 100644 index e0610b608..000000000 --- a/services/domain/struct_data_in_list_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInListEmailVerification is a nested struct in domain response -type DataInListEmailVerification struct { - EmailVerification []EmailVerification `json:"EmailVerification" xml:"EmailVerification"` -} diff --git a/services/domain/struct_data_in_list_server_lock.go b/services/domain/struct_data_in_list_server_lock.go deleted file mode 100644 index 51a8976ed..000000000 --- a/services/domain/struct_data_in_list_server_lock.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInListServerLock is a nested struct in domain response -type DataInListServerLock struct { - QueryTransferInResponse []QueryTransferInResponse `json:"QueryTransferInResponse" xml:"QueryTransferInResponse"` -} diff --git a/services/domain/struct_data_in_o_suborder_domain.go b/services/domain/struct_data_in_o_suborder_domain.go deleted file mode 100644 index a34cbd3ad..000000000 --- a/services/domain/struct_data_in_o_suborder_domain.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInOSuborderDomain is a nested struct in domain response -type DataInOSuborderDomain struct { - Object []Object `json:"Object" xml:"Object"` -} diff --git a/services/domain/struct_data_in_poll_task_result.go b/services/domain/struct_data_in_poll_task_result.go deleted file mode 100644 index 993b5326e..000000000 --- a/services/domain/struct_data_in_poll_task_result.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInPollTaskResult is a nested struct in domain response -type DataInPollTaskResult struct { - TaskDetail []TaskDetail `json:"TaskDetail" xml:"TaskDetail"` -} diff --git a/services/domain/struct_data_in_query_advanced_domain_list.go b/services/domain/struct_data_in_query_advanced_domain_list.go deleted file mode 100644 index a57c73bbe..000000000 --- a/services/domain/struct_data_in_query_advanced_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryAdvancedDomainList is a nested struct in domain response -type DataInQueryAdvancedDomainList struct { - Domain []Domain `json:"Domain" xml:"Domain"` -} diff --git a/services/domain/struct_data_in_query_batch_task_detail_list.go b/services/domain/struct_data_in_query_batch_task_detail_list.go deleted file mode 100644 index 6faa09248..000000000 --- a/services/domain/struct_data_in_query_batch_task_detail_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryBatchTaskDetailList is a nested struct in domain response -type DataInQueryBatchTaskDetailList struct { - TaskDetail []TaskDetail `json:"TaskDetail" xml:"TaskDetail"` -} diff --git a/services/domain/struct_data_in_query_batch_task_list.go b/services/domain/struct_data_in_query_batch_task_list.go deleted file mode 100644 index 12a5d2551..000000000 --- a/services/domain/struct_data_in_query_batch_task_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryBatchTaskList is a nested struct in domain response -type DataInQueryBatchTaskList struct { - TaskInfo []TaskInfo `json:"TaskInfo" xml:"TaskInfo"` -} diff --git a/services/domain/struct_data_in_query_change_log_list.go b/services/domain/struct_data_in_query_change_log_list.go deleted file mode 100644 index e2f7d919a..000000000 --- a/services/domain/struct_data_in_query_change_log_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryChangeLogList is a nested struct in domain response -type DataInQueryChangeLogList struct { - ChangeLog []ChangeLog `json:"ChangeLog" xml:"ChangeLog"` -} diff --git a/services/domain/struct_data_in_query_domain_group_list.go b/services/domain/struct_data_in_query_domain_group_list.go deleted file mode 100644 index 3b5afe39e..000000000 --- a/services/domain/struct_data_in_query_domain_group_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryDomainGroupList is a nested struct in domain response -type DataInQueryDomainGroupList struct { - DomainGroup []DomainGroup `json:"DomainGroup" xml:"DomainGroup"` -} diff --git a/services/domain/struct_data_in_query_domain_list.go b/services/domain/struct_data_in_query_domain_list.go deleted file mode 100644 index 245c749b9..000000000 --- a/services/domain/struct_data_in_query_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryDomainList is a nested struct in domain response -type DataInQueryDomainList struct { - Domain []Domain `json:"Domain" xml:"Domain"` -} diff --git a/services/domain/struct_data_in_query_fail_reason_for_domain_real_name_verification.go b/services/domain/struct_data_in_query_fail_reason_for_domain_real_name_verification.go deleted file mode 100644 index 87be5e6bc..000000000 --- a/services/domain/struct_data_in_query_fail_reason_for_domain_real_name_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryFailReasonForDomainRealNameVerification is a nested struct in domain response -type DataInQueryFailReasonForDomainRealNameVerification struct { - FailRecord []FailRecord `json:"FailRecord" xml:"FailRecord"` -} diff --git a/services/domain/struct_data_in_query_fail_reason_for_registrant_profile_real_name_verification.go b/services/domain/struct_data_in_query_fail_reason_for_registrant_profile_real_name_verification.go deleted file mode 100644 index f9e327982..000000000 --- a/services/domain/struct_data_in_query_fail_reason_for_registrant_profile_real_name_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryFailReasonForRegistrantProfileRealNameVerification is a nested struct in domain response -type DataInQueryFailReasonForRegistrantProfileRealNameVerification struct { - FailRecord []FailRecord `json:"FailRecord" xml:"FailRecord"` -} diff --git a/services/domain/struct_data_in_query_fail_reason_list.go b/services/domain/struct_data_in_query_fail_reason_list.go deleted file mode 100644 index 1ecafd4c7..000000000 --- a/services/domain/struct_data_in_query_fail_reason_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryFailReasonList is a nested struct in domain response -type DataInQueryFailReasonList struct { - FailRecord []FailRecord `json:"FailRecord" xml:"FailRecord"` -} diff --git a/services/domain/struct_data_in_query_failing_reason_list_for_qualification.go b/services/domain/struct_data_in_query_failing_reason_list_for_qualification.go deleted file mode 100644 index 31ad44370..000000000 --- a/services/domain/struct_data_in_query_failing_reason_list_for_qualification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryFailingReasonListForQualification is a nested struct in domain response -type DataInQueryFailingReasonListForQualification struct { - FailRecord []FailRecord `json:"FailRecord" xml:"FailRecord"` -} diff --git a/services/domain/struct_data_in_query_operation_audit_info_list.go b/services/domain/struct_data_in_query_operation_audit_info_list.go deleted file mode 100644 index c35b917f0..000000000 --- a/services/domain/struct_data_in_query_operation_audit_info_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryOperationAuditInfoList is a nested struct in domain response -type DataInQueryOperationAuditInfoList struct { - OperationAuditRecord []OperationAuditRecord `json:"OperationAuditRecord" xml:"OperationAuditRecord"` -} diff --git a/services/domain/struct_data_in_query_task_detail_list.go b/services/domain/struct_data_in_query_task_detail_list.go deleted file mode 100644 index ed5fd3623..000000000 --- a/services/domain/struct_data_in_query_task_detail_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryTaskDetailList is a nested struct in domain response -type DataInQueryTaskDetailList struct { - TaskDetail []TaskDetail `json:"TaskDetail" xml:"TaskDetail"` -} diff --git a/services/domain/struct_data_in_query_task_list.go b/services/domain/struct_data_in_query_task_list.go deleted file mode 100644 index e2d549a2f..000000000 --- a/services/domain/struct_data_in_query_task_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryTaskList is a nested struct in domain response -type DataInQueryTaskList struct { - TaskInfo []TaskInfo `json:"TaskInfo" xml:"TaskInfo"` -} diff --git a/services/domain/struct_data_in_query_transfer_in_list.go b/services/domain/struct_data_in_query_transfer_in_list.go deleted file mode 100644 index 4414cb30b..000000000 --- a/services/domain/struct_data_in_query_transfer_in_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInQueryTransferInList is a nested struct in domain response -type DataInQueryTransferInList struct { - TransferInInfo []TransferInInfo `json:"TransferInInfo" xml:"TransferInInfo"` -} diff --git a/services/domain/struct_data_in_scroll_domain_list.go b/services/domain/struct_data_in_scroll_domain_list.go deleted file mode 100644 index 31c6317f9..000000000 --- a/services/domain/struct_data_in_scroll_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DataInScrollDomainList is a nested struct in domain response -type DataInScrollDomainList struct { - Domain []Domain `json:"Domain" xml:"Domain"` -} diff --git a/services/domain/struct_dns_host.go b/services/domain/struct_dns_host.go deleted file mode 100644 index 7bc80fab1..000000000 --- a/services/domain/struct_dns_host.go +++ /dev/null @@ -1,22 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsHost is a nested struct in domain response -type DnsHost struct { - DnsName string `json:"DnsName" xml:"DnsName"` - IpList []string `json:"IpList" xml:"IpList"` -} diff --git a/services/domain/struct_dns_host_list.go b/services/domain/struct_dns_host_list.go deleted file mode 100644 index ad71f94ac..000000000 --- a/services/domain/struct_dns_host_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsHostList is a nested struct in domain response -type DnsHostList struct { - DnsHost []DnsHost `json:"DnsHost" xml:"DnsHost"` -} diff --git a/services/domain/struct_dns_list.go b/services/domain/struct_dns_list.go deleted file mode 100644 index 2dd3fdcde..000000000 --- a/services/domain/struct_dns_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsList is a nested struct in domain response -type DnsList struct { - Dns []string `json:"Dns" xml:"Dns"` -} diff --git a/services/domain/struct_dns_list_in_query_advanced_domain_list.go b/services/domain/struct_dns_list_in_query_advanced_domain_list.go deleted file mode 100644 index 97abf74e3..000000000 --- a/services/domain/struct_dns_list_in_query_advanced_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsListInQueryAdvancedDomainList is a nested struct in domain response -type DnsListInQueryAdvancedDomainList struct { - Dns []string `json:"Dns" xml:"Dns"` -} diff --git a/services/domain/struct_dns_list_in_query_domain_by_domain_name.go b/services/domain/struct_dns_list_in_query_domain_by_domain_name.go deleted file mode 100644 index aef741824..000000000 --- a/services/domain/struct_dns_list_in_query_domain_by_domain_name.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsListInQueryDomainByDomainName is a nested struct in domain response -type DnsListInQueryDomainByDomainName struct { - Dns []string `json:"Dns" xml:"Dns"` -} diff --git a/services/domain/struct_dns_list_in_query_domain_by_instance_id.go b/services/domain/struct_dns_list_in_query_domain_by_instance_id.go deleted file mode 100644 index e5a2e5628..000000000 --- a/services/domain/struct_dns_list_in_query_domain_by_instance_id.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsListInQueryDomainByInstanceId is a nested struct in domain response -type DnsListInQueryDomainByInstanceId struct { - Dns []string `json:"Dns" xml:"Dns"` -} diff --git a/services/domain/struct_dns_list_in_scroll_domain_list.go b/services/domain/struct_dns_list_in_scroll_domain_list.go deleted file mode 100644 index ea02517c9..000000000 --- a/services/domain/struct_dns_list_in_scroll_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DnsListInScrollDomainList is a nested struct in domain response -type DnsListInScrollDomainList struct { - Dns []string `json:"Dns" xml:"Dns"` -} diff --git a/services/domain/struct_domain.go b/services/domain/struct_domain.go deleted file mode 100644 index a4420a644..000000000 --- a/services/domain/struct_domain.go +++ /dev/null @@ -1,35 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Domain is a nested struct in domain response -type Domain struct { - DomainAuditStatus string `json:"DomainAuditStatus" xml:"DomainAuditStatus"` - RegDateLong int64 `json:"RegDateLong" xml:"RegDateLong"` - Remark string `json:"Remark" xml:"Remark"` - DeadDateLong int64 `json:"DeadDateLong" xml:"DeadDateLong"` - SaleId string `json:"SaleId" xml:"SaleId"` - DomainName string `json:"DomainName" xml:"DomainName"` - DeadDate string `json:"DeadDate" xml:"DeadDate"` - GroupId string `json:"GroupId" xml:"GroupId"` - DomainRegType string `json:"DomainRegType" xml:"DomainRegType"` - RegDate string `json:"RegDate" xml:"RegDate"` - Premium bool `json:"Premium" xml:"Premium"` - ProductId string `json:"ProductId" xml:"ProductId"` - DomainStatus string `json:"DomainStatus" xml:"DomainStatus"` - DeadDateStatus string `json:"DeadDateStatus" xml:"DeadDateStatus"` - DomainType string `json:"DomainType" xml:"DomainType"` -} diff --git a/services/domain/struct_domain_group.go b/services/domain/struct_domain_group.go deleted file mode 100644 index 1f7a8e3cd..000000000 --- a/services/domain/struct_domain_group.go +++ /dev/null @@ -1,27 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainGroup is a nested struct in domain response -type DomainGroup struct { - BeingDeleted bool `json:"BeingDeleted" xml:"BeingDeleted"` - DomainGroupStatus string `json:"DomainGroupStatus" xml:"DomainGroupStatus"` - DomainGroupId string `json:"DomainGroupId" xml:"DomainGroupId"` - DomainGroupName string `json:"DomainGroupName" xml:"DomainGroupName"` - ModificationDate string `json:"ModificationDate" xml:"ModificationDate"` - TotalNumber int `json:"TotalNumber" xml:"TotalNumber"` - CreationDate string `json:"CreationDate" xml:"CreationDate"` -} diff --git a/services/domain/struct_domain_special_biz_contact.go b/services/domain/struct_domain_special_biz_contact.go deleted file mode 100644 index 3f8b74857..000000000 --- a/services/domain/struct_domain_special_biz_contact.go +++ /dev/null @@ -1,45 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainSpecialBizContact is a nested struct in domain response -type DomainSpecialBizContact struct { - Extend string `json:"Extend" xml:"Extend"` - CName string `json:"CName" xml:"CName"` - VspContactId string `json:"VspContactId" xml:"VspContactId"` - RegType int `json:"RegType" xml:"RegType"` - ECity string `json:"ECity" xml:"ECity"` - CCountry string `json:"CCountry" xml:"CCountry"` - BizId int64 `json:"BizId" xml:"BizId"` - Postalcode string `json:"Postalcode" xml:"Postalcode"` - EName string `json:"EName" xml:"EName"` - FaxMain string `json:"FaxMain" xml:"FaxMain"` - TelExt string `json:"TelExt" xml:"TelExt"` - ECompany string `json:"ECompany" xml:"ECompany"` - EProvince string `json:"EProvince" xml:"EProvince"` - EVenu string `json:"EVenu" xml:"EVenu"` - Email string `json:"Email" xml:"Email"` - CCompany string `json:"CCompany" xml:"CCompany"` - TelArea string `json:"TelArea" xml:"TelArea"` - CProvince string `json:"CProvince" xml:"CProvince"` - CCity string `json:"CCity" xml:"CCity"` - TelMain string `json:"TelMain" xml:"TelMain"` - Mobile string `json:"Mobile" xml:"Mobile"` - FaxExt string `json:"FaxExt" xml:"FaxExt"` - RegistrantId string `json:"RegistrantId" xml:"RegistrantId"` - CVenu string `json:"CVenu" xml:"CVenu"` - FaxArea string `json:"FaxArea" xml:"FaxArea"` -} diff --git a/services/domain/struct_domain_special_biz_credential.go b/services/domain/struct_domain_special_biz_credential.go deleted file mode 100644 index 61815a44d..000000000 --- a/services/domain/struct_domain_special_biz_credential.go +++ /dev/null @@ -1,27 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainSpecialBizCredential is a nested struct in domain response -type DomainSpecialBizCredential struct { - BizId int64 `json:"BizId" xml:"BizId"` - HolderCert int `json:"HolderCert" xml:"HolderCert"` - CredentialType string `json:"CredentialType" xml:"CredentialType"` - CredentialUrl string `json:"CredentialUrl" xml:"CredentialUrl"` - DomainName string `json:"DomainName" xml:"DomainName"` - SaleId string `json:"SaleId" xml:"SaleId"` - CredentialNo string `json:"CredentialNo" xml:"CredentialNo"` -} diff --git a/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_detail.go b/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_detail.go deleted file mode 100644 index e25fea49c..000000000 --- a/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_detail.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainSpecialBizCredentialsInQueryDomainSpecialBizDetail is a nested struct in domain response -type DomainSpecialBizCredentialsInQueryDomainSpecialBizDetail struct { - DomainSpecialBizCredential []DomainSpecialBizCredential `json:"DomainSpecialBizCredential" xml:"DomainSpecialBizCredential"` -} diff --git a/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_info_by_domain.go b/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_info_by_domain.go deleted file mode 100644 index 61ff5bd43..000000000 --- a/services/domain/struct_domain_special_biz_credentials_in_query_domain_special_biz_info_by_domain.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainSpecialBizCredentialsInQueryDomainSpecialBizInfoByDomain is a nested struct in domain response -type DomainSpecialBizCredentialsInQueryDomainSpecialBizInfoByDomain struct { - DomainSpecialBizCredential []DomainSpecialBizCredential `json:"DomainSpecialBizCredential" xml:"DomainSpecialBizCredential"` -} diff --git a/services/domain/struct_domain_special_order_result.go b/services/domain/struct_domain_special_order_result.go deleted file mode 100644 index d97825b50..000000000 --- a/services/domain/struct_domain_special_order_result.go +++ /dev/null @@ -1,29 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainSpecialOrderResult is a nested struct in domain response -type DomainSpecialOrderResult struct { - SaleId string `json:"SaleId" xml:"SaleId"` - OrderId string `json:"OrderId" xml:"OrderId"` - SubOrderId string `json:"SubOrderId" xml:"SubOrderId"` - ActionType string `json:"ActionType" xml:"ActionType"` - OrderAmount string `json:"OrderAmount" xml:"OrderAmount"` - OrderCurrency string `json:"OrderCurrency" xml:"OrderCurrency"` - OrderTime string `json:"OrderTime" xml:"OrderTime"` - OrderYear int `json:"OrderYear" xml:"OrderYear"` - OrderStatus string `json:"OrderStatus" xml:"OrderStatus"` -} diff --git a/services/domain/struct_domain_status.go b/services/domain/struct_domain_status.go deleted file mode 100644 index d47a294f3..000000000 --- a/services/domain/struct_domain_status.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainStatus is a nested struct in domain response -type DomainStatus struct { - Status string `json:"Status" xml:"Status"` - Tip string `json:"Tip" xml:"Tip"` - Desc string `json:"Desc" xml:"Desc"` -} diff --git a/services/domain/struct_domain_status_list.go b/services/domain/struct_domain_status_list.go deleted file mode 100644 index 14ce935a2..000000000 --- a/services/domain/struct_domain_status_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DomainStatusList is a nested struct in domain response -type DomainStatusList struct { - DomainStatus []DomainStatus `json:"DomainStatus" xml:"DomainStatus"` -} diff --git a/services/domain/struct_ds_record.go b/services/domain/struct_ds_record.go deleted file mode 100644 index 12a28991c..000000000 --- a/services/domain/struct_ds_record.go +++ /dev/null @@ -1,24 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DSRecord is a nested struct in domain response -type DSRecord struct { - DigestType int `json:"DigestType" xml:"DigestType"` - Digest string `json:"Digest" xml:"Digest"` - Algorithm int `json:"Algorithm" xml:"Algorithm"` - KeyTag int `json:"KeyTag" xml:"KeyTag"` -} diff --git a/services/domain/struct_ds_record_list.go b/services/domain/struct_ds_record_list.go deleted file mode 100644 index 02e53bccb..000000000 --- a/services/domain/struct_ds_record_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// DSRecordList is a nested struct in domain response -type DSRecordList struct { - DSRecord []DSRecord `json:"DSRecord" xml:"DSRecord"` -} diff --git a/services/domain/struct_email_verification.go b/services/domain/struct_email_verification.go deleted file mode 100644 index b6925e141..000000000 --- a/services/domain/struct_email_verification.go +++ /dev/null @@ -1,30 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// EmailVerification is a nested struct in domain response -type EmailVerification struct { - VerificationTime string `json:"VerificationTime" xml:"VerificationTime"` - Email string `json:"Email" xml:"Email"` - EmailVerificationNo string `json:"EmailVerificationNo" xml:"EmailVerificationNo"` - UserId string `json:"UserId" xml:"UserId"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - VerificationStatus int `json:"VerificationStatus" xml:"VerificationStatus"` - TokenSendTime string `json:"TokenSendTime" xml:"TokenSendTime"` - SendIp string `json:"SendIp" xml:"SendIp"` - GmtModified string `json:"GmtModified" xml:"GmtModified"` - ConfirmIp string `json:"ConfirmIp" xml:"ConfirmIp"` -} diff --git a/services/domain/struct_error_args_in_query_domain_special_biz_detail.go b/services/domain/struct_error_args_in_query_domain_special_biz_detail.go deleted file mode 100644 index 741125b75..000000000 --- a/services/domain/struct_error_args_in_query_domain_special_biz_detail.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ErrorArgsInQueryDomainSpecialBizDetail is a nested struct in domain response -type ErrorArgsInQueryDomainSpecialBizDetail struct { - ErrorArg []string `json:"ErrorArg" xml:"ErrorArg"` -} diff --git a/services/domain/struct_error_args_in_query_domain_special_biz_info_by_domain.go b/services/domain/struct_error_args_in_query_domain_special_biz_info_by_domain.go deleted file mode 100644 index 7f8825f31..000000000 --- a/services/domain/struct_error_args_in_query_domain_special_biz_info_by_domain.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ErrorArgsInQueryDomainSpecialBizInfoByDomain is a nested struct in domain response -type ErrorArgsInQueryDomainSpecialBizInfoByDomain struct { - ErrorArg []string `json:"ErrorArg" xml:"ErrorArg"` -} diff --git a/services/domain/struct_exist_list.go b/services/domain/struct_exist_list.go deleted file mode 100644 index b98e7475d..000000000 --- a/services/domain/struct_exist_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ExistList is a nested struct in domain response -type ExistList struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_fail_list_in_confirm_transfer_in_email.go b/services/domain/struct_fail_list_in_confirm_transfer_in_email.go deleted file mode 100644 index 836a7d4bf..000000000 --- a/services/domain/struct_fail_list_in_confirm_transfer_in_email.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailListInConfirmTransferInEmail is a nested struct in domain response -type FailListInConfirmTransferInEmail struct { - FailDomain []string `json:"FailDomain" xml:"FailDomain"` -} diff --git a/services/domain/struct_fail_list_in_delete_email_verification.go b/services/domain/struct_fail_list_in_delete_email_verification.go deleted file mode 100644 index 44970cfaa..000000000 --- a/services/domain/struct_fail_list_in_delete_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailListInDeleteEmailVerification is a nested struct in domain response -type FailListInDeleteEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_fail_list_in_resend_email_verification.go b/services/domain/struct_fail_list_in_resend_email_verification.go deleted file mode 100644 index 0272a6a65..000000000 --- a/services/domain/struct_fail_list_in_resend_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailListInResendEmailVerification is a nested struct in domain response -type FailListInResendEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_fail_list_in_submit_email_verification.go b/services/domain/struct_fail_list_in_submit_email_verification.go deleted file mode 100644 index 0d1a23402..000000000 --- a/services/domain/struct_fail_list_in_submit_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailListInSubmitEmailVerification is a nested struct in domain response -type FailListInSubmitEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_fail_list_in_transfer_in_check_mail_token.go b/services/domain/struct_fail_list_in_transfer_in_check_mail_token.go deleted file mode 100644 index 8d3f76d10..000000000 --- a/services/domain/struct_fail_list_in_transfer_in_check_mail_token.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailListInTransferInCheckMailToken is a nested struct in domain response -type FailListInTransferInCheckMailToken struct { - FailDomain []string `json:"FailDomain" xml:"FailDomain"` -} diff --git a/services/domain/struct_fail_record.go b/services/domain/struct_fail_record.go deleted file mode 100644 index c8a1ee93d..000000000 --- a/services/domain/struct_fail_record.go +++ /dev/null @@ -1,22 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// FailRecord is a nested struct in domain response -type FailRecord struct { - Date string `json:"Date" xml:"Date"` - FailReason string `json:"FailReason" xml:"FailReason"` -} diff --git a/services/domain/struct_holder.go b/services/domain/struct_holder.go deleted file mode 100644 index bfb0ccc76..000000000 --- a/services/domain/struct_holder.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Holder is a nested struct in domain response -type Holder struct { - Entitlement string `json:"Entitlement" xml:"Entitlement"` - Org string `json:"Org" xml:"Org"` - Addr Addr `json:"Addr" xml:"Addr"` -} diff --git a/services/domain/struct_holders.go b/services/domain/struct_holders.go deleted file mode 100644 index 5fc20e9c6..000000000 --- a/services/domain/struct_holders.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Holders is a nested struct in domain response -type Holders struct { - Holder []Holder `json:"Holder" xml:"Holder"` -} diff --git a/services/domain/struct_ip_list.go b/services/domain/struct_ip_list.go deleted file mode 100644 index 91903ab95..000000000 --- a/services/domain/struct_ip_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// IpList is a nested struct in domain response -type IpList struct { - Ip []string `json:"ip" xml:"ip"` -} diff --git a/services/domain/struct_jur_desc.go b/services/domain/struct_jur_desc.go deleted file mode 100644 index 746c6e6e7..000000000 --- a/services/domain/struct_jur_desc.go +++ /dev/null @@ -1,22 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// JurDesc is a nested struct in domain response -type JurDesc struct { - JurCC string `json:"JurCC" xml:"JurCC"` - Desc string `json:"Desc" xml:"Desc"` -} diff --git a/services/domain/struct_matched_sensitive_word.go b/services/domain/struct_matched_sensitive_word.go deleted file mode 100644 index 9fe1a54f7..000000000 --- a/services/domain/struct_matched_sensitive_word.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// MatchedSensitiveWord is a nested struct in domain response -type MatchedSensitiveWord struct { - Word string `json:"Word" xml:"Word"` -} diff --git a/services/domain/struct_matched_sentive_words_in_batch_fuzzy_match_domain_sensitive_word.go b/services/domain/struct_matched_sentive_words_in_batch_fuzzy_match_domain_sensitive_word.go deleted file mode 100644 index 9825f261d..000000000 --- a/services/domain/struct_matched_sentive_words_in_batch_fuzzy_match_domain_sensitive_word.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// MatchedSentiveWordsInBatchFuzzyMatchDomainSensitiveWord is a nested struct in domain response -type MatchedSentiveWordsInBatchFuzzyMatchDomainSensitiveWord struct { - MatchedSensitiveWord []MatchedSensitiveWord `json:"MatchedSensitiveWord" xml:"MatchedSensitiveWord"` -} diff --git a/services/domain/struct_matched_sentive_words_in_fuzzy_match_domain_sensitive_word.go b/services/domain/struct_matched_sentive_words_in_fuzzy_match_domain_sensitive_word.go deleted file mode 100644 index fd806db30..000000000 --- a/services/domain/struct_matched_sentive_words_in_fuzzy_match_domain_sensitive_word.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// MatchedSentiveWordsInFuzzyMatchDomainSensitiveWord is a nested struct in domain response -type MatchedSentiveWordsInFuzzyMatchDomainSensitiveWord struct { - MatchedSensitiveWord []MatchedSensitiveWord `json:"MatchedSensitiveWord" xml:"MatchedSensitiveWord"` -} diff --git a/services/domain/struct_module.go b/services/domain/struct_module.go index 1a767f369..5bdb0260e 100644 --- a/services/domain/struct_module.go +++ b/services/domain/struct_module.go @@ -17,24 +17,10 @@ package domain // Module is a nested struct in domain response type Module struct { - BizStatus string `json:"BizStatus" xml:"BizStatus"` - Status int `json:"Status" xml:"Status"` - UpdateTime int64 `json:"UpdateTime" xml:"UpdateTime"` - DomainName string `json:"DomainName" xml:"DomainName"` - ProductId string `json:"ProductId" xml:"ProductId"` - GmtModified string `json:"GmtModified" xml:"GmtModified"` - BizName string `json:"BizName" xml:"BizName"` - Id int64 `json:"Id" xml:"Id"` - SaleId string `json:"SaleId" xml:"SaleId"` - CreateTime int64 `json:"CreateTime" xml:"CreateTime"` - AuditMsg string `json:"AuditMsg" xml:"AuditMsg"` - BizNo string `json:"BizNo" xml:"BizNo"` - OrderId string `json:"OrderId" xml:"OrderId"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - BizType string `json:"BizType" xml:"BizType"` - UserId string `json:"UserId" xml:"UserId"` - StatusDesc string `json:"StatusDesc" xml:"StatusDesc"` - DomainSpecialBizContact DomainSpecialBizContact `json:"DomainSpecialBizContact" xml:"DomainSpecialBizContact"` - DomainSpecialOrderResult DomainSpecialOrderResult `json:"DomainSpecialOrderResult" xml:"DomainSpecialOrderResult"` - DomainSpecialBizCredentials []DomainSpecialBizCredential `json:"DomainSpecialBizCredentials" xml:"DomainSpecialBizCredentials"` + Domain string `json:"Domain" xml:"Domain"` + Price float64 `json:"Price" xml:"Price"` + DownloadUrl string `json:"DownloadUrl" xml:"DownloadUrl"` + RegDate int64 `json:"RegDate" xml:"RegDate"` + DeadDate int64 `json:"DeadDate" xml:"DeadDate"` + EndTime int64 `json:"EndTime" xml:"EndTime"` } diff --git a/services/domain/struct_next_page_cursor.go b/services/domain/struct_next_page_cursor.go deleted file mode 100644 index be30a09de..000000000 --- a/services/domain/struct_next_page_cursor.go +++ /dev/null @@ -1,35 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// NextPageCursor is a nested struct in domain response -type NextPageCursor struct { - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - TaskDetailNo string `json:"TaskDetailNo" xml:"TaskDetailNo"` - CreateTimeLong int64 `json:"CreateTimeLong" xml:"CreateTimeLong"` - DomainName string `json:"DomainName" xml:"DomainName"` - TaskStatusCode int `json:"TaskStatusCode" xml:"TaskStatusCode"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - TaskTypeDescription string `json:"TaskTypeDescription" xml:"TaskTypeDescription"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskNum int `json:"TaskNum" xml:"TaskNum"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - Clientip string `json:"Clientip" xml:"Clientip"` - TryCount int `json:"TryCount" xml:"TryCount"` - TaskType string `json:"TaskType" xml:"TaskType"` -} diff --git a/services/domain/struct_object.go b/services/domain/struct_object.go deleted file mode 100644 index a7684e0cf..000000000 --- a/services/domain/struct_object.go +++ /dev/null @@ -1,24 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// Object is a nested struct in domain response -type Object struct { - Amount int64 `json:"amount" xml:"amount"` - CommodityCode string `json:"commodityCode" xml:"commodityCode"` - SettleTime string `json:"settleTime" xml:"settleTime"` - CommodityKey string `json:"commodityKey" xml:"commodityKey"` -} diff --git a/services/domain/struct_objects_in_query_task_detail_history.go b/services/domain/struct_objects_in_query_task_detail_history.go deleted file mode 100644 index 807e20b3c..000000000 --- a/services/domain/struct_objects_in_query_task_detail_history.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ObjectsInQueryTaskDetailHistory is a nested struct in domain response -type ObjectsInQueryTaskDetailHistory struct { - TaskDetailHistory []TaskDetailHistory `json:"TaskDetailHistory" xml:"TaskDetailHistory"` -} diff --git a/services/domain/struct_objects_in_query_task_info_history.go b/services/domain/struct_objects_in_query_task_info_history.go deleted file mode 100644 index f47ca3958..000000000 --- a/services/domain/struct_objects_in_query_task_info_history.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// ObjectsInQueryTaskInfoHistory is a nested struct in domain response -type ObjectsInQueryTaskInfoHistory struct { - TaskInfoHistory []TaskInfoHistory `json:"TaskInfoHistory" xml:"TaskInfoHistory"` -} diff --git a/services/domain/struct_operation_audit_record.go b/services/domain/struct_operation_audit_record.go deleted file mode 100644 index 98f488914..000000000 --- a/services/domain/struct_operation_audit_record.go +++ /dev/null @@ -1,29 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// OperationAuditRecord is a nested struct in domain response -type OperationAuditRecord struct { - UpdateTime int64 `json:"UpdateTime" xml:"UpdateTime"` - Remark string `json:"Remark" xml:"Remark"` - CreateTime int64 `json:"CreateTime" xml:"CreateTime"` - AuditType int `json:"AuditType" xml:"AuditType"` - BusinessName string `json:"BusinessName" xml:"BusinessName"` - AuditInfo string `json:"AuditInfo" xml:"AuditInfo"` - DomainName string `json:"DomainName" xml:"DomainName"` - AuditStatus int `json:"AuditStatus" xml:"AuditStatus"` - Id int64 `json:"Id" xml:"Id"` -} diff --git a/services/domain/struct_order_products.go b/services/domain/struct_order_products.go deleted file mode 100644 index 0bd852da1..000000000 --- a/services/domain/struct_order_products.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// OrderProducts is a nested struct in domain response -type OrderProducts struct { - SubOrderResult []SubOrderResult `json:"SubOrderResult" xml:"SubOrderResult"` -} diff --git a/services/domain/struct_pre_page_cursor.go b/services/domain/struct_pre_page_cursor.go deleted file mode 100644 index b3ecba99f..000000000 --- a/services/domain/struct_pre_page_cursor.go +++ /dev/null @@ -1,35 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// PrePageCursor is a nested struct in domain response -type PrePageCursor struct { - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - TaskDetailNo string `json:"TaskDetailNo" xml:"TaskDetailNo"` - CreateTimeLong int64 `json:"CreateTimeLong" xml:"CreateTimeLong"` - DomainName string `json:"DomainName" xml:"DomainName"` - TaskStatusCode int `json:"TaskStatusCode" xml:"TaskStatusCode"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - TaskTypeDescription string `json:"TaskTypeDescription" xml:"TaskTypeDescription"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskNum int `json:"TaskNum" xml:"TaskNum"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - Clientip string `json:"Clientip" xml:"Clientip"` - TryCount int `json:"TryCount" xml:"TryCount"` - TaskType string `json:"TaskType" xml:"TaskType"` -} diff --git a/services/domain/struct_qualification_credential.go b/services/domain/struct_qualification_credential.go deleted file mode 100644 index 45a1d2a1f..000000000 --- a/services/domain/struct_qualification_credential.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// QualificationCredential is a nested struct in domain response -type QualificationCredential struct { - CredentialType string `json:"CredentialType" xml:"CredentialType"` - CredentialNo string `json:"CredentialNo" xml:"CredentialNo"` - CredentialUrl string `json:"CredentialUrl" xml:"CredentialUrl"` -} diff --git a/services/domain/struct_query_transfer_in_response.go b/services/domain/struct_query_transfer_in_response.go deleted file mode 100644 index 188c61430..000000000 --- a/services/domain/struct_query_transfer_in_response.go +++ /dev/null @@ -1,30 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// QueryTransferInResponse is a nested struct in domain response -type QueryTransferInResponse struct { - ServerLockStatus string `json:"ServerLockStatus" xml:"ServerLockStatus"` - LockInstanceId string `json:"LockInstanceId" xml:"LockInstanceId"` - UserId string `json:"UserId" xml:"UserId"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - ExpireDate string `json:"ExpireDate" xml:"ExpireDate"` - StartDate string `json:"StartDate" xml:"StartDate"` - LockProductId string `json:"LockProductId" xml:"LockProductId"` - DomainInstanceId string `json:"DomainInstanceId" xml:"DomainInstanceId"` - GmtModified string `json:"GmtModified" xml:"GmtModified"` - DomainName string `json:"DomainName" xml:"DomainName"` -} diff --git a/services/domain/struct_registrant_profile.go b/services/domain/struct_registrant_profile.go deleted file mode 100644 index 00310607c..000000000 --- a/services/domain/struct_registrant_profile.go +++ /dev/null @@ -1,46 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// RegistrantProfile is a nested struct in domain response -type RegistrantProfile struct { - TelExt string `json:"TelExt" xml:"TelExt"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - ZhProvince string `json:"ZhProvince" xml:"ZhProvince"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - Telephone string `json:"Telephone" xml:"Telephone"` - RegistrantOrganization string `json:"RegistrantOrganization" xml:"RegistrantOrganization"` - City string `json:"City" xml:"City"` - ZhCity string `json:"ZhCity" xml:"ZhCity"` - TelArea string `json:"TelArea" xml:"TelArea"` - Address string `json:"Address" xml:"Address"` - RealNameStatus string `json:"RealNameStatus" xml:"RealNameStatus"` - PostalCode string `json:"PostalCode" xml:"PostalCode"` - RegistrantProfileType string `json:"RegistrantProfileType" xml:"RegistrantProfileType"` - RegistrantProfileId int64 `json:"RegistrantProfileId" xml:"RegistrantProfileId"` - ZhRegistrantOrganization string `json:"ZhRegistrantOrganization" xml:"ZhRegistrantOrganization"` - DefaultRegistrantProfile bool `json:"DefaultRegistrantProfile" xml:"DefaultRegistrantProfile"` - Email string `json:"Email" xml:"Email"` - ZhRegistrantName string `json:"ZhRegistrantName" xml:"ZhRegistrantName"` - RegistrantType string `json:"RegistrantType" xml:"RegistrantType"` - Country string `json:"Country" xml:"Country"` - RegistrantName string `json:"RegistrantName" xml:"RegistrantName"` - EmailVerificationStatus int `json:"EmailVerificationStatus" xml:"EmailVerificationStatus"` - ZhAddress string `json:"ZhAddress" xml:"ZhAddress"` - Province string `json:"Province" xml:"Province"` - CredentialNo string `json:"CredentialNo" xml:"CredentialNo"` - CredentialType string `json:"CredentialType" xml:"CredentialType"` -} diff --git a/services/domain/struct_registrant_profiles.go b/services/domain/struct_registrant_profiles.go deleted file mode 100644 index f030252c2..000000000 --- a/services/domain/struct_registrant_profiles.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// RegistrantProfiles is a nested struct in domain response -type RegistrantProfiles struct { - RegistrantProfile []RegistrantProfile `json:"RegistrantProfile" xml:"RegistrantProfile"` -} diff --git a/services/domain/struct_send_result.go b/services/domain/struct_send_result.go deleted file mode 100644 index 3cf682691..000000000 --- a/services/domain/struct_send_result.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SendResult is a nested struct in domain response -type SendResult struct { - Message string `json:"Message" xml:"Message"` - Email string `json:"Email" xml:"Email"` - Code string `json:"Code" xml:"Code"` -} diff --git a/services/domain/struct_sensitive_word_match_result.go b/services/domain/struct_sensitive_word_match_result.go deleted file mode 100644 index a3b0f35a9..000000000 --- a/services/domain/struct_sensitive_word_match_result.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SensitiveWordMatchResult is a nested struct in domain response -type SensitiveWordMatchResult struct { - Keyword string `json:"Keyword" xml:"Keyword"` - Exist bool `json:"Exist" xml:"Exist"` - MatchedSentiveWords MatchedSentiveWordsInBatchFuzzyMatchDomainSensitiveWord `json:"MatchedSentiveWords" xml:"MatchedSentiveWords"` -} diff --git a/services/domain/struct_sensitive_word_match_result_list.go b/services/domain/struct_sensitive_word_match_result_list.go deleted file mode 100644 index 81535bcf5..000000000 --- a/services/domain/struct_sensitive_word_match_result_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SensitiveWordMatchResultList is a nested struct in domain response -type SensitiveWordMatchResultList struct { - SensitiveWordMatchResult []SensitiveWordMatchResult `json:"SensitiveWordMatchResult" xml:"SensitiveWordMatchResult"` -} diff --git a/services/domain/struct_street_in_lookup_tmch_notice.go b/services/domain/struct_street_in_lookup_tmch_notice.go deleted file mode 100644 index b95e699c8..000000000 --- a/services/domain/struct_street_in_lookup_tmch_notice.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// StreetInLookupTmchNotice is a nested struct in domain response -type StreetInLookupTmchNotice struct { - Street []string `json:"Street" xml:"Street"` -} diff --git a/services/domain/struct_sub_order_result.go b/services/domain/struct_sub_order_result.go deleted file mode 100644 index 8fc27ec8f..000000000 --- a/services/domain/struct_sub_order_result.go +++ /dev/null @@ -1,40 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SubOrderResult is a nested struct in domain response -type SubOrderResult struct { - OrderDate string `json:"OrderDate" xml:"OrderDate"` - ProductName string `json:"ProductName" xml:"ProductName"` - ActionType string `json:"ActionType" xml:"ActionType"` - ParentSaleID string `json:"ParentSaleID" xml:"ParentSaleID"` - UserID string `json:"UserID" xml:"UserID"` - PeriodNum int `json:"PeriodNum" xml:"PeriodNum"` - TrackID string `json:"TrackID" xml:"TrackID"` - BizStatus int `json:"BizStatus" xml:"BizStatus"` - CheckDate string `json:"CheckDate" xml:"CheckDate"` - RelatedName string `json:"RelatedName" xml:"RelatedName"` - OrderID string `json:"OrderID" xml:"OrderID"` - Amount int `json:"Amount" xml:"Amount"` - CheckFlag bool `json:"CheckFlag" xml:"CheckFlag"` - ClassID string `json:"ClassID" xml:"ClassID"` - DeadDate string `json:"DeadDate" xml:"DeadDate"` - UpdateDate string `json:"UpdateDate" xml:"UpdateDate"` - SaleID string `json:"SaleID" xml:"SaleID"` - PeriodUnit int `json:"PeriodUnit" xml:"PeriodUnit"` - ValidFlag bool `json:"ValidFlag" xml:"ValidFlag"` - Money string `json:"Money" xml:"Money"` -} diff --git a/services/domain/struct_success_list_in_confirm_transfer_in_email.go b/services/domain/struct_success_list_in_confirm_transfer_in_email.go deleted file mode 100644 index 3ecd85d1b..000000000 --- a/services/domain/struct_success_list_in_confirm_transfer_in_email.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuccessListInConfirmTransferInEmail is a nested struct in domain response -type SuccessListInConfirmTransferInEmail struct { - SuccessDomain []string `json:"SuccessDomain" xml:"SuccessDomain"` -} diff --git a/services/domain/struct_success_list_in_delete_email_verification.go b/services/domain/struct_success_list_in_delete_email_verification.go deleted file mode 100644 index e8a03200b..000000000 --- a/services/domain/struct_success_list_in_delete_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuccessListInDeleteEmailVerification is a nested struct in domain response -type SuccessListInDeleteEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_success_list_in_resend_email_verification.go b/services/domain/struct_success_list_in_resend_email_verification.go deleted file mode 100644 index 231dec18b..000000000 --- a/services/domain/struct_success_list_in_resend_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuccessListInResendEmailVerification is a nested struct in domain response -type SuccessListInResendEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_success_list_in_submit_email_verification.go b/services/domain/struct_success_list_in_submit_email_verification.go deleted file mode 100644 index 2be4b6b96..000000000 --- a/services/domain/struct_success_list_in_submit_email_verification.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuccessListInSubmitEmailVerification is a nested struct in domain response -type SuccessListInSubmitEmailVerification struct { - SendResult []SendResult `json:"SendResult" xml:"SendResult"` -} diff --git a/services/domain/struct_success_list_in_transfer_in_check_mail_token.go b/services/domain/struct_success_list_in_transfer_in_check_mail_token.go deleted file mode 100644 index b81ca5afc..000000000 --- a/services/domain/struct_success_list_in_transfer_in_check_mail_token.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuccessListInTransferInCheckMailToken is a nested struct in domain response -type SuccessListInTransferInCheckMailToken struct { - SuccessDomain []string `json:"SuccessDomain" xml:"SuccessDomain"` -} diff --git a/services/domain/struct_suffix_list.go b/services/domain/struct_suffix_list.go deleted file mode 100644 index 9232c5d7a..000000000 --- a/services/domain/struct_suffix_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// SuffixList is a nested struct in domain response -type SuffixList struct { - Suffix []string `json:"Suffix" xml:"Suffix"` -} diff --git a/services/domain/struct_tag_in_query_advanced_domain_list.go b/services/domain/struct_tag_in_query_advanced_domain_list.go deleted file mode 100644 index 249263184..000000000 --- a/services/domain/struct_tag_in_query_advanced_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagInQueryAdvancedDomainList is a nested struct in domain response -type TagInQueryAdvancedDomainList struct { - TagItem []TagItem `json:"Tag" xml:"Tag"` -} diff --git a/services/domain/struct_tag_in_query_domain_by_domain_name.go b/services/domain/struct_tag_in_query_domain_by_domain_name.go deleted file mode 100644 index 4755b8518..000000000 --- a/services/domain/struct_tag_in_query_domain_by_domain_name.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagInQueryDomainByDomainName is a nested struct in domain response -type TagInQueryDomainByDomainName struct { - TagItem []TagItem `json:"Tag" xml:"Tag"` -} diff --git a/services/domain/struct_tag_in_query_domain_by_instance_id.go b/services/domain/struct_tag_in_query_domain_by_instance_id.go deleted file mode 100644 index f0f055577..000000000 --- a/services/domain/struct_tag_in_query_domain_by_instance_id.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagInQueryDomainByInstanceId is a nested struct in domain response -type TagInQueryDomainByInstanceId struct { - TagItem []TagItem `json:"Tag" xml:"Tag"` -} diff --git a/services/domain/struct_tag_in_query_domain_list.go b/services/domain/struct_tag_in_query_domain_list.go deleted file mode 100644 index 4ed1da37f..000000000 --- a/services/domain/struct_tag_in_query_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagInQueryDomainList is a nested struct in domain response -type TagInQueryDomainList struct { - TagItem []TagItem `json:"Tag" xml:"Tag"` -} diff --git a/services/domain/struct_tag_in_scroll_domain_list.go b/services/domain/struct_tag_in_scroll_domain_list.go deleted file mode 100644 index bcb1b69bc..000000000 --- a/services/domain/struct_tag_in_scroll_domain_list.go +++ /dev/null @@ -1,21 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagInScrollDomainList is a nested struct in domain response -type TagInScrollDomainList struct { - TagItem []TagItem `json:"Tag" xml:"Tag"` -} diff --git a/services/domain/struct_tag_item.go b/services/domain/struct_tag_item.go deleted file mode 100644 index 9775844ef..000000000 --- a/services/domain/struct_tag_item.go +++ /dev/null @@ -1,23 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TagItem is a nested struct in domain response -type TagItem struct { - Key string `json:"Key" xml:"Key"` - Value string `json:"Value" xml:"Value"` - Vaue string `json:"Vaue" xml:"Vaue"` -} diff --git a/services/domain/struct_task_detail.go b/services/domain/struct_task_detail.go deleted file mode 100644 index ae4e8b0a8..000000000 --- a/services/domain/struct_task_detail.go +++ /dev/null @@ -1,27 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TaskDetail is a nested struct in domain response -type TaskDetail struct { - TaskType string `json:"TaskType" xml:"TaskType"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TryCount int `json:"TryCount" xml:"TryCount"` - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` - DomainName string `json:"DomainName" xml:"DomainName"` -} diff --git a/services/domain/struct_task_detail_history.go b/services/domain/struct_task_detail_history.go deleted file mode 100644 index e4bebceda..000000000 --- a/services/domain/struct_task_detail_history.go +++ /dev/null @@ -1,32 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TaskDetailHistory is a nested struct in domain response -type TaskDetailHistory struct { - UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` - TaskDetailNo string `json:"TaskDetailNo" xml:"TaskDetailNo"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - DomainName string `json:"DomainName" xml:"DomainName"` - TaskType string `json:"TaskType" xml:"TaskType"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - TaskStatusCode int `json:"TaskStatusCode" xml:"TaskStatusCode"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskTypeDescription string `json:"TaskTypeDescription" xml:"TaskTypeDescription"` - TryCount int `json:"TryCount" xml:"TryCount"` - ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"` -} diff --git a/services/domain/struct_task_info.go b/services/domain/struct_task_info.go deleted file mode 100644 index d9d6c1818..000000000 --- a/services/domain/struct_task_info.go +++ /dev/null @@ -1,26 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TaskInfo is a nested struct in domain response -type TaskInfo struct { - TaskType string `json:"TaskType" xml:"TaskType"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskNum int `json:"TaskNum" xml:"TaskNum"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - Clientip string `json:"Clientip" xml:"Clientip"` -} diff --git a/services/domain/struct_task_info_history.go b/services/domain/struct_task_info_history.go deleted file mode 100644 index 2cbc1edd2..000000000 --- a/services/domain/struct_task_info_history.go +++ /dev/null @@ -1,29 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TaskInfoHistory is a nested struct in domain response -type TaskInfoHistory struct { - TaskType string `json:"TaskType" xml:"TaskType"` - TaskNo string `json:"TaskNo" xml:"TaskNo"` - TaskStatusCode int `json:"TaskStatusCode" xml:"TaskStatusCode"` - TaskStatus string `json:"TaskStatus" xml:"TaskStatus"` - TaskTypeDescription string `json:"TaskTypeDescription" xml:"TaskTypeDescription"` - TaskNum int `json:"TaskNum" xml:"TaskNum"` - CreateTime string `json:"CreateTime" xml:"CreateTime"` - CreateTimeLong int64 `json:"CreateTimeLong" xml:"CreateTimeLong"` - Clientip string `json:"Clientip" xml:"Clientip"` -} diff --git a/services/domain/struct_transfer_in_info.go b/services/domain/struct_transfer_in_info.go deleted file mode 100644 index 776d0ed19..000000000 --- a/services/domain/struct_transfer_in_info.go +++ /dev/null @@ -1,41 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under the License. -// -// Code generated by Alibaba Cloud SDK Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// TransferInInfo is a nested struct in domain response -type TransferInInfo struct { - Status int `json:"Status" xml:"Status"` - UserId string `json:"UserId" xml:"UserId"` - ModificationDate string `json:"ModificationDate" xml:"ModificationDate"` - TransferAuthorizationCodeSubmissionDateLong int64 `json:"TransferAuthorizationCodeSubmissionDateLong" xml:"TransferAuthorizationCodeSubmissionDateLong"` - SubmissionDateLong int64 `json:"SubmissionDateLong" xml:"SubmissionDateLong"` - ResultCode string `json:"ResultCode" xml:"ResultCode"` - NeedMailCheck bool `json:"NeedMailCheck" xml:"NeedMailCheck"` - ModificationDateLong int64 `json:"ModificationDateLong" xml:"ModificationDateLong"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - DomainName string `json:"DomainName" xml:"DomainName"` - ProgressBarType int `json:"ProgressBarType" xml:"ProgressBarType"` - ResultMsg string `json:"ResultMsg" xml:"ResultMsg"` - ResultDateLong int64 `json:"ResultDateLong" xml:"ResultDateLong"` - ExpirationDate string `json:"ExpirationDate" xml:"ExpirationDate"` - Email string `json:"Email" xml:"Email"` - WhoisMailStatus bool `json:"WhoisMailStatus" xml:"WhoisMailStatus"` - TransferAuthorizationCodeSubmissionDate string `json:"TransferAuthorizationCodeSubmissionDate" xml:"TransferAuthorizationCodeSubmissionDate"` - SubmissionDate string `json:"SubmissionDate" xml:"SubmissionDate"` - ExpirationDateLong int64 `json:"ExpirationDateLong" xml:"ExpirationDateLong"` - SimpleTransferInStatus string `json:"SimpleTransferInStatus" xml:"SimpleTransferInStatus"` - ResultDate string `json:"ResultDate" xml:"ResultDate"` -} diff --git a/services/domain/submit_domain_special_biz_credentials.go b/services/domain/submit_domain_special_biz_credentials.go deleted file mode 100644 index b8f48ba56..000000000 --- a/services/domain/submit_domain_special_biz_credentials.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SubmitDomainSpecialBizCredentials invokes the domain.SubmitDomainSpecialBizCredentials API synchronously -func (client *Client) SubmitDomainSpecialBizCredentials(request *SubmitDomainSpecialBizCredentialsRequest) (response *SubmitDomainSpecialBizCredentialsResponse, err error) { - response = CreateSubmitDomainSpecialBizCredentialsResponse() - err = client.DoAction(request, response) - return -} - -// SubmitDomainSpecialBizCredentialsWithChan invokes the domain.SubmitDomainSpecialBizCredentials API asynchronously -func (client *Client) SubmitDomainSpecialBizCredentialsWithChan(request *SubmitDomainSpecialBizCredentialsRequest) (<-chan *SubmitDomainSpecialBizCredentialsResponse, <-chan error) { - responseChan := make(chan *SubmitDomainSpecialBizCredentialsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SubmitDomainSpecialBizCredentials(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SubmitDomainSpecialBizCredentialsWithCallback invokes the domain.SubmitDomainSpecialBizCredentials API asynchronously -func (client *Client) SubmitDomainSpecialBizCredentialsWithCallback(request *SubmitDomainSpecialBizCredentialsRequest, callback func(response *SubmitDomainSpecialBizCredentialsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SubmitDomainSpecialBizCredentialsResponse - var err error - defer close(result) - response, err = client.SubmitDomainSpecialBizCredentials(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SubmitDomainSpecialBizCredentialsRequest is the request struct for api SubmitDomainSpecialBizCredentials -type SubmitDomainSpecialBizCredentialsRequest struct { - *requests.RpcRequest - Credentials string `position:"Body" name:"Credentials"` - Extend string `position:"Body" name:"Extend"` - BizId requests.Integer `position:"Body" name:"BizId"` - UserClientIp string `position:"Query" name:"UserClientIp"` -} - -// SubmitDomainSpecialBizCredentialsResponse is the response struct for api SubmitDomainSpecialBizCredentials -type SubmitDomainSpecialBizCredentialsResponse struct { - *responses.BaseResponse -} - -// CreateSubmitDomainSpecialBizCredentialsRequest creates a request to invoke SubmitDomainSpecialBizCredentials API -func CreateSubmitDomainSpecialBizCredentialsRequest() (request *SubmitDomainSpecialBizCredentialsRequest) { - request = &SubmitDomainSpecialBizCredentialsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SubmitDomainSpecialBizCredentials", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSubmitDomainSpecialBizCredentialsResponse creates a response to parse from SubmitDomainSpecialBizCredentials response -func CreateSubmitDomainSpecialBizCredentialsResponse() (response *SubmitDomainSpecialBizCredentialsResponse) { - response = &SubmitDomainSpecialBizCredentialsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/submit_email_verification.go b/services/domain/submit_email_verification.go deleted file mode 100644 index 833317314..000000000 --- a/services/domain/submit_email_verification.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SubmitEmailVerification invokes the domain.SubmitEmailVerification API synchronously -func (client *Client) SubmitEmailVerification(request *SubmitEmailVerificationRequest) (response *SubmitEmailVerificationResponse, err error) { - response = CreateSubmitEmailVerificationResponse() - err = client.DoAction(request, response) - return -} - -// SubmitEmailVerificationWithChan invokes the domain.SubmitEmailVerification API asynchronously -func (client *Client) SubmitEmailVerificationWithChan(request *SubmitEmailVerificationRequest) (<-chan *SubmitEmailVerificationResponse, <-chan error) { - responseChan := make(chan *SubmitEmailVerificationResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SubmitEmailVerification(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SubmitEmailVerificationWithCallback invokes the domain.SubmitEmailVerification API asynchronously -func (client *Client) SubmitEmailVerificationWithCallback(request *SubmitEmailVerificationRequest, callback func(response *SubmitEmailVerificationResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SubmitEmailVerificationResponse - var err error - defer close(result) - response, err = client.SubmitEmailVerification(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SubmitEmailVerificationRequest is the request struct for api SubmitEmailVerification -type SubmitEmailVerificationRequest struct { - *requests.RpcRequest - SendIfExist requests.Boolean `position:"Query" name:"SendIfExist"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` -} - -// SubmitEmailVerificationResponse is the response struct for api SubmitEmailVerification -type SubmitEmailVerificationResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - ExistList []SendResult `json:"ExistList" xml:"ExistList"` - SuccessList []SendResult `json:"SuccessList" xml:"SuccessList"` - FailList []SendResult `json:"FailList" xml:"FailList"` -} - -// CreateSubmitEmailVerificationRequest creates a request to invoke SubmitEmailVerification API -func CreateSubmitEmailVerificationRequest() (request *SubmitEmailVerificationRequest) { - request = &SubmitEmailVerificationRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SubmitEmailVerification", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSubmitEmailVerificationResponse creates a response to parse from SubmitEmailVerification response -func CreateSubmitEmailVerificationResponse() (response *SubmitEmailVerificationResponse) { - response = &SubmitEmailVerificationResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/submit_operation_audit_info.go b/services/domain/submit_operation_audit_info.go deleted file mode 100644 index 4b442b778..000000000 --- a/services/domain/submit_operation_audit_info.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SubmitOperationAuditInfo invokes the domain.SubmitOperationAuditInfo API synchronously -func (client *Client) SubmitOperationAuditInfo(request *SubmitOperationAuditInfoRequest) (response *SubmitOperationAuditInfoResponse, err error) { - response = CreateSubmitOperationAuditInfoResponse() - err = client.DoAction(request, response) - return -} - -// SubmitOperationAuditInfoWithChan invokes the domain.SubmitOperationAuditInfo API asynchronously -func (client *Client) SubmitOperationAuditInfoWithChan(request *SubmitOperationAuditInfoRequest) (<-chan *SubmitOperationAuditInfoResponse, <-chan error) { - responseChan := make(chan *SubmitOperationAuditInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SubmitOperationAuditInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SubmitOperationAuditInfoWithCallback invokes the domain.SubmitOperationAuditInfo API asynchronously -func (client *Client) SubmitOperationAuditInfoWithCallback(request *SubmitOperationAuditInfoRequest, callback func(response *SubmitOperationAuditInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SubmitOperationAuditInfoResponse - var err error - defer close(result) - response, err = client.SubmitOperationAuditInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SubmitOperationAuditInfoRequest is the request struct for api SubmitOperationAuditInfo -type SubmitOperationAuditInfoRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - AuditInfo string `position:"Query" name:"AuditInfo"` - AuditType requests.Integer `position:"Query" name:"AuditType"` - Id requests.Integer `position:"Query" name:"Id"` - Lang string `position:"Query" name:"Lang"` -} - -// SubmitOperationAuditInfoResponse is the response struct for api SubmitOperationAuditInfo -type SubmitOperationAuditInfoResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Id int64 `json:"Id" xml:"Id"` -} - -// CreateSubmitOperationAuditInfoRequest creates a request to invoke SubmitOperationAuditInfo API -func CreateSubmitOperationAuditInfoRequest() (request *SubmitOperationAuditInfoRequest) { - request = &SubmitOperationAuditInfoRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SubmitOperationAuditInfo", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSubmitOperationAuditInfoResponse creates a response to parse from SubmitOperationAuditInfo response -func CreateSubmitOperationAuditInfoResponse() (response *SubmitOperationAuditInfoResponse) { - response = &SubmitOperationAuditInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/submit_operation_credentials.go b/services/domain/submit_operation_credentials.go deleted file mode 100644 index 94673b61c..000000000 --- a/services/domain/submit_operation_credentials.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// SubmitOperationCredentials invokes the domain.SubmitOperationCredentials API synchronously -func (client *Client) SubmitOperationCredentials(request *SubmitOperationCredentialsRequest) (response *SubmitOperationCredentialsResponse, err error) { - response = CreateSubmitOperationCredentialsResponse() - err = client.DoAction(request, response) - return -} - -// SubmitOperationCredentialsWithChan invokes the domain.SubmitOperationCredentials API asynchronously -func (client *Client) SubmitOperationCredentialsWithChan(request *SubmitOperationCredentialsRequest) (<-chan *SubmitOperationCredentialsResponse, <-chan error) { - responseChan := make(chan *SubmitOperationCredentialsResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.SubmitOperationCredentials(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// SubmitOperationCredentialsWithCallback invokes the domain.SubmitOperationCredentials API asynchronously -func (client *Client) SubmitOperationCredentialsWithCallback(request *SubmitOperationCredentialsRequest, callback func(response *SubmitOperationCredentialsResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *SubmitOperationCredentialsResponse - var err error - defer close(result) - response, err = client.SubmitOperationCredentials(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// SubmitOperationCredentialsRequest is the request struct for api SubmitOperationCredentials -type SubmitOperationCredentialsRequest struct { - *requests.RpcRequest - Credentials string `position:"Query" name:"Credentials"` - AuditRecordId requests.Integer `position:"Query" name:"AuditRecordId"` - RegType requests.Integer `position:"Query" name:"RegType"` - AuditType requests.Integer `position:"Query" name:"AuditType"` - Lang string `position:"Query" name:"Lang"` -} - -// SubmitOperationCredentialsResponse is the response struct for api SubmitOperationCredentials -type SubmitOperationCredentialsResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateSubmitOperationCredentialsRequest creates a request to invoke SubmitOperationCredentials API -func CreateSubmitOperationCredentialsRequest() (request *SubmitOperationCredentialsRequest) { - request = &SubmitOperationCredentialsRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "SubmitOperationCredentials", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateSubmitOperationCredentialsResponse creates a response to parse from SubmitOperationCredentials response -func CreateSubmitOperationCredentialsResponse() (response *SubmitOperationCredentialsResponse) { - response = &SubmitOperationCredentialsResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/submit_purchase_info.go b/services/domain/submit_purchase_info.go index e74f10a62..f4844a98e 100644 --- a/services/domain/submit_purchase_info.go +++ b/services/domain/submit_purchase_info.go @@ -72,9 +72,9 @@ func (client *Client) SubmitPurchaseInfoWithCallback(request *SubmitPurchaseInfo type SubmitPurchaseInfoRequest struct { *requests.RpcRequest PurchaseProofs *[]string `position:"Body" name:"PurchaseProofs" type:"Repeated"` + PurchasePrice string `position:"Body" name:"PurchasePrice"` PurchaseCurrency string `position:"Body" name:"PurchaseCurrency"` BizId string `position:"Body" name:"BizId"` - PurchasePrice string `position:"Body" name:"PurchasePrice"` } // SubmitPurchaseInfoResponse is the response struct for api SubmitPurchaseInfo diff --git a/services/domain/transfer_in_check_mail_token.go b/services/domain/transfer_in_check_mail_token.go deleted file mode 100644 index b9ccfb017..000000000 --- a/services/domain/transfer_in_check_mail_token.go +++ /dev/null @@ -1,103 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// TransferInCheckMailToken invokes the domain.TransferInCheckMailToken API synchronously -func (client *Client) TransferInCheckMailToken(request *TransferInCheckMailTokenRequest) (response *TransferInCheckMailTokenResponse, err error) { - response = CreateTransferInCheckMailTokenResponse() - err = client.DoAction(request, response) - return -} - -// TransferInCheckMailTokenWithChan invokes the domain.TransferInCheckMailToken API asynchronously -func (client *Client) TransferInCheckMailTokenWithChan(request *TransferInCheckMailTokenRequest) (<-chan *TransferInCheckMailTokenResponse, <-chan error) { - responseChan := make(chan *TransferInCheckMailTokenResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.TransferInCheckMailToken(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// TransferInCheckMailTokenWithCallback invokes the domain.TransferInCheckMailToken API asynchronously -func (client *Client) TransferInCheckMailTokenWithCallback(request *TransferInCheckMailTokenRequest, callback func(response *TransferInCheckMailTokenResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *TransferInCheckMailTokenResponse - var err error - defer close(result) - response, err = client.TransferInCheckMailToken(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// TransferInCheckMailTokenRequest is the request struct for api TransferInCheckMailToken -type TransferInCheckMailTokenRequest struct { - *requests.RpcRequest - Token string `position:"Query" name:"Token"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// TransferInCheckMailTokenResponse is the response struct for api TransferInCheckMailToken -type TransferInCheckMailTokenResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - SuccessList SuccessListInTransferInCheckMailToken `json:"SuccessList" xml:"SuccessList"` - FailList FailListInTransferInCheckMailToken `json:"FailList" xml:"FailList"` -} - -// CreateTransferInCheckMailTokenRequest creates a request to invoke TransferInCheckMailToken API -func CreateTransferInCheckMailTokenRequest() (request *TransferInCheckMailTokenRequest) { - request = &TransferInCheckMailTokenRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "TransferInCheckMailToken", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateTransferInCheckMailTokenResponse creates a response to parse from TransferInCheckMailToken response -func CreateTransferInCheckMailTokenResponse() (response *TransferInCheckMailTokenResponse) { - response = &TransferInCheckMailTokenResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/transfer_in_reenter_transfer_authorization_code.go b/services/domain/transfer_in_reenter_transfer_authorization_code.go deleted file mode 100644 index 552c44570..000000000 --- a/services/domain/transfer_in_reenter_transfer_authorization_code.go +++ /dev/null @@ -1,102 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// TransferInReenterTransferAuthorizationCode invokes the domain.TransferInReenterTransferAuthorizationCode API synchronously -func (client *Client) TransferInReenterTransferAuthorizationCode(request *TransferInReenterTransferAuthorizationCodeRequest) (response *TransferInReenterTransferAuthorizationCodeResponse, err error) { - response = CreateTransferInReenterTransferAuthorizationCodeResponse() - err = client.DoAction(request, response) - return -} - -// TransferInReenterTransferAuthorizationCodeWithChan invokes the domain.TransferInReenterTransferAuthorizationCode API asynchronously -func (client *Client) TransferInReenterTransferAuthorizationCodeWithChan(request *TransferInReenterTransferAuthorizationCodeRequest) (<-chan *TransferInReenterTransferAuthorizationCodeResponse, <-chan error) { - responseChan := make(chan *TransferInReenterTransferAuthorizationCodeResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.TransferInReenterTransferAuthorizationCode(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// TransferInReenterTransferAuthorizationCodeWithCallback invokes the domain.TransferInReenterTransferAuthorizationCode API asynchronously -func (client *Client) TransferInReenterTransferAuthorizationCodeWithCallback(request *TransferInReenterTransferAuthorizationCodeRequest, callback func(response *TransferInReenterTransferAuthorizationCodeResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *TransferInReenterTransferAuthorizationCodeResponse - var err error - defer close(result) - response, err = client.TransferInReenterTransferAuthorizationCode(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// TransferInReenterTransferAuthorizationCodeRequest is the request struct for api TransferInReenterTransferAuthorizationCode -type TransferInReenterTransferAuthorizationCodeRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - TransferAuthorizationCode string `position:"Query" name:"TransferAuthorizationCode"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// TransferInReenterTransferAuthorizationCodeResponse is the response struct for api TransferInReenterTransferAuthorizationCode -type TransferInReenterTransferAuthorizationCodeResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateTransferInReenterTransferAuthorizationCodeRequest creates a request to invoke TransferInReenterTransferAuthorizationCode API -func CreateTransferInReenterTransferAuthorizationCodeRequest() (request *TransferInReenterTransferAuthorizationCodeRequest) { - request = &TransferInReenterTransferAuthorizationCodeRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "TransferInReenterTransferAuthorizationCode", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateTransferInReenterTransferAuthorizationCodeResponse creates a response to parse from TransferInReenterTransferAuthorizationCode response -func CreateTransferInReenterTransferAuthorizationCodeResponse() (response *TransferInReenterTransferAuthorizationCodeResponse) { - response = &TransferInReenterTransferAuthorizationCodeResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/transfer_in_refetch_whois_email.go b/services/domain/transfer_in_refetch_whois_email.go deleted file mode 100644 index d56dc998e..000000000 --- a/services/domain/transfer_in_refetch_whois_email.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// TransferInRefetchWhoisEmail invokes the domain.TransferInRefetchWhoisEmail API synchronously -func (client *Client) TransferInRefetchWhoisEmail(request *TransferInRefetchWhoisEmailRequest) (response *TransferInRefetchWhoisEmailResponse, err error) { - response = CreateTransferInRefetchWhoisEmailResponse() - err = client.DoAction(request, response) - return -} - -// TransferInRefetchWhoisEmailWithChan invokes the domain.TransferInRefetchWhoisEmail API asynchronously -func (client *Client) TransferInRefetchWhoisEmailWithChan(request *TransferInRefetchWhoisEmailRequest) (<-chan *TransferInRefetchWhoisEmailResponse, <-chan error) { - responseChan := make(chan *TransferInRefetchWhoisEmailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.TransferInRefetchWhoisEmail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// TransferInRefetchWhoisEmailWithCallback invokes the domain.TransferInRefetchWhoisEmail API asynchronously -func (client *Client) TransferInRefetchWhoisEmailWithCallback(request *TransferInRefetchWhoisEmailRequest, callback func(response *TransferInRefetchWhoisEmailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *TransferInRefetchWhoisEmailResponse - var err error - defer close(result) - response, err = client.TransferInRefetchWhoisEmail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// TransferInRefetchWhoisEmailRequest is the request struct for api TransferInRefetchWhoisEmail -type TransferInRefetchWhoisEmailRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// TransferInRefetchWhoisEmailResponse is the response struct for api TransferInRefetchWhoisEmail -type TransferInRefetchWhoisEmailResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateTransferInRefetchWhoisEmailRequest creates a request to invoke TransferInRefetchWhoisEmail API -func CreateTransferInRefetchWhoisEmailRequest() (request *TransferInRefetchWhoisEmailRequest) { - request = &TransferInRefetchWhoisEmailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-1-24", "TransferInRefetchWhoisEmail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateTransferInRefetchWhoisEmailResponse creates a response to parse from TransferInRefetchWhoisEmail response -func CreateTransferInRefetchWhoisEmailResponse() (response *TransferInRefetchWhoisEmailResponse) { - response = &TransferInRefetchWhoisEmailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/transfer_in_resend_mail_token.go b/services/domain/transfer_in_resend_mail_token.go deleted file mode 100644 index df8fb2ec2..000000000 --- a/services/domain/transfer_in_resend_mail_token.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// TransferInResendMailToken invokes the domain.TransferInResendMailToken API synchronously -func (client *Client) TransferInResendMailToken(request *TransferInResendMailTokenRequest) (response *TransferInResendMailTokenResponse, err error) { - response = CreateTransferInResendMailTokenResponse() - err = client.DoAction(request, response) - return -} - -// TransferInResendMailTokenWithChan invokes the domain.TransferInResendMailToken API asynchronously -func (client *Client) TransferInResendMailTokenWithChan(request *TransferInResendMailTokenRequest) (<-chan *TransferInResendMailTokenResponse, <-chan error) { - responseChan := make(chan *TransferInResendMailTokenResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.TransferInResendMailToken(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// TransferInResendMailTokenWithCallback invokes the domain.TransferInResendMailToken API asynchronously -func (client *Client) TransferInResendMailTokenWithCallback(request *TransferInResendMailTokenRequest, callback func(response *TransferInResendMailTokenResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *TransferInResendMailTokenResponse - var err error - defer close(result) - response, err = client.TransferInResendMailToken(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// TransferInResendMailTokenRequest is the request struct for api TransferInResendMailToken -type TransferInResendMailTokenRequest struct { - *requests.RpcRequest - DomainName string `position:"Query" name:"DomainName"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// TransferInResendMailTokenResponse is the response struct for api TransferInResendMailToken -type TransferInResendMailTokenResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateTransferInResendMailTokenRequest creates a request to invoke TransferInResendMailToken API -func CreateTransferInResendMailTokenRequest() (request *TransferInResendMailTokenRequest) { - request = &TransferInResendMailTokenRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "TransferInResendMailToken", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateTransferInResendMailTokenResponse creates a response to parse from TransferInResendMailToken response -func CreateTransferInResendMailTokenResponse() (response *TransferInResendMailTokenResponse) { - response = &TransferInResendMailTokenResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/update_domain_to_domain_group.go b/services/domain/update_domain_to_domain_group.go deleted file mode 100644 index fbe8a3187..000000000 --- a/services/domain/update_domain_to_domain_group.go +++ /dev/null @@ -1,105 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// UpdateDomainToDomainGroup invokes the domain.UpdateDomainToDomainGroup API synchronously -func (client *Client) UpdateDomainToDomainGroup(request *UpdateDomainToDomainGroupRequest) (response *UpdateDomainToDomainGroupResponse, err error) { - response = CreateUpdateDomainToDomainGroupResponse() - err = client.DoAction(request, response) - return -} - -// UpdateDomainToDomainGroupWithChan invokes the domain.UpdateDomainToDomainGroup API asynchronously -func (client *Client) UpdateDomainToDomainGroupWithChan(request *UpdateDomainToDomainGroupRequest) (<-chan *UpdateDomainToDomainGroupResponse, <-chan error) { - responseChan := make(chan *UpdateDomainToDomainGroupResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.UpdateDomainToDomainGroup(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// UpdateDomainToDomainGroupWithCallback invokes the domain.UpdateDomainToDomainGroup API asynchronously -func (client *Client) UpdateDomainToDomainGroupWithCallback(request *UpdateDomainToDomainGroupRequest, callback func(response *UpdateDomainToDomainGroupResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *UpdateDomainToDomainGroupResponse - var err error - defer close(result) - response, err = client.UpdateDomainToDomainGroup(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// UpdateDomainToDomainGroupRequest is the request struct for api UpdateDomainToDomainGroup -type UpdateDomainToDomainGroupRequest struct { - *requests.RpcRequest - FileToUpload string `position:"Body" name:"FileToUpload"` - Replace requests.Boolean `position:"Query" name:"Replace"` - DomainName *[]string `position:"Query" name:"DomainName" type:"Repeated"` - DomainGroupId requests.Integer `position:"Query" name:"DomainGroupId"` - DataSource requests.Integer `position:"Query" name:"DataSource"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// UpdateDomainToDomainGroupResponse is the response struct for api UpdateDomainToDomainGroup -type UpdateDomainToDomainGroupResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateUpdateDomainToDomainGroupRequest creates a request to invoke UpdateDomainToDomainGroup API -func CreateUpdateDomainToDomainGroupRequest() (request *UpdateDomainToDomainGroupRequest) { - request = &UpdateDomainToDomainGroupRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "UpdateDomainToDomainGroup", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateUpdateDomainToDomainGroupResponse creates a response to parse from UpdateDomainToDomainGroup response -func CreateUpdateDomainToDomainGroupResponse() (response *UpdateDomainToDomainGroupResponse) { - response = &UpdateDomainToDomainGroupResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/verify_contact_field.go b/services/domain/verify_contact_field.go deleted file mode 100644 index b50e44a25..000000000 --- a/services/domain/verify_contact_field.go +++ /dev/null @@ -1,118 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// VerifyContactField invokes the domain.VerifyContactField API synchronously -func (client *Client) VerifyContactField(request *VerifyContactFieldRequest) (response *VerifyContactFieldResponse, err error) { - response = CreateVerifyContactFieldResponse() - err = client.DoAction(request, response) - return -} - -// VerifyContactFieldWithChan invokes the domain.VerifyContactField API asynchronously -func (client *Client) VerifyContactFieldWithChan(request *VerifyContactFieldRequest) (<-chan *VerifyContactFieldResponse, <-chan error) { - responseChan := make(chan *VerifyContactFieldResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.VerifyContactField(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// VerifyContactFieldWithCallback invokes the domain.VerifyContactField API asynchronously -func (client *Client) VerifyContactFieldWithCallback(request *VerifyContactFieldRequest, callback func(response *VerifyContactFieldResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *VerifyContactFieldResponse - var err error - defer close(result) - response, err = client.VerifyContactField(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// VerifyContactFieldRequest is the request struct for api VerifyContactField -type VerifyContactFieldRequest struct { - *requests.RpcRequest - Country string `position:"Query" name:"Country"` - City string `position:"Query" name:"City"` - ZhCity string `position:"Query" name:"ZhCity"` - TelExt string `position:"Query" name:"TelExt"` - Province string `position:"Query" name:"Province"` - ZhRegistrantName string `position:"Query" name:"ZhRegistrantName"` - PostalCode string `position:"Query" name:"PostalCode"` - Lang string `position:"Query" name:"Lang"` - Email string `position:"Query" name:"Email"` - ZhRegistrantOrganization string `position:"Query" name:"ZhRegistrantOrganization"` - Address string `position:"Query" name:"Address"` - TelArea string `position:"Query" name:"TelArea"` - ZhAddress string `position:"Query" name:"ZhAddress"` - RegistrantType string `position:"Query" name:"RegistrantType"` - DomainName string `position:"Query" name:"DomainName"` - Telephone string `position:"Query" name:"Telephone"` - ZhProvince string `position:"Query" name:"ZhProvince"` - RegistrantOrganization string `position:"Query" name:"RegistrantOrganization"` - UserClientIp string `position:"Query" name:"UserClientIp"` - RegistrantName string `position:"Query" name:"RegistrantName"` -} - -// VerifyContactFieldResponse is the response struct for api VerifyContactField -type VerifyContactFieldResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateVerifyContactFieldRequest creates a request to invoke VerifyContactField API -func CreateVerifyContactFieldRequest() (request *VerifyContactFieldRequest) { - request = &VerifyContactFieldRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "VerifyContactField", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateVerifyContactFieldResponse creates a response to parse from VerifyContactField response -func CreateVerifyContactFieldResponse() (response *VerifyContactFieldResponse) { - response = &VerifyContactFieldResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/verify_email.go b/services/domain/verify_email.go deleted file mode 100644 index 479c53f79..000000000 --- a/services/domain/verify_email.go +++ /dev/null @@ -1,101 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// VerifyEmail invokes the domain.VerifyEmail API synchronously -func (client *Client) VerifyEmail(request *VerifyEmailRequest) (response *VerifyEmailResponse, err error) { - response = CreateVerifyEmailResponse() - err = client.DoAction(request, response) - return -} - -// VerifyEmailWithChan invokes the domain.VerifyEmail API asynchronously -func (client *Client) VerifyEmailWithChan(request *VerifyEmailRequest) (<-chan *VerifyEmailResponse, <-chan error) { - responseChan := make(chan *VerifyEmailResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.VerifyEmail(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// VerifyEmailWithCallback invokes the domain.VerifyEmail API asynchronously -func (client *Client) VerifyEmailWithCallback(request *VerifyEmailRequest, callback func(response *VerifyEmailResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *VerifyEmailResponse - var err error - defer close(result) - response, err = client.VerifyEmail(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// VerifyEmailRequest is the request struct for api VerifyEmail -type VerifyEmailRequest struct { - *requests.RpcRequest - Token string `position:"Query" name:"Token"` - UserClientIp string `position:"Query" name:"UserClientIp"` - Lang string `position:"Query" name:"Lang"` -} - -// VerifyEmailResponse is the response struct for api VerifyEmail -type VerifyEmailResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` -} - -// CreateVerifyEmailRequest creates a request to invoke VerifyEmail API -func CreateVerifyEmailRequest() (request *VerifyEmailRequest) { - request = &VerifyEmailRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2018-01-29", "VerifyEmail", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateVerifyEmailResponse creates a response to parse from VerifyEmail response -func CreateVerifyEmailResponse() (response *VerifyEmailResponse) { - response = &VerifyEmailResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/domain/whois_protection.go b/services/domain/whois_protection.go deleted file mode 100644 index 6539552f7..000000000 --- a/services/domain/whois_protection.go +++ /dev/null @@ -1,104 +0,0 @@ -package domain - -//Licensed under the Apache License, Version 2.0 (the "License"); -//you may not use this file except in compliance with the License. -//You may obtain a copy of the License at -// -//http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, -//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//See the License for the specific language governing permissions and -//limitations under 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" -) - -// WhoisProtection invokes the domain.WhoisProtection API synchronously -func (client *Client) WhoisProtection(request *WhoisProtectionRequest) (response *WhoisProtectionResponse, err error) { - response = CreateWhoisProtectionResponse() - err = client.DoAction(request, response) - return -} - -// WhoisProtectionWithChan invokes the domain.WhoisProtection API asynchronously -func (client *Client) WhoisProtectionWithChan(request *WhoisProtectionRequest) (<-chan *WhoisProtectionResponse, <-chan error) { - responseChan := make(chan *WhoisProtectionResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.WhoisProtection(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// WhoisProtectionWithCallback invokes the domain.WhoisProtection API asynchronously -func (client *Client) WhoisProtectionWithCallback(request *WhoisProtectionRequest, callback func(response *WhoisProtectionResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *WhoisProtectionResponse - var err error - defer close(result) - response, err = client.WhoisProtection(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// WhoisProtectionRequest is the request struct for api WhoisProtection -type WhoisProtectionRequest struct { - *requests.RpcRequest - WhoisProtect requests.Boolean `position:"Query" name:"WhoisProtect"` - DataSource requests.Integer `position:"Query" name:"DataSource"` - UserClientIp string `position:"Query" name:"UserClientIp"` - DataContent string `position:"Query" name:"DataContent"` - Lang string `position:"Query" name:"Lang"` -} - -// WhoisProtectionResponse is the response struct for api WhoisProtection -type WhoisProtectionResponse struct { - *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Result int `json:"Result" xml:"Result"` -} - -// CreateWhoisProtectionRequest creates a request to invoke WhoisProtection API -func CreateWhoisProtectionRequest() (request *WhoisProtectionRequest) { - request = &WhoisProtectionRequest{ - RpcRequest: &requests.RpcRequest{}, - } - request.InitWithApiInfo("Domain", "2016-05-11", "WhoisProtection", "domain", "openAPI") - request.Method = requests.POST - return -} - -// CreateWhoisProtectionResponse creates a response to parse from WhoisProtection response -func CreateWhoisProtectionResponse() (response *WhoisProtectionResponse) { - response = &WhoisProtectionResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -}