From 969a4a2631df08001a3d6e0c8cae80aaa1002f53 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 2 Dec 2020 09:38:02 +0000 Subject: [PATCH] Update version. --- CHANGELOG | 3 + voicenavigator/CMakeLists.txt | 116 -- .../voicenavigator/VoiceNavigatorClient.h | 232 ---- .../voicenavigator/model/AuthorizedRequest.h | 54 - .../voicenavigator/model/AuthorizedResult.h | 57 - .../BatchDeleteNavigationScriptsRequest.h | 51 - .../BatchDeleteNavigationScriptsResult.h | 49 - .../model/BatchMoveNavigationScriptsRequest.h | 54 - .../model/BatchMoveNavigationScriptsResult.h | 49 - .../model/CreateCategoryRequest.h | 54 - .../model/CreateCategoryResult.h | 51 - .../model/CreateKnowledgeRequest.h | 63 - .../model/CreateKnowledgeResult.h | 51 - .../model/CreateRedirectionRequest.h | 69 -- .../model/CreateRedirectionResult.h | 51 - .../model/DebugAuthorizedRequest.h | 54 - .../model/DebugAuthorizedResult.h | 57 - .../model/DeleteCategoryRequest.h | 51 - .../model/DeleteCategoryResult.h | 49 - .../model/DeleteNavigationScriptRequest.h | 51 - .../model/DeleteNavigationScriptResult.h | 49 - .../model/DescribeCategoryTreeRequest.h | 48 - .../model/DescribeCategoryTreeResult.h | 65 - .../model/DescribeKnowledgeRequest.h | 51 - .../model/DescribeKnowledgeResult.h | 63 - .../model/DescribeRedirectionRequest.h | 51 - .../model/DescribeRedirectionResult.h | 67 -- .../model/DuplicateInstanceRequest.h | 48 - .../model/DuplicateInstanceResult.h | 51 - .../model/ListCategoriesRequest.h | 51 - .../model/ListCategoriesResult.h | 61 - .../model/ListNavigationScriptsRequest.h | 57 - .../model/ListNavigationScriptsResult.h | 64 - .../model/ListPublishHistoriesRequest.h | 54 - .../model/ListPublishHistoriesResult.h | 65 - .../model/ModifyAskingBackConfigRequest.h | 69 -- .../model/ModifyAskingBackConfigResult.h | 49 - .../model/ModifyCategoryRequest.h | 54 - .../model/ModifyCategoryResult.h | 49 - .../model/ModifyComplainingConfigRequest.h | 60 - .../model/ModifyComplainingConfigResult.h | 49 - .../model/ModifyKnowledgeRequest.h | 63 - .../model/ModifyKnowledgeResult.h | 49 - .../model/ModifyRedirectionRequest.h | 69 -- .../model/ModifyRedirectionResult.h | 49 - .../model/ModifyRepeatingConfigRequest.h | 51 - .../model/ModifyRepeatingConfigResult.h | 49 - .../model/MoveCategoryRequest.h | 57 - .../voicenavigator/model/MoveCategoryResult.h | 49 - .../model/MoveNavigationScriptRequest.h | 54 - .../model/MoveNavigationScriptResult.h | 49 - .../model/PublishInstanceRequest.h | 48 - .../model/PublishInstanceResult.h | 53 - .../model/QueryNavigationScriptsRequest.h | 63 - .../model/QueryNavigationScriptsResult.h | 64 - .../model/QueryPerformanceIndicatorsRequest.h | 51 - .../model/QueryPerformanceIndicatorsResult.h | 97 -- .../model/QueryRecordingRequest.h | 51 - .../model/QueryRecordingResult.h | 53 - .../model/RollbackInstanceRequest.h | 51 - .../model/RollbackInstanceResult.h | 51 - voicenavigator/src/VoiceNavigatorClient.cc | 1044 ----------------- voicenavigator/src/model/AuthorizedRequest.cc | 62 - voicenavigator/src/model/AuthorizedResult.cc | 72 -- .../BatchDeleteNavigationScriptsRequest.cc | 53 - .../BatchDeleteNavigationScriptsResult.cc | 44 - .../BatchMoveNavigationScriptsRequest.cc | 64 - .../model/BatchMoveNavigationScriptsResult.cc | 44 - .../src/model/CreateCategoryRequest.cc | 62 - .../src/model/CreateCategoryResult.cc | 51 - .../src/model/CreateKnowledgeRequest.cc | 97 -- .../src/model/CreateKnowledgeResult.cc | 51 - .../src/model/CreateRedirectionRequest.cc | 119 -- .../src/model/CreateRedirectionResult.cc | 51 - .../src/model/DebugAuthorizedRequest.cc | 62 - .../src/model/DebugAuthorizedResult.cc | 72 -- .../src/model/DeleteCategoryRequest.cc | 51 - .../src/model/DeleteCategoryResult.cc | 44 - .../model/DeleteNavigationScriptRequest.cc | 51 - .../src/model/DeleteNavigationScriptResult.cc | 44 - .../src/model/DescribeCategoryTreeRequest.cc | 40 - .../src/model/DescribeCategoryTreeResult.cc | 75 -- .../src/model/DescribeKnowledgeRequest.cc | 51 - .../src/model/DescribeKnowledgeResult.cc | 94 -- .../src/model/DescribeRedirectionRequest.cc | 51 - .../src/model/DescribeRedirectionResult.cc | 108 -- .../src/model/DuplicateInstanceRequest.cc | 40 - .../src/model/DuplicateInstanceResult.cc | 51 - .../src/model/ListCategoriesRequest.cc | 51 - .../src/model/ListCategoriesResult.cc | 69 -- .../src/model/ListNavigationScriptsRequest.cc | 73 -- .../src/model/ListNavigationScriptsResult.cc | 84 -- .../src/model/ListPublishHistoriesRequest.cc | 62 - .../src/model/ListPublishHistoriesResult.cc | 86 -- .../model/ModifyAskingBackConfigRequest.cc | 119 -- .../src/model/ModifyAskingBackConfigResult.cc | 44 - .../src/model/ModifyCategoryRequest.cc | 62 - .../src/model/ModifyCategoryResult.cc | 44 - .../model/ModifyComplainingConfigRequest.cc | 86 -- .../model/ModifyComplainingConfigResult.cc | 44 - .../src/model/ModifyKnowledgeRequest.cc | 97 -- .../src/model/ModifyKnowledgeResult.cc | 44 - .../src/model/ModifyRedirectionRequest.cc | 119 -- .../src/model/ModifyRedirectionResult.cc | 44 - .../src/model/ModifyRepeatingConfigRequest.cc | 53 - .../src/model/ModifyRepeatingConfigResult.cc | 44 - .../src/model/MoveCategoryRequest.cc | 73 -- .../src/model/MoveCategoryResult.cc | 44 - .../src/model/MoveNavigationScriptRequest.cc | 62 - .../src/model/MoveNavigationScriptResult.cc | 44 - .../src/model/PublishInstanceRequest.cc | 40 - .../src/model/PublishInstanceResult.cc | 58 - .../model/QueryNavigationScriptsRequest.cc | 95 -- .../src/model/QueryNavigationScriptsResult.cc | 84 -- .../QueryPerformanceIndicatorsRequest.cc | 51 - .../model/QueryPerformanceIndicatorsResult.cc | 116 -- .../src/model/QueryRecordingRequest.cc | 51 - .../src/model/QueryRecordingResult.cc | 58 - .../src/model/RollbackInstanceRequest.cc | 51 - .../src/model/RollbackInstanceResult.cc | 51 - 120 files changed, 3 insertions(+), 8310 deletions(-) delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingResult.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceRequest.h delete mode 100644 voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceResult.h delete mode 100644 voicenavigator/src/model/AuthorizedRequest.cc delete mode 100644 voicenavigator/src/model/AuthorizedResult.cc delete mode 100644 voicenavigator/src/model/BatchDeleteNavigationScriptsRequest.cc delete mode 100644 voicenavigator/src/model/BatchDeleteNavigationScriptsResult.cc delete mode 100644 voicenavigator/src/model/BatchMoveNavigationScriptsRequest.cc delete mode 100644 voicenavigator/src/model/BatchMoveNavigationScriptsResult.cc delete mode 100644 voicenavigator/src/model/CreateCategoryRequest.cc delete mode 100644 voicenavigator/src/model/CreateCategoryResult.cc delete mode 100644 voicenavigator/src/model/CreateKnowledgeRequest.cc delete mode 100644 voicenavigator/src/model/CreateKnowledgeResult.cc delete mode 100644 voicenavigator/src/model/CreateRedirectionRequest.cc delete mode 100644 voicenavigator/src/model/CreateRedirectionResult.cc delete mode 100644 voicenavigator/src/model/DebugAuthorizedRequest.cc delete mode 100644 voicenavigator/src/model/DebugAuthorizedResult.cc delete mode 100644 voicenavigator/src/model/DeleteCategoryRequest.cc delete mode 100644 voicenavigator/src/model/DeleteCategoryResult.cc delete mode 100644 voicenavigator/src/model/DeleteNavigationScriptRequest.cc delete mode 100644 voicenavigator/src/model/DeleteNavigationScriptResult.cc delete mode 100644 voicenavigator/src/model/DescribeCategoryTreeRequest.cc delete mode 100644 voicenavigator/src/model/DescribeCategoryTreeResult.cc delete mode 100644 voicenavigator/src/model/DescribeKnowledgeRequest.cc delete mode 100644 voicenavigator/src/model/DescribeKnowledgeResult.cc delete mode 100644 voicenavigator/src/model/DescribeRedirectionRequest.cc delete mode 100644 voicenavigator/src/model/DescribeRedirectionResult.cc delete mode 100644 voicenavigator/src/model/DuplicateInstanceRequest.cc delete mode 100644 voicenavigator/src/model/DuplicateInstanceResult.cc delete mode 100644 voicenavigator/src/model/ListCategoriesRequest.cc delete mode 100644 voicenavigator/src/model/ListCategoriesResult.cc delete mode 100644 voicenavigator/src/model/ListNavigationScriptsRequest.cc delete mode 100644 voicenavigator/src/model/ListNavigationScriptsResult.cc delete mode 100644 voicenavigator/src/model/ListPublishHistoriesRequest.cc delete mode 100644 voicenavigator/src/model/ListPublishHistoriesResult.cc delete mode 100644 voicenavigator/src/model/ModifyAskingBackConfigRequest.cc delete mode 100644 voicenavigator/src/model/ModifyAskingBackConfigResult.cc delete mode 100644 voicenavigator/src/model/ModifyCategoryRequest.cc delete mode 100644 voicenavigator/src/model/ModifyCategoryResult.cc delete mode 100644 voicenavigator/src/model/ModifyComplainingConfigRequest.cc delete mode 100644 voicenavigator/src/model/ModifyComplainingConfigResult.cc delete mode 100644 voicenavigator/src/model/ModifyKnowledgeRequest.cc delete mode 100644 voicenavigator/src/model/ModifyKnowledgeResult.cc delete mode 100644 voicenavigator/src/model/ModifyRedirectionRequest.cc delete mode 100644 voicenavigator/src/model/ModifyRedirectionResult.cc delete mode 100644 voicenavigator/src/model/ModifyRepeatingConfigRequest.cc delete mode 100644 voicenavigator/src/model/ModifyRepeatingConfigResult.cc delete mode 100644 voicenavigator/src/model/MoveCategoryRequest.cc delete mode 100644 voicenavigator/src/model/MoveCategoryResult.cc delete mode 100644 voicenavigator/src/model/MoveNavigationScriptRequest.cc delete mode 100644 voicenavigator/src/model/MoveNavigationScriptResult.cc delete mode 100644 voicenavigator/src/model/PublishInstanceRequest.cc delete mode 100644 voicenavigator/src/model/PublishInstanceResult.cc delete mode 100644 voicenavigator/src/model/QueryNavigationScriptsRequest.cc delete mode 100644 voicenavigator/src/model/QueryNavigationScriptsResult.cc delete mode 100644 voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc delete mode 100644 voicenavigator/src/model/QueryPerformanceIndicatorsResult.cc delete mode 100644 voicenavigator/src/model/QueryRecordingRequest.cc delete mode 100644 voicenavigator/src/model/QueryRecordingResult.cc delete mode 100644 voicenavigator/src/model/RollbackInstanceRequest.cc delete mode 100644 voicenavigator/src/model/RollbackInstanceResult.cc diff --git a/CHANGELOG b/CHANGELOG index 099eea8ce..95b23845c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ 2020-12-02 Version: patch - Update version. +2020-12-02 Version: patch +- Update version. + 2020-12-02 Version: patch - Support TemplateContent. diff --git a/voicenavigator/CMakeLists.txt b/voicenavigator/CMakeLists.txt index c6b206869..0801deaf9 100644 --- a/voicenavigator/CMakeLists.txt +++ b/voicenavigator/CMakeLists.txt @@ -25,40 +25,20 @@ set(voicenavigator_public_header_model include/alibabacloud/voicenavigator/model/AssociateChatbotInstanceResult.h include/alibabacloud/voicenavigator/model/AuditTTSVoiceRequest.h include/alibabacloud/voicenavigator/model/AuditTTSVoiceResult.h - include/alibabacloud/voicenavigator/model/AuthorizedRequest.h - include/alibabacloud/voicenavigator/model/AuthorizedResult.h - include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsRequest.h - include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsResult.h - include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsRequest.h - include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsResult.h include/alibabacloud/voicenavigator/model/BeginDialogueRequest.h include/alibabacloud/voicenavigator/model/BeginDialogueResult.h include/alibabacloud/voicenavigator/model/CollectedNumberRequest.h include/alibabacloud/voicenavigator/model/CollectedNumberResult.h - include/alibabacloud/voicenavigator/model/CreateCategoryRequest.h - include/alibabacloud/voicenavigator/model/CreateCategoryResult.h include/alibabacloud/voicenavigator/model/CreateInstanceRequest.h include/alibabacloud/voicenavigator/model/CreateInstanceResult.h - include/alibabacloud/voicenavigator/model/CreateKnowledgeRequest.h - include/alibabacloud/voicenavigator/model/CreateKnowledgeResult.h - include/alibabacloud/voicenavigator/model/CreateRedirectionRequest.h - include/alibabacloud/voicenavigator/model/CreateRedirectionResult.h - include/alibabacloud/voicenavigator/model/DebugAuthorizedRequest.h - include/alibabacloud/voicenavigator/model/DebugAuthorizedResult.h include/alibabacloud/voicenavigator/model/DebugBeginDialogueRequest.h include/alibabacloud/voicenavigator/model/DebugBeginDialogueResult.h include/alibabacloud/voicenavigator/model/DebugCollectedNumberRequest.h include/alibabacloud/voicenavigator/model/DebugCollectedNumberResult.h include/alibabacloud/voicenavigator/model/DebugDialogueRequest.h include/alibabacloud/voicenavigator/model/DebugDialogueResult.h - include/alibabacloud/voicenavigator/model/DeleteCategoryRequest.h - include/alibabacloud/voicenavigator/model/DeleteCategoryResult.h include/alibabacloud/voicenavigator/model/DeleteInstanceRequest.h include/alibabacloud/voicenavigator/model/DeleteInstanceResult.h - include/alibabacloud/voicenavigator/model/DeleteNavigationScriptRequest.h - include/alibabacloud/voicenavigator/model/DeleteNavigationScriptResult.h - include/alibabacloud/voicenavigator/model/DescribeCategoryTreeRequest.h - include/alibabacloud/voicenavigator/model/DescribeCategoryTreeResult.h include/alibabacloud/voicenavigator/model/DescribeConversationRequest.h include/alibabacloud/voicenavigator/model/DescribeConversationResult.h include/alibabacloud/voicenavigator/model/DescribeConversationContextRequest.h @@ -67,14 +47,10 @@ set(voicenavigator_public_header_model include/alibabacloud/voicenavigator/model/DescribeExportProgressResult.h include/alibabacloud/voicenavigator/model/DescribeInstanceRequest.h include/alibabacloud/voicenavigator/model/DescribeInstanceResult.h - include/alibabacloud/voicenavigator/model/DescribeKnowledgeRequest.h - include/alibabacloud/voicenavigator/model/DescribeKnowledgeResult.h include/alibabacloud/voicenavigator/model/DescribeNavigationConfigRequest.h include/alibabacloud/voicenavigator/model/DescribeNavigationConfigResult.h include/alibabacloud/voicenavigator/model/DescribeRecordingRequest.h include/alibabacloud/voicenavigator/model/DescribeRecordingResult.h - include/alibabacloud/voicenavigator/model/DescribeRedirectionRequest.h - include/alibabacloud/voicenavigator/model/DescribeRedirectionResult.h include/alibabacloud/voicenavigator/model/DescribeStatisticalDataRequest.h include/alibabacloud/voicenavigator/model/DescribeStatisticalDataResult.h include/alibabacloud/voicenavigator/model/DescribeTTSConfigRequest.h @@ -83,8 +59,6 @@ set(voicenavigator_public_header_model include/alibabacloud/voicenavigator/model/DialogueResult.h include/alibabacloud/voicenavigator/model/DisableInstanceRequest.h include/alibabacloud/voicenavigator/model/DisableInstanceResult.h - include/alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h - include/alibabacloud/voicenavigator/model/DuplicateInstanceResult.h include/alibabacloud/voicenavigator/model/EnableInstanceRequest.h include/alibabacloud/voicenavigator/model/EnableInstanceResult.h include/alibabacloud/voicenavigator/model/EndDialogueRequest.h @@ -93,8 +67,6 @@ set(voicenavigator_public_header_model include/alibabacloud/voicenavigator/model/ExportConversationDetailsResult.h include/alibabacloud/voicenavigator/model/ExportStatisticalDataRequest.h include/alibabacloud/voicenavigator/model/ExportStatisticalDataResult.h - include/alibabacloud/voicenavigator/model/ListCategoriesRequest.h - include/alibabacloud/voicenavigator/model/ListCategoriesResult.h include/alibabacloud/voicenavigator/model/ListChatbotInstancesRequest.h include/alibabacloud/voicenavigator/model/ListChatbotInstancesResult.h include/alibabacloud/voicenavigator/model/ListConversationDetailsRequest.h @@ -103,48 +75,18 @@ set(voicenavigator_public_header_model include/alibabacloud/voicenavigator/model/ListConversationsResult.h include/alibabacloud/voicenavigator/model/ListInstancesRequest.h include/alibabacloud/voicenavigator/model/ListInstancesResult.h - include/alibabacloud/voicenavigator/model/ListNavigationScriptsRequest.h - include/alibabacloud/voicenavigator/model/ListNavigationScriptsResult.h - include/alibabacloud/voicenavigator/model/ListPublishHistoriesRequest.h - include/alibabacloud/voicenavigator/model/ListPublishHistoriesResult.h - include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigRequest.h - include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigResult.h - include/alibabacloud/voicenavigator/model/ModifyCategoryRequest.h - include/alibabacloud/voicenavigator/model/ModifyCategoryResult.h - include/alibabacloud/voicenavigator/model/ModifyComplainingConfigRequest.h - include/alibabacloud/voicenavigator/model/ModifyComplainingConfigResult.h include/alibabacloud/voicenavigator/model/ModifyGreetingConfigRequest.h include/alibabacloud/voicenavigator/model/ModifyGreetingConfigResult.h include/alibabacloud/voicenavigator/model/ModifyInstanceRequest.h include/alibabacloud/voicenavigator/model/ModifyInstanceResult.h - include/alibabacloud/voicenavigator/model/ModifyKnowledgeRequest.h - include/alibabacloud/voicenavigator/model/ModifyKnowledgeResult.h - include/alibabacloud/voicenavigator/model/ModifyRedirectionRequest.h - include/alibabacloud/voicenavigator/model/ModifyRedirectionResult.h - include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigRequest.h - include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigResult.h include/alibabacloud/voicenavigator/model/ModifySilenceTimeoutConfigRequest.h include/alibabacloud/voicenavigator/model/ModifySilenceTimeoutConfigResult.h include/alibabacloud/voicenavigator/model/ModifyTTSConfigRequest.h include/alibabacloud/voicenavigator/model/ModifyTTSConfigResult.h include/alibabacloud/voicenavigator/model/ModifyUnrecognizingConfigRequest.h include/alibabacloud/voicenavigator/model/ModifyUnrecognizingConfigResult.h - include/alibabacloud/voicenavigator/model/MoveCategoryRequest.h - include/alibabacloud/voicenavigator/model/MoveCategoryResult.h - include/alibabacloud/voicenavigator/model/MoveNavigationScriptRequest.h - include/alibabacloud/voicenavigator/model/MoveNavigationScriptResult.h - include/alibabacloud/voicenavigator/model/PublishInstanceRequest.h - include/alibabacloud/voicenavigator/model/PublishInstanceResult.h include/alibabacloud/voicenavigator/model/QueryConversationsRequest.h include/alibabacloud/voicenavigator/model/QueryConversationsResult.h - include/alibabacloud/voicenavigator/model/QueryNavigationScriptsRequest.h - include/alibabacloud/voicenavigator/model/QueryNavigationScriptsResult.h - include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsRequest.h - include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsResult.h - include/alibabacloud/voicenavigator/model/QueryRecordingRequest.h - include/alibabacloud/voicenavigator/model/QueryRecordingResult.h - include/alibabacloud/voicenavigator/model/RollbackInstanceRequest.h - include/alibabacloud/voicenavigator/model/RollbackInstanceResult.h include/alibabacloud/voicenavigator/model/SaveRecordingRequest.h include/alibabacloud/voicenavigator/model/SaveRecordingResult.h include/alibabacloud/voicenavigator/model/SilenceTimeoutRequest.h @@ -156,40 +98,20 @@ set(voicenavigator_src src/model/AssociateChatbotInstanceResult.cc src/model/AuditTTSVoiceRequest.cc src/model/AuditTTSVoiceResult.cc - src/model/AuthorizedRequest.cc - src/model/AuthorizedResult.cc - src/model/BatchDeleteNavigationScriptsRequest.cc - src/model/BatchDeleteNavigationScriptsResult.cc - src/model/BatchMoveNavigationScriptsRequest.cc - src/model/BatchMoveNavigationScriptsResult.cc src/model/BeginDialogueRequest.cc src/model/BeginDialogueResult.cc src/model/CollectedNumberRequest.cc src/model/CollectedNumberResult.cc - src/model/CreateCategoryRequest.cc - src/model/CreateCategoryResult.cc src/model/CreateInstanceRequest.cc src/model/CreateInstanceResult.cc - src/model/CreateKnowledgeRequest.cc - src/model/CreateKnowledgeResult.cc - src/model/CreateRedirectionRequest.cc - src/model/CreateRedirectionResult.cc - src/model/DebugAuthorizedRequest.cc - src/model/DebugAuthorizedResult.cc src/model/DebugBeginDialogueRequest.cc src/model/DebugBeginDialogueResult.cc src/model/DebugCollectedNumberRequest.cc src/model/DebugCollectedNumberResult.cc src/model/DebugDialogueRequest.cc src/model/DebugDialogueResult.cc - src/model/DeleteCategoryRequest.cc - src/model/DeleteCategoryResult.cc src/model/DeleteInstanceRequest.cc src/model/DeleteInstanceResult.cc - src/model/DeleteNavigationScriptRequest.cc - src/model/DeleteNavigationScriptResult.cc - src/model/DescribeCategoryTreeRequest.cc - src/model/DescribeCategoryTreeResult.cc src/model/DescribeConversationRequest.cc src/model/DescribeConversationResult.cc src/model/DescribeConversationContextRequest.cc @@ -198,14 +120,10 @@ set(voicenavigator_src src/model/DescribeExportProgressResult.cc src/model/DescribeInstanceRequest.cc src/model/DescribeInstanceResult.cc - src/model/DescribeKnowledgeRequest.cc - src/model/DescribeKnowledgeResult.cc src/model/DescribeNavigationConfigRequest.cc src/model/DescribeNavigationConfigResult.cc src/model/DescribeRecordingRequest.cc src/model/DescribeRecordingResult.cc - src/model/DescribeRedirectionRequest.cc - src/model/DescribeRedirectionResult.cc src/model/DescribeStatisticalDataRequest.cc src/model/DescribeStatisticalDataResult.cc src/model/DescribeTTSConfigRequest.cc @@ -214,8 +132,6 @@ set(voicenavigator_src src/model/DialogueResult.cc src/model/DisableInstanceRequest.cc src/model/DisableInstanceResult.cc - src/model/DuplicateInstanceRequest.cc - src/model/DuplicateInstanceResult.cc src/model/EnableInstanceRequest.cc src/model/EnableInstanceResult.cc src/model/EndDialogueRequest.cc @@ -224,8 +140,6 @@ set(voicenavigator_src src/model/ExportConversationDetailsResult.cc src/model/ExportStatisticalDataRequest.cc src/model/ExportStatisticalDataResult.cc - src/model/ListCategoriesRequest.cc - src/model/ListCategoriesResult.cc src/model/ListChatbotInstancesRequest.cc src/model/ListChatbotInstancesResult.cc src/model/ListConversationDetailsRequest.cc @@ -234,48 +148,18 @@ set(voicenavigator_src src/model/ListConversationsResult.cc src/model/ListInstancesRequest.cc src/model/ListInstancesResult.cc - src/model/ListNavigationScriptsRequest.cc - src/model/ListNavigationScriptsResult.cc - src/model/ListPublishHistoriesRequest.cc - src/model/ListPublishHistoriesResult.cc - src/model/ModifyAskingBackConfigRequest.cc - src/model/ModifyAskingBackConfigResult.cc - src/model/ModifyCategoryRequest.cc - src/model/ModifyCategoryResult.cc - src/model/ModifyComplainingConfigRequest.cc - src/model/ModifyComplainingConfigResult.cc src/model/ModifyGreetingConfigRequest.cc src/model/ModifyGreetingConfigResult.cc src/model/ModifyInstanceRequest.cc src/model/ModifyInstanceResult.cc - src/model/ModifyKnowledgeRequest.cc - src/model/ModifyKnowledgeResult.cc - src/model/ModifyRedirectionRequest.cc - src/model/ModifyRedirectionResult.cc - src/model/ModifyRepeatingConfigRequest.cc - src/model/ModifyRepeatingConfigResult.cc src/model/ModifySilenceTimeoutConfigRequest.cc src/model/ModifySilenceTimeoutConfigResult.cc src/model/ModifyTTSConfigRequest.cc src/model/ModifyTTSConfigResult.cc src/model/ModifyUnrecognizingConfigRequest.cc src/model/ModifyUnrecognizingConfigResult.cc - src/model/MoveCategoryRequest.cc - src/model/MoveCategoryResult.cc - src/model/MoveNavigationScriptRequest.cc - src/model/MoveNavigationScriptResult.cc - src/model/PublishInstanceRequest.cc - src/model/PublishInstanceResult.cc src/model/QueryConversationsRequest.cc src/model/QueryConversationsResult.cc - src/model/QueryNavigationScriptsRequest.cc - src/model/QueryNavigationScriptsResult.cc - src/model/QueryPerformanceIndicatorsRequest.cc - src/model/QueryPerformanceIndicatorsResult.cc - src/model/QueryRecordingRequest.cc - src/model/QueryRecordingResult.cc - src/model/RollbackInstanceRequest.cc - src/model/RollbackInstanceResult.cc src/model/SaveRecordingRequest.cc src/model/SaveRecordingResult.cc src/model/SilenceTimeoutRequest.cc diff --git a/voicenavigator/include/alibabacloud/voicenavigator/VoiceNavigatorClient.h b/voicenavigator/include/alibabacloud/voicenavigator/VoiceNavigatorClient.h index c4b80edae..402e797b0 100644 --- a/voicenavigator/include/alibabacloud/voicenavigator/VoiceNavigatorClient.h +++ b/voicenavigator/include/alibabacloud/voicenavigator/VoiceNavigatorClient.h @@ -26,40 +26,20 @@ #include "model/AssociateChatbotInstanceResult.h" #include "model/AuditTTSVoiceRequest.h" #include "model/AuditTTSVoiceResult.h" -#include "model/AuthorizedRequest.h" -#include "model/AuthorizedResult.h" -#include "model/BatchDeleteNavigationScriptsRequest.h" -#include "model/BatchDeleteNavigationScriptsResult.h" -#include "model/BatchMoveNavigationScriptsRequest.h" -#include "model/BatchMoveNavigationScriptsResult.h" #include "model/BeginDialogueRequest.h" #include "model/BeginDialogueResult.h" #include "model/CollectedNumberRequest.h" #include "model/CollectedNumberResult.h" -#include "model/CreateCategoryRequest.h" -#include "model/CreateCategoryResult.h" #include "model/CreateInstanceRequest.h" #include "model/CreateInstanceResult.h" -#include "model/CreateKnowledgeRequest.h" -#include "model/CreateKnowledgeResult.h" -#include "model/CreateRedirectionRequest.h" -#include "model/CreateRedirectionResult.h" -#include "model/DebugAuthorizedRequest.h" -#include "model/DebugAuthorizedResult.h" #include "model/DebugBeginDialogueRequest.h" #include "model/DebugBeginDialogueResult.h" #include "model/DebugCollectedNumberRequest.h" #include "model/DebugCollectedNumberResult.h" #include "model/DebugDialogueRequest.h" #include "model/DebugDialogueResult.h" -#include "model/DeleteCategoryRequest.h" -#include "model/DeleteCategoryResult.h" #include "model/DeleteInstanceRequest.h" #include "model/DeleteInstanceResult.h" -#include "model/DeleteNavigationScriptRequest.h" -#include "model/DeleteNavigationScriptResult.h" -#include "model/DescribeCategoryTreeRequest.h" -#include "model/DescribeCategoryTreeResult.h" #include "model/DescribeConversationRequest.h" #include "model/DescribeConversationResult.h" #include "model/DescribeConversationContextRequest.h" @@ -68,14 +48,10 @@ #include "model/DescribeExportProgressResult.h" #include "model/DescribeInstanceRequest.h" #include "model/DescribeInstanceResult.h" -#include "model/DescribeKnowledgeRequest.h" -#include "model/DescribeKnowledgeResult.h" #include "model/DescribeNavigationConfigRequest.h" #include "model/DescribeNavigationConfigResult.h" #include "model/DescribeRecordingRequest.h" #include "model/DescribeRecordingResult.h" -#include "model/DescribeRedirectionRequest.h" -#include "model/DescribeRedirectionResult.h" #include "model/DescribeStatisticalDataRequest.h" #include "model/DescribeStatisticalDataResult.h" #include "model/DescribeTTSConfigRequest.h" @@ -84,8 +60,6 @@ #include "model/DialogueResult.h" #include "model/DisableInstanceRequest.h" #include "model/DisableInstanceResult.h" -#include "model/DuplicateInstanceRequest.h" -#include "model/DuplicateInstanceResult.h" #include "model/EnableInstanceRequest.h" #include "model/EnableInstanceResult.h" #include "model/EndDialogueRequest.h" @@ -94,8 +68,6 @@ #include "model/ExportConversationDetailsResult.h" #include "model/ExportStatisticalDataRequest.h" #include "model/ExportStatisticalDataResult.h" -#include "model/ListCategoriesRequest.h" -#include "model/ListCategoriesResult.h" #include "model/ListChatbotInstancesRequest.h" #include "model/ListChatbotInstancesResult.h" #include "model/ListConversationDetailsRequest.h" @@ -104,48 +76,18 @@ #include "model/ListConversationsResult.h" #include "model/ListInstancesRequest.h" #include "model/ListInstancesResult.h" -#include "model/ListNavigationScriptsRequest.h" -#include "model/ListNavigationScriptsResult.h" -#include "model/ListPublishHistoriesRequest.h" -#include "model/ListPublishHistoriesResult.h" -#include "model/ModifyAskingBackConfigRequest.h" -#include "model/ModifyAskingBackConfigResult.h" -#include "model/ModifyCategoryRequest.h" -#include "model/ModifyCategoryResult.h" -#include "model/ModifyComplainingConfigRequest.h" -#include "model/ModifyComplainingConfigResult.h" #include "model/ModifyGreetingConfigRequest.h" #include "model/ModifyGreetingConfigResult.h" #include "model/ModifyInstanceRequest.h" #include "model/ModifyInstanceResult.h" -#include "model/ModifyKnowledgeRequest.h" -#include "model/ModifyKnowledgeResult.h" -#include "model/ModifyRedirectionRequest.h" -#include "model/ModifyRedirectionResult.h" -#include "model/ModifyRepeatingConfigRequest.h" -#include "model/ModifyRepeatingConfigResult.h" #include "model/ModifySilenceTimeoutConfigRequest.h" #include "model/ModifySilenceTimeoutConfigResult.h" #include "model/ModifyTTSConfigRequest.h" #include "model/ModifyTTSConfigResult.h" #include "model/ModifyUnrecognizingConfigRequest.h" #include "model/ModifyUnrecognizingConfigResult.h" -#include "model/MoveCategoryRequest.h" -#include "model/MoveCategoryResult.h" -#include "model/MoveNavigationScriptRequest.h" -#include "model/MoveNavigationScriptResult.h" -#include "model/PublishInstanceRequest.h" -#include "model/PublishInstanceResult.h" #include "model/QueryConversationsRequest.h" #include "model/QueryConversationsResult.h" -#include "model/QueryNavigationScriptsRequest.h" -#include "model/QueryNavigationScriptsResult.h" -#include "model/QueryPerformanceIndicatorsRequest.h" -#include "model/QueryPerformanceIndicatorsResult.h" -#include "model/QueryRecordingRequest.h" -#include "model/QueryRecordingResult.h" -#include "model/RollbackInstanceRequest.h" -#include "model/RollbackInstanceResult.h" #include "model/SaveRecordingRequest.h" #include "model/SaveRecordingResult.h" #include "model/SilenceTimeoutRequest.h" @@ -165,36 +107,15 @@ namespace AlibabaCloud typedef Outcome AuditTTSVoiceOutcome; typedef std::future AuditTTSVoiceOutcomeCallable; typedef std::function&)> AuditTTSVoiceAsyncHandler; - typedef Outcome AuthorizedOutcome; - typedef std::future AuthorizedOutcomeCallable; - typedef std::function&)> AuthorizedAsyncHandler; - typedef Outcome BatchDeleteNavigationScriptsOutcome; - typedef std::future BatchDeleteNavigationScriptsOutcomeCallable; - typedef std::function&)> BatchDeleteNavigationScriptsAsyncHandler; - typedef Outcome BatchMoveNavigationScriptsOutcome; - typedef std::future BatchMoveNavigationScriptsOutcomeCallable; - typedef std::function&)> BatchMoveNavigationScriptsAsyncHandler; typedef Outcome BeginDialogueOutcome; typedef std::future BeginDialogueOutcomeCallable; typedef std::function&)> BeginDialogueAsyncHandler; typedef Outcome CollectedNumberOutcome; typedef std::future CollectedNumberOutcomeCallable; typedef std::function&)> CollectedNumberAsyncHandler; - typedef Outcome CreateCategoryOutcome; - typedef std::future CreateCategoryOutcomeCallable; - typedef std::function&)> CreateCategoryAsyncHandler; typedef Outcome CreateInstanceOutcome; typedef std::future CreateInstanceOutcomeCallable; typedef std::function&)> CreateInstanceAsyncHandler; - typedef Outcome CreateKnowledgeOutcome; - typedef std::future CreateKnowledgeOutcomeCallable; - typedef std::function&)> CreateKnowledgeAsyncHandler; - typedef Outcome CreateRedirectionOutcome; - typedef std::future CreateRedirectionOutcomeCallable; - typedef std::function&)> CreateRedirectionAsyncHandler; - typedef Outcome DebugAuthorizedOutcome; - typedef std::future DebugAuthorizedOutcomeCallable; - typedef std::function&)> DebugAuthorizedAsyncHandler; typedef Outcome DebugBeginDialogueOutcome; typedef std::future DebugBeginDialogueOutcomeCallable; typedef std::function&)> DebugBeginDialogueAsyncHandler; @@ -204,18 +125,9 @@ namespace AlibabaCloud typedef Outcome DebugDialogueOutcome; typedef std::future DebugDialogueOutcomeCallable; typedef std::function&)> DebugDialogueAsyncHandler; - typedef Outcome DeleteCategoryOutcome; - typedef std::future DeleteCategoryOutcomeCallable; - typedef std::function&)> DeleteCategoryAsyncHandler; typedef Outcome DeleteInstanceOutcome; typedef std::future DeleteInstanceOutcomeCallable; typedef std::function&)> DeleteInstanceAsyncHandler; - typedef Outcome DeleteNavigationScriptOutcome; - typedef std::future DeleteNavigationScriptOutcomeCallable; - typedef std::function&)> DeleteNavigationScriptAsyncHandler; - typedef Outcome DescribeCategoryTreeOutcome; - typedef std::future DescribeCategoryTreeOutcomeCallable; - typedef std::function&)> DescribeCategoryTreeAsyncHandler; typedef Outcome DescribeConversationOutcome; typedef std::future DescribeConversationOutcomeCallable; typedef std::function&)> DescribeConversationAsyncHandler; @@ -228,18 +140,12 @@ namespace AlibabaCloud typedef Outcome DescribeInstanceOutcome; typedef std::future DescribeInstanceOutcomeCallable; typedef std::function&)> DescribeInstanceAsyncHandler; - typedef Outcome DescribeKnowledgeOutcome; - typedef std::future DescribeKnowledgeOutcomeCallable; - typedef std::function&)> DescribeKnowledgeAsyncHandler; typedef Outcome DescribeNavigationConfigOutcome; typedef std::future DescribeNavigationConfigOutcomeCallable; typedef std::function&)> DescribeNavigationConfigAsyncHandler; typedef Outcome DescribeRecordingOutcome; typedef std::future DescribeRecordingOutcomeCallable; typedef std::function&)> DescribeRecordingAsyncHandler; - typedef Outcome DescribeRedirectionOutcome; - typedef std::future DescribeRedirectionOutcomeCallable; - typedef std::function&)> DescribeRedirectionAsyncHandler; typedef Outcome DescribeStatisticalDataOutcome; typedef std::future DescribeStatisticalDataOutcomeCallable; typedef std::function&)> DescribeStatisticalDataAsyncHandler; @@ -252,9 +158,6 @@ namespace AlibabaCloud typedef Outcome DisableInstanceOutcome; typedef std::future DisableInstanceOutcomeCallable; typedef std::function&)> DisableInstanceAsyncHandler; - typedef Outcome DuplicateInstanceOutcome; - typedef std::future DuplicateInstanceOutcomeCallable; - typedef std::function&)> DuplicateInstanceAsyncHandler; typedef Outcome EnableInstanceOutcome; typedef std::future EnableInstanceOutcomeCallable; typedef std::function&)> EnableInstanceAsyncHandler; @@ -267,9 +170,6 @@ namespace AlibabaCloud typedef Outcome ExportStatisticalDataOutcome; typedef std::future ExportStatisticalDataOutcomeCallable; typedef std::function&)> ExportStatisticalDataAsyncHandler; - typedef Outcome ListCategoriesOutcome; - typedef std::future ListCategoriesOutcomeCallable; - typedef std::function&)> ListCategoriesAsyncHandler; typedef Outcome ListChatbotInstancesOutcome; typedef std::future ListChatbotInstancesOutcomeCallable; typedef std::function&)> ListChatbotInstancesAsyncHandler; @@ -282,36 +182,12 @@ namespace AlibabaCloud typedef Outcome ListInstancesOutcome; typedef std::future ListInstancesOutcomeCallable; typedef std::function&)> ListInstancesAsyncHandler; - typedef Outcome ListNavigationScriptsOutcome; - typedef std::future ListNavigationScriptsOutcomeCallable; - typedef std::function&)> ListNavigationScriptsAsyncHandler; - typedef Outcome ListPublishHistoriesOutcome; - typedef std::future ListPublishHistoriesOutcomeCallable; - typedef std::function&)> ListPublishHistoriesAsyncHandler; - typedef Outcome ModifyAskingBackConfigOutcome; - typedef std::future ModifyAskingBackConfigOutcomeCallable; - typedef std::function&)> ModifyAskingBackConfigAsyncHandler; - typedef Outcome ModifyCategoryOutcome; - typedef std::future ModifyCategoryOutcomeCallable; - typedef std::function&)> ModifyCategoryAsyncHandler; - typedef Outcome ModifyComplainingConfigOutcome; - typedef std::future ModifyComplainingConfigOutcomeCallable; - typedef std::function&)> ModifyComplainingConfigAsyncHandler; typedef Outcome ModifyGreetingConfigOutcome; typedef std::future ModifyGreetingConfigOutcomeCallable; typedef std::function&)> ModifyGreetingConfigAsyncHandler; typedef Outcome ModifyInstanceOutcome; typedef std::future ModifyInstanceOutcomeCallable; typedef std::function&)> ModifyInstanceAsyncHandler; - typedef Outcome ModifyKnowledgeOutcome; - typedef std::future ModifyKnowledgeOutcomeCallable; - typedef std::function&)> ModifyKnowledgeAsyncHandler; - typedef Outcome ModifyRedirectionOutcome; - typedef std::future ModifyRedirectionOutcomeCallable; - typedef std::function&)> ModifyRedirectionAsyncHandler; - typedef Outcome ModifyRepeatingConfigOutcome; - typedef std::future ModifyRepeatingConfigOutcomeCallable; - typedef std::function&)> ModifyRepeatingConfigAsyncHandler; typedef Outcome ModifySilenceTimeoutConfigOutcome; typedef std::future ModifySilenceTimeoutConfigOutcomeCallable; typedef std::function&)> ModifySilenceTimeoutConfigAsyncHandler; @@ -321,30 +197,9 @@ namespace AlibabaCloud typedef Outcome ModifyUnrecognizingConfigOutcome; typedef std::future ModifyUnrecognizingConfigOutcomeCallable; typedef std::function&)> ModifyUnrecognizingConfigAsyncHandler; - typedef Outcome MoveCategoryOutcome; - typedef std::future MoveCategoryOutcomeCallable; - typedef std::function&)> MoveCategoryAsyncHandler; - typedef Outcome MoveNavigationScriptOutcome; - typedef std::future MoveNavigationScriptOutcomeCallable; - typedef std::function&)> MoveNavigationScriptAsyncHandler; - typedef Outcome PublishInstanceOutcome; - typedef std::future PublishInstanceOutcomeCallable; - typedef std::function&)> PublishInstanceAsyncHandler; typedef Outcome QueryConversationsOutcome; typedef std::future QueryConversationsOutcomeCallable; typedef std::function&)> QueryConversationsAsyncHandler; - typedef Outcome QueryNavigationScriptsOutcome; - typedef std::future QueryNavigationScriptsOutcomeCallable; - typedef std::function&)> QueryNavigationScriptsAsyncHandler; - typedef Outcome QueryPerformanceIndicatorsOutcome; - typedef std::future QueryPerformanceIndicatorsOutcomeCallable; - typedef std::function&)> QueryPerformanceIndicatorsAsyncHandler; - typedef Outcome QueryRecordingOutcome; - typedef std::future QueryRecordingOutcomeCallable; - typedef std::function&)> QueryRecordingAsyncHandler; - typedef Outcome RollbackInstanceOutcome; - typedef std::future RollbackInstanceOutcomeCallable; - typedef std::function&)> RollbackInstanceAsyncHandler; typedef Outcome SaveRecordingOutcome; typedef std::future SaveRecordingOutcomeCallable; typedef std::function&)> SaveRecordingAsyncHandler; @@ -362,36 +217,15 @@ namespace AlibabaCloud AuditTTSVoiceOutcome auditTTSVoice(const Model::AuditTTSVoiceRequest &request)const; void auditTTSVoiceAsync(const Model::AuditTTSVoiceRequest& request, const AuditTTSVoiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AuditTTSVoiceOutcomeCallable auditTTSVoiceCallable(const Model::AuditTTSVoiceRequest& request) const; - AuthorizedOutcome authorized(const Model::AuthorizedRequest &request)const; - void authorizedAsync(const Model::AuthorizedRequest& request, const AuthorizedAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AuthorizedOutcomeCallable authorizedCallable(const Model::AuthorizedRequest& request) const; - BatchDeleteNavigationScriptsOutcome batchDeleteNavigationScripts(const Model::BatchDeleteNavigationScriptsRequest &request)const; - void batchDeleteNavigationScriptsAsync(const Model::BatchDeleteNavigationScriptsRequest& request, const BatchDeleteNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - BatchDeleteNavigationScriptsOutcomeCallable batchDeleteNavigationScriptsCallable(const Model::BatchDeleteNavigationScriptsRequest& request) const; - BatchMoveNavigationScriptsOutcome batchMoveNavigationScripts(const Model::BatchMoveNavigationScriptsRequest &request)const; - void batchMoveNavigationScriptsAsync(const Model::BatchMoveNavigationScriptsRequest& request, const BatchMoveNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - BatchMoveNavigationScriptsOutcomeCallable batchMoveNavigationScriptsCallable(const Model::BatchMoveNavigationScriptsRequest& request) const; BeginDialogueOutcome beginDialogue(const Model::BeginDialogueRequest &request)const; void beginDialogueAsync(const Model::BeginDialogueRequest& request, const BeginDialogueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BeginDialogueOutcomeCallable beginDialogueCallable(const Model::BeginDialogueRequest& request) const; CollectedNumberOutcome collectedNumber(const Model::CollectedNumberRequest &request)const; void collectedNumberAsync(const Model::CollectedNumberRequest& request, const CollectedNumberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CollectedNumberOutcomeCallable collectedNumberCallable(const Model::CollectedNumberRequest& request) const; - CreateCategoryOutcome createCategory(const Model::CreateCategoryRequest &request)const; - void createCategoryAsync(const Model::CreateCategoryRequest& request, const CreateCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateCategoryOutcomeCallable createCategoryCallable(const Model::CreateCategoryRequest& request) const; CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; - CreateKnowledgeOutcome createKnowledge(const Model::CreateKnowledgeRequest &request)const; - void createKnowledgeAsync(const Model::CreateKnowledgeRequest& request, const CreateKnowledgeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateKnowledgeOutcomeCallable createKnowledgeCallable(const Model::CreateKnowledgeRequest& request) const; - CreateRedirectionOutcome createRedirection(const Model::CreateRedirectionRequest &request)const; - void createRedirectionAsync(const Model::CreateRedirectionRequest& request, const CreateRedirectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateRedirectionOutcomeCallable createRedirectionCallable(const Model::CreateRedirectionRequest& request) const; - DebugAuthorizedOutcome debugAuthorized(const Model::DebugAuthorizedRequest &request)const; - void debugAuthorizedAsync(const Model::DebugAuthorizedRequest& request, const DebugAuthorizedAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DebugAuthorizedOutcomeCallable debugAuthorizedCallable(const Model::DebugAuthorizedRequest& request) const; DebugBeginDialogueOutcome debugBeginDialogue(const Model::DebugBeginDialogueRequest &request)const; void debugBeginDialogueAsync(const Model::DebugBeginDialogueRequest& request, const DebugBeginDialogueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DebugBeginDialogueOutcomeCallable debugBeginDialogueCallable(const Model::DebugBeginDialogueRequest& request) const; @@ -401,18 +235,9 @@ namespace AlibabaCloud DebugDialogueOutcome debugDialogue(const Model::DebugDialogueRequest &request)const; void debugDialogueAsync(const Model::DebugDialogueRequest& request, const DebugDialogueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DebugDialogueOutcomeCallable debugDialogueCallable(const Model::DebugDialogueRequest& request) const; - DeleteCategoryOutcome deleteCategory(const Model::DeleteCategoryRequest &request)const; - void deleteCategoryAsync(const Model::DeleteCategoryRequest& request, const DeleteCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteCategoryOutcomeCallable deleteCategoryCallable(const Model::DeleteCategoryRequest& request) const; DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const; void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const; - DeleteNavigationScriptOutcome deleteNavigationScript(const Model::DeleteNavigationScriptRequest &request)const; - void deleteNavigationScriptAsync(const Model::DeleteNavigationScriptRequest& request, const DeleteNavigationScriptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteNavigationScriptOutcomeCallable deleteNavigationScriptCallable(const Model::DeleteNavigationScriptRequest& request) const; - DescribeCategoryTreeOutcome describeCategoryTree(const Model::DescribeCategoryTreeRequest &request)const; - void describeCategoryTreeAsync(const Model::DescribeCategoryTreeRequest& request, const DescribeCategoryTreeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCategoryTreeOutcomeCallable describeCategoryTreeCallable(const Model::DescribeCategoryTreeRequest& request) const; DescribeConversationOutcome describeConversation(const Model::DescribeConversationRequest &request)const; void describeConversationAsync(const Model::DescribeConversationRequest& request, const DescribeConversationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeConversationOutcomeCallable describeConversationCallable(const Model::DescribeConversationRequest& request) const; @@ -425,18 +250,12 @@ namespace AlibabaCloud DescribeInstanceOutcome describeInstance(const Model::DescribeInstanceRequest &request)const; void describeInstanceAsync(const Model::DescribeInstanceRequest& request, const DescribeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceOutcomeCallable describeInstanceCallable(const Model::DescribeInstanceRequest& request) const; - DescribeKnowledgeOutcome describeKnowledge(const Model::DescribeKnowledgeRequest &request)const; - void describeKnowledgeAsync(const Model::DescribeKnowledgeRequest& request, const DescribeKnowledgeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeKnowledgeOutcomeCallable describeKnowledgeCallable(const Model::DescribeKnowledgeRequest& request) const; DescribeNavigationConfigOutcome describeNavigationConfig(const Model::DescribeNavigationConfigRequest &request)const; void describeNavigationConfigAsync(const Model::DescribeNavigationConfigRequest& request, const DescribeNavigationConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeNavigationConfigOutcomeCallable describeNavigationConfigCallable(const Model::DescribeNavigationConfigRequest& request) const; DescribeRecordingOutcome describeRecording(const Model::DescribeRecordingRequest &request)const; void describeRecordingAsync(const Model::DescribeRecordingRequest& request, const DescribeRecordingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRecordingOutcomeCallable describeRecordingCallable(const Model::DescribeRecordingRequest& request) const; - DescribeRedirectionOutcome describeRedirection(const Model::DescribeRedirectionRequest &request)const; - void describeRedirectionAsync(const Model::DescribeRedirectionRequest& request, const DescribeRedirectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeRedirectionOutcomeCallable describeRedirectionCallable(const Model::DescribeRedirectionRequest& request) const; DescribeStatisticalDataOutcome describeStatisticalData(const Model::DescribeStatisticalDataRequest &request)const; void describeStatisticalDataAsync(const Model::DescribeStatisticalDataRequest& request, const DescribeStatisticalDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeStatisticalDataOutcomeCallable describeStatisticalDataCallable(const Model::DescribeStatisticalDataRequest& request) const; @@ -449,9 +268,6 @@ namespace AlibabaCloud DisableInstanceOutcome disableInstance(const Model::DisableInstanceRequest &request)const; void disableInstanceAsync(const Model::DisableInstanceRequest& request, const DisableInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableInstanceOutcomeCallable disableInstanceCallable(const Model::DisableInstanceRequest& request) const; - DuplicateInstanceOutcome duplicateInstance(const Model::DuplicateInstanceRequest &request)const; - void duplicateInstanceAsync(const Model::DuplicateInstanceRequest& request, const DuplicateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DuplicateInstanceOutcomeCallable duplicateInstanceCallable(const Model::DuplicateInstanceRequest& request) const; EnableInstanceOutcome enableInstance(const Model::EnableInstanceRequest &request)const; void enableInstanceAsync(const Model::EnableInstanceRequest& request, const EnableInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableInstanceOutcomeCallable enableInstanceCallable(const Model::EnableInstanceRequest& request) const; @@ -464,9 +280,6 @@ namespace AlibabaCloud ExportStatisticalDataOutcome exportStatisticalData(const Model::ExportStatisticalDataRequest &request)const; void exportStatisticalDataAsync(const Model::ExportStatisticalDataRequest& request, const ExportStatisticalDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ExportStatisticalDataOutcomeCallable exportStatisticalDataCallable(const Model::ExportStatisticalDataRequest& request) const; - ListCategoriesOutcome listCategories(const Model::ListCategoriesRequest &request)const; - void listCategoriesAsync(const Model::ListCategoriesRequest& request, const ListCategoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListCategoriesOutcomeCallable listCategoriesCallable(const Model::ListCategoriesRequest& request) const; ListChatbotInstancesOutcome listChatbotInstances(const Model::ListChatbotInstancesRequest &request)const; void listChatbotInstancesAsync(const Model::ListChatbotInstancesRequest& request, const ListChatbotInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListChatbotInstancesOutcomeCallable listChatbotInstancesCallable(const Model::ListChatbotInstancesRequest& request) const; @@ -479,36 +292,12 @@ namespace AlibabaCloud ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const; void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const; - ListNavigationScriptsOutcome listNavigationScripts(const Model::ListNavigationScriptsRequest &request)const; - void listNavigationScriptsAsync(const Model::ListNavigationScriptsRequest& request, const ListNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListNavigationScriptsOutcomeCallable listNavigationScriptsCallable(const Model::ListNavigationScriptsRequest& request) const; - ListPublishHistoriesOutcome listPublishHistories(const Model::ListPublishHistoriesRequest &request)const; - void listPublishHistoriesAsync(const Model::ListPublishHistoriesRequest& request, const ListPublishHistoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListPublishHistoriesOutcomeCallable listPublishHistoriesCallable(const Model::ListPublishHistoriesRequest& request) const; - ModifyAskingBackConfigOutcome modifyAskingBackConfig(const Model::ModifyAskingBackConfigRequest &request)const; - void modifyAskingBackConfigAsync(const Model::ModifyAskingBackConfigRequest& request, const ModifyAskingBackConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyAskingBackConfigOutcomeCallable modifyAskingBackConfigCallable(const Model::ModifyAskingBackConfigRequest& request) const; - ModifyCategoryOutcome modifyCategory(const Model::ModifyCategoryRequest &request)const; - void modifyCategoryAsync(const Model::ModifyCategoryRequest& request, const ModifyCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyCategoryOutcomeCallable modifyCategoryCallable(const Model::ModifyCategoryRequest& request) const; - ModifyComplainingConfigOutcome modifyComplainingConfig(const Model::ModifyComplainingConfigRequest &request)const; - void modifyComplainingConfigAsync(const Model::ModifyComplainingConfigRequest& request, const ModifyComplainingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyComplainingConfigOutcomeCallable modifyComplainingConfigCallable(const Model::ModifyComplainingConfigRequest& request) const; ModifyGreetingConfigOutcome modifyGreetingConfig(const Model::ModifyGreetingConfigRequest &request)const; void modifyGreetingConfigAsync(const Model::ModifyGreetingConfigRequest& request, const ModifyGreetingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyGreetingConfigOutcomeCallable modifyGreetingConfigCallable(const Model::ModifyGreetingConfigRequest& request) const; ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const; void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const; - ModifyKnowledgeOutcome modifyKnowledge(const Model::ModifyKnowledgeRequest &request)const; - void modifyKnowledgeAsync(const Model::ModifyKnowledgeRequest& request, const ModifyKnowledgeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyKnowledgeOutcomeCallable modifyKnowledgeCallable(const Model::ModifyKnowledgeRequest& request) const; - ModifyRedirectionOutcome modifyRedirection(const Model::ModifyRedirectionRequest &request)const; - void modifyRedirectionAsync(const Model::ModifyRedirectionRequest& request, const ModifyRedirectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyRedirectionOutcomeCallable modifyRedirectionCallable(const Model::ModifyRedirectionRequest& request) const; - ModifyRepeatingConfigOutcome modifyRepeatingConfig(const Model::ModifyRepeatingConfigRequest &request)const; - void modifyRepeatingConfigAsync(const Model::ModifyRepeatingConfigRequest& request, const ModifyRepeatingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyRepeatingConfigOutcomeCallable modifyRepeatingConfigCallable(const Model::ModifyRepeatingConfigRequest& request) const; ModifySilenceTimeoutConfigOutcome modifySilenceTimeoutConfig(const Model::ModifySilenceTimeoutConfigRequest &request)const; void modifySilenceTimeoutConfigAsync(const Model::ModifySilenceTimeoutConfigRequest& request, const ModifySilenceTimeoutConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySilenceTimeoutConfigOutcomeCallable modifySilenceTimeoutConfigCallable(const Model::ModifySilenceTimeoutConfigRequest& request) const; @@ -518,30 +307,9 @@ namespace AlibabaCloud ModifyUnrecognizingConfigOutcome modifyUnrecognizingConfig(const Model::ModifyUnrecognizingConfigRequest &request)const; void modifyUnrecognizingConfigAsync(const Model::ModifyUnrecognizingConfigRequest& request, const ModifyUnrecognizingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyUnrecognizingConfigOutcomeCallable modifyUnrecognizingConfigCallable(const Model::ModifyUnrecognizingConfigRequest& request) const; - MoveCategoryOutcome moveCategory(const Model::MoveCategoryRequest &request)const; - void moveCategoryAsync(const Model::MoveCategoryRequest& request, const MoveCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MoveCategoryOutcomeCallable moveCategoryCallable(const Model::MoveCategoryRequest& request) const; - MoveNavigationScriptOutcome moveNavigationScript(const Model::MoveNavigationScriptRequest &request)const; - void moveNavigationScriptAsync(const Model::MoveNavigationScriptRequest& request, const MoveNavigationScriptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MoveNavigationScriptOutcomeCallable moveNavigationScriptCallable(const Model::MoveNavigationScriptRequest& request) const; - PublishInstanceOutcome publishInstance(const Model::PublishInstanceRequest &request)const; - void publishInstanceAsync(const Model::PublishInstanceRequest& request, const PublishInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PublishInstanceOutcomeCallable publishInstanceCallable(const Model::PublishInstanceRequest& request) const; QueryConversationsOutcome queryConversations(const Model::QueryConversationsRequest &request)const; void queryConversationsAsync(const Model::QueryConversationsRequest& request, const QueryConversationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryConversationsOutcomeCallable queryConversationsCallable(const Model::QueryConversationsRequest& request) const; - QueryNavigationScriptsOutcome queryNavigationScripts(const Model::QueryNavigationScriptsRequest &request)const; - void queryNavigationScriptsAsync(const Model::QueryNavigationScriptsRequest& request, const QueryNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryNavigationScriptsOutcomeCallable queryNavigationScriptsCallable(const Model::QueryNavigationScriptsRequest& request) const; - QueryPerformanceIndicatorsOutcome queryPerformanceIndicators(const Model::QueryPerformanceIndicatorsRequest &request)const; - void queryPerformanceIndicatorsAsync(const Model::QueryPerformanceIndicatorsRequest& request, const QueryPerformanceIndicatorsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryPerformanceIndicatorsOutcomeCallable queryPerformanceIndicatorsCallable(const Model::QueryPerformanceIndicatorsRequest& request) const; - QueryRecordingOutcome queryRecording(const Model::QueryRecordingRequest &request)const; - void queryRecordingAsync(const Model::QueryRecordingRequest& request, const QueryRecordingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryRecordingOutcomeCallable queryRecordingCallable(const Model::QueryRecordingRequest& request) const; - RollbackInstanceOutcome rollbackInstance(const Model::RollbackInstanceRequest &request)const; - void rollbackInstanceAsync(const Model::RollbackInstanceRequest& request, const RollbackInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RollbackInstanceOutcomeCallable rollbackInstanceCallable(const Model::RollbackInstanceRequest& request) const; SaveRecordingOutcome saveRecording(const Model::SaveRecordingRequest &request)const; void saveRecordingAsync(const Model::SaveRecordingRequest& request, const SaveRecordingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SaveRecordingOutcomeCallable saveRecordingCallable(const Model::SaveRecordingRequest& request) const; diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedRequest.h deleted file mode 100644 index 939b5ead6..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AuthorizedRequest : public RpcServiceRequest - { - - public: - AuthorizedRequest(); - ~AuthorizedRequest(); - - std::string getConversationId()const; - void setConversationId(const std::string& conversationId); - std::string getInitialContext()const; - void setInitialContext(const std::string& initialContext); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string conversationId_; - std::string initialContext_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedResult.h deleted file mode 100644 index 8326bcfd1..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/AuthorizedResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AuthorizedResult : public ServiceResult - { - public: - - - AuthorizedResult(); - explicit AuthorizedResult(const std::string &payload); - ~AuthorizedResult(); - bool getInterruptible()const; - std::string getAction()const; - std::string getActionParams()const; - std::string getTextResponse()const; - - protected: - void parse(const std::string &payload); - private: - bool interruptible_; - std::string action_; - std::string actionParams_; - std::string textResponse_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUTHORIZEDRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsRequest.h deleted file mode 100644 index 0671a3de5..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchDeleteNavigationScriptsRequest : public RpcServiceRequest - { - - public: - BatchDeleteNavigationScriptsRequest(); - ~BatchDeleteNavigationScriptsRequest(); - - std::vector getNavigationScriptIds()const; - void setNavigationScriptIds(const std::vector& navigationScriptIds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::vector navigationScriptIds_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsResult.h deleted file mode 100644 index 848ec3b3c..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchDeleteNavigationScriptsResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchDeleteNavigationScriptsResult : public ServiceResult - { - public: - - - BatchDeleteNavigationScriptsResult(); - explicit BatchDeleteNavigationScriptsResult(const std::string &payload); - ~BatchDeleteNavigationScriptsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHDELETENAVIGATIONSCRIPTSRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsRequest.h deleted file mode 100644 index 9fcb317fd..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchMoveNavigationScriptsRequest : public RpcServiceRequest - { - - public: - BatchMoveNavigationScriptsRequest(); - ~BatchMoveNavigationScriptsRequest(); - - std::vector getNavigationScriptIds()const; - void setNavigationScriptIds(const std::vector& navigationScriptIds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getTargetCategoryId()const; - void setTargetCategoryId(const std::string& targetCategoryId); - - private: - std::vector navigationScriptIds_; - std::string instanceId_; - std::string targetCategoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsResult.h deleted file mode 100644 index 4235cccfb..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/BatchMoveNavigationScriptsResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchMoveNavigationScriptsResult : public ServiceResult - { - public: - - - BatchMoveNavigationScriptsResult(); - explicit BatchMoveNavigationScriptsResult(const std::string &payload); - ~BatchMoveNavigationScriptsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHMOVENAVIGATIONSCRIPTSRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryRequest.h deleted file mode 100644 index 427a989ae..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateCategoryRequest : public RpcServiceRequest - { - - public: - CreateCategoryRequest(); - ~CreateCategoryRequest(); - - std::string getParentId()const; - void setParentId(const std::string& parentId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string parentId_; - std::string instanceId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryResult.h deleted file mode 100644 index 8bd5bdb88..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateCategoryResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateCategoryResult : public ServiceResult - { - public: - - - CreateCategoryResult(); - explicit CreateCategoryResult(const std::string &payload); - ~CreateCategoryResult(); - std::string getCategoryId()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATECATEGORYRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeRequest.h deleted file mode 100644 index 62532adc4..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateKnowledgeRequest : public RpcServiceRequest - { - - public: - CreateKnowledgeRequest(); - ~CreateKnowledgeRequest(); - - std::string getUserUtterance()const; - void setUserUtterance(const std::string& userUtterance); - bool getInterruptible()const; - void setInterruptible(bool interruptible); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getAnswer()const; - void setAnswer(const std::string& answer); - std::vector getSimilarUtterances()const; - void setSimilarUtterances(const std::vector& similarUtterances); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string userUtterance_; - bool interruptible_; - std::string instanceId_; - std::string answer_; - std::vector similarUtterances_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeResult.h deleted file mode 100644 index 76d0b3696..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateKnowledgeResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateKnowledgeResult : public ServiceResult - { - public: - - - CreateKnowledgeResult(); - explicit CreateKnowledgeResult(const std::string &payload); - ~CreateKnowledgeResult(); - std::string getNavigationScriptId()const; - - protected: - void parse(const std::string &payload); - private: - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEKNOWLEDGERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionRequest.h deleted file mode 100644 index df33ba47f..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateRedirectionRequest : public RpcServiceRequest - { - - public: - CreateRedirectionRequest(); - ~CreateRedirectionRequest(); - - std::string getRedirectionType()const; - void setRedirectionType(const std::string& redirectionType); - std::string getUserUtterance()const; - void setUserUtterance(const std::string& userUtterance); - bool getInterruptible()const; - void setInterruptible(bool interruptible); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::vector getSimilarUtterances()const; - void setSimilarUtterances(const std::vector& similarUtterances); - std::string getRedirectionTarget()const; - void setRedirectionTarget(const std::string& redirectionTarget); - std::string getPrompt()const; - void setPrompt(const std::string& prompt); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string redirectionType_; - std::string userUtterance_; - bool interruptible_; - std::string instanceId_; - std::vector similarUtterances_; - std::string redirectionTarget_; - std::string prompt_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionResult.h deleted file mode 100644 index 3802a33f8..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/CreateRedirectionResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateRedirectionResult : public ServiceResult - { - public: - - - CreateRedirectionResult(); - explicit CreateRedirectionResult(const std::string &payload); - ~CreateRedirectionResult(); - std::string getNavigationScriptId()const; - - protected: - void parse(const std::string &payload); - private: - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEREDIRECTIONRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedRequest.h deleted file mode 100644 index 17dc1a3c2..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugAuthorizedRequest : public RpcServiceRequest - { - - public: - DebugAuthorizedRequest(); - ~DebugAuthorizedRequest(); - - std::string getConversationId()const; - void setConversationId(const std::string& conversationId); - std::string getInitialContext()const; - void setInitialContext(const std::string& initialContext); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string conversationId_; - std::string initialContext_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedResult.h deleted file mode 100644 index 43f96e323..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DebugAuthorizedResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugAuthorizedResult : public ServiceResult - { - public: - - - DebugAuthorizedResult(); - explicit DebugAuthorizedResult(const std::string &payload); - ~DebugAuthorizedResult(); - bool getInterruptible()const; - std::string getAction()const; - std::string getActionParams()const; - std::string getTextResponse()const; - - protected: - void parse(const std::string &payload); - private: - bool interruptible_; - std::string action_; - std::string actionParams_; - std::string textResponse_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGAUTHORIZEDRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryRequest.h deleted file mode 100644 index 167865eb8..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteCategoryRequest : public RpcServiceRequest - { - - public: - DeleteCategoryRequest(); - ~DeleteCategoryRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string instanceId_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryResult.h deleted file mode 100644 index c525e79ad..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteCategoryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteCategoryResult : public ServiceResult - { - public: - - - DeleteCategoryResult(); - explicit DeleteCategoryResult(const std::string &payload); - ~DeleteCategoryResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptRequest.h deleted file mode 100644 index 1225b6b68..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteNavigationScriptRequest : public RpcServiceRequest - { - - public: - DeleteNavigationScriptRequest(); - ~DeleteNavigationScriptRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - - private: - std::string instanceId_; - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptResult.h deleted file mode 100644 index fdd7a0f6a..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DeleteNavigationScriptResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteNavigationScriptResult : public ServiceResult - { - public: - - - DeleteNavigationScriptResult(); - explicit DeleteNavigationScriptResult(const std::string &payload); - ~DeleteNavigationScriptResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETENAVIGATIONSCRIPTRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeRequest.h deleted file mode 100644 index 79095e853..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeCategoryTreeRequest : public RpcServiceRequest - { - - public: - DescribeCategoryTreeRequest(); - ~DescribeCategoryTreeRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeResult.h deleted file mode 100644 index 079495444..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeCategoryTreeResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeCategoryTreeResult : public ServiceResult - { - public: - struct Level - { - struct Category - { - std::string categoryId; - std::string parentId; - std::string previousSiblingId; - std::string instanceId; - long level; - std::string nextSiblingId; - std::string name; - }; - std::vector categories; - }; - - - DescribeCategoryTreeResult(); - explicit DescribeCategoryTreeResult(const std::string &payload); - ~DescribeCategoryTreeResult(); - std::vector getLevels()const; - - protected: - void parse(const std::string &payload); - private: - std::vector levels_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECATEGORYTREERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeRequest.h deleted file mode 100644 index 222f1fee9..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeKnowledgeRequest : public RpcServiceRequest - { - - public: - DescribeKnowledgeRequest(); - ~DescribeKnowledgeRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - - private: - std::string instanceId_; - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeResult.h deleted file mode 100644 index a5653354c..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeKnowledgeResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeKnowledgeResult : public ServiceResult - { - public: - - - DescribeKnowledgeResult(); - explicit DescribeKnowledgeResult(const std::string &payload); - ~DescribeKnowledgeResult(); - std::string getCategoryId()const; - std::string getAnswer()const; - bool getInterruptible()const; - std::vector getSimilarUtterances()const; - std::string getInstanceId()const; - std::string getUserUtterance()const; - std::string getNavigationScriptId()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryId_; - std::string answer_; - bool interruptible_; - std::vector similarUtterances_; - std::string instanceId_; - std::string userUtterance_; - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEKNOWLEDGERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionRequest.h deleted file mode 100644 index 2f66df8eb..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeRedirectionRequest : public RpcServiceRequest - { - - public: - DescribeRedirectionRequest(); - ~DescribeRedirectionRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - - private: - std::string instanceId_; - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionResult.h deleted file mode 100644 index 846f1052e..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DescribeRedirectionResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeRedirectionResult : public ServiceResult - { - public: - - - DescribeRedirectionResult(); - explicit DescribeRedirectionResult(const std::string &payload); - ~DescribeRedirectionResult(); - std::string getCategoryId()const; - bool getInterruptible()const; - std::string getRedirectionTarget()const; - std::vector getSimilarUtterances()const; - std::string getRedirectionType()const; - std::string getInstanceId()const; - std::string getUserUtterance()const; - std::string getPrompt()const; - std::string getNavigationScriptId()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryId_; - bool interruptible_; - std::string redirectionTarget_; - std::vector similarUtterances_; - std::string redirectionType_; - std::string instanceId_; - std::string userUtterance_; - std::string prompt_; - std::string navigationScriptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEREDIRECTIONRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h deleted file mode 100644 index 04078cce3..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DuplicateInstanceRequest : public RpcServiceRequest - { - - public: - DuplicateInstanceRequest(); - ~DuplicateInstanceRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceResult.h deleted file mode 100644 index 7b5c38380..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/DuplicateInstanceResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DuplicateInstanceResult : public ServiceResult - { - public: - - - DuplicateInstanceResult(); - explicit DuplicateInstanceResult(const std::string &payload); - ~DuplicateInstanceResult(); - std::string getInstanceId()const; - - protected: - void parse(const std::string &payload); - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesRequest.h deleted file mode 100644 index 5dae8d96c..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListCategoriesRequest : public RpcServiceRequest - { - - public: - ListCategoriesRequest(); - ~ListCategoriesRequest(); - - std::string getParentId()const; - void setParentId(const std::string& parentId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string parentId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesResult.h deleted file mode 100644 index 56fe6bb60..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListCategoriesResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListCategoriesResult : public ServiceResult - { - public: - struct Category - { - std::string categoryId; - std::string parentId; - std::string previousSiblingId; - std::string instanceId; - long level; - std::string nextSiblingId; - std::string name; - }; - - - ListCategoriesResult(); - explicit ListCategoriesResult(const std::string &payload); - ~ListCategoriesResult(); - std::vector getCategories()const; - - protected: - void parse(const std::string &payload); - private: - std::vector categories_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCATEGORIESRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsRequest.h deleted file mode 100644 index 596b07941..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListNavigationScriptsRequest : public RpcServiceRequest - { - - public: - ListNavigationScriptsRequest(); - ~ListNavigationScriptsRequest(); - - 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 getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - int pageNumber_; - std::string instanceId_; - int pageSize_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsResult.h deleted file mode 100644 index b2e895594..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListNavigationScriptsResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListNavigationScriptsResult : public ServiceResult - { - public: - struct NavigationScript - { - long modifyTime; - std::string type; - std::string title; - std::string navigationScriptId; - }; - - - ListNavigationScriptsResult(); - explicit ListNavigationScriptsResult(const std::string &payload); - ~ListNavigationScriptsResult(); - long getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getNavigationScripts()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - int pageSize_; - int pageNumber_; - std::vector navigationScripts_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTNAVIGATIONSCRIPTSRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesRequest.h deleted file mode 100644 index 1733bc22b..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListPublishHistoriesRequest : public RpcServiceRequest - { - - public: - ListPublishHistoriesRequest(); - ~ListPublishHistoriesRequest(); - - 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: - int pageNumber_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesResult.h deleted file mode 100644 index 5e56f9cea..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ListPublishHistoriesResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListPublishHistoriesResult : public ServiceResult - { - public: - struct PublishHistoriesItem - { - std::string publishUserName; - std::string instanceId; - std::string version; - bool isRollbackApplicable; - long publishTime; - }; - - - ListPublishHistoriesResult(); - explicit ListPublishHistoriesResult(const std::string &payload); - ~ListPublishHistoriesResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getPublishHistories()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector publishHistories_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTPUBLISHHISTORIESRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigRequest.h deleted file mode 100644 index 96fe59159..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyAskingBackConfigRequest : public RpcServiceRequest - { - - public: - ModifyAskingBackConfigRequest(); - ~ModifyAskingBackConfigRequest(); - - std::string getNegativeFeedbackPrompt()const; - void setNegativeFeedbackPrompt(const std::string& negativeFeedbackPrompt); - std::string getNegativeFeedbackAction()const; - void setNegativeFeedbackAction(const std::string& negativeFeedbackAction); - bool getEnabled()const; - void setEnabled(bool enabled); - bool getEnableNegativeFeedback()const; - void setEnableNegativeFeedback(bool enableNegativeFeedback); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getPrompt()const; - void setPrompt(const std::string& prompt); - std::vector getNegativeFeedbackUtterances()const; - void setNegativeFeedbackUtterances(const std::vector& negativeFeedbackUtterances); - std::string getNegativeFeedbackActionParams()const; - void setNegativeFeedbackActionParams(const std::string& negativeFeedbackActionParams); - - private: - std::string negativeFeedbackPrompt_; - std::string negativeFeedbackAction_; - bool enabled_; - bool enableNegativeFeedback_; - std::string instanceId_; - std::string prompt_; - std::vector negativeFeedbackUtterances_; - std::string negativeFeedbackActionParams_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigResult.h deleted file mode 100644 index 5e9d97b44..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyAskingBackConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyAskingBackConfigResult : public ServiceResult - { - public: - - - ModifyAskingBackConfigResult(); - explicit ModifyAskingBackConfigResult(const std::string &payload); - ~ModifyAskingBackConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASKINGBACKCONFIGRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryRequest.h deleted file mode 100644 index 2c7f85e30..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyCategoryRequest : public RpcServiceRequest - { - - public: - ModifyCategoryRequest(); - ~ModifyCategoryRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getName()const; - void setName(const std::string& name); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string instanceId_; - std::string name_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryResult.h deleted file mode 100644 index afe5b162a..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyCategoryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyCategoryResult : public ServiceResult - { - public: - - - ModifyCategoryResult(); - explicit ModifyCategoryResult(const std::string &payload); - ~ModifyCategoryResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCATEGORYRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigRequest.h deleted file mode 100644 index 0bafe4afb..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyComplainingConfigRequest : public RpcServiceRequest - { - - public: - ModifyComplainingConfigRequest(); - ~ModifyComplainingConfigRequest(); - - std::vector getUtterances()const; - void setUtterances(const std::vector& utterances); - std::string getFinalAction()const; - void setFinalAction(const std::string& finalAction); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getFinalActionParams()const; - void setFinalActionParams(const std::string& finalActionParams); - std::string getPrompt()const; - void setPrompt(const std::string& prompt); - - private: - std::vector utterances_; - std::string finalAction_; - std::string instanceId_; - std::string finalActionParams_; - std::string prompt_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigResult.h deleted file mode 100644 index 9d44909f6..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyComplainingConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyComplainingConfigResult : public ServiceResult - { - public: - - - ModifyComplainingConfigResult(); - explicit ModifyComplainingConfigResult(const std::string &payload); - ~ModifyComplainingConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYCOMPLAININGCONFIGRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeRequest.h deleted file mode 100644 index 44234aefb..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyKnowledgeRequest : public RpcServiceRequest - { - - public: - ModifyKnowledgeRequest(); - ~ModifyKnowledgeRequest(); - - std::string getUserUtterance()const; - void setUserUtterance(const std::string& userUtterance); - bool getInterruptible()const; - void setInterruptible(bool interruptible); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - std::string getAnswer()const; - void setAnswer(const std::string& answer); - std::vector getSimilarUtterances()const; - void setSimilarUtterances(const std::vector& similarUtterances); - - private: - std::string userUtterance_; - bool interruptible_; - std::string instanceId_; - std::string navigationScriptId_; - std::string answer_; - std::vector similarUtterances_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeResult.h deleted file mode 100644 index 8287add49..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyKnowledgeResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyKnowledgeResult : public ServiceResult - { - public: - - - ModifyKnowledgeResult(); - explicit ModifyKnowledgeResult(const std::string &payload); - ~ModifyKnowledgeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYKNOWLEDGERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionRequest.h deleted file mode 100644 index 7fbabfddd..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyRedirectionRequest : public RpcServiceRequest - { - - public: - ModifyRedirectionRequest(); - ~ModifyRedirectionRequest(); - - std::string getRedirectionType()const; - void setRedirectionType(const std::string& redirectionType); - std::string getUserUtterance()const; - void setUserUtterance(const std::string& userUtterance); - bool getInterruptible()const; - void setInterruptible(bool interruptible); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - std::vector getSimilarUtterances()const; - void setSimilarUtterances(const std::vector& similarUtterances); - std::string getRedirectionTarget()const; - void setRedirectionTarget(const std::string& redirectionTarget); - std::string getPrompt()const; - void setPrompt(const std::string& prompt); - - private: - std::string redirectionType_; - std::string userUtterance_; - bool interruptible_; - std::string instanceId_; - std::string navigationScriptId_; - std::vector similarUtterances_; - std::string redirectionTarget_; - std::string prompt_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionResult.h deleted file mode 100644 index 275d528fb..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRedirectionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyRedirectionResult : public ServiceResult - { - public: - - - ModifyRedirectionResult(); - explicit ModifyRedirectionResult(const std::string &payload); - ~ModifyRedirectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREDIRECTIONRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigRequest.h deleted file mode 100644 index 778a07779..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyRepeatingConfigRequest : public RpcServiceRequest - { - - public: - ModifyRepeatingConfigRequest(); - ~ModifyRepeatingConfigRequest(); - - std::vector getUtterances()const; - void setUtterances(const std::vector& utterances); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::vector utterances_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigResult.h deleted file mode 100644 index be7a2635d..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/ModifyRepeatingConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyRepeatingConfigResult : public ServiceResult - { - public: - - - ModifyRepeatingConfigResult(); - explicit ModifyRepeatingConfigResult(const std::string &payload); - ~ModifyRepeatingConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYREPEATINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryRequest.h deleted file mode 100644 index 1133e5582..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT MoveCategoryRequest : public RpcServiceRequest - { - - public: - MoveCategoryRequest(); - ~MoveCategoryRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getTargetPreviousSiblingId()const; - void setTargetPreviousSiblingId(const std::string& targetPreviousSiblingId); - std::string getTargetParentId()const; - void setTargetParentId(const std::string& targetParentId); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string instanceId_; - std::string targetPreviousSiblingId_; - std::string targetParentId_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryResult.h deleted file mode 100644 index 50d54a13e..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveCategoryResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT MoveCategoryResult : public ServiceResult - { - public: - - - MoveCategoryResult(); - explicit MoveCategoryResult(const std::string &payload); - ~MoveCategoryResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVECATEGORYRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptRequest.h deleted file mode 100644 index 53a0342cd..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT MoveNavigationScriptRequest : public RpcServiceRequest - { - - public: - MoveNavigationScriptRequest(); - ~MoveNavigationScriptRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getNavigationScriptId()const; - void setNavigationScriptId(const std::string& navigationScriptId); - std::string getTargetCategoryId()const; - void setTargetCategoryId(const std::string& targetCategoryId); - - private: - std::string instanceId_; - std::string navigationScriptId_; - std::string targetCategoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptResult.h deleted file mode 100644 index 24314c40e..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/MoveNavigationScriptResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT MoveNavigationScriptResult : public ServiceResult - { - public: - - - MoveNavigationScriptResult(); - explicit MoveNavigationScriptResult(const std::string &payload); - ~MoveNavigationScriptResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MOVENAVIGATIONSCRIPTRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceRequest.h deleted file mode 100644 index 8c94008f6..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT PublishInstanceRequest : public RpcServiceRequest - { - - public: - PublishInstanceRequest(); - ~PublishInstanceRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceResult.h deleted file mode 100644 index 723f473a5..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/PublishInstanceResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT PublishInstanceResult : public ServiceResult - { - public: - - - PublishInstanceResult(); - explicit PublishInstanceResult(const std::string &payload); - ~PublishInstanceResult(); - std::string getStatus()const; - std::string getVersion()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string version_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsRequest.h deleted file mode 100644 index 5d6faed2c..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryNavigationScriptsRequest : public RpcServiceRequest - { - - public: - QueryNavigationScriptsRequest(); - ~QueryNavigationScriptsRequest(); - - std::string getType()const; - void setType(const std::string& type); - 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 getKeyWord()const; - void setKeyWord(const std::string& keyWord); - std::string getCategoryId()const; - void setCategoryId(const std::string& categoryId); - - private: - std::string type_; - int pageNumber_; - std::string instanceId_; - int pageSize_; - std::string keyWord_; - std::string categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsResult.h deleted file mode 100644 index 9c21554d1..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryNavigationScriptsResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryNavigationScriptsResult : public ServiceResult - { - public: - struct NavigationScript - { - long modifyTime; - std::string type; - std::string title; - std::string navigationScriptId; - }; - - - QueryNavigationScriptsResult(); - explicit QueryNavigationScriptsResult(const std::string &payload); - ~QueryNavigationScriptsResult(); - long getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getNavigationScripts()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - int pageSize_; - int pageNumber_; - std::vector navigationScripts_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYNAVIGATIONSCRIPTSRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsRequest.h deleted file mode 100644 index 4281ffb29..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryPerformanceIndicatorsRequest : public RpcServiceRequest - { - - public: - QueryPerformanceIndicatorsRequest(); - ~QueryPerformanceIndicatorsRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getDateUnit()const; - void setDateUnit(const std::string& dateUnit); - - private: - std::string instanceId_; - std::string dateUnit_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsResult.h deleted file mode 100644 index b55f04f9e..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryPerformanceIndicatorsResult.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryPerformanceIndicatorsResult : public ServiceResult - { - public: - struct ResolutionRate - { - struct ValuePerDateUnit - { - float rateValue; - long date; - }; - std::vector valuePerDateUnits; - float totalRateValue; - }; - struct ValidAnswerRate - { - struct ValuePerDateUnit2 - { - float rateValue; - long date; - }; - std::vector valuePerDateUnits1; - float totalRateValue; - }; - struct DialoguePassRate - { - struct ValuePerDateUnit4 - { - float rateValue; - long date; - }; - float totalRateValue; - std::vector valuePerDateUnits3; - }; - struct KnowledgeHitRate - { - struct ValuePerDateUnit6 - { - float rateValue; - long date; - }; - float totalRateValue; - std::vector valuePerDateUnits5; - }; - - - QueryPerformanceIndicatorsResult(); - explicit QueryPerformanceIndicatorsResult(const std::string &payload); - ~QueryPerformanceIndicatorsResult(); - DialoguePassRate getDialoguePassRate()const; - ValidAnswerRate getValidAnswerRate()const; - ResolutionRate getResolutionRate()const; - KnowledgeHitRate getKnowledgeHitRate()const; - - protected: - void parse(const std::string &payload); - private: - DialoguePassRate dialoguePassRate_; - ValidAnswerRate validAnswerRate_; - ResolutionRate resolutionRate_; - KnowledgeHitRate knowledgeHitRate_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYPERFORMANCEINDICATORSRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingRequest.h deleted file mode 100644 index 31b4c66dc..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryRecordingRequest : public RpcServiceRequest - { - - public: - QueryRecordingRequest(); - ~QueryRecordingRequest(); - - std::string getConversationId()const; - void setConversationId(const std::string& conversationId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string conversationId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingResult.h deleted file mode 100644 index 070f4bf54..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/QueryRecordingResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGRESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryRecordingResult : public ServiceResult - { - public: - - - QueryRecordingResult(); - explicit QueryRecordingResult(const std::string &payload); - ~QueryRecordingResult(); - std::string getFilePath()const; - std::string getFileName()const; - - protected: - void parse(const std::string &payload); - private: - std::string filePath_; - std::string fileName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYRECORDINGRESULT_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceRequest.h b/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceRequest.h deleted file mode 100644 index 89768bdf4..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCEREQUEST_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT RollbackInstanceRequest : public RpcServiceRequest - { - - public: - RollbackInstanceRequest(); - ~RollbackInstanceRequest(); - - std::string getTargetVersion()const; - void setTargetVersion(const std::string& targetVersion); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string targetVersion_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceResult.h b/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceResult.h deleted file mode 100644 index 95a39ec9a..000000000 --- a/voicenavigator/include/alibabacloud/voicenavigator/model/RollbackInstanceResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCERESULT_H_ -#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace VoiceNavigator - { - namespace Model - { - class ALIBABACLOUD_VOICENAVIGATOR_EXPORT RollbackInstanceResult : public ServiceResult - { - public: - - - RollbackInstanceResult(); - explicit RollbackInstanceResult(const std::string &payload); - ~RollbackInstanceResult(); - std::string getStatus()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ROLLBACKINSTANCERESULT_H_ \ No newline at end of file diff --git a/voicenavigator/src/VoiceNavigatorClient.cc b/voicenavigator/src/VoiceNavigatorClient.cc index d6333cab4..aaac31aad 100644 --- a/voicenavigator/src/VoiceNavigatorClient.cc +++ b/voicenavigator/src/VoiceNavigatorClient.cc @@ -123,114 +123,6 @@ VoiceNavigatorClient::AuditTTSVoiceOutcomeCallable VoiceNavigatorClient::auditTT return task->get_future(); } -VoiceNavigatorClient::AuthorizedOutcome VoiceNavigatorClient::authorized(const AuthorizedRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AuthorizedOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AuthorizedOutcome(AuthorizedResult(outcome.result())); - else - return AuthorizedOutcome(outcome.error()); -} - -void VoiceNavigatorClient::authorizedAsync(const AuthorizedRequest& request, const AuthorizedAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, authorized(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::AuthorizedOutcomeCallable VoiceNavigatorClient::authorizedCallable(const AuthorizedRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->authorized(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::BatchDeleteNavigationScriptsOutcome VoiceNavigatorClient::batchDeleteNavigationScripts(const BatchDeleteNavigationScriptsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BatchDeleteNavigationScriptsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BatchDeleteNavigationScriptsOutcome(BatchDeleteNavigationScriptsResult(outcome.result())); - else - return BatchDeleteNavigationScriptsOutcome(outcome.error()); -} - -void VoiceNavigatorClient::batchDeleteNavigationScriptsAsync(const BatchDeleteNavigationScriptsRequest& request, const BatchDeleteNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, batchDeleteNavigationScripts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::BatchDeleteNavigationScriptsOutcomeCallable VoiceNavigatorClient::batchDeleteNavigationScriptsCallable(const BatchDeleteNavigationScriptsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->batchDeleteNavigationScripts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::BatchMoveNavigationScriptsOutcome VoiceNavigatorClient::batchMoveNavigationScripts(const BatchMoveNavigationScriptsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BatchMoveNavigationScriptsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BatchMoveNavigationScriptsOutcome(BatchMoveNavigationScriptsResult(outcome.result())); - else - return BatchMoveNavigationScriptsOutcome(outcome.error()); -} - -void VoiceNavigatorClient::batchMoveNavigationScriptsAsync(const BatchMoveNavigationScriptsRequest& request, const BatchMoveNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, batchMoveNavigationScripts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::BatchMoveNavigationScriptsOutcomeCallable VoiceNavigatorClient::batchMoveNavigationScriptsCallable(const BatchMoveNavigationScriptsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->batchMoveNavigationScripts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::BeginDialogueOutcome VoiceNavigatorClient::beginDialogue(const BeginDialogueRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,42 +195,6 @@ VoiceNavigatorClient::CollectedNumberOutcomeCallable VoiceNavigatorClient::colle return task->get_future(); } -VoiceNavigatorClient::CreateCategoryOutcome VoiceNavigatorClient::createCategory(const CreateCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateCategoryOutcome(CreateCategoryResult(outcome.result())); - else - return CreateCategoryOutcome(outcome.error()); -} - -void VoiceNavigatorClient::createCategoryAsync(const CreateCategoryRequest& request, const CreateCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::CreateCategoryOutcomeCallable VoiceNavigatorClient::createCategoryCallable(const CreateCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::CreateInstanceOutcome VoiceNavigatorClient::createInstance(const CreateInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -375,114 +231,6 @@ VoiceNavigatorClient::CreateInstanceOutcomeCallable VoiceNavigatorClient::create return task->get_future(); } -VoiceNavigatorClient::CreateKnowledgeOutcome VoiceNavigatorClient::createKnowledge(const CreateKnowledgeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateKnowledgeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateKnowledgeOutcome(CreateKnowledgeResult(outcome.result())); - else - return CreateKnowledgeOutcome(outcome.error()); -} - -void VoiceNavigatorClient::createKnowledgeAsync(const CreateKnowledgeRequest& request, const CreateKnowledgeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createKnowledge(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::CreateKnowledgeOutcomeCallable VoiceNavigatorClient::createKnowledgeCallable(const CreateKnowledgeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createKnowledge(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::CreateRedirectionOutcome VoiceNavigatorClient::createRedirection(const CreateRedirectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateRedirectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateRedirectionOutcome(CreateRedirectionResult(outcome.result())); - else - return CreateRedirectionOutcome(outcome.error()); -} - -void VoiceNavigatorClient::createRedirectionAsync(const CreateRedirectionRequest& request, const CreateRedirectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createRedirection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::CreateRedirectionOutcomeCallable VoiceNavigatorClient::createRedirectionCallable(const CreateRedirectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createRedirection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::DebugAuthorizedOutcome VoiceNavigatorClient::debugAuthorized(const DebugAuthorizedRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DebugAuthorizedOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DebugAuthorizedOutcome(DebugAuthorizedResult(outcome.result())); - else - return DebugAuthorizedOutcome(outcome.error()); -} - -void VoiceNavigatorClient::debugAuthorizedAsync(const DebugAuthorizedRequest& request, const DebugAuthorizedAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, debugAuthorized(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DebugAuthorizedOutcomeCallable VoiceNavigatorClient::debugAuthorizedCallable(const DebugAuthorizedRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->debugAuthorized(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::DebugBeginDialogueOutcome VoiceNavigatorClient::debugBeginDialogue(const DebugBeginDialogueRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,42 +339,6 @@ VoiceNavigatorClient::DebugDialogueOutcomeCallable VoiceNavigatorClient::debugDi return task->get_future(); } -VoiceNavigatorClient::DeleteCategoryOutcome VoiceNavigatorClient::deleteCategory(const DeleteCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteCategoryOutcome(DeleteCategoryResult(outcome.result())); - else - return DeleteCategoryOutcome(outcome.error()); -} - -void VoiceNavigatorClient::deleteCategoryAsync(const DeleteCategoryRequest& request, const DeleteCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DeleteCategoryOutcomeCallable VoiceNavigatorClient::deleteCategoryCallable(const DeleteCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::DeleteInstanceOutcome VoiceNavigatorClient::deleteInstance(const DeleteInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,78 +375,6 @@ VoiceNavigatorClient::DeleteInstanceOutcomeCallable VoiceNavigatorClient::delete return task->get_future(); } -VoiceNavigatorClient::DeleteNavigationScriptOutcome VoiceNavigatorClient::deleteNavigationScript(const DeleteNavigationScriptRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteNavigationScriptOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteNavigationScriptOutcome(DeleteNavigationScriptResult(outcome.result())); - else - return DeleteNavigationScriptOutcome(outcome.error()); -} - -void VoiceNavigatorClient::deleteNavigationScriptAsync(const DeleteNavigationScriptRequest& request, const DeleteNavigationScriptAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteNavigationScript(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DeleteNavigationScriptOutcomeCallable VoiceNavigatorClient::deleteNavigationScriptCallable(const DeleteNavigationScriptRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteNavigationScript(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::DescribeCategoryTreeOutcome VoiceNavigatorClient::describeCategoryTree(const DescribeCategoryTreeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCategoryTreeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCategoryTreeOutcome(DescribeCategoryTreeResult(outcome.result())); - else - return DescribeCategoryTreeOutcome(outcome.error()); -} - -void VoiceNavigatorClient::describeCategoryTreeAsync(const DescribeCategoryTreeRequest& request, const DescribeCategoryTreeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCategoryTree(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DescribeCategoryTreeOutcomeCallable VoiceNavigatorClient::describeCategoryTreeCallable(const DescribeCategoryTreeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCategoryTree(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::DescribeConversationOutcome VoiceNavigatorClient::describeConversation(const DescribeConversationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,42 +519,6 @@ VoiceNavigatorClient::DescribeInstanceOutcomeCallable VoiceNavigatorClient::desc return task->get_future(); } -VoiceNavigatorClient::DescribeKnowledgeOutcome VoiceNavigatorClient::describeKnowledge(const DescribeKnowledgeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeKnowledgeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeKnowledgeOutcome(DescribeKnowledgeResult(outcome.result())); - else - return DescribeKnowledgeOutcome(outcome.error()); -} - -void VoiceNavigatorClient::describeKnowledgeAsync(const DescribeKnowledgeRequest& request, const DescribeKnowledgeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeKnowledge(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DescribeKnowledgeOutcomeCallable VoiceNavigatorClient::describeKnowledgeCallable(const DescribeKnowledgeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeKnowledge(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::DescribeNavigationConfigOutcome VoiceNavigatorClient::describeNavigationConfig(const DescribeNavigationConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,42 +591,6 @@ VoiceNavigatorClient::DescribeRecordingOutcomeCallable VoiceNavigatorClient::des return task->get_future(); } -VoiceNavigatorClient::DescribeRedirectionOutcome VoiceNavigatorClient::describeRedirection(const DescribeRedirectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRedirectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRedirectionOutcome(DescribeRedirectionResult(outcome.result())); - else - return DescribeRedirectionOutcome(outcome.error()); -} - -void VoiceNavigatorClient::describeRedirectionAsync(const DescribeRedirectionRequest& request, const DescribeRedirectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRedirection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DescribeRedirectionOutcomeCallable VoiceNavigatorClient::describeRedirectionCallable(const DescribeRedirectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRedirection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::DescribeStatisticalDataOutcome VoiceNavigatorClient::describeStatisticalData(const DescribeStatisticalDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1167,42 +735,6 @@ VoiceNavigatorClient::DisableInstanceOutcomeCallable VoiceNavigatorClient::disab return task->get_future(); } -VoiceNavigatorClient::DuplicateInstanceOutcome VoiceNavigatorClient::duplicateInstance(const DuplicateInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DuplicateInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DuplicateInstanceOutcome(DuplicateInstanceResult(outcome.result())); - else - return DuplicateInstanceOutcome(outcome.error()); -} - -void VoiceNavigatorClient::duplicateInstanceAsync(const DuplicateInstanceRequest& request, const DuplicateInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, duplicateInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::DuplicateInstanceOutcomeCallable VoiceNavigatorClient::duplicateInstanceCallable(const DuplicateInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->duplicateInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::EnableInstanceOutcome VoiceNavigatorClient::enableInstance(const EnableInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,42 +879,6 @@ VoiceNavigatorClient::ExportStatisticalDataOutcomeCallable VoiceNavigatorClient: return task->get_future(); } -VoiceNavigatorClient::ListCategoriesOutcome VoiceNavigatorClient::listCategories(const ListCategoriesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListCategoriesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListCategoriesOutcome(ListCategoriesResult(outcome.result())); - else - return ListCategoriesOutcome(outcome.error()); -} - -void VoiceNavigatorClient::listCategoriesAsync(const ListCategoriesRequest& request, const ListCategoriesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listCategories(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ListCategoriesOutcomeCallable VoiceNavigatorClient::listCategoriesCallable(const ListCategoriesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listCategories(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::ListChatbotInstancesOutcome VoiceNavigatorClient::listChatbotInstances(const ListChatbotInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1527,186 +1023,6 @@ VoiceNavigatorClient::ListInstancesOutcomeCallable VoiceNavigatorClient::listIns return task->get_future(); } -VoiceNavigatorClient::ListNavigationScriptsOutcome VoiceNavigatorClient::listNavigationScripts(const ListNavigationScriptsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListNavigationScriptsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListNavigationScriptsOutcome(ListNavigationScriptsResult(outcome.result())); - else - return ListNavigationScriptsOutcome(outcome.error()); -} - -void VoiceNavigatorClient::listNavigationScriptsAsync(const ListNavigationScriptsRequest& request, const ListNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listNavigationScripts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ListNavigationScriptsOutcomeCallable VoiceNavigatorClient::listNavigationScriptsCallable(const ListNavigationScriptsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listNavigationScripts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ListPublishHistoriesOutcome VoiceNavigatorClient::listPublishHistories(const ListPublishHistoriesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListPublishHistoriesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListPublishHistoriesOutcome(ListPublishHistoriesResult(outcome.result())); - else - return ListPublishHistoriesOutcome(outcome.error()); -} - -void VoiceNavigatorClient::listPublishHistoriesAsync(const ListPublishHistoriesRequest& request, const ListPublishHistoriesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listPublishHistories(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ListPublishHistoriesOutcomeCallable VoiceNavigatorClient::listPublishHistoriesCallable(const ListPublishHistoriesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listPublishHistories(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ModifyAskingBackConfigOutcome VoiceNavigatorClient::modifyAskingBackConfig(const ModifyAskingBackConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyAskingBackConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyAskingBackConfigOutcome(ModifyAskingBackConfigResult(outcome.result())); - else - return ModifyAskingBackConfigOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyAskingBackConfigAsync(const ModifyAskingBackConfigRequest& request, const ModifyAskingBackConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyAskingBackConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyAskingBackConfigOutcomeCallable VoiceNavigatorClient::modifyAskingBackConfigCallable(const ModifyAskingBackConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyAskingBackConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ModifyCategoryOutcome VoiceNavigatorClient::modifyCategory(const ModifyCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyCategoryOutcome(ModifyCategoryResult(outcome.result())); - else - return ModifyCategoryOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyCategoryAsync(const ModifyCategoryRequest& request, const ModifyCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyCategoryOutcomeCallable VoiceNavigatorClient::modifyCategoryCallable(const ModifyCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ModifyComplainingConfigOutcome VoiceNavigatorClient::modifyComplainingConfig(const ModifyComplainingConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyComplainingConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyComplainingConfigOutcome(ModifyComplainingConfigResult(outcome.result())); - else - return ModifyComplainingConfigOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyComplainingConfigAsync(const ModifyComplainingConfigRequest& request, const ModifyComplainingConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyComplainingConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyComplainingConfigOutcomeCallable VoiceNavigatorClient::modifyComplainingConfigCallable(const ModifyComplainingConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyComplainingConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::ModifyGreetingConfigOutcome VoiceNavigatorClient::modifyGreetingConfig(const ModifyGreetingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,114 +1095,6 @@ VoiceNavigatorClient::ModifyInstanceOutcomeCallable VoiceNavigatorClient::modify return task->get_future(); } -VoiceNavigatorClient::ModifyKnowledgeOutcome VoiceNavigatorClient::modifyKnowledge(const ModifyKnowledgeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyKnowledgeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyKnowledgeOutcome(ModifyKnowledgeResult(outcome.result())); - else - return ModifyKnowledgeOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyKnowledgeAsync(const ModifyKnowledgeRequest& request, const ModifyKnowledgeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyKnowledge(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyKnowledgeOutcomeCallable VoiceNavigatorClient::modifyKnowledgeCallable(const ModifyKnowledgeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyKnowledge(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ModifyRedirectionOutcome VoiceNavigatorClient::modifyRedirection(const ModifyRedirectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyRedirectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyRedirectionOutcome(ModifyRedirectionResult(outcome.result())); - else - return ModifyRedirectionOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyRedirectionAsync(const ModifyRedirectionRequest& request, const ModifyRedirectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyRedirection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyRedirectionOutcomeCallable VoiceNavigatorClient::modifyRedirectionCallable(const ModifyRedirectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyRedirection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::ModifyRepeatingConfigOutcome VoiceNavigatorClient::modifyRepeatingConfig(const ModifyRepeatingConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyRepeatingConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyRepeatingConfigOutcome(ModifyRepeatingConfigResult(outcome.result())); - else - return ModifyRepeatingConfigOutcome(outcome.error()); -} - -void VoiceNavigatorClient::modifyRepeatingConfigAsync(const ModifyRepeatingConfigRequest& request, const ModifyRepeatingConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyRepeatingConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::ModifyRepeatingConfigOutcomeCallable VoiceNavigatorClient::modifyRepeatingConfigCallable(const ModifyRepeatingConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyRepeatingConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::ModifySilenceTimeoutConfigOutcome VoiceNavigatorClient::modifySilenceTimeoutConfig(const ModifySilenceTimeoutConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,114 +1203,6 @@ VoiceNavigatorClient::ModifyUnrecognizingConfigOutcomeCallable VoiceNavigatorCli return task->get_future(); } -VoiceNavigatorClient::MoveCategoryOutcome VoiceNavigatorClient::moveCategory(const MoveCategoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MoveCategoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MoveCategoryOutcome(MoveCategoryResult(outcome.result())); - else - return MoveCategoryOutcome(outcome.error()); -} - -void VoiceNavigatorClient::moveCategoryAsync(const MoveCategoryRequest& request, const MoveCategoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, moveCategory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::MoveCategoryOutcomeCallable VoiceNavigatorClient::moveCategoryCallable(const MoveCategoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->moveCategory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::MoveNavigationScriptOutcome VoiceNavigatorClient::moveNavigationScript(const MoveNavigationScriptRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MoveNavigationScriptOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MoveNavigationScriptOutcome(MoveNavigationScriptResult(outcome.result())); - else - return MoveNavigationScriptOutcome(outcome.error()); -} - -void VoiceNavigatorClient::moveNavigationScriptAsync(const MoveNavigationScriptRequest& request, const MoveNavigationScriptAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, moveNavigationScript(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::MoveNavigationScriptOutcomeCallable VoiceNavigatorClient::moveNavigationScriptCallable(const MoveNavigationScriptRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->moveNavigationScript(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::PublishInstanceOutcome VoiceNavigatorClient::publishInstance(const PublishInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PublishInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PublishInstanceOutcome(PublishInstanceResult(outcome.result())); - else - return PublishInstanceOutcome(outcome.error()); -} - -void VoiceNavigatorClient::publishInstanceAsync(const PublishInstanceRequest& request, const PublishInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, publishInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::PublishInstanceOutcomeCallable VoiceNavigatorClient::publishInstanceCallable(const PublishInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->publishInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::QueryConversationsOutcome VoiceNavigatorClient::queryConversations(const QueryConversationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,150 +1239,6 @@ VoiceNavigatorClient::QueryConversationsOutcomeCallable VoiceNavigatorClient::qu return task->get_future(); } -VoiceNavigatorClient::QueryNavigationScriptsOutcome VoiceNavigatorClient::queryNavigationScripts(const QueryNavigationScriptsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryNavigationScriptsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryNavigationScriptsOutcome(QueryNavigationScriptsResult(outcome.result())); - else - return QueryNavigationScriptsOutcome(outcome.error()); -} - -void VoiceNavigatorClient::queryNavigationScriptsAsync(const QueryNavigationScriptsRequest& request, const QueryNavigationScriptsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryNavigationScripts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::QueryNavigationScriptsOutcomeCallable VoiceNavigatorClient::queryNavigationScriptsCallable(const QueryNavigationScriptsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryNavigationScripts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::QueryPerformanceIndicatorsOutcome VoiceNavigatorClient::queryPerformanceIndicators(const QueryPerformanceIndicatorsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryPerformanceIndicatorsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryPerformanceIndicatorsOutcome(QueryPerformanceIndicatorsResult(outcome.result())); - else - return QueryPerformanceIndicatorsOutcome(outcome.error()); -} - -void VoiceNavigatorClient::queryPerformanceIndicatorsAsync(const QueryPerformanceIndicatorsRequest& request, const QueryPerformanceIndicatorsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryPerformanceIndicators(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::QueryPerformanceIndicatorsOutcomeCallable VoiceNavigatorClient::queryPerformanceIndicatorsCallable(const QueryPerformanceIndicatorsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryPerformanceIndicators(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::QueryRecordingOutcome VoiceNavigatorClient::queryRecording(const QueryRecordingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryRecordingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryRecordingOutcome(QueryRecordingResult(outcome.result())); - else - return QueryRecordingOutcome(outcome.error()); -} - -void VoiceNavigatorClient::queryRecordingAsync(const QueryRecordingRequest& request, const QueryRecordingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryRecording(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::QueryRecordingOutcomeCallable VoiceNavigatorClient::queryRecordingCallable(const QueryRecordingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryRecording(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -VoiceNavigatorClient::RollbackInstanceOutcome VoiceNavigatorClient::rollbackInstance(const RollbackInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RollbackInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RollbackInstanceOutcome(RollbackInstanceResult(outcome.result())); - else - return RollbackInstanceOutcome(outcome.error()); -} - -void VoiceNavigatorClient::rollbackInstanceAsync(const RollbackInstanceRequest& request, const RollbackInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, rollbackInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -VoiceNavigatorClient::RollbackInstanceOutcomeCallable VoiceNavigatorClient::rollbackInstanceCallable(const RollbackInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->rollbackInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - VoiceNavigatorClient::SaveRecordingOutcome VoiceNavigatorClient::saveRecording(const SaveRecordingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/voicenavigator/src/model/AuthorizedRequest.cc b/voicenavigator/src/model/AuthorizedRequest.cc deleted file mode 100644 index 6abbca4d0..000000000 --- a/voicenavigator/src/model/AuthorizedRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::AuthorizedRequest; - -AuthorizedRequest::AuthorizedRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "Authorized") -{ - setMethod(HttpRequest::Method::Post); -} - -AuthorizedRequest::~AuthorizedRequest() -{} - -std::string AuthorizedRequest::getConversationId()const -{ - return conversationId_; -} - -void AuthorizedRequest::setConversationId(const std::string& conversationId) -{ - conversationId_ = conversationId; - setParameter("ConversationId", conversationId); -} - -std::string AuthorizedRequest::getInitialContext()const -{ - return initialContext_; -} - -void AuthorizedRequest::setInitialContext(const std::string& initialContext) -{ - initialContext_ = initialContext; - setParameter("InitialContext", initialContext); -} - -std::string AuthorizedRequest::getInstanceId()const -{ - return instanceId_; -} - -void AuthorizedRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/AuthorizedResult.cc b/voicenavigator/src/model/AuthorizedResult.cc deleted file mode 100644 index 7339f5e9a..000000000 --- a/voicenavigator/src/model/AuthorizedResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -AuthorizedResult::AuthorizedResult() : - ServiceResult() -{} - -AuthorizedResult::AuthorizedResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AuthorizedResult::~AuthorizedResult() -{} - -void AuthorizedResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["TextResponse"].isNull()) - textResponse_ = value["TextResponse"].asString(); - if(!value["Interruptible"].isNull()) - interruptible_ = value["Interruptible"].asString() == "true"; - if(!value["Action"].isNull()) - action_ = value["Action"].asString(); - if(!value["ActionParams"].isNull()) - actionParams_ = value["ActionParams"].asString(); - -} - -bool AuthorizedResult::getInterruptible()const -{ - return interruptible_; -} - -std::string AuthorizedResult::getAction()const -{ - return action_; -} - -std::string AuthorizedResult::getActionParams()const -{ - return actionParams_; -} - -std::string AuthorizedResult::getTextResponse()const -{ - return textResponse_; -} - diff --git a/voicenavigator/src/model/BatchDeleteNavigationScriptsRequest.cc b/voicenavigator/src/model/BatchDeleteNavigationScriptsRequest.cc deleted file mode 100644 index c244dea94..000000000 --- a/voicenavigator/src/model/BatchDeleteNavigationScriptsRequest.cc +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::BatchDeleteNavigationScriptsRequest; - -BatchDeleteNavigationScriptsRequest::BatchDeleteNavigationScriptsRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "BatchDeleteNavigationScripts") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchDeleteNavigationScriptsRequest::~BatchDeleteNavigationScriptsRequest() -{} - -std::vector BatchDeleteNavigationScriptsRequest::getNavigationScriptIds()const -{ - return navigationScriptIds_; -} - -void BatchDeleteNavigationScriptsRequest::setNavigationScriptIds(const std::vector& navigationScriptIds) -{ - navigationScriptIds_ = navigationScriptIds; - for(int dep1 = 0; dep1!= navigationScriptIds.size(); dep1++) { - setParameter("NavigationScriptIds."+ std::to_string(dep1), navigationScriptIds.at(dep1)); - } -} - -std::string BatchDeleteNavigationScriptsRequest::getInstanceId()const -{ - return instanceId_; -} - -void BatchDeleteNavigationScriptsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/BatchDeleteNavigationScriptsResult.cc b/voicenavigator/src/model/BatchDeleteNavigationScriptsResult.cc deleted file mode 100644 index 455245151..000000000 --- a/voicenavigator/src/model/BatchDeleteNavigationScriptsResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -BatchDeleteNavigationScriptsResult::BatchDeleteNavigationScriptsResult() : - ServiceResult() -{} - -BatchDeleteNavigationScriptsResult::BatchDeleteNavigationScriptsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchDeleteNavigationScriptsResult::~BatchDeleteNavigationScriptsResult() -{} - -void BatchDeleteNavigationScriptsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/BatchMoveNavigationScriptsRequest.cc b/voicenavigator/src/model/BatchMoveNavigationScriptsRequest.cc deleted file mode 100644 index 1e8761e79..000000000 --- a/voicenavigator/src/model/BatchMoveNavigationScriptsRequest.cc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::BatchMoveNavigationScriptsRequest; - -BatchMoveNavigationScriptsRequest::BatchMoveNavigationScriptsRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "BatchMoveNavigationScripts") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchMoveNavigationScriptsRequest::~BatchMoveNavigationScriptsRequest() -{} - -std::vector BatchMoveNavigationScriptsRequest::getNavigationScriptIds()const -{ - return navigationScriptIds_; -} - -void BatchMoveNavigationScriptsRequest::setNavigationScriptIds(const std::vector& navigationScriptIds) -{ - navigationScriptIds_ = navigationScriptIds; - for(int dep1 = 0; dep1!= navigationScriptIds.size(); dep1++) { - setParameter("NavigationScriptIds."+ std::to_string(dep1), navigationScriptIds.at(dep1)); - } -} - -std::string BatchMoveNavigationScriptsRequest::getInstanceId()const -{ - return instanceId_; -} - -void BatchMoveNavigationScriptsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string BatchMoveNavigationScriptsRequest::getTargetCategoryId()const -{ - return targetCategoryId_; -} - -void BatchMoveNavigationScriptsRequest::setTargetCategoryId(const std::string& targetCategoryId) -{ - targetCategoryId_ = targetCategoryId; - setParameter("TargetCategoryId", targetCategoryId); -} - diff --git a/voicenavigator/src/model/BatchMoveNavigationScriptsResult.cc b/voicenavigator/src/model/BatchMoveNavigationScriptsResult.cc deleted file mode 100644 index 9b6a65190..000000000 --- a/voicenavigator/src/model/BatchMoveNavigationScriptsResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -BatchMoveNavigationScriptsResult::BatchMoveNavigationScriptsResult() : - ServiceResult() -{} - -BatchMoveNavigationScriptsResult::BatchMoveNavigationScriptsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BatchMoveNavigationScriptsResult::~BatchMoveNavigationScriptsResult() -{} - -void BatchMoveNavigationScriptsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/CreateCategoryRequest.cc b/voicenavigator/src/model/CreateCategoryRequest.cc deleted file mode 100644 index 411f97ef9..000000000 --- a/voicenavigator/src/model/CreateCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::CreateCategoryRequest; - -CreateCategoryRequest::CreateCategoryRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "CreateCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCategoryRequest::~CreateCategoryRequest() -{} - -std::string CreateCategoryRequest::getParentId()const -{ - return parentId_; -} - -void CreateCategoryRequest::setParentId(const std::string& parentId) -{ - parentId_ = parentId; - setParameter("ParentId", parentId); -} - -std::string CreateCategoryRequest::getInstanceId()const -{ - return instanceId_; -} - -void CreateCategoryRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string CreateCategoryRequest::getName()const -{ - return name_; -} - -void CreateCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/voicenavigator/src/model/CreateCategoryResult.cc b/voicenavigator/src/model/CreateCategoryResult.cc deleted file mode 100644 index c7c8cd749..000000000 --- a/voicenavigator/src/model/CreateCategoryResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -CreateCategoryResult::CreateCategoryResult() : - ServiceResult() -{} - -CreateCategoryResult::CreateCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateCategoryResult::~CreateCategoryResult() -{} - -void CreateCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["CategoryId"].isNull()) - categoryId_ = value["CategoryId"].asString(); - -} - -std::string CreateCategoryResult::getCategoryId()const -{ - return categoryId_; -} - diff --git a/voicenavigator/src/model/CreateKnowledgeRequest.cc b/voicenavigator/src/model/CreateKnowledgeRequest.cc deleted file mode 100644 index 819a07d8a..000000000 --- a/voicenavigator/src/model/CreateKnowledgeRequest.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::CreateKnowledgeRequest; - -CreateKnowledgeRequest::CreateKnowledgeRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "CreateKnowledge") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateKnowledgeRequest::~CreateKnowledgeRequest() -{} - -std::string CreateKnowledgeRequest::getUserUtterance()const -{ - return userUtterance_; -} - -void CreateKnowledgeRequest::setUserUtterance(const std::string& userUtterance) -{ - userUtterance_ = userUtterance; - setParameter("UserUtterance", userUtterance); -} - -bool CreateKnowledgeRequest::getInterruptible()const -{ - return interruptible_; -} - -void CreateKnowledgeRequest::setInterruptible(bool interruptible) -{ - interruptible_ = interruptible; - setParameter("Interruptible", interruptible ? "true" : "false"); -} - -std::string CreateKnowledgeRequest::getInstanceId()const -{ - return instanceId_; -} - -void CreateKnowledgeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string CreateKnowledgeRequest::getAnswer()const -{ - return answer_; -} - -void CreateKnowledgeRequest::setAnswer(const std::string& answer) -{ - answer_ = answer; - setParameter("Answer", answer); -} - -std::vector CreateKnowledgeRequest::getSimilarUtterances()const -{ - return similarUtterances_; -} - -void CreateKnowledgeRequest::setSimilarUtterances(const std::vector& similarUtterances) -{ - similarUtterances_ = similarUtterances; - for(int dep1 = 0; dep1!= similarUtterances.size(); dep1++) { - setParameter("SimilarUtterances."+ std::to_string(dep1), similarUtterances.at(dep1)); - } -} - -std::string CreateKnowledgeRequest::getCategoryId()const -{ - return categoryId_; -} - -void CreateKnowledgeRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/CreateKnowledgeResult.cc b/voicenavigator/src/model/CreateKnowledgeResult.cc deleted file mode 100644 index 45bed1722..000000000 --- a/voicenavigator/src/model/CreateKnowledgeResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -CreateKnowledgeResult::CreateKnowledgeResult() : - ServiceResult() -{} - -CreateKnowledgeResult::CreateKnowledgeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateKnowledgeResult::~CreateKnowledgeResult() -{} - -void CreateKnowledgeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["NavigationScriptId"].isNull()) - navigationScriptId_ = value["NavigationScriptId"].asString(); - -} - -std::string CreateKnowledgeResult::getNavigationScriptId()const -{ - return navigationScriptId_; -} - diff --git a/voicenavigator/src/model/CreateRedirectionRequest.cc b/voicenavigator/src/model/CreateRedirectionRequest.cc deleted file mode 100644 index 7cb874606..000000000 --- a/voicenavigator/src/model/CreateRedirectionRequest.cc +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::CreateRedirectionRequest; - -CreateRedirectionRequest::CreateRedirectionRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "CreateRedirection") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRedirectionRequest::~CreateRedirectionRequest() -{} - -std::string CreateRedirectionRequest::getRedirectionType()const -{ - return redirectionType_; -} - -void CreateRedirectionRequest::setRedirectionType(const std::string& redirectionType) -{ - redirectionType_ = redirectionType; - setParameter("RedirectionType", redirectionType); -} - -std::string CreateRedirectionRequest::getUserUtterance()const -{ - return userUtterance_; -} - -void CreateRedirectionRequest::setUserUtterance(const std::string& userUtterance) -{ - userUtterance_ = userUtterance; - setParameter("UserUtterance", userUtterance); -} - -bool CreateRedirectionRequest::getInterruptible()const -{ - return interruptible_; -} - -void CreateRedirectionRequest::setInterruptible(bool interruptible) -{ - interruptible_ = interruptible; - setParameter("Interruptible", interruptible ? "true" : "false"); -} - -std::string CreateRedirectionRequest::getInstanceId()const -{ - return instanceId_; -} - -void CreateRedirectionRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::vector CreateRedirectionRequest::getSimilarUtterances()const -{ - return similarUtterances_; -} - -void CreateRedirectionRequest::setSimilarUtterances(const std::vector& similarUtterances) -{ - similarUtterances_ = similarUtterances; - for(int dep1 = 0; dep1!= similarUtterances.size(); dep1++) { - setParameter("SimilarUtterances."+ std::to_string(dep1), similarUtterances.at(dep1)); - } -} - -std::string CreateRedirectionRequest::getRedirectionTarget()const -{ - return redirectionTarget_; -} - -void CreateRedirectionRequest::setRedirectionTarget(const std::string& redirectionTarget) -{ - redirectionTarget_ = redirectionTarget; - setParameter("RedirectionTarget", redirectionTarget); -} - -std::string CreateRedirectionRequest::getPrompt()const -{ - return prompt_; -} - -void CreateRedirectionRequest::setPrompt(const std::string& prompt) -{ - prompt_ = prompt; - setParameter("Prompt", prompt); -} - -std::string CreateRedirectionRequest::getCategoryId()const -{ - return categoryId_; -} - -void CreateRedirectionRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/CreateRedirectionResult.cc b/voicenavigator/src/model/CreateRedirectionResult.cc deleted file mode 100644 index a1772db0d..000000000 --- a/voicenavigator/src/model/CreateRedirectionResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -CreateRedirectionResult::CreateRedirectionResult() : - ServiceResult() -{} - -CreateRedirectionResult::CreateRedirectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateRedirectionResult::~CreateRedirectionResult() -{} - -void CreateRedirectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["NavigationScriptId"].isNull()) - navigationScriptId_ = value["NavigationScriptId"].asString(); - -} - -std::string CreateRedirectionResult::getNavigationScriptId()const -{ - return navigationScriptId_; -} - diff --git a/voicenavigator/src/model/DebugAuthorizedRequest.cc b/voicenavigator/src/model/DebugAuthorizedRequest.cc deleted file mode 100644 index df2b8b04e..000000000 --- a/voicenavigator/src/model/DebugAuthorizedRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DebugAuthorizedRequest; - -DebugAuthorizedRequest::DebugAuthorizedRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DebugAuthorized") -{ - setMethod(HttpRequest::Method::Post); -} - -DebugAuthorizedRequest::~DebugAuthorizedRequest() -{} - -std::string DebugAuthorizedRequest::getConversationId()const -{ - return conversationId_; -} - -void DebugAuthorizedRequest::setConversationId(const std::string& conversationId) -{ - conversationId_ = conversationId; - setParameter("ConversationId", conversationId); -} - -std::string DebugAuthorizedRequest::getInitialContext()const -{ - return initialContext_; -} - -void DebugAuthorizedRequest::setInitialContext(const std::string& initialContext) -{ - initialContext_ = initialContext; - setParameter("InitialContext", initialContext); -} - -std::string DebugAuthorizedRequest::getInstanceId()const -{ - return instanceId_; -} - -void DebugAuthorizedRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/DebugAuthorizedResult.cc b/voicenavigator/src/model/DebugAuthorizedResult.cc deleted file mode 100644 index d0aaf23ab..000000000 --- a/voicenavigator/src/model/DebugAuthorizedResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DebugAuthorizedResult::DebugAuthorizedResult() : - ServiceResult() -{} - -DebugAuthorizedResult::DebugAuthorizedResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DebugAuthorizedResult::~DebugAuthorizedResult() -{} - -void DebugAuthorizedResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["TextResponse"].isNull()) - textResponse_ = value["TextResponse"].asString(); - if(!value["Interruptible"].isNull()) - interruptible_ = value["Interruptible"].asString() == "true"; - if(!value["Action"].isNull()) - action_ = value["Action"].asString(); - if(!value["ActionParams"].isNull()) - actionParams_ = value["ActionParams"].asString(); - -} - -bool DebugAuthorizedResult::getInterruptible()const -{ - return interruptible_; -} - -std::string DebugAuthorizedResult::getAction()const -{ - return action_; -} - -std::string DebugAuthorizedResult::getActionParams()const -{ - return actionParams_; -} - -std::string DebugAuthorizedResult::getTextResponse()const -{ - return textResponse_; -} - diff --git a/voicenavigator/src/model/DeleteCategoryRequest.cc b/voicenavigator/src/model/DeleteCategoryRequest.cc deleted file mode 100644 index e2bdab502..000000000 --- a/voicenavigator/src/model/DeleteCategoryRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DeleteCategoryRequest; - -DeleteCategoryRequest::DeleteCategoryRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DeleteCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCategoryRequest::~DeleteCategoryRequest() -{} - -std::string DeleteCategoryRequest::getInstanceId()const -{ - return instanceId_; -} - -void DeleteCategoryRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DeleteCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void DeleteCategoryRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/DeleteCategoryResult.cc b/voicenavigator/src/model/DeleteCategoryResult.cc deleted file mode 100644 index 0d5391511..000000000 --- a/voicenavigator/src/model/DeleteCategoryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DeleteCategoryResult::DeleteCategoryResult() : - ServiceResult() -{} - -DeleteCategoryResult::DeleteCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteCategoryResult::~DeleteCategoryResult() -{} - -void DeleteCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/DeleteNavigationScriptRequest.cc b/voicenavigator/src/model/DeleteNavigationScriptRequest.cc deleted file mode 100644 index ff3d56b1f..000000000 --- a/voicenavigator/src/model/DeleteNavigationScriptRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DeleteNavigationScriptRequest; - -DeleteNavigationScriptRequest::DeleteNavigationScriptRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DeleteNavigationScript") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteNavigationScriptRequest::~DeleteNavigationScriptRequest() -{} - -std::string DeleteNavigationScriptRequest::getInstanceId()const -{ - return instanceId_; -} - -void DeleteNavigationScriptRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DeleteNavigationScriptRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void DeleteNavigationScriptRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - diff --git a/voicenavigator/src/model/DeleteNavigationScriptResult.cc b/voicenavigator/src/model/DeleteNavigationScriptResult.cc deleted file mode 100644 index 8dbb98a4e..000000000 --- a/voicenavigator/src/model/DeleteNavigationScriptResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DeleteNavigationScriptResult::DeleteNavigationScriptResult() : - ServiceResult() -{} - -DeleteNavigationScriptResult::DeleteNavigationScriptResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteNavigationScriptResult::~DeleteNavigationScriptResult() -{} - -void DeleteNavigationScriptResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/DescribeCategoryTreeRequest.cc b/voicenavigator/src/model/DescribeCategoryTreeRequest.cc deleted file mode 100644 index 386783838..000000000 --- a/voicenavigator/src/model/DescribeCategoryTreeRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DescribeCategoryTreeRequest; - -DescribeCategoryTreeRequest::DescribeCategoryTreeRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeCategoryTree") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeCategoryTreeRequest::~DescribeCategoryTreeRequest() -{} - -std::string DescribeCategoryTreeRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeCategoryTreeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/DescribeCategoryTreeResult.cc b/voicenavigator/src/model/DescribeCategoryTreeResult.cc deleted file mode 100644 index fe4e434b5..000000000 --- a/voicenavigator/src/model/DescribeCategoryTreeResult.cc +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DescribeCategoryTreeResult::DescribeCategoryTreeResult() : - ServiceResult() -{} - -DescribeCategoryTreeResult::DescribeCategoryTreeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCategoryTreeResult::~DescribeCategoryTreeResult() -{} - -void DescribeCategoryTreeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLevelsNode = value["Levels"]["Level"]; - for (auto valueLevelsLevel : allLevelsNode) - { - Level levelsObject; - auto allCategoriesNode = allLevelsNode["Categories"]["Category"]; - for (auto allLevelsNodeCategoriesCategory : allCategoriesNode) - { - Level::Category categoriesObject; - if(!allLevelsNodeCategoriesCategory["InstanceId"].isNull()) - categoriesObject.instanceId = allLevelsNodeCategoriesCategory["InstanceId"].asString(); - if(!allLevelsNodeCategoriesCategory["Name"].isNull()) - categoriesObject.name = allLevelsNodeCategoriesCategory["Name"].asString(); - if(!allLevelsNodeCategoriesCategory["CategoryId"].isNull()) - categoriesObject.categoryId = allLevelsNodeCategoriesCategory["CategoryId"].asString(); - if(!allLevelsNodeCategoriesCategory["Level"].isNull()) - categoriesObject.level = std::stol(allLevelsNodeCategoriesCategory["Level"].asString()); - if(!allLevelsNodeCategoriesCategory["PreviousSiblingId"].isNull()) - categoriesObject.previousSiblingId = allLevelsNodeCategoriesCategory["PreviousSiblingId"].asString(); - if(!allLevelsNodeCategoriesCategory["NextSiblingId"].isNull()) - categoriesObject.nextSiblingId = allLevelsNodeCategoriesCategory["NextSiblingId"].asString(); - if(!allLevelsNodeCategoriesCategory["ParentId"].isNull()) - categoriesObject.parentId = allLevelsNodeCategoriesCategory["ParentId"].asString(); - levelsObject.categories.push_back(categoriesObject); - } - levels_.push_back(levelsObject); - } - -} - -std::vector DescribeCategoryTreeResult::getLevels()const -{ - return levels_; -} - diff --git a/voicenavigator/src/model/DescribeKnowledgeRequest.cc b/voicenavigator/src/model/DescribeKnowledgeRequest.cc deleted file mode 100644 index 7343141b9..000000000 --- a/voicenavigator/src/model/DescribeKnowledgeRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DescribeKnowledgeRequest; - -DescribeKnowledgeRequest::DescribeKnowledgeRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeKnowledge") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeKnowledgeRequest::~DescribeKnowledgeRequest() -{} - -std::string DescribeKnowledgeRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeKnowledgeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DescribeKnowledgeRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void DescribeKnowledgeRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - diff --git a/voicenavigator/src/model/DescribeKnowledgeResult.cc b/voicenavigator/src/model/DescribeKnowledgeResult.cc deleted file mode 100644 index 3e8069323..000000000 --- a/voicenavigator/src/model/DescribeKnowledgeResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DescribeKnowledgeResult::DescribeKnowledgeResult() : - ServiceResult() -{} - -DescribeKnowledgeResult::DescribeKnowledgeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeKnowledgeResult::~DescribeKnowledgeResult() -{} - -void DescribeKnowledgeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSimilarUtterances = value["SimilarUtterances"]["SimilarUtterance"]; - for (const auto &item : allSimilarUtterances) - similarUtterances_.push_back(item.asString()); - if(!value["NavigationScriptId"].isNull()) - navigationScriptId_ = value["NavigationScriptId"].asString(); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - if(!value["CategoryId"].isNull()) - categoryId_ = value["CategoryId"].asString(); - if(!value["UserUtterance"].isNull()) - userUtterance_ = value["UserUtterance"].asString(); - if(!value["Answer"].isNull()) - answer_ = value["Answer"].asString(); - if(!value["Interruptible"].isNull()) - interruptible_ = value["Interruptible"].asString() == "true"; - -} - -std::string DescribeKnowledgeResult::getCategoryId()const -{ - return categoryId_; -} - -std::string DescribeKnowledgeResult::getAnswer()const -{ - return answer_; -} - -bool DescribeKnowledgeResult::getInterruptible()const -{ - return interruptible_; -} - -std::vector DescribeKnowledgeResult::getSimilarUtterances()const -{ - return similarUtterances_; -} - -std::string DescribeKnowledgeResult::getInstanceId()const -{ - return instanceId_; -} - -std::string DescribeKnowledgeResult::getUserUtterance()const -{ - return userUtterance_; -} - -std::string DescribeKnowledgeResult::getNavigationScriptId()const -{ - return navigationScriptId_; -} - diff --git a/voicenavigator/src/model/DescribeRedirectionRequest.cc b/voicenavigator/src/model/DescribeRedirectionRequest.cc deleted file mode 100644 index 7d1a0124f..000000000 --- a/voicenavigator/src/model/DescribeRedirectionRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DescribeRedirectionRequest; - -DescribeRedirectionRequest::DescribeRedirectionRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeRedirection") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeRedirectionRequest::~DescribeRedirectionRequest() -{} - -std::string DescribeRedirectionRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeRedirectionRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DescribeRedirectionRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void DescribeRedirectionRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - diff --git a/voicenavigator/src/model/DescribeRedirectionResult.cc b/voicenavigator/src/model/DescribeRedirectionResult.cc deleted file mode 100644 index 2aaf1ce7e..000000000 --- a/voicenavigator/src/model/DescribeRedirectionResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DescribeRedirectionResult::DescribeRedirectionResult() : - ServiceResult() -{} - -DescribeRedirectionResult::DescribeRedirectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRedirectionResult::~DescribeRedirectionResult() -{} - -void DescribeRedirectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSimilarUtterances = value["SimilarUtterances"]["SimilarUtterance"]; - for (const auto &item : allSimilarUtterances) - similarUtterances_.push_back(item.asString()); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - if(!value["CategoryId"].isNull()) - categoryId_ = value["CategoryId"].asString(); - if(!value["NavigationScriptId"].isNull()) - navigationScriptId_ = value["NavigationScriptId"].asString(); - if(!value["UserUtterance"].isNull()) - userUtterance_ = value["UserUtterance"].asString(); - if(!value["Prompt"].isNull()) - prompt_ = value["Prompt"].asString(); - if(!value["Interruptible"].isNull()) - interruptible_ = value["Interruptible"].asString() == "true"; - if(!value["RedirectionType"].isNull()) - redirectionType_ = value["RedirectionType"].asString(); - if(!value["RedirectionTarget"].isNull()) - redirectionTarget_ = value["RedirectionTarget"].asString(); - -} - -std::string DescribeRedirectionResult::getCategoryId()const -{ - return categoryId_; -} - -bool DescribeRedirectionResult::getInterruptible()const -{ - return interruptible_; -} - -std::string DescribeRedirectionResult::getRedirectionTarget()const -{ - return redirectionTarget_; -} - -std::vector DescribeRedirectionResult::getSimilarUtterances()const -{ - return similarUtterances_; -} - -std::string DescribeRedirectionResult::getRedirectionType()const -{ - return redirectionType_; -} - -std::string DescribeRedirectionResult::getInstanceId()const -{ - return instanceId_; -} - -std::string DescribeRedirectionResult::getUserUtterance()const -{ - return userUtterance_; -} - -std::string DescribeRedirectionResult::getPrompt()const -{ - return prompt_; -} - -std::string DescribeRedirectionResult::getNavigationScriptId()const -{ - return navigationScriptId_; -} - diff --git a/voicenavigator/src/model/DuplicateInstanceRequest.cc b/voicenavigator/src/model/DuplicateInstanceRequest.cc deleted file mode 100644 index de9eec3a0..000000000 --- a/voicenavigator/src/model/DuplicateInstanceRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::DuplicateInstanceRequest; - -DuplicateInstanceRequest::DuplicateInstanceRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "DuplicateInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -DuplicateInstanceRequest::~DuplicateInstanceRequest() -{} - -std::string DuplicateInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void DuplicateInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/DuplicateInstanceResult.cc b/voicenavigator/src/model/DuplicateInstanceResult.cc deleted file mode 100644 index 57233f4f9..000000000 --- a/voicenavigator/src/model/DuplicateInstanceResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -DuplicateInstanceResult::DuplicateInstanceResult() : - ServiceResult() -{} - -DuplicateInstanceResult::DuplicateInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DuplicateInstanceResult::~DuplicateInstanceResult() -{} - -void DuplicateInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - -} - -std::string DuplicateInstanceResult::getInstanceId()const -{ - return instanceId_; -} - diff --git a/voicenavigator/src/model/ListCategoriesRequest.cc b/voicenavigator/src/model/ListCategoriesRequest.cc deleted file mode 100644 index f4c45463d..000000000 --- a/voicenavigator/src/model/ListCategoriesRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ListCategoriesRequest; - -ListCategoriesRequest::ListCategoriesRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ListCategories") -{ - setMethod(HttpRequest::Method::Get); -} - -ListCategoriesRequest::~ListCategoriesRequest() -{} - -std::string ListCategoriesRequest::getParentId()const -{ - return parentId_; -} - -void ListCategoriesRequest::setParentId(const std::string& parentId) -{ - parentId_ = parentId; - setParameter("ParentId", parentId); -} - -std::string ListCategoriesRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListCategoriesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/ListCategoriesResult.cc b/voicenavigator/src/model/ListCategoriesResult.cc deleted file mode 100644 index 91f69c463..000000000 --- a/voicenavigator/src/model/ListCategoriesResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ListCategoriesResult::ListCategoriesResult() : - ServiceResult() -{} - -ListCategoriesResult::ListCategoriesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListCategoriesResult::~ListCategoriesResult() -{} - -void ListCategoriesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allCategoriesNode = value["Categories"]["Category"]; - for (auto valueCategoriesCategory : allCategoriesNode) - { - Category categoriesObject; - if(!valueCategoriesCategory["InstanceId"].isNull()) - categoriesObject.instanceId = valueCategoriesCategory["InstanceId"].asString(); - if(!valueCategoriesCategory["Name"].isNull()) - categoriesObject.name = valueCategoriesCategory["Name"].asString(); - if(!valueCategoriesCategory["CategoryId"].isNull()) - categoriesObject.categoryId = valueCategoriesCategory["CategoryId"].asString(); - if(!valueCategoriesCategory["Level"].isNull()) - categoriesObject.level = std::stol(valueCategoriesCategory["Level"].asString()); - if(!valueCategoriesCategory["PreviousSiblingId"].isNull()) - categoriesObject.previousSiblingId = valueCategoriesCategory["PreviousSiblingId"].asString(); - if(!valueCategoriesCategory["NextSiblingId"].isNull()) - categoriesObject.nextSiblingId = valueCategoriesCategory["NextSiblingId"].asString(); - if(!valueCategoriesCategory["ParentId"].isNull()) - categoriesObject.parentId = valueCategoriesCategory["ParentId"].asString(); - categories_.push_back(categoriesObject); - } - -} - -std::vector ListCategoriesResult::getCategories()const -{ - return categories_; -} - diff --git a/voicenavigator/src/model/ListNavigationScriptsRequest.cc b/voicenavigator/src/model/ListNavigationScriptsRequest.cc deleted file mode 100644 index 1411efde6..000000000 --- a/voicenavigator/src/model/ListNavigationScriptsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ListNavigationScriptsRequest; - -ListNavigationScriptsRequest::ListNavigationScriptsRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ListNavigationScripts") -{ - setMethod(HttpRequest::Method::Get); -} - -ListNavigationScriptsRequest::~ListNavigationScriptsRequest() -{} - -int ListNavigationScriptsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListNavigationScriptsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListNavigationScriptsRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListNavigationScriptsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -int ListNavigationScriptsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListNavigationScriptsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListNavigationScriptsRequest::getCategoryId()const -{ - return categoryId_; -} - -void ListNavigationScriptsRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/ListNavigationScriptsResult.cc b/voicenavigator/src/model/ListNavigationScriptsResult.cc deleted file mode 100644 index 2d7952117..000000000 --- a/voicenavigator/src/model/ListNavigationScriptsResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ListNavigationScriptsResult::ListNavigationScriptsResult() : - ServiceResult() -{} - -ListNavigationScriptsResult::ListNavigationScriptsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListNavigationScriptsResult::~ListNavigationScriptsResult() -{} - -void ListNavigationScriptsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allNavigationScriptsNode = value["NavigationScripts"]["NavigationScript"]; - for (auto valueNavigationScriptsNavigationScript : allNavigationScriptsNode) - { - NavigationScript navigationScriptsObject; - if(!valueNavigationScriptsNavigationScript["NavigationScriptId"].isNull()) - navigationScriptsObject.navigationScriptId = valueNavigationScriptsNavigationScript["NavigationScriptId"].asString(); - if(!valueNavigationScriptsNavigationScript["Title"].isNull()) - navigationScriptsObject.title = valueNavigationScriptsNavigationScript["Title"].asString(); - if(!valueNavigationScriptsNavigationScript["ModifyTime"].isNull()) - navigationScriptsObject.modifyTime = std::stol(valueNavigationScriptsNavigationScript["ModifyTime"].asString()); - if(!valueNavigationScriptsNavigationScript["Type"].isNull()) - navigationScriptsObject.type = valueNavigationScriptsNavigationScript["Type"].asString(); - navigationScripts_.push_back(navigationScriptsObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -long ListNavigationScriptsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListNavigationScriptsResult::getPageSize()const -{ - return pageSize_; -} - -int ListNavigationScriptsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListNavigationScriptsResult::getNavigationScripts()const -{ - return navigationScripts_; -} - diff --git a/voicenavigator/src/model/ListPublishHistoriesRequest.cc b/voicenavigator/src/model/ListPublishHistoriesRequest.cc deleted file mode 100644 index 8d64371aa..000000000 --- a/voicenavigator/src/model/ListPublishHistoriesRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ListPublishHistoriesRequest; - -ListPublishHistoriesRequest::ListPublishHistoriesRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ListPublishHistories") -{ - setMethod(HttpRequest::Method::Get); -} - -ListPublishHistoriesRequest::~ListPublishHistoriesRequest() -{} - -int ListPublishHistoriesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListPublishHistoriesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListPublishHistoriesRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListPublishHistoriesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -int ListPublishHistoriesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListPublishHistoriesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/voicenavigator/src/model/ListPublishHistoriesResult.cc b/voicenavigator/src/model/ListPublishHistoriesResult.cc deleted file mode 100644 index 333574c33..000000000 --- a/voicenavigator/src/model/ListPublishHistoriesResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ListPublishHistoriesResult::ListPublishHistoriesResult() : - ServiceResult() -{} - -ListPublishHistoriesResult::ListPublishHistoriesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListPublishHistoriesResult::~ListPublishHistoriesResult() -{} - -void ListPublishHistoriesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPublishHistoriesNode = value["PublishHistories"]["PublishHistoriesItem"]; - for (auto valuePublishHistoriesPublishHistoriesItem : allPublishHistoriesNode) - { - PublishHistoriesItem publishHistoriesObject; - if(!valuePublishHistoriesPublishHistoriesItem["InstanceId"].isNull()) - publishHistoriesObject.instanceId = valuePublishHistoriesPublishHistoriesItem["InstanceId"].asString(); - if(!valuePublishHistoriesPublishHistoriesItem["Version"].isNull()) - publishHistoriesObject.version = valuePublishHistoriesPublishHistoriesItem["Version"].asString(); - if(!valuePublishHistoriesPublishHistoriesItem["PublishUserName"].isNull()) - publishHistoriesObject.publishUserName = valuePublishHistoriesPublishHistoriesItem["PublishUserName"].asString(); - if(!valuePublishHistoriesPublishHistoriesItem["PublishTime"].isNull()) - publishHistoriesObject.publishTime = std::stol(valuePublishHistoriesPublishHistoriesItem["PublishTime"].asString()); - if(!valuePublishHistoriesPublishHistoriesItem["IsRollbackApplicable"].isNull()) - publishHistoriesObject.isRollbackApplicable = valuePublishHistoriesPublishHistoriesItem["IsRollbackApplicable"].asString() == "true"; - publishHistories_.push_back(publishHistoriesObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int ListPublishHistoriesResult::getTotalCount()const -{ - return totalCount_; -} - -int ListPublishHistoriesResult::getPageSize()const -{ - return pageSize_; -} - -int ListPublishHistoriesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListPublishHistoriesResult::getPublishHistories()const -{ - return publishHistories_; -} - diff --git a/voicenavigator/src/model/ModifyAskingBackConfigRequest.cc b/voicenavigator/src/model/ModifyAskingBackConfigRequest.cc deleted file mode 100644 index 2cb282aff..000000000 --- a/voicenavigator/src/model/ModifyAskingBackConfigRequest.cc +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyAskingBackConfigRequest; - -ModifyAskingBackConfigRequest::ModifyAskingBackConfigRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyAskingBackConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyAskingBackConfigRequest::~ModifyAskingBackConfigRequest() -{} - -std::string ModifyAskingBackConfigRequest::getNegativeFeedbackPrompt()const -{ - return negativeFeedbackPrompt_; -} - -void ModifyAskingBackConfigRequest::setNegativeFeedbackPrompt(const std::string& negativeFeedbackPrompt) -{ - negativeFeedbackPrompt_ = negativeFeedbackPrompt; - setParameter("NegativeFeedbackPrompt", negativeFeedbackPrompt); -} - -std::string ModifyAskingBackConfigRequest::getNegativeFeedbackAction()const -{ - return negativeFeedbackAction_; -} - -void ModifyAskingBackConfigRequest::setNegativeFeedbackAction(const std::string& negativeFeedbackAction) -{ - negativeFeedbackAction_ = negativeFeedbackAction; - setParameter("NegativeFeedbackAction", negativeFeedbackAction); -} - -bool ModifyAskingBackConfigRequest::getEnabled()const -{ - return enabled_; -} - -void ModifyAskingBackConfigRequest::setEnabled(bool enabled) -{ - enabled_ = enabled; - setParameter("Enabled", enabled ? "true" : "false"); -} - -bool ModifyAskingBackConfigRequest::getEnableNegativeFeedback()const -{ - return enableNegativeFeedback_; -} - -void ModifyAskingBackConfigRequest::setEnableNegativeFeedback(bool enableNegativeFeedback) -{ - enableNegativeFeedback_ = enableNegativeFeedback; - setParameter("EnableNegativeFeedback", enableNegativeFeedback ? "true" : "false"); -} - -std::string ModifyAskingBackConfigRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyAskingBackConfigRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ModifyAskingBackConfigRequest::getPrompt()const -{ - return prompt_; -} - -void ModifyAskingBackConfigRequest::setPrompt(const std::string& prompt) -{ - prompt_ = prompt; - setParameter("Prompt", prompt); -} - -std::vector ModifyAskingBackConfigRequest::getNegativeFeedbackUtterances()const -{ - return negativeFeedbackUtterances_; -} - -void ModifyAskingBackConfigRequest::setNegativeFeedbackUtterances(const std::vector& negativeFeedbackUtterances) -{ - negativeFeedbackUtterances_ = negativeFeedbackUtterances; - for(int dep1 = 0; dep1!= negativeFeedbackUtterances.size(); dep1++) { - setParameter("NegativeFeedbackUtterances."+ std::to_string(dep1), negativeFeedbackUtterances.at(dep1)); - } -} - -std::string ModifyAskingBackConfigRequest::getNegativeFeedbackActionParams()const -{ - return negativeFeedbackActionParams_; -} - -void ModifyAskingBackConfigRequest::setNegativeFeedbackActionParams(const std::string& negativeFeedbackActionParams) -{ - negativeFeedbackActionParams_ = negativeFeedbackActionParams; - setParameter("NegativeFeedbackActionParams", negativeFeedbackActionParams); -} - diff --git a/voicenavigator/src/model/ModifyAskingBackConfigResult.cc b/voicenavigator/src/model/ModifyAskingBackConfigResult.cc deleted file mode 100644 index 235c12d0f..000000000 --- a/voicenavigator/src/model/ModifyAskingBackConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyAskingBackConfigResult::ModifyAskingBackConfigResult() : - ServiceResult() -{} - -ModifyAskingBackConfigResult::ModifyAskingBackConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyAskingBackConfigResult::~ModifyAskingBackConfigResult() -{} - -void ModifyAskingBackConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/ModifyCategoryRequest.cc b/voicenavigator/src/model/ModifyCategoryRequest.cc deleted file mode 100644 index 1b1f267d3..000000000 --- a/voicenavigator/src/model/ModifyCategoryRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyCategoryRequest; - -ModifyCategoryRequest::ModifyCategoryRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCategoryRequest::~ModifyCategoryRequest() -{} - -std::string ModifyCategoryRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyCategoryRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ModifyCategoryRequest::getName()const -{ - return name_; -} - -void ModifyCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ModifyCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void ModifyCategoryRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/ModifyCategoryResult.cc b/voicenavigator/src/model/ModifyCategoryResult.cc deleted file mode 100644 index 333f7a550..000000000 --- a/voicenavigator/src/model/ModifyCategoryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyCategoryResult::ModifyCategoryResult() : - ServiceResult() -{} - -ModifyCategoryResult::ModifyCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyCategoryResult::~ModifyCategoryResult() -{} - -void ModifyCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/ModifyComplainingConfigRequest.cc b/voicenavigator/src/model/ModifyComplainingConfigRequest.cc deleted file mode 100644 index e285e624b..000000000 --- a/voicenavigator/src/model/ModifyComplainingConfigRequest.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyComplainingConfigRequest; - -ModifyComplainingConfigRequest::ModifyComplainingConfigRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyComplainingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyComplainingConfigRequest::~ModifyComplainingConfigRequest() -{} - -std::vector ModifyComplainingConfigRequest::getUtterances()const -{ - return utterances_; -} - -void ModifyComplainingConfigRequest::setUtterances(const std::vector& utterances) -{ - utterances_ = utterances; - for(int dep1 = 0; dep1!= utterances.size(); dep1++) { - setParameter("Utterances."+ std::to_string(dep1), utterances.at(dep1)); - } -} - -std::string ModifyComplainingConfigRequest::getFinalAction()const -{ - return finalAction_; -} - -void ModifyComplainingConfigRequest::setFinalAction(const std::string& finalAction) -{ - finalAction_ = finalAction; - setParameter("FinalAction", finalAction); -} - -std::string ModifyComplainingConfigRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyComplainingConfigRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ModifyComplainingConfigRequest::getFinalActionParams()const -{ - return finalActionParams_; -} - -void ModifyComplainingConfigRequest::setFinalActionParams(const std::string& finalActionParams) -{ - finalActionParams_ = finalActionParams; - setParameter("FinalActionParams", finalActionParams); -} - -std::string ModifyComplainingConfigRequest::getPrompt()const -{ - return prompt_; -} - -void ModifyComplainingConfigRequest::setPrompt(const std::string& prompt) -{ - prompt_ = prompt; - setParameter("Prompt", prompt); -} - diff --git a/voicenavigator/src/model/ModifyComplainingConfigResult.cc b/voicenavigator/src/model/ModifyComplainingConfigResult.cc deleted file mode 100644 index 19b03d4fc..000000000 --- a/voicenavigator/src/model/ModifyComplainingConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyComplainingConfigResult::ModifyComplainingConfigResult() : - ServiceResult() -{} - -ModifyComplainingConfigResult::ModifyComplainingConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyComplainingConfigResult::~ModifyComplainingConfigResult() -{} - -void ModifyComplainingConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/ModifyKnowledgeRequest.cc b/voicenavigator/src/model/ModifyKnowledgeRequest.cc deleted file mode 100644 index c4d3e4756..000000000 --- a/voicenavigator/src/model/ModifyKnowledgeRequest.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyKnowledgeRequest; - -ModifyKnowledgeRequest::ModifyKnowledgeRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyKnowledge") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyKnowledgeRequest::~ModifyKnowledgeRequest() -{} - -std::string ModifyKnowledgeRequest::getUserUtterance()const -{ - return userUtterance_; -} - -void ModifyKnowledgeRequest::setUserUtterance(const std::string& userUtterance) -{ - userUtterance_ = userUtterance; - setParameter("UserUtterance", userUtterance); -} - -bool ModifyKnowledgeRequest::getInterruptible()const -{ - return interruptible_; -} - -void ModifyKnowledgeRequest::setInterruptible(bool interruptible) -{ - interruptible_ = interruptible; - setParameter("Interruptible", interruptible ? "true" : "false"); -} - -std::string ModifyKnowledgeRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyKnowledgeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ModifyKnowledgeRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void ModifyKnowledgeRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - -std::string ModifyKnowledgeRequest::getAnswer()const -{ - return answer_; -} - -void ModifyKnowledgeRequest::setAnswer(const std::string& answer) -{ - answer_ = answer; - setParameter("Answer", answer); -} - -std::vector ModifyKnowledgeRequest::getSimilarUtterances()const -{ - return similarUtterances_; -} - -void ModifyKnowledgeRequest::setSimilarUtterances(const std::vector& similarUtterances) -{ - similarUtterances_ = similarUtterances; - for(int dep1 = 0; dep1!= similarUtterances.size(); dep1++) { - setParameter("SimilarUtterances."+ std::to_string(dep1), similarUtterances.at(dep1)); - } -} - diff --git a/voicenavigator/src/model/ModifyKnowledgeResult.cc b/voicenavigator/src/model/ModifyKnowledgeResult.cc deleted file mode 100644 index 46364da93..000000000 --- a/voicenavigator/src/model/ModifyKnowledgeResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyKnowledgeResult::ModifyKnowledgeResult() : - ServiceResult() -{} - -ModifyKnowledgeResult::ModifyKnowledgeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyKnowledgeResult::~ModifyKnowledgeResult() -{} - -void ModifyKnowledgeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/ModifyRedirectionRequest.cc b/voicenavigator/src/model/ModifyRedirectionRequest.cc deleted file mode 100644 index 75c3a9903..000000000 --- a/voicenavigator/src/model/ModifyRedirectionRequest.cc +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyRedirectionRequest; - -ModifyRedirectionRequest::ModifyRedirectionRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyRedirection") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyRedirectionRequest::~ModifyRedirectionRequest() -{} - -std::string ModifyRedirectionRequest::getRedirectionType()const -{ - return redirectionType_; -} - -void ModifyRedirectionRequest::setRedirectionType(const std::string& redirectionType) -{ - redirectionType_ = redirectionType; - setParameter("RedirectionType", redirectionType); -} - -std::string ModifyRedirectionRequest::getUserUtterance()const -{ - return userUtterance_; -} - -void ModifyRedirectionRequest::setUserUtterance(const std::string& userUtterance) -{ - userUtterance_ = userUtterance; - setParameter("UserUtterance", userUtterance); -} - -bool ModifyRedirectionRequest::getInterruptible()const -{ - return interruptible_; -} - -void ModifyRedirectionRequest::setInterruptible(bool interruptible) -{ - interruptible_ = interruptible; - setParameter("Interruptible", interruptible ? "true" : "false"); -} - -std::string ModifyRedirectionRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyRedirectionRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ModifyRedirectionRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void ModifyRedirectionRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - -std::vector ModifyRedirectionRequest::getSimilarUtterances()const -{ - return similarUtterances_; -} - -void ModifyRedirectionRequest::setSimilarUtterances(const std::vector& similarUtterances) -{ - similarUtterances_ = similarUtterances; - for(int dep1 = 0; dep1!= similarUtterances.size(); dep1++) { - setParameter("SimilarUtterances."+ std::to_string(dep1), similarUtterances.at(dep1)); - } -} - -std::string ModifyRedirectionRequest::getRedirectionTarget()const -{ - return redirectionTarget_; -} - -void ModifyRedirectionRequest::setRedirectionTarget(const std::string& redirectionTarget) -{ - redirectionTarget_ = redirectionTarget; - setParameter("RedirectionTarget", redirectionTarget); -} - -std::string ModifyRedirectionRequest::getPrompt()const -{ - return prompt_; -} - -void ModifyRedirectionRequest::setPrompt(const std::string& prompt) -{ - prompt_ = prompt; - setParameter("Prompt", prompt); -} - diff --git a/voicenavigator/src/model/ModifyRedirectionResult.cc b/voicenavigator/src/model/ModifyRedirectionResult.cc deleted file mode 100644 index 4a8fb74e9..000000000 --- a/voicenavigator/src/model/ModifyRedirectionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyRedirectionResult::ModifyRedirectionResult() : - ServiceResult() -{} - -ModifyRedirectionResult::ModifyRedirectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyRedirectionResult::~ModifyRedirectionResult() -{} - -void ModifyRedirectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/ModifyRepeatingConfigRequest.cc b/voicenavigator/src/model/ModifyRepeatingConfigRequest.cc deleted file mode 100644 index 2a2501ab1..000000000 --- a/voicenavigator/src/model/ModifyRepeatingConfigRequest.cc +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::ModifyRepeatingConfigRequest; - -ModifyRepeatingConfigRequest::ModifyRepeatingConfigRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "ModifyRepeatingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyRepeatingConfigRequest::~ModifyRepeatingConfigRequest() -{} - -std::vector ModifyRepeatingConfigRequest::getUtterances()const -{ - return utterances_; -} - -void ModifyRepeatingConfigRequest::setUtterances(const std::vector& utterances) -{ - utterances_ = utterances; - for(int dep1 = 0; dep1!= utterances.size(); dep1++) { - setParameter("Utterances."+ std::to_string(dep1), utterances.at(dep1)); - } -} - -std::string ModifyRepeatingConfigRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyRepeatingConfigRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/ModifyRepeatingConfigResult.cc b/voicenavigator/src/model/ModifyRepeatingConfigResult.cc deleted file mode 100644 index 68bf20da5..000000000 --- a/voicenavigator/src/model/ModifyRepeatingConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -ModifyRepeatingConfigResult::ModifyRepeatingConfigResult() : - ServiceResult() -{} - -ModifyRepeatingConfigResult::ModifyRepeatingConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyRepeatingConfigResult::~ModifyRepeatingConfigResult() -{} - -void ModifyRepeatingConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/MoveCategoryRequest.cc b/voicenavigator/src/model/MoveCategoryRequest.cc deleted file mode 100644 index 8ff22aaed..000000000 --- a/voicenavigator/src/model/MoveCategoryRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::MoveCategoryRequest; - -MoveCategoryRequest::MoveCategoryRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "MoveCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -MoveCategoryRequest::~MoveCategoryRequest() -{} - -std::string MoveCategoryRequest::getInstanceId()const -{ - return instanceId_; -} - -void MoveCategoryRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string MoveCategoryRequest::getTargetPreviousSiblingId()const -{ - return targetPreviousSiblingId_; -} - -void MoveCategoryRequest::setTargetPreviousSiblingId(const std::string& targetPreviousSiblingId) -{ - targetPreviousSiblingId_ = targetPreviousSiblingId; - setParameter("TargetPreviousSiblingId", targetPreviousSiblingId); -} - -std::string MoveCategoryRequest::getTargetParentId()const -{ - return targetParentId_; -} - -void MoveCategoryRequest::setTargetParentId(const std::string& targetParentId) -{ - targetParentId_ = targetParentId; - setParameter("TargetParentId", targetParentId); -} - -std::string MoveCategoryRequest::getCategoryId()const -{ - return categoryId_; -} - -void MoveCategoryRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/MoveCategoryResult.cc b/voicenavigator/src/model/MoveCategoryResult.cc deleted file mode 100644 index 925cdaa47..000000000 --- a/voicenavigator/src/model/MoveCategoryResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -MoveCategoryResult::MoveCategoryResult() : - ServiceResult() -{} - -MoveCategoryResult::MoveCategoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MoveCategoryResult::~MoveCategoryResult() -{} - -void MoveCategoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/MoveNavigationScriptRequest.cc b/voicenavigator/src/model/MoveNavigationScriptRequest.cc deleted file mode 100644 index d760d537d..000000000 --- a/voicenavigator/src/model/MoveNavigationScriptRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::MoveNavigationScriptRequest; - -MoveNavigationScriptRequest::MoveNavigationScriptRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "MoveNavigationScript") -{ - setMethod(HttpRequest::Method::Post); -} - -MoveNavigationScriptRequest::~MoveNavigationScriptRequest() -{} - -std::string MoveNavigationScriptRequest::getInstanceId()const -{ - return instanceId_; -} - -void MoveNavigationScriptRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string MoveNavigationScriptRequest::getNavigationScriptId()const -{ - return navigationScriptId_; -} - -void MoveNavigationScriptRequest::setNavigationScriptId(const std::string& navigationScriptId) -{ - navigationScriptId_ = navigationScriptId; - setParameter("NavigationScriptId", navigationScriptId); -} - -std::string MoveNavigationScriptRequest::getTargetCategoryId()const -{ - return targetCategoryId_; -} - -void MoveNavigationScriptRequest::setTargetCategoryId(const std::string& targetCategoryId) -{ - targetCategoryId_ = targetCategoryId; - setParameter("TargetCategoryId", targetCategoryId); -} - diff --git a/voicenavigator/src/model/MoveNavigationScriptResult.cc b/voicenavigator/src/model/MoveNavigationScriptResult.cc deleted file mode 100644 index c4a2ff487..000000000 --- a/voicenavigator/src/model/MoveNavigationScriptResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -MoveNavigationScriptResult::MoveNavigationScriptResult() : - ServiceResult() -{} - -MoveNavigationScriptResult::MoveNavigationScriptResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MoveNavigationScriptResult::~MoveNavigationScriptResult() -{} - -void MoveNavigationScriptResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/voicenavigator/src/model/PublishInstanceRequest.cc b/voicenavigator/src/model/PublishInstanceRequest.cc deleted file mode 100644 index 7c51c1d4d..000000000 --- a/voicenavigator/src/model/PublishInstanceRequest.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::PublishInstanceRequest; - -PublishInstanceRequest::PublishInstanceRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "PublishInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishInstanceRequest::~PublishInstanceRequest() -{} - -std::string PublishInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void PublishInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/PublishInstanceResult.cc b/voicenavigator/src/model/PublishInstanceResult.cc deleted file mode 100644 index 419ca5cf4..000000000 --- a/voicenavigator/src/model/PublishInstanceResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -PublishInstanceResult::PublishInstanceResult() : - ServiceResult() -{} - -PublishInstanceResult::PublishInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PublishInstanceResult::~PublishInstanceResult() -{} - -void PublishInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Version"].isNull()) - version_ = value["Version"].asString(); - -} - -std::string PublishInstanceResult::getStatus()const -{ - return status_; -} - -std::string PublishInstanceResult::getVersion()const -{ - return version_; -} - diff --git a/voicenavigator/src/model/QueryNavigationScriptsRequest.cc b/voicenavigator/src/model/QueryNavigationScriptsRequest.cc deleted file mode 100644 index e34fc1382..000000000 --- a/voicenavigator/src/model/QueryNavigationScriptsRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::QueryNavigationScriptsRequest; - -QueryNavigationScriptsRequest::QueryNavigationScriptsRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "QueryNavigationScripts") -{ - setMethod(HttpRequest::Method::Get); -} - -QueryNavigationScriptsRequest::~QueryNavigationScriptsRequest() -{} - -std::string QueryNavigationScriptsRequest::getType()const -{ - return type_; -} - -void QueryNavigationScriptsRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -int QueryNavigationScriptsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryNavigationScriptsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string QueryNavigationScriptsRequest::getInstanceId()const -{ - return instanceId_; -} - -void QueryNavigationScriptsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -int QueryNavigationScriptsRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryNavigationScriptsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string QueryNavigationScriptsRequest::getKeyWord()const -{ - return keyWord_; -} - -void QueryNavigationScriptsRequest::setKeyWord(const std::string& keyWord) -{ - keyWord_ = keyWord; - setParameter("KeyWord", keyWord); -} - -std::string QueryNavigationScriptsRequest::getCategoryId()const -{ - return categoryId_; -} - -void QueryNavigationScriptsRequest::setCategoryId(const std::string& categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", categoryId); -} - diff --git a/voicenavigator/src/model/QueryNavigationScriptsResult.cc b/voicenavigator/src/model/QueryNavigationScriptsResult.cc deleted file mode 100644 index 9ed110fd3..000000000 --- a/voicenavigator/src/model/QueryNavigationScriptsResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -QueryNavigationScriptsResult::QueryNavigationScriptsResult() : - ServiceResult() -{} - -QueryNavigationScriptsResult::QueryNavigationScriptsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryNavigationScriptsResult::~QueryNavigationScriptsResult() -{} - -void QueryNavigationScriptsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allNavigationScriptsNode = value["NavigationScripts"]["NavigationScript"]; - for (auto valueNavigationScriptsNavigationScript : allNavigationScriptsNode) - { - NavigationScript navigationScriptsObject; - if(!valueNavigationScriptsNavigationScript["NavigationScriptId"].isNull()) - navigationScriptsObject.navigationScriptId = valueNavigationScriptsNavigationScript["NavigationScriptId"].asString(); - if(!valueNavigationScriptsNavigationScript["Title"].isNull()) - navigationScriptsObject.title = valueNavigationScriptsNavigationScript["Title"].asString(); - if(!valueNavigationScriptsNavigationScript["ModifyTime"].isNull()) - navigationScriptsObject.modifyTime = std::stol(valueNavigationScriptsNavigationScript["ModifyTime"].asString()); - if(!valueNavigationScriptsNavigationScript["Type"].isNull()) - navigationScriptsObject.type = valueNavigationScriptsNavigationScript["Type"].asString(); - navigationScripts_.push_back(navigationScriptsObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -long QueryNavigationScriptsResult::getTotalCount()const -{ - return totalCount_; -} - -int QueryNavigationScriptsResult::getPageSize()const -{ - return pageSize_; -} - -int QueryNavigationScriptsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector QueryNavigationScriptsResult::getNavigationScripts()const -{ - return navigationScripts_; -} - diff --git a/voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc b/voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc deleted file mode 100644 index 1b806a24c..000000000 --- a/voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::QueryPerformanceIndicatorsRequest; - -QueryPerformanceIndicatorsRequest::QueryPerformanceIndicatorsRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "QueryPerformanceIndicators") -{ - setMethod(HttpRequest::Method::Get); -} - -QueryPerformanceIndicatorsRequest::~QueryPerformanceIndicatorsRequest() -{} - -std::string QueryPerformanceIndicatorsRequest::getInstanceId()const -{ - return instanceId_; -} - -void QueryPerformanceIndicatorsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string QueryPerformanceIndicatorsRequest::getDateUnit()const -{ - return dateUnit_; -} - -void QueryPerformanceIndicatorsRequest::setDateUnit(const std::string& dateUnit) -{ - dateUnit_ = dateUnit; - setParameter("DateUnit", dateUnit); -} - diff --git a/voicenavigator/src/model/QueryPerformanceIndicatorsResult.cc b/voicenavigator/src/model/QueryPerformanceIndicatorsResult.cc deleted file mode 100644 index 8e4eefb8f..000000000 --- a/voicenavigator/src/model/QueryPerformanceIndicatorsResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -QueryPerformanceIndicatorsResult::QueryPerformanceIndicatorsResult() : - ServiceResult() -{} - -QueryPerformanceIndicatorsResult::QueryPerformanceIndicatorsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryPerformanceIndicatorsResult::~QueryPerformanceIndicatorsResult() -{} - -void QueryPerformanceIndicatorsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto resolutionRateNode = value["ResolutionRate"]; - if(!resolutionRateNode["TotalRateValue"].isNull()) - resolutionRate_.totalRateValue = std::stof(resolutionRateNode["TotalRateValue"].asString()); - auto allValuePerDateUnitsNode = resolutionRateNode["ValuePerDateUnits"]["ValuePerDateUnit"]; - for (auto resolutionRateNodeValuePerDateUnitsValuePerDateUnit : allValuePerDateUnitsNode) - { - ResolutionRate::ValuePerDateUnit valuePerDateUnitObject; - if(!resolutionRateNodeValuePerDateUnitsValuePerDateUnit["Date"].isNull()) - valuePerDateUnitObject.date = std::stol(resolutionRateNodeValuePerDateUnitsValuePerDateUnit["Date"].asString()); - if(!resolutionRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].isNull()) - valuePerDateUnitObject.rateValue = std::stof(resolutionRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].asString()); - resolutionRate_.valuePerDateUnits.push_back(valuePerDateUnitObject); - } - auto validAnswerRateNode = value["ValidAnswerRate"]; - if(!validAnswerRateNode["TotalRateValue"].isNull()) - validAnswerRate_.totalRateValue = std::stof(validAnswerRateNode["TotalRateValue"].asString()); - auto allValuePerDateUnits1Node = validAnswerRateNode["ValuePerDateUnits"]["ValuePerDateUnit"]; - for (auto validAnswerRateNodeValuePerDateUnitsValuePerDateUnit : allValuePerDateUnits1Node) - { - ValidAnswerRate::ValuePerDateUnit2 valuePerDateUnit2Object; - if(!validAnswerRateNodeValuePerDateUnitsValuePerDateUnit["Date"].isNull()) - valuePerDateUnit2Object.date = std::stol(validAnswerRateNodeValuePerDateUnitsValuePerDateUnit["Date"].asString()); - if(!validAnswerRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].isNull()) - valuePerDateUnit2Object.rateValue = std::stof(validAnswerRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].asString()); - validAnswerRate_.valuePerDateUnits1.push_back(valuePerDateUnit2Object); - } - auto dialoguePassRateNode = value["DialoguePassRate"]; - if(!dialoguePassRateNode["TotalRateValue"].isNull()) - dialoguePassRate_.totalRateValue = std::stof(dialoguePassRateNode["TotalRateValue"].asString()); - auto allValuePerDateUnits3Node = dialoguePassRateNode["ValuePerDateUnits"]["ValuePerDateUnit"]; - for (auto dialoguePassRateNodeValuePerDateUnitsValuePerDateUnit : allValuePerDateUnits3Node) - { - DialoguePassRate::ValuePerDateUnit4 valuePerDateUnit4Object; - if(!dialoguePassRateNodeValuePerDateUnitsValuePerDateUnit["Date"].isNull()) - valuePerDateUnit4Object.date = std::stol(dialoguePassRateNodeValuePerDateUnitsValuePerDateUnit["Date"].asString()); - if(!dialoguePassRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].isNull()) - valuePerDateUnit4Object.rateValue = std::stof(dialoguePassRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].asString()); - dialoguePassRate_.valuePerDateUnits3.push_back(valuePerDateUnit4Object); - } - auto knowledgeHitRateNode = value["KnowledgeHitRate"]; - if(!knowledgeHitRateNode["TotalRateValue"].isNull()) - knowledgeHitRate_.totalRateValue = std::stof(knowledgeHitRateNode["TotalRateValue"].asString()); - auto allValuePerDateUnits5Node = knowledgeHitRateNode["ValuePerDateUnits"]["ValuePerDateUnit"]; - for (auto knowledgeHitRateNodeValuePerDateUnitsValuePerDateUnit : allValuePerDateUnits5Node) - { - KnowledgeHitRate::ValuePerDateUnit6 valuePerDateUnit6Object; - if(!knowledgeHitRateNodeValuePerDateUnitsValuePerDateUnit["Date"].isNull()) - valuePerDateUnit6Object.date = std::stol(knowledgeHitRateNodeValuePerDateUnitsValuePerDateUnit["Date"].asString()); - if(!knowledgeHitRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].isNull()) - valuePerDateUnit6Object.rateValue = std::stof(knowledgeHitRateNodeValuePerDateUnitsValuePerDateUnit["RateValue"].asString()); - knowledgeHitRate_.valuePerDateUnits5.push_back(valuePerDateUnit6Object); - } - -} - -QueryPerformanceIndicatorsResult::DialoguePassRate QueryPerformanceIndicatorsResult::getDialoguePassRate()const -{ - return dialoguePassRate_; -} - -QueryPerformanceIndicatorsResult::ValidAnswerRate QueryPerformanceIndicatorsResult::getValidAnswerRate()const -{ - return validAnswerRate_; -} - -QueryPerformanceIndicatorsResult::ResolutionRate QueryPerformanceIndicatorsResult::getResolutionRate()const -{ - return resolutionRate_; -} - -QueryPerformanceIndicatorsResult::KnowledgeHitRate QueryPerformanceIndicatorsResult::getKnowledgeHitRate()const -{ - return knowledgeHitRate_; -} - diff --git a/voicenavigator/src/model/QueryRecordingRequest.cc b/voicenavigator/src/model/QueryRecordingRequest.cc deleted file mode 100644 index e8e2119fb..000000000 --- a/voicenavigator/src/model/QueryRecordingRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::QueryRecordingRequest; - -QueryRecordingRequest::QueryRecordingRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "QueryRecording") -{ - setMethod(HttpRequest::Method::Get); -} - -QueryRecordingRequest::~QueryRecordingRequest() -{} - -std::string QueryRecordingRequest::getConversationId()const -{ - return conversationId_; -} - -void QueryRecordingRequest::setConversationId(const std::string& conversationId) -{ - conversationId_ = conversationId; - setParameter("ConversationId", conversationId); -} - -std::string QueryRecordingRequest::getInstanceId()const -{ - return instanceId_; -} - -void QueryRecordingRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/QueryRecordingResult.cc b/voicenavigator/src/model/QueryRecordingResult.cc deleted file mode 100644 index 53bc5c644..000000000 --- a/voicenavigator/src/model/QueryRecordingResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -QueryRecordingResult::QueryRecordingResult() : - ServiceResult() -{} - -QueryRecordingResult::QueryRecordingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryRecordingResult::~QueryRecordingResult() -{} - -void QueryRecordingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["FileName"].isNull()) - fileName_ = value["FileName"].asString(); - if(!value["FilePath"].isNull()) - filePath_ = value["FilePath"].asString(); - -} - -std::string QueryRecordingResult::getFilePath()const -{ - return filePath_; -} - -std::string QueryRecordingResult::getFileName()const -{ - return fileName_; -} - diff --git a/voicenavigator/src/model/RollbackInstanceRequest.cc b/voicenavigator/src/model/RollbackInstanceRequest.cc deleted file mode 100644 index df795936c..000000000 --- a/voicenavigator/src/model/RollbackInstanceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::VoiceNavigator::Model::RollbackInstanceRequest; - -RollbackInstanceRequest::RollbackInstanceRequest() : - RpcServiceRequest("voicenavigator", "2018-06-12", "RollbackInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -RollbackInstanceRequest::~RollbackInstanceRequest() -{} - -std::string RollbackInstanceRequest::getTargetVersion()const -{ - return targetVersion_; -} - -void RollbackInstanceRequest::setTargetVersion(const std::string& targetVersion) -{ - targetVersion_ = targetVersion; - setParameter("TargetVersion", targetVersion); -} - -std::string RollbackInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void RollbackInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - diff --git a/voicenavigator/src/model/RollbackInstanceResult.cc b/voicenavigator/src/model/RollbackInstanceResult.cc deleted file mode 100644 index ef95b356f..000000000 --- a/voicenavigator/src/model/RollbackInstanceResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::VoiceNavigator; -using namespace AlibabaCloud::VoiceNavigator::Model; - -RollbackInstanceResult::RollbackInstanceResult() : - ServiceResult() -{} - -RollbackInstanceResult::RollbackInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RollbackInstanceResult::~RollbackInstanceResult() -{} - -void RollbackInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - -} - -std::string RollbackInstanceResult::getStatus()const -{ - return status_; -} -