Publish sdk.

This commit is contained in:
sdk-team
2024-01-04 02:43:32 +00:00
parent 0d265770f7
commit ee2f3a43cf
14 changed files with 740 additions and 25 deletions

View File

@@ -44,6 +44,10 @@
#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"
@@ -102,6 +106,12 @@ 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;
@@ -164,6 +174,12 @@ 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

@@ -32,24 +32,27 @@ public:
~GetAuthTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOrigin() const;
void setOrigin(const std::string &origin);
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);
std::string getUrl() const;
void setUrl(const std::string &url);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string origin_;
std::string accessKeyId_;
std::string sceneCode_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string url_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Dypnsapi

View File

@@ -0,0 +1,78 @@
/*
* 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

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,62 @@
/*
* 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_