From 5b357e5604883dfe857119770a2f1aa552124888 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 26 Sep 2025 15:13:20 +0000 Subject: [PATCH] Publish sdk. --- VERSION | 2 +- dypnsapi/CMakeLists.txt | 8 - .../alibabacloud/dypnsapi/DypnsapiClient.h | 16 -- .../model/JyCreateVerifySchemeRequest.h | 78 ---------- .../model/JyCreateVerifySchemeResult.h | 59 ------- .../model/JyQueryAppInfoBySceneCodeRequest.h | 54 ------- .../model/JyQueryAppInfoBySceneCodeResult.h | 62 -------- .../dypnsapi/model/SendSmsVerifyCodeRequest.h | 12 ++ dypnsapi/src/DypnsapiClient.cc | 72 --------- .../src/model/JyCreateVerifySchemeRequest.cc | 144 ------------------ .../src/model/JyCreateVerifySchemeResult.cc | 66 -------- .../model/JyQueryAppInfoBySceneCodeRequest.cc | 72 --------- .../model/JyQueryAppInfoBySceneCodeResult.cc | 72 --------- .../src/model/SendSmsVerifyCodeRequest.cc | 36 +++++ 14 files changed, 49 insertions(+), 704 deletions(-) delete mode 100644 dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h delete mode 100644 dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h delete mode 100644 dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h delete mode 100644 dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h delete mode 100644 dypnsapi/src/model/JyCreateVerifySchemeRequest.cc delete mode 100644 dypnsapi/src/model/JyCreateVerifySchemeResult.cc delete mode 100644 dypnsapi/src/model/JyQueryAppInfoBySceneCodeRequest.cc delete mode 100644 dypnsapi/src/model/JyQueryAppInfoBySceneCodeResult.cc diff --git a/VERSION b/VERSION index ec6ab9d07..dc68a42aa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2109 \ No newline at end of file +1.36.2110 \ No newline at end of file diff --git a/dypnsapi/CMakeLists.txt b/dypnsapi/CMakeLists.txt index cc9ecf30b..3533003a7 100644 --- a/dypnsapi/CMakeLists.txt +++ b/dypnsapi/CMakeLists.txt @@ -43,10 +43,6 @@ set(dypnsapi_public_header_model include/alibabacloud/dypnsapi/model/GetPhoneWithTokenResult.h include/alibabacloud/dypnsapi/model/GetSmsAuthTokensRequest.h include/alibabacloud/dypnsapi/model/GetSmsAuthTokensResult.h - include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h - include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h - include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h - include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h include/alibabacloud/dypnsapi/model/QueryGateVerifyBillingPublicRequest.h include/alibabacloud/dypnsapi/model/QueryGateVerifyBillingPublicResult.h include/alibabacloud/dypnsapi/model/QueryGateVerifyStatisticPublicRequest.h @@ -88,10 +84,6 @@ set(dypnsapi_src src/model/GetPhoneWithTokenResult.cc src/model/GetSmsAuthTokensRequest.cc src/model/GetSmsAuthTokensResult.cc - src/model/JyCreateVerifySchemeRequest.cc - src/model/JyCreateVerifySchemeResult.cc - src/model/JyQueryAppInfoBySceneCodeRequest.cc - src/model/JyQueryAppInfoBySceneCodeResult.cc src/model/QueryGateVerifyBillingPublicRequest.cc src/model/QueryGateVerifyBillingPublicResult.cc src/model/QueryGateVerifyStatisticPublicRequest.cc diff --git a/dypnsapi/include/alibabacloud/dypnsapi/DypnsapiClient.h b/dypnsapi/include/alibabacloud/dypnsapi/DypnsapiClient.h index d69420064..d0114704a 100644 --- a/dypnsapi/include/alibabacloud/dypnsapi/DypnsapiClient.h +++ b/dypnsapi/include/alibabacloud/dypnsapi/DypnsapiClient.h @@ -44,10 +44,6 @@ #include "model/GetPhoneWithTokenResult.h" #include "model/GetSmsAuthTokensRequest.h" #include "model/GetSmsAuthTokensResult.h" -#include "model/JyCreateVerifySchemeRequest.h" -#include "model/JyCreateVerifySchemeResult.h" -#include "model/JyQueryAppInfoBySceneCodeRequest.h" -#include "model/JyQueryAppInfoBySceneCodeResult.h" #include "model/QueryGateVerifyBillingPublicRequest.h" #include "model/QueryGateVerifyBillingPublicResult.h" #include "model/QueryGateVerifyStatisticPublicRequest.h" @@ -106,12 +102,6 @@ namespace AlibabaCloud typedef Outcome GetSmsAuthTokensOutcome; typedef std::future GetSmsAuthTokensOutcomeCallable; typedef std::function&)> GetSmsAuthTokensAsyncHandler; - typedef Outcome JyCreateVerifySchemeOutcome; - typedef std::future JyCreateVerifySchemeOutcomeCallable; - typedef std::function&)> JyCreateVerifySchemeAsyncHandler; - typedef Outcome JyQueryAppInfoBySceneCodeOutcome; - typedef std::future JyQueryAppInfoBySceneCodeOutcomeCallable; - typedef std::function&)> JyQueryAppInfoBySceneCodeAsyncHandler; typedef Outcome QueryGateVerifyBillingPublicOutcome; typedef std::future QueryGateVerifyBillingPublicOutcomeCallable; typedef std::function&)> QueryGateVerifyBillingPublicAsyncHandler; @@ -174,12 +164,6 @@ namespace AlibabaCloud GetSmsAuthTokensOutcome getSmsAuthTokens(const Model::GetSmsAuthTokensRequest &request)const; void getSmsAuthTokensAsync(const Model::GetSmsAuthTokensRequest& request, const GetSmsAuthTokensAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSmsAuthTokensOutcomeCallable getSmsAuthTokensCallable(const Model::GetSmsAuthTokensRequest& request) const; - JyCreateVerifySchemeOutcome jyCreateVerifyScheme(const Model::JyCreateVerifySchemeRequest &request)const; - void jyCreateVerifySchemeAsync(const Model::JyCreateVerifySchemeRequest& request, const JyCreateVerifySchemeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - JyCreateVerifySchemeOutcomeCallable jyCreateVerifySchemeCallable(const Model::JyCreateVerifySchemeRequest& request) const; - JyQueryAppInfoBySceneCodeOutcome jyQueryAppInfoBySceneCode(const Model::JyQueryAppInfoBySceneCodeRequest &request)const; - void jyQueryAppInfoBySceneCodeAsync(const Model::JyQueryAppInfoBySceneCodeRequest& request, const JyQueryAppInfoBySceneCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - JyQueryAppInfoBySceneCodeOutcomeCallable jyQueryAppInfoBySceneCodeCallable(const Model::JyQueryAppInfoBySceneCodeRequest& request) const; QueryGateVerifyBillingPublicOutcome queryGateVerifyBillingPublic(const Model::QueryGateVerifyBillingPublicRequest &request)const; void queryGateVerifyBillingPublicAsync(const Model::QueryGateVerifyBillingPublicRequest& request, const QueryGateVerifyBillingPublicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryGateVerifyBillingPublicOutcomeCallable queryGateVerifyBillingPublicCallable(const Model::QueryGateVerifyBillingPublicRequest& request) const; diff --git a/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h b/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h deleted file mode 100644 index 421aa8fdd..000000000 --- a/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_ -#define ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dypnsapi { -namespace Model { -class ALIBABACLOUD_DYPNSAPI_EXPORT JyCreateVerifySchemeRequest : public RpcServiceRequest { -public: - JyCreateVerifySchemeRequest(); - ~JyCreateVerifySchemeRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getBundleId() const; - void setBundleId(const std::string &bundleId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getAppName() const; - void setAppName(const std::string &appName); - std::string getPackSign() const; - void setPackSign(const std::string &packSign); - std::string getPackName() const; - void setPackName(const std::string &packName); - long getCuApiCode() const; - void setCuApiCode(long cuApiCode); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - long getCtApiCode() const; - void setCtApiCode(long ctApiCode); - std::string getOsType() const; - void setOsType(const std::string &osType); - long getOwnerId() const; - void setOwnerId(long ownerId); - long getCmApiCode() const; - void setCmApiCode(long cmApiCode); - std::string getSchemeName() const; - void setSchemeName(const std::string &schemeName); - -private: - long resourceOwnerId_; - std::string bundleId_; - std::string accessKeyId_; - std::string appName_; - std::string packSign_; - std::string packName_; - long cuApiCode_; - std::string resourceOwnerAccount_; - long ctApiCode_; - std::string osType_; - long ownerId_; - long cmApiCode_; - std::string schemeName_; -}; -} // namespace Model -} // namespace Dypnsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_ diff --git a/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h b/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h deleted file mode 100644 index 549b42034..000000000 --- a/dypnsapi/include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.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_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMERESULT_H_ -#define ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dypnsapi - { - namespace Model - { - class ALIBABACLOUD_DYPNSAPI_EXPORT JyCreateVerifySchemeResult : public ServiceResult - { - public: - struct GateVerifySchemeData - { - std::string schemeCode; - }; - - - JyCreateVerifySchemeResult(); - explicit JyCreateVerifySchemeResult(const std::string &payload); - ~JyCreateVerifySchemeResult(); - std::string getMessage()const; - GateVerifySchemeData getGateVerifySchemeData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - GateVerifySchemeData gateVerifySchemeData_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMERESULT_H_ \ No newline at end of file diff --git a/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h b/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h deleted file mode 100644 index 8be4cc7e6..000000000 --- a/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h +++ /dev/null @@ -1,54 +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_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODEREQUEST_H_ -#define ALIBABACLOUD_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Dypnsapi { -namespace Model { -class ALIBABACLOUD_DYPNSAPI_EXPORT JyQueryAppInfoBySceneCodeRequest : public RpcServiceRequest { -public: - JyQueryAppInfoBySceneCodeRequest(); - ~JyQueryAppInfoBySceneCodeRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId() const; - void setAccessKeyId(const std::string &accessKeyId); - std::string getSceneCode() const; - void setSceneCode(const std::string &sceneCode); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string sceneCode_; - std::string resourceOwnerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Dypnsapi -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODEREQUEST_H_ diff --git a/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h b/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h deleted file mode 100644 index f9e012c33..000000000 --- a/dypnsapi/include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h +++ /dev/null @@ -1,62 +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_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODERESULT_H_ -#define ALIBABACLOUD_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dypnsapi - { - namespace Model - { - class ALIBABACLOUD_DYPNSAPI_EXPORT JyQueryAppInfoBySceneCodeResult : public ServiceResult - { - public: - struct Data - { - std::string ctAppKey; - std::string cmAppKey; - std::string ctAppId; - std::string cmAppId; - }; - - - JyQueryAppInfoBySceneCodeResult(); - explicit JyQueryAppInfoBySceneCodeResult(const std::string &payload); - ~JyQueryAppInfoBySceneCodeResult(); - 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_DYPNSAPI_MODEL_JYQUERYAPPINFOBYSCENECODERESULT_H_ \ No newline at end of file diff --git a/dypnsapi/include/alibabacloud/dypnsapi/model/SendSmsVerifyCodeRequest.h b/dypnsapi/include/alibabacloud/dypnsapi/model/SendSmsVerifyCodeRequest.h index cd2a4a82b..db0873ee9 100644 --- a/dypnsapi/include/alibabacloud/dypnsapi/model/SendSmsVerifyCodeRequest.h +++ b/dypnsapi/include/alibabacloud/dypnsapi/model/SendSmsVerifyCodeRequest.h @@ -36,14 +36,20 @@ public: void setCountryCode(const std::string &countryCode); std::string getPhoneNumber() const; void setPhoneNumber(const std::string &phoneNumber); + std::string getLowcodeTenantId() const; + void setLowcodeTenantId(const std::string &lowcodeTenantId); std::string getExtendFunction() const; void setExtendFunction(const std::string &extendFunction); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + std::string getLowcodePhysicAppName() const; + void setLowcodePhysicAppName(const std::string &lowcodePhysicAppName); std::string getSmsUpExtendCode() const; void setSmsUpExtendCode(const std::string &smsUpExtendCode); std::string getSignName() const; void setSignName(const std::string &signName); + long getAutoRetry() const; + void setAutoRetry(long autoRetry); std::string getRouteName() const; void setRouteName(const std::string &routeName); std::string getResourceOwnerAccount() const; @@ -54,6 +60,8 @@ public: void setOwnerId(long ownerId); bool getReturnVerifyCode() const; void setReturnVerifyCode(bool returnVerifyCode); + std::string getLowcodeLogicAppName() const; + void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName); long getCodeType() const; void setCodeType(long codeType); std::string getSchemeName() const; @@ -75,15 +83,19 @@ private: long resourceOwnerId_; std::string countryCode_; std::string phoneNumber_; + std::string lowcodeTenantId_; std::string extendFunction_; std::string accessKeyId_; + std::string lowcodePhysicAppName_; std::string smsUpExtendCode_; std::string signName_; + long autoRetry_; std::string routeName_; std::string resourceOwnerAccount_; long validTime_; long ownerId_; bool returnVerifyCode_; + std::string lowcodeLogicAppName_; long codeType_; std::string schemeName_; long duplicatePolicy_; diff --git a/dypnsapi/src/DypnsapiClient.cc b/dypnsapi/src/DypnsapiClient.cc index 6f1231726..10ef219fd 100644 --- a/dypnsapi/src/DypnsapiClient.cc +++ b/dypnsapi/src/DypnsapiClient.cc @@ -447,78 +447,6 @@ DypnsapiClient::GetSmsAuthTokensOutcomeCallable DypnsapiClient::getSmsAuthTokens return task->get_future(); } -DypnsapiClient::JyCreateVerifySchemeOutcome DypnsapiClient::jyCreateVerifyScheme(const JyCreateVerifySchemeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return JyCreateVerifySchemeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return JyCreateVerifySchemeOutcome(JyCreateVerifySchemeResult(outcome.result())); - else - return JyCreateVerifySchemeOutcome(outcome.error()); -} - -void DypnsapiClient::jyCreateVerifySchemeAsync(const JyCreateVerifySchemeRequest& request, const JyCreateVerifySchemeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, jyCreateVerifyScheme(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DypnsapiClient::JyCreateVerifySchemeOutcomeCallable DypnsapiClient::jyCreateVerifySchemeCallable(const JyCreateVerifySchemeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->jyCreateVerifyScheme(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -DypnsapiClient::JyQueryAppInfoBySceneCodeOutcome DypnsapiClient::jyQueryAppInfoBySceneCode(const JyQueryAppInfoBySceneCodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return JyQueryAppInfoBySceneCodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return JyQueryAppInfoBySceneCodeOutcome(JyQueryAppInfoBySceneCodeResult(outcome.result())); - else - return JyQueryAppInfoBySceneCodeOutcome(outcome.error()); -} - -void DypnsapiClient::jyQueryAppInfoBySceneCodeAsync(const JyQueryAppInfoBySceneCodeRequest& request, const JyQueryAppInfoBySceneCodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, jyQueryAppInfoBySceneCode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DypnsapiClient::JyQueryAppInfoBySceneCodeOutcomeCallable DypnsapiClient::jyQueryAppInfoBySceneCodeCallable(const JyQueryAppInfoBySceneCodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->jyQueryAppInfoBySceneCode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DypnsapiClient::QueryGateVerifyBillingPublicOutcome DypnsapiClient::queryGateVerifyBillingPublic(const QueryGateVerifyBillingPublicRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dypnsapi/src/model/JyCreateVerifySchemeRequest.cc b/dypnsapi/src/model/JyCreateVerifySchemeRequest.cc deleted file mode 100644 index ad6b1bb74..000000000 --- a/dypnsapi/src/model/JyCreateVerifySchemeRequest.cc +++ /dev/null @@ -1,144 +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::Dypnsapi::Model::JyCreateVerifySchemeRequest; - -JyCreateVerifySchemeRequest::JyCreateVerifySchemeRequest() - : RpcServiceRequest("dypnsapi", "2017-05-25", "JyCreateVerifyScheme") { - setMethod(HttpRequest::Method::Post); -} - -JyCreateVerifySchemeRequest::~JyCreateVerifySchemeRequest() {} - -long JyCreateVerifySchemeRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void JyCreateVerifySchemeRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string JyCreateVerifySchemeRequest::getBundleId() const { - return bundleId_; -} - -void JyCreateVerifySchemeRequest::setBundleId(const std::string &bundleId) { - bundleId_ = bundleId; - setParameter(std::string("BundleId"), bundleId); -} - -std::string JyCreateVerifySchemeRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void JyCreateVerifySchemeRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string JyCreateVerifySchemeRequest::getAppName() const { - return appName_; -} - -void JyCreateVerifySchemeRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); -} - -std::string JyCreateVerifySchemeRequest::getPackSign() const { - return packSign_; -} - -void JyCreateVerifySchemeRequest::setPackSign(const std::string &packSign) { - packSign_ = packSign; - setParameter(std::string("PackSign"), packSign); -} - -std::string JyCreateVerifySchemeRequest::getPackName() const { - return packName_; -} - -void JyCreateVerifySchemeRequest::setPackName(const std::string &packName) { - packName_ = packName; - setParameter(std::string("PackName"), packName); -} - -long JyCreateVerifySchemeRequest::getCuApiCode() const { - return cuApiCode_; -} - -void JyCreateVerifySchemeRequest::setCuApiCode(long cuApiCode) { - cuApiCode_ = cuApiCode; - setParameter(std::string("CuApiCode"), std::to_string(cuApiCode)); -} - -std::string JyCreateVerifySchemeRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void JyCreateVerifySchemeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -long JyCreateVerifySchemeRequest::getCtApiCode() const { - return ctApiCode_; -} - -void JyCreateVerifySchemeRequest::setCtApiCode(long ctApiCode) { - ctApiCode_ = ctApiCode; - setParameter(std::string("CtApiCode"), std::to_string(ctApiCode)); -} - -std::string JyCreateVerifySchemeRequest::getOsType() const { - return osType_; -} - -void JyCreateVerifySchemeRequest::setOsType(const std::string &osType) { - osType_ = osType; - setParameter(std::string("OsType"), osType); -} - -long JyCreateVerifySchemeRequest::getOwnerId() const { - return ownerId_; -} - -void JyCreateVerifySchemeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -long JyCreateVerifySchemeRequest::getCmApiCode() const { - return cmApiCode_; -} - -void JyCreateVerifySchemeRequest::setCmApiCode(long cmApiCode) { - cmApiCode_ = cmApiCode; - setParameter(std::string("CmApiCode"), std::to_string(cmApiCode)); -} - -std::string JyCreateVerifySchemeRequest::getSchemeName() const { - return schemeName_; -} - -void JyCreateVerifySchemeRequest::setSchemeName(const std::string &schemeName) { - schemeName_ = schemeName; - setParameter(std::string("SchemeName"), schemeName); -} - diff --git a/dypnsapi/src/model/JyCreateVerifySchemeResult.cc b/dypnsapi/src/model/JyCreateVerifySchemeResult.cc deleted file mode 100644 index 2cb0ec198..000000000 --- a/dypnsapi/src/model/JyCreateVerifySchemeResult.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::Dypnsapi; -using namespace AlibabaCloud::Dypnsapi::Model; - -JyCreateVerifySchemeResult::JyCreateVerifySchemeResult() : - ServiceResult() -{} - -JyCreateVerifySchemeResult::JyCreateVerifySchemeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -JyCreateVerifySchemeResult::~JyCreateVerifySchemeResult() -{} - -void JyCreateVerifySchemeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto gateVerifySchemeDataNode = value["GateVerifySchemeData"]; - if(!gateVerifySchemeDataNode["SchemeCode"].isNull()) - gateVerifySchemeData_.schemeCode = gateVerifySchemeDataNode["SchemeCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string JyCreateVerifySchemeResult::getMessage()const -{ - return message_; -} - -JyCreateVerifySchemeResult::GateVerifySchemeData JyCreateVerifySchemeResult::getGateVerifySchemeData()const -{ - return gateVerifySchemeData_; -} - -std::string JyCreateVerifySchemeResult::getCode()const -{ - return code_; -} - diff --git a/dypnsapi/src/model/JyQueryAppInfoBySceneCodeRequest.cc b/dypnsapi/src/model/JyQueryAppInfoBySceneCodeRequest.cc deleted file mode 100644 index 592ee50fd..000000000 --- a/dypnsapi/src/model/JyQueryAppInfoBySceneCodeRequest.cc +++ /dev/null @@ -1,72 +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::Dypnsapi::Model::JyQueryAppInfoBySceneCodeRequest; - -JyQueryAppInfoBySceneCodeRequest::JyQueryAppInfoBySceneCodeRequest() - : RpcServiceRequest("dypnsapi", "2017-05-25", "JyQueryAppInfoBySceneCode") { - setMethod(HttpRequest::Method::Post); -} - -JyQueryAppInfoBySceneCodeRequest::~JyQueryAppInfoBySceneCodeRequest() {} - -long JyQueryAppInfoBySceneCodeRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void JyQueryAppInfoBySceneCodeRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string JyQueryAppInfoBySceneCodeRequest::getAccessKeyId() const { - return accessKeyId_; -} - -void JyQueryAppInfoBySceneCodeRequest::setAccessKeyId(const std::string &accessKeyId) { - accessKeyId_ = accessKeyId; - setParameter(std::string("AccessKeyId"), accessKeyId); -} - -std::string JyQueryAppInfoBySceneCodeRequest::getSceneCode() const { - return sceneCode_; -} - -void JyQueryAppInfoBySceneCodeRequest::setSceneCode(const std::string &sceneCode) { - sceneCode_ = sceneCode; - setParameter(std::string("SceneCode"), sceneCode); -} - -std::string JyQueryAppInfoBySceneCodeRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void JyQueryAppInfoBySceneCodeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -long JyQueryAppInfoBySceneCodeRequest::getOwnerId() const { - return ownerId_; -} - -void JyQueryAppInfoBySceneCodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/dypnsapi/src/model/JyQueryAppInfoBySceneCodeResult.cc b/dypnsapi/src/model/JyQueryAppInfoBySceneCodeResult.cc deleted file mode 100644 index 440eafc76..000000000 --- a/dypnsapi/src/model/JyQueryAppInfoBySceneCodeResult.cc +++ /dev/null @@ -1,72 +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::Dypnsapi; -using namespace AlibabaCloud::Dypnsapi::Model; - -JyQueryAppInfoBySceneCodeResult::JyQueryAppInfoBySceneCodeResult() : - ServiceResult() -{} - -JyQueryAppInfoBySceneCodeResult::JyQueryAppInfoBySceneCodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -JyQueryAppInfoBySceneCodeResult::~JyQueryAppInfoBySceneCodeResult() -{} - -void JyQueryAppInfoBySceneCodeResult::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["CmAppId"].isNull()) - data_.cmAppId = dataNode["CmAppId"].asString(); - if(!dataNode["CmAppKey"].isNull()) - data_.cmAppKey = dataNode["CmAppKey"].asString(); - if(!dataNode["CtAppId"].isNull()) - data_.ctAppId = dataNode["CtAppId"].asString(); - if(!dataNode["CtAppKey"].isNull()) - data_.ctAppKey = dataNode["CtAppKey"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string JyQueryAppInfoBySceneCodeResult::getMessage()const -{ - return message_; -} - -JyQueryAppInfoBySceneCodeResult::Data JyQueryAppInfoBySceneCodeResult::getData()const -{ - return data_; -} - -std::string JyQueryAppInfoBySceneCodeResult::getCode()const -{ - return code_; -} - diff --git a/dypnsapi/src/model/SendSmsVerifyCodeRequest.cc b/dypnsapi/src/model/SendSmsVerifyCodeRequest.cc index 83f9b4160..d22f9a5ce 100644 --- a/dypnsapi/src/model/SendSmsVerifyCodeRequest.cc +++ b/dypnsapi/src/model/SendSmsVerifyCodeRequest.cc @@ -52,6 +52,15 @@ void SendSmsVerifyCodeRequest::setPhoneNumber(const std::string &phoneNumber) { setParameter(std::string("PhoneNumber"), phoneNumber); } +std::string SendSmsVerifyCodeRequest::getLowcodeTenantId() const { + return lowcodeTenantId_; +} + +void SendSmsVerifyCodeRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) { + lowcodeTenantId_ = lowcodeTenantId; + setParameter(std::string("LowcodeTenantId"), lowcodeTenantId); +} + std::string SendSmsVerifyCodeRequest::getExtendFunction() const { return extendFunction_; } @@ -70,6 +79,15 @@ void SendSmsVerifyCodeRequest::setAccessKeyId(const std::string &accessKeyId) { setParameter(std::string("AccessKeyId"), accessKeyId); } +std::string SendSmsVerifyCodeRequest::getLowcodePhysicAppName() const { + return lowcodePhysicAppName_; +} + +void SendSmsVerifyCodeRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) { + lowcodePhysicAppName_ = lowcodePhysicAppName; + setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName); +} + std::string SendSmsVerifyCodeRequest::getSmsUpExtendCode() const { return smsUpExtendCode_; } @@ -88,6 +106,15 @@ void SendSmsVerifyCodeRequest::setSignName(const std::string &signName) { setParameter(std::string("SignName"), signName); } +long SendSmsVerifyCodeRequest::getAutoRetry() const { + return autoRetry_; +} + +void SendSmsVerifyCodeRequest::setAutoRetry(long autoRetry) { + autoRetry_ = autoRetry; + setParameter(std::string("AutoRetry"), std::to_string(autoRetry)); +} + std::string SendSmsVerifyCodeRequest::getRouteName() const { return routeName_; } @@ -133,6 +160,15 @@ void SendSmsVerifyCodeRequest::setReturnVerifyCode(bool returnVerifyCode) { setParameter(std::string("ReturnVerifyCode"), returnVerifyCode ? "true" : "false"); } +std::string SendSmsVerifyCodeRequest::getLowcodeLogicAppName() const { + return lowcodeLogicAppName_; +} + +void SendSmsVerifyCodeRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) { + lowcodeLogicAppName_ = lowcodeLogicAppName; + setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName); +} + long SendSmsVerifyCodeRequest::getCodeType() const { return codeType_; }