From 6f86a0ac33eb34be6a9edc5430e7c693d2c190d1 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 18 Jul 2022 13:18:50 +0000 Subject: [PATCH] Add Mutimedia Screen API Support. --- CHANGELOG | 3 + VERSION | 2 +- cloudesl/CMakeLists.txt | 68 ++ .../alibabacloud/cloudesl/CloudeslClient.h | 136 ++++ .../model/AddCompanyTemplateRequest.h | 6 + .../cloudesl/model/BatchInsertItemsRequest.h | 1 + .../cloudesl/model/BindDeviceLayoutRequest.h | 54 ++ .../cloudesl/model/BindDeviceLayoutResult.h | 63 ++ .../cloudesl/model/BindEslDeviceRequest.h | 12 + .../model/CopyCompanyTemplateViewRequest.h | 63 ++ .../model/CopyCompanyTemplateViewResult.h | 63 ++ .../cloudesl/model/CopyLayoutRequest.h | 54 ++ .../cloudesl/model/CopyLayoutResult.h | 63 ++ .../cloudesl/model/CopyTemplateGroupRequest.h | 54 ++ .../cloudesl/model/CopyTemplateGroupResult.h | 63 ++ .../cloudesl/model/DeleteLayoutRequest.h | 48 ++ .../cloudesl/model/DeleteLayoutResult.h | 63 ++ .../model/DeleteTemplateGroupRequest.h | 48 ++ .../model/DeleteTemplateGroupResult.h | 63 ++ .../cloudesl/model/DescribeBindersResult.h | 9 +- .../cloudesl/model/DescribeEslDevicesResult.h | 10 +- .../cloudesl/model/DescribeItemsResult.h | 1 + .../model/DescribeTemplateByModelResult.h | 1 + .../model/GetAddMaterialStatusRequest.h | 45 ++ .../model/GetAddMaterialStatusResult.h | 49 ++ .../cloudesl/model/GetEslDevicesRequest.h | 51 ++ .../cloudesl/model/GetEslDevicesResult.h | 67 ++ .../model/QueryContainerListRequest.h | 54 ++ .../cloudesl/model/QueryContainerListResult.h | 85 +++ .../model/QueryLayoutByDeviceRequest.h | 63 ++ .../model/QueryLayoutByDeviceResult.h | 81 +++ .../cloudesl/model/QueryLayoutDetailRequest.h | 48 ++ .../cloudesl/model/QueryLayoutDetailResult.h | 77 +++ .../model/QueryTemplateGroupListRequest.h | 66 ++ .../model/QueryTemplateGroupListResult.h | 80 +++ .../model/QueryTemplateListByGroupIdRequest.h | 54 ++ .../model/QueryTemplateListByGroupIdResult.h | 88 +++ .../cloudesl/model/SaveLayoutRequest.h | 57 ++ .../cloudesl/model/SaveLayoutResult.h | 63 ++ .../cloudesl/model/SaveTemplateGroupRequest.h | 63 ++ .../cloudesl/model/SaveTemplateGroupResult.h | 63 ++ .../cloudesl/model/UnbindEslDeviceRequest.h | 3 + .../model/UpdateCompanyTemplateRequest.h | 63 ++ .../model/UpdateCompanyTemplateResult.h | 63 ++ .../model/UpdateCompanyTemplateViewRequest.h | 51 ++ .../model/UpdateCompanyTemplateViewResult.h | 63 ++ cloudesl/src/CloudeslClient.cc | 612 ++++++++++++++++++ .../src/model/AddCompanyTemplateRequest.cc | 22 + cloudesl/src/model/BatchInsertItemsRequest.cc | 1 + cloudesl/src/model/BindDeviceLayoutRequest.cc | 62 ++ cloudesl/src/model/BindDeviceLayoutResult.cc | 93 +++ cloudesl/src/model/BindEslDeviceRequest.cc | 44 ++ .../model/CopyCompanyTemplateViewRequest.cc | 95 +++ .../model/CopyCompanyTemplateViewResult.cc | 93 +++ cloudesl/src/model/CopyLayoutRequest.cc | 62 ++ cloudesl/src/model/CopyLayoutResult.cc | 93 +++ .../src/model/CopyTemplateGroupRequest.cc | 62 ++ cloudesl/src/model/CopyTemplateGroupResult.cc | 93 +++ cloudesl/src/model/DeleteLayoutRequest.cc | 40 ++ cloudesl/src/model/DeleteLayoutResult.cc | 93 +++ .../src/model/DeleteTemplateGroupRequest.cc | 40 ++ .../src/model/DeleteTemplateGroupResult.cc | 93 +++ cloudesl/src/model/DescribeBindersResult.cc | 98 +-- .../src/model/DescribeEslDevicesResult.cc | 4 + cloudesl/src/model/DescribeItemsResult.cc | 2 + .../model/DescribeTemplateByModelResult.cc | 2 + .../src/model/GetAddMaterialStatusRequest.cc | 29 + .../src/model/GetAddMaterialStatusResult.cc | 44 ++ cloudesl/src/model/GetEslDevicesRequest.cc | 51 ++ cloudesl/src/model/GetEslDevicesResult.cc | 107 +++ .../src/model/QueryContainerListRequest.cc | 62 ++ .../src/model/QueryContainerListResult.cc | 147 +++++ .../src/model/QueryLayoutByDeviceRequest.cc | 95 +++ .../src/model/QueryLayoutByDeviceResult.cc | 139 ++++ .../src/model/QueryLayoutDetailRequest.cc | 40 ++ cloudesl/src/model/QueryLayoutDetailResult.cc | 142 ++++ .../model/QueryTemplateGroupListRequest.cc | 106 +++ .../src/model/QueryTemplateGroupListResult.cc | 137 ++++ .../QueryTemplateListByGroupIdRequest.cc | 62 ++ .../model/QueryTemplateListByGroupIdResult.cc | 153 +++++ cloudesl/src/model/SaveLayoutRequest.cc | 73 +++ cloudesl/src/model/SaveLayoutResult.cc | 93 +++ .../src/model/SaveTemplateGroupRequest.cc | 95 +++ cloudesl/src/model/SaveTemplateGroupResult.cc | 93 +++ cloudesl/src/model/UnbindEslDeviceRequest.cc | 11 + cloudesl/src/model/UnbindEslDeviceResult.cc | 20 +- .../src/model/UpdateCompanyTemplateRequest.cc | 95 +++ .../src/model/UpdateCompanyTemplateResult.cc | 93 +++ .../model/UpdateCompanyTemplateViewRequest.cc | 51 ++ .../model/UpdateCompanyTemplateViewResult.cc | 93 +++ 90 files changed, 6013 insertions(+), 67 deletions(-) create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h create mode 100644 cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h create mode 100644 cloudesl/src/model/BindDeviceLayoutRequest.cc create mode 100644 cloudesl/src/model/BindDeviceLayoutResult.cc create mode 100644 cloudesl/src/model/CopyCompanyTemplateViewRequest.cc create mode 100644 cloudesl/src/model/CopyCompanyTemplateViewResult.cc create mode 100644 cloudesl/src/model/CopyLayoutRequest.cc create mode 100644 cloudesl/src/model/CopyLayoutResult.cc create mode 100644 cloudesl/src/model/CopyTemplateGroupRequest.cc create mode 100644 cloudesl/src/model/CopyTemplateGroupResult.cc create mode 100644 cloudesl/src/model/DeleteLayoutRequest.cc create mode 100644 cloudesl/src/model/DeleteLayoutResult.cc create mode 100644 cloudesl/src/model/DeleteTemplateGroupRequest.cc create mode 100644 cloudesl/src/model/DeleteTemplateGroupResult.cc create mode 100644 cloudesl/src/model/GetAddMaterialStatusRequest.cc create mode 100644 cloudesl/src/model/GetAddMaterialStatusResult.cc create mode 100644 cloudesl/src/model/GetEslDevicesRequest.cc create mode 100644 cloudesl/src/model/GetEslDevicesResult.cc create mode 100644 cloudesl/src/model/QueryContainerListRequest.cc create mode 100644 cloudesl/src/model/QueryContainerListResult.cc create mode 100644 cloudesl/src/model/QueryLayoutByDeviceRequest.cc create mode 100644 cloudesl/src/model/QueryLayoutByDeviceResult.cc create mode 100644 cloudesl/src/model/QueryLayoutDetailRequest.cc create mode 100644 cloudesl/src/model/QueryLayoutDetailResult.cc create mode 100644 cloudesl/src/model/QueryTemplateGroupListRequest.cc create mode 100644 cloudesl/src/model/QueryTemplateGroupListResult.cc create mode 100644 cloudesl/src/model/QueryTemplateListByGroupIdRequest.cc create mode 100644 cloudesl/src/model/QueryTemplateListByGroupIdResult.cc create mode 100644 cloudesl/src/model/SaveLayoutRequest.cc create mode 100644 cloudesl/src/model/SaveLayoutResult.cc create mode 100644 cloudesl/src/model/SaveTemplateGroupRequest.cc create mode 100644 cloudesl/src/model/SaveTemplateGroupResult.cc create mode 100644 cloudesl/src/model/UpdateCompanyTemplateRequest.cc create mode 100644 cloudesl/src/model/UpdateCompanyTemplateResult.cc create mode 100644 cloudesl/src/model/UpdateCompanyTemplateViewRequest.cc create mode 100644 cloudesl/src/model/UpdateCompanyTemplateViewResult.cc diff --git a/CHANGELOG b/CHANGELOG index ed1993b97..5a7f1f2ec 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-07-18 Version: 1.36.1185 +- Add Mutimedia Screen API Support. + 2022-07-18 Version: 1.36.1184 - Change cspm ListCheckResult api. diff --git a/VERSION b/VERSION index 0a127efdf..b0e750fa4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1184 \ No newline at end of file +1.36.1185 \ No newline at end of file diff --git a/cloudesl/CMakeLists.txt b/cloudesl/CMakeLists.txt index 8400924be..f81714a5b 100644 --- a/cloudesl/CMakeLists.txt +++ b/cloudesl/CMakeLists.txt @@ -41,10 +41,18 @@ set(cloudesl_public_header_model include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.h include/alibabacloud/cloudesl/model/BatchUpdateEventResult.h + include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h + include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h include/alibabacloud/cloudesl/model/BindEslDeviceResult.h include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.h include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h + include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h + include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h + include/alibabacloud/cloudesl/model/CopyLayoutRequest.h + include/alibabacloud/cloudesl/model/CopyLayoutResult.h + include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h + include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h include/alibabacloud/cloudesl/model/CreateStoreRequest.h include/alibabacloud/cloudesl/model/CreateStoreResult.h include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h @@ -53,10 +61,14 @@ set(cloudesl_public_header_model include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h include/alibabacloud/cloudesl/model/DeleteItemRequest.h include/alibabacloud/cloudesl/model/DeleteItemResult.h + include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h + include/alibabacloud/cloudesl/model/DeleteLayoutResult.h include/alibabacloud/cloudesl/model/DeleteMaterialRequest.h include/alibabacloud/cloudesl/model/DeleteMaterialResult.h include/alibabacloud/cloudesl/model/DeleteStoreRequest.h include/alibabacloud/cloudesl/model/DeleteStoreResult.h + include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h + include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h include/alibabacloud/cloudesl/model/DeleteUserRequest.h include/alibabacloud/cloudesl/model/DeleteUserResult.h include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h @@ -101,22 +113,44 @@ set(cloudesl_public_header_model include/alibabacloud/cloudesl/model/DescribeUsersResult.h include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h include/alibabacloud/cloudesl/model/ExportEslDevicesResult.h + include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h + include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureRequest.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureResult.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobRequest.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobResult.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewRequest.h include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewResult.h + include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h + include/alibabacloud/cloudesl/model/GetEslDevicesResult.h include/alibabacloud/cloudesl/model/GetItemMaterialRequest.h include/alibabacloud/cloudesl/model/GetItemMaterialResult.h include/alibabacloud/cloudesl/model/GetUserRequest.h include/alibabacloud/cloudesl/model/GetUserResult.h + include/alibabacloud/cloudesl/model/QueryContainerListRequest.h + include/alibabacloud/cloudesl/model/QueryContainerListResult.h + include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h + include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h + include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h + include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h + include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h + include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h + include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h + include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h + include/alibabacloud/cloudesl/model/SaveLayoutRequest.h + include/alibabacloud/cloudesl/model/SaveLayoutResult.h + include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h + include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h include/alibabacloud/cloudesl/model/SyncAddMaterialRequest.h include/alibabacloud/cloudesl/model/SyncAddMaterialResult.h include/alibabacloud/cloudesl/model/UnassignUserRequest.h include/alibabacloud/cloudesl/model/UnassignUserResult.h include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h + include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h + include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h + include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h + include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.h @@ -152,10 +186,18 @@ set(cloudesl_src src/model/BatchInsertItemsResult.cc src/model/BatchUpdateEventRequest.cc src/model/BatchUpdateEventResult.cc + src/model/BindDeviceLayoutRequest.cc + src/model/BindDeviceLayoutResult.cc src/model/BindEslDeviceRequest.cc src/model/BindEslDeviceResult.cc src/model/CheckServiceLinkedRoleForDeletingRequest.cc src/model/CheckServiceLinkedRoleForDeletingResult.cc + src/model/CopyCompanyTemplateViewRequest.cc + src/model/CopyCompanyTemplateViewResult.cc + src/model/CopyLayoutRequest.cc + src/model/CopyLayoutResult.cc + src/model/CopyTemplateGroupRequest.cc + src/model/CopyTemplateGroupResult.cc src/model/CreateStoreRequest.cc src/model/CreateStoreResult.cc src/model/DeleteApDeviceRequest.cc @@ -164,10 +206,14 @@ set(cloudesl_src src/model/DeleteCompanyTemplateResult.cc src/model/DeleteItemRequest.cc src/model/DeleteItemResult.cc + src/model/DeleteLayoutRequest.cc + src/model/DeleteLayoutResult.cc src/model/DeleteMaterialRequest.cc src/model/DeleteMaterialResult.cc src/model/DeleteStoreRequest.cc src/model/DeleteStoreResult.cc + src/model/DeleteTemplateGroupRequest.cc + src/model/DeleteTemplateGroupResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc src/model/DescribeApDevicesRequest.cc @@ -212,22 +258,44 @@ set(cloudesl_src src/model/DescribeUsersResult.cc src/model/ExportEslDevicesRequest.cc src/model/ExportEslDevicesResult.cc + src/model/GetAddMaterialStatusRequest.cc + src/model/GetAddMaterialStatusResult.cc src/model/GetCompanyTemplatePictureRequest.cc src/model/GetCompanyTemplatePictureResult.cc src/model/GetCompanyTemplatePictureByJobRequest.cc src/model/GetCompanyTemplatePictureByJobResult.cc src/model/GetCompanyTemplatePictureNewRequest.cc src/model/GetCompanyTemplatePictureNewResult.cc + src/model/GetEslDevicesRequest.cc + src/model/GetEslDevicesResult.cc src/model/GetItemMaterialRequest.cc src/model/GetItemMaterialResult.cc src/model/GetUserRequest.cc src/model/GetUserResult.cc + src/model/QueryContainerListRequest.cc + src/model/QueryContainerListResult.cc + src/model/QueryLayoutByDeviceRequest.cc + src/model/QueryLayoutByDeviceResult.cc + src/model/QueryLayoutDetailRequest.cc + src/model/QueryLayoutDetailResult.cc + src/model/QueryTemplateGroupListRequest.cc + src/model/QueryTemplateGroupListResult.cc + src/model/QueryTemplateListByGroupIdRequest.cc + src/model/QueryTemplateListByGroupIdResult.cc + src/model/SaveLayoutRequest.cc + src/model/SaveLayoutResult.cc + src/model/SaveTemplateGroupRequest.cc + src/model/SaveTemplateGroupResult.cc src/model/SyncAddMaterialRequest.cc src/model/SyncAddMaterialResult.cc src/model/UnassignUserRequest.cc src/model/UnassignUserResult.cc src/model/UnbindEslDeviceRequest.cc src/model/UnbindEslDeviceResult.cc + src/model/UpdateCompanyTemplateRequest.cc + src/model/UpdateCompanyTemplateResult.cc + src/model/UpdateCompanyTemplateViewRequest.cc + src/model/UpdateCompanyTemplateViewResult.cc src/model/UpdateEslDeviceLightRequest.cc src/model/UpdateEslDeviceLightResult.cc src/model/UpdateItemMaterialRequest.cc diff --git a/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h b/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h index e7e73ba51..ee4551849 100644 --- a/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h +++ b/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h @@ -42,10 +42,18 @@ #include "model/BatchInsertItemsResult.h" #include "model/BatchUpdateEventRequest.h" #include "model/BatchUpdateEventResult.h" +#include "model/BindDeviceLayoutRequest.h" +#include "model/BindDeviceLayoutResult.h" #include "model/BindEslDeviceRequest.h" #include "model/BindEslDeviceResult.h" #include "model/CheckServiceLinkedRoleForDeletingRequest.h" #include "model/CheckServiceLinkedRoleForDeletingResult.h" +#include "model/CopyCompanyTemplateViewRequest.h" +#include "model/CopyCompanyTemplateViewResult.h" +#include "model/CopyLayoutRequest.h" +#include "model/CopyLayoutResult.h" +#include "model/CopyTemplateGroupRequest.h" +#include "model/CopyTemplateGroupResult.h" #include "model/CreateStoreRequest.h" #include "model/CreateStoreResult.h" #include "model/DeleteApDeviceRequest.h" @@ -54,10 +62,14 @@ #include "model/DeleteCompanyTemplateResult.h" #include "model/DeleteItemRequest.h" #include "model/DeleteItemResult.h" +#include "model/DeleteLayoutRequest.h" +#include "model/DeleteLayoutResult.h" #include "model/DeleteMaterialRequest.h" #include "model/DeleteMaterialResult.h" #include "model/DeleteStoreRequest.h" #include "model/DeleteStoreResult.h" +#include "model/DeleteTemplateGroupRequest.h" +#include "model/DeleteTemplateGroupResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" #include "model/DescribeApDevicesRequest.h" @@ -102,22 +114,44 @@ #include "model/DescribeUsersResult.h" #include "model/ExportEslDevicesRequest.h" #include "model/ExportEslDevicesResult.h" +#include "model/GetAddMaterialStatusRequest.h" +#include "model/GetAddMaterialStatusResult.h" #include "model/GetCompanyTemplatePictureRequest.h" #include "model/GetCompanyTemplatePictureResult.h" #include "model/GetCompanyTemplatePictureByJobRequest.h" #include "model/GetCompanyTemplatePictureByJobResult.h" #include "model/GetCompanyTemplatePictureNewRequest.h" #include "model/GetCompanyTemplatePictureNewResult.h" +#include "model/GetEslDevicesRequest.h" +#include "model/GetEslDevicesResult.h" #include "model/GetItemMaterialRequest.h" #include "model/GetItemMaterialResult.h" #include "model/GetUserRequest.h" #include "model/GetUserResult.h" +#include "model/QueryContainerListRequest.h" +#include "model/QueryContainerListResult.h" +#include "model/QueryLayoutByDeviceRequest.h" +#include "model/QueryLayoutByDeviceResult.h" +#include "model/QueryLayoutDetailRequest.h" +#include "model/QueryLayoutDetailResult.h" +#include "model/QueryTemplateGroupListRequest.h" +#include "model/QueryTemplateGroupListResult.h" +#include "model/QueryTemplateListByGroupIdRequest.h" +#include "model/QueryTemplateListByGroupIdResult.h" +#include "model/SaveLayoutRequest.h" +#include "model/SaveLayoutResult.h" +#include "model/SaveTemplateGroupRequest.h" +#include "model/SaveTemplateGroupResult.h" #include "model/SyncAddMaterialRequest.h" #include "model/SyncAddMaterialResult.h" #include "model/UnassignUserRequest.h" #include "model/UnassignUserResult.h" #include "model/UnbindEslDeviceRequest.h" #include "model/UnbindEslDeviceResult.h" +#include "model/UpdateCompanyTemplateRequest.h" +#include "model/UpdateCompanyTemplateResult.h" +#include "model/UpdateCompanyTemplateViewRequest.h" +#include "model/UpdateCompanyTemplateViewResult.h" #include "model/UpdateEslDeviceLightRequest.h" #include "model/UpdateEslDeviceLightResult.h" #include "model/UpdateItemMaterialRequest.h" @@ -169,12 +203,24 @@ namespace AlibabaCloud typedef Outcome BatchUpdateEventOutcome; typedef std::future BatchUpdateEventOutcomeCallable; typedef std::function&)> BatchUpdateEventAsyncHandler; + typedef Outcome BindDeviceLayoutOutcome; + typedef std::future BindDeviceLayoutOutcomeCallable; + typedef std::function&)> BindDeviceLayoutAsyncHandler; typedef Outcome BindEslDeviceOutcome; typedef std::future BindEslDeviceOutcomeCallable; typedef std::function&)> BindEslDeviceAsyncHandler; typedef Outcome CheckServiceLinkedRoleForDeletingOutcome; typedef std::future CheckServiceLinkedRoleForDeletingOutcomeCallable; typedef std::function&)> CheckServiceLinkedRoleForDeletingAsyncHandler; + typedef Outcome CopyCompanyTemplateViewOutcome; + typedef std::future CopyCompanyTemplateViewOutcomeCallable; + typedef std::function&)> CopyCompanyTemplateViewAsyncHandler; + typedef Outcome CopyLayoutOutcome; + typedef std::future CopyLayoutOutcomeCallable; + typedef std::function&)> CopyLayoutAsyncHandler; + typedef Outcome CopyTemplateGroupOutcome; + typedef std::future CopyTemplateGroupOutcomeCallable; + typedef std::function&)> CopyTemplateGroupAsyncHandler; typedef Outcome CreateStoreOutcome; typedef std::future CreateStoreOutcomeCallable; typedef std::function&)> CreateStoreAsyncHandler; @@ -187,12 +233,18 @@ namespace AlibabaCloud typedef Outcome DeleteItemOutcome; typedef std::future DeleteItemOutcomeCallable; typedef std::function&)> DeleteItemAsyncHandler; + typedef Outcome DeleteLayoutOutcome; + typedef std::future DeleteLayoutOutcomeCallable; + typedef std::function&)> DeleteLayoutAsyncHandler; typedef Outcome DeleteMaterialOutcome; typedef std::future DeleteMaterialOutcomeCallable; typedef std::function&)> DeleteMaterialAsyncHandler; typedef Outcome DeleteStoreOutcome; typedef std::future DeleteStoreOutcomeCallable; typedef std::function&)> DeleteStoreAsyncHandler; + typedef Outcome DeleteTemplateGroupOutcome; + typedef std::future DeleteTemplateGroupOutcomeCallable; + typedef std::function&)> DeleteTemplateGroupAsyncHandler; typedef Outcome DeleteUserOutcome; typedef std::future DeleteUserOutcomeCallable; typedef std::function&)> DeleteUserAsyncHandler; @@ -259,6 +311,9 @@ namespace AlibabaCloud typedef Outcome ExportEslDevicesOutcome; typedef std::future ExportEslDevicesOutcomeCallable; typedef std::function&)> ExportEslDevicesAsyncHandler; + typedef Outcome GetAddMaterialStatusOutcome; + typedef std::future GetAddMaterialStatusOutcomeCallable; + typedef std::function&)> GetAddMaterialStatusAsyncHandler; typedef Outcome GetCompanyTemplatePictureOutcome; typedef std::future GetCompanyTemplatePictureOutcomeCallable; typedef std::function&)> GetCompanyTemplatePictureAsyncHandler; @@ -268,12 +323,36 @@ namespace AlibabaCloud typedef Outcome GetCompanyTemplatePictureNewOutcome; typedef std::future GetCompanyTemplatePictureNewOutcomeCallable; typedef std::function&)> GetCompanyTemplatePictureNewAsyncHandler; + typedef Outcome GetEslDevicesOutcome; + typedef std::future GetEslDevicesOutcomeCallable; + typedef std::function&)> GetEslDevicesAsyncHandler; typedef Outcome GetItemMaterialOutcome; typedef std::future GetItemMaterialOutcomeCallable; typedef std::function&)> GetItemMaterialAsyncHandler; typedef Outcome GetUserOutcome; typedef std::future GetUserOutcomeCallable; typedef std::function&)> GetUserAsyncHandler; + typedef Outcome QueryContainerListOutcome; + typedef std::future QueryContainerListOutcomeCallable; + typedef std::function&)> QueryContainerListAsyncHandler; + typedef Outcome QueryLayoutByDeviceOutcome; + typedef std::future QueryLayoutByDeviceOutcomeCallable; + typedef std::function&)> QueryLayoutByDeviceAsyncHandler; + typedef Outcome QueryLayoutDetailOutcome; + typedef std::future QueryLayoutDetailOutcomeCallable; + typedef std::function&)> QueryLayoutDetailAsyncHandler; + typedef Outcome QueryTemplateGroupListOutcome; + typedef std::future QueryTemplateGroupListOutcomeCallable; + typedef std::function&)> QueryTemplateGroupListAsyncHandler; + typedef Outcome QueryTemplateListByGroupIdOutcome; + typedef std::future QueryTemplateListByGroupIdOutcomeCallable; + typedef std::function&)> QueryTemplateListByGroupIdAsyncHandler; + typedef Outcome SaveLayoutOutcome; + typedef std::future SaveLayoutOutcomeCallable; + typedef std::function&)> SaveLayoutAsyncHandler; + typedef Outcome SaveTemplateGroupOutcome; + typedef std::future SaveTemplateGroupOutcomeCallable; + typedef std::function&)> SaveTemplateGroupAsyncHandler; typedef Outcome SyncAddMaterialOutcome; typedef std::future SyncAddMaterialOutcomeCallable; typedef std::function&)> SyncAddMaterialAsyncHandler; @@ -283,6 +362,12 @@ namespace AlibabaCloud typedef Outcome UnbindEslDeviceOutcome; typedef std::future UnbindEslDeviceOutcomeCallable; typedef std::function&)> UnbindEslDeviceAsyncHandler; + typedef Outcome UpdateCompanyTemplateOutcome; + typedef std::future UpdateCompanyTemplateOutcomeCallable; + typedef std::function&)> UpdateCompanyTemplateAsyncHandler; + typedef Outcome UpdateCompanyTemplateViewOutcome; + typedef std::future UpdateCompanyTemplateViewOutcomeCallable; + typedef std::function&)> UpdateCompanyTemplateViewAsyncHandler; typedef Outcome UpdateEslDeviceLightOutcome; typedef std::future UpdateEslDeviceLightOutcomeCallable; typedef std::function&)> UpdateEslDeviceLightAsyncHandler; @@ -336,12 +421,24 @@ namespace AlibabaCloud BatchUpdateEventOutcome batchUpdateEvent(const Model::BatchUpdateEventRequest &request)const; void batchUpdateEventAsync(const Model::BatchUpdateEventRequest& request, const BatchUpdateEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchUpdateEventOutcomeCallable batchUpdateEventCallable(const Model::BatchUpdateEventRequest& request) const; + BindDeviceLayoutOutcome bindDeviceLayout(const Model::BindDeviceLayoutRequest &request)const; + void bindDeviceLayoutAsync(const Model::BindDeviceLayoutRequest& request, const BindDeviceLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindDeviceLayoutOutcomeCallable bindDeviceLayoutCallable(const Model::BindDeviceLayoutRequest& request) const; BindEslDeviceOutcome bindEslDevice(const Model::BindEslDeviceRequest &request)const; void bindEslDeviceAsync(const Model::BindEslDeviceRequest& request, const BindEslDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BindEslDeviceOutcomeCallable bindEslDeviceCallable(const Model::BindEslDeviceRequest& request) const; CheckServiceLinkedRoleForDeletingOutcome checkServiceLinkedRoleForDeleting(const Model::CheckServiceLinkedRoleForDeletingRequest &request)const; void checkServiceLinkedRoleForDeletingAsync(const Model::CheckServiceLinkedRoleForDeletingRequest& request, const CheckServiceLinkedRoleForDeletingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckServiceLinkedRoleForDeletingOutcomeCallable checkServiceLinkedRoleForDeletingCallable(const Model::CheckServiceLinkedRoleForDeletingRequest& request) const; + CopyCompanyTemplateViewOutcome copyCompanyTemplateView(const Model::CopyCompanyTemplateViewRequest &request)const; + void copyCompanyTemplateViewAsync(const Model::CopyCompanyTemplateViewRequest& request, const CopyCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyCompanyTemplateViewOutcomeCallable copyCompanyTemplateViewCallable(const Model::CopyCompanyTemplateViewRequest& request) const; + CopyLayoutOutcome copyLayout(const Model::CopyLayoutRequest &request)const; + void copyLayoutAsync(const Model::CopyLayoutRequest& request, const CopyLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyLayoutOutcomeCallable copyLayoutCallable(const Model::CopyLayoutRequest& request) const; + CopyTemplateGroupOutcome copyTemplateGroup(const Model::CopyTemplateGroupRequest &request)const; + void copyTemplateGroupAsync(const Model::CopyTemplateGroupRequest& request, const CopyTemplateGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyTemplateGroupOutcomeCallable copyTemplateGroupCallable(const Model::CopyTemplateGroupRequest& request) const; CreateStoreOutcome createStore(const Model::CreateStoreRequest &request)const; void createStoreAsync(const Model::CreateStoreRequest& request, const CreateStoreAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateStoreOutcomeCallable createStoreCallable(const Model::CreateStoreRequest& request) const; @@ -354,12 +451,18 @@ namespace AlibabaCloud DeleteItemOutcome deleteItem(const Model::DeleteItemRequest &request)const; void deleteItemAsync(const Model::DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteItemOutcomeCallable deleteItemCallable(const Model::DeleteItemRequest& request) const; + DeleteLayoutOutcome deleteLayout(const Model::DeleteLayoutRequest &request)const; + void deleteLayoutAsync(const Model::DeleteLayoutRequest& request, const DeleteLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLayoutOutcomeCallable deleteLayoutCallable(const Model::DeleteLayoutRequest& request) const; DeleteMaterialOutcome deleteMaterial(const Model::DeleteMaterialRequest &request)const; void deleteMaterialAsync(const Model::DeleteMaterialRequest& request, const DeleteMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteMaterialOutcomeCallable deleteMaterialCallable(const Model::DeleteMaterialRequest& request) const; DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &request)const; void deleteStoreAsync(const Model::DeleteStoreRequest& request, const DeleteStoreAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteStoreOutcomeCallable deleteStoreCallable(const Model::DeleteStoreRequest& request) const; + DeleteTemplateGroupOutcome deleteTemplateGroup(const Model::DeleteTemplateGroupRequest &request)const; + void deleteTemplateGroupAsync(const Model::DeleteTemplateGroupRequest& request, const DeleteTemplateGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTemplateGroupOutcomeCallable deleteTemplateGroupCallable(const Model::DeleteTemplateGroupRequest& request) const; DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; @@ -426,6 +529,9 @@ namespace AlibabaCloud ExportEslDevicesOutcome exportEslDevices(const Model::ExportEslDevicesRequest &request)const; void exportEslDevicesAsync(const Model::ExportEslDevicesRequest& request, const ExportEslDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ExportEslDevicesOutcomeCallable exportEslDevicesCallable(const Model::ExportEslDevicesRequest& request) const; + GetAddMaterialStatusOutcome getAddMaterialStatus(const Model::GetAddMaterialStatusRequest &request)const; + void getAddMaterialStatusAsync(const Model::GetAddMaterialStatusRequest& request, const GetAddMaterialStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetAddMaterialStatusOutcomeCallable getAddMaterialStatusCallable(const Model::GetAddMaterialStatusRequest& request) const; GetCompanyTemplatePictureOutcome getCompanyTemplatePicture(const Model::GetCompanyTemplatePictureRequest &request)const; void getCompanyTemplatePictureAsync(const Model::GetCompanyTemplatePictureRequest& request, const GetCompanyTemplatePictureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetCompanyTemplatePictureOutcomeCallable getCompanyTemplatePictureCallable(const Model::GetCompanyTemplatePictureRequest& request) const; @@ -435,12 +541,36 @@ namespace AlibabaCloud GetCompanyTemplatePictureNewOutcome getCompanyTemplatePictureNew(const Model::GetCompanyTemplatePictureNewRequest &request)const; void getCompanyTemplatePictureNewAsync(const Model::GetCompanyTemplatePictureNewRequest& request, const GetCompanyTemplatePictureNewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetCompanyTemplatePictureNewOutcomeCallable getCompanyTemplatePictureNewCallable(const Model::GetCompanyTemplatePictureNewRequest& request) const; + GetEslDevicesOutcome getEslDevices(const Model::GetEslDevicesRequest &request)const; + void getEslDevicesAsync(const Model::GetEslDevicesRequest& request, const GetEslDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEslDevicesOutcomeCallable getEslDevicesCallable(const Model::GetEslDevicesRequest& request) const; GetItemMaterialOutcome getItemMaterial(const Model::GetItemMaterialRequest &request)const; void getItemMaterialAsync(const Model::GetItemMaterialRequest& request, const GetItemMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetItemMaterialOutcomeCallable getItemMaterialCallable(const Model::GetItemMaterialRequest& request) const; GetUserOutcome getUser(const Model::GetUserRequest &request)const; void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const; + QueryContainerListOutcome queryContainerList(const Model::QueryContainerListRequest &request)const; + void queryContainerListAsync(const Model::QueryContainerListRequest& request, const QueryContainerListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryContainerListOutcomeCallable queryContainerListCallable(const Model::QueryContainerListRequest& request) const; + QueryLayoutByDeviceOutcome queryLayoutByDevice(const Model::QueryLayoutByDeviceRequest &request)const; + void queryLayoutByDeviceAsync(const Model::QueryLayoutByDeviceRequest& request, const QueryLayoutByDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryLayoutByDeviceOutcomeCallable queryLayoutByDeviceCallable(const Model::QueryLayoutByDeviceRequest& request) const; + QueryLayoutDetailOutcome queryLayoutDetail(const Model::QueryLayoutDetailRequest &request)const; + void queryLayoutDetailAsync(const Model::QueryLayoutDetailRequest& request, const QueryLayoutDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryLayoutDetailOutcomeCallable queryLayoutDetailCallable(const Model::QueryLayoutDetailRequest& request) const; + QueryTemplateGroupListOutcome queryTemplateGroupList(const Model::QueryTemplateGroupListRequest &request)const; + void queryTemplateGroupListAsync(const Model::QueryTemplateGroupListRequest& request, const QueryTemplateGroupListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTemplateGroupListOutcomeCallable queryTemplateGroupListCallable(const Model::QueryTemplateGroupListRequest& request) const; + QueryTemplateListByGroupIdOutcome queryTemplateListByGroupId(const Model::QueryTemplateListByGroupIdRequest &request)const; + void queryTemplateListByGroupIdAsync(const Model::QueryTemplateListByGroupIdRequest& request, const QueryTemplateListByGroupIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTemplateListByGroupIdOutcomeCallable queryTemplateListByGroupIdCallable(const Model::QueryTemplateListByGroupIdRequest& request) const; + SaveLayoutOutcome saveLayout(const Model::SaveLayoutRequest &request)const; + void saveLayoutAsync(const Model::SaveLayoutRequest& request, const SaveLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveLayoutOutcomeCallable saveLayoutCallable(const Model::SaveLayoutRequest& request) const; + SaveTemplateGroupOutcome saveTemplateGroup(const Model::SaveTemplateGroupRequest &request)const; + void saveTemplateGroupAsync(const Model::SaveTemplateGroupRequest& request, const SaveTemplateGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveTemplateGroupOutcomeCallable saveTemplateGroupCallable(const Model::SaveTemplateGroupRequest& request) const; SyncAddMaterialOutcome syncAddMaterial(const Model::SyncAddMaterialRequest &request)const; void syncAddMaterialAsync(const Model::SyncAddMaterialRequest& request, const SyncAddMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SyncAddMaterialOutcomeCallable syncAddMaterialCallable(const Model::SyncAddMaterialRequest& request) const; @@ -450,6 +580,12 @@ namespace AlibabaCloud UnbindEslDeviceOutcome unbindEslDevice(const Model::UnbindEslDeviceRequest &request)const; void unbindEslDeviceAsync(const Model::UnbindEslDeviceRequest& request, const UnbindEslDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnbindEslDeviceOutcomeCallable unbindEslDeviceCallable(const Model::UnbindEslDeviceRequest& request) const; + UpdateCompanyTemplateOutcome updateCompanyTemplate(const Model::UpdateCompanyTemplateRequest &request)const; + void updateCompanyTemplateAsync(const Model::UpdateCompanyTemplateRequest& request, const UpdateCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCompanyTemplateOutcomeCallable updateCompanyTemplateCallable(const Model::UpdateCompanyTemplateRequest& request) const; + UpdateCompanyTemplateViewOutcome updateCompanyTemplateView(const Model::UpdateCompanyTemplateViewRequest &request)const; + void updateCompanyTemplateViewAsync(const Model::UpdateCompanyTemplateViewRequest& request, const UpdateCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCompanyTemplateViewOutcomeCallable updateCompanyTemplateViewCallable(const Model::UpdateCompanyTemplateViewRequest& request) const; UpdateEslDeviceLightOutcome updateEslDeviceLight(const Model::UpdateEslDeviceLightRequest &request)const; void updateEslDeviceLightAsync(const Model::UpdateEslDeviceLightRequest& request, const UpdateEslDeviceLightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateEslDeviceLightOutcomeCallable updateEslDeviceLightCallable(const Model::UpdateEslDeviceLightRequest& request) const; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h index 80d8d0efd..c3b9e2e05 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h @@ -55,8 +55,12 @@ namespace AlibabaCloud void setIfDefault(bool ifDefault); std::string getTemplateName()const; void setTemplateName(const std::string& templateName); + std::string getTemplateSceneId()const; + void setTemplateSceneId(const std::string& templateSceneId); bool getIfSourceCode()const; void setIfSourceCode(bool ifSourceCode); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); bool getIfMember()const; void setIfMember(bool ifMember); int getLayout()const; @@ -75,7 +79,9 @@ namespace AlibabaCloud std::string vendor_; bool ifDefault_; std::string templateName_; + std::string templateSceneId_; bool ifSourceCode_; + std::string groupId_; bool ifMember_; int layout_; bool ifOutOfInventory_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h index c7eb8b1f0..450005e74 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h @@ -88,6 +88,7 @@ namespace AlibabaCloud std::string itemPicUrl; std::string forestSecondId; std::string supplierName; + bool beClearance; std::string material; std::string modelNumber; std::string saleSpec; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h new file mode 100644 index 000000000..b741e14c7 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT BindDeviceLayoutRequest : public RpcServiceRequest + { + + public: + BindDeviceLayoutRequest(); + ~BindDeviceLayoutRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + + private: + std::string storeId_; + std::string layoutId_; + std::string eslBarCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h new file mode 100644 index 000000000..499baf1d9 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT BindDeviceLayoutResult : public ServiceResult + { + public: + + + BindDeviceLayoutResult(); + explicit BindDeviceLayoutResult(const std::string &payload); + ~BindDeviceLayoutResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h index 920a55c4a..7bf443924 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h @@ -37,27 +37,39 @@ namespace AlibabaCloud std::string getExtraParams()const; void setExtraParams(const std::string& extraParams); + std::string getContainerName()const; + void setContainerName(const std::string& containerName); std::string getStoreId()const; void setStoreId(const std::string& storeId); + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); int getLayer()const; void setLayer(int layer); std::string getEslBarCode()const; void setEslBarCode(const std::string& eslBarCode); + std::string getLayoutName()const; + void setLayoutName(const std::string& layoutName); std::string getItemBarCode()const; void setItemBarCode(const std::string& itemBarCode); std::string getColumn()const; void setColumn(const std::string& column); std::string getShelf()const; void setShelf(const std::string& shelf); + std::string getContainerId()const; + void setContainerId(const std::string& containerId); private: std::string extraParams_; + std::string containerName_; std::string storeId_; + std::string layoutId_; int layer_; std::string eslBarCode_; + std::string layoutName_; std::string itemBarCode_; std::string column_; std::string shelf_; + std::string containerId_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h new file mode 100644 index 000000000..6c2e10422 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyCompanyTemplateViewRequest : public RpcServiceRequest + { + + public: + CopyCompanyTemplateViewRequest(); + ~CopyCompanyTemplateViewRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getTargetName()const; + void setTargetName(const std::string& targetName); + std::string getModelId()const; + void setModelId(const std::string& modelId); + std::string getTargetVersion()const; + void setTargetVersion(const std::string& targetVersion); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + long getTargetGroupId()const; + void setTargetGroupId(long targetGroupId); + + private: + std::string extraParams_; + std::string targetName_; + std::string modelId_; + std::string targetVersion_; + std::string templateId_; + long targetGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h new file mode 100644 index 000000000..aa1c2199a --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyCompanyTemplateViewResult : public ServiceResult + { + public: + + + CopyCompanyTemplateViewResult(); + explicit CopyCompanyTemplateViewResult(const std::string &payload); + ~CopyCompanyTemplateViewResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutRequest.h new file mode 100644 index 000000000..6797f8761 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyLayoutRequest : public RpcServiceRequest + { + + public: + CopyLayoutRequest(); + ~CopyLayoutRequest(); + + long getLayoutId()const; + void setLayoutId(long layoutId); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + + private: + long layoutId_; + std::string templateVersion_; + std::string eslModelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutResult.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutResult.h new file mode 100644 index 000000000..efaee22d5 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyLayoutResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_COPYLAYOUTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyLayoutResult : public ServiceResult + { + public: + + + CopyLayoutResult(); + explicit CopyLayoutResult(const std::string &payload); + ~CopyLayoutResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h new file mode 100644 index 000000000..af8538924 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyTemplateGroupRequest : public RpcServiceRequest + { + + public: + CopyTemplateGroupRequest(); + ~CopyTemplateGroupRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + + private: + std::string groupId_; + std::string templateVersion_; + std::string eslModelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h b/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h new file mode 100644 index 000000000..2026df42d --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CopyTemplateGroupResult : public ServiceResult + { + public: + + + CopyTemplateGroupResult(); + explicit CopyTemplateGroupResult(const std::string &payload); + ~CopyTemplateGroupResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h new file mode 100644 index 000000000..e8626a74a --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h @@ -0,0 +1,48 @@ +/* + * 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_CLOUDESL_MODEL_DELETELAYOUTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteLayoutRequest : public RpcServiceRequest + { + + public: + DeleteLayoutRequest(); + ~DeleteLayoutRequest(); + + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + + private: + std::string layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutResult.h new file mode 100644 index 000000000..b14d2dae2 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteLayoutResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteLayoutResult : public ServiceResult + { + public: + + + DeleteLayoutResult(); + explicit DeleteLayoutResult(const std::string &payload); + ~DeleteLayoutResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h new file mode 100644 index 000000000..cc35ca732 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h @@ -0,0 +1,48 @@ +/* + * 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_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteTemplateGroupRequest : public RpcServiceRequest + { + + public: + DeleteTemplateGroupRequest(); + ~DeleteTemplateGroupRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + + private: + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h new file mode 100644 index 000000000..cbea8a33c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteTemplateGroupResult : public ServiceResult + { + public: + + + DeleteTemplateGroupResult(); + explicit DeleteTemplateGroupResult(const std::string &payload); + ~DeleteTemplateGroupResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h index 6a6170ba8..32463a8e2 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string bindId; std::string originalPrice; - std::string gmtModified; std::string actionPrice; + std::string gmtModified; std::string eslPic; std::string promotionStart; std::string itemBarCode; @@ -50,12 +50,13 @@ namespace AlibabaCloud std::string priceUnit; std::string itemShortTitle; std::string storeId; + std::string containerName; std::string itemTitle; - std::string eslStatus; std::string skuId; - std::string templateId; - std::string eslConnectAp; + std::string eslStatus; bool bePromotion; + std::string eslConnectAp; + std::string templateId; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h index d7a452383..35bf1ab34 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h @@ -34,18 +34,20 @@ namespace AlibabaCloud public: struct EslDeviceInfo { + int batteryLevel; + std::string layoutId; + int screenHeight; + std::string lastCommunicateTime; + std::string mac; std::string type; std::string eslBarCode; int eslSignal; - int batteryLevel; std::string storeId; std::string typeEncode; std::string model; int screenWidth; - int screenHeight; + std::string layoutName; std::string eslStatus; - std::string lastCommunicateTime; - std::string mac; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h index 39c2fc15d..34f6bae9f 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h @@ -89,6 +89,7 @@ namespace AlibabaCloud std::string itemTitle; bool beMember; std::string productionPlace; + bool beClearance; std::string forestFirstId; int actionPrice; std::string rank; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h index 21d90ad4b..e59b4c892 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h @@ -42,6 +42,7 @@ namespace AlibabaCloud long height; std::string eslSize; std::string scene; + std::string templateSceneId; std::string eslType; long width; std::string templateId; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h new file mode 100644 index 000000000..2837226ec --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetAddMaterialStatusRequest : public RpcServiceRequest + { + + public: + GetAddMaterialStatusRequest(); + ~GetAddMaterialStatusRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h new file mode 100644 index 000000000..1d6784578 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h @@ -0,0 +1,49 @@ +/* + * 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_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetAddMaterialStatusResult : public ServiceResult + { + public: + + + GetAddMaterialStatusResult(); + explicit GetAddMaterialStatusResult(const std::string &payload); + ~GetAddMaterialStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h new file mode 100644 index 000000000..e4bf170ed --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h @@ -0,0 +1,51 @@ +/* + * 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_CLOUDESL_MODEL_GETESLDEVICESREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetEslDevicesRequest : public RpcServiceRequest + { + + public: + GetEslDevicesRequest(); + ~GetEslDevicesRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + + private: + std::string storeId_; + std::string eslBarCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesResult.h new file mode 100644 index 000000000..38f57aafa --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetEslDevicesResult.h @@ -0,0 +1,67 @@ +/* + * 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_CLOUDESL_MODEL_GETESLDEVICESRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetEslDevicesResult : public ServiceResult + { + public: + + + GetEslDevicesResult(); + explicit GetEslDevicesResult(const std::string &payload); + ~GetEslDevicesResult(); + std::string getEslBarCode()const; + std::string getType()const; + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string eslBarCode_; + std::string type_; + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListRequest.h new file mode 100644 index 000000000..52f5badaf --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryContainerListRequest : public RpcServiceRequest + { + + public: + QueryContainerListRequest(); + ~QueryContainerListRequest(); + + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string layoutId_; + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListResult.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListResult.h new file mode 100644 index 000000000..05f8be913 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryContainerListResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryContainerListResult : public ServiceResult + { + public: + struct Container + { + int leftPx; + std::string groupName; + std::string demoTemplateName; + std::string description; + std::string containerId; + std::string containerName; + std::string demoTemplateId; + int widthPx; + int heightPx; + int topPx; + std::string groupId; + }; + + + QueryContainerListResult(); + explicit QueryContainerListResult(const std::string &payload); + ~QueryContainerListResult(); + int getTotalCount()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getContainerList()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::string message_; + int pageSize_; + int pageNumber_; + std::vector containerList_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h new file mode 100644 index 000000000..4a323d7fd --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutByDeviceRequest : public RpcServiceRequest + { + + public: + QueryLayoutByDeviceRequest(); + ~QueryLayoutByDeviceRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + + private: + std::string storeId_; + int pageNumber_; + std::string templateVersion_; + std::string eslBarCode_; + int pageSize_; + std::string eslModelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h new file mode 100644 index 000000000..a1bd9272b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutByDeviceResult : public ServiceResult + { + public: + struct Layout + { + std::string brand; + bool isBind; + std::string description; + std::string layoutId; + std::string layoutName; + std::string basePic; + std::string layoutTemplateId; + }; + + + QueryLayoutByDeviceResult(); + explicit QueryLayoutByDeviceResult(const std::string &payload); + ~QueryLayoutByDeviceResult(); + int getTotalCount()const; + std::vector getLayoutList()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector layoutList_; + std::string message_; + int pageSize_; + int pageNumber_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h new file mode 100644 index 000000000..89c32a801 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h @@ -0,0 +1,48 @@ +/* + * 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_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutDetailRequest : public RpcServiceRequest + { + + public: + QueryLayoutDetailRequest(); + ~QueryLayoutDetailRequest(); + + long getLayoutId()const; + void setLayoutId(long layoutId); + + private: + long layoutId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h new file mode 100644 index 000000000..6cae4823c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h @@ -0,0 +1,77 @@ +/* + * 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_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutDetailResult : public ServiceResult + { + public: + + + QueryLayoutDetailResult(); + explicit QueryLayoutDetailResult(const std::string &payload); + ~QueryLayoutDetailResult(); + std::string getDescription()const; + std::string getMessage()const; + std::string getEslModelId()const; + long getLayoutId()const; + std::string getTemplateVersion()const; + std::string getDynamicMessage()const; + std::string getBrandId()const; + std::string getCode()const; + long getLayoutTemplateId()const; + bool getSuccess()const; + std::string getLayoutName()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getErrorMessage()const; + + protected: + void parse(const std::string &payload); + private: + std::string description_; + std::string message_; + std::string eslModelId_; + long layoutId_; + std::string templateVersion_; + std::string dynamicMessage_; + std::string brandId_; + std::string code_; + long layoutTemplateId_; + bool success_; + std::string layoutName_; + std::string dynamicCode_; + std::string errorCode_; + std::string errorMessage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h new file mode 100644 index 000000000..e170ca201 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h @@ -0,0 +1,66 @@ +/* + * 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_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateGroupListRequest : public RpcServiceRequest + { + + public: + QueryTemplateGroupListRequest(); + ~QueryTemplateGroupListRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + int getWidthPx()const; + void setWidthPx(int widthPx); + std::string getGroupIds()const; + void setGroupIds(const std::string& groupIds); + int getHeightPx()const; + void setHeightPx(int heightPx); + + private: + int pageNumber_; + std::string templateVersion_; + int pageSize_; + std::string eslModelId_; + int widthPx_; + std::string groupIds_; + int heightPx_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h new file mode 100644 index 000000000..a6234d192 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h @@ -0,0 +1,80 @@ +/* + * 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_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateGroupListResult : public ServiceResult + { + public: + struct TemplateGroup + { + std::string groupName; + std::string relation; + std::string description; + int widthPx; + int heightPx; + std::string groupId; + }; + + + QueryTemplateGroupListResult(); + explicit QueryTemplateGroupListResult(const std::string &payload); + ~QueryTemplateGroupListResult(); + int getTotalCount()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::string getDynamicCode()const; + std::vector getTemplateGroupList()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::string message_; + int pageSize_; + int pageNumber_; + std::string dynamicCode_; + std::vector templateGroupList_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h new file mode 100644 index 000000000..ff14306be --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateListByGroupIdRequest : public RpcServiceRequest + { + + public: + QueryTemplateListByGroupIdRequest(); + ~QueryTemplateListByGroupIdRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string groupId_; + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h new file mode 100644 index 000000000..3a31e7827 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h @@ -0,0 +1,88 @@ +/* + * 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_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateListByGroupIdResult : public ServiceResult + { + public: + struct _Template + { + std::string templateVersion; + std::string basePicture; + std::string scene; + std::string templateSceneId; + std::string groupId; + std::string brand; + bool relation; + std::string layout; + std::string templateName; + long height; + std::string eslSize; + std::string eslType; + long width; + std::string templateId; + }; + + + QueryTemplateListByGroupIdResult(); + explicit QueryTemplateListByGroupIdResult(const std::string &payload); + ~QueryTemplateListByGroupIdResult(); + int getTotalCount()const; + std::vector<_Template> getTemplateList()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector<_Template> templateList_; + std::string message_; + int pageSize_; + int pageNumber_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutRequest.h new file mode 100644 index 000000000..1f427ff8f --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SaveLayoutRequest : public RpcServiceRequest + { + + public: + SaveLayoutRequest(); + ~SaveLayoutRequest(); + + std::string getLayoutId()const; + void setLayoutId(const std::string& layoutId); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getLayoutName()const; + void setLayoutName(const std::string& layoutName); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + + private: + std::string layoutId_; + std::string templateVersion_; + std::string layoutName_; + std::string eslModelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutResult.h b/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutResult.h new file mode 100644 index 000000000..db2673184 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SaveLayoutResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_SAVELAYOUTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SaveLayoutResult : public ServiceResult + { + public: + + + SaveLayoutResult(); + explicit SaveLayoutResult(const std::string &payload); + ~SaveLayoutResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h new file mode 100644 index 000000000..3738d3d8c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SaveTemplateGroupRequest : public RpcServiceRequest + { + + public: + SaveTemplateGroupRequest(); + ~SaveTemplateGroupRequest(); + + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getEslModelId()const; + void setEslModelId(const std::string& eslModelId); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getWidthPx()const; + void setWidthPx(int widthPx); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + int getHeightPx()const; + void setHeightPx(int heightPx); + + private: + std::string templateVersion_; + std::string eslModelId_; + std::string groupId_; + int widthPx_; + std::string groupName_; + int heightPx_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h b/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h new file mode 100644 index 000000000..7563ae19c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SaveTemplateGroupResult : public ServiceResult + { + public: + + + SaveTemplateGroupResult(); + explicit SaveTemplateGroupResult(const std::string &payload); + ~SaveTemplateGroupResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h index d122dd39a..e54651e12 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::string getExtraParams()const; void setExtraParams(const std::string& extraParams); + std::string getContainerName()const; + void setContainerName(const std::string& containerName); std::string getStoreId()const; void setStoreId(const std::string& storeId); int getLayer()const; @@ -52,6 +54,7 @@ namespace AlibabaCloud private: std::string extraParams_; + std::string containerName_; std::string storeId_; int layer_; std::string eslBarCode_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h new file mode 100644 index 000000000..61eaa2943 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateRequest : public RpcServiceRequest + { + + public: + UpdateCompanyTemplateRequest(); + ~UpdateCompanyTemplateRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getTemplateName()const; + void setTemplateName(const std::string& templateName); + std::string getTemplateSceneId()const; + void setTemplateSceneId(const std::string& templateSceneId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + + private: + std::string extraParams_; + std::string scene_; + std::string templateVersion_; + std::string templateName_; + std::string templateSceneId_; + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h new file mode 100644 index 000000000..d2cdba83c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateResult : public ServiceResult + { + public: + + + UpdateCompanyTemplateResult(); + explicit UpdateCompanyTemplateResult(const std::string &payload); + ~UpdateCompanyTemplateResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h new file mode 100644 index 000000000..a49dd510b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h @@ -0,0 +1,51 @@ +/* + * 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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateViewRequest : public RpcServiceRequest + { + + public: + UpdateCompanyTemplateViewRequest(); + ~UpdateCompanyTemplateViewRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getData()const; + void setData(const std::string& data); + + private: + std::string extraParams_; + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h new file mode 100644 index 000000000..833522b86 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h @@ -0,0 +1,63 @@ +/* + * 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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateViewResult : public ServiceResult + { + public: + + + UpdateCompanyTemplateViewResult(); + explicit UpdateCompanyTemplateViewResult(const std::string &payload); + ~UpdateCompanyTemplateViewResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_ \ No newline at end of file diff --git a/cloudesl/src/CloudeslClient.cc b/cloudesl/src/CloudeslClient.cc index cc702029a..9d98e5e0a 100644 --- a/cloudesl/src/CloudeslClient.cc +++ b/cloudesl/src/CloudeslClient.cc @@ -411,6 +411,42 @@ CloudeslClient::BatchUpdateEventOutcomeCallable CloudeslClient::batchUpdateEvent return task->get_future(); } +CloudeslClient::BindDeviceLayoutOutcome CloudeslClient::bindDeviceLayout(const BindDeviceLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindDeviceLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindDeviceLayoutOutcome(BindDeviceLayoutResult(outcome.result())); + else + return BindDeviceLayoutOutcome(outcome.error()); +} + +void CloudeslClient::bindDeviceLayoutAsync(const BindDeviceLayoutRequest& request, const BindDeviceLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindDeviceLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::BindDeviceLayoutOutcomeCallable CloudeslClient::bindDeviceLayoutCallable(const BindDeviceLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindDeviceLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::BindEslDeviceOutcome CloudeslClient::bindEslDevice(const BindEslDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +519,114 @@ CloudeslClient::CheckServiceLinkedRoleForDeletingOutcomeCallable CloudeslClient: return task->get_future(); } +CloudeslClient::CopyCompanyTemplateViewOutcome CloudeslClient::copyCompanyTemplateView(const CopyCompanyTemplateViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyCompanyTemplateViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyCompanyTemplateViewOutcome(CopyCompanyTemplateViewResult(outcome.result())); + else + return CopyCompanyTemplateViewOutcome(outcome.error()); +} + +void CloudeslClient::copyCompanyTemplateViewAsync(const CopyCompanyTemplateViewRequest& request, const CopyCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyCompanyTemplateView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::CopyCompanyTemplateViewOutcomeCallable CloudeslClient::copyCompanyTemplateViewCallable(const CopyCompanyTemplateViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyCompanyTemplateView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::CopyLayoutOutcome CloudeslClient::copyLayout(const CopyLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyLayoutOutcome(CopyLayoutResult(outcome.result())); + else + return CopyLayoutOutcome(outcome.error()); +} + +void CloudeslClient::copyLayoutAsync(const CopyLayoutRequest& request, const CopyLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::CopyLayoutOutcomeCallable CloudeslClient::copyLayoutCallable(const CopyLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::CopyTemplateGroupOutcome CloudeslClient::copyTemplateGroup(const CopyTemplateGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyTemplateGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyTemplateGroupOutcome(CopyTemplateGroupResult(outcome.result())); + else + return CopyTemplateGroupOutcome(outcome.error()); +} + +void CloudeslClient::copyTemplateGroupAsync(const CopyTemplateGroupRequest& request, const CopyTemplateGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyTemplateGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::CopyTemplateGroupOutcomeCallable CloudeslClient::copyTemplateGroupCallable(const CopyTemplateGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyTemplateGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::CreateStoreOutcome CloudeslClient::createStore(const CreateStoreRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -627,6 +771,42 @@ CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(con return task->get_future(); } +CloudeslClient::DeleteLayoutOutcome CloudeslClient::deleteLayout(const DeleteLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLayoutOutcome(DeleteLayoutResult(outcome.result())); + else + return DeleteLayoutOutcome(outcome.error()); +} + +void CloudeslClient::deleteLayoutAsync(const DeleteLayoutRequest& request, const DeleteLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DeleteLayoutOutcomeCallable CloudeslClient::deleteLayoutCallable(const DeleteLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DeleteMaterialOutcome CloudeslClient::deleteMaterial(const DeleteMaterialRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +879,42 @@ CloudeslClient::DeleteStoreOutcomeCallable CloudeslClient::deleteStoreCallable(c return task->get_future(); } +CloudeslClient::DeleteTemplateGroupOutcome CloudeslClient::deleteTemplateGroup(const DeleteTemplateGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTemplateGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTemplateGroupOutcome(DeleteTemplateGroupResult(outcome.result())); + else + return DeleteTemplateGroupOutcome(outcome.error()); +} + +void CloudeslClient::deleteTemplateGroupAsync(const DeleteTemplateGroupRequest& request, const DeleteTemplateGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTemplateGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DeleteTemplateGroupOutcomeCallable CloudeslClient::deleteTemplateGroupCallable(const DeleteTemplateGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTemplateGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DeleteUserOutcome CloudeslClient::deleteUser(const DeleteUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1491,6 +1707,42 @@ CloudeslClient::ExportEslDevicesOutcomeCallable CloudeslClient::exportEslDevices return task->get_future(); } +CloudeslClient::GetAddMaterialStatusOutcome CloudeslClient::getAddMaterialStatus(const GetAddMaterialStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetAddMaterialStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetAddMaterialStatusOutcome(GetAddMaterialStatusResult(outcome.result())); + else + return GetAddMaterialStatusOutcome(outcome.error()); +} + +void CloudeslClient::getAddMaterialStatusAsync(const GetAddMaterialStatusRequest& request, const GetAddMaterialStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getAddMaterialStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetAddMaterialStatusOutcomeCallable CloudeslClient::getAddMaterialStatusCallable(const GetAddMaterialStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getAddMaterialStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::GetCompanyTemplatePictureOutcome CloudeslClient::getCompanyTemplatePicture(const GetCompanyTemplatePictureRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1599,6 +1851,42 @@ CloudeslClient::GetCompanyTemplatePictureNewOutcomeCallable CloudeslClient::getC return task->get_future(); } +CloudeslClient::GetEslDevicesOutcome CloudeslClient::getEslDevices(const GetEslDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEslDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEslDevicesOutcome(GetEslDevicesResult(outcome.result())); + else + return GetEslDevicesOutcome(outcome.error()); +} + +void CloudeslClient::getEslDevicesAsync(const GetEslDevicesRequest& request, const GetEslDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEslDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetEslDevicesOutcomeCallable CloudeslClient::getEslDevicesCallable(const GetEslDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEslDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::GetItemMaterialOutcome CloudeslClient::getItemMaterial(const GetItemMaterialRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +1959,258 @@ CloudeslClient::GetUserOutcomeCallable CloudeslClient::getUserCallable(const Get return task->get_future(); } +CloudeslClient::QueryContainerListOutcome CloudeslClient::queryContainerList(const QueryContainerListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryContainerListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryContainerListOutcome(QueryContainerListResult(outcome.result())); + else + return QueryContainerListOutcome(outcome.error()); +} + +void CloudeslClient::queryContainerListAsync(const QueryContainerListRequest& request, const QueryContainerListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryContainerList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::QueryContainerListOutcomeCallable CloudeslClient::queryContainerListCallable(const QueryContainerListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryContainerList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::QueryLayoutByDeviceOutcome CloudeslClient::queryLayoutByDevice(const QueryLayoutByDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryLayoutByDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryLayoutByDeviceOutcome(QueryLayoutByDeviceResult(outcome.result())); + else + return QueryLayoutByDeviceOutcome(outcome.error()); +} + +void CloudeslClient::queryLayoutByDeviceAsync(const QueryLayoutByDeviceRequest& request, const QueryLayoutByDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryLayoutByDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::QueryLayoutByDeviceOutcomeCallable CloudeslClient::queryLayoutByDeviceCallable(const QueryLayoutByDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryLayoutByDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::QueryLayoutDetailOutcome CloudeslClient::queryLayoutDetail(const QueryLayoutDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryLayoutDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryLayoutDetailOutcome(QueryLayoutDetailResult(outcome.result())); + else + return QueryLayoutDetailOutcome(outcome.error()); +} + +void CloudeslClient::queryLayoutDetailAsync(const QueryLayoutDetailRequest& request, const QueryLayoutDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryLayoutDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::QueryLayoutDetailOutcomeCallable CloudeslClient::queryLayoutDetailCallable(const QueryLayoutDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryLayoutDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::QueryTemplateGroupListOutcome CloudeslClient::queryTemplateGroupList(const QueryTemplateGroupListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTemplateGroupListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTemplateGroupListOutcome(QueryTemplateGroupListResult(outcome.result())); + else + return QueryTemplateGroupListOutcome(outcome.error()); +} + +void CloudeslClient::queryTemplateGroupListAsync(const QueryTemplateGroupListRequest& request, const QueryTemplateGroupListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTemplateGroupList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::QueryTemplateGroupListOutcomeCallable CloudeslClient::queryTemplateGroupListCallable(const QueryTemplateGroupListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTemplateGroupList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::QueryTemplateListByGroupIdOutcome CloudeslClient::queryTemplateListByGroupId(const QueryTemplateListByGroupIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTemplateListByGroupIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTemplateListByGroupIdOutcome(QueryTemplateListByGroupIdResult(outcome.result())); + else + return QueryTemplateListByGroupIdOutcome(outcome.error()); +} + +void CloudeslClient::queryTemplateListByGroupIdAsync(const QueryTemplateListByGroupIdRequest& request, const QueryTemplateListByGroupIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTemplateListByGroupId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::QueryTemplateListByGroupIdOutcomeCallable CloudeslClient::queryTemplateListByGroupIdCallable(const QueryTemplateListByGroupIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTemplateListByGroupId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::SaveLayoutOutcome CloudeslClient::saveLayout(const SaveLayoutRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveLayoutOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveLayoutOutcome(SaveLayoutResult(outcome.result())); + else + return SaveLayoutOutcome(outcome.error()); +} + +void CloudeslClient::saveLayoutAsync(const SaveLayoutRequest& request, const SaveLayoutAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveLayout(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::SaveLayoutOutcomeCallable CloudeslClient::saveLayoutCallable(const SaveLayoutRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveLayout(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::SaveTemplateGroupOutcome CloudeslClient::saveTemplateGroup(const SaveTemplateGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveTemplateGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveTemplateGroupOutcome(SaveTemplateGroupResult(outcome.result())); + else + return SaveTemplateGroupOutcome(outcome.error()); +} + +void CloudeslClient::saveTemplateGroupAsync(const SaveTemplateGroupRequest& request, const SaveTemplateGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveTemplateGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::SaveTemplateGroupOutcomeCallable CloudeslClient::saveTemplateGroupCallable(const SaveTemplateGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveTemplateGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::SyncAddMaterialOutcome CloudeslClient::syncAddMaterial(const SyncAddMaterialRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,6 +2319,78 @@ CloudeslClient::UnbindEslDeviceOutcomeCallable CloudeslClient::unbindEslDeviceCa return task->get_future(); } +CloudeslClient::UpdateCompanyTemplateOutcome CloudeslClient::updateCompanyTemplate(const UpdateCompanyTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCompanyTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCompanyTemplateOutcome(UpdateCompanyTemplateResult(outcome.result())); + else + return UpdateCompanyTemplateOutcome(outcome.error()); +} + +void CloudeslClient::updateCompanyTemplateAsync(const UpdateCompanyTemplateRequest& request, const UpdateCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCompanyTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::UpdateCompanyTemplateOutcomeCallable CloudeslClient::updateCompanyTemplateCallable(const UpdateCompanyTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCompanyTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::UpdateCompanyTemplateViewOutcome CloudeslClient::updateCompanyTemplateView(const UpdateCompanyTemplateViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCompanyTemplateViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCompanyTemplateViewOutcome(UpdateCompanyTemplateViewResult(outcome.result())); + else + return UpdateCompanyTemplateViewOutcome(outcome.error()); +} + +void CloudeslClient::updateCompanyTemplateViewAsync(const UpdateCompanyTemplateViewRequest& request, const UpdateCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCompanyTemplateView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::UpdateCompanyTemplateViewOutcomeCallable CloudeslClient::updateCompanyTemplateViewCallable(const UpdateCompanyTemplateViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCompanyTemplateView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::UpdateEslDeviceLightOutcome CloudeslClient::updateEslDeviceLight(const UpdateEslDeviceLightRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cloudesl/src/model/AddCompanyTemplateRequest.cc b/cloudesl/src/model/AddCompanyTemplateRequest.cc index 7f5807cea..2b001795e 100644 --- a/cloudesl/src/model/AddCompanyTemplateRequest.cc +++ b/cloudesl/src/model/AddCompanyTemplateRequest.cc @@ -137,6 +137,17 @@ void AddCompanyTemplateRequest::setTemplateName(const std::string& templateName) setBodyParameter("TemplateName", templateName); } +std::string AddCompanyTemplateRequest::getTemplateSceneId()const +{ + return templateSceneId_; +} + +void AddCompanyTemplateRequest::setTemplateSceneId(const std::string& templateSceneId) +{ + templateSceneId_ = templateSceneId; + setBodyParameter("TemplateSceneId", templateSceneId); +} + bool AddCompanyTemplateRequest::getIfSourceCode()const { return ifSourceCode_; @@ -148,6 +159,17 @@ void AddCompanyTemplateRequest::setIfSourceCode(bool ifSourceCode) setBodyParameter("IfSourceCode", ifSourceCode ? "true" : "false"); } +std::string AddCompanyTemplateRequest::getGroupId()const +{ + return groupId_; +} + +void AddCompanyTemplateRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + bool AddCompanyTemplateRequest::getIfMember()const { return ifMember_; diff --git a/cloudesl/src/model/BatchInsertItemsRequest.cc b/cloudesl/src/model/BatchInsertItemsRequest.cc index cac26369c..9da7e5825 100644 --- a/cloudesl/src/model/BatchInsertItemsRequest.cc +++ b/cloudesl/src/model/BatchInsertItemsRequest.cc @@ -126,6 +126,7 @@ void BatchInsertItemsRequest::setItemInfo(const std::vector& itemInfo) setParameter(itemInfoObjStr + ".ItemPicUrl", itemInfoObj.itemPicUrl); setParameter(itemInfoObjStr + ".ForestSecondId", itemInfoObj.forestSecondId); setParameter(itemInfoObjStr + ".SupplierName", itemInfoObj.supplierName); + setParameter(itemInfoObjStr + ".BeClearance", itemInfoObj.beClearance ? "true" : "false"); setParameter(itemInfoObjStr + ".Material", itemInfoObj.material); setParameter(itemInfoObjStr + ".ModelNumber", itemInfoObj.modelNumber); setParameter(itemInfoObjStr + ".SaleSpec", itemInfoObj.saleSpec); diff --git a/cloudesl/src/model/BindDeviceLayoutRequest.cc b/cloudesl/src/model/BindDeviceLayoutRequest.cc new file mode 100644 index 000000000..e4734ee92 --- /dev/null +++ b/cloudesl/src/model/BindDeviceLayoutRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::BindDeviceLayoutRequest; + +BindDeviceLayoutRequest::BindDeviceLayoutRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "BindDeviceLayout") +{ + setMethod(HttpRequest::Method::Post); +} + +BindDeviceLayoutRequest::~BindDeviceLayoutRequest() +{} + +std::string BindDeviceLayoutRequest::getStoreId()const +{ + return storeId_; +} + +void BindDeviceLayoutRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setBodyParameter("StoreId", storeId); +} + +std::string BindDeviceLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void BindDeviceLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", layoutId); +} + +std::string BindDeviceLayoutRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void BindDeviceLayoutRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setBodyParameter("EslBarCode", eslBarCode); +} + diff --git a/cloudesl/src/model/BindDeviceLayoutResult.cc b/cloudesl/src/model/BindDeviceLayoutResult.cc new file mode 100644 index 000000000..0f0e3dd67 --- /dev/null +++ b/cloudesl/src/model/BindDeviceLayoutResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +BindDeviceLayoutResult::BindDeviceLayoutResult() : + ServiceResult() +{} + +BindDeviceLayoutResult::BindDeviceLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindDeviceLayoutResult::~BindDeviceLayoutResult() +{} + +void BindDeviceLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string BindDeviceLayoutResult::getMessage()const +{ + return message_; +} + +std::string BindDeviceLayoutResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string BindDeviceLayoutResult::getErrorCode()const +{ + return errorCode_; +} + +std::string BindDeviceLayoutResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string BindDeviceLayoutResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string BindDeviceLayoutResult::getCode()const +{ + return code_; +} + +bool BindDeviceLayoutResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/BindEslDeviceRequest.cc b/cloudesl/src/model/BindEslDeviceRequest.cc index d0d1da98a..137c28510 100644 --- a/cloudesl/src/model/BindEslDeviceRequest.cc +++ b/cloudesl/src/model/BindEslDeviceRequest.cc @@ -38,6 +38,17 @@ void BindEslDeviceRequest::setExtraParams(const std::string& extraParams) setBodyParameter("ExtraParams", extraParams); } +std::string BindEslDeviceRequest::getContainerName()const +{ + return containerName_; +} + +void BindEslDeviceRequest::setContainerName(const std::string& containerName) +{ + containerName_ = containerName; + setBodyParameter("ContainerName", containerName); +} + std::string BindEslDeviceRequest::getStoreId()const { return storeId_; @@ -49,6 +60,17 @@ void BindEslDeviceRequest::setStoreId(const std::string& storeId) setBodyParameter("StoreId", storeId); } +std::string BindEslDeviceRequest::getLayoutId()const +{ + return layoutId_; +} + +void BindEslDeviceRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", layoutId); +} + int BindEslDeviceRequest::getLayer()const { return layer_; @@ -71,6 +93,17 @@ void BindEslDeviceRequest::setEslBarCode(const std::string& eslBarCode) setBodyParameter("EslBarCode", eslBarCode); } +std::string BindEslDeviceRequest::getLayoutName()const +{ + return layoutName_; +} + +void BindEslDeviceRequest::setLayoutName(const std::string& layoutName) +{ + layoutName_ = layoutName; + setBodyParameter("LayoutName", layoutName); +} + std::string BindEslDeviceRequest::getItemBarCode()const { return itemBarCode_; @@ -104,3 +137,14 @@ void BindEslDeviceRequest::setShelf(const std::string& shelf) setBodyParameter("Shelf", shelf); } +std::string BindEslDeviceRequest::getContainerId()const +{ + return containerId_; +} + +void BindEslDeviceRequest::setContainerId(const std::string& containerId) +{ + containerId_ = containerId; + setBodyParameter("ContainerId", containerId); +} + diff --git a/cloudesl/src/model/CopyCompanyTemplateViewRequest.cc b/cloudesl/src/model/CopyCompanyTemplateViewRequest.cc new file mode 100644 index 000000000..2731f85c3 --- /dev/null +++ b/cloudesl/src/model/CopyCompanyTemplateViewRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::CopyCompanyTemplateViewRequest; + +CopyCompanyTemplateViewRequest::CopyCompanyTemplateViewRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "CopyCompanyTemplateView") +{ + setMethod(HttpRequest::Method::Post); +} + +CopyCompanyTemplateViewRequest::~CopyCompanyTemplateViewRequest() +{} + +std::string CopyCompanyTemplateViewRequest::getExtraParams()const +{ + return extraParams_; +} + +void CopyCompanyTemplateViewRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string CopyCompanyTemplateViewRequest::getTargetName()const +{ + return targetName_; +} + +void CopyCompanyTemplateViewRequest::setTargetName(const std::string& targetName) +{ + targetName_ = targetName; + setBodyParameter("TargetName", targetName); +} + +std::string CopyCompanyTemplateViewRequest::getModelId()const +{ + return modelId_; +} + +void CopyCompanyTemplateViewRequest::setModelId(const std::string& modelId) +{ + modelId_ = modelId; + setBodyParameter("ModelId", modelId); +} + +std::string CopyCompanyTemplateViewRequest::getTargetVersion()const +{ + return targetVersion_; +} + +void CopyCompanyTemplateViewRequest::setTargetVersion(const std::string& targetVersion) +{ + targetVersion_ = targetVersion; + setBodyParameter("TargetVersion", targetVersion); +} + +std::string CopyCompanyTemplateViewRequest::getTemplateId()const +{ + return templateId_; +} + +void CopyCompanyTemplateViewRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setBodyParameter("TemplateId", templateId); +} + +long CopyCompanyTemplateViewRequest::getTargetGroupId()const +{ + return targetGroupId_; +} + +void CopyCompanyTemplateViewRequest::setTargetGroupId(long targetGroupId) +{ + targetGroupId_ = targetGroupId; + setBodyParameter("TargetGroupId", std::to_string(targetGroupId)); +} + diff --git a/cloudesl/src/model/CopyCompanyTemplateViewResult.cc b/cloudesl/src/model/CopyCompanyTemplateViewResult.cc new file mode 100644 index 000000000..df8654fff --- /dev/null +++ b/cloudesl/src/model/CopyCompanyTemplateViewResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +CopyCompanyTemplateViewResult::CopyCompanyTemplateViewResult() : + ServiceResult() +{} + +CopyCompanyTemplateViewResult::CopyCompanyTemplateViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyCompanyTemplateViewResult::~CopyCompanyTemplateViewResult() +{} + +void CopyCompanyTemplateViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + +} + +std::string CopyCompanyTemplateViewResult::getMessage()const +{ + return message_; +} + +std::string CopyCompanyTemplateViewResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string CopyCompanyTemplateViewResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CopyCompanyTemplateViewResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string CopyCompanyTemplateViewResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CopyCompanyTemplateViewResult::getCode()const +{ + return code_; +} + +bool CopyCompanyTemplateViewResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/CopyLayoutRequest.cc b/cloudesl/src/model/CopyLayoutRequest.cc new file mode 100644 index 000000000..35cb189e0 --- /dev/null +++ b/cloudesl/src/model/CopyLayoutRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::CopyLayoutRequest; + +CopyLayoutRequest::CopyLayoutRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "CopyLayout") +{ + setMethod(HttpRequest::Method::Post); +} + +CopyLayoutRequest::~CopyLayoutRequest() +{} + +long CopyLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void CopyLayoutRequest::setLayoutId(long layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", std::to_string(layoutId)); +} + +std::string CopyLayoutRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void CopyLayoutRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string CopyLayoutRequest::getEslModelId()const +{ + return eslModelId_; +} + +void CopyLayoutRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + diff --git a/cloudesl/src/model/CopyLayoutResult.cc b/cloudesl/src/model/CopyLayoutResult.cc new file mode 100644 index 000000000..c9af485b7 --- /dev/null +++ b/cloudesl/src/model/CopyLayoutResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +CopyLayoutResult::CopyLayoutResult() : + ServiceResult() +{} + +CopyLayoutResult::CopyLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyLayoutResult::~CopyLayoutResult() +{} + +void CopyLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string CopyLayoutResult::getMessage()const +{ + return message_; +} + +std::string CopyLayoutResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string CopyLayoutResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CopyLayoutResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string CopyLayoutResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CopyLayoutResult::getCode()const +{ + return code_; +} + +bool CopyLayoutResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/CopyTemplateGroupRequest.cc b/cloudesl/src/model/CopyTemplateGroupRequest.cc new file mode 100644 index 000000000..0f152c978 --- /dev/null +++ b/cloudesl/src/model/CopyTemplateGroupRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::CopyTemplateGroupRequest; + +CopyTemplateGroupRequest::CopyTemplateGroupRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "CopyTemplateGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +CopyTemplateGroupRequest::~CopyTemplateGroupRequest() +{} + +std::string CopyTemplateGroupRequest::getGroupId()const +{ + return groupId_; +} + +void CopyTemplateGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +std::string CopyTemplateGroupRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void CopyTemplateGroupRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string CopyTemplateGroupRequest::getEslModelId()const +{ + return eslModelId_; +} + +void CopyTemplateGroupRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + diff --git a/cloudesl/src/model/CopyTemplateGroupResult.cc b/cloudesl/src/model/CopyTemplateGroupResult.cc new file mode 100644 index 000000000..7c9af2940 --- /dev/null +++ b/cloudesl/src/model/CopyTemplateGroupResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +CopyTemplateGroupResult::CopyTemplateGroupResult() : + ServiceResult() +{} + +CopyTemplateGroupResult::CopyTemplateGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyTemplateGroupResult::~CopyTemplateGroupResult() +{} + +void CopyTemplateGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string CopyTemplateGroupResult::getMessage()const +{ + return message_; +} + +std::string CopyTemplateGroupResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string CopyTemplateGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CopyTemplateGroupResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string CopyTemplateGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CopyTemplateGroupResult::getCode()const +{ + return code_; +} + +bool CopyTemplateGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeleteLayoutRequest.cc b/cloudesl/src/model/DeleteLayoutRequest.cc new file mode 100644 index 000000000..2c018396f --- /dev/null +++ b/cloudesl/src/model/DeleteLayoutRequest.cc @@ -0,0 +1,40 @@ +/* + * 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::Cloudesl::Model::DeleteLayoutRequest; + +DeleteLayoutRequest::DeleteLayoutRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DeleteLayout") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteLayoutRequest::~DeleteLayoutRequest() +{} + +std::string DeleteLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void DeleteLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", layoutId); +} + diff --git a/cloudesl/src/model/DeleteLayoutResult.cc b/cloudesl/src/model/DeleteLayoutResult.cc new file mode 100644 index 000000000..caae38143 --- /dev/null +++ b/cloudesl/src/model/DeleteLayoutResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteLayoutResult::DeleteLayoutResult() : + ServiceResult() +{} + +DeleteLayoutResult::DeleteLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLayoutResult::~DeleteLayoutResult() +{} + +void DeleteLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string DeleteLayoutResult::getMessage()const +{ + return message_; +} + +std::string DeleteLayoutResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DeleteLayoutResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteLayoutResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DeleteLayoutResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteLayoutResult::getCode()const +{ + return code_; +} + +bool DeleteLayoutResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeleteTemplateGroupRequest.cc b/cloudesl/src/model/DeleteTemplateGroupRequest.cc new file mode 100644 index 000000000..70a712d46 --- /dev/null +++ b/cloudesl/src/model/DeleteTemplateGroupRequest.cc @@ -0,0 +1,40 @@ +/* + * 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::Cloudesl::Model::DeleteTemplateGroupRequest; + +DeleteTemplateGroupRequest::DeleteTemplateGroupRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DeleteTemplateGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteTemplateGroupRequest::~DeleteTemplateGroupRequest() +{} + +std::string DeleteTemplateGroupRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteTemplateGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + diff --git a/cloudesl/src/model/DeleteTemplateGroupResult.cc b/cloudesl/src/model/DeleteTemplateGroupResult.cc new file mode 100644 index 000000000..90683ad51 --- /dev/null +++ b/cloudesl/src/model/DeleteTemplateGroupResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteTemplateGroupResult::DeleteTemplateGroupResult() : + ServiceResult() +{} + +DeleteTemplateGroupResult::DeleteTemplateGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTemplateGroupResult::~DeleteTemplateGroupResult() +{} + +void DeleteTemplateGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string DeleteTemplateGroupResult::getMessage()const +{ + return message_; +} + +std::string DeleteTemplateGroupResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DeleteTemplateGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteTemplateGroupResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DeleteTemplateGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteTemplateGroupResult::getCode()const +{ + return code_; +} + +bool DeleteTemplateGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeBindersResult.cc b/cloudesl/src/model/DescribeBindersResult.cc index e6a662a71..ee19e9974 100644 --- a/cloudesl/src/model/DescribeBindersResult.cc +++ b/cloudesl/src/model/DescribeBindersResult.cc @@ -43,72 +43,74 @@ void DescribeBindersResult::parse(const std::string &payload) for (auto valueEslItemBindInfosEslItemBindInfo : allEslItemBindInfosNode) { EslItemBindInfo eslItemBindInfosObject; - if(!valueEslItemBindInfosEslItemBindInfo["PromotionText"].isNull()) - eslItemBindInfosObject.promotionText = valueEslItemBindInfosEslItemBindInfo["PromotionText"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["BindId"].isNull()) - eslItemBindInfosObject.bindId = valueEslItemBindInfosEslItemBindInfo["BindId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["StoreId"].isNull()) - eslItemBindInfosObject.storeId = valueEslItemBindInfosEslItemBindInfo["StoreId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["TemplateId"].isNull()) - eslItemBindInfosObject.templateId = valueEslItemBindInfosEslItemBindInfo["TemplateId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslPic"].isNull()) - eslItemBindInfosObject.eslPic = valueEslItemBindInfosEslItemBindInfo["EslPic"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslStatus"].isNull()) - eslItemBindInfosObject.eslStatus = valueEslItemBindInfosEslItemBindInfo["EslStatus"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemTitle"].isNull()) - eslItemBindInfosObject.itemTitle = valueEslItemBindInfosEslItemBindInfo["ItemTitle"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].isNull()) - eslItemBindInfosObject.originalPrice = valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].isNull()) - eslItemBindInfosObject.templateSceneId = valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["GmtModified"].isNull()) - eslItemBindInfosObject.gmtModified = valueEslItemBindInfosEslItemBindInfo["GmtModified"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ActionPrice"].isNull()) - eslItemBindInfosObject.actionPrice = valueEslItemBindInfosEslItemBindInfo["ActionPrice"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["PriceUnit"].isNull()) - eslItemBindInfosObject.priceUnit = valueEslItemBindInfosEslItemBindInfo["PriceUnit"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].isNull()) - eslItemBindInfosObject.eslConnectAp = valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["SkuId"].isNull()) - eslItemBindInfosObject.skuId = valueEslItemBindInfosEslItemBindInfo["SkuId"].asString(); if(!valueEslItemBindInfosEslItemBindInfo["EslBarCode"].isNull()) eslItemBindInfosObject.eslBarCode = valueEslItemBindInfosEslItemBindInfo["EslBarCode"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].isNull()) - eslItemBindInfosObject.itemShortTitle = valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["BePromotion"].isNull()) - eslItemBindInfosObject.bePromotion = valueEslItemBindInfosEslItemBindInfo["BePromotion"].asString() == "true"; - if(!valueEslItemBindInfosEslItemBindInfo["EslModel"].isNull()) - eslItemBindInfosObject.eslModel = valueEslItemBindInfosEslItemBindInfo["EslModel"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].isNull()) - eslItemBindInfosObject.itemBarCode = valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemId"].isNull()) - eslItemBindInfosObject.itemId = valueEslItemBindInfosEslItemBindInfo["ItemId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].isNull()) + eslItemBindInfosObject.templateSceneId = valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ActionPrice"].isNull()) + eslItemBindInfosObject.actionPrice = valueEslItemBindInfosEslItemBindInfo["ActionPrice"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ItemTitle"].isNull()) + eslItemBindInfosObject.itemTitle = valueEslItemBindInfosEslItemBindInfo["ItemTitle"].asString(); if(!valueEslItemBindInfosEslItemBindInfo["PromotionStart"].isNull()) eslItemBindInfosObject.promotionStart = valueEslItemBindInfosEslItemBindInfo["PromotionStart"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["PriceUnit"].isNull()) + eslItemBindInfosObject.priceUnit = valueEslItemBindInfosEslItemBindInfo["PriceUnit"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].isNull()) + eslItemBindInfosObject.originalPrice = valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ItemId"].isNull()) + eslItemBindInfosObject.itemId = valueEslItemBindInfosEslItemBindInfo["ItemId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["GmtModified"].isNull()) + eslItemBindInfosObject.gmtModified = valueEslItemBindInfosEslItemBindInfo["GmtModified"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["EslPic"].isNull()) + eslItemBindInfosObject.eslPic = valueEslItemBindInfosEslItemBindInfo["EslPic"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["StoreId"].isNull()) + eslItemBindInfosObject.storeId = valueEslItemBindInfosEslItemBindInfo["StoreId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].isNull()) + eslItemBindInfosObject.itemShortTitle = valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["BindId"].isNull()) + eslItemBindInfosObject.bindId = valueEslItemBindInfosEslItemBindInfo["BindId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["PromotionText"].isNull()) + eslItemBindInfosObject.promotionText = valueEslItemBindInfosEslItemBindInfo["PromotionText"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["EslModel"].isNull()) + eslItemBindInfosObject.eslModel = valueEslItemBindInfosEslItemBindInfo["EslModel"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["BePromotion"].isNull()) + eslItemBindInfosObject.bePromotion = valueEslItemBindInfosEslItemBindInfo["BePromotion"].asString() == "true"; + if(!valueEslItemBindInfosEslItemBindInfo["SkuId"].isNull()) + eslItemBindInfosObject.skuId = valueEslItemBindInfosEslItemBindInfo["SkuId"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].isNull()) + eslItemBindInfosObject.eslConnectAp = valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["EslStatus"].isNull()) + eslItemBindInfosObject.eslStatus = valueEslItemBindInfosEslItemBindInfo["EslStatus"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["TemplateId"].isNull()) + eslItemBindInfosObject.templateId = valueEslItemBindInfosEslItemBindInfo["TemplateId"].asString(); if(!valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].isNull()) eslItemBindInfosObject.promotionEnd = valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].isNull()) + eslItemBindInfosObject.itemBarCode = valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].asString(); + if(!valueEslItemBindInfosEslItemBindInfo["ContainerName"].isNull()) + eslItemBindInfosObject.containerName = valueEslItemBindInfosEslItemBindInfo["ContainerName"].asString(); eslItemBindInfos_.push_back(eslItemBindInfosObject); } if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); if(!value["DynamicMessage"].isNull()) dynamicMessage_ = value["DynamicMessage"].asString(); if(!value["PageNumber"].isNull()) pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); } diff --git a/cloudesl/src/model/DescribeEslDevicesResult.cc b/cloudesl/src/model/DescribeEslDevicesResult.cc index ebc6b460c..50d198d6b 100644 --- a/cloudesl/src/model/DescribeEslDevicesResult.cc +++ b/cloudesl/src/model/DescribeEslDevicesResult.cc @@ -67,6 +67,10 @@ void DescribeEslDevicesResult::parse(const std::string &payload) eslDevicesObject.mac = valueEslDevicesEslDeviceInfo["Mac"].asString(); if(!valueEslDevicesEslDeviceInfo["TypeEncode"].isNull()) eslDevicesObject.typeEncode = valueEslDevicesEslDeviceInfo["TypeEncode"].asString(); + if(!valueEslDevicesEslDeviceInfo["LayoutId"].isNull()) + eslDevicesObject.layoutId = valueEslDevicesEslDeviceInfo["LayoutId"].asString(); + if(!valueEslDevicesEslDeviceInfo["LayoutName"].isNull()) + eslDevicesObject.layoutName = valueEslDevicesEslDeviceInfo["LayoutName"].asString(); eslDevices_.push_back(eslDevicesObject); } if(!value["ErrorMessage"].isNull()) diff --git a/cloudesl/src/model/DescribeItemsResult.cc b/cloudesl/src/model/DescribeItemsResult.cc index 67d32fad9..db20ffbef 100644 --- a/cloudesl/src/model/DescribeItemsResult.cc +++ b/cloudesl/src/model/DescribeItemsResult.cc @@ -173,6 +173,8 @@ void DescribeItemsResult::parse(const std::string &payload) itemsObject.promotionEnd = valueItemsItemInfo["PromotionEnd"].asString(); if(!valueItemsItemInfo["ItemBarCode"].isNull()) itemsObject.itemBarCode = valueItemsItemInfo["ItemBarCode"].asString(); + if(!valueItemsItemInfo["BeClearance"].isNull()) + itemsObject.beClearance = valueItemsItemInfo["BeClearance"].asString() == "true"; items_.push_back(itemsObject); } if(!value["TemplateSceneId"].isNull()) diff --git a/cloudesl/src/model/DescribeTemplateByModelResult.cc b/cloudesl/src/model/DescribeTemplateByModelResult.cc index baa0ce3bf..8bf4f265c 100644 --- a/cloudesl/src/model/DescribeTemplateByModelResult.cc +++ b/cloudesl/src/model/DescribeTemplateByModelResult.cc @@ -65,6 +65,8 @@ void DescribeTemplateByModelResult::parse(const std::string &payload) itemsObject.scene = valueItemsSelectItemInfo["Scene"].asString(); if(!valueItemsSelectItemInfo["Brand"].isNull()) itemsObject.brand = valueItemsSelectItemInfo["Brand"].asString(); + if(!valueItemsSelectItemInfo["TemplateSceneId"].isNull()) + itemsObject.templateSceneId = valueItemsSelectItemInfo["TemplateSceneId"].asString(); items_.push_back(itemsObject); } if(!value["ErrorMessage"].isNull()) diff --git a/cloudesl/src/model/GetAddMaterialStatusRequest.cc b/cloudesl/src/model/GetAddMaterialStatusRequest.cc new file mode 100644 index 000000000..b6faebfd5 --- /dev/null +++ b/cloudesl/src/model/GetAddMaterialStatusRequest.cc @@ -0,0 +1,29 @@ +/* + * 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::Cloudesl::Model::GetAddMaterialStatusRequest; + +GetAddMaterialStatusRequest::GetAddMaterialStatusRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetAddMaterialStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +GetAddMaterialStatusRequest::~GetAddMaterialStatusRequest() +{} + diff --git a/cloudesl/src/model/GetAddMaterialStatusResult.cc b/cloudesl/src/model/GetAddMaterialStatusResult.cc new file mode 100644 index 000000000..fc639fefe --- /dev/null +++ b/cloudesl/src/model/GetAddMaterialStatusResult.cc @@ -0,0 +1,44 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +GetAddMaterialStatusResult::GetAddMaterialStatusResult() : + ServiceResult() +{} + +GetAddMaterialStatusResult::GetAddMaterialStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetAddMaterialStatusResult::~GetAddMaterialStatusResult() +{} + +void GetAddMaterialStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudesl/src/model/GetEslDevicesRequest.cc b/cloudesl/src/model/GetEslDevicesRequest.cc new file mode 100644 index 000000000..00d60a300 --- /dev/null +++ b/cloudesl/src/model/GetEslDevicesRequest.cc @@ -0,0 +1,51 @@ +/* + * 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::Cloudesl::Model::GetEslDevicesRequest; + +GetEslDevicesRequest::GetEslDevicesRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetEslDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +GetEslDevicesRequest::~GetEslDevicesRequest() +{} + +std::string GetEslDevicesRequest::getStoreId()const +{ + return storeId_; +} + +void GetEslDevicesRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setBodyParameter("StoreId", storeId); +} + +std::string GetEslDevicesRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void GetEslDevicesRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setBodyParameter("EslBarCode", eslBarCode); +} + diff --git a/cloudesl/src/model/GetEslDevicesResult.cc b/cloudesl/src/model/GetEslDevicesResult.cc new file mode 100644 index 000000000..1560d91f2 --- /dev/null +++ b/cloudesl/src/model/GetEslDevicesResult.cc @@ -0,0 +1,107 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +GetEslDevicesResult::GetEslDevicesResult() : + ServiceResult() +{} + +GetEslDevicesResult::GetEslDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetEslDevicesResult::~GetEslDevicesResult() +{} + +void GetEslDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["EslBarCode"].isNull()) + eslBarCode_ = value["EslBarCode"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + +} + +std::string GetEslDevicesResult::getEslBarCode()const +{ + return eslBarCode_; +} + +std::string GetEslDevicesResult::getType()const +{ + return type_; +} + +std::string GetEslDevicesResult::getMessage()const +{ + return message_; +} + +std::string GetEslDevicesResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string GetEslDevicesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetEslDevicesResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string GetEslDevicesResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetEslDevicesResult::getCode()const +{ + return code_; +} + +bool GetEslDevicesResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/QueryContainerListRequest.cc b/cloudesl/src/model/QueryContainerListRequest.cc new file mode 100644 index 000000000..de5f48d37 --- /dev/null +++ b/cloudesl/src/model/QueryContainerListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::QueryContainerListRequest; + +QueryContainerListRequest::QueryContainerListRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "QueryContainerList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryContainerListRequest::~QueryContainerListRequest() +{} + +std::string QueryContainerListRequest::getLayoutId()const +{ + return layoutId_; +} + +void QueryContainerListRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", layoutId); +} + +int QueryContainerListRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryContainerListRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +int QueryContainerListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryContainerListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/QueryContainerListResult.cc b/cloudesl/src/model/QueryContainerListResult.cc new file mode 100644 index 000000000..dace67dbd --- /dev/null +++ b/cloudesl/src/model/QueryContainerListResult.cc @@ -0,0 +1,147 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +QueryContainerListResult::QueryContainerListResult() : + ServiceResult() +{} + +QueryContainerListResult::QueryContainerListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryContainerListResult::~QueryContainerListResult() +{} + +void QueryContainerListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContainerListNode = value["ContainerList"]["Container"]; + for (auto valueContainerListContainer : allContainerListNode) + { + Container containerListObject; + if(!valueContainerListContainer["ContainerId"].isNull()) + containerListObject.containerId = valueContainerListContainer["ContainerId"].asString(); + if(!valueContainerListContainer["ContainerName"].isNull()) + containerListObject.containerName = valueContainerListContainer["ContainerName"].asString(); + if(!valueContainerListContainer["Description"].isNull()) + containerListObject.description = valueContainerListContainer["Description"].asString(); + if(!valueContainerListContainer["TopPx"].isNull()) + containerListObject.topPx = std::stoi(valueContainerListContainer["TopPx"].asString()); + if(!valueContainerListContainer["LeftPx"].isNull()) + containerListObject.leftPx = std::stoi(valueContainerListContainer["LeftPx"].asString()); + if(!valueContainerListContainer["WidthPx"].isNull()) + containerListObject.widthPx = std::stoi(valueContainerListContainer["WidthPx"].asString()); + if(!valueContainerListContainer["HeightPx"].isNull()) + containerListObject.heightPx = std::stoi(valueContainerListContainer["HeightPx"].asString()); + if(!valueContainerListContainer["GroupId"].isNull()) + containerListObject.groupId = valueContainerListContainer["GroupId"].asString(); + if(!valueContainerListContainer["GroupName"].isNull()) + containerListObject.groupName = valueContainerListContainer["GroupName"].asString(); + if(!valueContainerListContainer["DemoTemplateId"].isNull()) + containerListObject.demoTemplateId = valueContainerListContainer["DemoTemplateId"].asString(); + if(!valueContainerListContainer["DemoTemplateName"].isNull()) + containerListObject.demoTemplateName = valueContainerListContainer["DemoTemplateName"].asString(); + containerList_.push_back(containerListObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int QueryContainerListResult::getTotalCount()const +{ + return totalCount_; +} + +std::string QueryContainerListResult::getMessage()const +{ + return message_; +} + +int QueryContainerListResult::getPageSize()const +{ + return pageSize_; +} + +int QueryContainerListResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector QueryContainerListResult::getContainerList()const +{ + return containerList_; +} + +std::string QueryContainerListResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string QueryContainerListResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryContainerListResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string QueryContainerListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QueryContainerListResult::getCode()const +{ + return code_; +} + +bool QueryContainerListResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/QueryLayoutByDeviceRequest.cc b/cloudesl/src/model/QueryLayoutByDeviceRequest.cc new file mode 100644 index 000000000..51d1b36bf --- /dev/null +++ b/cloudesl/src/model/QueryLayoutByDeviceRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::QueryLayoutByDeviceRequest; + +QueryLayoutByDeviceRequest::QueryLayoutByDeviceRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "QueryLayoutByDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryLayoutByDeviceRequest::~QueryLayoutByDeviceRequest() +{} + +std::string QueryLayoutByDeviceRequest::getStoreId()const +{ + return storeId_; +} + +void QueryLayoutByDeviceRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setBodyParameter("StoreId", storeId); +} + +int QueryLayoutByDeviceRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryLayoutByDeviceRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string QueryLayoutByDeviceRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void QueryLayoutByDeviceRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string QueryLayoutByDeviceRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void QueryLayoutByDeviceRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setBodyParameter("EslBarCode", eslBarCode); +} + +int QueryLayoutByDeviceRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryLayoutByDeviceRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryLayoutByDeviceRequest::getEslModelId()const +{ + return eslModelId_; +} + +void QueryLayoutByDeviceRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + diff --git a/cloudesl/src/model/QueryLayoutByDeviceResult.cc b/cloudesl/src/model/QueryLayoutByDeviceResult.cc new file mode 100644 index 000000000..24cccbc25 --- /dev/null +++ b/cloudesl/src/model/QueryLayoutByDeviceResult.cc @@ -0,0 +1,139 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +QueryLayoutByDeviceResult::QueryLayoutByDeviceResult() : + ServiceResult() +{} + +QueryLayoutByDeviceResult::QueryLayoutByDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryLayoutByDeviceResult::~QueryLayoutByDeviceResult() +{} + +void QueryLayoutByDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLayoutListNode = value["LayoutList"]["Layout"]; + for (auto valueLayoutListLayout : allLayoutListNode) + { + Layout layoutListObject; + if(!valueLayoutListLayout["LayoutId"].isNull()) + layoutListObject.layoutId = valueLayoutListLayout["LayoutId"].asString(); + if(!valueLayoutListLayout["LayoutName"].isNull()) + layoutListObject.layoutName = valueLayoutListLayout["LayoutName"].asString(); + if(!valueLayoutListLayout["Description"].isNull()) + layoutListObject.description = valueLayoutListLayout["Description"].asString(); + if(!valueLayoutListLayout["LayoutTemplateId"].isNull()) + layoutListObject.layoutTemplateId = valueLayoutListLayout["LayoutTemplateId"].asString(); + if(!valueLayoutListLayout["IsBind"].isNull()) + layoutListObject.isBind = valueLayoutListLayout["IsBind"].asString() == "true"; + if(!valueLayoutListLayout["Brand"].isNull()) + layoutListObject.brand = valueLayoutListLayout["Brand"].asString(); + if(!valueLayoutListLayout["BasePic"].isNull()) + layoutListObject.basePic = valueLayoutListLayout["BasePic"].asString(); + layoutList_.push_back(layoutListObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int QueryLayoutByDeviceResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector QueryLayoutByDeviceResult::getLayoutList()const +{ + return layoutList_; +} + +std::string QueryLayoutByDeviceResult::getMessage()const +{ + return message_; +} + +int QueryLayoutByDeviceResult::getPageSize()const +{ + return pageSize_; +} + +int QueryLayoutByDeviceResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string QueryLayoutByDeviceResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string QueryLayoutByDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryLayoutByDeviceResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string QueryLayoutByDeviceResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QueryLayoutByDeviceResult::getCode()const +{ + return code_; +} + +bool QueryLayoutByDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/QueryLayoutDetailRequest.cc b/cloudesl/src/model/QueryLayoutDetailRequest.cc new file mode 100644 index 000000000..5168d0362 --- /dev/null +++ b/cloudesl/src/model/QueryLayoutDetailRequest.cc @@ -0,0 +1,40 @@ +/* + * 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::Cloudesl::Model::QueryLayoutDetailRequest; + +QueryLayoutDetailRequest::QueryLayoutDetailRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "QueryLayoutDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryLayoutDetailRequest::~QueryLayoutDetailRequest() +{} + +long QueryLayoutDetailRequest::getLayoutId()const +{ + return layoutId_; +} + +void QueryLayoutDetailRequest::setLayoutId(long layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", std::to_string(layoutId)); +} + diff --git a/cloudesl/src/model/QueryLayoutDetailResult.cc b/cloudesl/src/model/QueryLayoutDetailResult.cc new file mode 100644 index 000000000..3fdd6b343 --- /dev/null +++ b/cloudesl/src/model/QueryLayoutDetailResult.cc @@ -0,0 +1,142 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +QueryLayoutDetailResult::QueryLayoutDetailResult() : + ServiceResult() +{} + +QueryLayoutDetailResult::QueryLayoutDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryLayoutDetailResult::~QueryLayoutDetailResult() +{} + +void QueryLayoutDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["LayoutId"].isNull()) + layoutId_ = std::stol(value["LayoutId"].asString()); + if(!value["LayoutName"].isNull()) + layoutName_ = value["LayoutName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["LayoutTemplateId"].isNull()) + layoutTemplateId_ = std::stol(value["LayoutTemplateId"].asString()); + if(!value["EslModelId"].isNull()) + eslModelId_ = value["EslModelId"].asString(); + if(!value["TemplateVersion"].isNull()) + templateVersion_ = value["TemplateVersion"].asString(); + if(!value["BrandId"].isNull()) + brandId_ = value["BrandId"].asString(); + +} + +std::string QueryLayoutDetailResult::getDescription()const +{ + return description_; +} + +std::string QueryLayoutDetailResult::getMessage()const +{ + return message_; +} + +std::string QueryLayoutDetailResult::getEslModelId()const +{ + return eslModelId_; +} + +long QueryLayoutDetailResult::getLayoutId()const +{ + return layoutId_; +} + +std::string QueryLayoutDetailResult::getTemplateVersion()const +{ + return templateVersion_; +} + +std::string QueryLayoutDetailResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string QueryLayoutDetailResult::getBrandId()const +{ + return brandId_; +} + +std::string QueryLayoutDetailResult::getCode()const +{ + return code_; +} + +long QueryLayoutDetailResult::getLayoutTemplateId()const +{ + return layoutTemplateId_; +} + +bool QueryLayoutDetailResult::getSuccess()const +{ + return success_; +} + +std::string QueryLayoutDetailResult::getLayoutName()const +{ + return layoutName_; +} + +std::string QueryLayoutDetailResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string QueryLayoutDetailResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryLayoutDetailResult::getErrorMessage()const +{ + return errorMessage_; +} + diff --git a/cloudesl/src/model/QueryTemplateGroupListRequest.cc b/cloudesl/src/model/QueryTemplateGroupListRequest.cc new file mode 100644 index 000000000..73a697092 --- /dev/null +++ b/cloudesl/src/model/QueryTemplateGroupListRequest.cc @@ -0,0 +1,106 @@ +/* + * 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::Cloudesl::Model::QueryTemplateGroupListRequest; + +QueryTemplateGroupListRequest::QueryTemplateGroupListRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "QueryTemplateGroupList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryTemplateGroupListRequest::~QueryTemplateGroupListRequest() +{} + +int QueryTemplateGroupListRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryTemplateGroupListRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string QueryTemplateGroupListRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void QueryTemplateGroupListRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +int QueryTemplateGroupListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTemplateGroupListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryTemplateGroupListRequest::getEslModelId()const +{ + return eslModelId_; +} + +void QueryTemplateGroupListRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + +int QueryTemplateGroupListRequest::getWidthPx()const +{ + return widthPx_; +} + +void QueryTemplateGroupListRequest::setWidthPx(int widthPx) +{ + widthPx_ = widthPx; + setBodyParameter("WidthPx", std::to_string(widthPx)); +} + +std::string QueryTemplateGroupListRequest::getGroupIds()const +{ + return groupIds_; +} + +void QueryTemplateGroupListRequest::setGroupIds(const std::string& groupIds) +{ + groupIds_ = groupIds; + setBodyParameter("GroupIds", groupIds); +} + +int QueryTemplateGroupListRequest::getHeightPx()const +{ + return heightPx_; +} + +void QueryTemplateGroupListRequest::setHeightPx(int heightPx) +{ + heightPx_ = heightPx; + setBodyParameter("HeightPx", std::to_string(heightPx)); +} + diff --git a/cloudesl/src/model/QueryTemplateGroupListResult.cc b/cloudesl/src/model/QueryTemplateGroupListResult.cc new file mode 100644 index 000000000..6c3a6ce34 --- /dev/null +++ b/cloudesl/src/model/QueryTemplateGroupListResult.cc @@ -0,0 +1,137 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +QueryTemplateGroupListResult::QueryTemplateGroupListResult() : + ServiceResult() +{} + +QueryTemplateGroupListResult::QueryTemplateGroupListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTemplateGroupListResult::~QueryTemplateGroupListResult() +{} + +void QueryTemplateGroupListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTemplateGroupListNode = value["TemplateGroupList"]["TemplateGroup"]; + for (auto valueTemplateGroupListTemplateGroup : allTemplateGroupListNode) + { + TemplateGroup templateGroupListObject; + if(!valueTemplateGroupListTemplateGroup["GroupId"].isNull()) + templateGroupListObject.groupId = valueTemplateGroupListTemplateGroup["GroupId"].asString(); + if(!valueTemplateGroupListTemplateGroup["GroupName"].isNull()) + templateGroupListObject.groupName = valueTemplateGroupListTemplateGroup["GroupName"].asString(); + if(!valueTemplateGroupListTemplateGroup["Description"].isNull()) + templateGroupListObject.description = valueTemplateGroupListTemplateGroup["Description"].asString(); + if(!valueTemplateGroupListTemplateGroup["WidthPx"].isNull()) + templateGroupListObject.widthPx = std::stoi(valueTemplateGroupListTemplateGroup["WidthPx"].asString()); + if(!valueTemplateGroupListTemplateGroup["HeightPx"].isNull()) + templateGroupListObject.heightPx = std::stoi(valueTemplateGroupListTemplateGroup["HeightPx"].asString()); + if(!valueTemplateGroupListTemplateGroup["Relation"].isNull()) + templateGroupListObject.relation = valueTemplateGroupListTemplateGroup["Relation"].asString(); + templateGroupList_.push_back(templateGroupListObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int QueryTemplateGroupListResult::getTotalCount()const +{ + return totalCount_; +} + +std::string QueryTemplateGroupListResult::getMessage()const +{ + return message_; +} + +int QueryTemplateGroupListResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTemplateGroupListResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string QueryTemplateGroupListResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::vector QueryTemplateGroupListResult::getTemplateGroupList()const +{ + return templateGroupList_; +} + +std::string QueryTemplateGroupListResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryTemplateGroupListResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string QueryTemplateGroupListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QueryTemplateGroupListResult::getCode()const +{ + return code_; +} + +bool QueryTemplateGroupListResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/QueryTemplateListByGroupIdRequest.cc b/cloudesl/src/model/QueryTemplateListByGroupIdRequest.cc new file mode 100644 index 000000000..0b7cdcf8f --- /dev/null +++ b/cloudesl/src/model/QueryTemplateListByGroupIdRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::QueryTemplateListByGroupIdRequest; + +QueryTemplateListByGroupIdRequest::QueryTemplateListByGroupIdRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "QueryTemplateListByGroupId") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryTemplateListByGroupIdRequest::~QueryTemplateListByGroupIdRequest() +{} + +std::string QueryTemplateListByGroupIdRequest::getGroupId()const +{ + return groupId_; +} + +void QueryTemplateListByGroupIdRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +int QueryTemplateListByGroupIdRequest::getPageNumber()const +{ + return pageNumber_; +} + +void QueryTemplateListByGroupIdRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +int QueryTemplateListByGroupIdRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTemplateListByGroupIdRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/QueryTemplateListByGroupIdResult.cc b/cloudesl/src/model/QueryTemplateListByGroupIdResult.cc new file mode 100644 index 000000000..9d49bee60 --- /dev/null +++ b/cloudesl/src/model/QueryTemplateListByGroupIdResult.cc @@ -0,0 +1,153 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +QueryTemplateListByGroupIdResult::QueryTemplateListByGroupIdResult() : + ServiceResult() +{} + +QueryTemplateListByGroupIdResult::QueryTemplateListByGroupIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTemplateListByGroupIdResult::~QueryTemplateListByGroupIdResult() +{} + +void QueryTemplateListByGroupIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTemplateListNode = value["TemplateList"]["Template"]; + for (auto valueTemplateListTemplate : allTemplateListNode) + { + _Template templateListObject; + if(!valueTemplateListTemplate["BasePicture"].isNull()) + templateListObject.basePicture = valueTemplateListTemplate["BasePicture"].asString(); + if(!valueTemplateListTemplate["TemplateId"].isNull()) + templateListObject.templateId = valueTemplateListTemplate["TemplateId"].asString(); + if(!valueTemplateListTemplate["TemplateName"].isNull()) + templateListObject.templateName = valueTemplateListTemplate["TemplateName"].asString(); + if(!valueTemplateListTemplate["EslSize"].isNull()) + templateListObject.eslSize = valueTemplateListTemplate["EslSize"].asString(); + if(!valueTemplateListTemplate["EslType"].isNull()) + templateListObject.eslType = valueTemplateListTemplate["EslType"].asString(); + if(!valueTemplateListTemplate["Width"].isNull()) + templateListObject.width = std::stol(valueTemplateListTemplate["Width"].asString()); + if(!valueTemplateListTemplate["Height"].isNull()) + templateListObject.height = std::stol(valueTemplateListTemplate["Height"].asString()); + if(!valueTemplateListTemplate["TemplateVersion"].isNull()) + templateListObject.templateVersion = valueTemplateListTemplate["TemplateVersion"].asString(); + if(!valueTemplateListTemplate["Layout"].isNull()) + templateListObject.layout = valueTemplateListTemplate["Layout"].asString(); + if(!valueTemplateListTemplate["Scene"].isNull()) + templateListObject.scene = valueTemplateListTemplate["Scene"].asString(); + if(!valueTemplateListTemplate["Brand"].isNull()) + templateListObject.brand = valueTemplateListTemplate["Brand"].asString(); + if(!valueTemplateListTemplate["GroupId"].isNull()) + templateListObject.groupId = valueTemplateListTemplate["GroupId"].asString(); + if(!valueTemplateListTemplate["TemplateSceneId"].isNull()) + templateListObject.templateSceneId = valueTemplateListTemplate["TemplateSceneId"].asString(); + if(!valueTemplateListTemplate["Relation"].isNull()) + templateListObject.relation = valueTemplateListTemplate["Relation"].asString() == "true"; + templateList_.push_back(templateListObject); + } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int QueryTemplateListByGroupIdResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector QueryTemplateListByGroupIdResult::getTemplateList()const +{ + return templateList_; +} + +std::string QueryTemplateListByGroupIdResult::getMessage()const +{ + return message_; +} + +int QueryTemplateListByGroupIdResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTemplateListByGroupIdResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string QueryTemplateListByGroupIdResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string QueryTemplateListByGroupIdResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryTemplateListByGroupIdResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string QueryTemplateListByGroupIdResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QueryTemplateListByGroupIdResult::getCode()const +{ + return code_; +} + +bool QueryTemplateListByGroupIdResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/SaveLayoutRequest.cc b/cloudesl/src/model/SaveLayoutRequest.cc new file mode 100644 index 000000000..83c47aa0d --- /dev/null +++ b/cloudesl/src/model/SaveLayoutRequest.cc @@ -0,0 +1,73 @@ +/* + * 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::Cloudesl::Model::SaveLayoutRequest; + +SaveLayoutRequest::SaveLayoutRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "SaveLayout") +{ + setMethod(HttpRequest::Method::Post); +} + +SaveLayoutRequest::~SaveLayoutRequest() +{} + +std::string SaveLayoutRequest::getLayoutId()const +{ + return layoutId_; +} + +void SaveLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setBodyParameter("LayoutId", layoutId); +} + +std::string SaveLayoutRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void SaveLayoutRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string SaveLayoutRequest::getLayoutName()const +{ + return layoutName_; +} + +void SaveLayoutRequest::setLayoutName(const std::string& layoutName) +{ + layoutName_ = layoutName; + setBodyParameter("LayoutName", layoutName); +} + +std::string SaveLayoutRequest::getEslModelId()const +{ + return eslModelId_; +} + +void SaveLayoutRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + diff --git a/cloudesl/src/model/SaveLayoutResult.cc b/cloudesl/src/model/SaveLayoutResult.cc new file mode 100644 index 000000000..9702f2012 --- /dev/null +++ b/cloudesl/src/model/SaveLayoutResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +SaveLayoutResult::SaveLayoutResult() : + ServiceResult() +{} + +SaveLayoutResult::SaveLayoutResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveLayoutResult::~SaveLayoutResult() +{} + +void SaveLayoutResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string SaveLayoutResult::getMessage()const +{ + return message_; +} + +std::string SaveLayoutResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string SaveLayoutResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SaveLayoutResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string SaveLayoutResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SaveLayoutResult::getCode()const +{ + return code_; +} + +bool SaveLayoutResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/SaveTemplateGroupRequest.cc b/cloudesl/src/model/SaveTemplateGroupRequest.cc new file mode 100644 index 000000000..d879d12ef --- /dev/null +++ b/cloudesl/src/model/SaveTemplateGroupRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::SaveTemplateGroupRequest; + +SaveTemplateGroupRequest::SaveTemplateGroupRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "SaveTemplateGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +SaveTemplateGroupRequest::~SaveTemplateGroupRequest() +{} + +std::string SaveTemplateGroupRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void SaveTemplateGroupRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string SaveTemplateGroupRequest::getEslModelId()const +{ + return eslModelId_; +} + +void SaveTemplateGroupRequest::setEslModelId(const std::string& eslModelId) +{ + eslModelId_ = eslModelId; + setBodyParameter("EslModelId", eslModelId); +} + +std::string SaveTemplateGroupRequest::getGroupId()const +{ + return groupId_; +} + +void SaveTemplateGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +int SaveTemplateGroupRequest::getWidthPx()const +{ + return widthPx_; +} + +void SaveTemplateGroupRequest::setWidthPx(int widthPx) +{ + widthPx_ = widthPx; + setBodyParameter("WidthPx", std::to_string(widthPx)); +} + +std::string SaveTemplateGroupRequest::getGroupName()const +{ + return groupName_; +} + +void SaveTemplateGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setBodyParameter("GroupName", groupName); +} + +int SaveTemplateGroupRequest::getHeightPx()const +{ + return heightPx_; +} + +void SaveTemplateGroupRequest::setHeightPx(int heightPx) +{ + heightPx_ = heightPx; + setBodyParameter("HeightPx", std::to_string(heightPx)); +} + diff --git a/cloudesl/src/model/SaveTemplateGroupResult.cc b/cloudesl/src/model/SaveTemplateGroupResult.cc new file mode 100644 index 000000000..6a279d018 --- /dev/null +++ b/cloudesl/src/model/SaveTemplateGroupResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +SaveTemplateGroupResult::SaveTemplateGroupResult() : + ServiceResult() +{} + +SaveTemplateGroupResult::SaveTemplateGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveTemplateGroupResult::~SaveTemplateGroupResult() +{} + +void SaveTemplateGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + +} + +std::string SaveTemplateGroupResult::getMessage()const +{ + return message_; +} + +std::string SaveTemplateGroupResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string SaveTemplateGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SaveTemplateGroupResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string SaveTemplateGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SaveTemplateGroupResult::getCode()const +{ + return code_; +} + +bool SaveTemplateGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UnbindEslDeviceRequest.cc b/cloudesl/src/model/UnbindEslDeviceRequest.cc index ae9a4e1e5..c80c1cbba 100644 --- a/cloudesl/src/model/UnbindEslDeviceRequest.cc +++ b/cloudesl/src/model/UnbindEslDeviceRequest.cc @@ -38,6 +38,17 @@ void UnbindEslDeviceRequest::setExtraParams(const std::string& extraParams) setBodyParameter("ExtraParams", extraParams); } +std::string UnbindEslDeviceRequest::getContainerName()const +{ + return containerName_; +} + +void UnbindEslDeviceRequest::setContainerName(const std::string& containerName) +{ + containerName_ = containerName; + setBodyParameter("ContainerName", containerName); +} + std::string UnbindEslDeviceRequest::getStoreId()const { return storeId_; diff --git a/cloudesl/src/model/UnbindEslDeviceResult.cc b/cloudesl/src/model/UnbindEslDeviceResult.cc index b9b341310..038897b00 100644 --- a/cloudesl/src/model/UnbindEslDeviceResult.cc +++ b/cloudesl/src/model/UnbindEslDeviceResult.cc @@ -41,18 +41,18 @@ void UnbindEslDeviceResult::parse(const std::string &payload) setRequestId(value["RequestId"].asString()); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); } diff --git a/cloudesl/src/model/UpdateCompanyTemplateRequest.cc b/cloudesl/src/model/UpdateCompanyTemplateRequest.cc new file mode 100644 index 000000000..30703258e --- /dev/null +++ b/cloudesl/src/model/UpdateCompanyTemplateRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::UpdateCompanyTemplateRequest; + +UpdateCompanyTemplateRequest::UpdateCompanyTemplateRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "UpdateCompanyTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateCompanyTemplateRequest::~UpdateCompanyTemplateRequest() +{} + +std::string UpdateCompanyTemplateRequest::getExtraParams()const +{ + return extraParams_; +} + +void UpdateCompanyTemplateRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string UpdateCompanyTemplateRequest::getScene()const +{ + return scene_; +} + +void UpdateCompanyTemplateRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setBodyParameter("Scene", scene); +} + +std::string UpdateCompanyTemplateRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void UpdateCompanyTemplateRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string UpdateCompanyTemplateRequest::getTemplateName()const +{ + return templateName_; +} + +void UpdateCompanyTemplateRequest::setTemplateName(const std::string& templateName) +{ + templateName_ = templateName; + setBodyParameter("TemplateName", templateName); +} + +std::string UpdateCompanyTemplateRequest::getTemplateSceneId()const +{ + return templateSceneId_; +} + +void UpdateCompanyTemplateRequest::setTemplateSceneId(const std::string& templateSceneId) +{ + templateSceneId_ = templateSceneId; + setBodyParameter("TemplateSceneId", templateSceneId); +} + +std::string UpdateCompanyTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void UpdateCompanyTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setBodyParameter("TemplateId", templateId); +} + diff --git a/cloudesl/src/model/UpdateCompanyTemplateResult.cc b/cloudesl/src/model/UpdateCompanyTemplateResult.cc new file mode 100644 index 000000000..95b47106e --- /dev/null +++ b/cloudesl/src/model/UpdateCompanyTemplateResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +UpdateCompanyTemplateResult::UpdateCompanyTemplateResult() : + ServiceResult() +{} + +UpdateCompanyTemplateResult::UpdateCompanyTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCompanyTemplateResult::~UpdateCompanyTemplateResult() +{} + +void UpdateCompanyTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + +} + +std::string UpdateCompanyTemplateResult::getMessage()const +{ + return message_; +} + +std::string UpdateCompanyTemplateResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string UpdateCompanyTemplateResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateCompanyTemplateResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string UpdateCompanyTemplateResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateCompanyTemplateResult::getCode()const +{ + return code_; +} + +bool UpdateCompanyTemplateResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UpdateCompanyTemplateViewRequest.cc b/cloudesl/src/model/UpdateCompanyTemplateViewRequest.cc new file mode 100644 index 000000000..e9c1166bc --- /dev/null +++ b/cloudesl/src/model/UpdateCompanyTemplateViewRequest.cc @@ -0,0 +1,51 @@ +/* + * 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::Cloudesl::Model::UpdateCompanyTemplateViewRequest; + +UpdateCompanyTemplateViewRequest::UpdateCompanyTemplateViewRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "UpdateCompanyTemplateView") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateCompanyTemplateViewRequest::~UpdateCompanyTemplateViewRequest() +{} + +std::string UpdateCompanyTemplateViewRequest::getExtraParams()const +{ + return extraParams_; +} + +void UpdateCompanyTemplateViewRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string UpdateCompanyTemplateViewRequest::getData()const +{ + return data_; +} + +void UpdateCompanyTemplateViewRequest::setData(const std::string& data) +{ + data_ = data; + setBodyParameter("Data", data); +} + diff --git a/cloudesl/src/model/UpdateCompanyTemplateViewResult.cc b/cloudesl/src/model/UpdateCompanyTemplateViewResult.cc new file mode 100644 index 000000000..23b82ba72 --- /dev/null +++ b/cloudesl/src/model/UpdateCompanyTemplateViewResult.cc @@ -0,0 +1,93 @@ +/* + * 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::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +UpdateCompanyTemplateViewResult::UpdateCompanyTemplateViewResult() : + ServiceResult() +{} + +UpdateCompanyTemplateViewResult::UpdateCompanyTemplateViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCompanyTemplateViewResult::~UpdateCompanyTemplateViewResult() +{} + +void UpdateCompanyTemplateViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["DynamicMessage"].isNull()) + dynamicMessage_ = value["DynamicMessage"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + +} + +std::string UpdateCompanyTemplateViewResult::getMessage()const +{ + return message_; +} + +std::string UpdateCompanyTemplateViewResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string UpdateCompanyTemplateViewResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateCompanyTemplateViewResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string UpdateCompanyTemplateViewResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateCompanyTemplateViewResult::getCode()const +{ + return code_; +} + +bool UpdateCompanyTemplateViewResult::getSuccess()const +{ + return success_; +} +