Publish sdk.

This commit is contained in:
sdk-team
2025-09-26 15:13:20 +00:00
parent 479a50df98
commit 5b357e5604
14 changed files with 49 additions and 704 deletions

View File

@@ -1 +1 @@
1.36.2109
1.36.2110

View File

@@ -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

View File

@@ -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<Error, Model::GetSmsAuthTokensResult> GetSmsAuthTokensOutcome;
typedef std::future<GetSmsAuthTokensOutcome> GetSmsAuthTokensOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetSmsAuthTokensRequest&, const GetSmsAuthTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSmsAuthTokensAsyncHandler;
typedef Outcome<Error, Model::JyCreateVerifySchemeResult> JyCreateVerifySchemeOutcome;
typedef std::future<JyCreateVerifySchemeOutcome> JyCreateVerifySchemeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::JyCreateVerifySchemeRequest&, const JyCreateVerifySchemeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JyCreateVerifySchemeAsyncHandler;
typedef Outcome<Error, Model::JyQueryAppInfoBySceneCodeResult> JyQueryAppInfoBySceneCodeOutcome;
typedef std::future<JyQueryAppInfoBySceneCodeOutcome> JyQueryAppInfoBySceneCodeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::JyQueryAppInfoBySceneCodeRequest&, const JyQueryAppInfoBySceneCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JyQueryAppInfoBySceneCodeAsyncHandler;
typedef Outcome<Error, Model::QueryGateVerifyBillingPublicResult> QueryGateVerifyBillingPublicOutcome;
typedef std::future<QueryGateVerifyBillingPublicOutcome> QueryGateVerifyBillingPublicOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::QueryGateVerifyBillingPublicRequest&, const QueryGateVerifyBillingPublicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
QueryGateVerifyBillingPublicOutcomeCallable queryGateVerifyBillingPublicCallable(const Model::QueryGateVerifyBillingPublicRequest& request) const;

View File

@@ -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 <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
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_

View File

@@ -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 <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
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_

View File

@@ -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_;

View File

@@ -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<const AsyncCallerContext>& 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<std::packaged_task<JyCreateVerifySchemeOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<JyQueryAppInfoBySceneCodeOutcome()>>(
[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();

View File

@@ -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 <alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h>
#include <json/json.h>
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_;
}

View File

@@ -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 <alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h>
#include <json/json.h>
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_;
}

View File

@@ -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_;
}