From c3c2eedf5cb6ab37d990be08a9d71b634aa42f5b Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 24 Feb 2023 09:21:42 +0000 Subject: [PATCH] Add Dtmf Config for BindAxb. --- VERSION | 2 +- dyplsapi/CMakeLists.txt | 40 +-- .../alibabacloud/dyplsapi/DyplsapiClient.h | 80 +---- .../dyplsapi/model/BindAxbRequest.h | 3 + .../dyplsapi/model/ConfirmSendSmsRequest.h | 63 ---- .../dyplsapi/model/ConfirmSendSmsResult.h | 55 ---- .../CreatePickUpWaybillPreQueryRequest.h | 84 +++++ .../model/CreatePickUpWaybillPreQueryResult.h | 89 +++++ .../model/CreatePickUpWaybillRequest.h | 9 + .../model/CreatePickUpWaybillResult.h | 1 + .../model/CreateSubscriptionRequest.h | 66 ---- .../dyplsapi/model/CreateSubscriptionResult.h | 59 ---- .../dyplsapi/model/GetFaceVerifyRequest.h | 57 ---- .../dyplsapi/model/GetFaceVerifyResult.h | 59 ---- .../model/GetSubscriptionDetailRequest.h | 63 ---- .../model/GetSubscriptionDetailResult.h | 65 ---- .../dyplsapi/model/InitFaceVerifyRequest.h | 57 ---- .../dyplsapi/model/InitFaceVerifyResult.h | 59 ---- .../dyplsapi/model/QueryCallStatusRequest.h | 60 ---- .../dyplsapi/model/QueryCallStatusResult.h | 61 ---- .../dyplsapi/model/UpdateDefaultBRequest.h | 66 ---- .../dyplsapi/model/UpdateDefaultBResult.h | 55 ---- .../dyplsapi/model/UpdatePhoneNumberRequest.h | 69 ---- .../dyplsapi/model/UpdatePhoneNumberResult.h | 55 ---- .../dyplsapi/model/UpdatePhoneSwitchRequest.h | 66 ---- .../dyplsapi/model/UpdatePhoneSwitchResult.h | 55 ---- dyplsapi/src/DyplsapiClient.cc | 306 +----------------- dyplsapi/src/model/BindAxbRequest.cc | 9 + dyplsapi/src/model/ConfirmSendSmsRequest.cc | 99 ------ dyplsapi/src/model/ConfirmSendSmsResult.cc | 65 ---- .../CreatePickUpWaybillPreQueryRequest.cc | 102 ++++++ .../CreatePickUpWaybillPreQueryResult.cc | 113 +++++++ .../src/model/CreatePickUpWaybillRequest.cc | 27 ++ .../src/model/CreatePickUpWaybillResult.cc | 2 + .../src/model/CreateSubscriptionRequest.cc | 108 ------- .../src/model/CreateSubscriptionResult.cc | 66 ---- dyplsapi/src/model/GetFaceVerifyRequest.cc | 81 ----- dyplsapi/src/model/GetFaceVerifyResult.cc | 66 ---- .../src/model/GetSubscriptionDetailRequest.cc | 99 ------ .../src/model/GetSubscriptionDetailResult.cc | 78 ----- dyplsapi/src/model/InitFaceVerifyRequest.cc | 81 ----- dyplsapi/src/model/InitFaceVerifyResult.cc | 66 ---- dyplsapi/src/model/QueryCallStatusRequest.cc | 90 ------ dyplsapi/src/model/QueryCallStatusResult.cc | 70 ---- dyplsapi/src/model/UpdateDefaultBRequest.cc | 108 ------- dyplsapi/src/model/UpdateDefaultBResult.cc | 65 ---- .../src/model/UpdatePhoneNumberRequest.cc | 117 ------- dyplsapi/src/model/UpdatePhoneNumberResult.cc | 65 ---- .../src/model/UpdatePhoneSwitchRequest.cc | 108 ------- dyplsapi/src/model/UpdatePhoneSwitchResult.cc | 65 ---- 50 files changed, 461 insertions(+), 2993 deletions(-) delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsResult.h create mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryRequest.h create mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberResult.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h delete mode 100644 dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchResult.h delete mode 100644 dyplsapi/src/model/ConfirmSendSmsRequest.cc delete mode 100644 dyplsapi/src/model/ConfirmSendSmsResult.cc create mode 100644 dyplsapi/src/model/CreatePickUpWaybillPreQueryRequest.cc create mode 100644 dyplsapi/src/model/CreatePickUpWaybillPreQueryResult.cc delete mode 100644 dyplsapi/src/model/CreateSubscriptionRequest.cc delete mode 100644 dyplsapi/src/model/CreateSubscriptionResult.cc delete mode 100644 dyplsapi/src/model/GetFaceVerifyRequest.cc delete mode 100644 dyplsapi/src/model/GetFaceVerifyResult.cc delete mode 100644 dyplsapi/src/model/GetSubscriptionDetailRequest.cc delete mode 100644 dyplsapi/src/model/GetSubscriptionDetailResult.cc delete mode 100644 dyplsapi/src/model/InitFaceVerifyRequest.cc delete mode 100644 dyplsapi/src/model/InitFaceVerifyResult.cc delete mode 100644 dyplsapi/src/model/QueryCallStatusRequest.cc delete mode 100644 dyplsapi/src/model/QueryCallStatusResult.cc delete mode 100644 dyplsapi/src/model/UpdateDefaultBRequest.cc delete mode 100644 dyplsapi/src/model/UpdateDefaultBResult.cc delete mode 100644 dyplsapi/src/model/UpdatePhoneNumberRequest.cc delete mode 100644 dyplsapi/src/model/UpdatePhoneNumberResult.cc delete mode 100644 dyplsapi/src/model/UpdatePhoneSwitchRequest.cc delete mode 100644 dyplsapi/src/model/UpdatePhoneSwitchResult.cc diff --git a/VERSION b/VERSION index bf08dc262..cd466aa3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1465 \ No newline at end of file +1.36.1466 \ No newline at end of file diff --git a/dyplsapi/CMakeLists.txt b/dyplsapi/CMakeLists.txt index af1860ce2..4cbd2cc8a 100644 --- a/dyplsapi/CMakeLists.txt +++ b/dyplsapi/CMakeLists.txt @@ -37,34 +37,24 @@ set(dyplsapi_public_header_model include/alibabacloud/dyplsapi/model/BuySecretNoResult.h include/alibabacloud/dyplsapi/model/CancelPickUpWaybillRequest.h include/alibabacloud/dyplsapi/model/CancelPickUpWaybillResult.h - include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h - include/alibabacloud/dyplsapi/model/ConfirmSendSmsResult.h include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h include/alibabacloud/dyplsapi/model/CreateAxgGroupResult.h include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h include/alibabacloud/dyplsapi/model/CreatePickUpWaybillResult.h - include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h - include/alibabacloud/dyplsapi/model/CreateSubscriptionResult.h + include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryRequest.h + include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryResult.h include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistResult.h - include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h - include/alibabacloud/dyplsapi/model/GetFaceVerifyResult.h include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h include/alibabacloud/dyplsapi/model/GetSecretAsrDetailResult.h - include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h - include/alibabacloud/dyplsapi/model/GetSubscriptionDetailResult.h include/alibabacloud/dyplsapi/model/GetTotalPublicUrlRequest.h include/alibabacloud/dyplsapi/model/GetTotalPublicUrlResult.h - include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h - include/alibabacloud/dyplsapi/model/InitFaceVerifyResult.h include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h include/alibabacloud/dyplsapi/model/LockSecretNoResult.h include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h include/alibabacloud/dyplsapi/model/OperateAxgGroupResult.h include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h include/alibabacloud/dyplsapi/model/OperateBlackNoResult.h - include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h - include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoResult.h include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h @@ -83,12 +73,6 @@ set(dyplsapi_public_header_model include/alibabacloud/dyplsapi/model/UnbindSubscriptionResult.h include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h include/alibabacloud/dyplsapi/model/UnlockSecretNoResult.h - include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h - include/alibabacloud/dyplsapi/model/UpdateDefaultBResult.h - include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h - include/alibabacloud/dyplsapi/model/UpdatePhoneNumberResult.h - include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h - include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchResult.h include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h include/alibabacloud/dyplsapi/model/UpdateSubscriptionResult.h ) @@ -110,34 +94,24 @@ set(dyplsapi_src src/model/BuySecretNoResult.cc src/model/CancelPickUpWaybillRequest.cc src/model/CancelPickUpWaybillResult.cc - src/model/ConfirmSendSmsRequest.cc - src/model/ConfirmSendSmsResult.cc src/model/CreateAxgGroupRequest.cc src/model/CreateAxgGroupResult.cc src/model/CreatePickUpWaybillRequest.cc src/model/CreatePickUpWaybillResult.cc - src/model/CreateSubscriptionRequest.cc - src/model/CreateSubscriptionResult.cc + src/model/CreatePickUpWaybillPreQueryRequest.cc + src/model/CreatePickUpWaybillPreQueryResult.cc src/model/DeleteSecretBlacklistRequest.cc src/model/DeleteSecretBlacklistResult.cc - src/model/GetFaceVerifyRequest.cc - src/model/GetFaceVerifyResult.cc src/model/GetSecretAsrDetailRequest.cc src/model/GetSecretAsrDetailResult.cc - src/model/GetSubscriptionDetailRequest.cc - src/model/GetSubscriptionDetailResult.cc src/model/GetTotalPublicUrlRequest.cc src/model/GetTotalPublicUrlResult.cc - src/model/InitFaceVerifyRequest.cc - src/model/InitFaceVerifyResult.cc src/model/LockSecretNoRequest.cc src/model/LockSecretNoResult.cc src/model/OperateAxgGroupRequest.cc src/model/OperateAxgGroupResult.cc src/model/OperateBlackNoRequest.cc src/model/OperateBlackNoResult.cc - src/model/QueryCallStatusRequest.cc - src/model/QueryCallStatusResult.cc src/model/QueryPhoneNoAByTrackNoRequest.cc src/model/QueryPhoneNoAByTrackNoResult.cc src/model/QueryRecordFileDownloadUrlRequest.cc @@ -156,12 +130,6 @@ set(dyplsapi_src src/model/UnbindSubscriptionResult.cc src/model/UnlockSecretNoRequest.cc src/model/UnlockSecretNoResult.cc - src/model/UpdateDefaultBRequest.cc - src/model/UpdateDefaultBResult.cc - src/model/UpdatePhoneNumberRequest.cc - src/model/UpdatePhoneNumberResult.cc - src/model/UpdatePhoneSwitchRequest.cc - src/model/UpdatePhoneSwitchResult.cc src/model/UpdateSubscriptionRequest.cc src/model/UpdateSubscriptionResult.cc ) diff --git a/dyplsapi/include/alibabacloud/dyplsapi/DyplsapiClient.h b/dyplsapi/include/alibabacloud/dyplsapi/DyplsapiClient.h index 1ab0bca19..bef076b0b 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/DyplsapiClient.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/DyplsapiClient.h @@ -38,34 +38,24 @@ #include "model/BuySecretNoResult.h" #include "model/CancelPickUpWaybillRequest.h" #include "model/CancelPickUpWaybillResult.h" -#include "model/ConfirmSendSmsRequest.h" -#include "model/ConfirmSendSmsResult.h" #include "model/CreateAxgGroupRequest.h" #include "model/CreateAxgGroupResult.h" #include "model/CreatePickUpWaybillRequest.h" #include "model/CreatePickUpWaybillResult.h" -#include "model/CreateSubscriptionRequest.h" -#include "model/CreateSubscriptionResult.h" +#include "model/CreatePickUpWaybillPreQueryRequest.h" +#include "model/CreatePickUpWaybillPreQueryResult.h" #include "model/DeleteSecretBlacklistRequest.h" #include "model/DeleteSecretBlacklistResult.h" -#include "model/GetFaceVerifyRequest.h" -#include "model/GetFaceVerifyResult.h" #include "model/GetSecretAsrDetailRequest.h" #include "model/GetSecretAsrDetailResult.h" -#include "model/GetSubscriptionDetailRequest.h" -#include "model/GetSubscriptionDetailResult.h" #include "model/GetTotalPublicUrlRequest.h" #include "model/GetTotalPublicUrlResult.h" -#include "model/InitFaceVerifyRequest.h" -#include "model/InitFaceVerifyResult.h" #include "model/LockSecretNoRequest.h" #include "model/LockSecretNoResult.h" #include "model/OperateAxgGroupRequest.h" #include "model/OperateAxgGroupResult.h" #include "model/OperateBlackNoRequest.h" #include "model/OperateBlackNoResult.h" -#include "model/QueryCallStatusRequest.h" -#include "model/QueryCallStatusResult.h" #include "model/QueryPhoneNoAByTrackNoRequest.h" #include "model/QueryPhoneNoAByTrackNoResult.h" #include "model/QueryRecordFileDownloadUrlRequest.h" @@ -84,12 +74,6 @@ #include "model/UnbindSubscriptionResult.h" #include "model/UnlockSecretNoRequest.h" #include "model/UnlockSecretNoResult.h" -#include "model/UpdateDefaultBRequest.h" -#include "model/UpdateDefaultBResult.h" -#include "model/UpdatePhoneNumberRequest.h" -#include "model/UpdatePhoneNumberResult.h" -#include "model/UpdatePhoneSwitchRequest.h" -#include "model/UpdatePhoneSwitchResult.h" #include "model/UpdateSubscriptionRequest.h" #include "model/UpdateSubscriptionResult.h" @@ -125,36 +109,24 @@ namespace AlibabaCloud typedef Outcome CancelPickUpWaybillOutcome; typedef std::future CancelPickUpWaybillOutcomeCallable; typedef std::function&)> CancelPickUpWaybillAsyncHandler; - typedef Outcome ConfirmSendSmsOutcome; - typedef std::future ConfirmSendSmsOutcomeCallable; - typedef std::function&)> ConfirmSendSmsAsyncHandler; typedef Outcome CreateAxgGroupOutcome; typedef std::future CreateAxgGroupOutcomeCallable; typedef std::function&)> CreateAxgGroupAsyncHandler; typedef Outcome CreatePickUpWaybillOutcome; typedef std::future CreatePickUpWaybillOutcomeCallable; typedef std::function&)> CreatePickUpWaybillAsyncHandler; - typedef Outcome CreateSubscriptionOutcome; - typedef std::future CreateSubscriptionOutcomeCallable; - typedef std::function&)> CreateSubscriptionAsyncHandler; + typedef Outcome CreatePickUpWaybillPreQueryOutcome; + typedef std::future CreatePickUpWaybillPreQueryOutcomeCallable; + typedef std::function&)> CreatePickUpWaybillPreQueryAsyncHandler; typedef Outcome DeleteSecretBlacklistOutcome; typedef std::future DeleteSecretBlacklistOutcomeCallable; typedef std::function&)> DeleteSecretBlacklistAsyncHandler; - typedef Outcome GetFaceVerifyOutcome; - typedef std::future GetFaceVerifyOutcomeCallable; - typedef std::function&)> GetFaceVerifyAsyncHandler; typedef Outcome GetSecretAsrDetailOutcome; typedef std::future GetSecretAsrDetailOutcomeCallable; typedef std::function&)> GetSecretAsrDetailAsyncHandler; - typedef Outcome GetSubscriptionDetailOutcome; - typedef std::future GetSubscriptionDetailOutcomeCallable; - typedef std::function&)> GetSubscriptionDetailAsyncHandler; typedef Outcome GetTotalPublicUrlOutcome; typedef std::future GetTotalPublicUrlOutcomeCallable; typedef std::function&)> GetTotalPublicUrlAsyncHandler; - typedef Outcome InitFaceVerifyOutcome; - typedef std::future InitFaceVerifyOutcomeCallable; - typedef std::function&)> InitFaceVerifyAsyncHandler; typedef Outcome LockSecretNoOutcome; typedef std::future LockSecretNoOutcomeCallable; typedef std::function&)> LockSecretNoAsyncHandler; @@ -164,9 +136,6 @@ namespace AlibabaCloud typedef Outcome OperateBlackNoOutcome; typedef std::future OperateBlackNoOutcomeCallable; typedef std::function&)> OperateBlackNoAsyncHandler; - typedef Outcome QueryCallStatusOutcome; - typedef std::future QueryCallStatusOutcomeCallable; - typedef std::function&)> QueryCallStatusAsyncHandler; typedef Outcome QueryPhoneNoAByTrackNoOutcome; typedef std::future QueryPhoneNoAByTrackNoOutcomeCallable; typedef std::function&)> QueryPhoneNoAByTrackNoAsyncHandler; @@ -194,15 +163,6 @@ namespace AlibabaCloud typedef Outcome UnlockSecretNoOutcome; typedef std::future UnlockSecretNoOutcomeCallable; typedef std::function&)> UnlockSecretNoAsyncHandler; - typedef Outcome UpdateDefaultBOutcome; - typedef std::future UpdateDefaultBOutcomeCallable; - typedef std::function&)> UpdateDefaultBAsyncHandler; - typedef Outcome UpdatePhoneNumberOutcome; - typedef std::future UpdatePhoneNumberOutcomeCallable; - typedef std::function&)> UpdatePhoneNumberAsyncHandler; - typedef Outcome UpdatePhoneSwitchOutcome; - typedef std::future UpdatePhoneSwitchOutcomeCallable; - typedef std::function&)> UpdatePhoneSwitchAsyncHandler; typedef Outcome UpdateSubscriptionOutcome; typedef std::future UpdateSubscriptionOutcomeCallable; typedef std::function&)> UpdateSubscriptionAsyncHandler; @@ -235,36 +195,24 @@ namespace AlibabaCloud CancelPickUpWaybillOutcome cancelPickUpWaybill(const Model::CancelPickUpWaybillRequest &request)const; void cancelPickUpWaybillAsync(const Model::CancelPickUpWaybillRequest& request, const CancelPickUpWaybillAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelPickUpWaybillOutcomeCallable cancelPickUpWaybillCallable(const Model::CancelPickUpWaybillRequest& request) const; - ConfirmSendSmsOutcome confirmSendSms(const Model::ConfirmSendSmsRequest &request)const; - void confirmSendSmsAsync(const Model::ConfirmSendSmsRequest& request, const ConfirmSendSmsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ConfirmSendSmsOutcomeCallable confirmSendSmsCallable(const Model::ConfirmSendSmsRequest& request) const; CreateAxgGroupOutcome createAxgGroup(const Model::CreateAxgGroupRequest &request)const; void createAxgGroupAsync(const Model::CreateAxgGroupRequest& request, const CreateAxgGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAxgGroupOutcomeCallable createAxgGroupCallable(const Model::CreateAxgGroupRequest& request) const; CreatePickUpWaybillOutcome createPickUpWaybill(const Model::CreatePickUpWaybillRequest &request)const; void createPickUpWaybillAsync(const Model::CreatePickUpWaybillRequest& request, const CreatePickUpWaybillAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreatePickUpWaybillOutcomeCallable createPickUpWaybillCallable(const Model::CreatePickUpWaybillRequest& request) const; - CreateSubscriptionOutcome createSubscription(const Model::CreateSubscriptionRequest &request)const; - void createSubscriptionAsync(const Model::CreateSubscriptionRequest& request, const CreateSubscriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateSubscriptionOutcomeCallable createSubscriptionCallable(const Model::CreateSubscriptionRequest& request) const; + CreatePickUpWaybillPreQueryOutcome createPickUpWaybillPreQuery(const Model::CreatePickUpWaybillPreQueryRequest &request)const; + void createPickUpWaybillPreQueryAsync(const Model::CreatePickUpWaybillPreQueryRequest& request, const CreatePickUpWaybillPreQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatePickUpWaybillPreQueryOutcomeCallable createPickUpWaybillPreQueryCallable(const Model::CreatePickUpWaybillPreQueryRequest& request) const; DeleteSecretBlacklistOutcome deleteSecretBlacklist(const Model::DeleteSecretBlacklistRequest &request)const; void deleteSecretBlacklistAsync(const Model::DeleteSecretBlacklistRequest& request, const DeleteSecretBlacklistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSecretBlacklistOutcomeCallable deleteSecretBlacklistCallable(const Model::DeleteSecretBlacklistRequest& request) const; - GetFaceVerifyOutcome getFaceVerify(const Model::GetFaceVerifyRequest &request)const; - void getFaceVerifyAsync(const Model::GetFaceVerifyRequest& request, const GetFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFaceVerifyOutcomeCallable getFaceVerifyCallable(const Model::GetFaceVerifyRequest& request) const; GetSecretAsrDetailOutcome getSecretAsrDetail(const Model::GetSecretAsrDetailRequest &request)const; void getSecretAsrDetailAsync(const Model::GetSecretAsrDetailRequest& request, const GetSecretAsrDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSecretAsrDetailOutcomeCallable getSecretAsrDetailCallable(const Model::GetSecretAsrDetailRequest& request) const; - GetSubscriptionDetailOutcome getSubscriptionDetail(const Model::GetSubscriptionDetailRequest &request)const; - void getSubscriptionDetailAsync(const Model::GetSubscriptionDetailRequest& request, const GetSubscriptionDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetSubscriptionDetailOutcomeCallable getSubscriptionDetailCallable(const Model::GetSubscriptionDetailRequest& request) const; GetTotalPublicUrlOutcome getTotalPublicUrl(const Model::GetTotalPublicUrlRequest &request)const; void getTotalPublicUrlAsync(const Model::GetTotalPublicUrlRequest& request, const GetTotalPublicUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTotalPublicUrlOutcomeCallable getTotalPublicUrlCallable(const Model::GetTotalPublicUrlRequest& request) const; - InitFaceVerifyOutcome initFaceVerify(const Model::InitFaceVerifyRequest &request)const; - void initFaceVerifyAsync(const Model::InitFaceVerifyRequest& request, const InitFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - InitFaceVerifyOutcomeCallable initFaceVerifyCallable(const Model::InitFaceVerifyRequest& request) const; LockSecretNoOutcome lockSecretNo(const Model::LockSecretNoRequest &request)const; void lockSecretNoAsync(const Model::LockSecretNoRequest& request, const LockSecretNoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; LockSecretNoOutcomeCallable lockSecretNoCallable(const Model::LockSecretNoRequest& request) const; @@ -274,9 +222,6 @@ namespace AlibabaCloud OperateBlackNoOutcome operateBlackNo(const Model::OperateBlackNoRequest &request)const; void operateBlackNoAsync(const Model::OperateBlackNoRequest& request, const OperateBlackNoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperateBlackNoOutcomeCallable operateBlackNoCallable(const Model::OperateBlackNoRequest& request) const; - QueryCallStatusOutcome queryCallStatus(const Model::QueryCallStatusRequest &request)const; - void queryCallStatusAsync(const Model::QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCallStatusOutcomeCallable queryCallStatusCallable(const Model::QueryCallStatusRequest& request) const; QueryPhoneNoAByTrackNoOutcome queryPhoneNoAByTrackNo(const Model::QueryPhoneNoAByTrackNoRequest &request)const; void queryPhoneNoAByTrackNoAsync(const Model::QueryPhoneNoAByTrackNoRequest& request, const QueryPhoneNoAByTrackNoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryPhoneNoAByTrackNoOutcomeCallable queryPhoneNoAByTrackNoCallable(const Model::QueryPhoneNoAByTrackNoRequest& request) const; @@ -304,15 +249,6 @@ namespace AlibabaCloud UnlockSecretNoOutcome unlockSecretNo(const Model::UnlockSecretNoRequest &request)const; void unlockSecretNoAsync(const Model::UnlockSecretNoRequest& request, const UnlockSecretNoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnlockSecretNoOutcomeCallable unlockSecretNoCallable(const Model::UnlockSecretNoRequest& request) const; - UpdateDefaultBOutcome updateDefaultB(const Model::UpdateDefaultBRequest &request)const; - void updateDefaultBAsync(const Model::UpdateDefaultBRequest& request, const UpdateDefaultBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateDefaultBOutcomeCallable updateDefaultBCallable(const Model::UpdateDefaultBRequest& request) const; - UpdatePhoneNumberOutcome updatePhoneNumber(const Model::UpdatePhoneNumberRequest &request)const; - void updatePhoneNumberAsync(const Model::UpdatePhoneNumberRequest& request, const UpdatePhoneNumberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdatePhoneNumberOutcomeCallable updatePhoneNumberCallable(const Model::UpdatePhoneNumberRequest& request) const; - UpdatePhoneSwitchOutcome updatePhoneSwitch(const Model::UpdatePhoneSwitchRequest &request)const; - void updatePhoneSwitchAsync(const Model::UpdatePhoneSwitchRequest& request, const UpdatePhoneSwitchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdatePhoneSwitchOutcomeCallable updatePhoneSwitchCallable(const Model::UpdatePhoneSwitchRequest& request) const; UpdateSubscriptionOutcome updateSubscription(const Model::UpdateSubscriptionRequest &request)const; void updateSubscriptionAsync(const Model::UpdateSubscriptionRequest& request, const UpdateSubscriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSubscriptionOutcomeCallable updateSubscriptionCallable(const Model::UpdateSubscriptionRequest& request) const; diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h index eac09fd89..45799ba2f 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h @@ -52,6 +52,8 @@ public: void setExpectCity(const std::string &expectCity); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getDtmfConfig() const; + void setDtmfConfig(const std::string &dtmfConfig); long getOwnerId() const; void setOwnerId(long ownerId); std::string getOutOrderId() const; @@ -81,6 +83,7 @@ private: std::string phoneNoA_; std::string expectCity_; std::string resourceOwnerAccount_; + std::string dtmfConfig_; long ownerId_; std::string outOrderId_; std::string poolKey_; diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h deleted file mode 100644 index ec8e164ee..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT ConfirmSendSmsRequest : public RpcServiceRequest { -public: - ConfirmSendSmsRequest(); - ~ConfirmSendSmsRequest(); - std::string getCallId() const; - void setCallId(const std::string &callId); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - std::string callId_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsResult.h deleted file mode 100644 index b9310512d..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_CONFIRMSENDSMSRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT ConfirmSendSmsResult : public ServiceResult - { - public: - - - ConfirmSendSmsResult(); - explicit ConfirmSendSmsResult(const std::string &payload); - ~ConfirmSendSmsResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryRequest.h new file mode 100644 index 000000000..eaf30d53d --- /dev/null +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryRequest.h @@ -0,0 +1,84 @@ +/* + * 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_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT CreatePickUpWaybillPreQueryRequest : public RpcServiceRequest { +public: + struct ConsigneeInfo { + std::string name; + std::string mobile; + struct AddressInfo { + std::string provinceName; + std::string cityName; + std::string areaName; + std::string townName; + std::string addressDetail; + }; + AddressInfo addressInfo; + }; + struct SenderInfo { + std::string name; + std::string mobile; + struct AddressInfo { + std::string provinceName; + std::string cityName; + std::string areaName; + std::string townName; + std::string addressDetail; + }; + AddressInfo addressInfo; + }; + CreatePickUpWaybillPreQueryRequest(); + ~CreatePickUpWaybillPreQueryRequest(); + std::string getPreWeight() const; + void setPreWeight(const std::string &preWeight); + std::string getOrderChannels() const; + void setOrderChannels(const std::string &orderChannels); + std::string getOuterOrderCode() const; + void setOuterOrderCode(const std::string &outerOrderCode); + ConsigneeInfo getConsigneeInfo() const; + void setConsigneeInfo(const ConsigneeInfo &consigneeInfo); + std::string getCpCode() const; + void setCpCode(const std::string &cpCode); + std::string getContentType() const; + void setContentType(const std::string &contentType); + SenderInfo getSenderInfo() const; + void setSenderInfo(const SenderInfo &senderInfo); + +private: + std::string preWeight_; + std::string orderChannels_; + std::string outerOrderCode_; + ConsigneeInfo consigneeInfo_; + std::string cpCode_; + std::string contentType_; + SenderInfo senderInfo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryResult.h new file mode 100644 index 000000000..cf5c833ab --- /dev/null +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillPreQueryResult.h @@ -0,0 +1,89 @@ +/* + * 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_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYRESULT_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyplsapi + { + namespace Model + { + class ALIBABACLOUD_DYPLSAPI_EXPORT CreatePickUpWaybillPreQueryResult : public ServiceResult + { + public: + struct Data + { + struct TdTimeSelect + { + struct RealTime + { + bool selectable; + std::string selectDisableTip; + std::string name; + }; + struct TdAppointTimeDTO + { + struct TdAppointTimeSlotDTO + { + std::string endTime; + bool selectable; + std::string startTime; + std::string selectDisableTip; + }; + bool dateSelectable; + std::string date; + std::vector timeList; + }; + std::vector appointTimes; + std::string prePrice; + RealTime realTime; + }; + std::vector cpTimeSelectList; + std::string message; + std::string errorMsg; + std::string errorCode; + std::string code; + bool success; + }; + + + CreatePickUpWaybillPreQueryResult(); + explicit CreatePickUpWaybillPreQueryResult(const std::string &payload); + ~CreatePickUpWaybillPreQueryResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLPREQUERYRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h index 8c31fc04e..ef3274cd7 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h @@ -59,6 +59,10 @@ public: void setOuterOrderCode(const std::string &outerOrderCode); std::string getRemark() const; void setRemark(const std::string &remark); + std::string getAppointGotStartTime() const; + void setAppointGotStartTime(const std::string &appointGotStartTime); + std::string getAppointGotEndTime() const; + void setAppointGotEndTime(const std::string &appointGotEndTime); std::string getCpCode() const; void setCpCode(const std::string &cpCode); std::string getSendMobile() const; @@ -73,6 +77,8 @@ public: void setSendPhone(const std::string &sendPhone); std::vector getGoodsInfos() const; void setGoodsInfos(const std::vector &goodsInfos); + int getBizType() const; + void setBizType(int bizType); std::string getSendName() const; void setSendName(const std::string &sendName); std::string getConsigneePhone() const; @@ -84,6 +90,8 @@ private: SendAddress sendAddress_; std::string outerOrderCode_; std::string remark_; + std::string appointGotStartTime_; + std::string appointGotEndTime_; std::string cpCode_; std::string sendMobile_; std::string consigneeMobile_; @@ -91,6 +99,7 @@ private: ConsigneeAddress consigneeAddress_; std::string sendPhone_; std::vector goodsInfos_; + int bizType_; std::string sendName_; std::string consigneePhone_; }; diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillResult.h index 49ced2011..5085a1918 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillResult.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string errorMsg; std::string errorCode; std::string success; + std::string gotCode; }; diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h deleted file mode 100644 index 7a408529a..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT CreateSubscriptionRequest : public RpcServiceRequest { -public: - CreateSubscriptionRequest(); - ~CreateSubscriptionRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - std::string getBindToken() const; - void setBindToken(const std::string &bindToken); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPhoneNo() const; - void setPhoneNo(const std::string &phoneNo); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - std::string bindToken_; - long ownerId_; - std::string phoneNo_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionResult.h deleted file mode 100644 index b1212f181..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_CREATESUBSCRIPTIONRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT CreateSubscriptionResult : public ServiceResult - { - public: - struct Data - { - std::string subsId; - }; - - - CreateSubscriptionResult(); - explicit CreateSubscriptionResult(const std::string &payload); - ~CreateSubscriptionResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h deleted file mode 100644 index 04acae68c..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT GetFaceVerifyRequest : public RpcServiceRequest { -public: - GetFaceVerifyRequest(); - ~GetFaceVerifyRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getVerifyToken() const; - void setVerifyToken(const std::string &verifyToken); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string verifyToken_; - std::string prodCode_; - long ownerId_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyResult.h deleted file mode 100644 index 28134cf0e..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_GETFACEVERIFYRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetFaceVerifyResult : public ServiceResult - { - public: - struct Data - { - std::string verifyResult; - }; - - - GetFaceVerifyResult(); - explicit GetFaceVerifyResult(const std::string &payload); - ~GetFaceVerifyResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h deleted file mode 100644 index 3ad9a9aab..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT GetSubscriptionDetailRequest : public RpcServiceRequest { -public: - GetSubscriptionDetailRequest(); - ~GetSubscriptionDetailRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getSubsId() const; - void setSubsId(long subsId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailResult.h deleted file mode 100644 index 1728f1c47..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetSubscriptionDetailResult : public ServiceResult - { - public: - struct Data - { - std::string phoneNo; - std::string city; - std::string vendor; - std::string secretNo; - int switchStatus; - std::string province; - long subsId; - }; - - - GetSubscriptionDetailResult(); - explicit GetSubscriptionDetailResult(const std::string &payload); - ~GetSubscriptionDetailResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h deleted file mode 100644 index f0e77f8fa..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT InitFaceVerifyRequest : public RpcServiceRequest { -public: - InitFaceVerifyRequest(); - ~InitFaceVerifyRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getMetaInfo() const; - void setMetaInfo(const std::string &metaInfo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string metaInfo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyResult.h deleted file mode 100644 index 4d3b40e21..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_INITFACEVERIFYRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT InitFaceVerifyResult : public ServiceResult - { - public: - struct Data - { - std::string certifyId; - }; - - - InitFaceVerifyResult(); - explicit InitFaceVerifyResult(const std::string &payload); - ~InitFaceVerifyResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h deleted file mode 100644 index 1df39206e..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT QueryCallStatusRequest : public RpcServiceRequest { -public: - QueryCallStatusRequest(); - ~QueryCallStatusRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getSubsId() const; - void setSubsId(const std::string &subsId); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getCallNo() const; - void setCallNo(const std::string &callNo); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string subsId_; - std::string resourceOwnerAccount_; - std::string callNo_; - long ownerId_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h deleted file mode 100644 index 77a2aa5ce..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_QUERYCALLSTATUSRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QueryCallStatusResult : public ServiceResult - { - public: - struct SecretCallStatusDTO - { - int status; - std::string extension; - std::string calledNo; - }; - - - QueryCallStatusResult(); - explicit QueryCallStatusResult(const std::string &payload); - ~QueryCallStatusResult(); - std::string getMessage()const; - std::string getCode()const; - SecretCallStatusDTO getSecretCallStatusDTO()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string code_; - SecretCallStatusDTO secretCallStatusDTO_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h deleted file mode 100644 index 5eacfe5bf..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateDefaultBRequest : public RpcServiceRequest { -public: - UpdateDefaultBRequest(); - ~UpdateDefaultBRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getSubsId() const; - void setSubsId(long subsId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPhoneNo() const; - void setPhoneNo(const std::string &phoneNo); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string phoneNo_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBResult.h deleted file mode 100644 index 7f7c2ed51..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEDEFAULTBRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateDefaultBResult : public ServiceResult - { - public: - - - UpdateDefaultBResult(); - explicit UpdateDefaultBResult(const std::string &payload); - ~UpdateDefaultBResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h deleted file mode 100644 index c3d8d7838..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneNumberRequest : public RpcServiceRequest { -public: - UpdatePhoneNumberRequest(); - ~UpdatePhoneNumberRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getSubsId() const; - void setSubsId(long subsId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - std::string getBindToken() const; - void setBindToken(const std::string &bindToken); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - std::string getNewPhoneNo() const; - void setNewPhoneNo(const std::string &newPhoneNo); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - std::string bindToken_; - long ownerId_; - std::string poolKey_; - std::string newPhoneNo_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberResult.h deleted file mode 100644 index 464572573..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEPHONENUMBERRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneNumberResult : public ServiceResult - { - public: - - - UpdatePhoneNumberResult(); - explicit UpdatePhoneNumberResult(const std::string &payload); - ~UpdatePhoneNumberResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h deleted file mode 100644 index 8feb659f7..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dyplsapi { -namespace Model { -class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneSwitchRequest : public RpcServiceRequest { -public: - UpdatePhoneSwitchRequest(); - ~UpdatePhoneSwitchRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - int getSwitchStatus() const; - void setSwitchStatus(int switchStatus); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - long getSubsId() const; - void setSubsId(long subsId); - std::string getSecretNo() const; - void setSecretNo(const std::string &secretNo); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getProdCode() const; - void setProdCode(const std::string &prodCode); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::string getPoolKey() const; - void setPoolKey(const std::string &poolKey); - -private: - long resourceOwnerId_; - int switchStatus_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; -}; -} // namespace Model -} // namespace Dyplsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchResult.h deleted file mode 100644 index 4c07cea8f..000000000 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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_DYPLSAPI_MODEL_UPDATEPHONESWITCHRESULT_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneSwitchResult : public ServiceResult - { - public: - - - UpdatePhoneSwitchResult(); - explicit UpdatePhoneSwitchResult(const std::string &payload); - ~UpdatePhoneSwitchResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHRESULT_H_ \ No newline at end of file diff --git a/dyplsapi/src/DyplsapiClient.cc b/dyplsapi/src/DyplsapiClient.cc index f10afa08c..27577d90f 100644 --- a/dyplsapi/src/DyplsapiClient.cc +++ b/dyplsapi/src/DyplsapiClient.cc @@ -339,42 +339,6 @@ DyplsapiClient::CancelPickUpWaybillOutcomeCallable DyplsapiClient::cancelPickUpW return task->get_future(); } -DyplsapiClient::ConfirmSendSmsOutcome DyplsapiClient::confirmSendSms(const ConfirmSendSmsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ConfirmSendSmsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ConfirmSendSmsOutcome(ConfirmSendSmsResult(outcome.result())); - else - return ConfirmSendSmsOutcome(outcome.error()); -} - -void DyplsapiClient::confirmSendSmsAsync(const ConfirmSendSmsRequest& request, const ConfirmSendSmsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, confirmSendSms(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::ConfirmSendSmsOutcomeCallable DyplsapiClient::confirmSendSmsCallable(const ConfirmSendSmsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->confirmSendSms(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::CreateAxgGroupOutcome DyplsapiClient::createAxgGroup(const CreateAxgGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,36 +411,36 @@ DyplsapiClient::CreatePickUpWaybillOutcomeCallable DyplsapiClient::createPickUpW return task->get_future(); } -DyplsapiClient::CreateSubscriptionOutcome DyplsapiClient::createSubscription(const CreateSubscriptionRequest &request) const +DyplsapiClient::CreatePickUpWaybillPreQueryOutcome DyplsapiClient::createPickUpWaybillPreQuery(const CreatePickUpWaybillPreQueryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateSubscriptionOutcome(endpointOutcome.error()); + return CreatePickUpWaybillPreQueryOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateSubscriptionOutcome(CreateSubscriptionResult(outcome.result())); + return CreatePickUpWaybillPreQueryOutcome(CreatePickUpWaybillPreQueryResult(outcome.result())); else - return CreateSubscriptionOutcome(outcome.error()); + return CreatePickUpWaybillPreQueryOutcome(outcome.error()); } -void DyplsapiClient::createSubscriptionAsync(const CreateSubscriptionRequest& request, const CreateSubscriptionAsyncHandler& handler, const std::shared_ptr& context) const +void DyplsapiClient::createPickUpWaybillPreQueryAsync(const CreatePickUpWaybillPreQueryRequest& request, const CreatePickUpWaybillPreQueryAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createSubscription(request), context); + handler(this, request, createPickUpWaybillPreQuery(request), context); }; asyncExecute(new Runnable(fn)); } -DyplsapiClient::CreateSubscriptionOutcomeCallable DyplsapiClient::createSubscriptionCallable(const CreateSubscriptionRequest &request) const +DyplsapiClient::CreatePickUpWaybillPreQueryOutcomeCallable DyplsapiClient::createPickUpWaybillPreQueryCallable(const CreatePickUpWaybillPreQueryRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createSubscription(request); + return this->createPickUpWaybillPreQuery(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -519,42 +483,6 @@ DyplsapiClient::DeleteSecretBlacklistOutcomeCallable DyplsapiClient::deleteSecre return task->get_future(); } -DyplsapiClient::GetFaceVerifyOutcome DyplsapiClient::getFaceVerify(const GetFaceVerifyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFaceVerifyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFaceVerifyOutcome(GetFaceVerifyResult(outcome.result())); - else - return GetFaceVerifyOutcome(outcome.error()); -} - -void DyplsapiClient::getFaceVerifyAsync(const GetFaceVerifyRequest& request, const GetFaceVerifyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFaceVerify(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::GetFaceVerifyOutcomeCallable DyplsapiClient::getFaceVerifyCallable(const GetFaceVerifyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFaceVerify(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::GetSecretAsrDetailOutcome DyplsapiClient::getSecretAsrDetail(const GetSecretAsrDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,42 +519,6 @@ DyplsapiClient::GetSecretAsrDetailOutcomeCallable DyplsapiClient::getSecretAsrDe return task->get_future(); } -DyplsapiClient::GetSubscriptionDetailOutcome DyplsapiClient::getSubscriptionDetail(const GetSubscriptionDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSubscriptionDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSubscriptionDetailOutcome(GetSubscriptionDetailResult(outcome.result())); - else - return GetSubscriptionDetailOutcome(outcome.error()); -} - -void DyplsapiClient::getSubscriptionDetailAsync(const GetSubscriptionDetailRequest& request, const GetSubscriptionDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSubscriptionDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::GetSubscriptionDetailOutcomeCallable DyplsapiClient::getSubscriptionDetailCallable(const GetSubscriptionDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSubscriptionDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::GetTotalPublicUrlOutcome DyplsapiClient::getTotalPublicUrl(const GetTotalPublicUrlRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,42 +555,6 @@ DyplsapiClient::GetTotalPublicUrlOutcomeCallable DyplsapiClient::getTotalPublicU return task->get_future(); } -DyplsapiClient::InitFaceVerifyOutcome DyplsapiClient::initFaceVerify(const InitFaceVerifyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return InitFaceVerifyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return InitFaceVerifyOutcome(InitFaceVerifyResult(outcome.result())); - else - return InitFaceVerifyOutcome(outcome.error()); -} - -void DyplsapiClient::initFaceVerifyAsync(const InitFaceVerifyRequest& request, const InitFaceVerifyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, initFaceVerify(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::InitFaceVerifyOutcomeCallable DyplsapiClient::initFaceVerifyCallable(const InitFaceVerifyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->initFaceVerify(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::LockSecretNoOutcome DyplsapiClient::lockSecretNo(const LockSecretNoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -807,42 +663,6 @@ DyplsapiClient::OperateBlackNoOutcomeCallable DyplsapiClient::operateBlackNoCall return task->get_future(); } -DyplsapiClient::QueryCallStatusOutcome DyplsapiClient::queryCallStatus(const QueryCallStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryCallStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryCallStatusOutcome(QueryCallStatusResult(outcome.result())); - else - return QueryCallStatusOutcome(outcome.error()); -} - -void DyplsapiClient::queryCallStatusAsync(const QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryCallStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::QueryCallStatusOutcomeCallable DyplsapiClient::queryCallStatusCallable(const QueryCallStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryCallStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::QueryPhoneNoAByTrackNoOutcome DyplsapiClient::queryPhoneNoAByTrackNo(const QueryPhoneNoAByTrackNoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1167,114 +987,6 @@ DyplsapiClient::UnlockSecretNoOutcomeCallable DyplsapiClient::unlockSecretNoCall return task->get_future(); } -DyplsapiClient::UpdateDefaultBOutcome DyplsapiClient::updateDefaultB(const UpdateDefaultBRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDefaultBOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDefaultBOutcome(UpdateDefaultBResult(outcome.result())); - else - return UpdateDefaultBOutcome(outcome.error()); -} - -void DyplsapiClient::updateDefaultBAsync(const UpdateDefaultBRequest& request, const UpdateDefaultBAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDefaultB(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::UpdateDefaultBOutcomeCallable DyplsapiClient::updateDefaultBCallable(const UpdateDefaultBRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDefaultB(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -DyplsapiClient::UpdatePhoneNumberOutcome DyplsapiClient::updatePhoneNumber(const UpdatePhoneNumberRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdatePhoneNumberOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdatePhoneNumberOutcome(UpdatePhoneNumberResult(outcome.result())); - else - return UpdatePhoneNumberOutcome(outcome.error()); -} - -void DyplsapiClient::updatePhoneNumberAsync(const UpdatePhoneNumberRequest& request, const UpdatePhoneNumberAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updatePhoneNumber(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::UpdatePhoneNumberOutcomeCallable DyplsapiClient::updatePhoneNumberCallable(const UpdatePhoneNumberRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updatePhoneNumber(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -DyplsapiClient::UpdatePhoneSwitchOutcome DyplsapiClient::updatePhoneSwitch(const UpdatePhoneSwitchRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdatePhoneSwitchOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdatePhoneSwitchOutcome(UpdatePhoneSwitchResult(outcome.result())); - else - return UpdatePhoneSwitchOutcome(outcome.error()); -} - -void DyplsapiClient::updatePhoneSwitchAsync(const UpdatePhoneSwitchRequest& request, const UpdatePhoneSwitchAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updatePhoneSwitch(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DyplsapiClient::UpdatePhoneSwitchOutcomeCallable DyplsapiClient::updatePhoneSwitchCallable(const UpdatePhoneSwitchRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updatePhoneSwitch(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DyplsapiClient::UpdateSubscriptionOutcome DyplsapiClient::updateSubscription(const UpdateSubscriptionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dyplsapi/src/model/BindAxbRequest.cc b/dyplsapi/src/model/BindAxbRequest.cc index 0aa4fb03c..d3bb372ce 100644 --- a/dyplsapi/src/model/BindAxbRequest.cc +++ b/dyplsapi/src/model/BindAxbRequest.cc @@ -124,6 +124,15 @@ void BindAxbRequest::setResourceOwnerAccount(const std::string &resourceOwnerAcc setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } +std::string BindAxbRequest::getDtmfConfig() const { + return dtmfConfig_; +} + +void BindAxbRequest::setDtmfConfig(const std::string &dtmfConfig) { + dtmfConfig_ = dtmfConfig; + setParameter(std::string("DtmfConfig"), dtmfConfig); +} + long BindAxbRequest::getOwnerId() const { return ownerId_; } diff --git a/dyplsapi/src/model/ConfirmSendSmsRequest.cc b/dyplsapi/src/model/ConfirmSendSmsRequest.cc deleted file mode 100644 index 09feb3f31..000000000 --- a/dyplsapi/src/model/ConfirmSendSmsRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * 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::Dyplsapi::Model::ConfirmSendSmsRequest; - -ConfirmSendSmsRequest::ConfirmSendSmsRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "ConfirmSendSms") { - setMethod(HttpRequest::Method::Post); -} - -ConfirmSendSmsRequest::~ConfirmSendSmsRequest() {} - -std::string ConfirmSendSmsRequest::getCallId() const { - return callId_; -} - -void ConfirmSendSmsRequest::setCallId(const std::string &callId) { - callId_ = callId; - setParameter(std::string("CallId"), callId); -} - -long ConfirmSendSmsRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void ConfirmSendSmsRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string ConfirmSendSmsRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void ConfirmSendSmsRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string ConfirmSendSmsRequest::getSecretNo() const { - return secretNo_; -} - -void ConfirmSendSmsRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string ConfirmSendSmsRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void ConfirmSendSmsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string ConfirmSendSmsRequest::getProdCode() const { - return prodCode_; -} - -void ConfirmSendSmsRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long ConfirmSendSmsRequest::getOwnerId() const { - return ownerId_; -} - -void ConfirmSendSmsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string ConfirmSendSmsRequest::getPoolKey() const { - return poolKey_; -} - -void ConfirmSendSmsRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/ConfirmSendSmsResult.cc b/dyplsapi/src/model/ConfirmSendSmsResult.cc deleted file mode 100644 index 3d74a0767..000000000 --- a/dyplsapi/src/model/ConfirmSendSmsResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -ConfirmSendSmsResult::ConfirmSendSmsResult() : - ServiceResult() -{} - -ConfirmSendSmsResult::ConfirmSendSmsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ConfirmSendSmsResult::~ConfirmSendSmsResult() -{} - -void ConfirmSendSmsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string ConfirmSendSmsResult::getMessage()const -{ - return message_; -} - -std::string ConfirmSendSmsResult::getData()const -{ - return data_; -} - -std::string ConfirmSendSmsResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/CreatePickUpWaybillPreQueryRequest.cc b/dyplsapi/src/model/CreatePickUpWaybillPreQueryRequest.cc new file mode 100644 index 000000000..500c71b3e --- /dev/null +++ b/dyplsapi/src/model/CreatePickUpWaybillPreQueryRequest.cc @@ -0,0 +1,102 @@ +/* + * 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::Dyplsapi::Model::CreatePickUpWaybillPreQueryRequest; + +CreatePickUpWaybillPreQueryRequest::CreatePickUpWaybillPreQueryRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "CreatePickUpWaybillPreQuery") { + setMethod(HttpRequest::Method::Post); +} + +CreatePickUpWaybillPreQueryRequest::~CreatePickUpWaybillPreQueryRequest() {} + +std::string CreatePickUpWaybillPreQueryRequest::getPreWeight() const { + return preWeight_; +} + +void CreatePickUpWaybillPreQueryRequest::setPreWeight(const std::string &preWeight) { + preWeight_ = preWeight; + setParameter(std::string("PreWeight"), preWeight); +} + +std::string CreatePickUpWaybillPreQueryRequest::getOrderChannels() const { + return orderChannels_; +} + +void CreatePickUpWaybillPreQueryRequest::setOrderChannels(const std::string &orderChannels) { + orderChannels_ = orderChannels; + setParameter(std::string("OrderChannels"), orderChannels); +} + +std::string CreatePickUpWaybillPreQueryRequest::getOuterOrderCode() const { + return outerOrderCode_; +} + +void CreatePickUpWaybillPreQueryRequest::setOuterOrderCode(const std::string &outerOrderCode) { + outerOrderCode_ = outerOrderCode; + setParameter(std::string("OuterOrderCode"), outerOrderCode); +} + +CreatePickUpWaybillPreQueryRequest::ConsigneeInfo CreatePickUpWaybillPreQueryRequest::getConsigneeInfo() const { + return consigneeInfo_; +} + +void CreatePickUpWaybillPreQueryRequest::setConsigneeInfo(const CreatePickUpWaybillPreQueryRequest::ConsigneeInfo &consigneeInfo) { + consigneeInfo_ = consigneeInfo; + setParameter(std::string("ConsigneeInfo") + ".Name", consigneeInfo.name); + setParameter(std::string("ConsigneeInfo") + ".Mobile", consigneeInfo.mobile); + setParameter(std::string("ConsigneeInfo") + ".AddressInfo.ProvinceName", consigneeInfo.addressInfo.provinceName); + setParameter(std::string("ConsigneeInfo") + ".AddressInfo.CityName", consigneeInfo.addressInfo.cityName); + setParameter(std::string("ConsigneeInfo") + ".AddressInfo.AreaName", consigneeInfo.addressInfo.areaName); + setParameter(std::string("ConsigneeInfo") + ".AddressInfo.TownName", consigneeInfo.addressInfo.townName); + setParameter(std::string("ConsigneeInfo") + ".AddressInfo.AddressDetail", consigneeInfo.addressInfo.addressDetail); +} + +std::string CreatePickUpWaybillPreQueryRequest::getCpCode() const { + return cpCode_; +} + +void CreatePickUpWaybillPreQueryRequest::setCpCode(const std::string &cpCode) { + cpCode_ = cpCode; + setParameter(std::string("CpCode"), cpCode); +} + +std::string CreatePickUpWaybillPreQueryRequest::getContentType() const { + return contentType_; +} + +void CreatePickUpWaybillPreQueryRequest::setContentType(const std::string &contentType) { + contentType_ = contentType; + setHeader(std::string("Content-Type"), contentType); +} + +CreatePickUpWaybillPreQueryRequest::SenderInfo CreatePickUpWaybillPreQueryRequest::getSenderInfo() const { + return senderInfo_; +} + +void CreatePickUpWaybillPreQueryRequest::setSenderInfo(const CreatePickUpWaybillPreQueryRequest::SenderInfo &senderInfo) { + senderInfo_ = senderInfo; + setParameter(std::string("SenderInfo") + ".Name", senderInfo.name); + setParameter(std::string("SenderInfo") + ".Mobile", senderInfo.mobile); + setParameter(std::string("SenderInfo") + ".AddressInfo.ProvinceName", senderInfo.addressInfo.provinceName); + setParameter(std::string("SenderInfo") + ".AddressInfo.CityName", senderInfo.addressInfo.cityName); + setParameter(std::string("SenderInfo") + ".AddressInfo.AreaName", senderInfo.addressInfo.areaName); + setParameter(std::string("SenderInfo") + ".AddressInfo.TownName", senderInfo.addressInfo.townName); + setParameter(std::string("SenderInfo") + ".AddressInfo.AddressDetail", senderInfo.addressInfo.addressDetail); +} + diff --git a/dyplsapi/src/model/CreatePickUpWaybillPreQueryResult.cc b/dyplsapi/src/model/CreatePickUpWaybillPreQueryResult.cc new file mode 100644 index 000000000..d2d1bb4cb --- /dev/null +++ b/dyplsapi/src/model/CreatePickUpWaybillPreQueryResult.cc @@ -0,0 +1,113 @@ +/* + * 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::Dyplsapi; +using namespace AlibabaCloud::Dyplsapi::Model; + +CreatePickUpWaybillPreQueryResult::CreatePickUpWaybillPreQueryResult() : + ServiceResult() +{} + +CreatePickUpWaybillPreQueryResult::CreatePickUpWaybillPreQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatePickUpWaybillPreQueryResult::~CreatePickUpWaybillPreQueryResult() +{} + +void CreatePickUpWaybillPreQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Success"].isNull()) + data_.success = dataNode["Success"].asString() == "true"; + if(!dataNode["ErrorCode"].isNull()) + data_.errorCode = dataNode["ErrorCode"].asString(); + if(!dataNode["ErrorMsg"].isNull()) + data_.errorMsg = dataNode["ErrorMsg"].asString(); + if(!dataNode["Code"].isNull()) + data_.code = dataNode["Code"].asString(); + if(!dataNode["Message"].isNull()) + data_.message = dataNode["Message"].asString(); + auto allCpTimeSelectListNode = dataNode["CpTimeSelectList"]["TdTimeSelect"]; + for (auto dataNodeCpTimeSelectListTdTimeSelect : allCpTimeSelectListNode) + { + Data::TdTimeSelect tdTimeSelectObject; + if(!dataNodeCpTimeSelectListTdTimeSelect["PrePrice"].isNull()) + tdTimeSelectObject.prePrice = dataNodeCpTimeSelectListTdTimeSelect["PrePrice"].asString(); + auto allAppointTimesNode = dataNodeCpTimeSelectListTdTimeSelect["AppointTimes"]["TdAppointTimeDTO"]; + for (auto dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO : allAppointTimesNode) + { + Data::TdTimeSelect::TdAppointTimeDTO appointTimesObject; + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO["Date"].isNull()) + appointTimesObject.date = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO["Date"].asString(); + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO["DateSelectable"].isNull()) + appointTimesObject.dateSelectable = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO["DateSelectable"].asString() == "true"; + auto allTimeListNode = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTO["TimeList"]["TdAppointTimeSlotDTO"]; + for (auto dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO : allTimeListNode) + { + Data::TdTimeSelect::TdAppointTimeDTO::TdAppointTimeSlotDTO timeListObject; + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["StartTime"].isNull()) + timeListObject.startTime = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["StartTime"].asString(); + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["EndTime"].isNull()) + timeListObject.endTime = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["EndTime"].asString(); + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["Selectable"].isNull()) + timeListObject.selectable = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["Selectable"].asString() == "true"; + if(!dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["SelectDisableTip"].isNull()) + timeListObject.selectDisableTip = dataNodeCpTimeSelectListTdTimeSelectAppointTimesTdAppointTimeDTOTimeListTdAppointTimeSlotDTO["SelectDisableTip"].asString(); + appointTimesObject.timeList.push_back(timeListObject); + } + tdTimeSelectObject.appointTimes.push_back(appointTimesObject); + } + auto realTimeNode = value["RealTime"]; + if(!realTimeNode["Name"].isNull()) + tdTimeSelectObject.realTime.name = realTimeNode["Name"].asString(); + if(!realTimeNode["Selectable"].isNull()) + tdTimeSelectObject.realTime.selectable = realTimeNode["Selectable"].asString() == "true"; + if(!realTimeNode["SelectDisableTip"].isNull()) + tdTimeSelectObject.realTime.selectDisableTip = realTimeNode["SelectDisableTip"].asString(); + data_.cpTimeSelectList.push_back(tdTimeSelectObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreatePickUpWaybillPreQueryResult::getMessage()const +{ + return message_; +} + +int CreatePickUpWaybillPreQueryResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +CreatePickUpWaybillPreQueryResult::Data CreatePickUpWaybillPreQueryResult::getData()const +{ + return data_; +} + diff --git a/dyplsapi/src/model/CreatePickUpWaybillRequest.cc b/dyplsapi/src/model/CreatePickUpWaybillRequest.cc index 2aad6da31..7cdd50e0f 100644 --- a/dyplsapi/src/model/CreatePickUpWaybillRequest.cc +++ b/dyplsapi/src/model/CreatePickUpWaybillRequest.cc @@ -74,6 +74,24 @@ void CreatePickUpWaybillRequest::setRemark(const std::string &remark) { setParameter(std::string("Remark"), remark); } +std::string CreatePickUpWaybillRequest::getAppointGotStartTime() const { + return appointGotStartTime_; +} + +void CreatePickUpWaybillRequest::setAppointGotStartTime(const std::string &appointGotStartTime) { + appointGotStartTime_ = appointGotStartTime; + setParameter(std::string("AppointGotStartTime"), appointGotStartTime); +} + +std::string CreatePickUpWaybillRequest::getAppointGotEndTime() const { + return appointGotEndTime_; +} + +void CreatePickUpWaybillRequest::setAppointGotEndTime(const std::string &appointGotEndTime) { + appointGotEndTime_ = appointGotEndTime; + setParameter(std::string("AppointGotEndTime"), appointGotEndTime); +} + std::string CreatePickUpWaybillRequest::getCpCode() const { return cpCode_; } @@ -145,6 +163,15 @@ void CreatePickUpWaybillRequest::setGoodsInfos(const std::vector - -using AlibabaCloud::Dyplsapi::Model::CreateSubscriptionRequest; - -CreateSubscriptionRequest::CreateSubscriptionRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "CreateSubscription") { - setMethod(HttpRequest::Method::Post); -} - -CreateSubscriptionRequest::~CreateSubscriptionRequest() {} - -long CreateSubscriptionRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void CreateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string CreateSubscriptionRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void CreateSubscriptionRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string CreateSubscriptionRequest::getSecretNo() const { - return secretNo_; -} - -void CreateSubscriptionRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string CreateSubscriptionRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void CreateSubscriptionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string CreateSubscriptionRequest::getProdCode() const { - return prodCode_; -} - -void CreateSubscriptionRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -std::string CreateSubscriptionRequest::getBindToken() const { - return bindToken_; -} - -void CreateSubscriptionRequest::setBindToken(const std::string &bindToken) { - bindToken_ = bindToken; - setParameter(std::string("BindToken"), bindToken); -} - -long CreateSubscriptionRequest::getOwnerId() const { - return ownerId_; -} - -void CreateSubscriptionRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string CreateSubscriptionRequest::getPhoneNo() const { - return phoneNo_; -} - -void CreateSubscriptionRequest::setPhoneNo(const std::string &phoneNo) { - phoneNo_ = phoneNo; - setParameter(std::string("PhoneNo"), phoneNo); -} - -std::string CreateSubscriptionRequest::getPoolKey() const { - return poolKey_; -} - -void CreateSubscriptionRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/CreateSubscriptionResult.cc b/dyplsapi/src/model/CreateSubscriptionResult.cc deleted file mode 100644 index d11d007c8..000000000 --- a/dyplsapi/src/model/CreateSubscriptionResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -CreateSubscriptionResult::CreateSubscriptionResult() : - ServiceResult() -{} - -CreateSubscriptionResult::CreateSubscriptionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateSubscriptionResult::~CreateSubscriptionResult() -{} - -void CreateSubscriptionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["SubsId"].isNull()) - data_.subsId = dataNode["SubsId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string CreateSubscriptionResult::getMessage()const -{ - return message_; -} - -CreateSubscriptionResult::Data CreateSubscriptionResult::getData()const -{ - return data_; -} - -std::string CreateSubscriptionResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/GetFaceVerifyRequest.cc b/dyplsapi/src/model/GetFaceVerifyRequest.cc deleted file mode 100644 index 0318a6c61..000000000 --- a/dyplsapi/src/model/GetFaceVerifyRequest.cc +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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::Dyplsapi::Model::GetFaceVerifyRequest; - -GetFaceVerifyRequest::GetFaceVerifyRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "GetFaceVerify") { - setMethod(HttpRequest::Method::Post); -} - -GetFaceVerifyRequest::~GetFaceVerifyRequest() {} - -long GetFaceVerifyRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void GetFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string GetFaceVerifyRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void GetFaceVerifyRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string GetFaceVerifyRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void GetFaceVerifyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string GetFaceVerifyRequest::getVerifyToken() const { - return verifyToken_; -} - -void GetFaceVerifyRequest::setVerifyToken(const std::string &verifyToken) { - verifyToken_ = verifyToken; - setParameter(std::string("VerifyToken"), verifyToken); -} - -std::string GetFaceVerifyRequest::getProdCode() const { - return prodCode_; -} - -void GetFaceVerifyRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long GetFaceVerifyRequest::getOwnerId() const { - return ownerId_; -} - -void GetFaceVerifyRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/dyplsapi/src/model/GetFaceVerifyResult.cc b/dyplsapi/src/model/GetFaceVerifyResult.cc deleted file mode 100644 index 110db3f72..000000000 --- a/dyplsapi/src/model/GetFaceVerifyResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -GetFaceVerifyResult::GetFaceVerifyResult() : - ServiceResult() -{} - -GetFaceVerifyResult::GetFaceVerifyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFaceVerifyResult::~GetFaceVerifyResult() -{} - -void GetFaceVerifyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["VerifyResult"].isNull()) - data_.verifyResult = dataNode["VerifyResult"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetFaceVerifyResult::getMessage()const -{ - return message_; -} - -GetFaceVerifyResult::Data GetFaceVerifyResult::getData()const -{ - return data_; -} - -std::string GetFaceVerifyResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/GetSubscriptionDetailRequest.cc b/dyplsapi/src/model/GetSubscriptionDetailRequest.cc deleted file mode 100644 index f1f3c3fad..000000000 --- a/dyplsapi/src/model/GetSubscriptionDetailRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * 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::Dyplsapi::Model::GetSubscriptionDetailRequest; - -GetSubscriptionDetailRequest::GetSubscriptionDetailRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "GetSubscriptionDetail") { - setMethod(HttpRequest::Method::Post); -} - -GetSubscriptionDetailRequest::~GetSubscriptionDetailRequest() {} - -long GetSubscriptionDetailRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void GetSubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string GetSubscriptionDetailRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void GetSubscriptionDetailRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long GetSubscriptionDetailRequest::getSubsId() const { - return subsId_; -} - -void GetSubscriptionDetailRequest::setSubsId(long subsId) { - subsId_ = subsId; - setParameter(std::string("SubsId"), std::to_string(subsId)); -} - -std::string GetSubscriptionDetailRequest::getSecretNo() const { - return secretNo_; -} - -void GetSubscriptionDetailRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string GetSubscriptionDetailRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void GetSubscriptionDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string GetSubscriptionDetailRequest::getProdCode() const { - return prodCode_; -} - -void GetSubscriptionDetailRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long GetSubscriptionDetailRequest::getOwnerId() const { - return ownerId_; -} - -void GetSubscriptionDetailRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string GetSubscriptionDetailRequest::getPoolKey() const { - return poolKey_; -} - -void GetSubscriptionDetailRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/GetSubscriptionDetailResult.cc b/dyplsapi/src/model/GetSubscriptionDetailResult.cc deleted file mode 100644 index 24d2f03e0..000000000 --- a/dyplsapi/src/model/GetSubscriptionDetailResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -GetSubscriptionDetailResult::GetSubscriptionDetailResult() : - ServiceResult() -{} - -GetSubscriptionDetailResult::GetSubscriptionDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSubscriptionDetailResult::~GetSubscriptionDetailResult() -{} - -void GetSubscriptionDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["PhoneNo"].isNull()) - data_.phoneNo = dataNode["PhoneNo"].asString(); - if(!dataNode["City"].isNull()) - data_.city = dataNode["City"].asString(); - if(!dataNode["SwitchStatus"].isNull()) - data_.switchStatus = std::stoi(dataNode["SwitchStatus"].asString()); - if(!dataNode["SubsId"].isNull()) - data_.subsId = std::stol(dataNode["SubsId"].asString()); - if(!dataNode["SecretNo"].isNull()) - data_.secretNo = dataNode["SecretNo"].asString(); - if(!dataNode["Vendor"].isNull()) - data_.vendor = dataNode["Vendor"].asString(); - if(!dataNode["Province"].isNull()) - data_.province = dataNode["Province"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetSubscriptionDetailResult::getMessage()const -{ - return message_; -} - -GetSubscriptionDetailResult::Data GetSubscriptionDetailResult::getData()const -{ - return data_; -} - -std::string GetSubscriptionDetailResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/InitFaceVerifyRequest.cc b/dyplsapi/src/model/InitFaceVerifyRequest.cc deleted file mode 100644 index 1b253e82a..000000000 --- a/dyplsapi/src/model/InitFaceVerifyRequest.cc +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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::Dyplsapi::Model::InitFaceVerifyRequest; - -InitFaceVerifyRequest::InitFaceVerifyRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "InitFaceVerify") { - setMethod(HttpRequest::Method::Post); -} - -InitFaceVerifyRequest::~InitFaceVerifyRequest() {} - -long InitFaceVerifyRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void InitFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string InitFaceVerifyRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void InitFaceVerifyRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string InitFaceVerifyRequest::getMetaInfo() const { - return metaInfo_; -} - -void InitFaceVerifyRequest::setMetaInfo(const std::string &metaInfo) { - metaInfo_ = metaInfo; - setParameter(std::string("MetaInfo"), metaInfo); -} - -std::string InitFaceVerifyRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void InitFaceVerifyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string InitFaceVerifyRequest::getProdCode() const { - return prodCode_; -} - -void InitFaceVerifyRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long InitFaceVerifyRequest::getOwnerId() const { - return ownerId_; -} - -void InitFaceVerifyRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/dyplsapi/src/model/InitFaceVerifyResult.cc b/dyplsapi/src/model/InitFaceVerifyResult.cc deleted file mode 100644 index 19afbcb7a..000000000 --- a/dyplsapi/src/model/InitFaceVerifyResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -InitFaceVerifyResult::InitFaceVerifyResult() : - ServiceResult() -{} - -InitFaceVerifyResult::InitFaceVerifyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -InitFaceVerifyResult::~InitFaceVerifyResult() -{} - -void InitFaceVerifyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CertifyId"].isNull()) - data_.certifyId = dataNode["CertifyId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string InitFaceVerifyResult::getMessage()const -{ - return message_; -} - -InitFaceVerifyResult::Data InitFaceVerifyResult::getData()const -{ - return data_; -} - -std::string InitFaceVerifyResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/QueryCallStatusRequest.cc b/dyplsapi/src/model/QueryCallStatusRequest.cc deleted file mode 100644 index a7c3fe843..000000000 --- a/dyplsapi/src/model/QueryCallStatusRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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::Dyplsapi::Model::QueryCallStatusRequest; - -QueryCallStatusRequest::QueryCallStatusRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus") { - setMethod(HttpRequest::Method::Post); -} - -QueryCallStatusRequest::~QueryCallStatusRequest() {} - -long QueryCallStatusRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string QueryCallStatusRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void QueryCallStatusRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string QueryCallStatusRequest::getSubsId() const { - return subsId_; -} - -void QueryCallStatusRequest::setSubsId(const std::string &subsId) { - subsId_ = subsId; - setParameter(std::string("SubsId"), subsId); -} - -std::string QueryCallStatusRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void QueryCallStatusRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string QueryCallStatusRequest::getCallNo() const { - return callNo_; -} - -void QueryCallStatusRequest::setCallNo(const std::string &callNo) { - callNo_ = callNo; - setParameter(std::string("CallNo"), callNo); -} - -long QueryCallStatusRequest::getOwnerId() const { - return ownerId_; -} - -void QueryCallStatusRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string QueryCallStatusRequest::getPoolKey() const { - return poolKey_; -} - -void QueryCallStatusRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/QueryCallStatusResult.cc b/dyplsapi/src/model/QueryCallStatusResult.cc deleted file mode 100644 index 306c03f2c..000000000 --- a/dyplsapi/src/model/QueryCallStatusResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -QueryCallStatusResult::QueryCallStatusResult() : - ServiceResult() -{} - -QueryCallStatusResult::QueryCallStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryCallStatusResult::~QueryCallStatusResult() -{} - -void QueryCallStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto secretCallStatusDTONode = value["SecretCallStatusDTO"]; - if(!secretCallStatusDTONode["CalledNo"].isNull()) - secretCallStatusDTO_.calledNo = secretCallStatusDTONode["CalledNo"].asString(); - if(!secretCallStatusDTONode["Status"].isNull()) - secretCallStatusDTO_.status = std::stoi(secretCallStatusDTONode["Status"].asString()); - if(!secretCallStatusDTONode["Extension"].isNull()) - secretCallStatusDTO_.extension = secretCallStatusDTONode["Extension"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string QueryCallStatusResult::getMessage()const -{ - return message_; -} - -std::string QueryCallStatusResult::getCode()const -{ - return code_; -} - -QueryCallStatusResult::SecretCallStatusDTO QueryCallStatusResult::getSecretCallStatusDTO()const -{ - return secretCallStatusDTO_; -} - diff --git a/dyplsapi/src/model/UpdateDefaultBRequest.cc b/dyplsapi/src/model/UpdateDefaultBRequest.cc deleted file mode 100644 index 75c422b09..000000000 --- a/dyplsapi/src/model/UpdateDefaultBRequest.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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::Dyplsapi::Model::UpdateDefaultBRequest; - -UpdateDefaultBRequest::UpdateDefaultBRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateDefaultB") { - setMethod(HttpRequest::Method::Post); -} - -UpdateDefaultBRequest::~UpdateDefaultBRequest() {} - -long UpdateDefaultBRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdateDefaultBRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdateDefaultBRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdateDefaultBRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long UpdateDefaultBRequest::getSubsId() const { - return subsId_; -} - -void UpdateDefaultBRequest::setSubsId(long subsId) { - subsId_ = subsId; - setParameter(std::string("SubsId"), std::to_string(subsId)); -} - -std::string UpdateDefaultBRequest::getSecretNo() const { - return secretNo_; -} - -void UpdateDefaultBRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string UpdateDefaultBRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdateDefaultBRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdateDefaultBRequest::getProdCode() const { - return prodCode_; -} - -void UpdateDefaultBRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long UpdateDefaultBRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateDefaultBRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdateDefaultBRequest::getPhoneNo() const { - return phoneNo_; -} - -void UpdateDefaultBRequest::setPhoneNo(const std::string &phoneNo) { - phoneNo_ = phoneNo; - setParameter(std::string("PhoneNo"), phoneNo); -} - -std::string UpdateDefaultBRequest::getPoolKey() const { - return poolKey_; -} - -void UpdateDefaultBRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/UpdateDefaultBResult.cc b/dyplsapi/src/model/UpdateDefaultBResult.cc deleted file mode 100644 index 497609828..000000000 --- a/dyplsapi/src/model/UpdateDefaultBResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -UpdateDefaultBResult::UpdateDefaultBResult() : - ServiceResult() -{} - -UpdateDefaultBResult::UpdateDefaultBResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDefaultBResult::~UpdateDefaultBResult() -{} - -void UpdateDefaultBResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UpdateDefaultBResult::getMessage()const -{ - return message_; -} - -std::string UpdateDefaultBResult::getData()const -{ - return data_; -} - -std::string UpdateDefaultBResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/UpdatePhoneNumberRequest.cc b/dyplsapi/src/model/UpdatePhoneNumberRequest.cc deleted file mode 100644 index 2b92c3aab..000000000 --- a/dyplsapi/src/model/UpdatePhoneNumberRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * 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::Dyplsapi::Model::UpdatePhoneNumberRequest; - -UpdatePhoneNumberRequest::UpdatePhoneNumberRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneNumber") { - setMethod(HttpRequest::Method::Post); -} - -UpdatePhoneNumberRequest::~UpdatePhoneNumberRequest() {} - -long UpdatePhoneNumberRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdatePhoneNumberRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string UpdatePhoneNumberRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdatePhoneNumberRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long UpdatePhoneNumberRequest::getSubsId() const { - return subsId_; -} - -void UpdatePhoneNumberRequest::setSubsId(long subsId) { - subsId_ = subsId; - setParameter(std::string("SubsId"), std::to_string(subsId)); -} - -std::string UpdatePhoneNumberRequest::getSecretNo() const { - return secretNo_; -} - -void UpdatePhoneNumberRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string UpdatePhoneNumberRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdatePhoneNumberRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdatePhoneNumberRequest::getProdCode() const { - return prodCode_; -} - -void UpdatePhoneNumberRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -std::string UpdatePhoneNumberRequest::getBindToken() const { - return bindToken_; -} - -void UpdatePhoneNumberRequest::setBindToken(const std::string &bindToken) { - bindToken_ = bindToken; - setParameter(std::string("BindToken"), bindToken); -} - -long UpdatePhoneNumberRequest::getOwnerId() const { - return ownerId_; -} - -void UpdatePhoneNumberRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdatePhoneNumberRequest::getPoolKey() const { - return poolKey_; -} - -void UpdatePhoneNumberRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - -std::string UpdatePhoneNumberRequest::getNewPhoneNo() const { - return newPhoneNo_; -} - -void UpdatePhoneNumberRequest::setNewPhoneNo(const std::string &newPhoneNo) { - newPhoneNo_ = newPhoneNo; - setParameter(std::string("NewPhoneNo"), newPhoneNo); -} - diff --git a/dyplsapi/src/model/UpdatePhoneNumberResult.cc b/dyplsapi/src/model/UpdatePhoneNumberResult.cc deleted file mode 100644 index 582e6371f..000000000 --- a/dyplsapi/src/model/UpdatePhoneNumberResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -UpdatePhoneNumberResult::UpdatePhoneNumberResult() : - ServiceResult() -{} - -UpdatePhoneNumberResult::UpdatePhoneNumberResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdatePhoneNumberResult::~UpdatePhoneNumberResult() -{} - -void UpdatePhoneNumberResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UpdatePhoneNumberResult::getMessage()const -{ - return message_; -} - -std::string UpdatePhoneNumberResult::getData()const -{ - return data_; -} - -std::string UpdatePhoneNumberResult::getCode()const -{ - return code_; -} - diff --git a/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc b/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc deleted file mode 100644 index c7c386de3..000000000 --- a/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * 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::Dyplsapi::Model::UpdatePhoneSwitchRequest; - -UpdatePhoneSwitchRequest::UpdatePhoneSwitchRequest() - : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneSwitch") { - setMethod(HttpRequest::Method::Post); -} - -UpdatePhoneSwitchRequest::~UpdatePhoneSwitchRequest() {} - -long UpdatePhoneSwitchRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void UpdatePhoneSwitchRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -int UpdatePhoneSwitchRequest::getSwitchStatus() const { - return switchStatus_; -} - -void UpdatePhoneSwitchRequest::setSwitchStatus(int switchStatus) { - switchStatus_ = switchStatus; - setParameter(std::string("SwitchStatus"), std::to_string(switchStatus)); -} - -std::string UpdatePhoneSwitchRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void UpdatePhoneSwitchRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -long UpdatePhoneSwitchRequest::getSubsId() const { - return subsId_; -} - -void UpdatePhoneSwitchRequest::setSubsId(long subsId) { - subsId_ = subsId; - setParameter(std::string("SubsId"), std::to_string(subsId)); -} - -std::string UpdatePhoneSwitchRequest::getSecretNo() const { - return secretNo_; -} - -void UpdatePhoneSwitchRequest::setSecretNo(const std::string &secretNo) { - secretNo_ = secretNo; - setParameter(std::string("SecretNo"), secretNo); -} - -std::string UpdatePhoneSwitchRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void UpdatePhoneSwitchRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string UpdatePhoneSwitchRequest::getProdCode() const { - return prodCode_; -} - -void UpdatePhoneSwitchRequest::setProdCode(const std::string &prodCode) { - prodCode_ = prodCode; - setParameter(std::string("ProdCode"), prodCode); -} - -long UpdatePhoneSwitchRequest::getOwnerId() const { - return ownerId_; -} - -void UpdatePhoneSwitchRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::string UpdatePhoneSwitchRequest::getPoolKey() const { - return poolKey_; -} - -void UpdatePhoneSwitchRequest::setPoolKey(const std::string &poolKey) { - poolKey_ = poolKey; - setParameter(std::string("PoolKey"), poolKey); -} - diff --git a/dyplsapi/src/model/UpdatePhoneSwitchResult.cc b/dyplsapi/src/model/UpdatePhoneSwitchResult.cc deleted file mode 100644 index f91866d31..000000000 --- a/dyplsapi/src/model/UpdatePhoneSwitchResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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::Dyplsapi; -using namespace AlibabaCloud::Dyplsapi::Model; - -UpdatePhoneSwitchResult::UpdatePhoneSwitchResult() : - ServiceResult() -{} - -UpdatePhoneSwitchResult::UpdatePhoneSwitchResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdatePhoneSwitchResult::~UpdatePhoneSwitchResult() -{} - -void UpdatePhoneSwitchResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UpdatePhoneSwitchResult::getMessage()const -{ - return message_; -} - -std::string UpdatePhoneSwitchResult::getData()const -{ - return data_; -} - -std::string UpdatePhoneSwitchResult::getCode()const -{ - return code_; -} -