基于转移码的转出接口

This commit is contained in:
sdk-team
2024-10-17 11:52:52 +00:00
parent a7841818f4
commit 183190fd14
14 changed files with 572 additions and 25 deletions

View File

@@ -176,6 +176,8 @@
#include "model/SaveBatchTaskForModifyingDomainDnsResult.h"
#include "model/SaveBatchTaskForReserveDropListDomainRequest.h"
#include "model/SaveBatchTaskForReserveDropListDomainResult.h"
#include "model/SaveBatchTaskForTransferOutByAuthorizationCodeRequest.h"
#include "model/SaveBatchTaskForTransferOutByAuthorizationCodeResult.h"
#include "model/SaveBatchTaskForTransferProhibitionLockRequest.h"
#include "model/SaveBatchTaskForTransferProhibitionLockResult.h"
#include "model/SaveBatchTaskForUpdateProhibitionLockRequest.h"
@@ -236,6 +238,8 @@
#include "model/SaveSingleTaskForSynchronizingDSRecordResult.h"
#include "model/SaveSingleTaskForSynchronizingDnsHostRequest.h"
#include "model/SaveSingleTaskForSynchronizingDnsHostResult.h"
#include "model/SaveSingleTaskForTransferOutByAuthorizationCodeRequest.h"
#include "model/SaveSingleTaskForTransferOutByAuthorizationCodeResult.h"
#include "model/SaveSingleTaskForTransferProhibitionLockRequest.h"
#include "model/SaveSingleTaskForTransferProhibitionLockResult.h"
#include "model/SaveSingleTaskForUpdateProhibitionLockRequest.h"
@@ -520,6 +524,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SaveBatchTaskForReserveDropListDomainResult> SaveBatchTaskForReserveDropListDomainOutcome;
typedef std::future<SaveBatchTaskForReserveDropListDomainOutcome> SaveBatchTaskForReserveDropListDomainOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveBatchTaskForReserveDropListDomainRequest&, const SaveBatchTaskForReserveDropListDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBatchTaskForReserveDropListDomainAsyncHandler;
typedef Outcome<Error, Model::SaveBatchTaskForTransferOutByAuthorizationCodeResult> SaveBatchTaskForTransferOutByAuthorizationCodeOutcome;
typedef std::future<SaveBatchTaskForTransferOutByAuthorizationCodeOutcome> SaveBatchTaskForTransferOutByAuthorizationCodeOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveBatchTaskForTransferOutByAuthorizationCodeRequest&, const SaveBatchTaskForTransferOutByAuthorizationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBatchTaskForTransferOutByAuthorizationCodeAsyncHandler;
typedef Outcome<Error, Model::SaveBatchTaskForTransferProhibitionLockResult> SaveBatchTaskForTransferProhibitionLockOutcome;
typedef std::future<SaveBatchTaskForTransferProhibitionLockOutcome> SaveBatchTaskForTransferProhibitionLockOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveBatchTaskForTransferProhibitionLockRequest&, const SaveBatchTaskForTransferProhibitionLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBatchTaskForTransferProhibitionLockAsyncHandler;
@@ -610,6 +617,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SaveSingleTaskForSynchronizingDnsHostResult> SaveSingleTaskForSynchronizingDnsHostOutcome;
typedef std::future<SaveSingleTaskForSynchronizingDnsHostOutcome> SaveSingleTaskForSynchronizingDnsHostOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForSynchronizingDnsHostRequest&, const SaveSingleTaskForSynchronizingDnsHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForSynchronizingDnsHostAsyncHandler;
typedef Outcome<Error, Model::SaveSingleTaskForTransferOutByAuthorizationCodeResult> SaveSingleTaskForTransferOutByAuthorizationCodeOutcome;
typedef std::future<SaveSingleTaskForTransferOutByAuthorizationCodeOutcome> SaveSingleTaskForTransferOutByAuthorizationCodeOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForTransferOutByAuthorizationCodeRequest&, const SaveSingleTaskForTransferOutByAuthorizationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForTransferOutByAuthorizationCodeAsyncHandler;
typedef Outcome<Error, Model::SaveSingleTaskForTransferProhibitionLockResult> SaveSingleTaskForTransferProhibitionLockOutcome;
typedef std::future<SaveSingleTaskForTransferProhibitionLockOutcome> SaveSingleTaskForTransferProhibitionLockOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForTransferProhibitionLockRequest&, const SaveSingleTaskForTransferProhibitionLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForTransferProhibitionLockAsyncHandler;
@@ -912,6 +922,9 @@ namespace AlibabaCloud
SaveBatchTaskForReserveDropListDomainOutcome saveBatchTaskForReserveDropListDomain(const Model::SaveBatchTaskForReserveDropListDomainRequest &request)const;
void saveBatchTaskForReserveDropListDomainAsync(const Model::SaveBatchTaskForReserveDropListDomainRequest& request, const SaveBatchTaskForReserveDropListDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveBatchTaskForReserveDropListDomainOutcomeCallable saveBatchTaskForReserveDropListDomainCallable(const Model::SaveBatchTaskForReserveDropListDomainRequest& request) const;
SaveBatchTaskForTransferOutByAuthorizationCodeOutcome saveBatchTaskForTransferOutByAuthorizationCode(const Model::SaveBatchTaskForTransferOutByAuthorizationCodeRequest &request)const;
void saveBatchTaskForTransferOutByAuthorizationCodeAsync(const Model::SaveBatchTaskForTransferOutByAuthorizationCodeRequest& request, const SaveBatchTaskForTransferOutByAuthorizationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveBatchTaskForTransferOutByAuthorizationCodeOutcomeCallable saveBatchTaskForTransferOutByAuthorizationCodeCallable(const Model::SaveBatchTaskForTransferOutByAuthorizationCodeRequest& request) const;
SaveBatchTaskForTransferProhibitionLockOutcome saveBatchTaskForTransferProhibitionLock(const Model::SaveBatchTaskForTransferProhibitionLockRequest &request)const;
void saveBatchTaskForTransferProhibitionLockAsync(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request, const SaveBatchTaskForTransferProhibitionLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveBatchTaskForTransferProhibitionLockOutcomeCallable saveBatchTaskForTransferProhibitionLockCallable(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request) const;
@@ -1002,6 +1015,9 @@ namespace AlibabaCloud
SaveSingleTaskForSynchronizingDnsHostOutcome saveSingleTaskForSynchronizingDnsHost(const Model::SaveSingleTaskForSynchronizingDnsHostRequest &request)const;
void saveSingleTaskForSynchronizingDnsHostAsync(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request, const SaveSingleTaskForSynchronizingDnsHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForSynchronizingDnsHostOutcomeCallable saveSingleTaskForSynchronizingDnsHostCallable(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request) const;
SaveSingleTaskForTransferOutByAuthorizationCodeOutcome saveSingleTaskForTransferOutByAuthorizationCode(const Model::SaveSingleTaskForTransferOutByAuthorizationCodeRequest &request)const;
void saveSingleTaskForTransferOutByAuthorizationCodeAsync(const Model::SaveSingleTaskForTransferOutByAuthorizationCodeRequest& request, const SaveSingleTaskForTransferOutByAuthorizationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForTransferOutByAuthorizationCodeOutcomeCallable saveSingleTaskForTransferOutByAuthorizationCodeCallable(const Model::SaveSingleTaskForTransferOutByAuthorizationCodeRequest& request) const;
SaveSingleTaskForTransferProhibitionLockOutcome saveSingleTaskForTransferProhibitionLock(const Model::SaveSingleTaskForTransferProhibitionLockRequest &request)const;
void saveSingleTaskForTransferProhibitionLockAsync(const Model::SaveSingleTaskForTransferProhibitionLockRequest& request, const SaveSingleTaskForTransferProhibitionLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForTransferProhibitionLockOutcomeCallable saveSingleTaskForTransferProhibitionLockCallable(const Model::SaveSingleTaskForTransferProhibitionLockRequest& request) const;

View File

@@ -34,14 +34,22 @@ namespace AlibabaCloud
public:
struct Module
{
long status;
long orderType;
long price;
std::string userId;
long createTime;
long updateTime;
std::string domain;
std::string bizId;
struct OrderList
{
int status;
int orderType;
long price;
std::string userId;
long createTime;
long updateTime;
std::string domain;
std::string bizId;
};
int currentPageNum;
int pageSize;
int totalPageNum;
std::vector<OrderList> data;
int totalItemNum;
};

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_
#include <alibabacloud/domain/DomainExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Domain {
namespace Model {
class ALIBABACLOUD_DOMAIN_EXPORT SaveBatchTaskForTransferOutByAuthorizationCodeRequest : public RpcServiceRequest {
public:
struct TransferOutParamList {
std::string authorizationCode;
std::string domainName;
};
SaveBatchTaskForTransferOutByAuthorizationCodeRequest();
~SaveBatchTaskForTransferOutByAuthorizationCodeRequest();
std::string getLong() const;
void setLong(const std::string &long);
std::vector<TransferOutParamList> getTransferOutParamList() const;
void setTransferOutParamList(const std::vector<TransferOutParamList> &transferOutParamList);
std::string getUserClientIp() const;
void setUserClientIp(const std::string &userClientIp);
private:
std::string long_;
std::vector<TransferOutParamList> transferOutParamList_;
std::string userClientIp_;
};
} // namespace Model
} // namespace Domain
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SaveBatchTaskForTransferOutByAuthorizationCodeResult : public ServiceResult
{
public:
SaveBatchTaskForTransferOutByAuthorizationCodeResult();
explicit SaveBatchTaskForTransferOutByAuthorizationCodeResult(const std::string &payload);
~SaveBatchTaskForTransferOutByAuthorizationCodeResult();
std::string getTaskNo()const;
protected:
void parse(const std::string &payload);
private:
std::string taskNo_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_
#include <alibabacloud/domain/DomainExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Domain {
namespace Model {
class ALIBABACLOUD_DOMAIN_EXPORT SaveSingleTaskForTransferOutByAuthorizationCodeRequest : public RpcServiceRequest {
public:
SaveSingleTaskForTransferOutByAuthorizationCodeRequest();
~SaveSingleTaskForTransferOutByAuthorizationCodeRequest();
std::string getDomainName() const;
void setDomainName(const std::string &domainName);
std::string getAuthorizationCode() const;
void setAuthorizationCode(const std::string &authorizationCode);
std::string getUserClientIp() const;
void setUserClientIp(const std::string &userClientIp);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string domainName_;
std::string authorizationCode_;
std::string userClientIp_;
std::string lang_;
};
} // namespace Model
} // namespace Domain
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SaveSingleTaskForTransferOutByAuthorizationCodeResult : public ServiceResult
{
public:
SaveSingleTaskForTransferOutByAuthorizationCodeResult();
explicit SaveSingleTaskForTransferOutByAuthorizationCodeResult(const std::string &payload);
~SaveSingleTaskForTransferOutByAuthorizationCodeResult();
std::string getTaskNo()const;
protected:
void parse(const std::string &payload);
private:
std::string taskNo_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVESINGLETASKFORTRANSFEROUTBYAUTHORIZATIONCODERESULT_H_