基于转移码的转出接口
This commit is contained in:
@@ -175,6 +175,8 @@ set(domain_public_header_model
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForModifyingDomainDnsResult.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForReserveDropListDomainRequest.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForReserveDropListDomainResult.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForTransferOutByAuthorizationCodeRequest.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForTransferOutByAuthorizationCodeResult.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockRequest.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockResult.h
|
||||
include/alibabacloud/domain/model/SaveBatchTaskForUpdateProhibitionLockRequest.h
|
||||
@@ -235,6 +237,8 @@ set(domain_public_header_model
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDSRecordResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostRequest.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForTransferOutByAuthorizationCodeRequest.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForTransferOutByAuthorizationCodeResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForTransferProhibitionLockRequest.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForTransferProhibitionLockResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForUpdateProhibitionLockRequest.h
|
||||
@@ -436,6 +440,8 @@ set(domain_src
|
||||
src/model/SaveBatchTaskForModifyingDomainDnsResult.cc
|
||||
src/model/SaveBatchTaskForReserveDropListDomainRequest.cc
|
||||
src/model/SaveBatchTaskForReserveDropListDomainResult.cc
|
||||
src/model/SaveBatchTaskForTransferOutByAuthorizationCodeRequest.cc
|
||||
src/model/SaveBatchTaskForTransferOutByAuthorizationCodeResult.cc
|
||||
src/model/SaveBatchTaskForTransferProhibitionLockRequest.cc
|
||||
src/model/SaveBatchTaskForTransferProhibitionLockResult.cc
|
||||
src/model/SaveBatchTaskForUpdateProhibitionLockRequest.cc
|
||||
@@ -496,6 +502,8 @@ set(domain_src
|
||||
src/model/SaveSingleTaskForSynchronizingDSRecordResult.cc
|
||||
src/model/SaveSingleTaskForSynchronizingDnsHostRequest.cc
|
||||
src/model/SaveSingleTaskForSynchronizingDnsHostResult.cc
|
||||
src/model/SaveSingleTaskForTransferOutByAuthorizationCodeRequest.cc
|
||||
src/model/SaveSingleTaskForTransferOutByAuthorizationCodeResult.cc
|
||||
src/model/SaveSingleTaskForTransferProhibitionLockRequest.cc
|
||||
src/model/SaveSingleTaskForTransferProhibitionLockResult.cc
|
||||
src/model/SaveSingleTaskForUpdateProhibitionLockRequest.cc
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -2823,6 +2823,42 @@ DomainClient::SaveBatchTaskForReserveDropListDomainOutcomeCallable DomainClient:
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveBatchTaskForTransferOutByAuthorizationCodeOutcome DomainClient::saveBatchTaskForTransferOutByAuthorizationCode(const SaveBatchTaskForTransferOutByAuthorizationCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SaveBatchTaskForTransferOutByAuthorizationCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SaveBatchTaskForTransferOutByAuthorizationCodeOutcome(SaveBatchTaskForTransferOutByAuthorizationCodeResult(outcome.result()));
|
||||
else
|
||||
return SaveBatchTaskForTransferOutByAuthorizationCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DomainClient::saveBatchTaskForTransferOutByAuthorizationCodeAsync(const SaveBatchTaskForTransferOutByAuthorizationCodeRequest& request, const SaveBatchTaskForTransferOutByAuthorizationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, saveBatchTaskForTransferOutByAuthorizationCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DomainClient::SaveBatchTaskForTransferOutByAuthorizationCodeOutcomeCallable DomainClient::saveBatchTaskForTransferOutByAuthorizationCodeCallable(const SaveBatchTaskForTransferOutByAuthorizationCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SaveBatchTaskForTransferOutByAuthorizationCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->saveBatchTaskForTransferOutByAuthorizationCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveBatchTaskForTransferProhibitionLockOutcome DomainClient::saveBatchTaskForTransferProhibitionLock(const SaveBatchTaskForTransferProhibitionLockRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3903,6 +3939,42 @@ DomainClient::SaveSingleTaskForSynchronizingDnsHostOutcomeCallable DomainClient:
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveSingleTaskForTransferOutByAuthorizationCodeOutcome DomainClient::saveSingleTaskForTransferOutByAuthorizationCode(const SaveSingleTaskForTransferOutByAuthorizationCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SaveSingleTaskForTransferOutByAuthorizationCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SaveSingleTaskForTransferOutByAuthorizationCodeOutcome(SaveSingleTaskForTransferOutByAuthorizationCodeResult(outcome.result()));
|
||||
else
|
||||
return SaveSingleTaskForTransferOutByAuthorizationCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DomainClient::saveSingleTaskForTransferOutByAuthorizationCodeAsync(const SaveSingleTaskForTransferOutByAuthorizationCodeRequest& request, const SaveSingleTaskForTransferOutByAuthorizationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, saveSingleTaskForTransferOutByAuthorizationCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DomainClient::SaveSingleTaskForTransferOutByAuthorizationCodeOutcomeCallable DomainClient::saveSingleTaskForTransferOutByAuthorizationCodeCallable(const SaveSingleTaskForTransferOutByAuthorizationCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SaveSingleTaskForTransferOutByAuthorizationCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->saveSingleTaskForTransferOutByAuthorizationCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveSingleTaskForTransferProhibitionLockOutcome DomainClient::saveSingleTaskForTransferProhibitionLock(const SaveSingleTaskForTransferProhibitionLockRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -40,22 +40,36 @@ void QueryIntlFixedPriceOrderListResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto moduleNode = value["Module"];
|
||||
if(!moduleNode["CreateTime"].isNull())
|
||||
module_.createTime = std::stol(moduleNode["CreateTime"].asString());
|
||||
if(!moduleNode["UpdateTime"].isNull())
|
||||
module_.updateTime = std::stol(moduleNode["UpdateTime"].asString());
|
||||
if(!moduleNode["UserId"].isNull())
|
||||
module_.userId = moduleNode["UserId"].asString();
|
||||
if(!moduleNode["BizId"].isNull())
|
||||
module_.bizId = moduleNode["BizId"].asString();
|
||||
if(!moduleNode["Domain"].isNull())
|
||||
module_.domain = moduleNode["Domain"].asString();
|
||||
if(!moduleNode["Price"].isNull())
|
||||
module_.price = std::stol(moduleNode["Price"].asString());
|
||||
if(!moduleNode["Status"].isNull())
|
||||
module_.status = std::stol(moduleNode["Status"].asString());
|
||||
if(!moduleNode["OrderType"].isNull())
|
||||
module_.orderType = std::stol(moduleNode["OrderType"].asString());
|
||||
if(!moduleNode["TotalItemNum"].isNull())
|
||||
module_.totalItemNum = std::stoi(moduleNode["TotalItemNum"].asString());
|
||||
if(!moduleNode["CurrentPageNum"].isNull())
|
||||
module_.currentPageNum = std::stoi(moduleNode["CurrentPageNum"].asString());
|
||||
if(!moduleNode["PageSize"].isNull())
|
||||
module_.pageSize = std::stoi(moduleNode["PageSize"].asString());
|
||||
if(!moduleNode["TotalPageNum"].isNull())
|
||||
module_.totalPageNum = std::stoi(moduleNode["TotalPageNum"].asString());
|
||||
auto allDataNode = moduleNode["Data"]["OrderList"];
|
||||
for (auto moduleNodeDataOrderList : allDataNode)
|
||||
{
|
||||
Module::OrderList orderListObject;
|
||||
if(!moduleNodeDataOrderList["OrderType"].isNull())
|
||||
orderListObject.orderType = std::stoi(moduleNodeDataOrderList["OrderType"].asString());
|
||||
if(!moduleNodeDataOrderList["BizId"].isNull())
|
||||
orderListObject.bizId = moduleNodeDataOrderList["BizId"].asString();
|
||||
if(!moduleNodeDataOrderList["UserId"].isNull())
|
||||
orderListObject.userId = moduleNodeDataOrderList["UserId"].asString();
|
||||
if(!moduleNodeDataOrderList["Status"].isNull())
|
||||
orderListObject.status = std::stoi(moduleNodeDataOrderList["Status"].asString());
|
||||
if(!moduleNodeDataOrderList["Price"].isNull())
|
||||
orderListObject.price = std::stol(moduleNodeDataOrderList["Price"].asString());
|
||||
if(!moduleNodeDataOrderList["Domain"].isNull())
|
||||
orderListObject.domain = moduleNodeDataOrderList["Domain"].asString();
|
||||
if(!moduleNodeDataOrderList["CreateTime"].isNull())
|
||||
orderListObject.createTime = std::stol(moduleNodeDataOrderList["CreateTime"].asString());
|
||||
if(!moduleNodeDataOrderList["UpdateTime"].isNull())
|
||||
orderListObject.updateTime = std::stol(moduleNodeDataOrderList["UpdateTime"].asString());
|
||||
module_.data.push_back(orderListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveBatchTaskForTransferOutByAuthorizationCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveBatchTaskForTransferOutByAuthorizationCodeRequest;
|
||||
|
||||
SaveBatchTaskForTransferOutByAuthorizationCodeRequest::SaveBatchTaskForTransferOutByAuthorizationCodeRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "SaveBatchTaskForTransferOutByAuthorizationCode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SaveBatchTaskForTransferOutByAuthorizationCodeRequest::~SaveBatchTaskForTransferOutByAuthorizationCodeRequest() {}
|
||||
|
||||
std::string SaveBatchTaskForTransferOutByAuthorizationCodeRequest::getLong() const {
|
||||
return long_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForTransferOutByAuthorizationCodeRequest::setLong(const std::string &long) {
|
||||
long_ = long;
|
||||
setParameter(std::string("Long"), long);
|
||||
}
|
||||
|
||||
std::vector<SaveBatchTaskForTransferOutByAuthorizationCodeRequest::TransferOutParamList> SaveBatchTaskForTransferOutByAuthorizationCodeRequest::getTransferOutParamList() const {
|
||||
return transferOutParamList_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForTransferOutByAuthorizationCodeRequest::setTransferOutParamList(const std::vector<SaveBatchTaskForTransferOutByAuthorizationCodeRequest::TransferOutParamList> &transferOutParamList) {
|
||||
transferOutParamList_ = transferOutParamList;
|
||||
for(int dep1 = 0; dep1 != transferOutParamList.size(); dep1++) {
|
||||
auto transferOutParamListObj = transferOutParamList.at(dep1);
|
||||
std::string transferOutParamListObjStr = std::string("TransferOutParamList") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(transferOutParamListObjStr + ".AuthorizationCode", transferOutParamListObj.authorizationCode);
|
||||
setParameter(transferOutParamListObjStr + ".DomainName", transferOutParamListObj.domainName);
|
||||
}
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForTransferOutByAuthorizationCodeRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchTaskForTransferOutByAuthorizationCodeRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveBatchTaskForTransferOutByAuthorizationCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveBatchTaskForTransferOutByAuthorizationCodeResult::SaveBatchTaskForTransferOutByAuthorizationCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveBatchTaskForTransferOutByAuthorizationCodeResult::SaveBatchTaskForTransferOutByAuthorizationCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveBatchTaskForTransferOutByAuthorizationCodeResult::~SaveBatchTaskForTransferOutByAuthorizationCodeResult()
|
||||
{}
|
||||
|
||||
void SaveBatchTaskForTransferOutByAuthorizationCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SaveBatchTaskForTransferOutByAuthorizationCodeResult::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForTransferOutByAuthorizationCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveSingleTaskForTransferOutByAuthorizationCodeRequest;
|
||||
|
||||
SaveSingleTaskForTransferOutByAuthorizationCodeRequest::SaveSingleTaskForTransferOutByAuthorizationCodeRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "SaveSingleTaskForTransferOutByAuthorizationCode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SaveSingleTaskForTransferOutByAuthorizationCodeRequest::~SaveSingleTaskForTransferOutByAuthorizationCodeRequest() {}
|
||||
|
||||
std::string SaveSingleTaskForTransferOutByAuthorizationCodeRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForTransferOutByAuthorizationCodeRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForTransferOutByAuthorizationCodeRequest::getAuthorizationCode() const {
|
||||
return authorizationCode_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForTransferOutByAuthorizationCodeRequest::setAuthorizationCode(const std::string &authorizationCode) {
|
||||
authorizationCode_ = authorizationCode;
|
||||
setParameter(std::string("AuthorizationCode"), authorizationCode);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForTransferOutByAuthorizationCodeRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForTransferOutByAuthorizationCodeRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForTransferOutByAuthorizationCodeRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForTransferOutByAuthorizationCodeRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForTransferOutByAuthorizationCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveSingleTaskForTransferOutByAuthorizationCodeResult::SaveSingleTaskForTransferOutByAuthorizationCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveSingleTaskForTransferOutByAuthorizationCodeResult::SaveSingleTaskForTransferOutByAuthorizationCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveSingleTaskForTransferOutByAuthorizationCodeResult::~SaveSingleTaskForTransferOutByAuthorizationCodeResult()
|
||||
{}
|
||||
|
||||
void SaveSingleTaskForTransferOutByAuthorizationCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForTransferOutByAuthorizationCodeResult::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user