增加号码开场白、命令等
This commit is contained in:
@@ -73,6 +73,8 @@ set(cams_public_header_model
|
||||
include/alibabacloud/cams/model/GetChatappVerifyCodeResult.h
|
||||
include/alibabacloud/cams/model/GetCommerceSettingRequest.h
|
||||
include/alibabacloud/cams/model/GetCommerceSettingResult.h
|
||||
include/alibabacloud/cams/model/GetConversationalAutomationRequest.h
|
||||
include/alibabacloud/cams/model/GetConversationalAutomationResult.h
|
||||
include/alibabacloud/cams/model/GetFlowRequest.h
|
||||
include/alibabacloud/cams/model/GetFlowResult.h
|
||||
include/alibabacloud/cams/model/GetFlowJSONAssestRequest.h
|
||||
@@ -91,6 +93,8 @@ set(cams_public_header_model
|
||||
include/alibabacloud/cams/model/GetPreValidatePhoneIdResult.h
|
||||
include/alibabacloud/cams/model/GetWhatsappConnectionCatalogRequest.h
|
||||
include/alibabacloud/cams/model/GetWhatsappConnectionCatalogResult.h
|
||||
include/alibabacloud/cams/model/GetWhatsappHealthStatusRequest.h
|
||||
include/alibabacloud/cams/model/GetWhatsappHealthStatusResult.h
|
||||
include/alibabacloud/cams/model/IsvGetAppIdRequest.h
|
||||
include/alibabacloud/cams/model/IsvGetAppIdResult.h
|
||||
include/alibabacloud/cams/model/ListChatappTemplateRequest.h
|
||||
@@ -129,6 +133,8 @@ set(cams_public_header_model
|
||||
include/alibabacloud/cams/model/UpdateAccountWebhookResult.h
|
||||
include/alibabacloud/cams/model/UpdateCommerceSettingRequest.h
|
||||
include/alibabacloud/cams/model/UpdateCommerceSettingResult.h
|
||||
include/alibabacloud/cams/model/UpdateConversationalAutomationRequest.h
|
||||
include/alibabacloud/cams/model/UpdateConversationalAutomationResult.h
|
||||
include/alibabacloud/cams/model/UpdateFlowJSONAssetRequest.h
|
||||
include/alibabacloud/cams/model/UpdateFlowJSONAssetResult.h
|
||||
include/alibabacloud/cams/model/UpdatePhoneEncryptionPublicKeyRequest.h
|
||||
@@ -192,6 +198,8 @@ set(cams_src
|
||||
src/model/GetChatappVerifyCodeResult.cc
|
||||
src/model/GetCommerceSettingRequest.cc
|
||||
src/model/GetCommerceSettingResult.cc
|
||||
src/model/GetConversationalAutomationRequest.cc
|
||||
src/model/GetConversationalAutomationResult.cc
|
||||
src/model/GetFlowRequest.cc
|
||||
src/model/GetFlowResult.cc
|
||||
src/model/GetFlowJSONAssestRequest.cc
|
||||
@@ -210,6 +218,8 @@ set(cams_src
|
||||
src/model/GetPreValidatePhoneIdResult.cc
|
||||
src/model/GetWhatsappConnectionCatalogRequest.cc
|
||||
src/model/GetWhatsappConnectionCatalogResult.cc
|
||||
src/model/GetWhatsappHealthStatusRequest.cc
|
||||
src/model/GetWhatsappHealthStatusResult.cc
|
||||
src/model/IsvGetAppIdRequest.cc
|
||||
src/model/IsvGetAppIdResult.cc
|
||||
src/model/ListChatappTemplateRequest.cc
|
||||
@@ -248,6 +258,8 @@ set(cams_src
|
||||
src/model/UpdateAccountWebhookResult.cc
|
||||
src/model/UpdateCommerceSettingRequest.cc
|
||||
src/model/UpdateCommerceSettingResult.cc
|
||||
src/model/UpdateConversationalAutomationRequest.cc
|
||||
src/model/UpdateConversationalAutomationResult.cc
|
||||
src/model/UpdateFlowJSONAssetRequest.cc
|
||||
src/model/UpdateFlowJSONAssetResult.cc
|
||||
src/model/UpdatePhoneEncryptionPublicKeyRequest.cc
|
||||
|
||||
@@ -74,6 +74,8 @@
|
||||
#include "model/GetChatappVerifyCodeResult.h"
|
||||
#include "model/GetCommerceSettingRequest.h"
|
||||
#include "model/GetCommerceSettingResult.h"
|
||||
#include "model/GetConversationalAutomationRequest.h"
|
||||
#include "model/GetConversationalAutomationResult.h"
|
||||
#include "model/GetFlowRequest.h"
|
||||
#include "model/GetFlowResult.h"
|
||||
#include "model/GetFlowJSONAssestRequest.h"
|
||||
@@ -92,6 +94,8 @@
|
||||
#include "model/GetPreValidatePhoneIdResult.h"
|
||||
#include "model/GetWhatsappConnectionCatalogRequest.h"
|
||||
#include "model/GetWhatsappConnectionCatalogResult.h"
|
||||
#include "model/GetWhatsappHealthStatusRequest.h"
|
||||
#include "model/GetWhatsappHealthStatusResult.h"
|
||||
#include "model/IsvGetAppIdRequest.h"
|
||||
#include "model/IsvGetAppIdResult.h"
|
||||
#include "model/ListChatappTemplateRequest.h"
|
||||
@@ -130,6 +134,8 @@
|
||||
#include "model/UpdateAccountWebhookResult.h"
|
||||
#include "model/UpdateCommerceSettingRequest.h"
|
||||
#include "model/UpdateCommerceSettingResult.h"
|
||||
#include "model/UpdateConversationalAutomationRequest.h"
|
||||
#include "model/UpdateConversationalAutomationResult.h"
|
||||
#include "model/UpdateFlowJSONAssetRequest.h"
|
||||
#include "model/UpdateFlowJSONAssetResult.h"
|
||||
#include "model/UpdatePhoneEncryptionPublicKeyRequest.h"
|
||||
@@ -225,6 +231,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetCommerceSettingResult> GetCommerceSettingOutcome;
|
||||
typedef std::future<GetCommerceSettingOutcome> GetCommerceSettingOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::GetCommerceSettingRequest&, const GetCommerceSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCommerceSettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConversationalAutomationResult> GetConversationalAutomationOutcome;
|
||||
typedef std::future<GetConversationalAutomationOutcome> GetConversationalAutomationOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::GetConversationalAutomationRequest&, const GetConversationalAutomationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationalAutomationAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetFlowResult> GetFlowOutcome;
|
||||
typedef std::future<GetFlowOutcome> GetFlowOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::GetFlowRequest&, const GetFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFlowAsyncHandler;
|
||||
@@ -252,6 +261,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetWhatsappConnectionCatalogResult> GetWhatsappConnectionCatalogOutcome;
|
||||
typedef std::future<GetWhatsappConnectionCatalogOutcome> GetWhatsappConnectionCatalogOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::GetWhatsappConnectionCatalogRequest&, const GetWhatsappConnectionCatalogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWhatsappConnectionCatalogAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWhatsappHealthStatusResult> GetWhatsappHealthStatusOutcome;
|
||||
typedef std::future<GetWhatsappHealthStatusOutcome> GetWhatsappHealthStatusOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::GetWhatsappHealthStatusRequest&, const GetWhatsappHealthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWhatsappHealthStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::IsvGetAppIdResult> IsvGetAppIdOutcome;
|
||||
typedef std::future<IsvGetAppIdOutcome> IsvGetAppIdOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::IsvGetAppIdRequest&, const IsvGetAppIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IsvGetAppIdAsyncHandler;
|
||||
@@ -309,6 +321,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateCommerceSettingResult> UpdateCommerceSettingOutcome;
|
||||
typedef std::future<UpdateCommerceSettingOutcome> UpdateCommerceSettingOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::UpdateCommerceSettingRequest&, const UpdateCommerceSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCommerceSettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateConversationalAutomationResult> UpdateConversationalAutomationOutcome;
|
||||
typedef std::future<UpdateConversationalAutomationOutcome> UpdateConversationalAutomationOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::UpdateConversationalAutomationRequest&, const UpdateConversationalAutomationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConversationalAutomationAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateFlowJSONAssetResult> UpdateFlowJSONAssetOutcome;
|
||||
typedef std::future<UpdateFlowJSONAssetOutcome> UpdateFlowJSONAssetOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::UpdateFlowJSONAssetRequest&, const UpdateFlowJSONAssetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFlowJSONAssetAsyncHandler;
|
||||
@@ -404,6 +419,9 @@ namespace AlibabaCloud
|
||||
GetCommerceSettingOutcome getCommerceSetting(const Model::GetCommerceSettingRequest &request)const;
|
||||
void getCommerceSettingAsync(const Model::GetCommerceSettingRequest& request, const GetCommerceSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCommerceSettingOutcomeCallable getCommerceSettingCallable(const Model::GetCommerceSettingRequest& request) const;
|
||||
GetConversationalAutomationOutcome getConversationalAutomation(const Model::GetConversationalAutomationRequest &request)const;
|
||||
void getConversationalAutomationAsync(const Model::GetConversationalAutomationRequest& request, const GetConversationalAutomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConversationalAutomationOutcomeCallable getConversationalAutomationCallable(const Model::GetConversationalAutomationRequest& request) const;
|
||||
GetFlowOutcome getFlow(const Model::GetFlowRequest &request)const;
|
||||
void getFlowAsync(const Model::GetFlowRequest& request, const GetFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetFlowOutcomeCallable getFlowCallable(const Model::GetFlowRequest& request) const;
|
||||
@@ -431,6 +449,9 @@ namespace AlibabaCloud
|
||||
GetWhatsappConnectionCatalogOutcome getWhatsappConnectionCatalog(const Model::GetWhatsappConnectionCatalogRequest &request)const;
|
||||
void getWhatsappConnectionCatalogAsync(const Model::GetWhatsappConnectionCatalogRequest& request, const GetWhatsappConnectionCatalogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWhatsappConnectionCatalogOutcomeCallable getWhatsappConnectionCatalogCallable(const Model::GetWhatsappConnectionCatalogRequest& request) const;
|
||||
GetWhatsappHealthStatusOutcome getWhatsappHealthStatus(const Model::GetWhatsappHealthStatusRequest &request)const;
|
||||
void getWhatsappHealthStatusAsync(const Model::GetWhatsappHealthStatusRequest& request, const GetWhatsappHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWhatsappHealthStatusOutcomeCallable getWhatsappHealthStatusCallable(const Model::GetWhatsappHealthStatusRequest& request) const;
|
||||
IsvGetAppIdOutcome isvGetAppId(const Model::IsvGetAppIdRequest &request)const;
|
||||
void isvGetAppIdAsync(const Model::IsvGetAppIdRequest& request, const IsvGetAppIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
IsvGetAppIdOutcomeCallable isvGetAppIdCallable(const Model::IsvGetAppIdRequest& request) const;
|
||||
@@ -488,6 +509,9 @@ namespace AlibabaCloud
|
||||
UpdateCommerceSettingOutcome updateCommerceSetting(const Model::UpdateCommerceSettingRequest &request)const;
|
||||
void updateCommerceSettingAsync(const Model::UpdateCommerceSettingRequest& request, const UpdateCommerceSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCommerceSettingOutcomeCallable updateCommerceSettingCallable(const Model::UpdateCommerceSettingRequest& request) const;
|
||||
UpdateConversationalAutomationOutcome updateConversationalAutomation(const Model::UpdateConversationalAutomationRequest &request)const;
|
||||
void updateConversationalAutomationAsync(const Model::UpdateConversationalAutomationRequest& request, const UpdateConversationalAutomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConversationalAutomationOutcomeCallable updateConversationalAutomationCallable(const Model::UpdateConversationalAutomationRequest& request) const;
|
||||
UpdateFlowJSONAssetOutcome updateFlowJSONAsset(const Model::UpdateFlowJSONAssetRequest &request)const;
|
||||
void updateFlowJSONAssetAsync(const Model::UpdateFlowJSONAssetRequest& request, const UpdateFlowJSONAssetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateFlowJSONAssetOutcomeCallable updateFlowJSONAssetCallable(const Model::UpdateFlowJSONAssetRequest& request) const;
|
||||
|
||||
@@ -30,28 +30,49 @@ class ALIBABACLOUD_CAMS_EXPORT AddChatappPhoneNumberRequest : public RpcServiceR
|
||||
public:
|
||||
AddChatappPhoneNumberRequest();
|
||||
~AddChatappPhoneNumberRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPreValidateId() const;
|
||||
void setPreValidateId(const std::string &preValidateId);
|
||||
std::string getVerifiedName() const;
|
||||
void setVerifiedName(const std::string &verifiedName);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getCc() const;
|
||||
void setCc(const std::string &cc);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string preValidateId_;
|
||||
std::string verifiedName_;
|
||||
std::string phoneNumber_;
|
||||
std::string apiCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string cc_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,17 +30,38 @@ class ALIBABACLOUD_CAMS_EXPORT ChatappBindWabaRequest : public RpcServiceRequest
|
||||
public:
|
||||
ChatappBindWabaRequest();
|
||||
~ChatappBindWabaRequest();
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getWabaId() const;
|
||||
void setWabaId(const std::string &wabaId);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
|
||||
private:
|
||||
std::string prodCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string wabaId_;
|
||||
std::string apiCode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -54,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,19 +30,40 @@ class ALIBABACLOUD_CAMS_EXPORT ChatappPhoneNumberRegisterRequest : public RpcSer
|
||||
public:
|
||||
ChatappPhoneNumberRegisterRequest();
|
||||
~ChatappPhoneNumberRegisterRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,16 +30,37 @@ class ALIBABACLOUD_CAMS_EXPORT ChatappSyncPhoneNumberRequest : public RpcService
|
||||
public:
|
||||
ChatappSyncPhoneNumberRequest();
|
||||
~ChatappSyncPhoneNumberRequest();
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
std::string prodCode_;
|
||||
std::string apiCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CAMS_EXPORT ChatappSyncPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumbersItem
|
||||
struct Content
|
||||
{
|
||||
std::string verifiedName;
|
||||
std::string status;
|
||||
@@ -52,18 +52,20 @@ namespace AlibabaCloud
|
||||
ChatappSyncPhoneNumberResult();
|
||||
explicit ChatappSyncPhoneNumberResult(const std::string &payload);
|
||||
~ChatappSyncPhoneNumberResult();
|
||||
std::vector<PhoneNumbersItem> getPhoneNumbers()const;
|
||||
std::vector<Content> getPhoneNumbers()const;
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PhoneNumbersItem> phoneNumbers_;
|
||||
std::vector<Content> phoneNumbers_;
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,22 +30,43 @@ class ALIBABACLOUD_CAMS_EXPORT ChatappVerifyAndRegisterRequest : public RpcServi
|
||||
public:
|
||||
ChatappVerifyAndRegisterRequest();
|
||||
~ChatappVerifyAndRegisterRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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 getVerifyCode() const;
|
||||
void setVerifyCode(const std::string &verifyCode);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string verifyCode_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,33 +30,54 @@ class ALIBABACLOUD_CAMS_EXPORT DeleteChatappTemplateRequest : public RpcServiceR
|
||||
public:
|
||||
DeleteChatappTemplateRequest();
|
||||
~DeleteChatappTemplateRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCustWabaId() const;
|
||||
void setCustWabaId(const std::string &custWabaId);
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
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 getTemplateType() const;
|
||||
void setTemplateType(const std::string &templateType);
|
||||
std::string getTemplateName() const;
|
||||
void setTemplateName(const std::string &templateName);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getIsvCode() const;
|
||||
void setIsvCode(const std::string &isvCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
std::string getTemplateCode() const;
|
||||
void setTemplateCode(const std::string &templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string custWabaId_;
|
||||
std::string language_;
|
||||
std::string apiCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string templateType_;
|
||||
std::string templateName_;
|
||||
std::string routeName_;
|
||||
std::string isvCode_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
std::string templateCode_;
|
||||
};
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,25 +30,46 @@ class ALIBABACLOUD_CAMS_EXPORT GetChatappVerifyCodeRequest : public RpcServiceRe
|
||||
public:
|
||||
GetChatappVerifyCodeRequest();
|
||||
~GetChatappVerifyCodeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getLowcodeTenantId() const;
|
||||
void setLowcodeTenantId(const std::string &lowcodeTenantId);
|
||||
std::string getLocale() const;
|
||||
void setLocale(const std::string &locale);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getMethod() const;
|
||||
void setMethod(const std::string &method);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string locale_;
|
||||
std::string apiCode_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string method_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,19 +30,40 @@ class ALIBABACLOUD_CAMS_EXPORT GetCommerceSettingRequest : public RpcServiceRequ
|
||||
public:
|
||||
GetCommerceSettingRequest();
|
||||
~GetCommerceSettingRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -42,16 +42,20 @@ namespace AlibabaCloud
|
||||
GetCommerceSettingResult();
|
||||
explicit GetCommerceSettingResult(const std::string &payload);
|
||||
~GetCommerceSettingResult();
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cams {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CAMS_EXPORT GetConversationalAutomationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetConversationalAutomationRequest();
|
||||
~GetConversationalAutomationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT GetConversationalAutomationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CommandsItem
|
||||
{
|
||||
std::string commandDescription;
|
||||
std::string commandName;
|
||||
};
|
||||
std::vector<std::string> prompts;
|
||||
std::vector<CommandsItem> commands;
|
||||
std::string phoneNumber;
|
||||
bool enableWelcomeMessage;
|
||||
};
|
||||
|
||||
|
||||
GetConversationalAutomationResult();
|
||||
explicit GetConversationalAutomationResult(const std::string &payload);
|
||||
~GetConversationalAutomationResult();
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_GETCONVERSATIONALAUTOMATIONRESULT_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_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cams {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CAMS_EXPORT GetWhatsappHealthStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetWhatsappHealthStatusRequest();
|
||||
~GetWhatsappHealthStatusRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNodeType() const;
|
||||
void setNodeType(const std::string &nodeType);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getWabaId() const;
|
||||
void setWabaId(const std::string &wabaId);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
std::string getTemplateCode() const;
|
||||
void setTemplateCode(const std::string &templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nodeType_;
|
||||
std::string phoneNumber_;
|
||||
std::string language_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string wabaId_;
|
||||
std::string custSpaceId_;
|
||||
std::string templateCode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT GetWhatsappHealthStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct EntitiesItem
|
||||
{
|
||||
struct ErrorsItem
|
||||
{
|
||||
std::string errorDescription;
|
||||
std::string possibleSolution;
|
||||
std::string errorCode;
|
||||
};
|
||||
std::string entityType;
|
||||
std::string templateCode;
|
||||
std::vector<EntitiesItem::ErrorsItem> errors;
|
||||
std::string language;
|
||||
std::string canSendMessage;
|
||||
std::string phoneNumber;
|
||||
std::string wabaId;
|
||||
std::string businessId;
|
||||
};
|
||||
std::string canSendMessage;
|
||||
std::vector<EntitiesItem> entities;
|
||||
};
|
||||
|
||||
|
||||
GetWhatsappHealthStatusResult();
|
||||
explicit GetWhatsappHealthStatusResult(const std::string &payload);
|
||||
~GetWhatsappHealthStatusResult();
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_GETWHATSAPPHEALTHSTATUSRESULT_H_
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string auditStatus;
|
||||
std::string category;
|
||||
std::string language;
|
||||
long lastUpdateTime;
|
||||
std::string templateName;
|
||||
std::string templateType;
|
||||
std::string reason;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_CAMS_EXPORT ModifyPhoneBusinessProfileRequest : public RpcSer
|
||||
public:
|
||||
ModifyPhoneBusinessProfileRequest();
|
||||
~ModifyPhoneBusinessProfileRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getAbout() const;
|
||||
@@ -38,14 +40,26 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
std::string getVertical() const;
|
||||
void setVertical(const std::string &vertical);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getEmail() const;
|
||||
void setEmail(const std::string &email);
|
||||
std::string getAddress() const;
|
||||
void setAddress(const std::string &address);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getProfilePictureUrl() const;
|
||||
void setProfilePictureUrl(const std::string &profilePictureUrl);
|
||||
std::string getCustSpaceId() const;
|
||||
@@ -54,14 +68,21 @@ public:
|
||||
void setWebsites(const std::vector<std::string> &websites);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string about_;
|
||||
std::string description_;
|
||||
std::string vertical_;
|
||||
std::string apiCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string email_;
|
||||
std::string address_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string profilePictureUrl_;
|
||||
std::string custSpaceId_;
|
||||
std::vector<std::string> websites_;
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,19 +30,40 @@ class ALIBABACLOUD_CAMS_EXPORT QueryPhoneBusinessProfileRequest : public RpcServ
|
||||
public:
|
||||
QueryPhoneBusinessProfileRequest();
|
||||
~QueryPhoneBusinessProfileRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -59,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,18 +30,39 @@ class ALIBABACLOUD_CAMS_EXPORT QueryWabaBusinessInfoRequest : public RpcServiceR
|
||||
public:
|
||||
QueryWabaBusinessInfoRequest();
|
||||
~QueryWabaBusinessInfoRequest();
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getWabaId() const;
|
||||
void setWabaId(const std::string &wabaId);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string wabaId_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -56,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,25 +30,46 @@ class ALIBABACLOUD_CAMS_EXPORT UpdateCommerceSettingRequest : public RpcServiceR
|
||||
public:
|
||||
UpdateCommerceSettingRequest();
|
||||
~UpdateCommerceSettingRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
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);
|
||||
bool getCatalogVisible() const;
|
||||
void setCatalogVisible(bool catalogVisible);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
bool getCartEnable() const;
|
||||
void setCartEnable(bool cartEnable);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
std::string apiCode_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
bool catalogVisible_;
|
||||
std::string routeName_;
|
||||
bool cartEnable_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -37,14 +37,18 @@ namespace AlibabaCloud
|
||||
UpdateCommerceSettingResult();
|
||||
explicit UpdateCommerceSettingResult(const std::string &payload);
|
||||
~UpdateCommerceSettingResult();
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cams {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CAMS_EXPORT UpdateConversationalAutomationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Commands {
|
||||
std::string commandDescription;
|
||||
std::string commandName;
|
||||
};
|
||||
UpdateConversationalAutomationRequest();
|
||||
~UpdateConversationalAutomationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
bool getEnableWelcomeMessage() const;
|
||||
void setEnableWelcomeMessage(bool enableWelcomeMessage);
|
||||
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 getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::vector<Commands> getCommands() const;
|
||||
void setCommands(const std::vector<Commands> &commands);
|
||||
std::vector<std::string> getPrompts() const;
|
||||
void setPrompts(const std::vector<std::string> &prompts);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string phoneNumber_;
|
||||
bool enableWelcomeMessage_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::vector<Commands> commands_;
|
||||
std::vector<std::string> prompts_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT UpdateConversationalAutomationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateConversationalAutomationResult();
|
||||
explicit UpdateConversationalAutomationResult(const std::string &payload);
|
||||
~UpdateConversationalAutomationResult();
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_UPDATECONVERSATIONALAUTOMATIONRESULT_H_
|
||||
@@ -987,6 +987,42 @@ CamsClient::GetCommerceSettingOutcomeCallable CamsClient::getCommerceSettingCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::GetConversationalAutomationOutcome CamsClient::getConversationalAutomation(const GetConversationalAutomationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetConversationalAutomationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetConversationalAutomationOutcome(GetConversationalAutomationResult(outcome.result()));
|
||||
else
|
||||
return GetConversationalAutomationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CamsClient::getConversationalAutomationAsync(const GetConversationalAutomationRequest& request, const GetConversationalAutomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getConversationalAutomation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CamsClient::GetConversationalAutomationOutcomeCallable CamsClient::getConversationalAutomationCallable(const GetConversationalAutomationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetConversationalAutomationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getConversationalAutomation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::GetFlowOutcome CamsClient::getFlow(const GetFlowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1347,42 @@ CamsClient::GetWhatsappConnectionCatalogOutcomeCallable CamsClient::getWhatsappC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::GetWhatsappHealthStatusOutcome CamsClient::getWhatsappHealthStatus(const GetWhatsappHealthStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWhatsappHealthStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWhatsappHealthStatusOutcome(GetWhatsappHealthStatusResult(outcome.result()));
|
||||
else
|
||||
return GetWhatsappHealthStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CamsClient::getWhatsappHealthStatusAsync(const GetWhatsappHealthStatusRequest& request, const GetWhatsappHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWhatsappHealthStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CamsClient::GetWhatsappHealthStatusOutcomeCallable CamsClient::getWhatsappHealthStatusCallable(const GetWhatsappHealthStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWhatsappHealthStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWhatsappHealthStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::IsvGetAppIdOutcome CamsClient::isvGetAppId(const IsvGetAppIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1995,6 +2067,42 @@ CamsClient::UpdateCommerceSettingOutcomeCallable CamsClient::updateCommerceSetti
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::UpdateConversationalAutomationOutcome CamsClient::updateConversationalAutomation(const UpdateConversationalAutomationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateConversationalAutomationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateConversationalAutomationOutcome(UpdateConversationalAutomationResult(outcome.result()));
|
||||
else
|
||||
return UpdateConversationalAutomationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CamsClient::updateConversationalAutomationAsync(const UpdateConversationalAutomationRequest& request, const UpdateConversationalAutomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateConversationalAutomation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CamsClient::UpdateConversationalAutomationOutcomeCallable CamsClient::updateConversationalAutomationCallable(const UpdateConversationalAutomationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateConversationalAutomationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateConversationalAutomation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CamsClient::UpdateFlowJSONAssetOutcome CamsClient::updateFlowJSONAsset(const UpdateFlowJSONAssetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,13 +25,22 @@ AddChatappPhoneNumberRequest::AddChatappPhoneNumberRequest()
|
||||
|
||||
AddChatappPhoneNumberRequest::~AddChatappPhoneNumberRequest() {}
|
||||
|
||||
long AddChatappPhoneNumberRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getPreValidateId() const {
|
||||
return preValidateId_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setPreValidateId(const std::string &preValidateId) {
|
||||
preValidateId_ = preValidateId;
|
||||
setBodyParameter(std::string("PreValidateId"), preValidateId);
|
||||
setParameter(std::string("PreValidateId"), preValidateId);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getVerifiedName() const {
|
||||
@@ -40,7 +49,7 @@ std::string AddChatappPhoneNumberRequest::getVerifiedName() const {
|
||||
|
||||
void AddChatappPhoneNumberRequest::setVerifiedName(const std::string &verifiedName) {
|
||||
verifiedName_ = verifiedName;
|
||||
setBodyParameter(std::string("VerifiedName"), verifiedName);
|
||||
setParameter(std::string("VerifiedName"), verifiedName);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getPhoneNumber() const {
|
||||
@@ -49,16 +58,52 @@ std::string AddChatappPhoneNumberRequest::getPhoneNumber() const {
|
||||
|
||||
void AddChatappPhoneNumberRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setBodyParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string AddChatappPhoneNumberRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void AddChatappPhoneNumberRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getCc() const {
|
||||
@@ -67,16 +112,34 @@ std::string AddChatappPhoneNumberRequest::getCc() const {
|
||||
|
||||
void AddChatappPhoneNumberRequest::setCc(const std::string &cc) {
|
||||
cc_ = cc;
|
||||
setBodyParameter(std::string("Cc"), cc);
|
||||
setParameter(std::string("Cc"), cc);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string AddChatappPhoneNumberRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void AddChatappPhoneNumberRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddChatappPhoneNumberRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void AddChatappPhoneNumberRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string AddChatappPhoneNumberRequest::getCustSpaceId() const {
|
||||
@@ -85,6 +148,6 @@ std::string AddChatappPhoneNumberRequest::getCustSpaceId() const {
|
||||
|
||||
void AddChatappPhoneNumberRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,14 @@ void AddChatappPhoneNumberResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string AddChatappPhoneNumberResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddChatappPhoneNumberResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,13 +25,85 @@ ChatappBindWabaRequest::ChatappBindWabaRequest()
|
||||
|
||||
ChatappBindWabaRequest::~ChatappBindWabaRequest() {}
|
||||
|
||||
std::string ChatappBindWabaRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
long ChatappBindWabaRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void ChatappBindWabaRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ChatappBindWabaRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getWabaId() const {
|
||||
@@ -40,15 +112,6 @@ std::string ChatappBindWabaRequest::getWabaId() const {
|
||||
|
||||
void ChatappBindWabaRequest::setWabaId(const std::string &wabaId) {
|
||||
wabaId_ = wabaId;
|
||||
setBodyParameter(std::string("WabaId"), wabaId);
|
||||
}
|
||||
|
||||
std::string ChatappBindWabaRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void ChatappBindWabaRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
setParameter(std::string("WabaId"), wabaId);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,12 +44,14 @@ void ChatappBindWabaResult::parse(const std::string &payload)
|
||||
data_.custSpaceId = dataNode["CustSpaceId"].asString();
|
||||
if(!dataNode["WabaId"].isNull())
|
||||
data_.wabaId = dataNode["WabaId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -73,3 +75,8 @@ std::string ChatappBindWabaResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ChatappBindWabaResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,31 +25,94 @@ ChatappPhoneNumberRegisterRequest::ChatappPhoneNumberRegisterRequest()
|
||||
|
||||
ChatappPhoneNumberRegisterRequest::~ChatappPhoneNumberRegisterRequest() {}
|
||||
|
||||
long ChatappPhoneNumberRegisterRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setBodyParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string ChatappPhoneNumberRegisterRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void ChatappPhoneNumberRegisterRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string ChatappPhoneNumberRegisterRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void ChatappPhoneNumberRegisterRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ChatappPhoneNumberRegisterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappPhoneNumberRegisterRequest::getCustSpaceId() const {
|
||||
@@ -58,6 +121,6 @@ std::string ChatappPhoneNumberRegisterRequest::getCustSpaceId() const {
|
||||
|
||||
void ChatappPhoneNumberRegisterRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,14 @@ void ChatappPhoneNumberRegisterResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string ChatappPhoneNumberRegisterResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ChatappPhoneNumberRegisterResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,22 +25,85 @@ ChatappSyncPhoneNumberRequest::ChatappSyncPhoneNumberRequest()
|
||||
|
||||
ChatappSyncPhoneNumberRequest::~ChatappSyncPhoneNumberRequest() {}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
long ChatappSyncPhoneNumberRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void ChatappSyncPhoneNumberRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string ChatappSyncPhoneNumberRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void ChatappSyncPhoneNumberRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ChatappSyncPhoneNumberRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void ChatappSyncPhoneNumberRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappSyncPhoneNumberRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -39,46 +39,48 @@ void ChatappSyncPhoneNumberResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhoneNumbersNode = value["PhoneNumbers"]["phoneNumbersItem"];
|
||||
for (auto valuePhoneNumbersphoneNumbersItem : allPhoneNumbersNode)
|
||||
auto allPhoneNumbersNode = value["PhoneNumbers"]["content"];
|
||||
for (auto valuePhoneNumberscontent : allPhoneNumbersNode)
|
||||
{
|
||||
PhoneNumbersItem phoneNumbersObject;
|
||||
if(!valuePhoneNumbersphoneNumbersItem["UpQueue"].isNull())
|
||||
phoneNumbersObject.upQueue = valuePhoneNumbersphoneNumbersItem["UpQueue"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["PhoneNumber"].isNull())
|
||||
phoneNumbersObject.phoneNumber = valuePhoneNumbersphoneNumbersItem["PhoneNumber"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["StatusQueue"].isNull())
|
||||
phoneNumbersObject.statusQueue = valuePhoneNumbersphoneNumbersItem["StatusQueue"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["VerifiedName"].isNull())
|
||||
phoneNumbersObject.verifiedName = valuePhoneNumbersphoneNumbersItem["VerifiedName"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["StatusCallbackUrl"].isNull())
|
||||
phoneNumbersObject.statusCallbackUrl = valuePhoneNumbersphoneNumbersItem["StatusCallbackUrl"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["UpCallbackUrl"].isNull())
|
||||
phoneNumbersObject.upCallbackUrl = valuePhoneNumbersphoneNumbersItem["UpCallbackUrl"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["QualityRating"].isNull())
|
||||
phoneNumbersObject.qualityRating = valuePhoneNumbersphoneNumbersItem["QualityRating"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["Status"].isNull())
|
||||
phoneNumbersObject.status = valuePhoneNumbersphoneNumbersItem["Status"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["CodeVerificationStatus"].isNull())
|
||||
phoneNumbersObject.codeVerificationStatus = valuePhoneNumbersphoneNumbersItem["CodeVerificationStatus"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["NameStatus"].isNull())
|
||||
phoneNumbersObject.nameStatus = valuePhoneNumbersphoneNumbersItem["NameStatus"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["MessagingLimitTier"].isNull())
|
||||
phoneNumbersObject.messagingLimitTier = valuePhoneNumbersphoneNumbersItem["MessagingLimitTier"].asString();
|
||||
if(!valuePhoneNumbersphoneNumbersItem["NewNameStatus"].isNull())
|
||||
phoneNumbersObject.newNameStatus = valuePhoneNumbersphoneNumbersItem["NewNameStatus"].asString();
|
||||
Content phoneNumbersObject;
|
||||
if(!valuePhoneNumberscontent["VerifiedName"].isNull())
|
||||
phoneNumbersObject.verifiedName = valuePhoneNumberscontent["VerifiedName"].asString();
|
||||
if(!valuePhoneNumberscontent["Status"].isNull())
|
||||
phoneNumbersObject.status = valuePhoneNumberscontent["Status"].asString();
|
||||
if(!valuePhoneNumberscontent["QualityRating"].isNull())
|
||||
phoneNumbersObject.qualityRating = valuePhoneNumberscontent["QualityRating"].asString();
|
||||
if(!valuePhoneNumberscontent["CodeVerificationStatus"].isNull())
|
||||
phoneNumbersObject.codeVerificationStatus = valuePhoneNumberscontent["CodeVerificationStatus"].asString();
|
||||
if(!valuePhoneNumberscontent["NewNameStatus"].isNull())
|
||||
phoneNumbersObject.newNameStatus = valuePhoneNumberscontent["NewNameStatus"].asString();
|
||||
if(!valuePhoneNumberscontent["PhoneNumber"].isNull())
|
||||
phoneNumbersObject.phoneNumber = valuePhoneNumberscontent["PhoneNumber"].asString();
|
||||
if(!valuePhoneNumberscontent["StatusQueue"].isNull())
|
||||
phoneNumbersObject.statusQueue = valuePhoneNumberscontent["StatusQueue"].asString();
|
||||
if(!valuePhoneNumberscontent["UpQueue"].isNull())
|
||||
phoneNumbersObject.upQueue = valuePhoneNumberscontent["UpQueue"].asString();
|
||||
if(!valuePhoneNumberscontent["NameStatus"].isNull())
|
||||
phoneNumbersObject.nameStatus = valuePhoneNumberscontent["NameStatus"].asString();
|
||||
if(!valuePhoneNumberscontent["UpCallbackUrl"].isNull())
|
||||
phoneNumbersObject.upCallbackUrl = valuePhoneNumberscontent["UpCallbackUrl"].asString();
|
||||
if(!valuePhoneNumberscontent["MessagingLimitTier"].isNull())
|
||||
phoneNumbersObject.messagingLimitTier = valuePhoneNumberscontent["MessagingLimitTier"].asString();
|
||||
if(!valuePhoneNumberscontent["StatusCallbackUrl"].isNull())
|
||||
phoneNumbersObject.statusCallbackUrl = valuePhoneNumberscontent["StatusCallbackUrl"].asString();
|
||||
phoneNumbers_.push_back(phoneNumbersObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<ChatappSyncPhoneNumberResult::PhoneNumbersItem> ChatappSyncPhoneNumberResult::getPhoneNumbers()const
|
||||
std::vector<ChatappSyncPhoneNumberResult::Content> ChatappSyncPhoneNumberResult::getPhoneNumbers()const
|
||||
{
|
||||
return phoneNumbers_;
|
||||
}
|
||||
@@ -98,3 +100,8 @@ std::string ChatappSyncPhoneNumberResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ChatappSyncPhoneNumberResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,13 +25,58 @@ ChatappVerifyAndRegisterRequest::ChatappVerifyAndRegisterRequest()
|
||||
|
||||
ChatappVerifyAndRegisterRequest::~ChatappVerifyAndRegisterRequest() {}
|
||||
|
||||
long ChatappVerifyAndRegisterRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setBodyParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getVerifyCode() const {
|
||||
@@ -40,25 +85,43 @@ std::string ChatappVerifyAndRegisterRequest::getVerifyCode() const {
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setVerifyCode(const std::string &verifyCode) {
|
||||
verifyCode_ = verifyCode;
|
||||
setBodyParameter(std::string("VerifyCode"), verifyCode);
|
||||
setParameter(std::string("VerifyCode"), verifyCode);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string ChatappVerifyAndRegisterRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void ChatappVerifyAndRegisterRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string ChatappVerifyAndRegisterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void ChatappVerifyAndRegisterRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ChatappVerifyAndRegisterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string ChatappVerifyAndRegisterRequest::getCustSpaceId() const {
|
||||
@@ -67,6 +130,6 @@ std::string ChatappVerifyAndRegisterRequest::getCustSpaceId() const {
|
||||
|
||||
void ChatappVerifyAndRegisterRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,14 @@ void ChatappVerifyAndRegisterResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string ChatappVerifyAndRegisterResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ChatappVerifyAndRegisterResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ DeleteChatappTemplateRequest::DeleteChatappTemplateRequest()
|
||||
|
||||
DeleteChatappTemplateRequest::~DeleteChatappTemplateRequest() {}
|
||||
|
||||
long DeleteChatappTemplateRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getCustWabaId() const {
|
||||
return custWabaId_;
|
||||
}
|
||||
@@ -43,13 +52,40 @@ void DeleteChatappTemplateRequest::setLanguage(const std::string &language) {
|
||||
setParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string DeleteChatappTemplateRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void DeleteChatappTemplateRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getTemplateType() const {
|
||||
@@ -70,6 +106,15 @@ void DeleteChatappTemplateRequest::setTemplateName(const std::string &templateNa
|
||||
setParameter(std::string("TemplateName"), templateName);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getIsvCode() const {
|
||||
return isvCode_;
|
||||
}
|
||||
@@ -79,13 +124,31 @@ void DeleteChatappTemplateRequest::setIsvCode(const std::string &isvCode) {
|
||||
setParameter(std::string("IsvCode"), isvCode);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string DeleteChatappTemplateRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void DeleteChatappTemplateRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteChatappTemplateRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void DeleteChatappTemplateRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string DeleteChatappTemplateRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -39,12 +39,14 @@ void DeleteChatappTemplateResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string DeleteChatappTemplateResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DeleteChatappTemplateResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,13 +25,31 @@ GetChatappVerifyCodeRequest::GetChatappVerifyCodeRequest()
|
||||
|
||||
GetChatappVerifyCodeRequest::~GetChatappVerifyCodeRequest() {}
|
||||
|
||||
long GetChatappVerifyCodeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setBodyParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getLocale() const {
|
||||
@@ -40,16 +58,43 @@ std::string GetChatappVerifyCodeRequest::getLocale() const {
|
||||
|
||||
void GetChatappVerifyCodeRequest::setLocale(const std::string &locale) {
|
||||
locale_ = locale;
|
||||
setBodyParameter(std::string("Locale"), locale);
|
||||
setParameter(std::string("Locale"), locale);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string GetChatappVerifyCodeRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void GetChatappVerifyCodeRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getMethod() const {
|
||||
@@ -58,16 +103,34 @@ std::string GetChatappVerifyCodeRequest::getMethod() const {
|
||||
|
||||
void GetChatappVerifyCodeRequest::setMethod(const std::string &method) {
|
||||
method_ = method;
|
||||
setBodyParameter(std::string("Method"), method);
|
||||
setParameter(std::string("Method"), method);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string GetChatappVerifyCodeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void GetChatappVerifyCodeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetChatappVerifyCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void GetChatappVerifyCodeRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string GetChatappVerifyCodeRequest::getCustSpaceId() const {
|
||||
@@ -76,6 +139,6 @@ std::string GetChatappVerifyCodeRequest::getCustSpaceId() const {
|
||||
|
||||
void GetChatappVerifyCodeRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,14 @@ void GetChatappVerifyCodeResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string GetChatappVerifyCodeResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetChatappVerifyCodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ GetCommerceSettingRequest::GetCommerceSettingRequest()
|
||||
|
||||
GetCommerceSettingRequest::~GetCommerceSettingRequest() {}
|
||||
|
||||
long GetCommerceSettingRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
@@ -34,22 +43,76 @@ void GetCommerceSettingRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string GetCommerceSettingRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void GetCommerceSettingRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string GetCommerceSettingRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void GetCommerceSettingRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetCommerceSettingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void GetCommerceSettingRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -44,13 +44,22 @@ void GetCommerceSettingResult::parse(const std::string &payload)
|
||||
data_.cartEnable = dataNode["CartEnable"].asString() == "true";
|
||||
if(!dataNode["CatalogVisible"].isNull())
|
||||
data_.catalogVisible = dataNode["CatalogVisible"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string GetCommerceSettingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
@@ -66,3 +75,8 @@ std::string GetCommerceSettingResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetCommerceSettingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
126
cams/src/model/GetConversationalAutomationRequest.cc
Normal file
126
cams/src/model/GetConversationalAutomationRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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/cams/model/GetConversationalAutomationRequest.h>
|
||||
|
||||
using AlibabaCloud::Cams::Model::GetConversationalAutomationRequest;
|
||||
|
||||
GetConversationalAutomationRequest::GetConversationalAutomationRequest()
|
||||
: RpcServiceRequest("cams", "2020-06-06", "GetConversationalAutomation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetConversationalAutomationRequest::~GetConversationalAutomationRequest() {}
|
||||
|
||||
long GetConversationalAutomationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetConversationalAutomationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationRequest::getCustSpaceId() const {
|
||||
return custSpaceId_;
|
||||
}
|
||||
|
||||
void GetConversationalAutomationRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
95
cams/src/model/GetConversationalAutomationResult.cc
Normal file
95
cams/src/model/GetConversationalAutomationResult.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cams/model/GetConversationalAutomationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cams;
|
||||
using namespace AlibabaCloud::Cams::Model;
|
||||
|
||||
GetConversationalAutomationResult::GetConversationalAutomationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetConversationalAutomationResult::GetConversationalAutomationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetConversationalAutomationResult::~GetConversationalAutomationResult()
|
||||
{}
|
||||
|
||||
void GetConversationalAutomationResult::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["PhoneNumber"].isNull())
|
||||
data_.phoneNumber = dataNode["PhoneNumber"].asString();
|
||||
if(!dataNode["EnableWelcomeMessage"].isNull())
|
||||
data_.enableWelcomeMessage = dataNode["EnableWelcomeMessage"].asString() == "true";
|
||||
auto allCommandsNode = dataNode["Commands"]["commandsItem"];
|
||||
for (auto dataNodeCommandscommandsItem : allCommandsNode)
|
||||
{
|
||||
Data::CommandsItem commandsItemObject;
|
||||
if(!dataNodeCommandscommandsItem["CommandDescription"].isNull())
|
||||
commandsItemObject.commandDescription = dataNodeCommandscommandsItem["CommandDescription"].asString();
|
||||
if(!dataNodeCommandscommandsItem["CommandName"].isNull())
|
||||
commandsItemObject.commandName = dataNodeCommandscommandsItem["CommandName"].asString();
|
||||
data_.commands.push_back(commandsItemObject);
|
||||
}
|
||||
auto allPrompts = dataNode["Prompts"]["prompts"];
|
||||
for (auto value : allPrompts)
|
||||
data_.prompts.push_back(value.asString());
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetConversationalAutomationResult::Data GetConversationalAutomationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetConversationalAutomationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetConversationalAutomationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
162
cams/src/model/GetWhatsappHealthStatusRequest.cc
Normal file
162
cams/src/model/GetWhatsappHealthStatusRequest.cc
Normal file
@@ -0,0 +1,162 @@
|
||||
/*
|
||||
* 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/cams/model/GetWhatsappHealthStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Cams::Model::GetWhatsappHealthStatusRequest;
|
||||
|
||||
GetWhatsappHealthStatusRequest::GetWhatsappHealthStatusRequest()
|
||||
: RpcServiceRequest("cams", "2020-06-06", "GetWhatsappHealthStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWhatsappHealthStatusRequest::~GetWhatsappHealthStatusRequest() {}
|
||||
|
||||
long GetWhatsappHealthStatusRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getNodeType() const {
|
||||
return nodeType_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setNodeType(const std::string &nodeType) {
|
||||
nodeType_ = nodeType;
|
||||
setParameter(std::string("NodeType"), nodeType);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetWhatsappHealthStatusRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getWabaId() const {
|
||||
return wabaId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setWabaId(const std::string &wabaId) {
|
||||
wabaId_ = wabaId;
|
||||
setParameter(std::string("WabaId"), wabaId);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getCustSpaceId() const {
|
||||
return custSpaceId_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusRequest::getTemplateCode() const {
|
||||
return templateCode_;
|
||||
}
|
||||
|
||||
void GetWhatsappHealthStatusRequest::setTemplateCode(const std::string &templateCode) {
|
||||
templateCode_ = templateCode;
|
||||
setParameter(std::string("TemplateCode"), templateCode);
|
||||
}
|
||||
|
||||
112
cams/src/model/GetWhatsappHealthStatusResult.cc
Normal file
112
cams/src/model/GetWhatsappHealthStatusResult.cc
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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/cams/model/GetWhatsappHealthStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cams;
|
||||
using namespace AlibabaCloud::Cams::Model;
|
||||
|
||||
GetWhatsappHealthStatusResult::GetWhatsappHealthStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWhatsappHealthStatusResult::GetWhatsappHealthStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWhatsappHealthStatusResult::~GetWhatsappHealthStatusResult()
|
||||
{}
|
||||
|
||||
void GetWhatsappHealthStatusResult::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["CanSendMessage"].isNull())
|
||||
data_.canSendMessage = dataNode["CanSendMessage"].asString();
|
||||
auto allEntitiesNode = dataNode["Entities"]["entitiesItem"];
|
||||
for (auto dataNodeEntitiesentitiesItem : allEntitiesNode)
|
||||
{
|
||||
Data::EntitiesItem entitiesItemObject;
|
||||
if(!dataNodeEntitiesentitiesItem["EntityType"].isNull())
|
||||
entitiesItemObject.entityType = dataNodeEntitiesentitiesItem["EntityType"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["TemplateCode"].isNull())
|
||||
entitiesItemObject.templateCode = dataNodeEntitiesentitiesItem["TemplateCode"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["Language"].isNull())
|
||||
entitiesItemObject.language = dataNodeEntitiesentitiesItem["Language"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["CanSendMessage"].isNull())
|
||||
entitiesItemObject.canSendMessage = dataNodeEntitiesentitiesItem["CanSendMessage"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["PhoneNumber"].isNull())
|
||||
entitiesItemObject.phoneNumber = dataNodeEntitiesentitiesItem["PhoneNumber"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["WabaId"].isNull())
|
||||
entitiesItemObject.wabaId = dataNodeEntitiesentitiesItem["WabaId"].asString();
|
||||
if(!dataNodeEntitiesentitiesItem["BusinessId"].isNull())
|
||||
entitiesItemObject.businessId = dataNodeEntitiesentitiesItem["BusinessId"].asString();
|
||||
auto allErrorsNode = dataNodeEntitiesentitiesItem["Errors"]["errorsItem"];
|
||||
for (auto dataNodeEntitiesentitiesItemErrorserrorsItem : allErrorsNode)
|
||||
{
|
||||
Data::EntitiesItem::ErrorsItem errorsObject;
|
||||
if(!dataNodeEntitiesentitiesItemErrorserrorsItem["ErrorDescription"].isNull())
|
||||
errorsObject.errorDescription = dataNodeEntitiesentitiesItemErrorserrorsItem["ErrorDescription"].asString();
|
||||
if(!dataNodeEntitiesentitiesItemErrorserrorsItem["PossibleSolution"].isNull())
|
||||
errorsObject.possibleSolution = dataNodeEntitiesentitiesItemErrorserrorsItem["PossibleSolution"].asString();
|
||||
if(!dataNodeEntitiesentitiesItemErrorserrorsItem["ErrorCode"].isNull())
|
||||
errorsObject.errorCode = dataNodeEntitiesentitiesItemErrorserrorsItem["ErrorCode"].asString();
|
||||
entitiesItemObject.errors.push_back(errorsObject);
|
||||
}
|
||||
data_.entities.push_back(entitiesItemObject);
|
||||
}
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetWhatsappHealthStatusResult::Data GetWhatsappHealthStatusResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetWhatsappHealthStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetWhatsappHealthStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ void ListChatappTemplateResult::parse(const std::string &payload)
|
||||
listTemplateObject.templateType = valueListTemplatetemplate["TemplateType"].asString();
|
||||
if(!valueListTemplatetemplate["Reason"].isNull())
|
||||
listTemplateObject.reason = valueListTemplatetemplate["Reason"].asString();
|
||||
if(!valueListTemplatetemplate["LastUpdateTime"].isNull())
|
||||
listTemplateObject.lastUpdateTime = std::stol(valueListTemplatetemplate["LastUpdateTime"].asString());
|
||||
listTemplate_.push_back(listTemplateObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -25,6 +25,15 @@ ModifyPhoneBusinessProfileRequest::ModifyPhoneBusinessProfileRequest()
|
||||
|
||||
ModifyPhoneBusinessProfileRequest::~ModifyPhoneBusinessProfileRequest() {}
|
||||
|
||||
long ModifyPhoneBusinessProfileRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
@@ -61,13 +70,49 @@ void ModifyPhoneBusinessProfileRequest::setVertical(const std::string &vertical)
|
||||
setParameter(std::string("Vertical"), vertical);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string ModifyPhoneBusinessProfileRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void ModifyPhoneBusinessProfileRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getEmail() const {
|
||||
@@ -88,13 +133,31 @@ void ModifyPhoneBusinessProfileRequest::setAddress(const std::string &address) {
|
||||
setParameter(std::string("Address"), address);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string ModifyPhoneBusinessProfileRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void ModifyPhoneBusinessProfileRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ModifyPhoneBusinessProfileRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void ModifyPhoneBusinessProfileRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneBusinessProfileRequest::getProfilePictureUrl() const {
|
||||
|
||||
@@ -39,12 +39,14 @@ void ModifyPhoneBusinessProfileResult::parse(const std::string &payload)
|
||||
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["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string ModifyPhoneBusinessProfileResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ModifyPhoneBusinessProfileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ QueryPhoneBusinessProfileRequest::QueryPhoneBusinessProfileRequest()
|
||||
|
||||
QueryPhoneBusinessProfileRequest::~QueryPhoneBusinessProfileRequest() {}
|
||||
|
||||
long QueryPhoneBusinessProfileRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
@@ -34,22 +43,76 @@ void QueryPhoneBusinessProfileRequest::setPhoneNumber(const std::string &phoneNu
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string QueryPhoneBusinessProfileRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void QueryPhoneBusinessProfileRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string QueryPhoneBusinessProfileRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void QueryPhoneBusinessProfileRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryPhoneBusinessProfileRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void QueryPhoneBusinessProfileRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string QueryPhoneBusinessProfileRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -40,27 +40,29 @@ void QueryPhoneBusinessProfileResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Address"].isNull())
|
||||
data_.address = dataNode["Address"].asString();
|
||||
if(!dataNode["Description"].isNull())
|
||||
data_.description = dataNode["Description"].asString();
|
||||
if(!dataNode["Vertical"].isNull())
|
||||
data_.vertical = dataNode["Vertical"].asString();
|
||||
if(!dataNode["Description"].isNull())
|
||||
data_.description = dataNode["Description"].asString();
|
||||
if(!dataNode["Email"].isNull())
|
||||
data_.email = dataNode["Email"].asString();
|
||||
if(!dataNode["Address"].isNull())
|
||||
data_.address = dataNode["Address"].asString();
|
||||
if(!dataNode["ProfilePictureUrl"].isNull())
|
||||
data_.profilePictureUrl = dataNode["ProfilePictureUrl"].asString();
|
||||
if(!dataNode["About"].isNull())
|
||||
data_.about = dataNode["About"].asString();
|
||||
auto allWebsites = dataNode["Websites"]["网站"];
|
||||
auto allWebsites = dataNode["Websites"]["websites"];
|
||||
for (auto value : allWebsites)
|
||||
data_.websites.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -84,3 +86,8 @@ std::string QueryPhoneBusinessProfileResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryPhoneBusinessProfileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,22 +25,85 @@ QueryWabaBusinessInfoRequest::QueryWabaBusinessInfoRequest()
|
||||
|
||||
QueryWabaBusinessInfoRequest::~QueryWabaBusinessInfoRequest() {}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
long QueryWabaBusinessInfoRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void QueryWabaBusinessInfoRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string QueryWabaBusinessInfoRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void QueryWabaBusinessInfoRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryWabaBusinessInfoRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void QueryWabaBusinessInfoRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string QueryWabaBusinessInfoRequest::getWabaId() const {
|
||||
|
||||
@@ -40,20 +40,22 @@ void QueryWabaBusinessInfoResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["BusinessId"].isNull())
|
||||
data_.businessId = dataNode["BusinessId"].asString();
|
||||
if(!dataNode["BusinessName"].isNull())
|
||||
data_.businessName = dataNode["BusinessName"].asString();
|
||||
if(!dataNode["VerificationStatus"].isNull())
|
||||
data_.verificationStatus = dataNode["VerificationStatus"].asString();
|
||||
if(!dataNode["Vertical"].isNull())
|
||||
data_.vertical = dataNode["Vertical"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!dataNode["VerificationStatus"].isNull())
|
||||
data_.verificationStatus = dataNode["VerificationStatus"].asString();
|
||||
if(!dataNode["BusinessName"].isNull())
|
||||
data_.businessName = dataNode["BusinessName"].asString();
|
||||
if(!dataNode["BusinessId"].isNull())
|
||||
data_.businessId = dataNode["BusinessId"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -77,3 +79,8 @@ std::string QueryWabaBusinessInfoResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryWabaBusinessInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ UpdateCommerceSettingRequest::UpdateCommerceSettingRequest()
|
||||
|
||||
UpdateCommerceSettingRequest::~UpdateCommerceSettingRequest() {}
|
||||
|
||||
long UpdateCommerceSettingRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
@@ -34,13 +43,40 @@ void UpdateCommerceSettingRequest::setPhoneNumber(const std::string &phoneNumber
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
std::string UpdateCommerceSettingRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void UpdateCommerceSettingRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
bool UpdateCommerceSettingRequest::getCatalogVisible() const {
|
||||
@@ -52,6 +88,15 @@ void UpdateCommerceSettingRequest::setCatalogVisible(bool catalogVisible) {
|
||||
setParameter(std::string("CatalogVisible"), catalogVisible ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
bool UpdateCommerceSettingRequest::getCartEnable() const {
|
||||
return cartEnable_;
|
||||
}
|
||||
@@ -61,13 +106,31 @@ void UpdateCommerceSettingRequest::setCartEnable(bool cartEnable) {
|
||||
setParameter(std::string("CartEnable"), cartEnable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string UpdateCommerceSettingRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void UpdateCommerceSettingRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UpdateCommerceSettingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void UpdateCommerceSettingRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -39,13 +39,22 @@ void UpdateCommerceSettingResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string UpdateCommerceSettingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
@@ -56,3 +65,8 @@ std::string UpdateCommerceSettingResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool UpdateCommerceSettingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
158
cams/src/model/UpdateConversationalAutomationRequest.cc
Normal file
158
cams/src/model/UpdateConversationalAutomationRequest.cc
Normal file
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* 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/cams/model/UpdateConversationalAutomationRequest.h>
|
||||
|
||||
using AlibabaCloud::Cams::Model::UpdateConversationalAutomationRequest;
|
||||
|
||||
UpdateConversationalAutomationRequest::UpdateConversationalAutomationRequest()
|
||||
: RpcServiceRequest("cams", "2020-06-06", "UpdateConversationalAutomation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateConversationalAutomationRequest::~UpdateConversationalAutomationRequest() {}
|
||||
|
||||
long UpdateConversationalAutomationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
bool UpdateConversationalAutomationRequest::getEnableWelcomeMessage() const {
|
||||
return enableWelcomeMessage_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setEnableWelcomeMessage(bool enableWelcomeMessage) {
|
||||
enableWelcomeMessage_ = enableWelcomeMessage;
|
||||
setParameter(std::string("EnableWelcomeMessage"), enableWelcomeMessage ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::vector<UpdateConversationalAutomationRequest::Commands> UpdateConversationalAutomationRequest::getCommands() const {
|
||||
return commands_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setCommands(const std::vector<UpdateConversationalAutomationRequest::Commands> &commands) {
|
||||
commands_ = commands;
|
||||
for(int dep1 = 0; dep1 != commands.size(); dep1++) {
|
||||
setParameter(std::string("Commands") + "." + std::to_string(dep1 + 1) + ".CommandDescription", commands[dep1].commandDescription);
|
||||
setParameter(std::string("Commands") + "." + std::to_string(dep1 + 1) + ".CommandName", commands[dep1].commandName);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<UpdateConversationalAutomationRequest::std::string> UpdateConversationalAutomationRequest::getPrompts() const {
|
||||
return prompts_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setPrompts(const std::vector<UpdateConversationalAutomationRequest::std::string> &prompts) {
|
||||
prompts_ = prompts;
|
||||
for(int dep1 = 0; dep1 != prompts.size(); dep1++) {
|
||||
setParameter(std::string("Prompts") + "." + std::to_string(dep1 + 1), prompts[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UpdateConversationalAutomationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationRequest::getCustSpaceId() const {
|
||||
return custSpaceId_;
|
||||
}
|
||||
|
||||
void UpdateConversationalAutomationRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
72
cams/src/model/UpdateConversationalAutomationResult.cc
Normal file
72
cams/src/model/UpdateConversationalAutomationResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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/cams/model/UpdateConversationalAutomationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cams;
|
||||
using namespace AlibabaCloud::Cams::Model;
|
||||
|
||||
UpdateConversationalAutomationResult::UpdateConversationalAutomationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateConversationalAutomationResult::UpdateConversationalAutomationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateConversationalAutomationResult::~UpdateConversationalAutomationResult()
|
||||
{}
|
||||
|
||||
void UpdateConversationalAutomationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string UpdateConversationalAutomationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool UpdateConversationalAutomationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user