diff --git a/CHANGELOG b/CHANGELOG index 61e1de1a2..fae5addeb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-11-21 Version 1.36.193 +- Generated 2017-10-11 for `Chatbot`. + 2019-11-21 Version 1.36.192 - Generated 2019-10-30 for `aliyuncvc`. diff --git a/VERSION b/VERSION index 96e6736f1..4c4cdd7e7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.192 \ No newline at end of file +1.36.193 \ No newline at end of file diff --git a/chatbot/include/alibabacloud/chatbot/model/ActivatePerspectiveRequest.h b/chatbot/include/alibabacloud/chatbot/model/ActivatePerspectiveRequest.h index d67f22c8b..9d006af3a 100644 --- a/chatbot/include/alibabacloud/chatbot/model/ActivatePerspectiveRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/ActivatePerspectiveRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud ActivatePerspectiveRequest(); ~ActivatePerspectiveRequest(); - std::string getPerspectiveId()const; - void setPerspectiveId(const std::string& perspectiveId); + std::string getPerspectiveId()const; + void setPerspectiveId(const std::string& perspectiveId); private: - std::string perspectiveId_; + std::string perspectiveId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/AddSynonymRequest.h b/chatbot/include/alibabacloud/chatbot/model/AddSynonymRequest.h index 5f84cd7c6..ba39c806a 100644 --- a/chatbot/include/alibabacloud/chatbot/model/AddSynonymRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/AddSynonymRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud AddSynonymRequest(); ~AddSynonymRequest(); - std::string getSynonym()const; - void setSynonym(const std::string& synonym); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + std::string getSynonym()const; + void setSynonym(const std::string& synonym); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - std::string synonym_; - std::string coreWordName_; + std::string synonym_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/AppendEntityMemberRequest.h b/chatbot/include/alibabacloud/chatbot/model/AppendEntityMemberRequest.h index 9b47dbd5f..6ad3b4492 100644 --- a/chatbot/include/alibabacloud/chatbot/model/AppendEntityMemberRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/AppendEntityMemberRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud AppendEntityMemberRequest(); ~AppendEntityMemberRequest(); - long getEntityId()const; - void setEntityId(long entityId); - std::string getMember()const; - void setMember(const std::string& member); - std::string getApplyType()const; - void setApplyType(const std::string& applyType); + long getEntityId()const; + void setEntityId(long entityId); + std::string getMember()const; + void setMember(const std::string& member); + std::string getApplyType()const; + void setApplyType(const std::string& applyType); private: - long entityId_; - std::string member_; - std::string applyType_; + long entityId_; + std::string member_; + std::string applyType_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateCategoryRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateCategoryRequest.h index 5b847fdf7..06b3780af 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateCategoryRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateCategoryRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud CreateCategoryRequest(); ~CreateCategoryRequest(); - long getParentCategoryId()const; - void setParentCategoryId(long parentCategoryId); - std::string getName()const; - void setName(const std::string& name); + long getParentCategoryId()const; + void setParentCategoryId(long parentCategoryId); + std::string getName()const; + void setName(const std::string& name); private: - long parentCategoryId_; - std::string name_; + long parentCategoryId_; + std::string name_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateCoreWordRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateCoreWordRequest.h index a0a97daa1..4e380e031 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateCoreWordRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateCoreWordRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud CreateCoreWordRequest(); ~CreateCoreWordRequest(); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - std::string coreWordName_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateDialogRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateDialogRequest.h index 26b9a8b5a..cc27fb0e9 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateDialogRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateDialogRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud CreateDialogRequest(); ~CreateDialogRequest(); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getDialogName()const; - void setDialogName(const std::string& dialogName); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getDialogName()const; + void setDialogName(const std::string& dialogName); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); private: - std::string description_; - std::string dialogName_; - std::string instanceId_; + std::string description_; + std::string dialogName_; + std::string instanceId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateEntityRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateEntityRequest.h index 5cfa70056..9f076979d 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateEntityRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateEntityRequest.h @@ -35,23 +35,23 @@ namespace AlibabaCloud CreateEntityRequest(); ~CreateEntityRequest(); - std::string getEntityName()const; - void setEntityName(const std::string& entityName); - long getDialogId()const; - void setDialogId(long dialogId); - std::string getRegex()const; - void setRegex(const std::string& regex); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getMembers()const; - void setMembers(const std::string& members); + std::string getEntityName()const; + void setEntityName(const std::string& entityName); + long getDialogId()const; + void setDialogId(long dialogId); + std::string getRegex()const; + void setRegex(const std::string& regex); + std::string getEntityType()const; + void setEntityType(const std::string& entityType); + std::string getMembers()const; + void setMembers(const std::string& members); private: - std::string entityName_; - long dialogId_; - std::string regex_; - std::string entityType_; - std::string members_; + std::string entityName_; + long dialogId_; + std::string regex_; + std::string entityType_; + std::string members_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateIntentRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateIntentRequest.h index 13279faf4..3dc920e9f 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateIntentRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateIntentRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud CreateIntentRequest(); ~CreateIntentRequest(); - std::string getIntentDefinition()const; - void setIntentDefinition(const std::string& intentDefinition); - long getDialogId()const; - void setDialogId(long dialogId); + std::string getIntentDefinition()const; + void setIntentDefinition(const std::string& intentDefinition); + long getDialogId()const; + void setDialogId(long dialogId); private: - std::string intentDefinition_; - long dialogId_; + std::string intentDefinition_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreateKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreateKnowledgeRequest.h index 77299ed9a..0871a2235 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreateKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreateKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud CreateKnowledgeRequest(); ~CreateKnowledgeRequest(); - std::string getKnowledge()const; - void setKnowledge(const std::string& knowledge); + std::string getKnowledge()const; + void setKnowledge(const std::string& knowledge); private: - std::string knowledge_; + std::string knowledge_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/CreatePerspectiveRequest.h b/chatbot/include/alibabacloud/chatbot/model/CreatePerspectiveRequest.h index b5f26e7ba..cf7adbcd9 100644 --- a/chatbot/include/alibabacloud/chatbot/model/CreatePerspectiveRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/CreatePerspectiveRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud CreatePerspectiveRequest(); ~CreatePerspectiveRequest(); - std::string getName()const; - void setName(const std::string& name); + std::string getName()const; + void setName(const std::string& name); private: - std::string name_; + std::string name_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteCategoryRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteCategoryRequest.h index d1531aa19..279bbc1ff 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteCategoryRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteCategoryRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteCategoryRequest(); ~DeleteCategoryRequest(); - long getCategoryId()const; - void setCategoryId(long categoryId); + long getCategoryId()const; + void setCategoryId(long categoryId); private: - long categoryId_; + long categoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteCoreWordRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteCoreWordRequest.h index c01fe0c26..c6b129c51 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteCoreWordRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteCoreWordRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteCoreWordRequest(); ~DeleteCoreWordRequest(); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - std::string coreWordName_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteDialogRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteDialogRequest.h index 976c8fe53..456c63875 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteDialogRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteDialogRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteDialogRequest(); ~DeleteDialogRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteEntityRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteEntityRequest.h index bc534a9df..6b0567932 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteEntityRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteEntityRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteEntityRequest(); ~DeleteEntityRequest(); - long getEntityId()const; - void setEntityId(long entityId); + long getEntityId()const; + void setEntityId(long entityId); private: - long entityId_; + long entityId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteIntentRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteIntentRequest.h index 4f7593296..b0dd93701 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteIntentRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteIntentRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteIntentRequest(); ~DeleteIntentRequest(); - long getIntentId()const; - void setIntentId(long intentId); + long getIntentId()const; + void setIntentId(long intentId); private: - long intentId_; + long intentId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DeleteKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/DeleteKnowledgeRequest.h index 512948a60..255fbed23 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DeleteKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DeleteKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DeleteKnowledgeRequest(); ~DeleteKnowledgeRequest(); - long getKnowledgeId()const; - void setKnowledgeId(long knowledgeId); + long getKnowledgeId()const; + void setKnowledgeId(long knowledgeId); private: - long knowledgeId_; + long knowledgeId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeCategoryRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeCategoryRequest.h index 2f1a7df2c..68e868c0c 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeCategoryRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeCategoryRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeCategoryRequest(); ~DescribeCategoryRequest(); - long getCategoryId()const; - void setCategoryId(long categoryId); + long getCategoryId()const; + void setCategoryId(long categoryId); private: - long categoryId_; + long categoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeCoreWordRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeCoreWordRequest.h index e402d46d6..f6929cca2 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeCoreWordRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeCoreWordRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeCoreWordRequest(); ~DescribeCoreWordRequest(); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - std::string coreWordName_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeDialogFlowRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeDialogFlowRequest.h index 042e5f19d..9e3e71ff3 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeDialogFlowRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeDialogFlowRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeDialogFlowRequest(); ~DescribeDialogFlowRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeDialogRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeDialogRequest.h index aaec56531..916780cbd 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeDialogRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeDialogRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeDialogRequest(); ~DescribeDialogRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeEntitiesRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeEntitiesRequest.h index ca5e21118..4023b05b4 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeEntitiesRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeEntitiesRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeEntitiesRequest(); ~DescribeEntitiesRequest(); - long getEntityId()const; - void setEntityId(long entityId); + long getEntityId()const; + void setEntityId(long entityId); private: - long entityId_; + long entityId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeIntentRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeIntentRequest.h index 24aefd289..8d15879f1 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeIntentRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeIntentRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeIntentRequest(); ~DescribeIntentRequest(); - long getIntentId()const; - void setIntentId(long intentId); + long getIntentId()const; + void setIntentId(long intentId); private: - long intentId_; + long intentId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribeKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribeKnowledgeRequest.h index 6308d7450..8d8e0e95b 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribeKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribeKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribeKnowledgeRequest(); ~DescribeKnowledgeRequest(); - long getKnowledgeId()const; - void setKnowledgeId(long knowledgeId); + long getKnowledgeId()const; + void setKnowledgeId(long knowledgeId); private: - long knowledgeId_; + long knowledgeId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DescribePerspectiveRequest.h b/chatbot/include/alibabacloud/chatbot/model/DescribePerspectiveRequest.h index 256e2e4d2..4b992c563 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DescribePerspectiveRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DescribePerspectiveRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DescribePerspectiveRequest(); ~DescribePerspectiveRequest(); - std::string getPerspectiveId()const; - void setPerspectiveId(const std::string& perspectiveId); + std::string getPerspectiveId()const; + void setPerspectiveId(const std::string& perspectiveId); private: - std::string perspectiveId_; + std::string perspectiveId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DisableDialogFlowRequest.h b/chatbot/include/alibabacloud/chatbot/model/DisableDialogFlowRequest.h index 1be0e69a2..edd5d0588 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DisableDialogFlowRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DisableDialogFlowRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DisableDialogFlowRequest(); ~DisableDialogFlowRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/DisableKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/DisableKnowledgeRequest.h index ee42516e3..95c674635 100644 --- a/chatbot/include/alibabacloud/chatbot/model/DisableKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/DisableKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud DisableKnowledgeRequest(); ~DisableKnowledgeRequest(); - long getKnowledgeId()const; - void setKnowledgeId(long knowledgeId); + long getKnowledgeId()const; + void setKnowledgeId(long knowledgeId); private: - long knowledgeId_; + long knowledgeId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h b/chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h index 526ca3cd8..424d8decc 100644 --- a/chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud FeedbackRequest(); ~FeedbackRequest(); - std::string getFeedback()const; - void setFeedback(const std::string& feedback); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getMessageId()const; - void setMessageId(const std::string& messageId); - std::string getSessionId()const; - void setSessionId(const std::string& sessionId); + std::string getFeedback()const; + void setFeedback(const std::string& feedback); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getMessageId()const; + void setMessageId(const std::string& messageId); + std::string getSessionId()const; + void setSessionId(const std::string& sessionId); private: - std::string feedback_; - std::string instanceId_; - std::string messageId_; - std::string sessionId_; + std::string feedback_; + std::string instanceId_; + std::string messageId_; + std::string sessionId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/MoveKnowledgeCategoryRequest.h b/chatbot/include/alibabacloud/chatbot/model/MoveKnowledgeCategoryRequest.h index e04fecd16..e13d220d0 100644 --- a/chatbot/include/alibabacloud/chatbot/model/MoveKnowledgeCategoryRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/MoveKnowledgeCategoryRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud MoveKnowledgeCategoryRequest(); ~MoveKnowledgeCategoryRequest(); - long getKnowledgeId()const; - void setKnowledgeId(long knowledgeId); - long getCategoryId()const; - void setCategoryId(long categoryId); + long getKnowledgeId()const; + void setKnowledgeId(long knowledgeId); + long getCategoryId()const; + void setCategoryId(long categoryId); private: - long knowledgeId_; - long categoryId_; + long knowledgeId_; + long categoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/PublishDialogFlowRequest.h b/chatbot/include/alibabacloud/chatbot/model/PublishDialogFlowRequest.h index 6846fd152..da2e31466 100644 --- a/chatbot/include/alibabacloud/chatbot/model/PublishDialogFlowRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/PublishDialogFlowRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud PublishDialogFlowRequest(); ~PublishDialogFlowRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/PublishKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/PublishKnowledgeRequest.h index e331a5389..63ca4b24e 100644 --- a/chatbot/include/alibabacloud/chatbot/model/PublishKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/PublishKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud PublishKnowledgeRequest(); ~PublishKnowledgeRequest(); - long getKnowledgeId()const; - void setKnowledgeId(long knowledgeId); + long getKnowledgeId()const; + void setKnowledgeId(long knowledgeId); private: - long knowledgeId_; + long knowledgeId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryCategoriesRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryCategoriesRequest.h index d78c68165..957b67471 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryCategoriesRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryCategoriesRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud QueryCategoriesRequest(); ~QueryCategoriesRequest(); - bool getShowChildrens()const; - void setShowChildrens(bool showChildrens); - long getParentCategoryId()const; - void setParentCategoryId(long parentCategoryId); + bool getShowChildrens()const; + void setShowChildrens(bool showChildrens); + long getParentCategoryId()const; + void setParentCategoryId(long parentCategoryId); private: - bool showChildrens_; - long parentCategoryId_; + bool showChildrens_; + long parentCategoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryCoreWordsRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryCoreWordsRequest.h index c828da63e..9432e76a3 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryCoreWordsRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryCoreWordsRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud QueryCoreWordsRequest(); ~QueryCoreWordsRequest(); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSynonym()const; - void setSynonym(const std::string& synonym); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getSynonym()const; + void setSynonym(const std::string& synonym); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - int pageNumber_; - std::string synonym_; - int pageSize_; - std::string coreWordName_; + int pageNumber_; + std::string synonym_; + int pageSize_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryDialogsRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryDialogsRequest.h index 8286794fe..2d093712c 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryDialogsRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryDialogsRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud QueryDialogsRequest(); ~QueryDialogsRequest(); - std::string getDialogName()const; - void setDialogName(const std::string& dialogName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); + std::string getDialogName()const; + void setDialogName(const std::string& dialogName); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + int getPageSize()const; + void setPageSize(int pageSize); private: - std::string dialogName_; - int pageNumber_; - std::string instanceId_; - int pageSize_; + std::string dialogName_; + int pageNumber_; + std::string instanceId_; + int pageSize_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryEntitiesRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryEntitiesRequest.h index 1172f0566..b4b57ac41 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryEntitiesRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryEntitiesRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud QueryEntitiesRequest(); ~QueryEntitiesRequest(); - std::string getEntityName()const; - void setEntityName(const std::string& entityName); - long getDialogId()const; - void setDialogId(long dialogId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); + std::string getEntityName()const; + void setEntityName(const std::string& entityName); + long getDialogId()const; + void setDialogId(long dialogId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); private: - std::string entityName_; - long dialogId_; - int pageNumber_; - int pageSize_; + std::string entityName_; + long dialogId_; + int pageNumber_; + int pageSize_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryIntentsRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryIntentsRequest.h index e4a9e5b4f..f596ebe4d 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryIntentsRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryIntentsRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud QueryIntentsRequest(); ~QueryIntentsRequest(); - long getDialogId()const; - void setDialogId(long dialogId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getIntentName()const; - void setIntentName(const std::string& intentName); - int getPageSize()const; - void setPageSize(int pageSize); + long getDialogId()const; + void setDialogId(long dialogId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getIntentName()const; + void setIntentName(const std::string& intentName); + int getPageSize()const; + void setPageSize(int pageSize); private: - long dialogId_; - int pageNumber_; - std::string intentName_; - int pageSize_; + long dialogId_; + int pageNumber_; + std::string intentName_; + int pageSize_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QueryKnowledgesRequest.h b/chatbot/include/alibabacloud/chatbot/model/QueryKnowledgesRequest.h index 2e206d020..7389bbdb6 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QueryKnowledgesRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QueryKnowledgesRequest.h @@ -35,23 +35,23 @@ namespace AlibabaCloud QueryKnowledgesRequest(); ~QueryKnowledgesRequest(); - std::string getKnowledgeTitle()const; - void setKnowledgeTitle(const std::string& knowledgeTitle); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); - long getCategoryId()const; - void setCategoryId(long categoryId); + std::string getKnowledgeTitle()const; + void setKnowledgeTitle(const std::string& knowledgeTitle); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); + long getCategoryId()const; + void setCategoryId(long categoryId); private: - std::string knowledgeTitle_; - int pageNumber_; - int pageSize_; - std::string coreWordName_; - long categoryId_; + std::string knowledgeTitle_; + int pageNumber_; + int pageSize_; + std::string coreWordName_; + long categoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/QuerySystemEntitiesRequest.h b/chatbot/include/alibabacloud/chatbot/model/QuerySystemEntitiesRequest.h index d3c699984..b635f0522 100644 --- a/chatbot/include/alibabacloud/chatbot/model/QuerySystemEntitiesRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/QuerySystemEntitiesRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud QuerySystemEntitiesRequest(); ~QuerySystemEntitiesRequest(); - std::string getEntityName()const; - void setEntityName(const std::string& entityName); + std::string getEntityName()const; + void setEntityName(const std::string& entityName); private: - std::string entityName_; + std::string entityName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/RemoveEntityMemberRequest.h b/chatbot/include/alibabacloud/chatbot/model/RemoveEntityMemberRequest.h index 33ea33953..04f2cf833 100644 --- a/chatbot/include/alibabacloud/chatbot/model/RemoveEntityMemberRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/RemoveEntityMemberRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud RemoveEntityMemberRequest(); ~RemoveEntityMemberRequest(); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRemoveType()const; - void setRemoveType(const std::string& removeType); - std::string getMember()const; - void setMember(const std::string& member); + long getEntityId()const; + void setEntityId(long entityId); + std::string getRemoveType()const; + void setRemoveType(const std::string& removeType); + std::string getMember()const; + void setMember(const std::string& member); private: - long entityId_; - std::string removeType_; - std::string member_; + long entityId_; + std::string removeType_; + std::string member_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/RemoveSynonymRequest.h b/chatbot/include/alibabacloud/chatbot/model/RemoveSynonymRequest.h index b30986504..40e7b1ff5 100644 --- a/chatbot/include/alibabacloud/chatbot/model/RemoveSynonymRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/RemoveSynonymRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud RemoveSynonymRequest(); ~RemoveSynonymRequest(); - std::string getSynonym()const; - void setSynonym(const std::string& synonym); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); + std::string getSynonym()const; + void setSynonym(const std::string& synonym); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); private: - std::string synonym_; - std::string coreWordName_; + std::string synonym_; + std::string coreWordName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/TestDialogFlowRequest.h b/chatbot/include/alibabacloud/chatbot/model/TestDialogFlowRequest.h index 8ef91a10a..7a4a14b9d 100644 --- a/chatbot/include/alibabacloud/chatbot/model/TestDialogFlowRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/TestDialogFlowRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud TestDialogFlowRequest(); ~TestDialogFlowRequest(); - long getDialogId()const; - void setDialogId(long dialogId); + long getDialogId()const; + void setDialogId(long dialogId); private: - long dialogId_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateCategoryRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateCategoryRequest.h index 4e46a5672..bafe39ceb 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateCategoryRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateCategoryRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud UpdateCategoryRequest(); ~UpdateCategoryRequest(); - std::string getName()const; - void setName(const std::string& name); - long getCategoryId()const; - void setCategoryId(long categoryId); + std::string getName()const; + void setName(const std::string& name); + long getCategoryId()const; + void setCategoryId(long categoryId); private: - std::string name_; - long categoryId_; + std::string name_; + long categoryId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateCoreWordRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateCoreWordRequest.h index ad73dba52..196271cd8 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateCoreWordRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateCoreWordRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud UpdateCoreWordRequest(); ~UpdateCoreWordRequest(); - std::string getCoreWordName()const; - void setCoreWordName(const std::string& coreWordName); - std::string getCoreWordCode()const; - void setCoreWordCode(const std::string& coreWordCode); + std::string getCoreWordName()const; + void setCoreWordName(const std::string& coreWordName); + std::string getCoreWordCode()const; + void setCoreWordCode(const std::string& coreWordCode); private: - std::string coreWordName_; - std::string coreWordCode_; + std::string coreWordName_; + std::string coreWordCode_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateDialogFlowRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateDialogFlowRequest.h index b14bbea9a..a34b11c24 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateDialogFlowRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateDialogFlowRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud UpdateDialogFlowRequest(); ~UpdateDialogFlowRequest(); - std::string getModuleDefinition()const; - void setModuleDefinition(const std::string& moduleDefinition); - long getDialogId()const; - void setDialogId(long dialogId); + std::string getModuleDefinition()const; + void setModuleDefinition(const std::string& moduleDefinition); + long getDialogId()const; + void setDialogId(long dialogId); private: - std::string moduleDefinition_; - long dialogId_; + std::string moduleDefinition_; + long dialogId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateDialogRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateDialogRequest.h index 5ea3a5458..f7f473034 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateDialogRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateDialogRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud UpdateDialogRequest(); ~UpdateDialogRequest(); - std::string getDescription()const; - void setDescription(const std::string& description); - long getDialogId()const; - void setDialogId(long dialogId); - std::string getDialogName()const; - void setDialogName(const std::string& dialogName); + std::string getDescription()const; + void setDescription(const std::string& description); + long getDialogId()const; + void setDialogId(long dialogId); + std::string getDialogName()const; + void setDialogName(const std::string& dialogName); private: - std::string description_; - long dialogId_; - std::string dialogName_; + std::string description_; + long dialogId_; + std::string dialogName_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateEntityRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateEntityRequest.h index 265a2bea8..05697b2dd 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateEntityRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateEntityRequest.h @@ -35,23 +35,23 @@ namespace AlibabaCloud UpdateEntityRequest(); ~UpdateEntityRequest(); - std::string getEntityName()const; - void setEntityName(const std::string& entityName); - long getEntityId()const; - void setEntityId(long entityId); - std::string getRegex()const; - void setRegex(const std::string& regex); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getMembers()const; - void setMembers(const std::string& members); + std::string getEntityName()const; + void setEntityName(const std::string& entityName); + long getEntityId()const; + void setEntityId(long entityId); + std::string getRegex()const; + void setRegex(const std::string& regex); + std::string getEntityType()const; + void setEntityType(const std::string& entityType); + std::string getMembers()const; + void setMembers(const std::string& members); private: - std::string entityName_; - long entityId_; - std::string regex_; - std::string entityType_; - std::string members_; + std::string entityName_; + long entityId_; + std::string regex_; + std::string entityType_; + std::string members_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateIntentRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateIntentRequest.h index bc716dd41..618d5a912 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateIntentRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateIntentRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud UpdateIntentRequest(); ~UpdateIntentRequest(); - std::string getIntentDefinition()const; - void setIntentDefinition(const std::string& intentDefinition); - long getIntentId()const; - void setIntentId(long intentId); + std::string getIntentDefinition()const; + void setIntentDefinition(const std::string& intentDefinition); + long getIntentId()const; + void setIntentId(long intentId); private: - std::string intentDefinition_; - long intentId_; + std::string intentDefinition_; + long intentId_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdateKnowledgeRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdateKnowledgeRequest.h index 941edc06a..cde5a3a84 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdateKnowledgeRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdateKnowledgeRequest.h @@ -35,11 +35,11 @@ namespace AlibabaCloud UpdateKnowledgeRequest(); ~UpdateKnowledgeRequest(); - std::string getKnowledge()const; - void setKnowledge(const std::string& knowledge); + std::string getKnowledge()const; + void setKnowledge(const std::string& knowledge); private: - std::string knowledge_; + std::string knowledge_; }; } diff --git a/chatbot/include/alibabacloud/chatbot/model/UpdatePerspectiveRequest.h b/chatbot/include/alibabacloud/chatbot/model/UpdatePerspectiveRequest.h index 56558c8cb..db2e4177f 100644 --- a/chatbot/include/alibabacloud/chatbot/model/UpdatePerspectiveRequest.h +++ b/chatbot/include/alibabacloud/chatbot/model/UpdatePerspectiveRequest.h @@ -35,14 +35,14 @@ namespace AlibabaCloud UpdatePerspectiveRequest(); ~UpdatePerspectiveRequest(); - std::string getPerspectiveId()const; - void setPerspectiveId(const std::string& perspectiveId); - std::string getName()const; - void setName(const std::string& name); + std::string getPerspectiveId()const; + void setPerspectiveId(const std::string& perspectiveId); + std::string getName()const; + void setName(const std::string& name); private: - std::string perspectiveId_; - std::string name_; + std::string perspectiveId_; + std::string name_; }; } diff --git a/chatbot/src/model/ActivatePerspectiveRequest.cc b/chatbot/src/model/ActivatePerspectiveRequest.cc index 6c7b25fc5..c19937a20 100644 --- a/chatbot/src/model/ActivatePerspectiveRequest.cc +++ b/chatbot/src/model/ActivatePerspectiveRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::ActivatePerspectiveRequest; ActivatePerspectiveRequest::ActivatePerspectiveRequest() : RpcServiceRequest("chatbot", "2017-10-11", "ActivatePerspective") -{} +{ + setMethod(HttpRequest::Method::Post); +} ActivatePerspectiveRequest::~ActivatePerspectiveRequest() {} -std::string ActivatePerspectiveRequest::getPerspectiveId()const -{ - return perspectiveId_; -} - -void ActivatePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) -{ - perspectiveId_ = perspectiveId; - setCoreParameter("PerspectiveId", perspectiveId); -} - +std::string ActivatePerspectiveRequest::getPerspectiveId()const +{ + return perspectiveId_; +} + +void ActivatePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) +{ + perspectiveId_ = perspectiveId; + setCoreParameter("PerspectiveId", perspectiveId); +} + diff --git a/chatbot/src/model/AddSynonymRequest.cc b/chatbot/src/model/AddSynonymRequest.cc index 9987587c4..79569471e 100644 --- a/chatbot/src/model/AddSynonymRequest.cc +++ b/chatbot/src/model/AddSynonymRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::AddSynonymRequest; AddSynonymRequest::AddSynonymRequest() : RpcServiceRequest("chatbot", "2017-10-11", "AddSynonym") -{} +{ + setMethod(HttpRequest::Method::Post); +} AddSynonymRequest::~AddSynonymRequest() {} -std::string AddSynonymRequest::getSynonym()const -{ - return synonym_; -} - -void AddSynonymRequest::setSynonym(const std::string& synonym) -{ - synonym_ = synonym; - setCoreParameter("Synonym", synonym); -} - -std::string AddSynonymRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void AddSynonymRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +std::string AddSynonymRequest::getSynonym()const +{ + return synonym_; +} + +void AddSynonymRequest::setSynonym(const std::string& synonym) +{ + synonym_ = synonym; + setCoreParameter("Synonym", synonym); +} + +std::string AddSynonymRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void AddSynonymRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/AppendEntityMemberRequest.cc b/chatbot/src/model/AppendEntityMemberRequest.cc index bbb0c4edf..29a121e07 100644 --- a/chatbot/src/model/AppendEntityMemberRequest.cc +++ b/chatbot/src/model/AppendEntityMemberRequest.cc @@ -20,41 +20,43 @@ using AlibabaCloud::Chatbot::Model::AppendEntityMemberRequest; AppendEntityMemberRequest::AppendEntityMemberRequest() : RpcServiceRequest("chatbot", "2017-10-11", "AppendEntityMember") -{} +{ + setMethod(HttpRequest::Method::Post); +} AppendEntityMemberRequest::~AppendEntityMemberRequest() {} -long AppendEntityMemberRequest::getEntityId()const -{ - return entityId_; -} - -void AppendEntityMemberRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", std::to_string(entityId)); -} - -std::string AppendEntityMemberRequest::getMember()const -{ - return member_; -} - -void AppendEntityMemberRequest::setMember(const std::string& member) -{ - member_ = member; - setCoreParameter("Member", member); -} - -std::string AppendEntityMemberRequest::getApplyType()const -{ - return applyType_; -} - -void AppendEntityMemberRequest::setApplyType(const std::string& applyType) -{ - applyType_ = applyType; - setCoreParameter("ApplyType", applyType); -} - +long AppendEntityMemberRequest::getEntityId()const +{ + return entityId_; +} + +void AppendEntityMemberRequest::setEntityId(long entityId) +{ + entityId_ = entityId; + setCoreParameter("EntityId", std::to_string(entityId)); +} + +std::string AppendEntityMemberRequest::getMember()const +{ + return member_; +} + +void AppendEntityMemberRequest::setMember(const std::string& member) +{ + member_ = member; + setCoreParameter("Member", member); +} + +std::string AppendEntityMemberRequest::getApplyType()const +{ + return applyType_; +} + +void AppendEntityMemberRequest::setApplyType(const std::string& applyType) +{ + applyType_ = applyType; + setCoreParameter("ApplyType", applyType); +} + diff --git a/chatbot/src/model/ChatRequest.cc b/chatbot/src/model/ChatRequest.cc index 697f9c2bf..fc245bb50 100644 --- a/chatbot/src/model/ChatRequest.cc +++ b/chatbot/src/model/ChatRequest.cc @@ -20,7 +20,9 @@ using AlibabaCloud::Chatbot::Model::ChatRequest; ChatRequest::ChatRequest() : RpcServiceRequest("chatbot", "2017-10-11", "Chat") -{} +{ + setMethod(HttpRequest::Method::Post); +} ChatRequest::~ChatRequest() {} @@ -110,8 +112,9 @@ std::vector ChatRequest::getPerspective()const void ChatRequest::setPerspective(const std::vector& perspective) { perspective_ = perspective; - for(int i = 0; i!= perspective.size(); i++) - setCoreParameter("Perspective."+ std::to_string(i), perspective.at(i)); + for(int dep1 = 0; dep1!= perspective.size(); dep1++) { + setCoreParameter("Perspective."+ std::to_string(dep1), perspective.at(dep1)); + } } std::string ChatRequest::getTag()const diff --git a/chatbot/src/model/CreateCategoryRequest.cc b/chatbot/src/model/CreateCategoryRequest.cc index 1c7e03cc8..2e7589ef9 100644 --- a/chatbot/src/model/CreateCategoryRequest.cc +++ b/chatbot/src/model/CreateCategoryRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::CreateCategoryRequest; CreateCategoryRequest::CreateCategoryRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateCategory") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateCategoryRequest::~CreateCategoryRequest() {} -long CreateCategoryRequest::getParentCategoryId()const -{ - return parentCategoryId_; -} - -void CreateCategoryRequest::setParentCategoryId(long parentCategoryId) -{ - parentCategoryId_ = parentCategoryId; - setCoreParameter("ParentCategoryId", std::to_string(parentCategoryId)); -} - -std::string CreateCategoryRequest::getName()const -{ - return name_; -} - -void CreateCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - +long CreateCategoryRequest::getParentCategoryId()const +{ + return parentCategoryId_; +} + +void CreateCategoryRequest::setParentCategoryId(long parentCategoryId) +{ + parentCategoryId_ = parentCategoryId; + setCoreParameter("ParentCategoryId", std::to_string(parentCategoryId)); +} + +std::string CreateCategoryRequest::getName()const +{ + return name_; +} + +void CreateCategoryRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + diff --git a/chatbot/src/model/CreateCoreWordRequest.cc b/chatbot/src/model/CreateCoreWordRequest.cc index 85ac13038..53fc8b0c5 100644 --- a/chatbot/src/model/CreateCoreWordRequest.cc +++ b/chatbot/src/model/CreateCoreWordRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::CreateCoreWordRequest; CreateCoreWordRequest::CreateCoreWordRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateCoreWord") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateCoreWordRequest::~CreateCoreWordRequest() {} -std::string CreateCoreWordRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void CreateCoreWordRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +std::string CreateCoreWordRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void CreateCoreWordRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/CreateDialogRequest.cc b/chatbot/src/model/CreateDialogRequest.cc index 5491f491f..ad39459f3 100644 --- a/chatbot/src/model/CreateDialogRequest.cc +++ b/chatbot/src/model/CreateDialogRequest.cc @@ -20,41 +20,43 @@ using AlibabaCloud::Chatbot::Model::CreateDialogRequest; CreateDialogRequest::CreateDialogRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateDialog") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateDialogRequest::~CreateDialogRequest() {} -std::string CreateDialogRequest::getDescription()const -{ - return description_; -} - -void CreateDialogRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateDialogRequest::getDialogName()const -{ - return dialogName_; -} - -void CreateDialogRequest::setDialogName(const std::string& dialogName) -{ - dialogName_ = dialogName; - setCoreParameter("DialogName", dialogName); -} - -std::string CreateDialogRequest::getInstanceId()const -{ - return instanceId_; -} - -void CreateDialogRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - +std::string CreateDialogRequest::getDescription()const +{ + return description_; +} + +void CreateDialogRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateDialogRequest::getDialogName()const +{ + return dialogName_; +} + +void CreateDialogRequest::setDialogName(const std::string& dialogName) +{ + dialogName_ = dialogName; + setCoreParameter("DialogName", dialogName); +} + +std::string CreateDialogRequest::getInstanceId()const +{ + return instanceId_; +} + +void CreateDialogRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + diff --git a/chatbot/src/model/CreateEntityRequest.cc b/chatbot/src/model/CreateEntityRequest.cc index 2a6554957..7ea7064b1 100644 --- a/chatbot/src/model/CreateEntityRequest.cc +++ b/chatbot/src/model/CreateEntityRequest.cc @@ -20,63 +20,65 @@ using AlibabaCloud::Chatbot::Model::CreateEntityRequest; CreateEntityRequest::CreateEntityRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateEntity") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateEntityRequest::~CreateEntityRequest() {} -std::string CreateEntityRequest::getEntityName()const -{ - return entityName_; -} - -void CreateEntityRequest::setEntityName(const std::string& entityName) -{ - entityName_ = entityName; - setCoreParameter("EntityName", entityName); -} - -long CreateEntityRequest::getDialogId()const -{ - return dialogId_; -} - -void CreateEntityRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - -std::string CreateEntityRequest::getRegex()const -{ - return regex_; -} - -void CreateEntityRequest::setRegex(const std::string& regex) -{ - regex_ = regex; - setCoreParameter("Regex", regex); -} - -std::string CreateEntityRequest::getEntityType()const -{ - return entityType_; -} - -void CreateEntityRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setCoreParameter("EntityType", entityType); -} - -std::string CreateEntityRequest::getMembers()const -{ - return members_; -} - -void CreateEntityRequest::setMembers(const std::string& members) -{ - members_ = members; - setCoreParameter("Members", members); -} - +std::string CreateEntityRequest::getEntityName()const +{ + return entityName_; +} + +void CreateEntityRequest::setEntityName(const std::string& entityName) +{ + entityName_ = entityName; + setCoreParameter("EntityName", entityName); +} + +long CreateEntityRequest::getDialogId()const +{ + return dialogId_; +} + +void CreateEntityRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + +std::string CreateEntityRequest::getRegex()const +{ + return regex_; +} + +void CreateEntityRequest::setRegex(const std::string& regex) +{ + regex_ = regex; + setCoreParameter("Regex", regex); +} + +std::string CreateEntityRequest::getEntityType()const +{ + return entityType_; +} + +void CreateEntityRequest::setEntityType(const std::string& entityType) +{ + entityType_ = entityType; + setCoreParameter("EntityType", entityType); +} + +std::string CreateEntityRequest::getMembers()const +{ + return members_; +} + +void CreateEntityRequest::setMembers(const std::string& members) +{ + members_ = members; + setCoreParameter("Members", members); +} + diff --git a/chatbot/src/model/CreateIntentRequest.cc b/chatbot/src/model/CreateIntentRequest.cc index b5c069461..1f2c6b5bb 100644 --- a/chatbot/src/model/CreateIntentRequest.cc +++ b/chatbot/src/model/CreateIntentRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::CreateIntentRequest; CreateIntentRequest::CreateIntentRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateIntent") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateIntentRequest::~CreateIntentRequest() {} -std::string CreateIntentRequest::getIntentDefinition()const -{ - return intentDefinition_; -} - -void CreateIntentRequest::setIntentDefinition(const std::string& intentDefinition) -{ - intentDefinition_ = intentDefinition; - setCoreParameter("IntentDefinition", intentDefinition); -} - -long CreateIntentRequest::getDialogId()const -{ - return dialogId_; -} - -void CreateIntentRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +std::string CreateIntentRequest::getIntentDefinition()const +{ + return intentDefinition_; +} + +void CreateIntentRequest::setIntentDefinition(const std::string& intentDefinition) +{ + intentDefinition_ = intentDefinition; + setCoreParameter("IntentDefinition", intentDefinition); +} + +long CreateIntentRequest::getDialogId()const +{ + return dialogId_; +} + +void CreateIntentRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/CreateKnowledgeRequest.cc b/chatbot/src/model/CreateKnowledgeRequest.cc index c5b1f8c71..e1d2c05f3 100644 --- a/chatbot/src/model/CreateKnowledgeRequest.cc +++ b/chatbot/src/model/CreateKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::CreateKnowledgeRequest; CreateKnowledgeRequest::CreateKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreateKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreateKnowledgeRequest::~CreateKnowledgeRequest() {} -std::string CreateKnowledgeRequest::getKnowledge()const -{ - return knowledge_; -} - -void CreateKnowledgeRequest::setKnowledge(const std::string& knowledge) -{ - knowledge_ = knowledge; - setCoreParameter("Knowledge", knowledge); -} - +std::string CreateKnowledgeRequest::getKnowledge()const +{ + return knowledge_; +} + +void CreateKnowledgeRequest::setKnowledge(const std::string& knowledge) +{ + knowledge_ = knowledge; + setCoreParameter("Knowledge", knowledge); +} + diff --git a/chatbot/src/model/CreatePerspectiveRequest.cc b/chatbot/src/model/CreatePerspectiveRequest.cc index 08b5b3365..c2cfbb73b 100644 --- a/chatbot/src/model/CreatePerspectiveRequest.cc +++ b/chatbot/src/model/CreatePerspectiveRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::CreatePerspectiveRequest; CreatePerspectiveRequest::CreatePerspectiveRequest() : RpcServiceRequest("chatbot", "2017-10-11", "CreatePerspective") -{} +{ + setMethod(HttpRequest::Method::Post); +} CreatePerspectiveRequest::~CreatePerspectiveRequest() {} -std::string CreatePerspectiveRequest::getName()const -{ - return name_; -} - -void CreatePerspectiveRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - +std::string CreatePerspectiveRequest::getName()const +{ + return name_; +} + +void CreatePerspectiveRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + diff --git a/chatbot/src/model/DeleteCategoryRequest.cc b/chatbot/src/model/DeleteCategoryRequest.cc index afeb635c9..93557e698 100644 --- a/chatbot/src/model/DeleteCategoryRequest.cc +++ b/chatbot/src/model/DeleteCategoryRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteCategoryRequest; DeleteCategoryRequest::DeleteCategoryRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteCategory") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteCategoryRequest::~DeleteCategoryRequest() {} -long DeleteCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setCoreParameter("CategoryId", std::to_string(categoryId)); -} - +long DeleteCategoryRequest::getCategoryId()const +{ + return categoryId_; +} + +void DeleteCategoryRequest::setCategoryId(long categoryId) +{ + categoryId_ = categoryId; + setCoreParameter("CategoryId", std::to_string(categoryId)); +} + diff --git a/chatbot/src/model/DeleteCoreWordRequest.cc b/chatbot/src/model/DeleteCoreWordRequest.cc index fb8287864..19bfaaa6c 100644 --- a/chatbot/src/model/DeleteCoreWordRequest.cc +++ b/chatbot/src/model/DeleteCoreWordRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteCoreWordRequest; DeleteCoreWordRequest::DeleteCoreWordRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteCoreWord") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteCoreWordRequest::~DeleteCoreWordRequest() {} -std::string DeleteCoreWordRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void DeleteCoreWordRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +std::string DeleteCoreWordRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void DeleteCoreWordRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/DeleteDialogRequest.cc b/chatbot/src/model/DeleteDialogRequest.cc index 03afdfbfd..728045978 100644 --- a/chatbot/src/model/DeleteDialogRequest.cc +++ b/chatbot/src/model/DeleteDialogRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteDialogRequest; DeleteDialogRequest::DeleteDialogRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteDialog") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteDialogRequest::~DeleteDialogRequest() {} -long DeleteDialogRequest::getDialogId()const -{ - return dialogId_; -} - -void DeleteDialogRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long DeleteDialogRequest::getDialogId()const +{ + return dialogId_; +} + +void DeleteDialogRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/DeleteEntityRequest.cc b/chatbot/src/model/DeleteEntityRequest.cc index 0717cf358..a0f20003e 100644 --- a/chatbot/src/model/DeleteEntityRequest.cc +++ b/chatbot/src/model/DeleteEntityRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteEntityRequest; DeleteEntityRequest::DeleteEntityRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteEntity") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteEntityRequest::~DeleteEntityRequest() {} -long DeleteEntityRequest::getEntityId()const -{ - return entityId_; -} - -void DeleteEntityRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", std::to_string(entityId)); -} - +long DeleteEntityRequest::getEntityId()const +{ + return entityId_; +} + +void DeleteEntityRequest::setEntityId(long entityId) +{ + entityId_ = entityId; + setCoreParameter("EntityId", std::to_string(entityId)); +} + diff --git a/chatbot/src/model/DeleteIntentRequest.cc b/chatbot/src/model/DeleteIntentRequest.cc index f62cec6bb..9d0dccd26 100644 --- a/chatbot/src/model/DeleteIntentRequest.cc +++ b/chatbot/src/model/DeleteIntentRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteIntentRequest; DeleteIntentRequest::DeleteIntentRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteIntent") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteIntentRequest::~DeleteIntentRequest() {} -long DeleteIntentRequest::getIntentId()const -{ - return intentId_; -} - -void DeleteIntentRequest::setIntentId(long intentId) -{ - intentId_ = intentId; - setCoreParameter("IntentId", std::to_string(intentId)); -} - +long DeleteIntentRequest::getIntentId()const +{ + return intentId_; +} + +void DeleteIntentRequest::setIntentId(long intentId) +{ + intentId_ = intentId; + setCoreParameter("IntentId", std::to_string(intentId)); +} + diff --git a/chatbot/src/model/DeleteKnowledgeRequest.cc b/chatbot/src/model/DeleteKnowledgeRequest.cc index 0e61c88af..9bb0d1990 100644 --- a/chatbot/src/model/DeleteKnowledgeRequest.cc +++ b/chatbot/src/model/DeleteKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DeleteKnowledgeRequest; DeleteKnowledgeRequest::DeleteKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DeleteKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} DeleteKnowledgeRequest::~DeleteKnowledgeRequest() {} -long DeleteKnowledgeRequest::getKnowledgeId()const -{ - return knowledgeId_; -} - -void DeleteKnowledgeRequest::setKnowledgeId(long knowledgeId) -{ - knowledgeId_ = knowledgeId; - setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); -} - +long DeleteKnowledgeRequest::getKnowledgeId()const +{ + return knowledgeId_; +} + +void DeleteKnowledgeRequest::setKnowledgeId(long knowledgeId) +{ + knowledgeId_ = knowledgeId; + setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); +} + diff --git a/chatbot/src/model/DescribeCategoryRequest.cc b/chatbot/src/model/DescribeCategoryRequest.cc index 4dc7adfe0..d09aafb75 100644 --- a/chatbot/src/model/DescribeCategoryRequest.cc +++ b/chatbot/src/model/DescribeCategoryRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeCategoryRequest; DescribeCategoryRequest::DescribeCategoryRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeCategory") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeCategoryRequest::~DescribeCategoryRequest() {} -long DescribeCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DescribeCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setCoreParameter("CategoryId", std::to_string(categoryId)); -} - +long DescribeCategoryRequest::getCategoryId()const +{ + return categoryId_; +} + +void DescribeCategoryRequest::setCategoryId(long categoryId) +{ + categoryId_ = categoryId; + setCoreParameter("CategoryId", std::to_string(categoryId)); +} + diff --git a/chatbot/src/model/DescribeCoreWordRequest.cc b/chatbot/src/model/DescribeCoreWordRequest.cc index e8c50e14a..da838f210 100644 --- a/chatbot/src/model/DescribeCoreWordRequest.cc +++ b/chatbot/src/model/DescribeCoreWordRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeCoreWordRequest; DescribeCoreWordRequest::DescribeCoreWordRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeCoreWord") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeCoreWordRequest::~DescribeCoreWordRequest() {} -std::string DescribeCoreWordRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void DescribeCoreWordRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +std::string DescribeCoreWordRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void DescribeCoreWordRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/DescribeDialogFlowRequest.cc b/chatbot/src/model/DescribeDialogFlowRequest.cc index d781d42b6..b74ae87d2 100644 --- a/chatbot/src/model/DescribeDialogFlowRequest.cc +++ b/chatbot/src/model/DescribeDialogFlowRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeDialogFlowRequest; DescribeDialogFlowRequest::DescribeDialogFlowRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeDialogFlow") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeDialogFlowRequest::~DescribeDialogFlowRequest() {} -long DescribeDialogFlowRequest::getDialogId()const -{ - return dialogId_; -} - -void DescribeDialogFlowRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long DescribeDialogFlowRequest::getDialogId()const +{ + return dialogId_; +} + +void DescribeDialogFlowRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/DescribeDialogRequest.cc b/chatbot/src/model/DescribeDialogRequest.cc index 66ca9dcbe..2b27a1adb 100644 --- a/chatbot/src/model/DescribeDialogRequest.cc +++ b/chatbot/src/model/DescribeDialogRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeDialogRequest; DescribeDialogRequest::DescribeDialogRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeDialog") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeDialogRequest::~DescribeDialogRequest() {} -long DescribeDialogRequest::getDialogId()const -{ - return dialogId_; -} - -void DescribeDialogRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long DescribeDialogRequest::getDialogId()const +{ + return dialogId_; +} + +void DescribeDialogRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/DescribeEntitiesRequest.cc b/chatbot/src/model/DescribeEntitiesRequest.cc index bf74eb17f..231f53400 100644 --- a/chatbot/src/model/DescribeEntitiesRequest.cc +++ b/chatbot/src/model/DescribeEntitiesRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeEntitiesRequest; DescribeEntitiesRequest::DescribeEntitiesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeEntities") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeEntitiesRequest::~DescribeEntitiesRequest() {} -long DescribeEntitiesRequest::getEntityId()const -{ - return entityId_; -} - -void DescribeEntitiesRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", std::to_string(entityId)); -} - +long DescribeEntitiesRequest::getEntityId()const +{ + return entityId_; +} + +void DescribeEntitiesRequest::setEntityId(long entityId) +{ + entityId_ = entityId; + setCoreParameter("EntityId", std::to_string(entityId)); +} + diff --git a/chatbot/src/model/DescribeIntentRequest.cc b/chatbot/src/model/DescribeIntentRequest.cc index 11bc1de7a..9a4cf233e 100644 --- a/chatbot/src/model/DescribeIntentRequest.cc +++ b/chatbot/src/model/DescribeIntentRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeIntentRequest; DescribeIntentRequest::DescribeIntentRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeIntent") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeIntentRequest::~DescribeIntentRequest() {} -long DescribeIntentRequest::getIntentId()const -{ - return intentId_; -} - -void DescribeIntentRequest::setIntentId(long intentId) -{ - intentId_ = intentId; - setCoreParameter("IntentId", std::to_string(intentId)); -} - +long DescribeIntentRequest::getIntentId()const +{ + return intentId_; +} + +void DescribeIntentRequest::setIntentId(long intentId) +{ + intentId_ = intentId; + setCoreParameter("IntentId", std::to_string(intentId)); +} + diff --git a/chatbot/src/model/DescribeKnowledgeRequest.cc b/chatbot/src/model/DescribeKnowledgeRequest.cc index dc36ae495..84af080e8 100644 --- a/chatbot/src/model/DescribeKnowledgeRequest.cc +++ b/chatbot/src/model/DescribeKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribeKnowledgeRequest; DescribeKnowledgeRequest::DescribeKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribeKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribeKnowledgeRequest::~DescribeKnowledgeRequest() {} -long DescribeKnowledgeRequest::getKnowledgeId()const -{ - return knowledgeId_; -} - -void DescribeKnowledgeRequest::setKnowledgeId(long knowledgeId) -{ - knowledgeId_ = knowledgeId; - setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); -} - +long DescribeKnowledgeRequest::getKnowledgeId()const +{ + return knowledgeId_; +} + +void DescribeKnowledgeRequest::setKnowledgeId(long knowledgeId) +{ + knowledgeId_ = knowledgeId; + setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); +} + diff --git a/chatbot/src/model/DescribePerspectiveRequest.cc b/chatbot/src/model/DescribePerspectiveRequest.cc index dc786b889..32b98b710 100644 --- a/chatbot/src/model/DescribePerspectiveRequest.cc +++ b/chatbot/src/model/DescribePerspectiveRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DescribePerspectiveRequest; DescribePerspectiveRequest::DescribePerspectiveRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DescribePerspective") -{} +{ + setMethod(HttpRequest::Method::Post); +} DescribePerspectiveRequest::~DescribePerspectiveRequest() {} -std::string DescribePerspectiveRequest::getPerspectiveId()const -{ - return perspectiveId_; -} - -void DescribePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) -{ - perspectiveId_ = perspectiveId; - setCoreParameter("PerspectiveId", perspectiveId); -} - +std::string DescribePerspectiveRequest::getPerspectiveId()const +{ + return perspectiveId_; +} + +void DescribePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) +{ + perspectiveId_ = perspectiveId; + setCoreParameter("PerspectiveId", perspectiveId); +} + diff --git a/chatbot/src/model/DisableDialogFlowRequest.cc b/chatbot/src/model/DisableDialogFlowRequest.cc index 99ca5933b..151416b96 100644 --- a/chatbot/src/model/DisableDialogFlowRequest.cc +++ b/chatbot/src/model/DisableDialogFlowRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DisableDialogFlowRequest; DisableDialogFlowRequest::DisableDialogFlowRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DisableDialogFlow") -{} +{ + setMethod(HttpRequest::Method::Post); +} DisableDialogFlowRequest::~DisableDialogFlowRequest() {} -long DisableDialogFlowRequest::getDialogId()const -{ - return dialogId_; -} - -void DisableDialogFlowRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long DisableDialogFlowRequest::getDialogId()const +{ + return dialogId_; +} + +void DisableDialogFlowRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/DisableKnowledgeRequest.cc b/chatbot/src/model/DisableKnowledgeRequest.cc index 8296958f8..a71c46815 100644 --- a/chatbot/src/model/DisableKnowledgeRequest.cc +++ b/chatbot/src/model/DisableKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::DisableKnowledgeRequest; DisableKnowledgeRequest::DisableKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "DisableKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} DisableKnowledgeRequest::~DisableKnowledgeRequest() {} -long DisableKnowledgeRequest::getKnowledgeId()const -{ - return knowledgeId_; -} - -void DisableKnowledgeRequest::setKnowledgeId(long knowledgeId) -{ - knowledgeId_ = knowledgeId; - setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); -} - +long DisableKnowledgeRequest::getKnowledgeId()const +{ + return knowledgeId_; +} + +void DisableKnowledgeRequest::setKnowledgeId(long knowledgeId) +{ + knowledgeId_ = knowledgeId; + setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); +} + diff --git a/chatbot/src/model/FeedbackRequest.cc b/chatbot/src/model/FeedbackRequest.cc index 2bb62066c..cf08f06f7 100644 --- a/chatbot/src/model/FeedbackRequest.cc +++ b/chatbot/src/model/FeedbackRequest.cc @@ -20,52 +20,54 @@ using AlibabaCloud::Chatbot::Model::FeedbackRequest; FeedbackRequest::FeedbackRequest() : RpcServiceRequest("chatbot", "2017-10-11", "Feedback") -{} +{ + setMethod(HttpRequest::Method::Post); +} FeedbackRequest::~FeedbackRequest() {} -std::string FeedbackRequest::getFeedback()const -{ - return feedback_; -} - -void FeedbackRequest::setFeedback(const std::string& feedback) -{ - feedback_ = feedback; - setCoreParameter("Feedback", feedback); -} - -std::string FeedbackRequest::getInstanceId()const -{ - return instanceId_; -} - -void FeedbackRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - -std::string FeedbackRequest::getMessageId()const -{ - return messageId_; -} - -void FeedbackRequest::setMessageId(const std::string& messageId) -{ - messageId_ = messageId; - setCoreParameter("MessageId", messageId); -} - -std::string FeedbackRequest::getSessionId()const -{ - return sessionId_; -} - -void FeedbackRequest::setSessionId(const std::string& sessionId) -{ - sessionId_ = sessionId; - setCoreParameter("SessionId", sessionId); -} - +std::string FeedbackRequest::getFeedback()const +{ + return feedback_; +} + +void FeedbackRequest::setFeedback(const std::string& feedback) +{ + feedback_ = feedback; + setCoreParameter("Feedback", feedback); +} + +std::string FeedbackRequest::getInstanceId()const +{ + return instanceId_; +} + +void FeedbackRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string FeedbackRequest::getMessageId()const +{ + return messageId_; +} + +void FeedbackRequest::setMessageId(const std::string& messageId) +{ + messageId_ = messageId; + setCoreParameter("MessageId", messageId); +} + +std::string FeedbackRequest::getSessionId()const +{ + return sessionId_; +} + +void FeedbackRequest::setSessionId(const std::string& sessionId) +{ + sessionId_ = sessionId; + setCoreParameter("SessionId", sessionId); +} + diff --git a/chatbot/src/model/MoveKnowledgeCategoryRequest.cc b/chatbot/src/model/MoveKnowledgeCategoryRequest.cc index 76069730b..322c183e8 100644 --- a/chatbot/src/model/MoveKnowledgeCategoryRequest.cc +++ b/chatbot/src/model/MoveKnowledgeCategoryRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::MoveKnowledgeCategoryRequest; MoveKnowledgeCategoryRequest::MoveKnowledgeCategoryRequest() : RpcServiceRequest("chatbot", "2017-10-11", "MoveKnowledgeCategory") -{} +{ + setMethod(HttpRequest::Method::Post); +} MoveKnowledgeCategoryRequest::~MoveKnowledgeCategoryRequest() {} -long MoveKnowledgeCategoryRequest::getKnowledgeId()const -{ - return knowledgeId_; -} - -void MoveKnowledgeCategoryRequest::setKnowledgeId(long knowledgeId) -{ - knowledgeId_ = knowledgeId; - setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); -} - -long MoveKnowledgeCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void MoveKnowledgeCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setCoreParameter("CategoryId", std::to_string(categoryId)); -} - +long MoveKnowledgeCategoryRequest::getKnowledgeId()const +{ + return knowledgeId_; +} + +void MoveKnowledgeCategoryRequest::setKnowledgeId(long knowledgeId) +{ + knowledgeId_ = knowledgeId; + setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); +} + +long MoveKnowledgeCategoryRequest::getCategoryId()const +{ + return categoryId_; +} + +void MoveKnowledgeCategoryRequest::setCategoryId(long categoryId) +{ + categoryId_ = categoryId; + setCoreParameter("CategoryId", std::to_string(categoryId)); +} + diff --git a/chatbot/src/model/PublishDialogFlowRequest.cc b/chatbot/src/model/PublishDialogFlowRequest.cc index 5f58f0181..e24180549 100644 --- a/chatbot/src/model/PublishDialogFlowRequest.cc +++ b/chatbot/src/model/PublishDialogFlowRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::PublishDialogFlowRequest; PublishDialogFlowRequest::PublishDialogFlowRequest() : RpcServiceRequest("chatbot", "2017-10-11", "PublishDialogFlow") -{} +{ + setMethod(HttpRequest::Method::Post); +} PublishDialogFlowRequest::~PublishDialogFlowRequest() {} -long PublishDialogFlowRequest::getDialogId()const -{ - return dialogId_; -} - -void PublishDialogFlowRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long PublishDialogFlowRequest::getDialogId()const +{ + return dialogId_; +} + +void PublishDialogFlowRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/PublishKnowledgeRequest.cc b/chatbot/src/model/PublishKnowledgeRequest.cc index b649cfe67..447973c4f 100644 --- a/chatbot/src/model/PublishKnowledgeRequest.cc +++ b/chatbot/src/model/PublishKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::PublishKnowledgeRequest; PublishKnowledgeRequest::PublishKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "PublishKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} PublishKnowledgeRequest::~PublishKnowledgeRequest() {} -long PublishKnowledgeRequest::getKnowledgeId()const -{ - return knowledgeId_; -} - -void PublishKnowledgeRequest::setKnowledgeId(long knowledgeId) -{ - knowledgeId_ = knowledgeId; - setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); -} - +long PublishKnowledgeRequest::getKnowledgeId()const +{ + return knowledgeId_; +} + +void PublishKnowledgeRequest::setKnowledgeId(long knowledgeId) +{ + knowledgeId_ = knowledgeId; + setCoreParameter("KnowledgeId", std::to_string(knowledgeId)); +} + diff --git a/chatbot/src/model/QueryCategoriesRequest.cc b/chatbot/src/model/QueryCategoriesRequest.cc index cc41a9396..2c900e87c 100644 --- a/chatbot/src/model/QueryCategoriesRequest.cc +++ b/chatbot/src/model/QueryCategoriesRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::QueryCategoriesRequest; QueryCategoriesRequest::QueryCategoriesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryCategories") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryCategoriesRequest::~QueryCategoriesRequest() {} -bool QueryCategoriesRequest::getShowChildrens()const -{ - return showChildrens_; -} - -void QueryCategoriesRequest::setShowChildrens(bool showChildrens) -{ - showChildrens_ = showChildrens; - setCoreParameter("ShowChildrens", showChildrens ? "true" : "false"); -} - -long QueryCategoriesRequest::getParentCategoryId()const -{ - return parentCategoryId_; -} - -void QueryCategoriesRequest::setParentCategoryId(long parentCategoryId) -{ - parentCategoryId_ = parentCategoryId; - setCoreParameter("ParentCategoryId", std::to_string(parentCategoryId)); -} - +bool QueryCategoriesRequest::getShowChildrens()const +{ + return showChildrens_; +} + +void QueryCategoriesRequest::setShowChildrens(bool showChildrens) +{ + showChildrens_ = showChildrens; + setCoreParameter("ShowChildrens", showChildrens ? "true" : "false"); +} + +long QueryCategoriesRequest::getParentCategoryId()const +{ + return parentCategoryId_; +} + +void QueryCategoriesRequest::setParentCategoryId(long parentCategoryId) +{ + parentCategoryId_ = parentCategoryId; + setCoreParameter("ParentCategoryId", std::to_string(parentCategoryId)); +} + diff --git a/chatbot/src/model/QueryCoreWordsRequest.cc b/chatbot/src/model/QueryCoreWordsRequest.cc index 6b60243ba..db8ef1cb9 100644 --- a/chatbot/src/model/QueryCoreWordsRequest.cc +++ b/chatbot/src/model/QueryCoreWordsRequest.cc @@ -20,52 +20,54 @@ using AlibabaCloud::Chatbot::Model::QueryCoreWordsRequest; QueryCoreWordsRequest::QueryCoreWordsRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryCoreWords") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryCoreWordsRequest::~QueryCoreWordsRequest() {} -int QueryCoreWordsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryCoreWordsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string QueryCoreWordsRequest::getSynonym()const -{ - return synonym_; -} - -void QueryCoreWordsRequest::setSynonym(const std::string& synonym) -{ - synonym_ = synonym; - setCoreParameter("Synonym", synonym); -} - -int QueryCoreWordsRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryCoreWordsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string QueryCoreWordsRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void QueryCoreWordsRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +int QueryCoreWordsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryCoreWordsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string QueryCoreWordsRequest::getSynonym()const +{ + return synonym_; +} + +void QueryCoreWordsRequest::setSynonym(const std::string& synonym) +{ + synonym_ = synonym; + setCoreParameter("Synonym", synonym); +} + +int QueryCoreWordsRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryCoreWordsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryCoreWordsRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void QueryCoreWordsRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/QueryDialogsRequest.cc b/chatbot/src/model/QueryDialogsRequest.cc index 8ffff2852..a3a1ef4aa 100644 --- a/chatbot/src/model/QueryDialogsRequest.cc +++ b/chatbot/src/model/QueryDialogsRequest.cc @@ -20,52 +20,54 @@ using AlibabaCloud::Chatbot::Model::QueryDialogsRequest; QueryDialogsRequest::QueryDialogsRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryDialogs") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryDialogsRequest::~QueryDialogsRequest() {} -std::string QueryDialogsRequest::getDialogName()const -{ - return dialogName_; -} - -void QueryDialogsRequest::setDialogName(const std::string& dialogName) -{ - dialogName_ = dialogName; - setCoreParameter("DialogName", dialogName); -} - -int QueryDialogsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryDialogsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string QueryDialogsRequest::getInstanceId()const -{ - return instanceId_; -} - -void QueryDialogsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - -int QueryDialogsRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryDialogsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - +std::string QueryDialogsRequest::getDialogName()const +{ + return dialogName_; +} + +void QueryDialogsRequest::setDialogName(const std::string& dialogName) +{ + dialogName_ = dialogName; + setCoreParameter("DialogName", dialogName); +} + +int QueryDialogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryDialogsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string QueryDialogsRequest::getInstanceId()const +{ + return instanceId_; +} + +void QueryDialogsRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +int QueryDialogsRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryDialogsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/chatbot/src/model/QueryEntitiesRequest.cc b/chatbot/src/model/QueryEntitiesRequest.cc index 2f50b9b7a..781ed38a2 100644 --- a/chatbot/src/model/QueryEntitiesRequest.cc +++ b/chatbot/src/model/QueryEntitiesRequest.cc @@ -20,52 +20,54 @@ using AlibabaCloud::Chatbot::Model::QueryEntitiesRequest; QueryEntitiesRequest::QueryEntitiesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryEntities") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryEntitiesRequest::~QueryEntitiesRequest() {} -std::string QueryEntitiesRequest::getEntityName()const -{ - return entityName_; -} - -void QueryEntitiesRequest::setEntityName(const std::string& entityName) -{ - entityName_ = entityName; - setCoreParameter("EntityName", entityName); -} - -long QueryEntitiesRequest::getDialogId()const -{ - return dialogId_; -} - -void QueryEntitiesRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - -int QueryEntitiesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryEntitiesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -int QueryEntitiesRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryEntitiesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - +std::string QueryEntitiesRequest::getEntityName()const +{ + return entityName_; +} + +void QueryEntitiesRequest::setEntityName(const std::string& entityName) +{ + entityName_ = entityName; + setCoreParameter("EntityName", entityName); +} + +long QueryEntitiesRequest::getDialogId()const +{ + return dialogId_; +} + +void QueryEntitiesRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + +int QueryEntitiesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryEntitiesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +int QueryEntitiesRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryEntitiesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/chatbot/src/model/QueryIntentsRequest.cc b/chatbot/src/model/QueryIntentsRequest.cc index 692b162c4..e2c07e42e 100644 --- a/chatbot/src/model/QueryIntentsRequest.cc +++ b/chatbot/src/model/QueryIntentsRequest.cc @@ -20,52 +20,54 @@ using AlibabaCloud::Chatbot::Model::QueryIntentsRequest; QueryIntentsRequest::QueryIntentsRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryIntents") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryIntentsRequest::~QueryIntentsRequest() {} -long QueryIntentsRequest::getDialogId()const -{ - return dialogId_; -} - -void QueryIntentsRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - -int QueryIntentsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryIntentsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string QueryIntentsRequest::getIntentName()const -{ - return intentName_; -} - -void QueryIntentsRequest::setIntentName(const std::string& intentName) -{ - intentName_ = intentName; - setCoreParameter("IntentName", intentName); -} - -int QueryIntentsRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryIntentsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - +long QueryIntentsRequest::getDialogId()const +{ + return dialogId_; +} + +void QueryIntentsRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + +int QueryIntentsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryIntentsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string QueryIntentsRequest::getIntentName()const +{ + return intentName_; +} + +void QueryIntentsRequest::setIntentName(const std::string& intentName) +{ + intentName_ = intentName; + setCoreParameter("IntentName", intentName); +} + +int QueryIntentsRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryIntentsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/chatbot/src/model/QueryKnowledgesRequest.cc b/chatbot/src/model/QueryKnowledgesRequest.cc index cb4657669..6d40fe913 100644 --- a/chatbot/src/model/QueryKnowledgesRequest.cc +++ b/chatbot/src/model/QueryKnowledgesRequest.cc @@ -20,63 +20,65 @@ using AlibabaCloud::Chatbot::Model::QueryKnowledgesRequest; QueryKnowledgesRequest::QueryKnowledgesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryKnowledges") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryKnowledgesRequest::~QueryKnowledgesRequest() {} -std::string QueryKnowledgesRequest::getKnowledgeTitle()const -{ - return knowledgeTitle_; -} - -void QueryKnowledgesRequest::setKnowledgeTitle(const std::string& knowledgeTitle) -{ - knowledgeTitle_ = knowledgeTitle; - setCoreParameter("KnowledgeTitle", knowledgeTitle); -} - -int QueryKnowledgesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryKnowledgesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -int QueryKnowledgesRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryKnowledgesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string QueryKnowledgesRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void QueryKnowledgesRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - -long QueryKnowledgesRequest::getCategoryId()const -{ - return categoryId_; -} - -void QueryKnowledgesRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setCoreParameter("CategoryId", std::to_string(categoryId)); -} - +std::string QueryKnowledgesRequest::getKnowledgeTitle()const +{ + return knowledgeTitle_; +} + +void QueryKnowledgesRequest::setKnowledgeTitle(const std::string& knowledgeTitle) +{ + knowledgeTitle_ = knowledgeTitle; + setCoreParameter("KnowledgeTitle", knowledgeTitle); +} + +int QueryKnowledgesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryKnowledgesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +int QueryKnowledgesRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryKnowledgesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryKnowledgesRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void QueryKnowledgesRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + +long QueryKnowledgesRequest::getCategoryId()const +{ + return categoryId_; +} + +void QueryKnowledgesRequest::setCategoryId(long categoryId) +{ + categoryId_ = categoryId; + setCoreParameter("CategoryId", std::to_string(categoryId)); +} + diff --git a/chatbot/src/model/QueryPerspectivesRequest.cc b/chatbot/src/model/QueryPerspectivesRequest.cc index 88f593886..425098246 100644 --- a/chatbot/src/model/QueryPerspectivesRequest.cc +++ b/chatbot/src/model/QueryPerspectivesRequest.cc @@ -20,7 +20,9 @@ using AlibabaCloud::Chatbot::Model::QueryPerspectivesRequest; QueryPerspectivesRequest::QueryPerspectivesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QueryPerspectives") -{} +{ + setMethod(HttpRequest::Method::Post); +} QueryPerspectivesRequest::~QueryPerspectivesRequest() {} diff --git a/chatbot/src/model/QuerySystemEntitiesRequest.cc b/chatbot/src/model/QuerySystemEntitiesRequest.cc index 771ad5484..b51c9ea0e 100644 --- a/chatbot/src/model/QuerySystemEntitiesRequest.cc +++ b/chatbot/src/model/QuerySystemEntitiesRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::QuerySystemEntitiesRequest; QuerySystemEntitiesRequest::QuerySystemEntitiesRequest() : RpcServiceRequest("chatbot", "2017-10-11", "QuerySystemEntities") -{} +{ + setMethod(HttpRequest::Method::Post); +} QuerySystemEntitiesRequest::~QuerySystemEntitiesRequest() {} -std::string QuerySystemEntitiesRequest::getEntityName()const -{ - return entityName_; -} - -void QuerySystemEntitiesRequest::setEntityName(const std::string& entityName) -{ - entityName_ = entityName; - setCoreParameter("EntityName", entityName); -} - +std::string QuerySystemEntitiesRequest::getEntityName()const +{ + return entityName_; +} + +void QuerySystemEntitiesRequest::setEntityName(const std::string& entityName) +{ + entityName_ = entityName; + setCoreParameter("EntityName", entityName); +} + diff --git a/chatbot/src/model/RemoveEntityMemberRequest.cc b/chatbot/src/model/RemoveEntityMemberRequest.cc index 91ecf7cc7..5bb5cfaac 100644 --- a/chatbot/src/model/RemoveEntityMemberRequest.cc +++ b/chatbot/src/model/RemoveEntityMemberRequest.cc @@ -20,41 +20,43 @@ using AlibabaCloud::Chatbot::Model::RemoveEntityMemberRequest; RemoveEntityMemberRequest::RemoveEntityMemberRequest() : RpcServiceRequest("chatbot", "2017-10-11", "RemoveEntityMember") -{} +{ + setMethod(HttpRequest::Method::Post); +} RemoveEntityMemberRequest::~RemoveEntityMemberRequest() {} -long RemoveEntityMemberRequest::getEntityId()const -{ - return entityId_; -} - -void RemoveEntityMemberRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", std::to_string(entityId)); -} - -std::string RemoveEntityMemberRequest::getRemoveType()const -{ - return removeType_; -} - -void RemoveEntityMemberRequest::setRemoveType(const std::string& removeType) -{ - removeType_ = removeType; - setCoreParameter("RemoveType", removeType); -} - -std::string RemoveEntityMemberRequest::getMember()const -{ - return member_; -} - -void RemoveEntityMemberRequest::setMember(const std::string& member) -{ - member_ = member; - setCoreParameter("Member", member); -} - +long RemoveEntityMemberRequest::getEntityId()const +{ + return entityId_; +} + +void RemoveEntityMemberRequest::setEntityId(long entityId) +{ + entityId_ = entityId; + setCoreParameter("EntityId", std::to_string(entityId)); +} + +std::string RemoveEntityMemberRequest::getRemoveType()const +{ + return removeType_; +} + +void RemoveEntityMemberRequest::setRemoveType(const std::string& removeType) +{ + removeType_ = removeType; + setCoreParameter("RemoveType", removeType); +} + +std::string RemoveEntityMemberRequest::getMember()const +{ + return member_; +} + +void RemoveEntityMemberRequest::setMember(const std::string& member) +{ + member_ = member; + setCoreParameter("Member", member); +} + diff --git a/chatbot/src/model/RemoveSynonymRequest.cc b/chatbot/src/model/RemoveSynonymRequest.cc index 9003d06da..213dac40e 100644 --- a/chatbot/src/model/RemoveSynonymRequest.cc +++ b/chatbot/src/model/RemoveSynonymRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::RemoveSynonymRequest; RemoveSynonymRequest::RemoveSynonymRequest() : RpcServiceRequest("chatbot", "2017-10-11", "RemoveSynonym") -{} +{ + setMethod(HttpRequest::Method::Post); +} RemoveSynonymRequest::~RemoveSynonymRequest() {} -std::string RemoveSynonymRequest::getSynonym()const -{ - return synonym_; -} - -void RemoveSynonymRequest::setSynonym(const std::string& synonym) -{ - synonym_ = synonym; - setCoreParameter("Synonym", synonym); -} - -std::string RemoveSynonymRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void RemoveSynonymRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - +std::string RemoveSynonymRequest::getSynonym()const +{ + return synonym_; +} + +void RemoveSynonymRequest::setSynonym(const std::string& synonym) +{ + synonym_ = synonym; + setCoreParameter("Synonym", synonym); +} + +std::string RemoveSynonymRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void RemoveSynonymRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + diff --git a/chatbot/src/model/TestDialogFlowRequest.cc b/chatbot/src/model/TestDialogFlowRequest.cc index 02f6cd36c..2fb58d2e1 100644 --- a/chatbot/src/model/TestDialogFlowRequest.cc +++ b/chatbot/src/model/TestDialogFlowRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::TestDialogFlowRequest; TestDialogFlowRequest::TestDialogFlowRequest() : RpcServiceRequest("chatbot", "2017-10-11", "TestDialogFlow") -{} +{ + setMethod(HttpRequest::Method::Post); +} TestDialogFlowRequest::~TestDialogFlowRequest() {} -long TestDialogFlowRequest::getDialogId()const -{ - return dialogId_; -} - -void TestDialogFlowRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +long TestDialogFlowRequest::getDialogId()const +{ + return dialogId_; +} + +void TestDialogFlowRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/UpdateCategoryRequest.cc b/chatbot/src/model/UpdateCategoryRequest.cc index 536a97b3d..1945ccd00 100644 --- a/chatbot/src/model/UpdateCategoryRequest.cc +++ b/chatbot/src/model/UpdateCategoryRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::UpdateCategoryRequest; UpdateCategoryRequest::UpdateCategoryRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateCategory") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateCategoryRequest::~UpdateCategoryRequest() {} -std::string UpdateCategoryRequest::getName()const -{ - return name_; -} - -void UpdateCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -long UpdateCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void UpdateCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setCoreParameter("CategoryId", std::to_string(categoryId)); -} - +std::string UpdateCategoryRequest::getName()const +{ + return name_; +} + +void UpdateCategoryRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +long UpdateCategoryRequest::getCategoryId()const +{ + return categoryId_; +} + +void UpdateCategoryRequest::setCategoryId(long categoryId) +{ + categoryId_ = categoryId; + setCoreParameter("CategoryId", std::to_string(categoryId)); +} + diff --git a/chatbot/src/model/UpdateCoreWordRequest.cc b/chatbot/src/model/UpdateCoreWordRequest.cc index 022432799..2097467ad 100644 --- a/chatbot/src/model/UpdateCoreWordRequest.cc +++ b/chatbot/src/model/UpdateCoreWordRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::UpdateCoreWordRequest; UpdateCoreWordRequest::UpdateCoreWordRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateCoreWord") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateCoreWordRequest::~UpdateCoreWordRequest() {} -std::string UpdateCoreWordRequest::getCoreWordName()const -{ - return coreWordName_; -} - -void UpdateCoreWordRequest::setCoreWordName(const std::string& coreWordName) -{ - coreWordName_ = coreWordName; - setCoreParameter("CoreWordName", coreWordName); -} - -std::string UpdateCoreWordRequest::getCoreWordCode()const -{ - return coreWordCode_; -} - -void UpdateCoreWordRequest::setCoreWordCode(const std::string& coreWordCode) -{ - coreWordCode_ = coreWordCode; - setCoreParameter("CoreWordCode", coreWordCode); -} - +std::string UpdateCoreWordRequest::getCoreWordName()const +{ + return coreWordName_; +} + +void UpdateCoreWordRequest::setCoreWordName(const std::string& coreWordName) +{ + coreWordName_ = coreWordName; + setCoreParameter("CoreWordName", coreWordName); +} + +std::string UpdateCoreWordRequest::getCoreWordCode()const +{ + return coreWordCode_; +} + +void UpdateCoreWordRequest::setCoreWordCode(const std::string& coreWordCode) +{ + coreWordCode_ = coreWordCode; + setCoreParameter("CoreWordCode", coreWordCode); +} + diff --git a/chatbot/src/model/UpdateDialogFlowRequest.cc b/chatbot/src/model/UpdateDialogFlowRequest.cc index d904671fd..1a40db920 100644 --- a/chatbot/src/model/UpdateDialogFlowRequest.cc +++ b/chatbot/src/model/UpdateDialogFlowRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::UpdateDialogFlowRequest; UpdateDialogFlowRequest::UpdateDialogFlowRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateDialogFlow") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateDialogFlowRequest::~UpdateDialogFlowRequest() {} -std::string UpdateDialogFlowRequest::getModuleDefinition()const -{ - return moduleDefinition_; -} - -void UpdateDialogFlowRequest::setModuleDefinition(const std::string& moduleDefinition) -{ - moduleDefinition_ = moduleDefinition; - setCoreParameter("ModuleDefinition", moduleDefinition); -} - -long UpdateDialogFlowRequest::getDialogId()const -{ - return dialogId_; -} - -void UpdateDialogFlowRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - +std::string UpdateDialogFlowRequest::getModuleDefinition()const +{ + return moduleDefinition_; +} + +void UpdateDialogFlowRequest::setModuleDefinition(const std::string& moduleDefinition) +{ + moduleDefinition_ = moduleDefinition; + setCoreParameter("ModuleDefinition", moduleDefinition); +} + +long UpdateDialogFlowRequest::getDialogId()const +{ + return dialogId_; +} + +void UpdateDialogFlowRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + diff --git a/chatbot/src/model/UpdateDialogRequest.cc b/chatbot/src/model/UpdateDialogRequest.cc index 957f9adff..a0f3f2a3b 100644 --- a/chatbot/src/model/UpdateDialogRequest.cc +++ b/chatbot/src/model/UpdateDialogRequest.cc @@ -20,41 +20,43 @@ using AlibabaCloud::Chatbot::Model::UpdateDialogRequest; UpdateDialogRequest::UpdateDialogRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateDialog") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateDialogRequest::~UpdateDialogRequest() {} -std::string UpdateDialogRequest::getDescription()const -{ - return description_; -} - -void UpdateDialogRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -long UpdateDialogRequest::getDialogId()const -{ - return dialogId_; -} - -void UpdateDialogRequest::setDialogId(long dialogId) -{ - dialogId_ = dialogId; - setCoreParameter("DialogId", std::to_string(dialogId)); -} - -std::string UpdateDialogRequest::getDialogName()const -{ - return dialogName_; -} - -void UpdateDialogRequest::setDialogName(const std::string& dialogName) -{ - dialogName_ = dialogName; - setCoreParameter("DialogName", dialogName); -} - +std::string UpdateDialogRequest::getDescription()const +{ + return description_; +} + +void UpdateDialogRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +long UpdateDialogRequest::getDialogId()const +{ + return dialogId_; +} + +void UpdateDialogRequest::setDialogId(long dialogId) +{ + dialogId_ = dialogId; + setCoreParameter("DialogId", std::to_string(dialogId)); +} + +std::string UpdateDialogRequest::getDialogName()const +{ + return dialogName_; +} + +void UpdateDialogRequest::setDialogName(const std::string& dialogName) +{ + dialogName_ = dialogName; + setCoreParameter("DialogName", dialogName); +} + diff --git a/chatbot/src/model/UpdateEntityRequest.cc b/chatbot/src/model/UpdateEntityRequest.cc index 2b854813c..8319986e7 100644 --- a/chatbot/src/model/UpdateEntityRequest.cc +++ b/chatbot/src/model/UpdateEntityRequest.cc @@ -20,63 +20,65 @@ using AlibabaCloud::Chatbot::Model::UpdateEntityRequest; UpdateEntityRequest::UpdateEntityRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateEntity") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateEntityRequest::~UpdateEntityRequest() {} -std::string UpdateEntityRequest::getEntityName()const -{ - return entityName_; -} - -void UpdateEntityRequest::setEntityName(const std::string& entityName) -{ - entityName_ = entityName; - setCoreParameter("EntityName", entityName); -} - -long UpdateEntityRequest::getEntityId()const -{ - return entityId_; -} - -void UpdateEntityRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", std::to_string(entityId)); -} - -std::string UpdateEntityRequest::getRegex()const -{ - return regex_; -} - -void UpdateEntityRequest::setRegex(const std::string& regex) -{ - regex_ = regex; - setCoreParameter("Regex", regex); -} - -std::string UpdateEntityRequest::getEntityType()const -{ - return entityType_; -} - -void UpdateEntityRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setCoreParameter("EntityType", entityType); -} - -std::string UpdateEntityRequest::getMembers()const -{ - return members_; -} - -void UpdateEntityRequest::setMembers(const std::string& members) -{ - members_ = members; - setCoreParameter("Members", members); -} - +std::string UpdateEntityRequest::getEntityName()const +{ + return entityName_; +} + +void UpdateEntityRequest::setEntityName(const std::string& entityName) +{ + entityName_ = entityName; + setCoreParameter("EntityName", entityName); +} + +long UpdateEntityRequest::getEntityId()const +{ + return entityId_; +} + +void UpdateEntityRequest::setEntityId(long entityId) +{ + entityId_ = entityId; + setCoreParameter("EntityId", std::to_string(entityId)); +} + +std::string UpdateEntityRequest::getRegex()const +{ + return regex_; +} + +void UpdateEntityRequest::setRegex(const std::string& regex) +{ + regex_ = regex; + setCoreParameter("Regex", regex); +} + +std::string UpdateEntityRequest::getEntityType()const +{ + return entityType_; +} + +void UpdateEntityRequest::setEntityType(const std::string& entityType) +{ + entityType_ = entityType; + setCoreParameter("EntityType", entityType); +} + +std::string UpdateEntityRequest::getMembers()const +{ + return members_; +} + +void UpdateEntityRequest::setMembers(const std::string& members) +{ + members_ = members; + setCoreParameter("Members", members); +} + diff --git a/chatbot/src/model/UpdateIntentRequest.cc b/chatbot/src/model/UpdateIntentRequest.cc index 6d80faa47..d2a3ae210 100644 --- a/chatbot/src/model/UpdateIntentRequest.cc +++ b/chatbot/src/model/UpdateIntentRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::UpdateIntentRequest; UpdateIntentRequest::UpdateIntentRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateIntent") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateIntentRequest::~UpdateIntentRequest() {} -std::string UpdateIntentRequest::getIntentDefinition()const -{ - return intentDefinition_; -} - -void UpdateIntentRequest::setIntentDefinition(const std::string& intentDefinition) -{ - intentDefinition_ = intentDefinition; - setCoreParameter("IntentDefinition", intentDefinition); -} - -long UpdateIntentRequest::getIntentId()const -{ - return intentId_; -} - -void UpdateIntentRequest::setIntentId(long intentId) -{ - intentId_ = intentId; - setCoreParameter("IntentId", std::to_string(intentId)); -} - +std::string UpdateIntentRequest::getIntentDefinition()const +{ + return intentDefinition_; +} + +void UpdateIntentRequest::setIntentDefinition(const std::string& intentDefinition) +{ + intentDefinition_ = intentDefinition; + setCoreParameter("IntentDefinition", intentDefinition); +} + +long UpdateIntentRequest::getIntentId()const +{ + return intentId_; +} + +void UpdateIntentRequest::setIntentId(long intentId) +{ + intentId_ = intentId; + setCoreParameter("IntentId", std::to_string(intentId)); +} + diff --git a/chatbot/src/model/UpdateKnowledgeRequest.cc b/chatbot/src/model/UpdateKnowledgeRequest.cc index c0cd5aeb3..7252659ab 100644 --- a/chatbot/src/model/UpdateKnowledgeRequest.cc +++ b/chatbot/src/model/UpdateKnowledgeRequest.cc @@ -20,19 +20,21 @@ using AlibabaCloud::Chatbot::Model::UpdateKnowledgeRequest; UpdateKnowledgeRequest::UpdateKnowledgeRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdateKnowledge") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdateKnowledgeRequest::~UpdateKnowledgeRequest() {} -std::string UpdateKnowledgeRequest::getKnowledge()const -{ - return knowledge_; -} - -void UpdateKnowledgeRequest::setKnowledge(const std::string& knowledge) -{ - knowledge_ = knowledge; - setCoreParameter("Knowledge", knowledge); -} - +std::string UpdateKnowledgeRequest::getKnowledge()const +{ + return knowledge_; +} + +void UpdateKnowledgeRequest::setKnowledge(const std::string& knowledge) +{ + knowledge_ = knowledge; + setCoreParameter("Knowledge", knowledge); +} + diff --git a/chatbot/src/model/UpdatePerspectiveRequest.cc b/chatbot/src/model/UpdatePerspectiveRequest.cc index e90a5fa39..3a359cc84 100644 --- a/chatbot/src/model/UpdatePerspectiveRequest.cc +++ b/chatbot/src/model/UpdatePerspectiveRequest.cc @@ -20,30 +20,32 @@ using AlibabaCloud::Chatbot::Model::UpdatePerspectiveRequest; UpdatePerspectiveRequest::UpdatePerspectiveRequest() : RpcServiceRequest("chatbot", "2017-10-11", "UpdatePerspective") -{} +{ + setMethod(HttpRequest::Method::Post); +} UpdatePerspectiveRequest::~UpdatePerspectiveRequest() {} -std::string UpdatePerspectiveRequest::getPerspectiveId()const -{ - return perspectiveId_; -} - -void UpdatePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) -{ - perspectiveId_ = perspectiveId; - setCoreParameter("PerspectiveId", perspectiveId); -} - -std::string UpdatePerspectiveRequest::getName()const -{ - return name_; -} - -void UpdatePerspectiveRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - +std::string UpdatePerspectiveRequest::getPerspectiveId()const +{ + return perspectiveId_; +} + +void UpdatePerspectiveRequest::setPerspectiveId(const std::string& perspectiveId) +{ + perspectiveId_ = perspectiveId; + setCoreParameter("PerspectiveId", perspectiveId); +} + +std::string UpdatePerspectiveRequest::getName()const +{ + return name_; +} + +void UpdatePerspectiveRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} +