From 6d9e7147f14229a87d35b783d42acc596270b322 Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Wed, 9 May 2018 12:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E9=93=81=E7=90=B4=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E7=9A=84DOMAIN=20SDK=E8=87=AA=E5=8A=A8=E5=8F=91=E5=B8=83,=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=9A1.9.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 3 + VERSION | 2 +- domain/CMakeLists.txt | 32 ++ .../alibabacloud/domain/DomainClient.h | 64 ++++ .../domain/model/AcceptDemandRequest.h | 51 ++++ .../domain/model/AcceptDemandResult.h | 49 +++ .../domain/model/FailDemandRequest.h | 51 ++++ .../domain/model/FailDemandResult.h | 49 +++ .../domain/model/FinishDemandRequest.h | 51 ++++ .../domain/model/FinishDemandResult.h | 49 +++ .../model/QueryBrokerDemandRecordRequest.h | 54 ++++ .../model/QueryBrokerDemandRecordResult.h | 65 ++++ .../domain/model/QueryBrokerDemandRequest.h | 57 ++++ .../domain/model/QueryBrokerDemandResult.h | 73 +++++ .../domain/model/RecordDemandRequest.h | 51 ++++ .../domain/model/RecordDemandResult.h | 49 +++ .../domain/model/RefuseDemandRequest.h | 51 ++++ .../domain/model/RefuseDemandResult.h | 49 +++ .../domain/model/RequestPayDemandRequest.h | 60 ++++ .../domain/model/RequestPayDemandResult.h | 49 +++ domain/src/DomainClient.cc | 288 ++++++++++++++++++ domain/src/model/AcceptDemandRequest.cc | 49 +++ domain/src/model/AcceptDemandResult.cc | 45 +++ domain/src/model/FailDemandRequest.cc | 49 +++ domain/src/model/FailDemandResult.cc | 45 +++ domain/src/model/FinishDemandRequest.cc | 49 +++ domain/src/model/FinishDemandResult.cc | 45 +++ .../model/QueryBrokerDemandRecordRequest.cc | 60 ++++ .../model/QueryBrokerDemandRecordResult.cc | 90 ++++++ domain/src/model/QueryBrokerDemandRequest.cc | 71 +++++ domain/src/model/QueryBrokerDemandResult.cc | 106 +++++++ domain/src/model/RecordDemandRequest.cc | 49 +++ domain/src/model/RecordDemandResult.cc | 45 +++ domain/src/model/RefuseDemandRequest.cc | 49 +++ domain/src/model/RefuseDemandResult.cc | 45 +++ domain/src/model/RequestPayDemandRequest.cc | 82 +++++ domain/src/model/RequestPayDemandResult.cc | 45 +++ 37 files changed, 2170 insertions(+), 1 deletion(-) create mode 100644 domain/include/alibabacloud/domain/model/AcceptDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/AcceptDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/FailDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/FailDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/FinishDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/FinishDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h create mode 100644 domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h create mode 100644 domain/include/alibabacloud/domain/model/QueryBrokerDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/QueryBrokerDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/RecordDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/RecordDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/RefuseDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/RefuseDemandResult.h create mode 100644 domain/include/alibabacloud/domain/model/RequestPayDemandRequest.h create mode 100644 domain/include/alibabacloud/domain/model/RequestPayDemandResult.h create mode 100644 domain/src/model/AcceptDemandRequest.cc create mode 100644 domain/src/model/AcceptDemandResult.cc create mode 100644 domain/src/model/FailDemandRequest.cc create mode 100644 domain/src/model/FailDemandResult.cc create mode 100644 domain/src/model/FinishDemandRequest.cc create mode 100644 domain/src/model/FinishDemandResult.cc create mode 100644 domain/src/model/QueryBrokerDemandRecordRequest.cc create mode 100644 domain/src/model/QueryBrokerDemandRecordResult.cc create mode 100644 domain/src/model/QueryBrokerDemandRequest.cc create mode 100644 domain/src/model/QueryBrokerDemandResult.cc create mode 100644 domain/src/model/RecordDemandRequest.cc create mode 100644 domain/src/model/RecordDemandResult.cc create mode 100644 domain/src/model/RefuseDemandRequest.cc create mode 100644 domain/src/model/RefuseDemandResult.cc create mode 100644 domain/src/model/RequestPayDemandRequest.cc create mode 100644 domain/src/model/RequestPayDemandResult.cc diff --git a/CHANGELOG b/CHANGELOG index ac33ec465..c71657357 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2018-05-09 Version: 1.9.0 +1, Add apis for domain broker. + 2018-05-08 Version: 1.8.2 1, Add instance params. diff --git a/VERSION b/VERSION index 0bfbd5738..abb165823 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.2 \ No newline at end of file +1.9.0 \ No newline at end of file diff --git a/domain/CMakeLists.txt b/domain/CMakeLists.txt index 52254050f..d72f09d82 100644 --- a/domain/CMakeLists.txt +++ b/domain/CMakeLists.txt @@ -29,6 +29,8 @@ set(domain_public_header_model include/alibabacloud/domain/model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.h include/alibabacloud/domain/model/QueryBookingDomainInfoRequest.h include/alibabacloud/domain/model/QueryBookingDomainInfoResult.h + include/alibabacloud/domain/model/AcceptDemandRequest.h + include/alibabacloud/domain/model/AcceptDemandResult.h include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostRequest.h include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostResult.h include/alibabacloud/domain/model/QueryAuctionsRequest.h @@ -51,22 +53,30 @@ set(domain_public_header_model include/alibabacloud/domain/model/QueryFailReasonForDomainRealNameVerificationResult.h include/alibabacloud/domain/model/QueryAdvancedDomainListRequest.h include/alibabacloud/domain/model/QueryAdvancedDomainListResult.h + include/alibabacloud/domain/model/RequestPayDemandRequest.h + include/alibabacloud/domain/model/RequestPayDemandResult.h include/alibabacloud/domain/model/QueryTransferOutInfoRequest.h include/alibabacloud/domain/model/QueryTransferOutInfoResult.h include/alibabacloud/domain/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.h include/alibabacloud/domain/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRedeemRequest.h include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRedeemResult.h + include/alibabacloud/domain/model/QueryBrokerDemandRequest.h + include/alibabacloud/domain/model/QueryBrokerDemandResult.h include/alibabacloud/domain/model/QueryTaskDetailListRequest.h include/alibabacloud/domain/model/QueryTaskDetailListResult.h include/alibabacloud/domain/model/SaveBatchDomainRemarkRequest.h include/alibabacloud/domain/model/SaveBatchDomainRemarkResult.h include/alibabacloud/domain/model/VerifyContactFieldRequest.h include/alibabacloud/domain/model/VerifyContactFieldResult.h + include/alibabacloud/domain/model/FinishDemandRequest.h + include/alibabacloud/domain/model/FinishDemandResult.h include/alibabacloud/domain/model/RegistrantProfileRealNameVerificationRequest.h include/alibabacloud/domain/model/RegistrantProfileRealNameVerificationResult.h include/alibabacloud/domain/model/QueryBidRecordsRequest.h include/alibabacloud/domain/model/QueryBidRecordsResult.h + include/alibabacloud/domain/model/RecordDemandRequest.h + include/alibabacloud/domain/model/RecordDemandResult.h include/alibabacloud/domain/model/SaveBatchTaskForCreatingOrderActivateRequest.h include/alibabacloud/domain/model/SaveBatchTaskForCreatingOrderActivateResult.h include/alibabacloud/domain/model/SaveSingleTaskForTransferProhibitionLockRequest.h @@ -145,6 +155,8 @@ set(domain_public_header_model include/alibabacloud/domain/model/QueryRegistrantProfileRealNameVerificationInfoResult.h include/alibabacloud/domain/model/QueryRegistrantProfilesRequest.h include/alibabacloud/domain/model/QueryRegistrantProfilesResult.h + include/alibabacloud/domain/model/FailDemandRequest.h + include/alibabacloud/domain/model/FailDemandResult.h include/alibabacloud/domain/model/SaveSingleTaskForCancelingTransferInRequest.h include/alibabacloud/domain/model/SaveSingleTaskForCancelingTransferInResult.h include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRenewRequest.h @@ -157,6 +169,8 @@ set(domain_public_header_model include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderActivateResult.h include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockRequest.h include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockResult.h + include/alibabacloud/domain/model/RefuseDemandRequest.h + include/alibabacloud/domain/model/RefuseDemandResult.h include/alibabacloud/domain/model/TransferInReenterTransferAuthorizationCodeRequest.h include/alibabacloud/domain/model/TransferInReenterTransferAuthorizationCodeResult.h include/alibabacloud/domain/model/EmailVerifiedRequest.h @@ -167,6 +181,8 @@ set(domain_public_header_model include/alibabacloud/domain/model/SaveSingleTaskForCreatingDnsHostResult.h include/alibabacloud/domain/model/DeleteRegistrantProfileRequest.h include/alibabacloud/domain/model/DeleteRegistrantProfileResult.h + include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h + include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h include/alibabacloud/domain/model/QueryTaskInfoHistoryRequest.h include/alibabacloud/domain/model/QueryTaskInfoHistoryResult.h include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderTransferRequest.h @@ -190,6 +206,8 @@ set(domain_src src/model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.cc src/model/QueryBookingDomainInfoRequest.cc src/model/QueryBookingDomainInfoResult.cc + src/model/AcceptDemandRequest.cc + src/model/AcceptDemandResult.cc src/model/SaveSingleTaskForSynchronizingDnsHostRequest.cc src/model/SaveSingleTaskForSynchronizingDnsHostResult.cc src/model/QueryAuctionsRequest.cc @@ -212,22 +230,30 @@ set(domain_src src/model/QueryFailReasonForDomainRealNameVerificationResult.cc src/model/QueryAdvancedDomainListRequest.cc src/model/QueryAdvancedDomainListResult.cc + src/model/RequestPayDemandRequest.cc + src/model/RequestPayDemandResult.cc src/model/QueryTransferOutInfoRequest.cc src/model/QueryTransferOutInfoResult.cc src/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.cc src/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.cc src/model/SaveSingleTaskForCreatingOrderRedeemRequest.cc src/model/SaveSingleTaskForCreatingOrderRedeemResult.cc + src/model/QueryBrokerDemandRequest.cc + src/model/QueryBrokerDemandResult.cc src/model/QueryTaskDetailListRequest.cc src/model/QueryTaskDetailListResult.cc src/model/SaveBatchDomainRemarkRequest.cc src/model/SaveBatchDomainRemarkResult.cc src/model/VerifyContactFieldRequest.cc src/model/VerifyContactFieldResult.cc + src/model/FinishDemandRequest.cc + src/model/FinishDemandResult.cc src/model/RegistrantProfileRealNameVerificationRequest.cc src/model/RegistrantProfileRealNameVerificationResult.cc src/model/QueryBidRecordsRequest.cc src/model/QueryBidRecordsResult.cc + src/model/RecordDemandRequest.cc + src/model/RecordDemandResult.cc src/model/SaveBatchTaskForCreatingOrderActivateRequest.cc src/model/SaveBatchTaskForCreatingOrderActivateResult.cc src/model/SaveSingleTaskForTransferProhibitionLockRequest.cc @@ -306,6 +332,8 @@ set(domain_src src/model/QueryRegistrantProfileRealNameVerificationInfoResult.cc src/model/QueryRegistrantProfilesRequest.cc src/model/QueryRegistrantProfilesResult.cc + src/model/FailDemandRequest.cc + src/model/FailDemandResult.cc src/model/SaveSingleTaskForCancelingTransferInRequest.cc src/model/SaveSingleTaskForCancelingTransferInResult.cc src/model/SaveSingleTaskForCreatingOrderRenewRequest.cc @@ -318,6 +346,8 @@ set(domain_src src/model/SaveSingleTaskForCreatingOrderActivateResult.cc src/model/SaveBatchTaskForTransferProhibitionLockRequest.cc src/model/SaveBatchTaskForTransferProhibitionLockResult.cc + src/model/RefuseDemandRequest.cc + src/model/RefuseDemandResult.cc src/model/TransferInReenterTransferAuthorizationCodeRequest.cc src/model/TransferInReenterTransferAuthorizationCodeResult.cc src/model/EmailVerifiedRequest.cc @@ -328,6 +358,8 @@ set(domain_src src/model/SaveSingleTaskForCreatingDnsHostResult.cc src/model/DeleteRegistrantProfileRequest.cc src/model/DeleteRegistrantProfileResult.cc + src/model/QueryBrokerDemandRecordRequest.cc + src/model/QueryBrokerDemandRecordResult.cc src/model/QueryTaskInfoHistoryRequest.cc src/model/QueryTaskInfoHistoryResult.cc src/model/SaveSingleTaskForCreatingOrderTransferRequest.cc diff --git a/domain/include/alibabacloud/domain/DomainClient.h b/domain/include/alibabacloud/domain/DomainClient.h index 74f20f678..7d2b31909 100644 --- a/domain/include/alibabacloud/domain/DomainClient.h +++ b/domain/include/alibabacloud/domain/DomainClient.h @@ -30,6 +30,8 @@ #include "model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.h" #include "model/QueryBookingDomainInfoRequest.h" #include "model/QueryBookingDomainInfoResult.h" +#include "model/AcceptDemandRequest.h" +#include "model/AcceptDemandResult.h" #include "model/SaveSingleTaskForSynchronizingDnsHostRequest.h" #include "model/SaveSingleTaskForSynchronizingDnsHostResult.h" #include "model/QueryAuctionsRequest.h" @@ -52,22 +54,30 @@ #include "model/QueryFailReasonForDomainRealNameVerificationResult.h" #include "model/QueryAdvancedDomainListRequest.h" #include "model/QueryAdvancedDomainListResult.h" +#include "model/RequestPayDemandRequest.h" +#include "model/RequestPayDemandResult.h" #include "model/QueryTransferOutInfoRequest.h" #include "model/QueryTransferOutInfoResult.h" #include "model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.h" #include "model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h" #include "model/SaveSingleTaskForCreatingOrderRedeemRequest.h" #include "model/SaveSingleTaskForCreatingOrderRedeemResult.h" +#include "model/QueryBrokerDemandRequest.h" +#include "model/QueryBrokerDemandResult.h" #include "model/QueryTaskDetailListRequest.h" #include "model/QueryTaskDetailListResult.h" #include "model/SaveBatchDomainRemarkRequest.h" #include "model/SaveBatchDomainRemarkResult.h" #include "model/VerifyContactFieldRequest.h" #include "model/VerifyContactFieldResult.h" +#include "model/FinishDemandRequest.h" +#include "model/FinishDemandResult.h" #include "model/RegistrantProfileRealNameVerificationRequest.h" #include "model/RegistrantProfileRealNameVerificationResult.h" #include "model/QueryBidRecordsRequest.h" #include "model/QueryBidRecordsResult.h" +#include "model/RecordDemandRequest.h" +#include "model/RecordDemandResult.h" #include "model/SaveBatchTaskForCreatingOrderActivateRequest.h" #include "model/SaveBatchTaskForCreatingOrderActivateResult.h" #include "model/SaveSingleTaskForTransferProhibitionLockRequest.h" @@ -146,6 +156,8 @@ #include "model/QueryRegistrantProfileRealNameVerificationInfoResult.h" #include "model/QueryRegistrantProfilesRequest.h" #include "model/QueryRegistrantProfilesResult.h" +#include "model/FailDemandRequest.h" +#include "model/FailDemandResult.h" #include "model/SaveSingleTaskForCancelingTransferInRequest.h" #include "model/SaveSingleTaskForCancelingTransferInResult.h" #include "model/SaveSingleTaskForCreatingOrderRenewRequest.h" @@ -158,6 +170,8 @@ #include "model/SaveSingleTaskForCreatingOrderActivateResult.h" #include "model/SaveBatchTaskForTransferProhibitionLockRequest.h" #include "model/SaveBatchTaskForTransferProhibitionLockResult.h" +#include "model/RefuseDemandRequest.h" +#include "model/RefuseDemandResult.h" #include "model/TransferInReenterTransferAuthorizationCodeRequest.h" #include "model/TransferInReenterTransferAuthorizationCodeResult.h" #include "model/EmailVerifiedRequest.h" @@ -168,6 +182,8 @@ #include "model/SaveSingleTaskForCreatingDnsHostResult.h" #include "model/DeleteRegistrantProfileRequest.h" #include "model/DeleteRegistrantProfileResult.h" +#include "model/QueryBrokerDemandRecordRequest.h" +#include "model/QueryBrokerDemandRecordResult.h" #include "model/QueryTaskInfoHistoryRequest.h" #include "model/QueryTaskInfoHistoryResult.h" #include "model/SaveSingleTaskForCreatingOrderTransferRequest.h" @@ -201,6 +217,9 @@ namespace AlibabaCloud typedef Outcome QueryBookingDomainInfoOutcome; typedef std::future QueryBookingDomainInfoOutcomeCallable; typedef std::function&)> QueryBookingDomainInfoAsyncHandler; + typedef Outcome AcceptDemandOutcome; + typedef std::future AcceptDemandOutcomeCallable; + typedef std::function&)> AcceptDemandAsyncHandler; typedef Outcome SaveSingleTaskForSynchronizingDnsHostOutcome; typedef std::future SaveSingleTaskForSynchronizingDnsHostOutcomeCallable; typedef std::function&)> SaveSingleTaskForSynchronizingDnsHostAsyncHandler; @@ -234,6 +253,9 @@ namespace AlibabaCloud typedef Outcome QueryAdvancedDomainListOutcome; typedef std::future QueryAdvancedDomainListOutcomeCallable; typedef std::function&)> QueryAdvancedDomainListAsyncHandler; + typedef Outcome RequestPayDemandOutcome; + typedef std::future RequestPayDemandOutcomeCallable; + typedef std::function&)> RequestPayDemandAsyncHandler; typedef Outcome QueryTransferOutInfoOutcome; typedef std::future QueryTransferOutInfoOutcomeCallable; typedef std::function&)> QueryTransferOutInfoAsyncHandler; @@ -243,6 +265,9 @@ namespace AlibabaCloud typedef Outcome SaveSingleTaskForCreatingOrderRedeemOutcome; typedef std::future SaveSingleTaskForCreatingOrderRedeemOutcomeCallable; typedef std::function&)> SaveSingleTaskForCreatingOrderRedeemAsyncHandler; + typedef Outcome QueryBrokerDemandOutcome; + typedef std::future QueryBrokerDemandOutcomeCallable; + typedef std::function&)> QueryBrokerDemandAsyncHandler; typedef Outcome QueryTaskDetailListOutcome; typedef std::future QueryTaskDetailListOutcomeCallable; typedef std::function&)> QueryTaskDetailListAsyncHandler; @@ -252,12 +277,18 @@ namespace AlibabaCloud typedef Outcome VerifyContactFieldOutcome; typedef std::future VerifyContactFieldOutcomeCallable; typedef std::function&)> VerifyContactFieldAsyncHandler; + typedef Outcome FinishDemandOutcome; + typedef std::future FinishDemandOutcomeCallable; + typedef std::function&)> FinishDemandAsyncHandler; typedef Outcome RegistrantProfileRealNameVerificationOutcome; typedef std::future RegistrantProfileRealNameVerificationOutcomeCallable; typedef std::function&)> RegistrantProfileRealNameVerificationAsyncHandler; typedef Outcome QueryBidRecordsOutcome; typedef std::future QueryBidRecordsOutcomeCallable; typedef std::function&)> QueryBidRecordsAsyncHandler; + typedef Outcome RecordDemandOutcome; + typedef std::future RecordDemandOutcomeCallable; + typedef std::function&)> RecordDemandAsyncHandler; typedef Outcome SaveBatchTaskForCreatingOrderActivateOutcome; typedef std::future SaveBatchTaskForCreatingOrderActivateOutcomeCallable; typedef std::function&)> SaveBatchTaskForCreatingOrderActivateAsyncHandler; @@ -375,6 +406,9 @@ namespace AlibabaCloud typedef Outcome QueryRegistrantProfilesOutcome; typedef std::future QueryRegistrantProfilesOutcomeCallable; typedef std::function&)> QueryRegistrantProfilesAsyncHandler; + typedef Outcome FailDemandOutcome; + typedef std::future FailDemandOutcomeCallable; + typedef std::function&)> FailDemandAsyncHandler; typedef Outcome SaveSingleTaskForCancelingTransferInOutcome; typedef std::future SaveSingleTaskForCancelingTransferInOutcomeCallable; typedef std::function&)> SaveSingleTaskForCancelingTransferInAsyncHandler; @@ -393,6 +427,9 @@ namespace AlibabaCloud typedef Outcome SaveBatchTaskForTransferProhibitionLockOutcome; typedef std::future SaveBatchTaskForTransferProhibitionLockOutcomeCallable; typedef std::function&)> SaveBatchTaskForTransferProhibitionLockAsyncHandler; + typedef Outcome RefuseDemandOutcome; + typedef std::future RefuseDemandOutcomeCallable; + typedef std::function&)> RefuseDemandAsyncHandler; typedef Outcome TransferInReenterTransferAuthorizationCodeOutcome; typedef std::future TransferInReenterTransferAuthorizationCodeOutcomeCallable; typedef std::function&)> TransferInReenterTransferAuthorizationCodeAsyncHandler; @@ -408,6 +445,9 @@ namespace AlibabaCloud typedef Outcome DeleteRegistrantProfileOutcome; typedef std::future DeleteRegistrantProfileOutcomeCallable; typedef std::function&)> DeleteRegistrantProfileAsyncHandler; + typedef Outcome QueryBrokerDemandRecordOutcome; + typedef std::future QueryBrokerDemandRecordOutcomeCallable; + typedef std::function&)> QueryBrokerDemandRecordAsyncHandler; typedef Outcome QueryTaskInfoHistoryOutcome; typedef std::future QueryTaskInfoHistoryOutcomeCallable; typedef std::function&)> QueryTaskInfoHistoryAsyncHandler; @@ -443,6 +483,9 @@ namespace AlibabaCloud QueryBookingDomainInfoOutcome queryBookingDomainInfo(const Model::QueryBookingDomainInfoRequest &request)const; void queryBookingDomainInfoAsync(const Model::QueryBookingDomainInfoRequest& request, const QueryBookingDomainInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryBookingDomainInfoOutcomeCallable queryBookingDomainInfoCallable(const Model::QueryBookingDomainInfoRequest& request) const; + AcceptDemandOutcome acceptDemand(const Model::AcceptDemandRequest &request)const; + void acceptDemandAsync(const Model::AcceptDemandRequest& request, const AcceptDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AcceptDemandOutcomeCallable acceptDemandCallable(const Model::AcceptDemandRequest& request) const; SaveSingleTaskForSynchronizingDnsHostOutcome saveSingleTaskForSynchronizingDnsHost(const Model::SaveSingleTaskForSynchronizingDnsHostRequest &request)const; void saveSingleTaskForSynchronizingDnsHostAsync(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request, const SaveSingleTaskForSynchronizingDnsHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveSingleTaskForSynchronizingDnsHostOutcomeCallable saveSingleTaskForSynchronizingDnsHostCallable(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request) const; @@ -476,6 +519,9 @@ namespace AlibabaCloud QueryAdvancedDomainListOutcome queryAdvancedDomainList(const Model::QueryAdvancedDomainListRequest &request)const; void queryAdvancedDomainListAsync(const Model::QueryAdvancedDomainListRequest& request, const QueryAdvancedDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryAdvancedDomainListOutcomeCallable queryAdvancedDomainListCallable(const Model::QueryAdvancedDomainListRequest& request) const; + RequestPayDemandOutcome requestPayDemand(const Model::RequestPayDemandRequest &request)const; + void requestPayDemandAsync(const Model::RequestPayDemandRequest& request, const RequestPayDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RequestPayDemandOutcomeCallable requestPayDemandCallable(const Model::RequestPayDemandRequest& request) const; QueryTransferOutInfoOutcome queryTransferOutInfo(const Model::QueryTransferOutInfoRequest &request)const; void queryTransferOutInfoAsync(const Model::QueryTransferOutInfoRequest& request, const QueryTransferOutInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryTransferOutInfoOutcomeCallable queryTransferOutInfoCallable(const Model::QueryTransferOutInfoRequest& request) const; @@ -485,6 +531,9 @@ namespace AlibabaCloud SaveSingleTaskForCreatingOrderRedeemOutcome saveSingleTaskForCreatingOrderRedeem(const Model::SaveSingleTaskForCreatingOrderRedeemRequest &request)const; void saveSingleTaskForCreatingOrderRedeemAsync(const Model::SaveSingleTaskForCreatingOrderRedeemRequest& request, const SaveSingleTaskForCreatingOrderRedeemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveSingleTaskForCreatingOrderRedeemOutcomeCallable saveSingleTaskForCreatingOrderRedeemCallable(const Model::SaveSingleTaskForCreatingOrderRedeemRequest& request) const; + QueryBrokerDemandOutcome queryBrokerDemand(const Model::QueryBrokerDemandRequest &request)const; + void queryBrokerDemandAsync(const Model::QueryBrokerDemandRequest& request, const QueryBrokerDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryBrokerDemandOutcomeCallable queryBrokerDemandCallable(const Model::QueryBrokerDemandRequest& request) const; QueryTaskDetailListOutcome queryTaskDetailList(const Model::QueryTaskDetailListRequest &request)const; void queryTaskDetailListAsync(const Model::QueryTaskDetailListRequest& request, const QueryTaskDetailListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryTaskDetailListOutcomeCallable queryTaskDetailListCallable(const Model::QueryTaskDetailListRequest& request) const; @@ -494,12 +543,18 @@ namespace AlibabaCloud VerifyContactFieldOutcome verifyContactField(const Model::VerifyContactFieldRequest &request)const; void verifyContactFieldAsync(const Model::VerifyContactFieldRequest& request, const VerifyContactFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VerifyContactFieldOutcomeCallable verifyContactFieldCallable(const Model::VerifyContactFieldRequest& request) const; + FinishDemandOutcome finishDemand(const Model::FinishDemandRequest &request)const; + void finishDemandAsync(const Model::FinishDemandRequest& request, const FinishDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FinishDemandOutcomeCallable finishDemandCallable(const Model::FinishDemandRequest& request) const; RegistrantProfileRealNameVerificationOutcome registrantProfileRealNameVerification(const Model::RegistrantProfileRealNameVerificationRequest &request)const; void registrantProfileRealNameVerificationAsync(const Model::RegistrantProfileRealNameVerificationRequest& request, const RegistrantProfileRealNameVerificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegistrantProfileRealNameVerificationOutcomeCallable registrantProfileRealNameVerificationCallable(const Model::RegistrantProfileRealNameVerificationRequest& request) const; QueryBidRecordsOutcome queryBidRecords(const Model::QueryBidRecordsRequest &request)const; void queryBidRecordsAsync(const Model::QueryBidRecordsRequest& request, const QueryBidRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryBidRecordsOutcomeCallable queryBidRecordsCallable(const Model::QueryBidRecordsRequest& request) const; + RecordDemandOutcome recordDemand(const Model::RecordDemandRequest &request)const; + void recordDemandAsync(const Model::RecordDemandRequest& request, const RecordDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RecordDemandOutcomeCallable recordDemandCallable(const Model::RecordDemandRequest& request) const; SaveBatchTaskForCreatingOrderActivateOutcome saveBatchTaskForCreatingOrderActivate(const Model::SaveBatchTaskForCreatingOrderActivateRequest &request)const; void saveBatchTaskForCreatingOrderActivateAsync(const Model::SaveBatchTaskForCreatingOrderActivateRequest& request, const SaveBatchTaskForCreatingOrderActivateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveBatchTaskForCreatingOrderActivateOutcomeCallable saveBatchTaskForCreatingOrderActivateCallable(const Model::SaveBatchTaskForCreatingOrderActivateRequest& request) const; @@ -617,6 +672,9 @@ namespace AlibabaCloud QueryRegistrantProfilesOutcome queryRegistrantProfiles(const Model::QueryRegistrantProfilesRequest &request)const; void queryRegistrantProfilesAsync(const Model::QueryRegistrantProfilesRequest& request, const QueryRegistrantProfilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryRegistrantProfilesOutcomeCallable queryRegistrantProfilesCallable(const Model::QueryRegistrantProfilesRequest& request) const; + FailDemandOutcome failDemand(const Model::FailDemandRequest &request)const; + void failDemandAsync(const Model::FailDemandRequest& request, const FailDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FailDemandOutcomeCallable failDemandCallable(const Model::FailDemandRequest& request) const; SaveSingleTaskForCancelingTransferInOutcome saveSingleTaskForCancelingTransferIn(const Model::SaveSingleTaskForCancelingTransferInRequest &request)const; void saveSingleTaskForCancelingTransferInAsync(const Model::SaveSingleTaskForCancelingTransferInRequest& request, const SaveSingleTaskForCancelingTransferInAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveSingleTaskForCancelingTransferInOutcomeCallable saveSingleTaskForCancelingTransferInCallable(const Model::SaveSingleTaskForCancelingTransferInRequest& request) const; @@ -635,6 +693,9 @@ namespace AlibabaCloud SaveBatchTaskForTransferProhibitionLockOutcome saveBatchTaskForTransferProhibitionLock(const Model::SaveBatchTaskForTransferProhibitionLockRequest &request)const; void saveBatchTaskForTransferProhibitionLockAsync(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request, const SaveBatchTaskForTransferProhibitionLockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveBatchTaskForTransferProhibitionLockOutcomeCallable saveBatchTaskForTransferProhibitionLockCallable(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request) const; + RefuseDemandOutcome refuseDemand(const Model::RefuseDemandRequest &request)const; + void refuseDemandAsync(const Model::RefuseDemandRequest& request, const RefuseDemandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefuseDemandOutcomeCallable refuseDemandCallable(const Model::RefuseDemandRequest& request) const; TransferInReenterTransferAuthorizationCodeOutcome transferInReenterTransferAuthorizationCode(const Model::TransferInReenterTransferAuthorizationCodeRequest &request)const; void transferInReenterTransferAuthorizationCodeAsync(const Model::TransferInReenterTransferAuthorizationCodeRequest& request, const TransferInReenterTransferAuthorizationCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TransferInReenterTransferAuthorizationCodeOutcomeCallable transferInReenterTransferAuthorizationCodeCallable(const Model::TransferInReenterTransferAuthorizationCodeRequest& request) const; @@ -650,6 +711,9 @@ namespace AlibabaCloud DeleteRegistrantProfileOutcome deleteRegistrantProfile(const Model::DeleteRegistrantProfileRequest &request)const; void deleteRegistrantProfileAsync(const Model::DeleteRegistrantProfileRequest& request, const DeleteRegistrantProfileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRegistrantProfileOutcomeCallable deleteRegistrantProfileCallable(const Model::DeleteRegistrantProfileRequest& request) const; + QueryBrokerDemandRecordOutcome queryBrokerDemandRecord(const Model::QueryBrokerDemandRecordRequest &request)const; + void queryBrokerDemandRecordAsync(const Model::QueryBrokerDemandRecordRequest& request, const QueryBrokerDemandRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryBrokerDemandRecordOutcomeCallable queryBrokerDemandRecordCallable(const Model::QueryBrokerDemandRecordRequest& request) const; QueryTaskInfoHistoryOutcome queryTaskInfoHistory(const Model::QueryTaskInfoHistoryRequest &request)const; void queryTaskInfoHistoryAsync(const Model::QueryTaskInfoHistoryRequest& request, const QueryTaskInfoHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryTaskInfoHistoryOutcomeCallable queryTaskInfoHistoryCallable(const Model::QueryTaskInfoHistoryRequest& request) const; diff --git a/domain/include/alibabacloud/domain/model/AcceptDemandRequest.h b/domain/include/alibabacloud/domain/model/AcceptDemandRequest.h new file mode 100644 index 000000000..89873a29a --- /dev/null +++ b/domain/include/alibabacloud/domain/model/AcceptDemandRequest.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_ACCEPTDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT AcceptDemandRequest : public RpcServiceRequest + { + + public: + AcceptDemandRequest(); + ~AcceptDemandRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string bizId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/AcceptDemandResult.h b/domain/include/alibabacloud/domain/model/AcceptDemandResult.h new file mode 100644 index 000000000..4abf20312 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/AcceptDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_ACCEPTDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT AcceptDemandResult : public ServiceResult + { + public: + + + AcceptDemandResult(); + explicit AcceptDemandResult(const std::string &payload); + ~AcceptDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/FailDemandRequest.h b/domain/include/alibabacloud/domain/model/FailDemandRequest.h new file mode 100644 index 000000000..47d1a4c73 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/FailDemandRequest.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_FAILDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT FailDemandRequest : public RpcServiceRequest + { + + public: + FailDemandRequest(); + ~FailDemandRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string bizId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/FailDemandResult.h b/domain/include/alibabacloud/domain/model/FailDemandResult.h new file mode 100644 index 000000000..cd02ae4d0 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/FailDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_FAILDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT FailDemandResult : public ServiceResult + { + public: + + + FailDemandResult(); + explicit FailDemandResult(const std::string &payload); + ~FailDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/FinishDemandRequest.h b/domain/include/alibabacloud/domain/model/FinishDemandRequest.h new file mode 100644 index 000000000..5a487847b --- /dev/null +++ b/domain/include/alibabacloud/domain/model/FinishDemandRequest.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_FINISHDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT FinishDemandRequest : public RpcServiceRequest + { + + public: + FinishDemandRequest(); + ~FinishDemandRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string bizId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/FinishDemandResult.h b/domain/include/alibabacloud/domain/model/FinishDemandResult.h new file mode 100644 index 000000000..77cc1fe0b --- /dev/null +++ b/domain/include/alibabacloud/domain/model/FinishDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_FINISHDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT FinishDemandResult : public ServiceResult + { + public: + + + FinishDemandResult(); + explicit FinishDemandResult(const std::string &payload); + ~FinishDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h new file mode 100644 index 000000000..213ee9a54 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUERYBROKERDEMANDRECORDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRecordRequest : public RpcServiceRequest + { + + public: + QueryBrokerDemandRecordRequest(); + ~QueryBrokerDemandRecordRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBizId()const; + void setBizId(const std::string& bizId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + + private: + int pageSize_; + std::string bizId_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h new file mode 100644 index 000000000..76853e2f8 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUERYBROKERDEMANDRECORDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRecordResult : public ServiceResult + { + public: + struct BrokerDemandRecord + { + std::string description; + long createTime; + std::string bizId; + }; + + + QueryBrokerDemandRecordResult(); + explicit QueryBrokerDemandRecordResult(const std::string &payload); + ~QueryBrokerDemandRecordResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/QueryBrokerDemandRequest.h b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRequest.h new file mode 100644 index 000000000..dc2046165 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/QueryBrokerDemandRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUERYBROKERDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRequest : public RpcServiceRequest + { + + public: + QueryBrokerDemandRequest(); + ~QueryBrokerDemandRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBizId()const; + void setBizId(const std::string& bizId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + int pageSize_; + std::string bizId_; + int currentPage_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/QueryBrokerDemandResult.h b/domain/include/alibabacloud/domain/model/QueryBrokerDemandResult.h new file mode 100644 index 000000000..b68ec3e66 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/QueryBrokerDemandResult.h @@ -0,0 +1,73 @@ +/* + * 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_QUERYBROKERDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandResult : public ServiceResult + { + public: + struct Demand + { + std::string status; + float payPrice; + float demandPrice; + std::string description; + std::string payDomain; + int produceType; + std::string demandDomain; + long publishTime; + long payTime; + std::string bizId; + std::string mobile; + }; + + + QueryBrokerDemandResult(); + explicit QueryBrokerDemandResult(const std::string &payload); + ~QueryBrokerDemandResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RecordDemandRequest.h b/domain/include/alibabacloud/domain/model/RecordDemandRequest.h new file mode 100644 index 000000000..bff1763a1 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RecordDemandRequest.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_RECORDDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RecordDemandRequest : public RpcServiceRequest + { + + public: + RecordDemandRequest(); + ~RecordDemandRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string bizId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RecordDemandResult.h b/domain/include/alibabacloud/domain/model/RecordDemandResult.h new file mode 100644 index 000000000..546a29f84 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RecordDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_RECORDDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RecordDemandResult : public ServiceResult + { + public: + + + RecordDemandResult(); + explicit RecordDemandResult(const std::string &payload); + ~RecordDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RefuseDemandRequest.h b/domain/include/alibabacloud/domain/model/RefuseDemandRequest.h new file mode 100644 index 000000000..186463923 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RefuseDemandRequest.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_REFUSEDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RefuseDemandRequest : public RpcServiceRequest + { + + public: + RefuseDemandRequest(); + ~RefuseDemandRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string bizId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RefuseDemandResult.h b/domain/include/alibabacloud/domain/model/RefuseDemandResult.h new file mode 100644 index 000000000..4ee988a8c --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RefuseDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_REFUSEDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RefuseDemandResult : public ServiceResult + { + public: + + + RefuseDemandResult(); + explicit RefuseDemandResult(const std::string &payload); + ~RefuseDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RequestPayDemandRequest.h b/domain/include/alibabacloud/domain/model/RequestPayDemandRequest.h new file mode 100644 index 000000000..367fb5959 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RequestPayDemandRequest.h @@ -0,0 +1,60 @@ +/* + * 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_REQUESTPAYDEMANDREQUEST_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RequestPayDemandRequest : public RpcServiceRequest + { + + public: + RequestPayDemandRequest(); + ~RequestPayDemandRequest(); + + float getPrice()const; + void setPrice(float price); + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + int getProduceType()const; + void setProduceType(int produceType); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + float price_; + std::string bizId_; + std::string domainName_; + int produceType_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDREQUEST_H_ \ No newline at end of file diff --git a/domain/include/alibabacloud/domain/model/RequestPayDemandResult.h b/domain/include/alibabacloud/domain/model/RequestPayDemandResult.h new file mode 100644 index 000000000..a318f1fc2 --- /dev/null +++ b/domain/include/alibabacloud/domain/model/RequestPayDemandResult.h @@ -0,0 +1,49 @@ +/* + * 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_REQUESTPAYDEMANDRESULT_H_ +#define ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Domain + { + namespace Model + { + class ALIBABACLOUD_DOMAIN_EXPORT RequestPayDemandResult : public ServiceResult + { + public: + + + RequestPayDemandResult(); + explicit RequestPayDemandResult(const std::string &payload); + ~RequestPayDemandResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDRESULT_H_ \ No newline at end of file diff --git a/domain/src/DomainClient.cc b/domain/src/DomainClient.cc index d9810af44..50b994e54 100644 --- a/domain/src/DomainClient.cc +++ b/domain/src/DomainClient.cc @@ -195,6 +195,42 @@ DomainClient::QueryBookingDomainInfoOutcomeCallable DomainClient::queryBookingDo return task->get_future(); } +DomainClient::AcceptDemandOutcome DomainClient::acceptDemand(const AcceptDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AcceptDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AcceptDemandOutcome(AcceptDemandResult(outcome.result())); + else + return AcceptDemandOutcome(outcome.error()); +} + +void DomainClient::acceptDemandAsync(const AcceptDemandRequest& request, const AcceptDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, acceptDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::AcceptDemandOutcomeCallable DomainClient::acceptDemandCallable(const AcceptDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->acceptDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::SaveSingleTaskForSynchronizingDnsHostOutcome DomainClient::saveSingleTaskForSynchronizingDnsHost(const SaveSingleTaskForSynchronizingDnsHostRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,6 +627,42 @@ DomainClient::QueryAdvancedDomainListOutcomeCallable DomainClient::queryAdvanced return task->get_future(); } +DomainClient::RequestPayDemandOutcome DomainClient::requestPayDemand(const RequestPayDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RequestPayDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RequestPayDemandOutcome(RequestPayDemandResult(outcome.result())); + else + return RequestPayDemandOutcome(outcome.error()); +} + +void DomainClient::requestPayDemandAsync(const RequestPayDemandRequest& request, const RequestPayDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, requestPayDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::RequestPayDemandOutcomeCallable DomainClient::requestPayDemandCallable(const RequestPayDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->requestPayDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::QueryTransferOutInfoOutcome DomainClient::queryTransferOutInfo(const QueryTransferOutInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +771,42 @@ DomainClient::SaveSingleTaskForCreatingOrderRedeemOutcomeCallable DomainClient:: return task->get_future(); } +DomainClient::QueryBrokerDemandOutcome DomainClient::queryBrokerDemand(const QueryBrokerDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryBrokerDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryBrokerDemandOutcome(QueryBrokerDemandResult(outcome.result())); + else + return QueryBrokerDemandOutcome(outcome.error()); +} + +void DomainClient::queryBrokerDemandAsync(const QueryBrokerDemandRequest& request, const QueryBrokerDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryBrokerDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::QueryBrokerDemandOutcomeCallable DomainClient::queryBrokerDemandCallable(const QueryBrokerDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryBrokerDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::QueryTaskDetailListOutcome DomainClient::queryTaskDetailList(const QueryTaskDetailListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -807,6 +915,42 @@ DomainClient::VerifyContactFieldOutcomeCallable DomainClient::verifyContactField return task->get_future(); } +DomainClient::FinishDemandOutcome DomainClient::finishDemand(const FinishDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FinishDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FinishDemandOutcome(FinishDemandResult(outcome.result())); + else + return FinishDemandOutcome(outcome.error()); +} + +void DomainClient::finishDemandAsync(const FinishDemandRequest& request, const FinishDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, finishDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::FinishDemandOutcomeCallable DomainClient::finishDemandCallable(const FinishDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->finishDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::RegistrantProfileRealNameVerificationOutcome DomainClient::registrantProfileRealNameVerification(const RegistrantProfileRealNameVerificationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,6 +1023,42 @@ DomainClient::QueryBidRecordsOutcomeCallable DomainClient::queryBidRecordsCallab return task->get_future(); } +DomainClient::RecordDemandOutcome DomainClient::recordDemand(const RecordDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RecordDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RecordDemandOutcome(RecordDemandResult(outcome.result())); + else + return RecordDemandOutcome(outcome.error()); +} + +void DomainClient::recordDemandAsync(const RecordDemandRequest& request, const RecordDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, recordDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::RecordDemandOutcomeCallable DomainClient::recordDemandCallable(const RecordDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->recordDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::SaveBatchTaskForCreatingOrderActivateOutcome DomainClient::saveBatchTaskForCreatingOrderActivate(const SaveBatchTaskForCreatingOrderActivateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2283,6 +2463,42 @@ DomainClient::QueryRegistrantProfilesOutcomeCallable DomainClient::queryRegistra return task->get_future(); } +DomainClient::FailDemandOutcome DomainClient::failDemand(const FailDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FailDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FailDemandOutcome(FailDemandResult(outcome.result())); + else + return FailDemandOutcome(outcome.error()); +} + +void DomainClient::failDemandAsync(const FailDemandRequest& request, const FailDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, failDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::FailDemandOutcomeCallable DomainClient::failDemandCallable(const FailDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->failDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::SaveSingleTaskForCancelingTransferInOutcome DomainClient::saveSingleTaskForCancelingTransferIn(const SaveSingleTaskForCancelingTransferInRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2499,6 +2715,42 @@ DomainClient::SaveBatchTaskForTransferProhibitionLockOutcomeCallable DomainClien return task->get_future(); } +DomainClient::RefuseDemandOutcome DomainClient::refuseDemand(const RefuseDemandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefuseDemandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefuseDemandOutcome(RefuseDemandResult(outcome.result())); + else + return RefuseDemandOutcome(outcome.error()); +} + +void DomainClient::refuseDemandAsync(const RefuseDemandRequest& request, const RefuseDemandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refuseDemand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::RefuseDemandOutcomeCallable DomainClient::refuseDemandCallable(const RefuseDemandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refuseDemand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::TransferInReenterTransferAuthorizationCodeOutcome DomainClient::transferInReenterTransferAuthorizationCode(const TransferInReenterTransferAuthorizationCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2679,6 +2931,42 @@ DomainClient::DeleteRegistrantProfileOutcomeCallable DomainClient::deleteRegistr return task->get_future(); } +DomainClient::QueryBrokerDemandRecordOutcome DomainClient::queryBrokerDemandRecord(const QueryBrokerDemandRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryBrokerDemandRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryBrokerDemandRecordOutcome(QueryBrokerDemandRecordResult(outcome.result())); + else + return QueryBrokerDemandRecordOutcome(outcome.error()); +} + +void DomainClient::queryBrokerDemandRecordAsync(const QueryBrokerDemandRecordRequest& request, const QueryBrokerDemandRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryBrokerDemandRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DomainClient::QueryBrokerDemandRecordOutcomeCallable DomainClient::queryBrokerDemandRecordCallable(const QueryBrokerDemandRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryBrokerDemandRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DomainClient::QueryTaskInfoHistoryOutcome DomainClient::queryTaskInfoHistory(const QueryTaskInfoHistoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/domain/src/model/AcceptDemandRequest.cc b/domain/src/model/AcceptDemandRequest.cc new file mode 100644 index 000000000..8b28c137c --- /dev/null +++ b/domain/src/model/AcceptDemandRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::AcceptDemandRequest; + +AcceptDemandRequest::AcceptDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "AcceptDemand") +{} + +AcceptDemandRequest::~AcceptDemandRequest() +{} + +std::string AcceptDemandRequest::getBizId()const +{ + return bizId_; +} + +void AcceptDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string AcceptDemandRequest::getMessage()const +{ + return message_; +} + +void AcceptDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/AcceptDemandResult.cc b/domain/src/model/AcceptDemandResult.cc new file mode 100644 index 000000000..7ab30a907 --- /dev/null +++ b/domain/src/model/AcceptDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +AcceptDemandResult::AcceptDemandResult() : + ServiceResult() +{} + +AcceptDemandResult::AcceptDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AcceptDemandResult::~AcceptDemandResult() +{} + +void AcceptDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/domain/src/model/FailDemandRequest.cc b/domain/src/model/FailDemandRequest.cc new file mode 100644 index 000000000..a0aa6297e --- /dev/null +++ b/domain/src/model/FailDemandRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::FailDemandRequest; + +FailDemandRequest::FailDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "FailDemand") +{} + +FailDemandRequest::~FailDemandRequest() +{} + +std::string FailDemandRequest::getBizId()const +{ + return bizId_; +} + +void FailDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string FailDemandRequest::getMessage()const +{ + return message_; +} + +void FailDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/FailDemandResult.cc b/domain/src/model/FailDemandResult.cc new file mode 100644 index 000000000..596ae909e --- /dev/null +++ b/domain/src/model/FailDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +FailDemandResult::FailDemandResult() : + ServiceResult() +{} + +FailDemandResult::FailDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FailDemandResult::~FailDemandResult() +{} + +void FailDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/domain/src/model/FinishDemandRequest.cc b/domain/src/model/FinishDemandRequest.cc new file mode 100644 index 000000000..5e197f137 --- /dev/null +++ b/domain/src/model/FinishDemandRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::FinishDemandRequest; + +FinishDemandRequest::FinishDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "FinishDemand") +{} + +FinishDemandRequest::~FinishDemandRequest() +{} + +std::string FinishDemandRequest::getBizId()const +{ + return bizId_; +} + +void FinishDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string FinishDemandRequest::getMessage()const +{ + return message_; +} + +void FinishDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/FinishDemandResult.cc b/domain/src/model/FinishDemandResult.cc new file mode 100644 index 000000000..e5311c40c --- /dev/null +++ b/domain/src/model/FinishDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +FinishDemandResult::FinishDemandResult() : + ServiceResult() +{} + +FinishDemandResult::FinishDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FinishDemandResult::~FinishDemandResult() +{} + +void FinishDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/domain/src/model/QueryBrokerDemandRecordRequest.cc b/domain/src/model/QueryBrokerDemandRecordRequest.cc new file mode 100644 index 000000000..4cd459c76 --- /dev/null +++ b/domain/src/model/QueryBrokerDemandRecordRequest.cc @@ -0,0 +1,60 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::QueryBrokerDemandRecordRequest; + +QueryBrokerDemandRecordRequest::QueryBrokerDemandRecordRequest() : + RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemandRecord") +{} + +QueryBrokerDemandRecordRequest::~QueryBrokerDemandRecordRequest() +{} + +int QueryBrokerDemandRecordRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryBrokerDemandRecordRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryBrokerDemandRecordRequest::getBizId()const +{ + return bizId_; +} + +void QueryBrokerDemandRecordRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +int QueryBrokerDemandRecordRequest::getCurrentPage()const +{ + return currentPage_; +} + +void QueryBrokerDemandRecordRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/domain/src/model/QueryBrokerDemandRecordResult.cc b/domain/src/model/QueryBrokerDemandRecordResult.cc new file mode 100644 index 000000000..2384edf4a --- /dev/null +++ b/domain/src/model/QueryBrokerDemandRecordResult.cc @@ -0,0 +1,90 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult() : + ServiceResult() +{} + +QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryBrokerDemandRecordResult::~QueryBrokerDemandRecordResult() +{} + +void QueryBrokerDemandRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["BrokerDemandRecord"]; + for (auto value : allData) + { + BrokerDemandRecord dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["Description"].isNull()) + dataObject.description = value["Description"].asString(); + if(!value["CreateTime"].isNull()) + dataObject.createTime = std::stol(value["CreateTime"].asString()); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryBrokerDemandRecordResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryBrokerDemandRecordResult::getPageSize()const +{ + return pageSize_; +} + +int QueryBrokerDemandRecordResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryBrokerDemandRecordResult::getData()const +{ + return data_; +} + +int QueryBrokerDemandRecordResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/domain/src/model/QueryBrokerDemandRequest.cc b/domain/src/model/QueryBrokerDemandRequest.cc new file mode 100644 index 000000000..21b84dc6c --- /dev/null +++ b/domain/src/model/QueryBrokerDemandRequest.cc @@ -0,0 +1,71 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::QueryBrokerDemandRequest; + +QueryBrokerDemandRequest::QueryBrokerDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemand") +{} + +QueryBrokerDemandRequest::~QueryBrokerDemandRequest() +{} + +int QueryBrokerDemandRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryBrokerDemandRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryBrokerDemandRequest::getBizId()const +{ + return bizId_; +} + +void QueryBrokerDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +int QueryBrokerDemandRequest::getCurrentPage()const +{ + return currentPage_; +} + +void QueryBrokerDemandRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string QueryBrokerDemandRequest::getStatus()const +{ + return status_; +} + +void QueryBrokerDemandRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/domain/src/model/QueryBrokerDemandResult.cc b/domain/src/model/QueryBrokerDemandResult.cc new file mode 100644 index 000000000..229800644 --- /dev/null +++ b/domain/src/model/QueryBrokerDemandResult.cc @@ -0,0 +1,106 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +QueryBrokerDemandResult::QueryBrokerDemandResult() : + ServiceResult() +{} + +QueryBrokerDemandResult::QueryBrokerDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryBrokerDemandResult::~QueryBrokerDemandResult() +{} + +void QueryBrokerDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Demand"]; + for (auto value : allData) + { + Demand dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["Status"].isNull()) + dataObject.status = value["Status"].asString(); + if(!value["DemandDomain"].isNull()) + dataObject.demandDomain = value["DemandDomain"].asString(); + if(!value["DemandPrice"].isNull()) + dataObject.demandPrice = std::stof(value["DemandPrice"].asString()); + if(!value["Mobile"].isNull()) + dataObject.mobile = value["Mobile"].asString(); + if(!value["Description"].isNull()) + dataObject.description = value["Description"].asString(); + if(!value["PublishTime"].isNull()) + dataObject.publishTime = std::stol(value["PublishTime"].asString()); + if(!value["PayDomain"].isNull()) + dataObject.payDomain = value["PayDomain"].asString(); + if(!value["PayPrice"].isNull()) + dataObject.payPrice = std::stof(value["PayPrice"].asString()); + if(!value["PayTime"].isNull()) + dataObject.payTime = std::stol(value["PayTime"].asString()); + if(!value["ProduceType"].isNull()) + dataObject.produceType = std::stoi(value["ProduceType"].asString()); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryBrokerDemandResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryBrokerDemandResult::getPageSize()const +{ + return pageSize_; +} + +int QueryBrokerDemandResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryBrokerDemandResult::getData()const +{ + return data_; +} + +int QueryBrokerDemandResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/domain/src/model/RecordDemandRequest.cc b/domain/src/model/RecordDemandRequest.cc new file mode 100644 index 000000000..5bed242e2 --- /dev/null +++ b/domain/src/model/RecordDemandRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::RecordDemandRequest; + +RecordDemandRequest::RecordDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "RecordDemand") +{} + +RecordDemandRequest::~RecordDemandRequest() +{} + +std::string RecordDemandRequest::getBizId()const +{ + return bizId_; +} + +void RecordDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string RecordDemandRequest::getMessage()const +{ + return message_; +} + +void RecordDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/RecordDemandResult.cc b/domain/src/model/RecordDemandResult.cc new file mode 100644 index 000000000..cbe8ef0ff --- /dev/null +++ b/domain/src/model/RecordDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +RecordDemandResult::RecordDemandResult() : + ServiceResult() +{} + +RecordDemandResult::RecordDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RecordDemandResult::~RecordDemandResult() +{} + +void RecordDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/domain/src/model/RefuseDemandRequest.cc b/domain/src/model/RefuseDemandRequest.cc new file mode 100644 index 000000000..8ad6f81c6 --- /dev/null +++ b/domain/src/model/RefuseDemandRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::RefuseDemandRequest; + +RefuseDemandRequest::RefuseDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "RefuseDemand") +{} + +RefuseDemandRequest::~RefuseDemandRequest() +{} + +std::string RefuseDemandRequest::getBizId()const +{ + return bizId_; +} + +void RefuseDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string RefuseDemandRequest::getMessage()const +{ + return message_; +} + +void RefuseDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/RefuseDemandResult.cc b/domain/src/model/RefuseDemandResult.cc new file mode 100644 index 000000000..4c573b90b --- /dev/null +++ b/domain/src/model/RefuseDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +RefuseDemandResult::RefuseDemandResult() : + ServiceResult() +{} + +RefuseDemandResult::RefuseDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefuseDemandResult::~RefuseDemandResult() +{} + +void RefuseDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/domain/src/model/RequestPayDemandRequest.cc b/domain/src/model/RequestPayDemandRequest.cc new file mode 100644 index 000000000..6a88809f7 --- /dev/null +++ b/domain/src/model/RequestPayDemandRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Domain::Model::RequestPayDemandRequest; + +RequestPayDemandRequest::RequestPayDemandRequest() : + RpcServiceRequest("domain", "2018-02-08", "RequestPayDemand") +{} + +RequestPayDemandRequest::~RequestPayDemandRequest() +{} + +float RequestPayDemandRequest::getPrice()const +{ + return price_; +} + +void RequestPayDemandRequest::setPrice(float price) +{ + price_ = price; + setParameter("Price", std::to_string(price)); +} + +std::string RequestPayDemandRequest::getBizId()const +{ + return bizId_; +} + +void RequestPayDemandRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setParameter("BizId", bizId); +} + +std::string RequestPayDemandRequest::getDomainName()const +{ + return domainName_; +} + +void RequestPayDemandRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +int RequestPayDemandRequest::getProduceType()const +{ + return produceType_; +} + +void RequestPayDemandRequest::setProduceType(int produceType) +{ + produceType_ = produceType; + setParameter("ProduceType", std::to_string(produceType)); +} + +std::string RequestPayDemandRequest::getMessage()const +{ + return message_; +} + +void RequestPayDemandRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/domain/src/model/RequestPayDemandResult.cc b/domain/src/model/RequestPayDemandResult.cc new file mode 100644 index 000000000..97fbcb74c --- /dev/null +++ b/domain/src/model/RequestPayDemandResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Domain; +using namespace AlibabaCloud::Domain::Model; + +RequestPayDemandResult::RequestPayDemandResult() : + ServiceResult() +{} + +RequestPayDemandResult::RequestPayDemandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RequestPayDemandResult::~RequestPayDemandResult() +{} + +void RequestPayDemandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +