diff --git a/CHANGELOG b/CHANGELOG index 1472bbbe0..2b0a8e6a9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-05-31 Version: 1.36.1140 +- Add Template API Support. + 2022-05-30 Version: 1.36.1139 - Add Api. diff --git a/VERSION b/VERSION index c6f34d6df..b66e00201 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1139 \ No newline at end of file +1.36.1140 \ No newline at end of file diff --git a/cloudesl/CMakeLists.txt b/cloudesl/CMakeLists.txt index e7de4aaf8..8400924be 100644 --- a/cloudesl/CMakeLists.txt +++ b/cloudesl/CMakeLists.txt @@ -25,58 +25,110 @@ set(cloudesl_public_header_model include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h include/alibabacloud/cloudesl/model/AddApDeviceRequest.h include/alibabacloud/cloudesl/model/AddApDeviceResult.h + include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h + include/alibabacloud/cloudesl/model/AddCompanyTemplateResult.h + include/alibabacloud/cloudesl/model/AddMaterialRequest.h + include/alibabacloud/cloudesl/model/AddMaterialResult.h include/alibabacloud/cloudesl/model/AddUserRequest.h include/alibabacloud/cloudesl/model/AddUserResult.h + include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresRequest.h + include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresResult.h + include/alibabacloud/cloudesl/model/ApplyImageDitheringRequest.h + include/alibabacloud/cloudesl/model/ApplyImageDitheringResult.h include/alibabacloud/cloudesl/model/AssignUserRequest.h include/alibabacloud/cloudesl/model/AssignUserResult.h include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h + include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.h + include/alibabacloud/cloudesl/model/BatchUpdateEventResult.h include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h include/alibabacloud/cloudesl/model/BindEslDeviceResult.h - include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h - include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h + include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.h + include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h include/alibabacloud/cloudesl/model/CreateStoreRequest.h include/alibabacloud/cloudesl/model/CreateStoreResult.h include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h + include/alibabacloud/cloudesl/model/DeleteCompanyTemplateRequest.h + include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h include/alibabacloud/cloudesl/model/DeleteItemRequest.h include/alibabacloud/cloudesl/model/DeleteItemResult.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/DeleteUserRequest.h include/alibabacloud/cloudesl/model/DeleteUserResult.h include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h + include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsRequest.h + include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsResult.h include/alibabacloud/cloudesl/model/DescribeBindersRequest.h include/alibabacloud/cloudesl/model/DescribeBindersResult.h - include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h - include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h - include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h - include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeRequest.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeResult.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsRequest.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsResult.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewRequest.h + include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewResult.h include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h + include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionRequest.h + include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionResult.h + include/alibabacloud/cloudesl/model/DescribeEventReasonRequest.h + include/alibabacloud/cloudesl/model/DescribeEventReasonResult.h + include/alibabacloud/cloudesl/model/DescribeEventsRequest.h + include/alibabacloud/cloudesl/model/DescribeEventsResult.h + include/alibabacloud/cloudesl/model/DescribeItemMaterialsRequest.h + include/alibabacloud/cloudesl/model/DescribeItemMaterialsResult.h include/alibabacloud/cloudesl/model/DescribeItemsRequest.h include/alibabacloud/cloudesl/model/DescribeItemsResult.h + include/alibabacloud/cloudesl/model/DescribeMaterialsRequest.h + include/alibabacloud/cloudesl/model/DescribeMaterialsResult.h + include/alibabacloud/cloudesl/model/DescribeNotificationConfigRequest.h + include/alibabacloud/cloudesl/model/DescribeNotificationConfigResult.h + include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionRequest.h + include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionResult.h include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h include/alibabacloud/cloudesl/model/DescribeStoresRequest.h include/alibabacloud/cloudesl/model/DescribeStoresResult.h + include/alibabacloud/cloudesl/model/DescribeTemplateByModelRequest.h + include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h include/alibabacloud/cloudesl/model/DescribeUserLogResult.h include/alibabacloud/cloudesl/model/DescribeUsersRequest.h include/alibabacloud/cloudesl/model/DescribeUsersResult.h + include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h + include/alibabacloud/cloudesl/model/ExportEslDevicesResult.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/GetItemMaterialRequest.h + include/alibabacloud/cloudesl/model/GetItemMaterialResult.h include/alibabacloud/cloudesl/model/GetUserRequest.h include/alibabacloud/cloudesl/model/GetUserResult.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/UpdateEslDeviceLightRequest.h include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h + include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.h + include/alibabacloud/cloudesl/model/UpdateItemMaterialResult.h + include/alibabacloud/cloudesl/model/UpdateNotificationConfigRequest.h + include/alibabacloud/cloudesl/model/UpdateNotificationConfigResult.h include/alibabacloud/cloudesl/model/UpdateStoreRequest.h include/alibabacloud/cloudesl/model/UpdateStoreResult.h include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h - include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h ) + include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h + include/alibabacloud/cloudesl/model/VerifyNotificationConfigRequest.h + include/alibabacloud/cloudesl/model/VerifyNotificationConfigResult.h ) set(cloudesl_src src/CloudeslClient.cc @@ -84,58 +136,110 @@ set(cloudesl_src src/model/ActivateApDeviceResult.cc src/model/AddApDeviceRequest.cc src/model/AddApDeviceResult.cc + src/model/AddCompanyTemplateRequest.cc + src/model/AddCompanyTemplateResult.cc + src/model/AddMaterialRequest.cc + src/model/AddMaterialResult.cc src/model/AddUserRequest.cc src/model/AddUserResult.cc + src/model/ApplyCompanyTemplateVersionToStoresRequest.cc + src/model/ApplyCompanyTemplateVersionToStoresResult.cc + src/model/ApplyImageDitheringRequest.cc + src/model/ApplyImageDitheringResult.cc src/model/AssignUserRequest.cc src/model/AssignUserResult.cc src/model/BatchInsertItemsRequest.cc src/model/BatchInsertItemsResult.cc + src/model/BatchUpdateEventRequest.cc + src/model/BatchUpdateEventResult.cc src/model/BindEslDeviceRequest.cc src/model/BindEslDeviceResult.cc - src/model/ConfirmServerLocationRequest.cc - src/model/ConfirmServerLocationResult.cc + src/model/CheckServiceLinkedRoleForDeletingRequest.cc + src/model/CheckServiceLinkedRoleForDeletingResult.cc src/model/CreateStoreRequest.cc src/model/CreateStoreResult.cc src/model/DeleteApDeviceRequest.cc src/model/DeleteApDeviceResult.cc + src/model/DeleteCompanyTemplateRequest.cc + src/model/DeleteCompanyTemplateResult.cc src/model/DeleteItemRequest.cc src/model/DeleteItemResult.cc + src/model/DeleteMaterialRequest.cc + src/model/DeleteMaterialResult.cc src/model/DeleteStoreRequest.cc src/model/DeleteStoreResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc src/model/DescribeApDevicesRequest.cc src/model/DescribeApDevicesResult.cc + src/model/DescribeAvailableEslModelsRequest.cc + src/model/DescribeAvailableEslModelsResult.cc src/model/DescribeBindersRequest.cc src/model/DescribeBindersResult.cc - src/model/DescribeClientPackageRequest.cc - src/model/DescribeClientPackageResult.cc - src/model/DescribeEslDeviceRequest.cc - src/model/DescribeEslDeviceResult.cc + src/model/DescribeCompanyTemplateAttributeRequest.cc + src/model/DescribeCompanyTemplateAttributeResult.cc + src/model/DescribeCompanyTemplateVersionsRequest.cc + src/model/DescribeCompanyTemplateVersionsResult.cc + src/model/DescribeCompanyTemplateViewRequest.cc + src/model/DescribeCompanyTemplateViewResult.cc src/model/DescribeEslDevicesRequest.cc src/model/DescribeEslDevicesResult.cc + src/model/DescribeEslModelByTemplateVersionRequest.cc + src/model/DescribeEslModelByTemplateVersionResult.cc + src/model/DescribeEventReasonRequest.cc + src/model/DescribeEventReasonResult.cc + src/model/DescribeEventsRequest.cc + src/model/DescribeEventsResult.cc + src/model/DescribeItemMaterialsRequest.cc + src/model/DescribeItemMaterialsResult.cc src/model/DescribeItemsRequest.cc src/model/DescribeItemsResult.cc + src/model/DescribeMaterialsRequest.cc + src/model/DescribeMaterialsResult.cc + src/model/DescribeNotificationConfigRequest.cc + src/model/DescribeNotificationConfigResult.cc + src/model/DescribeStoreByTemplateVersionRequest.cc + src/model/DescribeStoreByTemplateVersionResult.cc src/model/DescribeStoreConfigRequest.cc src/model/DescribeStoreConfigResult.cc src/model/DescribeStoresRequest.cc src/model/DescribeStoresResult.cc + src/model/DescribeTemplateByModelRequest.cc + src/model/DescribeTemplateByModelResult.cc src/model/DescribeUserLogRequest.cc src/model/DescribeUserLogResult.cc src/model/DescribeUsersRequest.cc src/model/DescribeUsersResult.cc + src/model/ExportEslDevicesRequest.cc + src/model/ExportEslDevicesResult.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/GetItemMaterialRequest.cc + src/model/GetItemMaterialResult.cc src/model/GetUserRequest.cc src/model/GetUserResult.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/UpdateEslDeviceLightRequest.cc src/model/UpdateEslDeviceLightResult.cc + src/model/UpdateItemMaterialRequest.cc + src/model/UpdateItemMaterialResult.cc + src/model/UpdateNotificationConfigRequest.cc + src/model/UpdateNotificationConfigResult.cc src/model/UpdateStoreRequest.cc src/model/UpdateStoreResult.cc src/model/UpdateStoreConfigRequest.cc - src/model/UpdateStoreConfigResult.cc ) + src/model/UpdateStoreConfigResult.cc + src/model/VerifyNotificationConfigRequest.cc + src/model/VerifyNotificationConfigResult.cc ) add_library(cloudesl ${LIB_TYPE} ${cloudesl_public_header} diff --git a/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h b/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h index 06ca86a23..e7e73ba51 100644 --- a/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h +++ b/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h @@ -26,58 +26,110 @@ #include "model/ActivateApDeviceResult.h" #include "model/AddApDeviceRequest.h" #include "model/AddApDeviceResult.h" +#include "model/AddCompanyTemplateRequest.h" +#include "model/AddCompanyTemplateResult.h" +#include "model/AddMaterialRequest.h" +#include "model/AddMaterialResult.h" #include "model/AddUserRequest.h" #include "model/AddUserResult.h" +#include "model/ApplyCompanyTemplateVersionToStoresRequest.h" +#include "model/ApplyCompanyTemplateVersionToStoresResult.h" +#include "model/ApplyImageDitheringRequest.h" +#include "model/ApplyImageDitheringResult.h" #include "model/AssignUserRequest.h" #include "model/AssignUserResult.h" #include "model/BatchInsertItemsRequest.h" #include "model/BatchInsertItemsResult.h" +#include "model/BatchUpdateEventRequest.h" +#include "model/BatchUpdateEventResult.h" #include "model/BindEslDeviceRequest.h" #include "model/BindEslDeviceResult.h" -#include "model/ConfirmServerLocationRequest.h" -#include "model/ConfirmServerLocationResult.h" +#include "model/CheckServiceLinkedRoleForDeletingRequest.h" +#include "model/CheckServiceLinkedRoleForDeletingResult.h" #include "model/CreateStoreRequest.h" #include "model/CreateStoreResult.h" #include "model/DeleteApDeviceRequest.h" #include "model/DeleteApDeviceResult.h" +#include "model/DeleteCompanyTemplateRequest.h" +#include "model/DeleteCompanyTemplateResult.h" #include "model/DeleteItemRequest.h" #include "model/DeleteItemResult.h" +#include "model/DeleteMaterialRequest.h" +#include "model/DeleteMaterialResult.h" #include "model/DeleteStoreRequest.h" #include "model/DeleteStoreResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" #include "model/DescribeApDevicesRequest.h" #include "model/DescribeApDevicesResult.h" +#include "model/DescribeAvailableEslModelsRequest.h" +#include "model/DescribeAvailableEslModelsResult.h" #include "model/DescribeBindersRequest.h" #include "model/DescribeBindersResult.h" -#include "model/DescribeClientPackageRequest.h" -#include "model/DescribeClientPackageResult.h" -#include "model/DescribeEslDeviceRequest.h" -#include "model/DescribeEslDeviceResult.h" +#include "model/DescribeCompanyTemplateAttributeRequest.h" +#include "model/DescribeCompanyTemplateAttributeResult.h" +#include "model/DescribeCompanyTemplateVersionsRequest.h" +#include "model/DescribeCompanyTemplateVersionsResult.h" +#include "model/DescribeCompanyTemplateViewRequest.h" +#include "model/DescribeCompanyTemplateViewResult.h" #include "model/DescribeEslDevicesRequest.h" #include "model/DescribeEslDevicesResult.h" +#include "model/DescribeEslModelByTemplateVersionRequest.h" +#include "model/DescribeEslModelByTemplateVersionResult.h" +#include "model/DescribeEventReasonRequest.h" +#include "model/DescribeEventReasonResult.h" +#include "model/DescribeEventsRequest.h" +#include "model/DescribeEventsResult.h" +#include "model/DescribeItemMaterialsRequest.h" +#include "model/DescribeItemMaterialsResult.h" #include "model/DescribeItemsRequest.h" #include "model/DescribeItemsResult.h" +#include "model/DescribeMaterialsRequest.h" +#include "model/DescribeMaterialsResult.h" +#include "model/DescribeNotificationConfigRequest.h" +#include "model/DescribeNotificationConfigResult.h" +#include "model/DescribeStoreByTemplateVersionRequest.h" +#include "model/DescribeStoreByTemplateVersionResult.h" #include "model/DescribeStoreConfigRequest.h" #include "model/DescribeStoreConfigResult.h" #include "model/DescribeStoresRequest.h" #include "model/DescribeStoresResult.h" +#include "model/DescribeTemplateByModelRequest.h" +#include "model/DescribeTemplateByModelResult.h" #include "model/DescribeUserLogRequest.h" #include "model/DescribeUserLogResult.h" #include "model/DescribeUsersRequest.h" #include "model/DescribeUsersResult.h" +#include "model/ExportEslDevicesRequest.h" +#include "model/ExportEslDevicesResult.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/GetItemMaterialRequest.h" +#include "model/GetItemMaterialResult.h" #include "model/GetUserRequest.h" #include "model/GetUserResult.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/UpdateEslDeviceLightRequest.h" #include "model/UpdateEslDeviceLightResult.h" +#include "model/UpdateItemMaterialRequest.h" +#include "model/UpdateItemMaterialResult.h" +#include "model/UpdateNotificationConfigRequest.h" +#include "model/UpdateNotificationConfigResult.h" #include "model/UpdateStoreRequest.h" #include "model/UpdateStoreResult.h" #include "model/UpdateStoreConfigRequest.h" #include "model/UpdateStoreConfigResult.h" +#include "model/VerifyNotificationConfigRequest.h" +#include "model/VerifyNotificationConfigResult.h" namespace AlibabaCloud @@ -93,30 +145,51 @@ namespace AlibabaCloud typedef Outcome AddApDeviceOutcome; typedef std::future AddApDeviceOutcomeCallable; typedef std::function&)> AddApDeviceAsyncHandler; + typedef Outcome AddCompanyTemplateOutcome; + typedef std::future AddCompanyTemplateOutcomeCallable; + typedef std::function&)> AddCompanyTemplateAsyncHandler; + typedef Outcome AddMaterialOutcome; + typedef std::future AddMaterialOutcomeCallable; + typedef std::function&)> AddMaterialAsyncHandler; typedef Outcome AddUserOutcome; typedef std::future AddUserOutcomeCallable; typedef std::function&)> AddUserAsyncHandler; + typedef Outcome ApplyCompanyTemplateVersionToStoresOutcome; + typedef std::future ApplyCompanyTemplateVersionToStoresOutcomeCallable; + typedef std::function&)> ApplyCompanyTemplateVersionToStoresAsyncHandler; + typedef Outcome ApplyImageDitheringOutcome; + typedef std::future ApplyImageDitheringOutcomeCallable; + typedef std::function&)> ApplyImageDitheringAsyncHandler; typedef Outcome AssignUserOutcome; typedef std::future AssignUserOutcomeCallable; typedef std::function&)> AssignUserAsyncHandler; typedef Outcome BatchInsertItemsOutcome; typedef std::future BatchInsertItemsOutcomeCallable; typedef std::function&)> BatchInsertItemsAsyncHandler; + typedef Outcome BatchUpdateEventOutcome; + typedef std::future BatchUpdateEventOutcomeCallable; + typedef std::function&)> BatchUpdateEventAsyncHandler; typedef Outcome BindEslDeviceOutcome; typedef std::future BindEslDeviceOutcomeCallable; typedef std::function&)> BindEslDeviceAsyncHandler; - typedef Outcome ConfirmServerLocationOutcome; - typedef std::future ConfirmServerLocationOutcomeCallable; - typedef std::function&)> ConfirmServerLocationAsyncHandler; + typedef Outcome CheckServiceLinkedRoleForDeletingOutcome; + typedef std::future CheckServiceLinkedRoleForDeletingOutcomeCallable; + typedef std::function&)> CheckServiceLinkedRoleForDeletingAsyncHandler; typedef Outcome CreateStoreOutcome; typedef std::future CreateStoreOutcomeCallable; typedef std::function&)> CreateStoreAsyncHandler; typedef Outcome DeleteApDeviceOutcome; typedef std::future DeleteApDeviceOutcomeCallable; typedef std::function&)> DeleteApDeviceAsyncHandler; + typedef Outcome DeleteCompanyTemplateOutcome; + typedef std::future DeleteCompanyTemplateOutcomeCallable; + typedef std::function&)> DeleteCompanyTemplateAsyncHandler; typedef Outcome DeleteItemOutcome; typedef std::future DeleteItemOutcomeCallable; typedef std::function&)> DeleteItemAsyncHandler; + typedef Outcome DeleteMaterialOutcome; + typedef std::future DeleteMaterialOutcomeCallable; + typedef std::function&)> DeleteMaterialAsyncHandler; typedef Outcome DeleteStoreOutcome; typedef std::future DeleteStoreOutcomeCallable; typedef std::function&)> DeleteStoreAsyncHandler; @@ -126,36 +199,84 @@ namespace AlibabaCloud typedef Outcome DescribeApDevicesOutcome; typedef std::future DescribeApDevicesOutcomeCallable; typedef std::function&)> DescribeApDevicesAsyncHandler; + typedef Outcome DescribeAvailableEslModelsOutcome; + typedef std::future DescribeAvailableEslModelsOutcomeCallable; + typedef std::function&)> DescribeAvailableEslModelsAsyncHandler; typedef Outcome DescribeBindersOutcome; typedef std::future DescribeBindersOutcomeCallable; typedef std::function&)> DescribeBindersAsyncHandler; - typedef Outcome DescribeClientPackageOutcome; - typedef std::future DescribeClientPackageOutcomeCallable; - typedef std::function&)> DescribeClientPackageAsyncHandler; - typedef Outcome DescribeEslDeviceOutcome; - typedef std::future DescribeEslDeviceOutcomeCallable; - typedef std::function&)> DescribeEslDeviceAsyncHandler; + typedef Outcome DescribeCompanyTemplateAttributeOutcome; + typedef std::future DescribeCompanyTemplateAttributeOutcomeCallable; + typedef std::function&)> DescribeCompanyTemplateAttributeAsyncHandler; + typedef Outcome DescribeCompanyTemplateVersionsOutcome; + typedef std::future DescribeCompanyTemplateVersionsOutcomeCallable; + typedef std::function&)> DescribeCompanyTemplateVersionsAsyncHandler; + typedef Outcome DescribeCompanyTemplateViewOutcome; + typedef std::future DescribeCompanyTemplateViewOutcomeCallable; + typedef std::function&)> DescribeCompanyTemplateViewAsyncHandler; typedef Outcome DescribeEslDevicesOutcome; typedef std::future DescribeEslDevicesOutcomeCallable; typedef std::function&)> DescribeEslDevicesAsyncHandler; + typedef Outcome DescribeEslModelByTemplateVersionOutcome; + typedef std::future DescribeEslModelByTemplateVersionOutcomeCallable; + typedef std::function&)> DescribeEslModelByTemplateVersionAsyncHandler; + typedef Outcome DescribeEventReasonOutcome; + typedef std::future DescribeEventReasonOutcomeCallable; + typedef std::function&)> DescribeEventReasonAsyncHandler; + typedef Outcome DescribeEventsOutcome; + typedef std::future DescribeEventsOutcomeCallable; + typedef std::function&)> DescribeEventsAsyncHandler; + typedef Outcome DescribeItemMaterialsOutcome; + typedef std::future DescribeItemMaterialsOutcomeCallable; + typedef std::function&)> DescribeItemMaterialsAsyncHandler; typedef Outcome DescribeItemsOutcome; typedef std::future DescribeItemsOutcomeCallable; typedef std::function&)> DescribeItemsAsyncHandler; + typedef Outcome DescribeMaterialsOutcome; + typedef std::future DescribeMaterialsOutcomeCallable; + typedef std::function&)> DescribeMaterialsAsyncHandler; + typedef Outcome DescribeNotificationConfigOutcome; + typedef std::future DescribeNotificationConfigOutcomeCallable; + typedef std::function&)> DescribeNotificationConfigAsyncHandler; + typedef Outcome DescribeStoreByTemplateVersionOutcome; + typedef std::future DescribeStoreByTemplateVersionOutcomeCallable; + typedef std::function&)> DescribeStoreByTemplateVersionAsyncHandler; typedef Outcome DescribeStoreConfigOutcome; typedef std::future DescribeStoreConfigOutcomeCallable; typedef std::function&)> DescribeStoreConfigAsyncHandler; typedef Outcome DescribeStoresOutcome; typedef std::future DescribeStoresOutcomeCallable; typedef std::function&)> DescribeStoresAsyncHandler; + typedef Outcome DescribeTemplateByModelOutcome; + typedef std::future DescribeTemplateByModelOutcomeCallable; + typedef std::function&)> DescribeTemplateByModelAsyncHandler; typedef Outcome DescribeUserLogOutcome; typedef std::future DescribeUserLogOutcomeCallable; typedef std::function&)> DescribeUserLogAsyncHandler; typedef Outcome DescribeUsersOutcome; typedef std::future DescribeUsersOutcomeCallable; typedef std::function&)> DescribeUsersAsyncHandler; + typedef Outcome ExportEslDevicesOutcome; + typedef std::future ExportEslDevicesOutcomeCallable; + typedef std::function&)> ExportEslDevicesAsyncHandler; + typedef Outcome GetCompanyTemplatePictureOutcome; + typedef std::future GetCompanyTemplatePictureOutcomeCallable; + typedef std::function&)> GetCompanyTemplatePictureAsyncHandler; + typedef Outcome GetCompanyTemplatePictureByJobOutcome; + typedef std::future GetCompanyTemplatePictureByJobOutcomeCallable; + typedef std::function&)> GetCompanyTemplatePictureByJobAsyncHandler; + typedef Outcome GetCompanyTemplatePictureNewOutcome; + typedef std::future GetCompanyTemplatePictureNewOutcomeCallable; + typedef std::function&)> GetCompanyTemplatePictureNewAsyncHandler; + typedef Outcome GetItemMaterialOutcome; + typedef std::future GetItemMaterialOutcomeCallable; + typedef std::function&)> GetItemMaterialAsyncHandler; typedef Outcome GetUserOutcome; typedef std::future GetUserOutcomeCallable; typedef std::function&)> GetUserAsyncHandler; + typedef Outcome SyncAddMaterialOutcome; + typedef std::future SyncAddMaterialOutcomeCallable; + typedef std::function&)> SyncAddMaterialAsyncHandler; typedef Outcome UnassignUserOutcome; typedef std::future UnassignUserOutcomeCallable; typedef std::function&)> UnassignUserAsyncHandler; @@ -165,12 +286,21 @@ namespace AlibabaCloud typedef Outcome UpdateEslDeviceLightOutcome; typedef std::future UpdateEslDeviceLightOutcomeCallable; typedef std::function&)> UpdateEslDeviceLightAsyncHandler; + typedef Outcome UpdateItemMaterialOutcome; + typedef std::future UpdateItemMaterialOutcomeCallable; + typedef std::function&)> UpdateItemMaterialAsyncHandler; + typedef Outcome UpdateNotificationConfigOutcome; + typedef std::future UpdateNotificationConfigOutcomeCallable; + typedef std::function&)> UpdateNotificationConfigAsyncHandler; typedef Outcome UpdateStoreOutcome; typedef std::future UpdateStoreOutcomeCallable; typedef std::function&)> UpdateStoreAsyncHandler; typedef Outcome UpdateStoreConfigOutcome; typedef std::future UpdateStoreConfigOutcomeCallable; typedef std::function&)> UpdateStoreConfigAsyncHandler; + typedef Outcome VerifyNotificationConfigOutcome; + typedef std::future VerifyNotificationConfigOutcomeCallable; + typedef std::function&)> VerifyNotificationConfigAsyncHandler; CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration); CloudeslClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -182,30 +312,51 @@ namespace AlibabaCloud AddApDeviceOutcome addApDevice(const Model::AddApDeviceRequest &request)const; void addApDeviceAsync(const Model::AddApDeviceRequest& request, const AddApDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddApDeviceOutcomeCallable addApDeviceCallable(const Model::AddApDeviceRequest& request) const; + AddCompanyTemplateOutcome addCompanyTemplate(const Model::AddCompanyTemplateRequest &request)const; + void addCompanyTemplateAsync(const Model::AddCompanyTemplateRequest& request, const AddCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddCompanyTemplateOutcomeCallable addCompanyTemplateCallable(const Model::AddCompanyTemplateRequest& request) const; + AddMaterialOutcome addMaterial(const Model::AddMaterialRequest &request)const; + void addMaterialAsync(const Model::AddMaterialRequest& request, const AddMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddMaterialOutcomeCallable addMaterialCallable(const Model::AddMaterialRequest& request) const; AddUserOutcome addUser(const Model::AddUserRequest &request)const; void addUserAsync(const Model::AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddUserOutcomeCallable addUserCallable(const Model::AddUserRequest& request) const; + ApplyCompanyTemplateVersionToStoresOutcome applyCompanyTemplateVersionToStores(const Model::ApplyCompanyTemplateVersionToStoresRequest &request)const; + void applyCompanyTemplateVersionToStoresAsync(const Model::ApplyCompanyTemplateVersionToStoresRequest& request, const ApplyCompanyTemplateVersionToStoresAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyCompanyTemplateVersionToStoresOutcomeCallable applyCompanyTemplateVersionToStoresCallable(const Model::ApplyCompanyTemplateVersionToStoresRequest& request) const; + ApplyImageDitheringOutcome applyImageDithering(const Model::ApplyImageDitheringRequest &request)const; + void applyImageDitheringAsync(const Model::ApplyImageDitheringRequest& request, const ApplyImageDitheringAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyImageDitheringOutcomeCallable applyImageDitheringCallable(const Model::ApplyImageDitheringRequest& request) const; AssignUserOutcome assignUser(const Model::AssignUserRequest &request)const; void assignUserAsync(const Model::AssignUserRequest& request, const AssignUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AssignUserOutcomeCallable assignUserCallable(const Model::AssignUserRequest& request) const; BatchInsertItemsOutcome batchInsertItems(const Model::BatchInsertItemsRequest &request)const; void batchInsertItemsAsync(const Model::BatchInsertItemsRequest& request, const BatchInsertItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchInsertItemsOutcomeCallable batchInsertItemsCallable(const Model::BatchInsertItemsRequest& request) const; + 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; 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; - ConfirmServerLocationOutcome confirmServerLocation(const Model::ConfirmServerLocationRequest &request)const; - void confirmServerLocationAsync(const Model::ConfirmServerLocationRequest& request, const ConfirmServerLocationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ConfirmServerLocationOutcomeCallable confirmServerLocationCallable(const Model::ConfirmServerLocationRequest& 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; 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; DeleteApDeviceOutcome deleteApDevice(const Model::DeleteApDeviceRequest &request)const; void deleteApDeviceAsync(const Model::DeleteApDeviceRequest& request, const DeleteApDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteApDeviceOutcomeCallable deleteApDeviceCallable(const Model::DeleteApDeviceRequest& request) const; + DeleteCompanyTemplateOutcome deleteCompanyTemplate(const Model::DeleteCompanyTemplateRequest &request)const; + void deleteCompanyTemplateAsync(const Model::DeleteCompanyTemplateRequest& request, const DeleteCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCompanyTemplateOutcomeCallable deleteCompanyTemplateCallable(const Model::DeleteCompanyTemplateRequest& request) const; 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; + 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; @@ -215,36 +366,84 @@ namespace AlibabaCloud DescribeApDevicesOutcome describeApDevices(const Model::DescribeApDevicesRequest &request)const; void describeApDevicesAsync(const Model::DescribeApDevicesRequest& request, const DescribeApDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeApDevicesOutcomeCallable describeApDevicesCallable(const Model::DescribeApDevicesRequest& request) const; + DescribeAvailableEslModelsOutcome describeAvailableEslModels(const Model::DescribeAvailableEslModelsRequest &request)const; + void describeAvailableEslModelsAsync(const Model::DescribeAvailableEslModelsRequest& request, const DescribeAvailableEslModelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAvailableEslModelsOutcomeCallable describeAvailableEslModelsCallable(const Model::DescribeAvailableEslModelsRequest& request) const; DescribeBindersOutcome describeBinders(const Model::DescribeBindersRequest &request)const; void describeBindersAsync(const Model::DescribeBindersRequest& request, const DescribeBindersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBindersOutcomeCallable describeBindersCallable(const Model::DescribeBindersRequest& request) const; - DescribeClientPackageOutcome describeClientPackage(const Model::DescribeClientPackageRequest &request)const; - void describeClientPackageAsync(const Model::DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClientPackageOutcomeCallable describeClientPackageCallable(const Model::DescribeClientPackageRequest& request) const; - DescribeEslDeviceOutcome describeEslDevice(const Model::DescribeEslDeviceRequest &request)const; - void describeEslDeviceAsync(const Model::DescribeEslDeviceRequest& request, const DescribeEslDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeEslDeviceOutcomeCallable describeEslDeviceCallable(const Model::DescribeEslDeviceRequest& request) const; + DescribeCompanyTemplateAttributeOutcome describeCompanyTemplateAttribute(const Model::DescribeCompanyTemplateAttributeRequest &request)const; + void describeCompanyTemplateAttributeAsync(const Model::DescribeCompanyTemplateAttributeRequest& request, const DescribeCompanyTemplateAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCompanyTemplateAttributeOutcomeCallable describeCompanyTemplateAttributeCallable(const Model::DescribeCompanyTemplateAttributeRequest& request) const; + DescribeCompanyTemplateVersionsOutcome describeCompanyTemplateVersions(const Model::DescribeCompanyTemplateVersionsRequest &request)const; + void describeCompanyTemplateVersionsAsync(const Model::DescribeCompanyTemplateVersionsRequest& request, const DescribeCompanyTemplateVersionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCompanyTemplateVersionsOutcomeCallable describeCompanyTemplateVersionsCallable(const Model::DescribeCompanyTemplateVersionsRequest& request) const; + DescribeCompanyTemplateViewOutcome describeCompanyTemplateView(const Model::DescribeCompanyTemplateViewRequest &request)const; + void describeCompanyTemplateViewAsync(const Model::DescribeCompanyTemplateViewRequest& request, const DescribeCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCompanyTemplateViewOutcomeCallable describeCompanyTemplateViewCallable(const Model::DescribeCompanyTemplateViewRequest& request) const; DescribeEslDevicesOutcome describeEslDevices(const Model::DescribeEslDevicesRequest &request)const; void describeEslDevicesAsync(const Model::DescribeEslDevicesRequest& request, const DescribeEslDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeEslDevicesOutcomeCallable describeEslDevicesCallable(const Model::DescribeEslDevicesRequest& request) const; + DescribeEslModelByTemplateVersionOutcome describeEslModelByTemplateVersion(const Model::DescribeEslModelByTemplateVersionRequest &request)const; + void describeEslModelByTemplateVersionAsync(const Model::DescribeEslModelByTemplateVersionRequest& request, const DescribeEslModelByTemplateVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEslModelByTemplateVersionOutcomeCallable describeEslModelByTemplateVersionCallable(const Model::DescribeEslModelByTemplateVersionRequest& request) const; + DescribeEventReasonOutcome describeEventReason(const Model::DescribeEventReasonRequest &request)const; + void describeEventReasonAsync(const Model::DescribeEventReasonRequest& request, const DescribeEventReasonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEventReasonOutcomeCallable describeEventReasonCallable(const Model::DescribeEventReasonRequest& request) const; + DescribeEventsOutcome describeEvents(const Model::DescribeEventsRequest &request)const; + void describeEventsAsync(const Model::DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEventsOutcomeCallable describeEventsCallable(const Model::DescribeEventsRequest& request) const; + DescribeItemMaterialsOutcome describeItemMaterials(const Model::DescribeItemMaterialsRequest &request)const; + void describeItemMaterialsAsync(const Model::DescribeItemMaterialsRequest& request, const DescribeItemMaterialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeItemMaterialsOutcomeCallable describeItemMaterialsCallable(const Model::DescribeItemMaterialsRequest& request) const; DescribeItemsOutcome describeItems(const Model::DescribeItemsRequest &request)const; void describeItemsAsync(const Model::DescribeItemsRequest& request, const DescribeItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeItemsOutcomeCallable describeItemsCallable(const Model::DescribeItemsRequest& request) const; + DescribeMaterialsOutcome describeMaterials(const Model::DescribeMaterialsRequest &request)const; + void describeMaterialsAsync(const Model::DescribeMaterialsRequest& request, const DescribeMaterialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMaterialsOutcomeCallable describeMaterialsCallable(const Model::DescribeMaterialsRequest& request) const; + DescribeNotificationConfigOutcome describeNotificationConfig(const Model::DescribeNotificationConfigRequest &request)const; + void describeNotificationConfigAsync(const Model::DescribeNotificationConfigRequest& request, const DescribeNotificationConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeNotificationConfigOutcomeCallable describeNotificationConfigCallable(const Model::DescribeNotificationConfigRequest& request) const; + DescribeStoreByTemplateVersionOutcome describeStoreByTemplateVersion(const Model::DescribeStoreByTemplateVersionRequest &request)const; + void describeStoreByTemplateVersionAsync(const Model::DescribeStoreByTemplateVersionRequest& request, const DescribeStoreByTemplateVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStoreByTemplateVersionOutcomeCallable describeStoreByTemplateVersionCallable(const Model::DescribeStoreByTemplateVersionRequest& request) const; DescribeStoreConfigOutcome describeStoreConfig(const Model::DescribeStoreConfigRequest &request)const; void describeStoreConfigAsync(const Model::DescribeStoreConfigRequest& request, const DescribeStoreConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeStoreConfigOutcomeCallable describeStoreConfigCallable(const Model::DescribeStoreConfigRequest& request) const; DescribeStoresOutcome describeStores(const Model::DescribeStoresRequest &request)const; void describeStoresAsync(const Model::DescribeStoresRequest& request, const DescribeStoresAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeStoresOutcomeCallable describeStoresCallable(const Model::DescribeStoresRequest& request) const; + DescribeTemplateByModelOutcome describeTemplateByModel(const Model::DescribeTemplateByModelRequest &request)const; + void describeTemplateByModelAsync(const Model::DescribeTemplateByModelRequest& request, const DescribeTemplateByModelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplateByModelOutcomeCallable describeTemplateByModelCallable(const Model::DescribeTemplateByModelRequest& request) const; DescribeUserLogOutcome describeUserLog(const Model::DescribeUserLogRequest &request)const; void describeUserLogAsync(const Model::DescribeUserLogRequest& request, const DescribeUserLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserLogOutcomeCallable describeUserLogCallable(const Model::DescribeUserLogRequest& request) const; DescribeUsersOutcome describeUsers(const Model::DescribeUsersRequest &request)const; void describeUsersAsync(const Model::DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUsersOutcomeCallable describeUsersCallable(const Model::DescribeUsersRequest& request) const; + 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; + 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; + GetCompanyTemplatePictureByJobOutcome getCompanyTemplatePictureByJob(const Model::GetCompanyTemplatePictureByJobRequest &request)const; + void getCompanyTemplatePictureByJobAsync(const Model::GetCompanyTemplatePictureByJobRequest& request, const GetCompanyTemplatePictureByJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCompanyTemplatePictureByJobOutcomeCallable getCompanyTemplatePictureByJobCallable(const Model::GetCompanyTemplatePictureByJobRequest& request) const; + 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; + 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; + 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; UnassignUserOutcome unassignUser(const Model::UnassignUserRequest &request)const; void unassignUserAsync(const Model::UnassignUserRequest& request, const UnassignUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnassignUserOutcomeCallable unassignUserCallable(const Model::UnassignUserRequest& request) const; @@ -254,12 +453,21 @@ namespace AlibabaCloud 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; + UpdateItemMaterialOutcome updateItemMaterial(const Model::UpdateItemMaterialRequest &request)const; + void updateItemMaterialAsync(const Model::UpdateItemMaterialRequest& request, const UpdateItemMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateItemMaterialOutcomeCallable updateItemMaterialCallable(const Model::UpdateItemMaterialRequest& request) const; + UpdateNotificationConfigOutcome updateNotificationConfig(const Model::UpdateNotificationConfigRequest &request)const; + void updateNotificationConfigAsync(const Model::UpdateNotificationConfigRequest& request, const UpdateNotificationConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateNotificationConfigOutcomeCallable updateNotificationConfigCallable(const Model::UpdateNotificationConfigRequest& request) const; UpdateStoreOutcome updateStore(const Model::UpdateStoreRequest &request)const; void updateStoreAsync(const Model::UpdateStoreRequest& request, const UpdateStoreAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateStoreOutcomeCallable updateStoreCallable(const Model::UpdateStoreRequest& request) const; UpdateStoreConfigOutcome updateStoreConfig(const Model::UpdateStoreConfigRequest &request)const; void updateStoreConfigAsync(const Model::UpdateStoreConfigRequest& request, const UpdateStoreConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateStoreConfigOutcomeCallable updateStoreConfigCallable(const Model::UpdateStoreConfigRequest& request) const; + VerifyNotificationConfigOutcome verifyNotificationConfig(const Model::VerifyNotificationConfigRequest &request)const; + void verifyNotificationConfigAsync(const Model::VerifyNotificationConfigRequest& request, const VerifyNotificationConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyNotificationConfigOutcomeCallable verifyNotificationConfigCallable(const Model::VerifyNotificationConfigRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h new file mode 100644 index 000000000..80d8d0efd --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateRequest.h @@ -0,0 +1,87 @@ +/* + * 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_ADDCOMPANYTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ADDCOMPANYTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT AddCompanyTemplateRequest : public RpcServiceRequest + { + + public: + AddCompanyTemplateRequest(); + ~AddCompanyTemplateRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getEslSize()const; + void setEslSize(const std::string& eslSize); + bool getIfPromotion()const; + void setIfPromotion(bool ifPromotion); + std::string getDeviceType()const; + void setDeviceType(const std::string& deviceType); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getVendor()const; + void setVendor(const std::string& vendor); + bool getIfDefault()const; + void setIfDefault(bool ifDefault); + std::string getTemplateName()const; + void setTemplateName(const std::string& templateName); + bool getIfSourceCode()const; + void setIfSourceCode(bool ifSourceCode); + bool getIfMember()const; + void setIfMember(bool ifMember); + int getLayout()const; + void setLayout(int layout); + bool getIfOutOfInventory()const; + void setIfOutOfInventory(bool ifOutOfInventory); + + private: + std::string extraParams_; + std::string eslSize_; + bool ifPromotion_; + std::string deviceType_; + std::string scene_; + std::string templateVersion_; + std::string templateType_; + std::string vendor_; + bool ifDefault_; + std::string templateName_; + bool ifSourceCode_; + bool ifMember_; + int layout_; + bool ifOutOfInventory_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDCOMPANYTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateResult.h similarity index 53% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateResult.h index 29a64c895..8188e3bf4 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/AddCompanyTemplateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDCOMPANYTEMPLATERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ADDCOMPANYTEMPLATERESULT_H_ #include #include @@ -29,41 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEslDeviceResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT AddCompanyTemplateResult : public ServiceResult { public: - struct EslDetailsItem - { - std::string status; - std::string eslBarCode; - std::string itemShortTitle; - std::string storeId; - std::string lastUpdateTime; - long itemBarCode; - long itemId; - }; - DescribeEslDeviceResult(); - explicit DescribeEslDeviceResult(const std::string &payload); - ~DescribeEslDeviceResult(); - long getTotalCount()const; - long getPageSize()const; - long getPageNumber()const; - std::vector getEslDetails()const; + AddCompanyTemplateResult(); + explicit AddCompanyTemplateResult(const std::string &payload); + ~AddCompanyTemplateResult(); + 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: - long totalCount_; - long pageSize_; - long pageNumber_; - std::vector eslDetails_; + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; bool success_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDCOMPANYTEMPLATERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialRequest.h new file mode 100644 index 000000000..593fe3b23 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialRequest.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_ADDMATERIALREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ADDMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT AddMaterialRequest : public RpcServiceRequest + { + + public: + AddMaterialRequest(); + ~AddMaterialRequest(); + + std::string getContent()const; + void setContent(const std::string& content); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string content_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialResult.h new file mode 100644 index 000000000..388161124 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/AddMaterialResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDMATERIALRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ADDMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT AddMaterialResult : public ServiceResult + { + public: + struct Result + { + std::string message; + std::string dynamicCode; + std::string dynamicMessage; + std::string errorCode; + bool success; + }; + + + AddMaterialResult(); + explicit AddMaterialResult(const std::string &payload); + ~AddMaterialResult(); + 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; + Result getResult()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_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDMATERIALRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresRequest.h new file mode 100644 index 000000000..7bf3194bb --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresRequest.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_APPLYCOMPANYTEMPLATEVERSIONTOSTORESREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_APPLYCOMPANYTEMPLATEVERSIONTOSTORESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ApplyCompanyTemplateVersionToStoresRequest : public RpcServiceRequest + { + + public: + ApplyCompanyTemplateVersionToStoresRequest(); + ~ApplyCompanyTemplateVersionToStoresRequest(); + + std::string getStores()const; + void setStores(const std::string& stores); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + + private: + std::string stores_; + std::string templateVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_APPLYCOMPANYTEMPLATEVERSIONTOSTORESREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresResult.h new file mode 100644 index 000000000..945144cf9 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ApplyCompanyTemplateVersionToStoresResult.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_APPLYCOMPANYTEMPLATEVERSIONTOSTORESRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_APPLYCOMPANYTEMPLATEVERSIONTOSTORESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ApplyCompanyTemplateVersionToStoresResult : public ServiceResult + { + public: + + + ApplyCompanyTemplateVersionToStoresResult(); + explicit ApplyCompanyTemplateVersionToStoresResult(const std::string &payload); + ~ApplyCompanyTemplateVersionToStoresResult(); + 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_APPLYCOMPANYTEMPLATEVERSIONTOSTORESRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringRequest.h new file mode 100644 index 000000000..cc52678af --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringRequest.h @@ -0,0 +1,60 @@ +/* + * 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_APPLYIMAGEDITHERINGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_APPLYIMAGEDITHERINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ApplyImageDitheringRequest : public RpcServiceRequest + { + + public: + ApplyImageDitheringRequest(); + ~ApplyImageDitheringRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getContent()const; + void setContent(const std::string& content); + std::string getDeviceType()const; + void setDeviceType(const std::string& deviceType); + int getHeight()const; + void setHeight(int height); + int getWidth()const; + void setWidth(int width); + + private: + std::string extraParams_; + std::string content_; + std::string deviceType_; + int height_; + int width_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_APPLYIMAGEDITHERINGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringResult.h new file mode 100644 index 000000000..dea0943e1 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ApplyImageDitheringResult.h @@ -0,0 +1,65 @@ +/* + * 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_APPLYIMAGEDITHERINGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_APPLYIMAGEDITHERINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ApplyImageDitheringResult : public ServiceResult + { + public: + + + ApplyImageDitheringResult(); + explicit ApplyImageDitheringResult(const std::string &payload); + ~ApplyImageDitheringResult(); + std::string getMessage()const; + std::string getContent()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 content_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_APPLYIMAGEDITHERINGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h index d667d11d2..c7eb8b1f0 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h @@ -45,17 +45,20 @@ namespace AlibabaCloud std::string customizeFeatureK; std::string customizeFeatureL; std::string customizeFeatureM; - bool bePromotion; std::string customizeFeatureN; + bool bePromotion; std::string customizeFeatureO; + std::string customizeFeatureP; std::string promotionEnd; std::string itemTitle; + std::string customizeFeatureQ; + std::string customizeFeatureR; std::string customizeFeatureC; std::string customizeFeatureD; std::string itemQrCode; std::string customizeFeatureE; - std::string inventoryStatus; std::string promotionReason; + std::string inventoryStatus; std::string customizeFeatureF; std::string customizeFeatureG; std::string customizeFeatureH; @@ -66,16 +69,24 @@ namespace AlibabaCloud int suggestPrice; std::string forestFirstId; std::string productionPlace; - std::string manufacturer; std::string sourceCode; + std::string manufacturer; std::string itemId; bool beMember; + std::string customizeFeatureS; + std::string customizeFeatureT; + std::string customizeFeatureU; std::string templateSceneId; + std::string customizeFeatureV; + std::string customizeFeatureW; + std::string customizeFeatureX; + std::string customizeFeatureY; + std::string customizeFeatureZ; int salesPrice; int originalPrice; std::string itemShortTitle; - std::string forestSecondId; std::string itemPicUrl; + std::string forestSecondId; std::string supplierName; std::string material; std::string modelNumber; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.h new file mode 100644 index 000000000..d94f8ec9d --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.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_BATCHUPDATEEVENTREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BATCHUPDATEEVENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT BatchUpdateEventRequest : public RpcServiceRequest + { + + public: + BatchUpdateEventRequest(); + ~BatchUpdateEventRequest(); + + std::string getEvents()const; + void setEvents(const std::string& events); + + private: + std::string events_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BATCHUPDATEEVENTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventResult.h new file mode 100644 index 000000000..95d53fdf5 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchUpdateEventResult.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_BATCHUPDATEEVENTRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BATCHUPDATEEVENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT BatchUpdateEventResult : public ServiceResult + { + public: + + + BatchUpdateEventResult(); + explicit BatchUpdateEventResult(const std::string &payload); + ~BatchUpdateEventResult(); + 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_BATCHUPDATEEVENTRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.h new file mode 100644 index 000000000..19e5a2ce2 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.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_CHECKSERVICELINKEDROLEFORDELETINGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_CHECKSERVICELINKEDROLEFORDELETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CheckServiceLinkedRoleForDeletingRequest : public RpcServiceRequest + { + + public: + CheckServiceLinkedRoleForDeletingRequest(); + ~CheckServiceLinkedRoleForDeletingRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getDeletionTaskId()const; + void setDeletionTaskId(const std::string& deletionTaskId); + std::string getServiceName()const; + void setServiceName(const std::string& serviceName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSPIRegionId()const; + void setSPIRegionId(const std::string& sPIRegionId); + std::string getRoleArn()const; + void setRoleArn(const std::string& roleArn); + + private: + std::string extraParams_; + std::string deletionTaskId_; + std::string serviceName_; + long ownerId_; + std::string sPIRegionId_; + std::string roleArn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CHECKSERVICELINKEDROLEFORDELETINGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h b/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h new file mode 100644 index 000000000..0a4bbbd0b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_CHECKSERVICELINKEDROLEFORDELETINGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_CHECKSERVICELINKEDROLEFORDELETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT CheckServiceLinkedRoleForDeletingResult : public ServiceResult + { + public: + struct RoleUsage + { + std::string region; + std::string resources; + }; + + + CheckServiceLinkedRoleForDeletingResult(); + explicit CheckServiceLinkedRoleForDeletingResult(const std::string &payload); + ~CheckServiceLinkedRoleForDeletingResult(); + std::string getMessage()const; + bool getDeletable()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::vector getRoleUsages()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool deletable_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::vector roleUsages_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CHECKSERVICELINKEDROLEFORDELETINGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateRequest.h similarity index 69% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateRequest.h index a249359b5..7c35c60a5 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATEREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeClientPackageRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteCompanyTemplateRequest : public RpcServiceRequest { public: - DescribeClientPackageRequest(); - ~DescribeClientPackageRequest(); + DeleteCompanyTemplateRequest(); + ~DeleteCompanyTemplateRequest(); - std::string getClientType()const; - void setClientType(const std::string& clientType); std::string getExtraParams()const; void setExtraParams(const std::string& extraParams); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); private: - std::string clientType_; std::string extraParams_; + std::string templateId_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h similarity index 69% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h index 90830aef9..15fa0f81a 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATERESULT_H_ #include #include @@ -29,43 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeClientPackageResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteCompanyTemplateResult : public ServiceResult { public: - DescribeClientPackageResult(); - explicit DescribeClientPackageResult(const std::string &payload); - ~DescribeClientPackageResult(); - std::string getDescription()const; + DeleteCompanyTemplateResult(); + explicit DeleteCompanyTemplateResult(const std::string &payload); + ~DeleteCompanyTemplateResult(); std::string getMessage()const; - std::string getVersion()const; std::string getDynamicCode()const; std::string getErrorCode()const; std::string getDynamicMessage()const; std::string getErrorMessage()const; - std::string getUpdateType()const; std::string getCode()const; - std::string getUrl()const; bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string description_; std::string message_; - std::string version_; std::string dynamicCode_; std::string errorCode_; std::string dynamicMessage_; std::string errorMessage_; - std::string updateType_; std::string code_; - std::string url_; bool success_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETECOMPANYTEMPLATERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialRequest.h new file mode 100644 index 000000000..08219f5c6 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialRequest.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_DELETEMATERIALREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteMaterialRequest : public RpcServiceRequest + { + + public: + DeleteMaterialRequest(); + ~DeleteMaterialRequest(); + + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + + private: + std::string materialId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialResult.h similarity index 67% rename from cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialResult.h index 32548733b..0814a6af8 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteMaterialResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEMATERIALRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEMATERIALRESULT_H_ #include #include @@ -29,29 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT ConfirmServerLocationResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteMaterialResult : public ServiceResult { public: - ConfirmServerLocationResult(); - explicit ConfirmServerLocationResult(const std::string &payload); - ~ConfirmServerLocationResult(); + DeleteMaterialResult(); + explicit DeleteMaterialResult(const std::string &payload); + ~DeleteMaterialResult(); 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_CONFIRMSERVERLOCATIONRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEMATERIALRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsRequest.h new file mode 100644 index 000000000..ad8c77b25 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsRequest.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_DESCRIBEAVAILABLEESLMODELSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAVAILABLEESLMODELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeAvailableEslModelsRequest : public RpcServiceRequest + { + + public: + DescribeAvailableEslModelsRequest(); + ~DescribeAvailableEslModelsRequest(); + + std::string getModelId()const; + void setModelId(const std::string& modelId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getName()const; + void setName(const std::string& name); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string modelId_; + int pageNumber_; + std::string name_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAVAILABLEESLMODELSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsResult.h new file mode 100644 index 000000000..2aa1e1e57 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAvailableEslModelsResult.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_DESCRIBEAVAILABLEESLMODELSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAVAILABLEESLMODELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeAvailableEslModelsResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string deviceType; + int screenWidth; + std::string vendor; + std::string eslSize; + int screenHeight; + std::string modelId; + std::string name; + }; + + + DescribeAvailableEslModelsResult(); + explicit DescribeAvailableEslModelsResult(const std::string &payload); + ~DescribeAvailableEslModelsResult(); + std::vector getEslModels()const; + int getTotalCount()const; + int getPageSize()const; + std::string getMessage()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: + std::vector eslModels_; + int totalCount_; + int pageSize_; + std::string message_; + int pageNumber_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAVAILABLEESLMODELSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeRequest.h new file mode 100644 index 000000000..2c2752381 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeRequest.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_DESCRIBECOMPANYTEMPLATEATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateAttributeRequest : public RpcServiceRequest + { + + public: + DescribeCompanyTemplateAttributeRequest(); + ~DescribeCompanyTemplateAttributeRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + + private: + std::string extraParams_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeResult.h new file mode 100644 index 000000000..bb2543bc6 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateAttributeResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEATTRIBUTERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateAttributeResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string label; + std::string value; + }; + + + DescribeCompanyTemplateAttributeResult(); + explicit DescribeCompanyTemplateAttributeResult(const std::string &payload); + ~DescribeCompanyTemplateAttributeResult(); + std::vector getCategoryField()const; + std::vector getDeviceType()const; + std::string getMessage()const; + std::string getDynamicCode()const; + std::vector getTemplateType()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::vector getFontType()const; + std::string getErrorMessage()const; + std::vector getSizeType()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector categoryField_; + std::vector deviceType_; + std::string message_; + std::string dynamicCode_; + std::vector templateType_; + std::string errorCode_; + std::string dynamicMessage_; + std::vector fontType_; + std::string errorMessage_; + std::vector sizeType_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsRequest.h new file mode 100644 index 000000000..32acc6be6 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsRequest.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_DESCRIBECOMPANYTEMPLATEVERSIONSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVERSIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateVersionsRequest : public RpcServiceRequest + { + + public: + DescribeCompanyTemplateVersionsRequest(); + ~DescribeCompanyTemplateVersionsRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVERSIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsResult.h new file mode 100644 index 000000000..f9824d123 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateVersionsResult.h @@ -0,0 +1,75 @@ +/* + * 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_DESCRIBECOMPANYTEMPLATEVERSIONSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVERSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateVersionsResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string version; + }; + + + DescribeCompanyTemplateVersionsResult(); + explicit DescribeCompanyTemplateVersionsResult(const std::string &payload); + ~DescribeCompanyTemplateVersionsResult(); + int getTotalCount()const; + std::vector getVersions()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 versions_; + 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_DESCRIBECOMPANYTEMPLATEVERSIONSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewRequest.h new file mode 100644 index 000000000..9d4288dc3 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewRequest.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_DESCRIBECOMPANYTEMPLATEVIEWREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateViewRequest : public RpcServiceRequest + { + + public: + DescribeCompanyTemplateViewRequest(); + ~DescribeCompanyTemplateViewRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + + private: + std::string extraParams_; + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVIEWREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewResult.h new file mode 100644 index 000000000..efa8ff74f --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyTemplateViewResult.h @@ -0,0 +1,65 @@ +/* + * 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_DESCRIBECOMPANYTEMPLATEVIEWRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyTemplateViewResult : public ServiceResult + { + public: + + + DescribeCompanyTemplateViewResult(); + explicit DescribeCompanyTemplateViewResult(const std::string &payload); + ~DescribeCompanyTemplateViewResult(); + std::string getMessage()const; + std::string getData()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 data_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYTEMPLATEVIEWRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h index 0435efe13..4b7f080f2 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setEslBarCode(const std::string& eslBarCode); int getPageSize()const; void setPageSize(int pageSize); + std::string getTypeEncode()const; + void setTypeEncode(const std::string& typeEncode); std::string getEslStatus()const; void setEslStatus(const std::string& eslStatus); int getToBatteryLevel()const; @@ -61,6 +63,7 @@ namespace AlibabaCloud int pageNumber_; std::string eslBarCode_; int pageSize_; + std::string typeEncode_; std::string eslStatus_; int toBatteryLevel_; int fromBatteryLevel_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h index b1dc20904..d7a452383 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h @@ -34,15 +34,16 @@ namespace AlibabaCloud public: struct EslDeviceInfo { - std::string eslBarCode; std::string type; + std::string eslBarCode; int eslSignal; int batteryLevel; std::string storeId; + std::string typeEncode; std::string model; int screenWidth; - std::string eslStatus; int screenHeight; + std::string eslStatus; std::string lastCommunicateTime; std::string mac; }; @@ -52,8 +53,8 @@ namespace AlibabaCloud explicit DescribeEslDevicesResult(const std::string &payload); ~DescribeEslDevicesResult(); int getTotalCount()const; - int getPageSize()const; std::string getMessage()const; + int getPageSize()const; int getPageNumber()const; std::vector getEslDevices()const; std::string getDynamicCode()const; @@ -67,8 +68,8 @@ namespace AlibabaCloud void parse(const std::string &payload); private: int totalCount_; - int pageSize_; std::string message_; + int pageSize_; int pageNumber_; std::vector eslDevices_; std::string dynamicCode_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionRequest.h new file mode 100644 index 000000000..6ba724133 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionRequest.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_DESCRIBEESLMODELBYTEMPLATEVERSIONREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLMODELBYTEMPLATEVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEslModelByTemplateVersionRequest : public RpcServiceRequest + { + + public: + DescribeEslModelByTemplateVersionRequest(); + ~DescribeEslModelByTemplateVersionRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + int pageNumber_; + std::string templateVersion_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLMODELBYTEMPLATEVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionResult.h new file mode 100644 index 000000000..0843f683e --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslModelByTemplateVersionResult.h @@ -0,0 +1,83 @@ +/* + * 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_DESCRIBEESLMODELBYTEMPLATEVERSIONRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLMODELBYTEMPLATEVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEslModelByTemplateVersionResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string deviceType; + std::string eslPhysicalSize; + int screenWidth; + std::string vendor; + std::string eslSize; + std::string image; + int screenHeight; + std::string modelId; + std::string name; + }; + + + DescribeEslModelByTemplateVersionResult(); + explicit DescribeEslModelByTemplateVersionResult(const std::string &payload); + ~DescribeEslModelByTemplateVersionResult(); + std::vector getEslModels()const; + int getTotalCount()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: + std::vector eslModels_; + int totalCount_; + 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_DESCRIBEESLMODELBYTEMPLATEVERSIONRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonRequest.h new file mode 100644 index 000000000..4dc335a7b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonRequest.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_DESCRIBEEVENTREASONREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTREASONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEventReasonRequest : public RpcServiceRequest + { + + public: + DescribeEventReasonRequest(); + ~DescribeEventReasonRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + + private: + std::string extraParams_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTREASONREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonResult.h new file mode 100644 index 000000000..27f0974cb --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventReasonResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTREASONRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTREASONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEventReasonResult : public ServiceResult + { + public: + struct EventReason + { + std::string category; + std::vector reasonI18ns; + std::vector reasons; + }; + + + DescribeEventReasonResult(); + explicit DescribeEventReasonResult(const std::string &payload); + ~DescribeEventReasonResult(); + 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; + std::vector getEventReasons()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_; + std::vector eventReasons_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTREASONRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsRequest.h similarity index 51% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsRequest.h index 13d663463..fd5a2d272 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTSREQUEST_H_ #include #include @@ -28,33 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEslDeviceRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEventsRequest : public RpcServiceRequest { public: - DescribeEslDeviceRequest(); - ~DescribeEslDeviceRequest(); + DescribeEventsRequest(); + ~DescribeEventsRequest(); + std::string getApMac()const; + void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::string getFromDate()const; - void setFromDate(const std::string& fromDate); - std::string getToDate()const; - void setToDate(const std::string& toDate); - long getPageSize()const; - void setPageSize(long pageSize); + std::string getType()const; + void setType(const std::string& type); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStatus()const; + void setStatus(const std::string& status); private: + std::string apMac_; std::string storeId_; - long pageNumber_; - std::string fromDate_; - std::string toDate_; - long pageSize_; + std::string type_; + int pageNumber_; + std::string eslBarCode_; + int pageSize_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsResult.h new file mode 100644 index 000000000..3cbde06a8 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEventsResult.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_DESCRIBEEVENTSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeEventsResult : public ServiceResult + { + public: + struct EventInfoVO + { + std::string status; + std::string category; + std::string staff; + std::string processTime; + std::string apMac; + std::string itemBarCode; + std::string itemId; + std::string reason; + std::string eslBarCode; + std::string storeId; + std::string eventTime; + std::string content; + std::string itemTitle; + std::string eventId; + }; + + + DescribeEventsResult(); + explicit DescribeEventsResult(const std::string &payload); + ~DescribeEventsResult(); + int getTotalCount()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getItems()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 items_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEEVENTSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsRequest.h new file mode 100644 index 000000000..832ac29bb --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsRequest.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_DESCRIBEITEMMATERIALSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMMATERIALSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeItemMaterialsRequest : public RpcServiceRequest + { + + public: + DescribeItemMaterialsRequest(); + ~DescribeItemMaterialsRequest(); + + std::string getMaterialName()const; + void setMaterialName(const std::string& materialName); + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBarCode()const; + void setBarCode(const std::string& barCode); + std::string getItemName()const; + void setItemName(const std::string& itemName); + + private: + std::string materialName_; + std::string materialId_; + int pageNumber_; + int pageSize_; + std::string barCode_; + std::string itemName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMMATERIALSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsResult.h new file mode 100644 index 000000000..1f84c116d --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemMaterialsResult.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_DESCRIBEITEMMATERIALSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMMATERIALSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeItemMaterialsResult : public ServiceResult + { + public: + struct ItemMaterialInfo + { + std::string gmtCreate; + std::string barCode; + std::string itemName; + }; + + + DescribeItemMaterialsResult(); + explicit DescribeItemMaterialsResult(const std::string &payload); + ~DescribeItemMaterialsResult(); + int getTotalCount()const; + int getPageSize()const; + std::string getMessage()const; + int getPageNumber()const; + std::vector getMaterials()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_; + int pageSize_; + std::string message_; + int pageNumber_; + std::vector materials_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMMATERIALSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h index 17f9f7b40..39c2fc15d 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h @@ -38,22 +38,33 @@ namespace AlibabaCloud int originalPrice; std::string promotionStart; std::string itemId; - std::string promotionEnd; std::string brandName; + std::string customizeFeatureZ; + std::string promotionEnd; std::string energyEfficiency; + std::string customizeFeatureY; std::string inventoryStatus; + std::string customizeFeatureX; + std::string customizeFeatureW; + std::string customizeFeatureV; + std::string customizeFeatureU; + std::string customizeFeatureT; + std::string customizeFeatureS; std::string manufacturer; std::string taxFee; - std::string customizeFeatureJ; std::string modelNumber; + std::string customizeFeatureJ; std::string customizeFeatureI; std::string customizeFeatureH; - std::string customizeFeatureG; std::string promotionReason; + std::string customizeFeatureG; std::string customizeFeatureF; std::string customizeFeatureE; std::string customizeFeatureD; std::string customizeFeatureC; + std::string customizeFeatureR; + std::string customizeFeatureQ; + std::string customizeFeatureP; std::string customizeFeatureO; std::string customizeFeatureN; std::string customizeFeatureM; @@ -80,8 +91,8 @@ namespace AlibabaCloud std::string productionPlace; std::string forestFirstId; int actionPrice; - std::string material; std::string rank; + std::string material; std::string forestSecondId; std::string promotionText; std::string priceUnit; @@ -100,10 +111,10 @@ namespace AlibabaCloud int getPageNumber()const; std::vector getItems()const; std::string getDynamicCode()const; - std::string getErrorCode()const; std::string getDynamicMessage()const; - std::string getErrorMessage()const; + std::string getErrorCode()const; std::string getTemplateSceneId()const; + std::string getErrorMessage()const; std::string getCode()const; bool getSuccess()const; @@ -116,10 +127,10 @@ namespace AlibabaCloud int pageNumber_; std::vector items_; std::string dynamicCode_; - std::string errorCode_; std::string dynamicMessage_; - std::string errorMessage_; + std::string errorCode_; std::string templateSceneId_; + std::string errorMessage_; std::string code_; bool success_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsRequest.h new file mode 100644 index 000000000..2671a4414 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsRequest.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_DESCRIBEMATERIALSREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEMATERIALSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeMaterialsRequest : public RpcServiceRequest + { + + public: + DescribeMaterialsRequest(); + ~DescribeMaterialsRequest(); + + std::string getSource()const; + void setSource(const std::string& source); + int getType()const; + void setType(int type); + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSize()const; + void setSize(const std::string& size); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string source_; + int type_; + std::string materialId_; + int pageNumber_; + int pageSize_; + std::string size_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEMATERIALSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsResult.h new file mode 100644 index 000000000..d222efe3b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeMaterialsResult.h @@ -0,0 +1,82 @@ +/* + * 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_DESCRIBEMATERIALSRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEMATERIALSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeMaterialsResult : public ServiceResult + { + public: + struct Material + { + std::string materialId; + int type; + std::string size; + std::string content; + int period; + std::string thumbnail; + std::string source; + std::string name; + }; + + + DescribeMaterialsResult(); + explicit DescribeMaterialsResult(const std::string &payload); + ~DescribeMaterialsResult(); + int getTotalCount()const; + int getPageSize()const; + std::string getMessage()const; + int getPageNumber()const; + std::vector getMaterials()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_; + int pageSize_; + std::string message_; + int pageNumber_; + std::vector materials_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEMATERIALSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigRequest.h similarity index 68% rename from cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigRequest.h index d83c36f31..b18d39fc4 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT ConfirmServerLocationRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeNotificationConfigRequest : public RpcServiceRequest { public: - ConfirmServerLocationRequest(); - ~ConfirmServerLocationRequest(); + DescribeNotificationConfigRequest(); + ~DescribeNotificationConfigRequest(); private: @@ -42,4 +42,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigResult.h new file mode 100644 index 000000000..bffa4d24c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeNotificationConfigResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeNotificationConfigResult : public ServiceResult + { + public: + + + DescribeNotificationConfigResult(); + explicit DescribeNotificationConfigResult(const std::string &payload); + ~DescribeNotificationConfigResult(); + std::string getMessage()const; + std::string getEndpoint()const; + bool getEnable()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getTag()const; + std::string getErrorMessage()const; + std::string getTopic()const; + std::string getCode()const; + bool getSuccess()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string endpoint_; + bool enable_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string tag_; + std::string errorMessage_; + std::string topic_; + std::string code_; + bool success_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBENOTIFICATIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionRequest.h new file mode 100644 index 000000000..58e65af5b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionRequest.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_DESCRIBESTOREBYTEMPLATEVERSIONREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTOREBYTEMPLATEVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeStoreByTemplateVersionRequest : public RpcServiceRequest + { + + public: + DescribeStoreByTemplateVersionRequest(); + ~DescribeStoreByTemplateVersionRequest(); + + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + + private: + std::string templateVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTOREBYTEMPLATEVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionResult.h new file mode 100644 index 000000000..353b379e6 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreByTemplateVersionResult.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_DESCRIBESTOREBYTEMPLATEVERSIONRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTOREBYTEMPLATEVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeStoreByTemplateVersionResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string parentId; + std::string userStoreCode; + std::string timeZone; + std::string storeName; + std::string storeId; + std::string phone; + std::string gmtModified; + std::string templateVersion; + std::string level; + }; + + + DescribeStoreByTemplateVersionResult(); + explicit DescribeStoreByTemplateVersionResult(const std::string &payload); + ~DescribeStoreByTemplateVersionResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::vector getStores()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::vector stores_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTOREBYTEMPLATEVERSIONRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h index 2b7092149..43775d042 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h @@ -34,8 +34,17 @@ namespace AlibabaCloud public: struct StoreConfigInfo { + struct SubscribeContent + { + std::string category; + bool atAll; + bool enable; + std::string atMobileList; + std::string threshold; + }; std::string storeId; bool enableNotification; + std::vector subscribeContents; std::string notificationSilentTimes; std::string notificationWebHook; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelRequest.h new file mode 100644 index 000000000..7b8503bae --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelRequest.h @@ -0,0 +1,60 @@ +/* + * 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_DESCRIBETEMPLATEBYMODELREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBETEMPLATEBYMODELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeTemplateByModelRequest : public RpcServiceRequest + { + + public: + DescribeTemplateByModelRequest(); + ~DescribeTemplateByModelRequest(); + + std::string getEslSize()const; + void setEslSize(const std::string& eslSize); + std::string getDeviceType()const; + void setDeviceType(const std::string& deviceType); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getTemplateVersion()const; + void setTemplateVersion(const std::string& templateVersion); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string eslSize_; + std::string deviceType_; + int pageNumber_; + std::string templateVersion_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBETEMPLATEBYMODELREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.h new file mode 100644 index 000000000..21d90ad4b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeTemplateByModelResult.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_DESCRIBETEMPLATEBYMODELRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBETEMPLATEBYMODELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeTemplateByModelResult : public ServiceResult + { + public: + struct SelectItemInfo + { + std::string brand; + std::string layout; + std::string templateName; + std::string templateVersion; + std::string basePicture; + long height; + std::string eslSize; + std::string scene; + std::string eslType; + long width; + std::string templateId; + }; + + + DescribeTemplateByModelResult(); + explicit DescribeTemplateByModelResult(const std::string &payload); + ~DescribeTemplateByModelResult(); + int getTotalCount()const; + std::string getMessage()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getItems()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 items_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBETEMPLATEBYMODELRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h index c5926106d..533957a62 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h @@ -35,18 +35,19 @@ namespace AlibabaCloud struct UserLogInfo { std::string operationResponseTime; - std::string gmtModified; std::string actionPrice; + std::string gmtModified; std::string operationSendTime; std::string itemBarCode; std::string spendTime; std::string itemId; - std::string gmtCreate; std::string eslBarCode; + std::string gmtCreate; int eslSignal; std::string priceUnit; std::string itemShortTitle; std::string storeId; + std::string i18nResultKey; std::string userId; std::string operationStatus; std::string operationType; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h new file mode 100644 index 000000000..b7c33b81f --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_EXPORTESLDEVICESREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_EXPORTESLDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ExportEslDevicesRequest : public RpcServiceRequest + { + + public: + ExportEslDevicesRequest(); + ~ExportEslDevicesRequest(); + + std::string getExtraParams()const; + void setExtraParams(const std::string& extraParams); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getType()const; + void setType(const std::string& type); + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + std::string getTypeEncode()const; + void setTypeEncode(const std::string& typeEncode); + std::string getEslStatus()const; + void setEslStatus(const std::string& eslStatus); + int getToBatteryLevel()const; + void setToBatteryLevel(int toBatteryLevel); + std::string getLevelLower()const; + void setLevelLower(const std::string& levelLower); + int getFromBatteryLevel()const; + void setFromBatteryLevel(int fromBatteryLevel); + std::string getLevelOrder()const; + void setLevelOrder(const std::string& levelOrder); + + private: + std::string extraParams_; + std::string language_; + std::string type_; + std::string storeId_; + std::string eslBarCode_; + std::string typeEncode_; + std::string eslStatus_; + int toBatteryLevel_; + std::string levelLower_; + int fromBatteryLevel_; + std::string levelOrder_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_EXPORTESLDEVICESREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesResult.h new file mode 100644 index 000000000..d01854054 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/ExportEslDevicesResult.h @@ -0,0 +1,65 @@ +/* + * 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_EXPORTESLDEVICESRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_EXPORTESLDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT ExportEslDevicesResult : public ServiceResult + { + public: + + + ExportEslDevicesResult(); + explicit ExportEslDevicesResult(const std::string &payload); + ~ExportEslDevicesResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getDownloadAddress()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 downloadAddress_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_EXPORTESLDEVICESRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobRequest.h new file mode 100644 index 000000000..ac9536784 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobRequest.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_GETCOMPANYTEMPLATEPICTUREBYJOBREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREBYJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureByJobRequest : public RpcServiceRequest + { + + public: + GetCompanyTemplatePictureByJobRequest(); + ~GetCompanyTemplatePictureByJobRequest(); + + std::string getJobId()const; + void setJobId(const std::string& jobId); + + private: + std::string jobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREBYJOBREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobResult.h new file mode 100644 index 000000000..b92b5a580 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREBYJOBRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREBYJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureByJobResult : public ServiceResult + { + public: + + + GetCompanyTemplatePictureByJobResult(); + explicit GetCompanyTemplatePictureByJobResult(const std::string &payload); + ~GetCompanyTemplatePictureByJobResult(); + 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 getBase64Picture()const; + std::string getCode()const; + std::string getJobId()const; + std::string getUrl()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string type_; + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string base64Picture_; + std::string code_; + std::string jobId_; + std::string url_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREBYJOBRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewRequest.h new file mode 100644 index 000000000..13465edd2 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewRequest.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_GETCOMPANYTEMPLATEPICTURENEWREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURENEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureNewRequest : public RpcServiceRequest + { + + public: + GetCompanyTemplatePictureNewRequest(); + ~GetCompanyTemplatePictureNewRequest(); + + std::string getData()const; + void setData(const std::string& data); + + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURENEWREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewResult.h new file mode 100644 index 000000000..7fb70fb9d --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURENEWRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURENEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureNewResult : public ServiceResult + { + public: + + + GetCompanyTemplatePictureNewResult(); + explicit GetCompanyTemplatePictureNewResult(const std::string &payload); + ~GetCompanyTemplatePictureNewResult(); + 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 getBase64Picture()const; + std::string getCode()const; + std::string getJobId()const; + std::string getUrl()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string type_; + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string base64Picture_; + std::string code_; + std::string jobId_; + std::string url_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURENEWRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureRequest.h new file mode 100644 index 000000000..3d7f210cd --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureRequest.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_GETCOMPANYTEMPLATEPICTUREREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureRequest : public RpcServiceRequest + { + + public: + GetCompanyTemplatePictureRequest(); + ~GetCompanyTemplatePictureRequest(); + + 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_GETCOMPANYTEMPLATEPICTUREREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureResult.h new file mode 100644 index 000000000..a694d54d5 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureResult.h @@ -0,0 +1,65 @@ +/* + * 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_GETCOMPANYTEMPLATEPICTURERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetCompanyTemplatePictureResult : public ServiceResult + { + public: + + + GetCompanyTemplatePictureResult(); + explicit GetCompanyTemplatePictureResult(const std::string &payload); + ~GetCompanyTemplatePictureResult(); + std::string getMessage()const; + std::string getDynamicCode()const; + std::string getErrorCode()const; + std::string getDynamicMessage()const; + std::string getErrorMessage()const; + std::string getCode()const; + std::string getBase64Picture()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_; + std::string base64Picture_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETCOMPANYTEMPLATEPICTURERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialRequest.h new file mode 100644 index 000000000..7521ae1b7 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialRequest.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_GETITEMMATERIALREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETITEMMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetItemMaterialRequest : public RpcServiceRequest + { + + public: + GetItemMaterialRequest(); + ~GetItemMaterialRequest(); + + std::string getBarCode()const; + void setBarCode(const std::string& barCode); + + private: + std::string barCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETITEMMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialResult.h new file mode 100644 index 000000000..b0b620f0e --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/GetItemMaterialResult.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_GETITEMMATERIALRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_GETITEMMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT GetItemMaterialResult : public ServiceResult + { + public: + struct MaterialInfo + { + std::string gmtCreate; + std::string materialId; + std::string materialFeatureC; + std::string materialFeatureD; + std::string materialFeatureA; + std::string materialFeatureB; + std::string barCode; + std::string itemName; + std::string materialName; + }; + + + GetItemMaterialResult(); + explicit GetItemMaterialResult(const std::string &payload); + ~GetItemMaterialResult(); + std::string getMessage()const; + MaterialInfo getMaterialInfo()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_; + MaterialInfo materialInfo_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETITEMMATERIALRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialRequest.h new file mode 100644 index 000000000..49d4f52c9 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialRequest.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_SYNCADDMATERIALREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SYNCADDMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SyncAddMaterialRequest : public RpcServiceRequest + { + + public: + SyncAddMaterialRequest(); + ~SyncAddMaterialRequest(); + + std::string getContent()const; + void setContent(const std::string& content); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string content_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SYNCADDMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialResult.h b/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialResult.h new file mode 100644 index 000000000..370291d34 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/SyncAddMaterialResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_SYNCADDMATERIALRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SYNCADDMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT SyncAddMaterialResult : public ServiceResult + { + public: + struct Result + { + std::string message; + std::string dynamicCode; + std::string dynamicMessage; + std::string errorCode; + bool success; + }; + + + SyncAddMaterialResult(); + explicit SyncAddMaterialResult(const std::string &payload); + ~SyncAddMaterialResult(); + 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; + Result getResult()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_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SYNCADDMATERIALRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.h new file mode 100644 index 000000000..2a473b507 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.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_UPDATEITEMMATERIALREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEITEMMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateItemMaterialRequest : public RpcServiceRequest + { + + public: + UpdateItemMaterialRequest(); + ~UpdateItemMaterialRequest(); + + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + std::string getBarCode()const; + void setBarCode(const std::string& barCode); + std::string getItemName()const; + void setItemName(const std::string& itemName); + std::string getMaterialFeatureA()const; + void setMaterialFeatureA(const std::string& materialFeatureA); + std::string getMaterialFeatureB()const; + void setMaterialFeatureB(const std::string& materialFeatureB); + std::string getMaterialFeatureC()const; + void setMaterialFeatureC(const std::string& materialFeatureC); + std::string getMaterialFeatureD()const; + void setMaterialFeatureD(const std::string& materialFeatureD); + + private: + std::string materialId_; + std::string barCode_; + std::string itemName_; + std::string materialFeatureA_; + std::string materialFeatureB_; + std::string materialFeatureC_; + std::string materialFeatureD_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEITEMMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialResult.h new file mode 100644 index 000000000..f8a1ab4b7 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateItemMaterialResult.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_UPDATEITEMMATERIALRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEITEMMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateItemMaterialResult : public ServiceResult + { + public: + + + UpdateItemMaterialResult(); + explicit UpdateItemMaterialResult(const std::string &payload); + ~UpdateItemMaterialResult(); + 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_UPDATEITEMMATERIALRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigRequest.h new file mode 100644 index 000000000..db35c2ce4 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigRequest.h @@ -0,0 +1,60 @@ +/* + * 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_UPDATENOTIFICATIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATENOTIFICATIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateNotificationConfigRequest : public RpcServiceRequest + { + + public: + UpdateNotificationConfigRequest(); + ~UpdateNotificationConfigRequest(); + + std::string getEndpoint()const; + void setEndpoint(const std::string& endpoint); + bool getEnable()const; + void setEnable(bool enable); + std::string getTag()const; + void setTag(const std::string& tag); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getTopic()const; + void setTopic(const std::string& topic); + + private: + std::string endpoint_; + bool enable_; + std::string tag_; + std::string groupId_; + std::string topic_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATENOTIFICATIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigResult.h new file mode 100644 index 000000000..9422b0dd8 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateNotificationConfigResult.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_UPDATENOTIFICATIONCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATENOTIFICATIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UpdateNotificationConfigResult : public ServiceResult + { + public: + + + UpdateNotificationConfigResult(); + explicit UpdateNotificationConfigResult(const std::string &payload); + ~UpdateNotificationConfigResult(); + 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_UPDATENOTIFICATIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h index b665190ad..8508839cb 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); + std::string getSubscribeContents()const; + void setSubscribeContents(const std::string& subscribeContents); bool getEnableNotification()const; void setEnableNotification(bool enableNotification); std::string getNotificationWebHook()const; @@ -49,6 +51,7 @@ namespace AlibabaCloud private: std::string extraParams_; std::string storeId_; + std::string subscribeContents_; bool enableNotification_; std::string notificationWebHook_; std::string notificationSilentTimes_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigRequest.h new file mode 100644 index 000000000..ed6f06e6b --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigRequest.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_VERIFYNOTIFICATIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_VERIFYNOTIFICATIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT VerifyNotificationConfigRequest : public RpcServiceRequest + { + + public: + VerifyNotificationConfigRequest(); + ~VerifyNotificationConfigRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getEndpoint()const; + void setEndpoint(const std::string& endpoint); + std::string getTopic()const; + void setTopic(const std::string& topic); + std::string getTag()const; + void setTag(const std::string& tag); + + private: + std::string groupId_; + std::string endpoint_; + std::string topic_; + std::string tag_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_VERIFYNOTIFICATIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigResult.h b/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigResult.h new file mode 100644 index 000000000..a09530d9f --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/VerifyNotificationConfigResult.h @@ -0,0 +1,69 @@ +/* + * 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_VERIFYNOTIFICATIONCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_VERIFYNOTIFICATIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT VerifyNotificationConfigResult : public ServiceResult + { + public: + + + VerifyNotificationConfigResult(); + explicit VerifyNotificationConfigResult(const std::string &payload); + ~VerifyNotificationConfigResult(); + std::string getSendTime()const; + std::string getExceptionMessage()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; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + std::string sendTime_; + std::string exceptionMessage_; + std::string message_; + std::string dynamicCode_; + std::string errorCode_; + std::string dynamicMessage_; + std::string errorMessage_; + std::string code_; + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_VERIFYNOTIFICATIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/src/CloudeslClient.cc b/cloudesl/src/CloudeslClient.cc index abe5f7916..cc702029a 100644 --- a/cloudesl/src/CloudeslClient.cc +++ b/cloudesl/src/CloudeslClient.cc @@ -31,21 +31,21 @@ CloudeslClient::CloudeslClient(const Credentials &credentials, const ClientConfi RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cloudesl"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } CloudeslClient::CloudeslClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cloudesl"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } CloudeslClient::CloudeslClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cloudesl"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } CloudeslClient::~CloudeslClient() @@ -123,6 +123,78 @@ CloudeslClient::AddApDeviceOutcomeCallable CloudeslClient::addApDeviceCallable(c return task->get_future(); } +CloudeslClient::AddCompanyTemplateOutcome CloudeslClient::addCompanyTemplate(const AddCompanyTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCompanyTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCompanyTemplateOutcome(AddCompanyTemplateResult(outcome.result())); + else + return AddCompanyTemplateOutcome(outcome.error()); +} + +void CloudeslClient::addCompanyTemplateAsync(const AddCompanyTemplateRequest& request, const AddCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCompanyTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::AddCompanyTemplateOutcomeCallable CloudeslClient::addCompanyTemplateCallable(const AddCompanyTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCompanyTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::AddMaterialOutcome CloudeslClient::addMaterial(const AddMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddMaterialOutcome(AddMaterialResult(outcome.result())); + else + return AddMaterialOutcome(outcome.error()); +} + +void CloudeslClient::addMaterialAsync(const AddMaterialRequest& request, const AddMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::AddMaterialOutcomeCallable CloudeslClient::addMaterialCallable(const AddMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::AddUserOutcome CloudeslClient::addUser(const AddUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +231,78 @@ CloudeslClient::AddUserOutcomeCallable CloudeslClient::addUserCallable(const Add return task->get_future(); } +CloudeslClient::ApplyCompanyTemplateVersionToStoresOutcome CloudeslClient::applyCompanyTemplateVersionToStores(const ApplyCompanyTemplateVersionToStoresRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyCompanyTemplateVersionToStoresOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyCompanyTemplateVersionToStoresOutcome(ApplyCompanyTemplateVersionToStoresResult(outcome.result())); + else + return ApplyCompanyTemplateVersionToStoresOutcome(outcome.error()); +} + +void CloudeslClient::applyCompanyTemplateVersionToStoresAsync(const ApplyCompanyTemplateVersionToStoresRequest& request, const ApplyCompanyTemplateVersionToStoresAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyCompanyTemplateVersionToStores(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::ApplyCompanyTemplateVersionToStoresOutcomeCallable CloudeslClient::applyCompanyTemplateVersionToStoresCallable(const ApplyCompanyTemplateVersionToStoresRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyCompanyTemplateVersionToStores(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::ApplyImageDitheringOutcome CloudeslClient::applyImageDithering(const ApplyImageDitheringRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyImageDitheringOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyImageDitheringOutcome(ApplyImageDitheringResult(outcome.result())); + else + return ApplyImageDitheringOutcome(outcome.error()); +} + +void CloudeslClient::applyImageDitheringAsync(const ApplyImageDitheringRequest& request, const ApplyImageDitheringAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyImageDithering(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::ApplyImageDitheringOutcomeCallable CloudeslClient::applyImageDitheringCallable(const ApplyImageDitheringRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyImageDithering(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::AssignUserOutcome CloudeslClient::assignUser(const AssignUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +375,42 @@ CloudeslClient::BatchInsertItemsOutcomeCallable CloudeslClient::batchInsertItems return task->get_future(); } +CloudeslClient::BatchUpdateEventOutcome CloudeslClient::batchUpdateEvent(const BatchUpdateEventRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUpdateEventOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUpdateEventOutcome(BatchUpdateEventResult(outcome.result())); + else + return BatchUpdateEventOutcome(outcome.error()); +} + +void CloudeslClient::batchUpdateEventAsync(const BatchUpdateEventRequest& request, const BatchUpdateEventAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUpdateEvent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::BatchUpdateEventOutcomeCallable CloudeslClient::batchUpdateEventCallable(const BatchUpdateEventRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUpdateEvent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::BindEslDeviceOutcome CloudeslClient::bindEslDevice(const BindEslDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,36 +447,36 @@ CloudeslClient::BindEslDeviceOutcomeCallable CloudeslClient::bindEslDeviceCallab return task->get_future(); } -CloudeslClient::ConfirmServerLocationOutcome CloudeslClient::confirmServerLocation(const ConfirmServerLocationRequest &request) const +CloudeslClient::CheckServiceLinkedRoleForDeletingOutcome CloudeslClient::checkServiceLinkedRoleForDeleting(const CheckServiceLinkedRoleForDeletingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ConfirmServerLocationOutcome(endpointOutcome.error()); + return CheckServiceLinkedRoleForDeletingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ConfirmServerLocationOutcome(ConfirmServerLocationResult(outcome.result())); + return CheckServiceLinkedRoleForDeletingOutcome(CheckServiceLinkedRoleForDeletingResult(outcome.result())); else - return ConfirmServerLocationOutcome(outcome.error()); + return CheckServiceLinkedRoleForDeletingOutcome(outcome.error()); } -void CloudeslClient::confirmServerLocationAsync(const ConfirmServerLocationRequest& request, const ConfirmServerLocationAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::checkServiceLinkedRoleForDeletingAsync(const CheckServiceLinkedRoleForDeletingRequest& request, const CheckServiceLinkedRoleForDeletingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, confirmServerLocation(request), context); + handler(this, request, checkServiceLinkedRoleForDeleting(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::ConfirmServerLocationOutcomeCallable CloudeslClient::confirmServerLocationCallable(const ConfirmServerLocationRequest &request) const +CloudeslClient::CheckServiceLinkedRoleForDeletingOutcomeCallable CloudeslClient::checkServiceLinkedRoleForDeletingCallable(const CheckServiceLinkedRoleForDeletingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->confirmServerLocation(request); + return this->checkServiceLinkedRoleForDeleting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -375,6 +555,42 @@ CloudeslClient::DeleteApDeviceOutcomeCallable CloudeslClient::deleteApDeviceCall return task->get_future(); } +CloudeslClient::DeleteCompanyTemplateOutcome CloudeslClient::deleteCompanyTemplate(const DeleteCompanyTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCompanyTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCompanyTemplateOutcome(DeleteCompanyTemplateResult(outcome.result())); + else + return DeleteCompanyTemplateOutcome(outcome.error()); +} + +void CloudeslClient::deleteCompanyTemplateAsync(const DeleteCompanyTemplateRequest& request, const DeleteCompanyTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCompanyTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DeleteCompanyTemplateOutcomeCallable CloudeslClient::deleteCompanyTemplateCallable(const DeleteCompanyTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCompanyTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DeleteItemOutcome CloudeslClient::deleteItem(const DeleteItemRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +627,42 @@ CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(con return task->get_future(); } +CloudeslClient::DeleteMaterialOutcome CloudeslClient::deleteMaterial(const DeleteMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteMaterialOutcome(DeleteMaterialResult(outcome.result())); + else + return DeleteMaterialOutcome(outcome.error()); +} + +void CloudeslClient::deleteMaterialAsync(const DeleteMaterialRequest& request, const DeleteMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DeleteMaterialOutcomeCallable CloudeslClient::deleteMaterialCallable(const DeleteMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DeleteStoreOutcome CloudeslClient::deleteStore(const DeleteStoreRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +771,42 @@ CloudeslClient::DescribeApDevicesOutcomeCallable CloudeslClient::describeApDevic return task->get_future(); } +CloudeslClient::DescribeAvailableEslModelsOutcome CloudeslClient::describeAvailableEslModels(const DescribeAvailableEslModelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAvailableEslModelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAvailableEslModelsOutcome(DescribeAvailableEslModelsResult(outcome.result())); + else + return DescribeAvailableEslModelsOutcome(outcome.error()); +} + +void CloudeslClient::describeAvailableEslModelsAsync(const DescribeAvailableEslModelsRequest& request, const DescribeAvailableEslModelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAvailableEslModels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeAvailableEslModelsOutcomeCallable CloudeslClient::describeAvailableEslModelsCallable(const DescribeAvailableEslModelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAvailableEslModels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DescribeBindersOutcome CloudeslClient::describeBinders(const DescribeBindersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,72 +843,108 @@ CloudeslClient::DescribeBindersOutcomeCallable CloudeslClient::describeBindersCa return task->get_future(); } -CloudeslClient::DescribeClientPackageOutcome CloudeslClient::describeClientPackage(const DescribeClientPackageRequest &request) const +CloudeslClient::DescribeCompanyTemplateAttributeOutcome CloudeslClient::describeCompanyTemplateAttribute(const DescribeCompanyTemplateAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeClientPackageOutcome(endpointOutcome.error()); + return DescribeCompanyTemplateAttributeOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeClientPackageOutcome(DescribeClientPackageResult(outcome.result())); + return DescribeCompanyTemplateAttributeOutcome(DescribeCompanyTemplateAttributeResult(outcome.result())); else - return DescribeClientPackageOutcome(outcome.error()); + return DescribeCompanyTemplateAttributeOutcome(outcome.error()); } -void CloudeslClient::describeClientPackageAsync(const DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::describeCompanyTemplateAttributeAsync(const DescribeCompanyTemplateAttributeRequest& request, const DescribeCompanyTemplateAttributeAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeClientPackage(request), context); + handler(this, request, describeCompanyTemplateAttribute(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DescribeClientPackageOutcomeCallable CloudeslClient::describeClientPackageCallable(const DescribeClientPackageRequest &request) const +CloudeslClient::DescribeCompanyTemplateAttributeOutcomeCallable CloudeslClient::describeCompanyTemplateAttributeCallable(const DescribeCompanyTemplateAttributeRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeClientPackage(request); + return this->describeCompanyTemplateAttribute(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::DescribeEslDeviceOutcome CloudeslClient::describeEslDevice(const DescribeEslDeviceRequest &request) const +CloudeslClient::DescribeCompanyTemplateVersionsOutcome CloudeslClient::describeCompanyTemplateVersions(const DescribeCompanyTemplateVersionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeEslDeviceOutcome(endpointOutcome.error()); + return DescribeCompanyTemplateVersionsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeEslDeviceOutcome(DescribeEslDeviceResult(outcome.result())); + return DescribeCompanyTemplateVersionsOutcome(DescribeCompanyTemplateVersionsResult(outcome.result())); else - return DescribeEslDeviceOutcome(outcome.error()); + return DescribeCompanyTemplateVersionsOutcome(outcome.error()); } -void CloudeslClient::describeEslDeviceAsync(const DescribeEslDeviceRequest& request, const DescribeEslDeviceAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::describeCompanyTemplateVersionsAsync(const DescribeCompanyTemplateVersionsRequest& request, const DescribeCompanyTemplateVersionsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeEslDevice(request), context); + handler(this, request, describeCompanyTemplateVersions(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DescribeEslDeviceOutcomeCallable CloudeslClient::describeEslDeviceCallable(const DescribeEslDeviceRequest &request) const +CloudeslClient::DescribeCompanyTemplateVersionsOutcomeCallable CloudeslClient::describeCompanyTemplateVersionsCallable(const DescribeCompanyTemplateVersionsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeEslDevice(request); + return this->describeCompanyTemplateVersions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeCompanyTemplateViewOutcome CloudeslClient::describeCompanyTemplateView(const DescribeCompanyTemplateViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCompanyTemplateViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCompanyTemplateViewOutcome(DescribeCompanyTemplateViewResult(outcome.result())); + else + return DescribeCompanyTemplateViewOutcome(outcome.error()); +} + +void CloudeslClient::describeCompanyTemplateViewAsync(const DescribeCompanyTemplateViewRequest& request, const DescribeCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCompanyTemplateView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeCompanyTemplateViewOutcomeCallable CloudeslClient::describeCompanyTemplateViewCallable(const DescribeCompanyTemplateViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCompanyTemplateView(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -663,6 +987,150 @@ CloudeslClient::DescribeEslDevicesOutcomeCallable CloudeslClient::describeEslDev return task->get_future(); } +CloudeslClient::DescribeEslModelByTemplateVersionOutcome CloudeslClient::describeEslModelByTemplateVersion(const DescribeEslModelByTemplateVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEslModelByTemplateVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEslModelByTemplateVersionOutcome(DescribeEslModelByTemplateVersionResult(outcome.result())); + else + return DescribeEslModelByTemplateVersionOutcome(outcome.error()); +} + +void CloudeslClient::describeEslModelByTemplateVersionAsync(const DescribeEslModelByTemplateVersionRequest& request, const DescribeEslModelByTemplateVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEslModelByTemplateVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeEslModelByTemplateVersionOutcomeCallable CloudeslClient::describeEslModelByTemplateVersionCallable(const DescribeEslModelByTemplateVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEslModelByTemplateVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeEventReasonOutcome CloudeslClient::describeEventReason(const DescribeEventReasonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEventReasonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEventReasonOutcome(DescribeEventReasonResult(outcome.result())); + else + return DescribeEventReasonOutcome(outcome.error()); +} + +void CloudeslClient::describeEventReasonAsync(const DescribeEventReasonRequest& request, const DescribeEventReasonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEventReason(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeEventReasonOutcomeCallable CloudeslClient::describeEventReasonCallable(const DescribeEventReasonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEventReason(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeEventsOutcome CloudeslClient::describeEvents(const DescribeEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEventsOutcome(DescribeEventsResult(outcome.result())); + else + return DescribeEventsOutcome(outcome.error()); +} + +void CloudeslClient::describeEventsAsync(const DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeEventsOutcomeCallable CloudeslClient::describeEventsCallable(const DescribeEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeItemMaterialsOutcome CloudeslClient::describeItemMaterials(const DescribeItemMaterialsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeItemMaterialsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeItemMaterialsOutcome(DescribeItemMaterialsResult(outcome.result())); + else + return DescribeItemMaterialsOutcome(outcome.error()); +} + +void CloudeslClient::describeItemMaterialsAsync(const DescribeItemMaterialsRequest& request, const DescribeItemMaterialsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeItemMaterials(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeItemMaterialsOutcomeCallable CloudeslClient::describeItemMaterialsCallable(const DescribeItemMaterialsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeItemMaterials(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DescribeItemsOutcome CloudeslClient::describeItems(const DescribeItemsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +1167,114 @@ CloudeslClient::DescribeItemsOutcomeCallable CloudeslClient::describeItemsCallab return task->get_future(); } +CloudeslClient::DescribeMaterialsOutcome CloudeslClient::describeMaterials(const DescribeMaterialsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMaterialsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMaterialsOutcome(DescribeMaterialsResult(outcome.result())); + else + return DescribeMaterialsOutcome(outcome.error()); +} + +void CloudeslClient::describeMaterialsAsync(const DescribeMaterialsRequest& request, const DescribeMaterialsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMaterials(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeMaterialsOutcomeCallable CloudeslClient::describeMaterialsCallable(const DescribeMaterialsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMaterials(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeNotificationConfigOutcome CloudeslClient::describeNotificationConfig(const DescribeNotificationConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeNotificationConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeNotificationConfigOutcome(DescribeNotificationConfigResult(outcome.result())); + else + return DescribeNotificationConfigOutcome(outcome.error()); +} + +void CloudeslClient::describeNotificationConfigAsync(const DescribeNotificationConfigRequest& request, const DescribeNotificationConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeNotificationConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeNotificationConfigOutcomeCallable CloudeslClient::describeNotificationConfigCallable(const DescribeNotificationConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeNotificationConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DescribeStoreByTemplateVersionOutcome CloudeslClient::describeStoreByTemplateVersion(const DescribeStoreByTemplateVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStoreByTemplateVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStoreByTemplateVersionOutcome(DescribeStoreByTemplateVersionResult(outcome.result())); + else + return DescribeStoreByTemplateVersionOutcome(outcome.error()); +} + +void CloudeslClient::describeStoreByTemplateVersionAsync(const DescribeStoreByTemplateVersionRequest& request, const DescribeStoreByTemplateVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStoreByTemplateVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeStoreByTemplateVersionOutcomeCallable CloudeslClient::describeStoreByTemplateVersionCallable(const DescribeStoreByTemplateVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStoreByTemplateVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DescribeStoreConfigOutcome CloudeslClient::describeStoreConfig(const DescribeStoreConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +1347,42 @@ CloudeslClient::DescribeStoresOutcomeCallable CloudeslClient::describeStoresCall return task->get_future(); } +CloudeslClient::DescribeTemplateByModelOutcome CloudeslClient::describeTemplateByModel(const DescribeTemplateByModelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplateByModelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplateByModelOutcome(DescribeTemplateByModelResult(outcome.result())); + else + return DescribeTemplateByModelOutcome(outcome.error()); +} + +void CloudeslClient::describeTemplateByModelAsync(const DescribeTemplateByModelRequest& request, const DescribeTemplateByModelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplateByModel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DescribeTemplateByModelOutcomeCallable CloudeslClient::describeTemplateByModelCallable(const DescribeTemplateByModelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplateByModel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::DescribeUserLogOutcome CloudeslClient::describeUserLog(const DescribeUserLogRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -843,6 +1455,186 @@ CloudeslClient::DescribeUsersOutcomeCallable CloudeslClient::describeUsersCallab return task->get_future(); } +CloudeslClient::ExportEslDevicesOutcome CloudeslClient::exportEslDevices(const ExportEslDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportEslDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportEslDevicesOutcome(ExportEslDevicesResult(outcome.result())); + else + return ExportEslDevicesOutcome(outcome.error()); +} + +void CloudeslClient::exportEslDevicesAsync(const ExportEslDevicesRequest& request, const ExportEslDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportEslDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::ExportEslDevicesOutcomeCallable CloudeslClient::exportEslDevicesCallable(const ExportEslDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportEslDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::GetCompanyTemplatePictureOutcome CloudeslClient::getCompanyTemplatePicture(const GetCompanyTemplatePictureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCompanyTemplatePictureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCompanyTemplatePictureOutcome(GetCompanyTemplatePictureResult(outcome.result())); + else + return GetCompanyTemplatePictureOutcome(outcome.error()); +} + +void CloudeslClient::getCompanyTemplatePictureAsync(const GetCompanyTemplatePictureRequest& request, const GetCompanyTemplatePictureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCompanyTemplatePicture(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetCompanyTemplatePictureOutcomeCallable CloudeslClient::getCompanyTemplatePictureCallable(const GetCompanyTemplatePictureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCompanyTemplatePicture(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::GetCompanyTemplatePictureByJobOutcome CloudeslClient::getCompanyTemplatePictureByJob(const GetCompanyTemplatePictureByJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCompanyTemplatePictureByJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCompanyTemplatePictureByJobOutcome(GetCompanyTemplatePictureByJobResult(outcome.result())); + else + return GetCompanyTemplatePictureByJobOutcome(outcome.error()); +} + +void CloudeslClient::getCompanyTemplatePictureByJobAsync(const GetCompanyTemplatePictureByJobRequest& request, const GetCompanyTemplatePictureByJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCompanyTemplatePictureByJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetCompanyTemplatePictureByJobOutcomeCallable CloudeslClient::getCompanyTemplatePictureByJobCallable(const GetCompanyTemplatePictureByJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCompanyTemplatePictureByJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::GetCompanyTemplatePictureNewOutcome CloudeslClient::getCompanyTemplatePictureNew(const GetCompanyTemplatePictureNewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCompanyTemplatePictureNewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCompanyTemplatePictureNewOutcome(GetCompanyTemplatePictureNewResult(outcome.result())); + else + return GetCompanyTemplatePictureNewOutcome(outcome.error()); +} + +void CloudeslClient::getCompanyTemplatePictureNewAsync(const GetCompanyTemplatePictureNewRequest& request, const GetCompanyTemplatePictureNewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCompanyTemplatePictureNew(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetCompanyTemplatePictureNewOutcomeCallable CloudeslClient::getCompanyTemplatePictureNewCallable(const GetCompanyTemplatePictureNewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCompanyTemplatePictureNew(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::GetItemMaterialOutcome CloudeslClient::getItemMaterial(const GetItemMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetItemMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetItemMaterialOutcome(GetItemMaterialResult(outcome.result())); + else + return GetItemMaterialOutcome(outcome.error()); +} + +void CloudeslClient::getItemMaterialAsync(const GetItemMaterialRequest& request, const GetItemMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getItemMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::GetItemMaterialOutcomeCallable CloudeslClient::getItemMaterialCallable(const GetItemMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getItemMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::GetUserOutcome CloudeslClient::getUser(const GetUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,6 +1671,42 @@ CloudeslClient::GetUserOutcomeCallable CloudeslClient::getUserCallable(const Get return task->get_future(); } +CloudeslClient::SyncAddMaterialOutcome CloudeslClient::syncAddMaterial(const SyncAddMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SyncAddMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SyncAddMaterialOutcome(SyncAddMaterialResult(outcome.result())); + else + return SyncAddMaterialOutcome(outcome.error()); +} + +void CloudeslClient::syncAddMaterialAsync(const SyncAddMaterialRequest& request, const SyncAddMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, syncAddMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::SyncAddMaterialOutcomeCallable CloudeslClient::syncAddMaterialCallable(const SyncAddMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->syncAddMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::UnassignUserOutcome CloudeslClient::unassignUser(const UnassignUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,6 +1815,78 @@ CloudeslClient::UpdateEslDeviceLightOutcomeCallable CloudeslClient::updateEslDev return task->get_future(); } +CloudeslClient::UpdateItemMaterialOutcome CloudeslClient::updateItemMaterial(const UpdateItemMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateItemMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateItemMaterialOutcome(UpdateItemMaterialResult(outcome.result())); + else + return UpdateItemMaterialOutcome(outcome.error()); +} + +void CloudeslClient::updateItemMaterialAsync(const UpdateItemMaterialRequest& request, const UpdateItemMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateItemMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::UpdateItemMaterialOutcomeCallable CloudeslClient::updateItemMaterialCallable(const UpdateItemMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateItemMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::UpdateNotificationConfigOutcome CloudeslClient::updateNotificationConfig(const UpdateNotificationConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateNotificationConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateNotificationConfigOutcome(UpdateNotificationConfigResult(outcome.result())); + else + return UpdateNotificationConfigOutcome(outcome.error()); +} + +void CloudeslClient::updateNotificationConfigAsync(const UpdateNotificationConfigRequest& request, const UpdateNotificationConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateNotificationConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::UpdateNotificationConfigOutcomeCallable CloudeslClient::updateNotificationConfigCallable(const UpdateNotificationConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateNotificationConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::UpdateStoreOutcome CloudeslClient::updateStore(const UpdateStoreRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,3 +1959,39 @@ CloudeslClient::UpdateStoreConfigOutcomeCallable CloudeslClient::updateStoreConf return task->get_future(); } +CloudeslClient::VerifyNotificationConfigOutcome CloudeslClient::verifyNotificationConfig(const VerifyNotificationConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VerifyNotificationConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifyNotificationConfigOutcome(VerifyNotificationConfigResult(outcome.result())); + else + return VerifyNotificationConfigOutcome(outcome.error()); +} + +void CloudeslClient::verifyNotificationConfigAsync(const VerifyNotificationConfigRequest& request, const VerifyNotificationConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifyNotificationConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::VerifyNotificationConfigOutcomeCallable CloudeslClient::verifyNotificationConfigCallable(const VerifyNotificationConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifyNotificationConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/cloudesl/src/model/AddCompanyTemplateRequest.cc b/cloudesl/src/model/AddCompanyTemplateRequest.cc new file mode 100644 index 000000000..7f5807cea --- /dev/null +++ b/cloudesl/src/model/AddCompanyTemplateRequest.cc @@ -0,0 +1,183 @@ +/* + * 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::AddCompanyTemplateRequest; + +AddCompanyTemplateRequest::AddCompanyTemplateRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "AddCompanyTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +AddCompanyTemplateRequest::~AddCompanyTemplateRequest() +{} + +std::string AddCompanyTemplateRequest::getExtraParams()const +{ + return extraParams_; +} + +void AddCompanyTemplateRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string AddCompanyTemplateRequest::getEslSize()const +{ + return eslSize_; +} + +void AddCompanyTemplateRequest::setEslSize(const std::string& eslSize) +{ + eslSize_ = eslSize; + setBodyParameter("EslSize", eslSize); +} + +bool AddCompanyTemplateRequest::getIfPromotion()const +{ + return ifPromotion_; +} + +void AddCompanyTemplateRequest::setIfPromotion(bool ifPromotion) +{ + ifPromotion_ = ifPromotion; + setBodyParameter("IfPromotion", ifPromotion ? "true" : "false"); +} + +std::string AddCompanyTemplateRequest::getDeviceType()const +{ + return deviceType_; +} + +void AddCompanyTemplateRequest::setDeviceType(const std::string& deviceType) +{ + deviceType_ = deviceType; + setBodyParameter("DeviceType", deviceType); +} + +std::string AddCompanyTemplateRequest::getScene()const +{ + return scene_; +} + +void AddCompanyTemplateRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setBodyParameter("Scene", scene); +} + +std::string AddCompanyTemplateRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void AddCompanyTemplateRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +std::string AddCompanyTemplateRequest::getTemplateType()const +{ + return templateType_; +} + +void AddCompanyTemplateRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setBodyParameter("TemplateType", templateType); +} + +std::string AddCompanyTemplateRequest::getVendor()const +{ + return vendor_; +} + +void AddCompanyTemplateRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setBodyParameter("Vendor", vendor); +} + +bool AddCompanyTemplateRequest::getIfDefault()const +{ + return ifDefault_; +} + +void AddCompanyTemplateRequest::setIfDefault(bool ifDefault) +{ + ifDefault_ = ifDefault; + setBodyParameter("IfDefault", ifDefault ? "true" : "false"); +} + +std::string AddCompanyTemplateRequest::getTemplateName()const +{ + return templateName_; +} + +void AddCompanyTemplateRequest::setTemplateName(const std::string& templateName) +{ + templateName_ = templateName; + setBodyParameter("TemplateName", templateName); +} + +bool AddCompanyTemplateRequest::getIfSourceCode()const +{ + return ifSourceCode_; +} + +void AddCompanyTemplateRequest::setIfSourceCode(bool ifSourceCode) +{ + ifSourceCode_ = ifSourceCode; + setBodyParameter("IfSourceCode", ifSourceCode ? "true" : "false"); +} + +bool AddCompanyTemplateRequest::getIfMember()const +{ + return ifMember_; +} + +void AddCompanyTemplateRequest::setIfMember(bool ifMember) +{ + ifMember_ = ifMember; + setBodyParameter("IfMember", ifMember ? "true" : "false"); +} + +int AddCompanyTemplateRequest::getLayout()const +{ + return layout_; +} + +void AddCompanyTemplateRequest::setLayout(int layout) +{ + layout_ = layout; + setBodyParameter("Layout", std::to_string(layout)); +} + +bool AddCompanyTemplateRequest::getIfOutOfInventory()const +{ + return ifOutOfInventory_; +} + +void AddCompanyTemplateRequest::setIfOutOfInventory(bool ifOutOfInventory) +{ + ifOutOfInventory_ = ifOutOfInventory; + setBodyParameter("IfOutOfInventory", ifOutOfInventory ? "true" : "false"); +} + diff --git a/cloudesl/src/model/AddCompanyTemplateResult.cc b/cloudesl/src/model/AddCompanyTemplateResult.cc new file mode 100644 index 000000000..3b0088eee --- /dev/null +++ b/cloudesl/src/model/AddCompanyTemplateResult.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; + +AddCompanyTemplateResult::AddCompanyTemplateResult() : + ServiceResult() +{} + +AddCompanyTemplateResult::AddCompanyTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCompanyTemplateResult::~AddCompanyTemplateResult() +{} + +void AddCompanyTemplateResult::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 AddCompanyTemplateResult::getMessage()const +{ + return message_; +} + +std::string AddCompanyTemplateResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string AddCompanyTemplateResult::getErrorCode()const +{ + return errorCode_; +} + +std::string AddCompanyTemplateResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string AddCompanyTemplateResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string AddCompanyTemplateResult::getCode()const +{ + return code_; +} + +bool AddCompanyTemplateResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/AddMaterialRequest.cc b/cloudesl/src/model/AddMaterialRequest.cc new file mode 100644 index 000000000..44a3b6e46 --- /dev/null +++ b/cloudesl/src/model/AddMaterialRequest.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::AddMaterialRequest; + +AddMaterialRequest::AddMaterialRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "AddMaterial") +{ + setMethod(HttpRequest::Method::Post); +} + +AddMaterialRequest::~AddMaterialRequest() +{} + +std::string AddMaterialRequest::getContent()const +{ + return content_; +} + +void AddMaterialRequest::setContent(const std::string& content) +{ + content_ = content; + setBodyParameter("Content", content); +} + +std::string AddMaterialRequest::getName()const +{ + return name_; +} + +void AddMaterialRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/cloudesl/src/model/AddMaterialResult.cc b/cloudesl/src/model/AddMaterialResult.cc new file mode 100644 index 000000000..83d2f4f89 --- /dev/null +++ b/cloudesl/src/model/AddMaterialResult.cc @@ -0,0 +1,109 @@ +/* + * 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; + +AddMaterialResult::AddMaterialResult() : + ServiceResult() +{} + +AddMaterialResult::AddMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddMaterialResult::~AddMaterialResult() +{} + +void AddMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + if(!resultNode["Message"].isNull()) + result_.message = resultNode["Message"].asString(); + if(!resultNode["DynamicMessage"].isNull()) + result_.dynamicMessage = resultNode["DynamicMessage"].asString(); + if(!resultNode["DynamicCode"].isNull()) + result_.dynamicCode = resultNode["DynamicCode"].asString(); + if(!resultNode["ErrorCode"].isNull()) + result_.errorCode = resultNode["ErrorCode"].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 AddMaterialResult::getMessage()const +{ + return message_; +} + +std::string AddMaterialResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string AddMaterialResult::getErrorCode()const +{ + return errorCode_; +} + +std::string AddMaterialResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string AddMaterialResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string AddMaterialResult::getCode()const +{ + return code_; +} + +bool AddMaterialResult::getSuccess()const +{ + return success_; +} + +AddMaterialResult::Result AddMaterialResult::getResult()const +{ + return result_; +} + diff --git a/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresRequest.cc b/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresRequest.cc new file mode 100644 index 000000000..286e64424 --- /dev/null +++ b/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresRequest.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::ApplyCompanyTemplateVersionToStoresRequest; + +ApplyCompanyTemplateVersionToStoresRequest::ApplyCompanyTemplateVersionToStoresRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "ApplyCompanyTemplateVersionToStores") +{ + setMethod(HttpRequest::Method::Post); +} + +ApplyCompanyTemplateVersionToStoresRequest::~ApplyCompanyTemplateVersionToStoresRequest() +{} + +std::string ApplyCompanyTemplateVersionToStoresRequest::getStores()const +{ + return stores_; +} + +void ApplyCompanyTemplateVersionToStoresRequest::setStores(const std::string& stores) +{ + stores_ = stores; + setBodyParameter("Stores", stores); +} + +std::string ApplyCompanyTemplateVersionToStoresRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void ApplyCompanyTemplateVersionToStoresRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + diff --git a/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresResult.cc b/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresResult.cc new file mode 100644 index 000000000..7022554fc --- /dev/null +++ b/cloudesl/src/model/ApplyCompanyTemplateVersionToStoresResult.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; + +ApplyCompanyTemplateVersionToStoresResult::ApplyCompanyTemplateVersionToStoresResult() : + ServiceResult() +{} + +ApplyCompanyTemplateVersionToStoresResult::ApplyCompanyTemplateVersionToStoresResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyCompanyTemplateVersionToStoresResult::~ApplyCompanyTemplateVersionToStoresResult() +{} + +void ApplyCompanyTemplateVersionToStoresResult::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 ApplyCompanyTemplateVersionToStoresResult::getMessage()const +{ + return message_; +} + +std::string ApplyCompanyTemplateVersionToStoresResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string ApplyCompanyTemplateVersionToStoresResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ApplyCompanyTemplateVersionToStoresResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string ApplyCompanyTemplateVersionToStoresResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ApplyCompanyTemplateVersionToStoresResult::getCode()const +{ + return code_; +} + +bool ApplyCompanyTemplateVersionToStoresResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/ApplyImageDitheringRequest.cc b/cloudesl/src/model/ApplyImageDitheringRequest.cc new file mode 100644 index 000000000..6dd90df54 --- /dev/null +++ b/cloudesl/src/model/ApplyImageDitheringRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::ApplyImageDitheringRequest; + +ApplyImageDitheringRequest::ApplyImageDitheringRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "ApplyImageDithering") +{ + setMethod(HttpRequest::Method::Post); +} + +ApplyImageDitheringRequest::~ApplyImageDitheringRequest() +{} + +std::string ApplyImageDitheringRequest::getExtraParams()const +{ + return extraParams_; +} + +void ApplyImageDitheringRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string ApplyImageDitheringRequest::getContent()const +{ + return content_; +} + +void ApplyImageDitheringRequest::setContent(const std::string& content) +{ + content_ = content; + setBodyParameter("Content", content); +} + +std::string ApplyImageDitheringRequest::getDeviceType()const +{ + return deviceType_; +} + +void ApplyImageDitheringRequest::setDeviceType(const std::string& deviceType) +{ + deviceType_ = deviceType; + setBodyParameter("DeviceType", deviceType); +} + +int ApplyImageDitheringRequest::getHeight()const +{ + return height_; +} + +void ApplyImageDitheringRequest::setHeight(int height) +{ + height_ = height; + setBodyParameter("Height", std::to_string(height)); +} + +int ApplyImageDitheringRequest::getWidth()const +{ + return width_; +} + +void ApplyImageDitheringRequest::setWidth(int width) +{ + width_ = width; + setBodyParameter("Width", std::to_string(width)); +} + diff --git a/cloudesl/src/model/ApplyImageDitheringResult.cc b/cloudesl/src/model/ApplyImageDitheringResult.cc new file mode 100644 index 000000000..ae82d2694 --- /dev/null +++ b/cloudesl/src/model/ApplyImageDitheringResult.cc @@ -0,0 +1,100 @@ +/* + * 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; + +ApplyImageDitheringResult::ApplyImageDitheringResult() : + ServiceResult() +{} + +ApplyImageDitheringResult::ApplyImageDitheringResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyImageDitheringResult::~ApplyImageDitheringResult() +{} + +void ApplyImageDitheringResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Content"].isNull()) + content_ = value["Content"].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 ApplyImageDitheringResult::getMessage()const +{ + return message_; +} + +std::string ApplyImageDitheringResult::getContent()const +{ + return content_; +} + +std::string ApplyImageDitheringResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string ApplyImageDitheringResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ApplyImageDitheringResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string ApplyImageDitheringResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ApplyImageDitheringResult::getCode()const +{ + return code_; +} + +bool ApplyImageDitheringResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/BatchInsertItemsRequest.cc b/cloudesl/src/model/BatchInsertItemsRequest.cc index d01b1e32c..cac26369c 100644 --- a/cloudesl/src/model/BatchInsertItemsRequest.cc +++ b/cloudesl/src/model/BatchInsertItemsRequest.cc @@ -83,17 +83,20 @@ void BatchInsertItemsRequest::setItemInfo(const std::vector& itemInfo) setParameter(itemInfoObjStr + ".CustomizeFeatureK", itemInfoObj.customizeFeatureK); setParameter(itemInfoObjStr + ".CustomizeFeatureL", itemInfoObj.customizeFeatureL); setParameter(itemInfoObjStr + ".CustomizeFeatureM", itemInfoObj.customizeFeatureM); - setParameter(itemInfoObjStr + ".BePromotion", itemInfoObj.bePromotion ? "true" : "false"); setParameter(itemInfoObjStr + ".CustomizeFeatureN", itemInfoObj.customizeFeatureN); + setParameter(itemInfoObjStr + ".BePromotion", itemInfoObj.bePromotion ? "true" : "false"); setParameter(itemInfoObjStr + ".CustomizeFeatureO", itemInfoObj.customizeFeatureO); + setParameter(itemInfoObjStr + ".CustomizeFeatureP", itemInfoObj.customizeFeatureP); setParameter(itemInfoObjStr + ".PromotionEnd", itemInfoObj.promotionEnd); setParameter(itemInfoObjStr + ".ItemTitle", itemInfoObj.itemTitle); + setParameter(itemInfoObjStr + ".CustomizeFeatureQ", itemInfoObj.customizeFeatureQ); + setParameter(itemInfoObjStr + ".CustomizeFeatureR", itemInfoObj.customizeFeatureR); setParameter(itemInfoObjStr + ".CustomizeFeatureC", itemInfoObj.customizeFeatureC); setParameter(itemInfoObjStr + ".CustomizeFeatureD", itemInfoObj.customizeFeatureD); setParameter(itemInfoObjStr + ".ItemQrCode", itemInfoObj.itemQrCode); setParameter(itemInfoObjStr + ".CustomizeFeatureE", itemInfoObj.customizeFeatureE); - setParameter(itemInfoObjStr + ".InventoryStatus", itemInfoObj.inventoryStatus); setParameter(itemInfoObjStr + ".PromotionReason", itemInfoObj.promotionReason); + setParameter(itemInfoObjStr + ".InventoryStatus", itemInfoObj.inventoryStatus); setParameter(itemInfoObjStr + ".CustomizeFeatureF", itemInfoObj.customizeFeatureF); setParameter(itemInfoObjStr + ".CustomizeFeatureG", itemInfoObj.customizeFeatureG); setParameter(itemInfoObjStr + ".CustomizeFeatureH", itemInfoObj.customizeFeatureH); @@ -104,16 +107,24 @@ void BatchInsertItemsRequest::setItemInfo(const std::vector& itemInfo) setParameter(itemInfoObjStr + ".SuggestPrice", std::to_string(itemInfoObj.suggestPrice)); setParameter(itemInfoObjStr + ".ForestFirstId", itemInfoObj.forestFirstId); setParameter(itemInfoObjStr + ".ProductionPlace", itemInfoObj.productionPlace); - setParameter(itemInfoObjStr + ".Manufacturer", itemInfoObj.manufacturer); setParameter(itemInfoObjStr + ".SourceCode", itemInfoObj.sourceCode); + setParameter(itemInfoObjStr + ".Manufacturer", itemInfoObj.manufacturer); setParameter(itemInfoObjStr + ".ItemId", itemInfoObj.itemId); setParameter(itemInfoObjStr + ".BeMember", itemInfoObj.beMember ? "true" : "false"); + setParameter(itemInfoObjStr + ".CustomizeFeatureS", itemInfoObj.customizeFeatureS); + setParameter(itemInfoObjStr + ".CustomizeFeatureT", itemInfoObj.customizeFeatureT); + setParameter(itemInfoObjStr + ".CustomizeFeatureU", itemInfoObj.customizeFeatureU); setParameter(itemInfoObjStr + ".TemplateSceneId", itemInfoObj.templateSceneId); + setParameter(itemInfoObjStr + ".CustomizeFeatureV", itemInfoObj.customizeFeatureV); + setParameter(itemInfoObjStr + ".CustomizeFeatureW", itemInfoObj.customizeFeatureW); + setParameter(itemInfoObjStr + ".CustomizeFeatureX", itemInfoObj.customizeFeatureX); + setParameter(itemInfoObjStr + ".CustomizeFeatureY", itemInfoObj.customizeFeatureY); + setParameter(itemInfoObjStr + ".CustomizeFeatureZ", itemInfoObj.customizeFeatureZ); setParameter(itemInfoObjStr + ".SalesPrice", std::to_string(itemInfoObj.salesPrice)); setParameter(itemInfoObjStr + ".OriginalPrice", std::to_string(itemInfoObj.originalPrice)); setParameter(itemInfoObjStr + ".ItemShortTitle", itemInfoObj.itemShortTitle); - setParameter(itemInfoObjStr + ".ForestSecondId", itemInfoObj.forestSecondId); setParameter(itemInfoObjStr + ".ItemPicUrl", itemInfoObj.itemPicUrl); + setParameter(itemInfoObjStr + ".ForestSecondId", itemInfoObj.forestSecondId); setParameter(itemInfoObjStr + ".SupplierName", itemInfoObj.supplierName); setParameter(itemInfoObjStr + ".Material", itemInfoObj.material); setParameter(itemInfoObjStr + ".ModelNumber", itemInfoObj.modelNumber); diff --git a/cloudesl/src/model/BatchInsertItemsResult.cc b/cloudesl/src/model/BatchInsertItemsResult.cc index fc807ff14..ee7cb4e7a 100644 --- a/cloudesl/src/model/BatchInsertItemsResult.cc +++ b/cloudesl/src/model/BatchInsertItemsResult.cc @@ -43,30 +43,30 @@ void BatchInsertItemsResult::parse(const std::string &payload) for (auto valueBatchResultsBatchResult : allBatchResultsNode) { BatchResult batchResultsObject; - if(!valueBatchResultsBatchResult["Message"].isNull()) - batchResultsObject.message = valueBatchResultsBatchResult["Message"].asString(); if(!valueBatchResultsBatchResult["Index"].isNull()) batchResultsObject.index = std::stoi(valueBatchResultsBatchResult["Index"].asString()); - if(!valueBatchResultsBatchResult["ErrorCode"].isNull()) - batchResultsObject.errorCode = valueBatchResultsBatchResult["ErrorCode"].asString(); + if(!valueBatchResultsBatchResult["Message"].isNull()) + batchResultsObject.message = valueBatchResultsBatchResult["Message"].asString(); if(!valueBatchResultsBatchResult["Success"].isNull()) batchResultsObject.success = valueBatchResultsBatchResult["Success"].asString() == "true"; + if(!valueBatchResultsBatchResult["ErrorCode"].isNull()) + batchResultsObject.errorCode = valueBatchResultsBatchResult["ErrorCode"].asString(); batchResults_.push_back(batchResultsObject); } 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/BatchUpdateEventRequest.cc b/cloudesl/src/model/BatchUpdateEventRequest.cc new file mode 100644 index 000000000..9c57564f0 --- /dev/null +++ b/cloudesl/src/model/BatchUpdateEventRequest.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::BatchUpdateEventRequest; + +BatchUpdateEventRequest::BatchUpdateEventRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "BatchUpdateEvent") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUpdateEventRequest::~BatchUpdateEventRequest() +{} + +std::string BatchUpdateEventRequest::getEvents()const +{ + return events_; +} + +void BatchUpdateEventRequest::setEvents(const std::string& events) +{ + events_ = events; + setBodyParameter("Events", events); +} + diff --git a/cloudesl/src/model/BatchUpdateEventResult.cc b/cloudesl/src/model/BatchUpdateEventResult.cc new file mode 100644 index 000000000..9ddea6e77 --- /dev/null +++ b/cloudesl/src/model/BatchUpdateEventResult.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; + +BatchUpdateEventResult::BatchUpdateEventResult() : + ServiceResult() +{} + +BatchUpdateEventResult::BatchUpdateEventResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUpdateEventResult::~BatchUpdateEventResult() +{} + +void BatchUpdateEventResult::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 BatchUpdateEventResult::getMessage()const +{ + return message_; +} + +std::string BatchUpdateEventResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string BatchUpdateEventResult::getErrorCode()const +{ + return errorCode_; +} + +std::string BatchUpdateEventResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string BatchUpdateEventResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string BatchUpdateEventResult::getCode()const +{ + return code_; +} + +bool BatchUpdateEventResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/BindEslDeviceResult.cc b/cloudesl/src/model/BindEslDeviceResult.cc index dbc9807eb..38a62504d 100644 --- a/cloudesl/src/model/BindEslDeviceResult.cc +++ b/cloudesl/src/model/BindEslDeviceResult.cc @@ -41,18 +41,18 @@ void BindEslDeviceResult::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/CheckServiceLinkedRoleForDeletingRequest.cc b/cloudesl/src/model/CheckServiceLinkedRoleForDeletingRequest.cc new file mode 100644 index 000000000..8742d7c2d --- /dev/null +++ b/cloudesl/src/model/CheckServiceLinkedRoleForDeletingRequest.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::CheckServiceLinkedRoleForDeletingRequest; + +CheckServiceLinkedRoleForDeletingRequest::CheckServiceLinkedRoleForDeletingRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "CheckServiceLinkedRoleForDeleting") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckServiceLinkedRoleForDeletingRequest::~CheckServiceLinkedRoleForDeletingRequest() +{} + +std::string CheckServiceLinkedRoleForDeletingRequest::getExtraParams()const +{ + return extraParams_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string CheckServiceLinkedRoleForDeletingRequest::getDeletionTaskId()const +{ + return deletionTaskId_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setDeletionTaskId(const std::string& deletionTaskId) +{ + deletionTaskId_ = deletionTaskId; + setParameter("DeletionTaskId", deletionTaskId); +} + +std::string CheckServiceLinkedRoleForDeletingRequest::getServiceName()const +{ + return serviceName_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setServiceName(const std::string& serviceName) +{ + serviceName_ = serviceName; + setParameter("ServiceName", serviceName); +} + +long CheckServiceLinkedRoleForDeletingRequest::getOwnerId()const +{ + return ownerId_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CheckServiceLinkedRoleForDeletingRequest::getSPIRegionId()const +{ + return sPIRegionId_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setSPIRegionId(const std::string& sPIRegionId) +{ + sPIRegionId_ = sPIRegionId; + setParameter("SPIRegionId", sPIRegionId); +} + +std::string CheckServiceLinkedRoleForDeletingRequest::getRoleArn()const +{ + return roleArn_; +} + +void CheckServiceLinkedRoleForDeletingRequest::setRoleArn(const std::string& roleArn) +{ + roleArn_ = roleArn; + setParameter("RoleArn", roleArn); +} + diff --git a/cloudesl/src/model/CheckServiceLinkedRoleForDeletingResult.cc b/cloudesl/src/model/CheckServiceLinkedRoleForDeletingResult.cc new file mode 100644 index 000000000..6dac934df --- /dev/null +++ b/cloudesl/src/model/CheckServiceLinkedRoleForDeletingResult.cc @@ -0,0 +1,115 @@ +/* + * 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; + +CheckServiceLinkedRoleForDeletingResult::CheckServiceLinkedRoleForDeletingResult() : + ServiceResult() +{} + +CheckServiceLinkedRoleForDeletingResult::CheckServiceLinkedRoleForDeletingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckServiceLinkedRoleForDeletingResult::~CheckServiceLinkedRoleForDeletingResult() +{} + +void CheckServiceLinkedRoleForDeletingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRoleUsagesNode = value["RoleUsages"]["RoleUsage"]; + for (auto valueRoleUsagesRoleUsage : allRoleUsagesNode) + { + RoleUsage roleUsagesObject; + if(!valueRoleUsagesRoleUsage["Region"].isNull()) + roleUsagesObject.region = valueRoleUsagesRoleUsage["Region"].asString(); + if(!valueRoleUsagesRoleUsage["Resources"].isNull()) + roleUsagesObject.resources = valueRoleUsagesRoleUsage["Resources"].asString(); + roleUsages_.push_back(roleUsagesObject); + } + if(!value["Deletable"].isNull()) + deletable_ = value["Deletable"].asString() == "true"; + 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 CheckServiceLinkedRoleForDeletingResult::getMessage()const +{ + return message_; +} + +bool CheckServiceLinkedRoleForDeletingResult::getDeletable()const +{ + return deletable_; +} + +std::string CheckServiceLinkedRoleForDeletingResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string CheckServiceLinkedRoleForDeletingResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CheckServiceLinkedRoleForDeletingResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::vector CheckServiceLinkedRoleForDeletingResult::getRoleUsages()const +{ + return roleUsages_; +} + +std::string CheckServiceLinkedRoleForDeletingResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CheckServiceLinkedRoleForDeletingResult::getCode()const +{ + return code_; +} + +bool CheckServiceLinkedRoleForDeletingResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeClientPackageRequest.cc b/cloudesl/src/model/DeleteCompanyTemplateRequest.cc similarity index 53% rename from cloudesl/src/model/DescribeClientPackageRequest.cc rename to cloudesl/src/model/DeleteCompanyTemplateRequest.cc index 209d9872a..cdc74c439 100644 --- a/cloudesl/src/model/DescribeClientPackageRequest.cc +++ b/cloudesl/src/model/DeleteCompanyTemplateRequest.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Cloudesl::Model::DescribeClientPackageRequest; +using AlibabaCloud::Cloudesl::Model::DeleteCompanyTemplateRequest; -DescribeClientPackageRequest::DescribeClientPackageRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeClientPackage") +DeleteCompanyTemplateRequest::DeleteCompanyTemplateRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DeleteCompanyTemplate") { setMethod(HttpRequest::Method::Post); } -DescribeClientPackageRequest::~DescribeClientPackageRequest() +DeleteCompanyTemplateRequest::~DeleteCompanyTemplateRequest() {} -std::string DescribeClientPackageRequest::getClientType()const -{ - return clientType_; -} - -void DescribeClientPackageRequest::setClientType(const std::string& clientType) -{ - clientType_ = clientType; - setBodyParameter("ClientType", clientType); -} - -std::string DescribeClientPackageRequest::getExtraParams()const +std::string DeleteCompanyTemplateRequest::getExtraParams()const { return extraParams_; } -void DescribeClientPackageRequest::setExtraParams(const std::string& extraParams) +void DeleteCompanyTemplateRequest::setExtraParams(const std::string& extraParams) { extraParams_ = extraParams; setBodyParameter("ExtraParams", extraParams); } +std::string DeleteCompanyTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void DeleteCompanyTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setBodyParameter("TemplateId", templateId); +} + diff --git a/cloudesl/src/model/DeleteCompanyTemplateResult.cc b/cloudesl/src/model/DeleteCompanyTemplateResult.cc new file mode 100644 index 000000000..b98a76a8d --- /dev/null +++ b/cloudesl/src/model/DeleteCompanyTemplateResult.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; + +DeleteCompanyTemplateResult::DeleteCompanyTemplateResult() : + ServiceResult() +{} + +DeleteCompanyTemplateResult::DeleteCompanyTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCompanyTemplateResult::~DeleteCompanyTemplateResult() +{} + +void DeleteCompanyTemplateResult::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 DeleteCompanyTemplateResult::getMessage()const +{ + return message_; +} + +std::string DeleteCompanyTemplateResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DeleteCompanyTemplateResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteCompanyTemplateResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DeleteCompanyTemplateResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteCompanyTemplateResult::getCode()const +{ + return code_; +} + +bool DeleteCompanyTemplateResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeleteMaterialRequest.cc b/cloudesl/src/model/DeleteMaterialRequest.cc new file mode 100644 index 000000000..878f9f9d0 --- /dev/null +++ b/cloudesl/src/model/DeleteMaterialRequest.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::DeleteMaterialRequest; + +DeleteMaterialRequest::DeleteMaterialRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DeleteMaterial") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteMaterialRequest::~DeleteMaterialRequest() +{} + +std::string DeleteMaterialRequest::getMaterialId()const +{ + return materialId_; +} + +void DeleteMaterialRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setBodyParameter("MaterialId", materialId); +} + diff --git a/cloudesl/src/model/ConfirmServerLocationResult.cc b/cloudesl/src/model/DeleteMaterialResult.cc similarity index 57% rename from cloudesl/src/model/ConfirmServerLocationResult.cc rename to cloudesl/src/model/DeleteMaterialResult.cc index 212c99490..44be18ba5 100644 --- a/cloudesl/src/model/ConfirmServerLocationResult.cc +++ b/cloudesl/src/model/DeleteMaterialResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -ConfirmServerLocationResult::ConfirmServerLocationResult() : +DeleteMaterialResult::DeleteMaterialResult() : ServiceResult() {} -ConfirmServerLocationResult::ConfirmServerLocationResult(const std::string &payload) : +DeleteMaterialResult::DeleteMaterialResult(const std::string &payload) : ServiceResult() { parse(payload); } -ConfirmServerLocationResult::~ConfirmServerLocationResult() +DeleteMaterialResult::~DeleteMaterialResult() {} -void ConfirmServerLocationResult::parse(const std::string &payload) +void DeleteMaterialResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -41,31 +41,52 @@ void ConfirmServerLocationResult::parse(const std::string &payload) 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["Message"].isNull()) - message_ = value["Message"].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 ConfirmServerLocationResult::getMessage()const +std::string DeleteMaterialResult::getMessage()const { return message_; } -std::string ConfirmServerLocationResult::getErrorCode()const +std::string DeleteMaterialResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DeleteMaterialResult::getErrorCode()const { return errorCode_; } -std::string ConfirmServerLocationResult::getErrorMessage()const +std::string DeleteMaterialResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DeleteMaterialResult::getErrorMessage()const { return errorMessage_; } -bool ConfirmServerLocationResult::getSuccess()const +std::string DeleteMaterialResult::getCode()const +{ + return code_; +} + +bool DeleteMaterialResult::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/DescribeAvailableEslModelsRequest.cc b/cloudesl/src/model/DescribeAvailableEslModelsRequest.cc new file mode 100644 index 000000000..33307e2ca --- /dev/null +++ b/cloudesl/src/model/DescribeAvailableEslModelsRequest.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::DescribeAvailableEslModelsRequest; + +DescribeAvailableEslModelsRequest::DescribeAvailableEslModelsRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeAvailableEslModels") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAvailableEslModelsRequest::~DescribeAvailableEslModelsRequest() +{} + +std::string DescribeAvailableEslModelsRequest::getModelId()const +{ + return modelId_; +} + +void DescribeAvailableEslModelsRequest::setModelId(const std::string& modelId) +{ + modelId_ = modelId; + setBodyParameter("ModelId", modelId); +} + +int DescribeAvailableEslModelsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeAvailableEslModelsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAvailableEslModelsRequest::getName()const +{ + return name_; +} + +void DescribeAvailableEslModelsRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +int DescribeAvailableEslModelsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAvailableEslModelsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/DescribeAvailableEslModelsResult.cc b/cloudesl/src/model/DescribeAvailableEslModelsResult.cc new file mode 100644 index 000000000..5c5c0c94b --- /dev/null +++ b/cloudesl/src/model/DescribeAvailableEslModelsResult.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; + +DescribeAvailableEslModelsResult::DescribeAvailableEslModelsResult() : + ServiceResult() +{} + +DescribeAvailableEslModelsResult::DescribeAvailableEslModelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAvailableEslModelsResult::~DescribeAvailableEslModelsResult() +{} + +void DescribeAvailableEslModelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEslModelsNode = value["EslModels"]["SelectItemInfo"]; + for (auto valueEslModelsSelectItemInfo : allEslModelsNode) + { + SelectItemInfo eslModelsObject; + if(!valueEslModelsSelectItemInfo["ModelId"].isNull()) + eslModelsObject.modelId = valueEslModelsSelectItemInfo["ModelId"].asString(); + if(!valueEslModelsSelectItemInfo["Name"].isNull()) + eslModelsObject.name = valueEslModelsSelectItemInfo["Name"].asString(); + if(!valueEslModelsSelectItemInfo["DeviceType"].isNull()) + eslModelsObject.deviceType = valueEslModelsSelectItemInfo["DeviceType"].asString(); + if(!valueEslModelsSelectItemInfo["Vendor"].isNull()) + eslModelsObject.vendor = valueEslModelsSelectItemInfo["Vendor"].asString(); + if(!valueEslModelsSelectItemInfo["ScreenWidth"].isNull()) + eslModelsObject.screenWidth = std::stoi(valueEslModelsSelectItemInfo["ScreenWidth"].asString()); + if(!valueEslModelsSelectItemInfo["ScreenHeight"].isNull()) + eslModelsObject.screenHeight = std::stoi(valueEslModelsSelectItemInfo["ScreenHeight"].asString()); + if(!valueEslModelsSelectItemInfo["EslSize"].isNull()) + eslModelsObject.eslSize = valueEslModelsSelectItemInfo["EslSize"].asString(); + eslModels_.push_back(eslModelsObject); + } + 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()); + 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::vector DescribeAvailableEslModelsResult::getEslModels()const +{ + return eslModels_; +} + +int DescribeAvailableEslModelsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAvailableEslModelsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeAvailableEslModelsResult::getMessage()const +{ + return message_; +} + +int DescribeAvailableEslModelsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeAvailableEslModelsResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeAvailableEslModelsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeAvailableEslModelsResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeAvailableEslModelsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeAvailableEslModelsResult::getCode()const +{ + return code_; +} + +bool DescribeAvailableEslModelsResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateAttributeRequest.cc b/cloudesl/src/model/DescribeCompanyTemplateAttributeRequest.cc new file mode 100644 index 000000000..2072d8dd3 --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateAttributeRequest.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::DescribeCompanyTemplateAttributeRequest; + +DescribeCompanyTemplateAttributeRequest::DescribeCompanyTemplateAttributeRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeCompanyTemplateAttribute") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCompanyTemplateAttributeRequest::~DescribeCompanyTemplateAttributeRequest() +{} + +std::string DescribeCompanyTemplateAttributeRequest::getExtraParams()const +{ + return extraParams_; +} + +void DescribeCompanyTemplateAttributeRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateAttributeResult.cc b/cloudesl/src/model/DescribeCompanyTemplateAttributeResult.cc new file mode 100644 index 000000000..3545a1d5e --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateAttributeResult.cc @@ -0,0 +1,168 @@ +/* + * 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; + +DescribeCompanyTemplateAttributeResult::DescribeCompanyTemplateAttributeResult() : + ServiceResult() +{} + +DescribeCompanyTemplateAttributeResult::DescribeCompanyTemplateAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCompanyTemplateAttributeResult::~DescribeCompanyTemplateAttributeResult() +{} + +void DescribeCompanyTemplateAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCategoryFieldNode = value["CategoryField"]["SelectItemInfo"]; + for (auto valueCategoryFieldSelectItemInfo : allCategoryFieldNode) + { + SelectItemInfo categoryFieldObject; + if(!valueCategoryFieldSelectItemInfo["Label"].isNull()) + categoryFieldObject.label = valueCategoryFieldSelectItemInfo["Label"].asString(); + if(!valueCategoryFieldSelectItemInfo["Value"].isNull()) + categoryFieldObject.value = valueCategoryFieldSelectItemInfo["Value"].asString(); + categoryField_.push_back(categoryFieldObject); + } + auto allFontTypeNode = value["FontType"]["SelectItemInfo"]; + for (auto valueFontTypeSelectItemInfo : allFontTypeNode) + { + SelectItemInfo fontTypeObject; + if(!valueFontTypeSelectItemInfo["Label"].isNull()) + fontTypeObject.label = valueFontTypeSelectItemInfo["Label"].asString(); + if(!valueFontTypeSelectItemInfo["Value"].isNull()) + fontTypeObject.value = valueFontTypeSelectItemInfo["Value"].asString(); + fontType_.push_back(fontTypeObject); + } + auto allDeviceTypeNode = value["DeviceType"]["SelectItemInfo"]; + for (auto valueDeviceTypeSelectItemInfo : allDeviceTypeNode) + { + SelectItemInfo deviceTypeObject; + if(!valueDeviceTypeSelectItemInfo["Label"].isNull()) + deviceTypeObject.label = valueDeviceTypeSelectItemInfo["Label"].asString(); + if(!valueDeviceTypeSelectItemInfo["Value"].isNull()) + deviceTypeObject.value = valueDeviceTypeSelectItemInfo["Value"].asString(); + deviceType_.push_back(deviceTypeObject); + } + auto allTemplateTypeNode = value["TemplateType"]["SelectItemInfo"]; + for (auto valueTemplateTypeSelectItemInfo : allTemplateTypeNode) + { + SelectItemInfo templateTypeObject; + if(!valueTemplateTypeSelectItemInfo["Label"].isNull()) + templateTypeObject.label = valueTemplateTypeSelectItemInfo["Label"].asString(); + if(!valueTemplateTypeSelectItemInfo["Value"].isNull()) + templateTypeObject.value = valueTemplateTypeSelectItemInfo["Value"].asString(); + templateType_.push_back(templateTypeObject); + } + auto allSizeTypeNode = value["SizeType"]["SelectItemInfo"]; + for (auto valueSizeTypeSelectItemInfo : allSizeTypeNode) + { + SelectItemInfo sizeTypeObject; + if(!valueSizeTypeSelectItemInfo["Label"].isNull()) + sizeTypeObject.label = valueSizeTypeSelectItemInfo["Label"].asString(); + if(!valueSizeTypeSelectItemInfo["Value"].isNull()) + sizeTypeObject.value = valueSizeTypeSelectItemInfo["Value"].asString(); + sizeType_.push_back(sizeTypeObject); + } + 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::vector DescribeCompanyTemplateAttributeResult::getCategoryField()const +{ + return categoryField_; +} + +std::vector DescribeCompanyTemplateAttributeResult::getDeviceType()const +{ + return deviceType_; +} + +std::string DescribeCompanyTemplateAttributeResult::getMessage()const +{ + return message_; +} + +std::string DescribeCompanyTemplateAttributeResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::vector DescribeCompanyTemplateAttributeResult::getTemplateType()const +{ + return templateType_; +} + +std::string DescribeCompanyTemplateAttributeResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeCompanyTemplateAttributeResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::vector DescribeCompanyTemplateAttributeResult::getFontType()const +{ + return fontType_; +} + +std::string DescribeCompanyTemplateAttributeResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::vector DescribeCompanyTemplateAttributeResult::getSizeType()const +{ + return sizeType_; +} + +std::string DescribeCompanyTemplateAttributeResult::getCode()const +{ + return code_; +} + +bool DescribeCompanyTemplateAttributeResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateVersionsRequest.cc b/cloudesl/src/model/DescribeCompanyTemplateVersionsRequest.cc new file mode 100644 index 000000000..bb2b37c06 --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateVersionsRequest.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::DescribeCompanyTemplateVersionsRequest; + +DescribeCompanyTemplateVersionsRequest::DescribeCompanyTemplateVersionsRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeCompanyTemplateVersions") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCompanyTemplateVersionsRequest::~DescribeCompanyTemplateVersionsRequest() +{} + +int DescribeCompanyTemplateVersionsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeCompanyTemplateVersionsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +int DescribeCompanyTemplateVersionsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeCompanyTemplateVersionsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateVersionsResult.cc b/cloudesl/src/model/DescribeCompanyTemplateVersionsResult.cc new file mode 100644 index 000000000..1aa6a9d05 --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateVersionsResult.cc @@ -0,0 +1,127 @@ +/* + * 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; + +DescribeCompanyTemplateVersionsResult::DescribeCompanyTemplateVersionsResult() : + ServiceResult() +{} + +DescribeCompanyTemplateVersionsResult::DescribeCompanyTemplateVersionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCompanyTemplateVersionsResult::~DescribeCompanyTemplateVersionsResult() +{} + +void DescribeCompanyTemplateVersionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVersionsNode = value["Versions"]["SelectItemInfo"]; + for (auto valueVersionsSelectItemInfo : allVersionsNode) + { + SelectItemInfo versionsObject; + if(!valueVersionsSelectItemInfo["Version"].isNull()) + versionsObject.version = valueVersionsSelectItemInfo["Version"].asString(); + versions_.push_back(versionsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].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(); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeCompanyTemplateVersionsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeCompanyTemplateVersionsResult::getVersions()const +{ + return versions_; +} + +std::string DescribeCompanyTemplateVersionsResult::getMessage()const +{ + return message_; +} + +int DescribeCompanyTemplateVersionsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeCompanyTemplateVersionsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeCompanyTemplateVersionsResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeCompanyTemplateVersionsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeCompanyTemplateVersionsResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeCompanyTemplateVersionsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeCompanyTemplateVersionsResult::getCode()const +{ + return code_; +} + +bool DescribeCompanyTemplateVersionsResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateViewRequest.cc b/cloudesl/src/model/DescribeCompanyTemplateViewRequest.cc new file mode 100644 index 000000000..718bae50d --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateViewRequest.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::DescribeCompanyTemplateViewRequest; + +DescribeCompanyTemplateViewRequest::DescribeCompanyTemplateViewRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeCompanyTemplateView") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCompanyTemplateViewRequest::~DescribeCompanyTemplateViewRequest() +{} + +std::string DescribeCompanyTemplateViewRequest::getExtraParams()const +{ + return extraParams_; +} + +void DescribeCompanyTemplateViewRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string DescribeCompanyTemplateViewRequest::getTemplateId()const +{ + return templateId_; +} + +void DescribeCompanyTemplateViewRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setBodyParameter("TemplateId", templateId); +} + diff --git a/cloudesl/src/model/DescribeCompanyTemplateViewResult.cc b/cloudesl/src/model/DescribeCompanyTemplateViewResult.cc new file mode 100644 index 000000000..7020c050a --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyTemplateViewResult.cc @@ -0,0 +1,100 @@ +/* + * 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; + +DescribeCompanyTemplateViewResult::DescribeCompanyTemplateViewResult() : + ServiceResult() +{} + +DescribeCompanyTemplateViewResult::DescribeCompanyTemplateViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCompanyTemplateViewResult::~DescribeCompanyTemplateViewResult() +{} + +void DescribeCompanyTemplateViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].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 DescribeCompanyTemplateViewResult::getMessage()const +{ + return message_; +} + +std::string DescribeCompanyTemplateViewResult::getData()const +{ + return data_; +} + +std::string DescribeCompanyTemplateViewResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeCompanyTemplateViewResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeCompanyTemplateViewResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeCompanyTemplateViewResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeCompanyTemplateViewResult::getCode()const +{ + return code_; +} + +bool DescribeCompanyTemplateViewResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeEslDeviceRequest.cc b/cloudesl/src/model/DescribeEslDeviceRequest.cc deleted file mode 100644 index f14c6947b..000000000 --- a/cloudesl/src/model/DescribeEslDeviceRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribeEslDeviceRequest; - -DescribeEslDeviceRequest::DescribeEslDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEslDevice") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeEslDeviceRequest::~DescribeEslDeviceRequest() -{} - -std::string DescribeEslDeviceRequest::getStoreId()const -{ - return storeId_; -} - -void DescribeEslDeviceRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -long DescribeEslDeviceRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeEslDeviceRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeEslDeviceRequest::getFromDate()const -{ - return fromDate_; -} - -void DescribeEslDeviceRequest::setFromDate(const std::string& fromDate) -{ - fromDate_ = fromDate; - setBodyParameter("FromDate", fromDate); -} - -std::string DescribeEslDeviceRequest::getToDate()const -{ - return toDate_; -} - -void DescribeEslDeviceRequest::setToDate(const std::string& toDate) -{ - toDate_ = toDate; - setBodyParameter("ToDate", toDate); -} - -long DescribeEslDeviceRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeEslDeviceRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/cloudesl/src/model/DescribeEslDeviceResult.cc b/cloudesl/src/model/DescribeEslDeviceResult.cc deleted file mode 100644 index a559112b2..000000000 --- a/cloudesl/src/model/DescribeEslDeviceResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cloudesl; -using namespace AlibabaCloud::Cloudesl::Model; - -DescribeEslDeviceResult::DescribeEslDeviceResult() : - ServiceResult() -{} - -DescribeEslDeviceResult::DescribeEslDeviceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEslDeviceResult::~DescribeEslDeviceResult() -{} - -void DescribeEslDeviceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allEslDetailsNode = value["EslDetails"]["eslDetailsItem"]; - for (auto valueEslDetailseslDetailsItem : allEslDetailsNode) - { - EslDetailsItem eslDetailsObject; - if(!valueEslDetailseslDetailsItem["EslBarCode"].isNull()) - eslDetailsObject.eslBarCode = valueEslDetailseslDetailsItem["EslBarCode"].asString(); - if(!valueEslDetailseslDetailsItem["LastUpdateTime"].isNull()) - eslDetailsObject.lastUpdateTime = valueEslDetailseslDetailsItem["LastUpdateTime"].asString(); - if(!valueEslDetailseslDetailsItem["ItemBarCode"].isNull()) - eslDetailsObject.itemBarCode = std::stol(valueEslDetailseslDetailsItem["ItemBarCode"].asString()); - if(!valueEslDetailseslDetailsItem["ItemId"].isNull()) - eslDetailsObject.itemId = std::stol(valueEslDetailseslDetailsItem["ItemId"].asString()); - if(!valueEslDetailseslDetailsItem["ItemShortTitle"].isNull()) - eslDetailsObject.itemShortTitle = valueEslDetailseslDetailsItem["ItemShortTitle"].asString(); - if(!valueEslDetailseslDetailsItem["Status"].isNull()) - eslDetailsObject.status = valueEslDetailseslDetailsItem["Status"].asString(); - if(!valueEslDetailseslDetailsItem["StoreId"].isNull()) - eslDetailsObject.storeId = valueEslDetailseslDetailsItem["StoreId"].asString(); - eslDetails_.push_back(eslDetailsObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stol(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stol(value["PageNumber"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -long DescribeEslDeviceResult::getTotalCount()const -{ - return totalCount_; -} - -long DescribeEslDeviceResult::getPageSize()const -{ - return pageSize_; -} - -long DescribeEslDeviceResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector DescribeEslDeviceResult::getEslDetails()const -{ - return eslDetails_; -} - -bool DescribeEslDeviceResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeEslDevicesRequest.cc b/cloudesl/src/model/DescribeEslDevicesRequest.cc index 9fff1f406..2ca0561df 100644 --- a/cloudesl/src/model/DescribeEslDevicesRequest.cc +++ b/cloudesl/src/model/DescribeEslDevicesRequest.cc @@ -93,6 +93,17 @@ void DescribeEslDevicesRequest::setPageSize(int pageSize) setBodyParameter("PageSize", std::to_string(pageSize)); } +std::string DescribeEslDevicesRequest::getTypeEncode()const +{ + return typeEncode_; +} + +void DescribeEslDevicesRequest::setTypeEncode(const std::string& typeEncode) +{ + typeEncode_ = typeEncode; + setBodyParameter("TypeEncode", typeEncode); +} + std::string DescribeEslDevicesRequest::getEslStatus()const { return eslStatus_; diff --git a/cloudesl/src/model/DescribeEslDevicesResult.cc b/cloudesl/src/model/DescribeEslDevicesResult.cc index 8b61ccde9..ebc6b460c 100644 --- a/cloudesl/src/model/DescribeEslDevicesResult.cc +++ b/cloudesl/src/model/DescribeEslDevicesResult.cc @@ -43,50 +43,52 @@ void DescribeEslDevicesResult::parse(const std::string &payload) for (auto valueEslDevicesEslDeviceInfo : allEslDevicesNode) { EslDeviceInfo eslDevicesObject; - if(!valueEslDevicesEslDeviceInfo["LastCommunicateTime"].isNull()) - eslDevicesObject.lastCommunicateTime = valueEslDevicesEslDeviceInfo["LastCommunicateTime"].asString(); - if(!valueEslDevicesEslDeviceInfo["Model"].isNull()) - eslDevicesObject.model = valueEslDevicesEslDeviceInfo["Model"].asString(); - if(!valueEslDevicesEslDeviceInfo["EslStatus"].isNull()) - eslDevicesObject.eslStatus = valueEslDevicesEslDeviceInfo["EslStatus"].asString(); + if(!valueEslDevicesEslDeviceInfo["Type"].isNull()) + eslDevicesObject.type = valueEslDevicesEslDeviceInfo["Type"].asString(); if(!valueEslDevicesEslDeviceInfo["StoreId"].isNull()) eslDevicesObject.storeId = valueEslDevicesEslDeviceInfo["StoreId"].asString(); if(!valueEslDevicesEslDeviceInfo["EslBarCode"].isNull()) eslDevicesObject.eslBarCode = valueEslDevicesEslDeviceInfo["EslBarCode"].asString(); - if(!valueEslDevicesEslDeviceInfo["Type"].isNull()) - eslDevicesObject.type = valueEslDevicesEslDeviceInfo["Type"].asString(); - if(!valueEslDevicesEslDeviceInfo["Mac"].isNull()) - eslDevicesObject.mac = valueEslDevicesEslDeviceInfo["Mac"].asString(); - if(!valueEslDevicesEslDeviceInfo["BatteryLevel"].isNull()) - eslDevicesObject.batteryLevel = std::stoi(valueEslDevicesEslDeviceInfo["BatteryLevel"].asString()); - if(!valueEslDevicesEslDeviceInfo["ScreenWidth"].isNull()) - eslDevicesObject.screenWidth = std::stoi(valueEslDevicesEslDeviceInfo["ScreenWidth"].asString()); + if(!valueEslDevicesEslDeviceInfo["Model"].isNull()) + eslDevicesObject.model = valueEslDevicesEslDeviceInfo["Model"].asString(); + if(!valueEslDevicesEslDeviceInfo["LastCommunicateTime"].isNull()) + eslDevicesObject.lastCommunicateTime = valueEslDevicesEslDeviceInfo["LastCommunicateTime"].asString(); if(!valueEslDevicesEslDeviceInfo["ScreenHeight"].isNull()) eslDevicesObject.screenHeight = std::stoi(valueEslDevicesEslDeviceInfo["ScreenHeight"].asString()); + if(!valueEslDevicesEslDeviceInfo["ScreenWidth"].isNull()) + eslDevicesObject.screenWidth = std::stoi(valueEslDevicesEslDeviceInfo["ScreenWidth"].asString()); if(!valueEslDevicesEslDeviceInfo["EslSignal"].isNull()) eslDevicesObject.eslSignal = std::stoi(valueEslDevicesEslDeviceInfo["EslSignal"].asString()); + if(!valueEslDevicesEslDeviceInfo["BatteryLevel"].isNull()) + eslDevicesObject.batteryLevel = std::stoi(valueEslDevicesEslDeviceInfo["BatteryLevel"].asString()); + if(!valueEslDevicesEslDeviceInfo["EslStatus"].isNull()) + eslDevicesObject.eslStatus = valueEslDevicesEslDeviceInfo["EslStatus"].asString(); + if(!valueEslDevicesEslDeviceInfo["Mac"].isNull()) + eslDevicesObject.mac = valueEslDevicesEslDeviceInfo["Mac"].asString(); + if(!valueEslDevicesEslDeviceInfo["TypeEncode"].isNull()) + eslDevicesObject.typeEncode = valueEslDevicesEslDeviceInfo["TypeEncode"].asString(); eslDevices_.push_back(eslDevicesObject); } 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["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].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["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(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; } @@ -95,16 +97,16 @@ int DescribeEslDevicesResult::getTotalCount()const return totalCount_; } -int DescribeEslDevicesResult::getPageSize()const -{ - return pageSize_; -} - std::string DescribeEslDevicesResult::getMessage()const { return message_; } +int DescribeEslDevicesResult::getPageSize()const +{ + return pageSize_; +} + int DescribeEslDevicesResult::getPageNumber()const { return pageNumber_; diff --git a/cloudesl/src/model/DescribeEslModelByTemplateVersionRequest.cc b/cloudesl/src/model/DescribeEslModelByTemplateVersionRequest.cc new file mode 100644 index 000000000..e3dab13bb --- /dev/null +++ b/cloudesl/src/model/DescribeEslModelByTemplateVersionRequest.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::DescribeEslModelByTemplateVersionRequest; + +DescribeEslModelByTemplateVersionRequest::DescribeEslModelByTemplateVersionRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEslModelByTemplateVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEslModelByTemplateVersionRequest::~DescribeEslModelByTemplateVersionRequest() +{} + +int DescribeEslModelByTemplateVersionRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeEslModelByTemplateVersionRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeEslModelByTemplateVersionRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void DescribeEslModelByTemplateVersionRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +int DescribeEslModelByTemplateVersionRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeEslModelByTemplateVersionRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/DescribeEslModelByTemplateVersionResult.cc b/cloudesl/src/model/DescribeEslModelByTemplateVersionResult.cc new file mode 100644 index 000000000..5a2235d69 --- /dev/null +++ b/cloudesl/src/model/DescribeEslModelByTemplateVersionResult.cc @@ -0,0 +1,143 @@ +/* + * 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; + +DescribeEslModelByTemplateVersionResult::DescribeEslModelByTemplateVersionResult() : + ServiceResult() +{} + +DescribeEslModelByTemplateVersionResult::DescribeEslModelByTemplateVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEslModelByTemplateVersionResult::~DescribeEslModelByTemplateVersionResult() +{} + +void DescribeEslModelByTemplateVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEslModelsNode = value["EslModels"]["SelectItemInfo"]; + for (auto valueEslModelsSelectItemInfo : allEslModelsNode) + { + SelectItemInfo eslModelsObject; + if(!valueEslModelsSelectItemInfo["ModelId"].isNull()) + eslModelsObject.modelId = valueEslModelsSelectItemInfo["ModelId"].asString(); + if(!valueEslModelsSelectItemInfo["Name"].isNull()) + eslModelsObject.name = valueEslModelsSelectItemInfo["Name"].asString(); + if(!valueEslModelsSelectItemInfo["Image"].isNull()) + eslModelsObject.image = valueEslModelsSelectItemInfo["Image"].asString(); + if(!valueEslModelsSelectItemInfo["DeviceType"].isNull()) + eslModelsObject.deviceType = valueEslModelsSelectItemInfo["DeviceType"].asString(); + if(!valueEslModelsSelectItemInfo["Vendor"].isNull()) + eslModelsObject.vendor = valueEslModelsSelectItemInfo["Vendor"].asString(); + if(!valueEslModelsSelectItemInfo["ScreenWidth"].isNull()) + eslModelsObject.screenWidth = std::stoi(valueEslModelsSelectItemInfo["ScreenWidth"].asString()); + if(!valueEslModelsSelectItemInfo["ScreenHeight"].isNull()) + eslModelsObject.screenHeight = std::stoi(valueEslModelsSelectItemInfo["ScreenHeight"].asString()); + if(!valueEslModelsSelectItemInfo["EslSize"].isNull()) + eslModelsObject.eslSize = valueEslModelsSelectItemInfo["EslSize"].asString(); + if(!valueEslModelsSelectItemInfo["EslPhysicalSize"].isNull()) + eslModelsObject.eslPhysicalSize = valueEslModelsSelectItemInfo["EslPhysicalSize"].asString(); + eslModels_.push_back(eslModelsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].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(); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +std::vector DescribeEslModelByTemplateVersionResult::getEslModels()const +{ + return eslModels_; +} + +int DescribeEslModelByTemplateVersionResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeEslModelByTemplateVersionResult::getMessage()const +{ + return message_; +} + +int DescribeEslModelByTemplateVersionResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeEslModelByTemplateVersionResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeEslModelByTemplateVersionResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeEslModelByTemplateVersionResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeEslModelByTemplateVersionResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeEslModelByTemplateVersionResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeEslModelByTemplateVersionResult::getCode()const +{ + return code_; +} + +bool DescribeEslModelByTemplateVersionResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeEventReasonRequest.cc b/cloudesl/src/model/DescribeEventReasonRequest.cc new file mode 100644 index 000000000..d293683d3 --- /dev/null +++ b/cloudesl/src/model/DescribeEventReasonRequest.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::DescribeEventReasonRequest; + +DescribeEventReasonRequest::DescribeEventReasonRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEventReason") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEventReasonRequest::~DescribeEventReasonRequest() +{} + +std::string DescribeEventReasonRequest::getExtraParams()const +{ + return extraParams_; +} + +void DescribeEventReasonRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + diff --git a/cloudesl/src/model/DescribeEventReasonResult.cc b/cloudesl/src/model/DescribeEventReasonResult.cc new file mode 100644 index 000000000..d2a4d0983 --- /dev/null +++ b/cloudesl/src/model/DescribeEventReasonResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DescribeEventReasonResult::DescribeEventReasonResult() : + ServiceResult() +{} + +DescribeEventReasonResult::DescribeEventReasonResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEventReasonResult::~DescribeEventReasonResult() +{} + +void DescribeEventReasonResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEventReasonsNode = value["EventReasons"]["EventReason"]; + for (auto valueEventReasonsEventReason : allEventReasonsNode) + { + EventReason eventReasonsObject; + if(!valueEventReasonsEventReason["Category"].isNull()) + eventReasonsObject.category = valueEventReasonsEventReason["Category"].asString(); + auto allReasons = value["Reasons"]["Reason"]; + for (auto value : allReasons) + eventReasonsObject.reasons.push_back(value.asString()); + auto allReasonI18ns = value["ReasonI18ns"]["ReasonI18n"]; + for (auto value : allReasonI18ns) + eventReasonsObject.reasonI18ns.push_back(value.asString()); + eventReasons_.push_back(eventReasonsObject); + } + 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 DescribeEventReasonResult::getMessage()const +{ + return message_; +} + +std::string DescribeEventReasonResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeEventReasonResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeEventReasonResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeEventReasonResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeEventReasonResult::getCode()const +{ + return code_; +} + +bool DescribeEventReasonResult::getSuccess()const +{ + return success_; +} + +std::vector DescribeEventReasonResult::getEventReasons()const +{ + return eventReasons_; +} + diff --git a/cloudesl/src/model/DescribeEventsRequest.cc b/cloudesl/src/model/DescribeEventsRequest.cc new file mode 100644 index 000000000..79ae16687 --- /dev/null +++ b/cloudesl/src/model/DescribeEventsRequest.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::DescribeEventsRequest; + +DescribeEventsRequest::DescribeEventsRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEvents") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEventsRequest::~DescribeEventsRequest() +{} + +std::string DescribeEventsRequest::getApMac()const +{ + return apMac_; +} + +void DescribeEventsRequest::setApMac(const std::string& apMac) +{ + apMac_ = apMac; + setBodyParameter("ApMac", apMac); +} + +std::string DescribeEventsRequest::getStoreId()const +{ + return storeId_; +} + +void DescribeEventsRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setBodyParameter("StoreId", storeId); +} + +std::string DescribeEventsRequest::getType()const +{ + return type_; +} + +void DescribeEventsRequest::setType(const std::string& type) +{ + type_ = type; + setBodyParameter("Type", type); +} + +int DescribeEventsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeEventsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeEventsRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void DescribeEventsRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setBodyParameter("EslBarCode", eslBarCode); +} + +int DescribeEventsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeEventsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeEventsRequest::getStatus()const +{ + return status_; +} + +void DescribeEventsRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/cloudesl/src/model/DescribeEventsResult.cc b/cloudesl/src/model/DescribeEventsResult.cc new file mode 100644 index 000000000..705223c90 --- /dev/null +++ b/cloudesl/src/model/DescribeEventsResult.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; + +DescribeEventsResult::DescribeEventsResult() : + ServiceResult() +{} + +DescribeEventsResult::DescribeEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEventsResult::~DescribeEventsResult() +{} + +void DescribeEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["EventInfoVO"]; + for (auto valueItemsEventInfoVO : allItemsNode) + { + EventInfoVO itemsObject; + if(!valueItemsEventInfoVO["EventId"].isNull()) + itemsObject.eventId = valueItemsEventInfoVO["EventId"].asString(); + if(!valueItemsEventInfoVO["EventTime"].isNull()) + itemsObject.eventTime = valueItemsEventInfoVO["EventTime"].asString(); + if(!valueItemsEventInfoVO["Category"].isNull()) + itemsObject.category = valueItemsEventInfoVO["Category"].asString(); + if(!valueItemsEventInfoVO["EslBarCode"].isNull()) + itemsObject.eslBarCode = valueItemsEventInfoVO["EslBarCode"].asString(); + if(!valueItemsEventInfoVO["ApMac"].isNull()) + itemsObject.apMac = valueItemsEventInfoVO["ApMac"].asString(); + if(!valueItemsEventInfoVO["StoreId"].isNull()) + itemsObject.storeId = valueItemsEventInfoVO["StoreId"].asString(); + if(!valueItemsEventInfoVO["ItemBarCode"].isNull()) + itemsObject.itemBarCode = valueItemsEventInfoVO["ItemBarCode"].asString(); + if(!valueItemsEventInfoVO["ItemId"].isNull()) + itemsObject.itemId = valueItemsEventInfoVO["ItemId"].asString(); + if(!valueItemsEventInfoVO["ItemTitle"].isNull()) + itemsObject.itemTitle = valueItemsEventInfoVO["ItemTitle"].asString(); + if(!valueItemsEventInfoVO["Content"].isNull()) + itemsObject.content = valueItemsEventInfoVO["Content"].asString(); + if(!valueItemsEventInfoVO["Status"].isNull()) + itemsObject.status = valueItemsEventInfoVO["Status"].asString(); + if(!valueItemsEventInfoVO["Staff"].isNull()) + itemsObject.staff = valueItemsEventInfoVO["Staff"].asString(); + if(!valueItemsEventInfoVO["ProcessTime"].isNull()) + itemsObject.processTime = valueItemsEventInfoVO["ProcessTime"].asString(); + if(!valueItemsEventInfoVO["Reason"].isNull()) + itemsObject.reason = valueItemsEventInfoVO["Reason"].asString(); + items_.push_back(itemsObject); + } + 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 DescribeEventsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeEventsResult::getMessage()const +{ + return message_; +} + +int DescribeEventsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeEventsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeEventsResult::getItems()const +{ + return items_; +} + +std::string DescribeEventsResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeEventsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeEventsResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeEventsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeEventsResult::getCode()const +{ + return code_; +} + +bool DescribeEventsResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeItemMaterialsRequest.cc b/cloudesl/src/model/DescribeItemMaterialsRequest.cc new file mode 100644 index 000000000..ff97ff7de --- /dev/null +++ b/cloudesl/src/model/DescribeItemMaterialsRequest.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::DescribeItemMaterialsRequest; + +DescribeItemMaterialsRequest::DescribeItemMaterialsRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeItemMaterials") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeItemMaterialsRequest::~DescribeItemMaterialsRequest() +{} + +std::string DescribeItemMaterialsRequest::getMaterialName()const +{ + return materialName_; +} + +void DescribeItemMaterialsRequest::setMaterialName(const std::string& materialName) +{ + materialName_ = materialName; + setBodyParameter("MaterialName", materialName); +} + +std::string DescribeItemMaterialsRequest::getMaterialId()const +{ + return materialId_; +} + +void DescribeItemMaterialsRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setBodyParameter("MaterialId", materialId); +} + +int DescribeItemMaterialsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeItemMaterialsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +int DescribeItemMaterialsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeItemMaterialsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeItemMaterialsRequest::getBarCode()const +{ + return barCode_; +} + +void DescribeItemMaterialsRequest::setBarCode(const std::string& barCode) +{ + barCode_ = barCode; + setBodyParameter("BarCode", barCode); +} + +std::string DescribeItemMaterialsRequest::getItemName()const +{ + return itemName_; +} + +void DescribeItemMaterialsRequest::setItemName(const std::string& itemName) +{ + itemName_ = itemName; + setBodyParameter("ItemName", itemName); +} + diff --git a/cloudesl/src/model/DescribeItemMaterialsResult.cc b/cloudesl/src/model/DescribeItemMaterialsResult.cc new file mode 100644 index 000000000..78211e259 --- /dev/null +++ b/cloudesl/src/model/DescribeItemMaterialsResult.cc @@ -0,0 +1,131 @@ +/* + * 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; + +DescribeItemMaterialsResult::DescribeItemMaterialsResult() : + ServiceResult() +{} + +DescribeItemMaterialsResult::DescribeItemMaterialsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeItemMaterialsResult::~DescribeItemMaterialsResult() +{} + +void DescribeItemMaterialsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMaterialsNode = value["Materials"]["ItemMaterialInfo"]; + for (auto valueMaterialsItemMaterialInfo : allMaterialsNode) + { + ItemMaterialInfo materialsObject; + if(!valueMaterialsItemMaterialInfo["BarCode"].isNull()) + materialsObject.barCode = valueMaterialsItemMaterialInfo["BarCode"].asString(); + if(!valueMaterialsItemMaterialInfo["ItemName"].isNull()) + materialsObject.itemName = valueMaterialsItemMaterialInfo["ItemName"].asString(); + if(!valueMaterialsItemMaterialInfo["GmtCreate"].isNull()) + materialsObject.gmtCreate = valueMaterialsItemMaterialInfo["GmtCreate"].asString(); + materials_.push_back(materialsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + 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(); + +} + +int DescribeItemMaterialsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeItemMaterialsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeItemMaterialsResult::getMessage()const +{ + return message_; +} + +int DescribeItemMaterialsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeItemMaterialsResult::getMaterials()const +{ + return materials_; +} + +std::string DescribeItemMaterialsResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeItemMaterialsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeItemMaterialsResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeItemMaterialsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeItemMaterialsResult::getCode()const +{ + return code_; +} + +bool DescribeItemMaterialsResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeItemsResult.cc b/cloudesl/src/model/DescribeItemsResult.cc index 901f7169c..67d32fad9 100644 --- a/cloudesl/src/model/DescribeItemsResult.cc +++ b/cloudesl/src/model/DescribeItemsResult.cc @@ -43,138 +43,160 @@ void DescribeItemsResult::parse(const std::string &payload) for (auto valueItemsItemInfo : allItemsNode) { ItemInfo itemsObject; - if(!valueItemsItemInfo["CategoryName"].isNull()) - itemsObject.categoryName = valueItemsItemInfo["CategoryName"].asString(); - if(!valueItemsItemInfo["EnergyEfficiency"].isNull()) - itemsObject.energyEfficiency = valueItemsItemInfo["EnergyEfficiency"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureO"].isNull()) - itemsObject.customizeFeatureO = valueItemsItemInfo["CustomizeFeatureO"].asString(); - if(!valueItemsItemInfo["Manufacturer"].isNull()) - itemsObject.manufacturer = valueItemsItemInfo["Manufacturer"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureM"].isNull()) - itemsObject.customizeFeatureM = valueItemsItemInfo["CustomizeFeatureM"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureN"].isNull()) - itemsObject.customizeFeatureN = valueItemsItemInfo["CustomizeFeatureN"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureK"].isNull()) - itemsObject.customizeFeatureK = valueItemsItemInfo["CustomizeFeatureK"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureL"].isNull()) - itemsObject.customizeFeatureL = valueItemsItemInfo["CustomizeFeatureL"].asString(); - if(!valueItemsItemInfo["PromotionEnd"].isNull()) - itemsObject.promotionEnd = valueItemsItemInfo["PromotionEnd"].asString(); - if(!valueItemsItemInfo["OriginalPrice"].isNull()) - itemsObject.originalPrice = std::stoi(valueItemsItemInfo["OriginalPrice"].asString()); - if(!valueItemsItemInfo["CustomizeFeatureI"].isNull()) - itemsObject.customizeFeatureI = valueItemsItemInfo["CustomizeFeatureI"].asString(); - if(!valueItemsItemInfo["ItemTitle"].isNull()) - itemsObject.itemTitle = valueItemsItemInfo["ItemTitle"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureJ"].isNull()) - itemsObject.customizeFeatureJ = valueItemsItemInfo["CustomizeFeatureJ"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureG"].isNull()) - itemsObject.customizeFeatureG = valueItemsItemInfo["CustomizeFeatureG"].asString(); - if(!valueItemsItemInfo["SaleSpec"].isNull()) - itemsObject.saleSpec = valueItemsItemInfo["SaleSpec"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureH"].isNull()) - itemsObject.customizeFeatureH = valueItemsItemInfo["CustomizeFeatureH"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureE"].isNull()) - itemsObject.customizeFeatureE = valueItemsItemInfo["CustomizeFeatureE"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureF"].isNull()) - itemsObject.customizeFeatureF = valueItemsItemInfo["CustomizeFeatureF"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureC"].isNull()) - itemsObject.customizeFeatureC = valueItemsItemInfo["CustomizeFeatureC"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureD"].isNull()) - itemsObject.customizeFeatureD = valueItemsItemInfo["CustomizeFeatureD"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureA"].isNull()) - itemsObject.customizeFeatureA = valueItemsItemInfo["CustomizeFeatureA"].asString(); - if(!valueItemsItemInfo["CustomizeFeatureB"].isNull()) - itemsObject.customizeFeatureB = valueItemsItemInfo["CustomizeFeatureB"].asString(); - if(!valueItemsItemInfo["TaxFee"].isNull()) - itemsObject.taxFee = valueItemsItemInfo["TaxFee"].asString(); - if(!valueItemsItemInfo["PromotionText"].isNull()) - itemsObject.promotionText = valueItemsItemInfo["PromotionText"].asString(); - if(!valueItemsItemInfo["MemberPrice"].isNull()) - itemsObject.memberPrice = std::stoi(valueItemsItemInfo["MemberPrice"].asString()); - if(!valueItemsItemInfo["SupplierName"].isNull()) - itemsObject.supplierName = valueItemsItemInfo["SupplierName"].asString(); - if(!valueItemsItemInfo["ForestFirstId"].isNull()) - itemsObject.forestFirstId = valueItemsItemInfo["ForestFirstId"].asString(); - if(!valueItemsItemInfo["ModelNumber"].isNull()) - itemsObject.modelNumber = valueItemsItemInfo["ModelNumber"].asString(); - if(!valueItemsItemInfo["ItemShortTitle"].isNull()) - itemsObject.itemShortTitle = valueItemsItemInfo["ItemShortTitle"].asString(); - if(!valueItemsItemInfo["Material"].isNull()) - itemsObject.material = valueItemsItemInfo["Material"].asString(); - if(!valueItemsItemInfo["BePromotion"].isNull()) - itemsObject.bePromotion = valueItemsItemInfo["BePromotion"].asString() == "true"; - if(!valueItemsItemInfo["ForestSecondId"].isNull()) - itemsObject.forestSecondId = valueItemsItemInfo["ForestSecondId"].asString(); - if(!valueItemsItemInfo["BeSourceCode"].isNull()) - itemsObject.beSourceCode = valueItemsItemInfo["BeSourceCode"].asString() == "true"; - if(!valueItemsItemInfo["SalesPrice"].isNull()) - itemsObject.salesPrice = std::stoi(valueItemsItemInfo["SalesPrice"].asString()); - if(!valueItemsItemInfo["ItemPicUrl"].isNull()) - itemsObject.itemPicUrl = valueItemsItemInfo["ItemPicUrl"].asString(); - if(!valueItemsItemInfo["SkuId"].isNull()) - itemsObject.skuId = valueItemsItemInfo["SkuId"].asString(); - if(!valueItemsItemInfo["SuggestPrice"].isNull()) - itemsObject.suggestPrice = std::stoi(valueItemsItemInfo["SuggestPrice"].asString()); - if(!valueItemsItemInfo["Rank"].isNull()) - itemsObject.rank = valueItemsItemInfo["Rank"].asString(); - if(!valueItemsItemInfo["SourceCode"].isNull()) - itemsObject.sourceCode = valueItemsItemInfo["SourceCode"].asString(); - if(!valueItemsItemInfo["ProductionPlace"].isNull()) - itemsObject.productionPlace = valueItemsItemInfo["ProductionPlace"].asString(); - if(!valueItemsItemInfo["ItemInfoIndex"].isNull()) - itemsObject.itemInfoIndex = std::stoi(valueItemsItemInfo["ItemInfoIndex"].asString()); - if(!valueItemsItemInfo["InventoryStatus"].isNull()) - itemsObject.inventoryStatus = valueItemsItemInfo["InventoryStatus"].asString(); - if(!valueItemsItemInfo["PriceUnit"].isNull()) - itemsObject.priceUnit = valueItemsItemInfo["PriceUnit"].asString(); if(!valueItemsItemInfo["ActionPrice"].isNull()) itemsObject.actionPrice = std::stoi(valueItemsItemInfo["ActionPrice"].asString()); + if(!valueItemsItemInfo["ItemTitle"].isNull()) + itemsObject.itemTitle = valueItemsItemInfo["ItemTitle"].asString(); if(!valueItemsItemInfo["BrandName"].isNull()) itemsObject.brandName = valueItemsItemInfo["BrandName"].asString(); - if(!valueItemsItemInfo["ItemQrCode"].isNull()) - itemsObject.itemQrCode = valueItemsItemInfo["ItemQrCode"].asString(); - if(!valueItemsItemInfo["PromotionReason"].isNull()) - itemsObject.promotionReason = valueItemsItemInfo["PromotionReason"].asString(); - if(!valueItemsItemInfo["ItemBarCode"].isNull()) - itemsObject.itemBarCode = valueItemsItemInfo["ItemBarCode"].asString(); - if(!valueItemsItemInfo["ItemId"].isNull()) - itemsObject.itemId = valueItemsItemInfo["ItemId"].asString(); - if(!valueItemsItemInfo["PromotionStart"].isNull()) - itemsObject.promotionStart = valueItemsItemInfo["PromotionStart"].asString(); - if(!valueItemsItemInfo["GmtCreate"].isNull()) - itemsObject.gmtCreate = valueItemsItemInfo["GmtCreate"].asString(); - if(!valueItemsItemInfo["GmtModified"].isNull()) - itemsObject.gmtModified = valueItemsItemInfo["GmtModified"].asString(); - if(!valueItemsItemInfo["BeMember"].isNull()) - itemsObject.beMember = valueItemsItemInfo["BeMember"].asString() == "true"; + if(!valueItemsItemInfo["SourceCode"].isNull()) + itemsObject.sourceCode = valueItemsItemInfo["SourceCode"].asString(); + if(!valueItemsItemInfo["PriceUnit"].isNull()) + itemsObject.priceUnit = valueItemsItemInfo["PriceUnit"].asString(); + if(!valueItemsItemInfo["ForestFirstId"].isNull()) + itemsObject.forestFirstId = valueItemsItemInfo["ForestFirstId"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureF"].isNull()) + itemsObject.customizeFeatureF = valueItemsItemInfo["CustomizeFeatureF"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureA"].isNull()) + itemsObject.customizeFeatureA = valueItemsItemInfo["CustomizeFeatureA"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureK"].isNull()) + itemsObject.customizeFeatureK = valueItemsItemInfo["CustomizeFeatureK"].asString(); if(!valueItemsItemInfo["TemplateSceneId"].isNull()) itemsObject.templateSceneId = valueItemsItemInfo["TemplateSceneId"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureD"].isNull()) + itemsObject.customizeFeatureD = valueItemsItemInfo["CustomizeFeatureD"].asString(); + if(!valueItemsItemInfo["MemberPrice"].isNull()) + itemsObject.memberPrice = std::stoi(valueItemsItemInfo["MemberPrice"].asString()); + if(!valueItemsItemInfo["PromotionStart"].isNull()) + itemsObject.promotionStart = valueItemsItemInfo["PromotionStart"].asString(); + if(!valueItemsItemInfo["ModelNumber"].isNull()) + itemsObject.modelNumber = valueItemsItemInfo["ModelNumber"].asString(); + if(!valueItemsItemInfo["CategoryName"].isNull()) + itemsObject.categoryName = valueItemsItemInfo["CategoryName"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureE"].isNull()) + itemsObject.customizeFeatureE = valueItemsItemInfo["CustomizeFeatureE"].asString(); + if(!valueItemsItemInfo["SuggestPrice"].isNull()) + itemsObject.suggestPrice = std::stoi(valueItemsItemInfo["SuggestPrice"].asString()); + if(!valueItemsItemInfo["SaleSpec"].isNull()) + itemsObject.saleSpec = valueItemsItemInfo["SaleSpec"].asString(); + if(!valueItemsItemInfo["PromotionText"].isNull()) + itemsObject.promotionText = valueItemsItemInfo["PromotionText"].asString(); + if(!valueItemsItemInfo["Rank"].isNull()) + itemsObject.rank = valueItemsItemInfo["Rank"].asString(); + if(!valueItemsItemInfo["PromotionReason"].isNull()) + itemsObject.promotionReason = valueItemsItemInfo["PromotionReason"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureG"].isNull()) + itemsObject.customizeFeatureG = valueItemsItemInfo["CustomizeFeatureG"].asString(); + if(!valueItemsItemInfo["SalesPrice"].isNull()) + itemsObject.salesPrice = std::stoi(valueItemsItemInfo["SalesPrice"].asString()); + if(!valueItemsItemInfo["CustomizeFeatureH"].isNull()) + itemsObject.customizeFeatureH = valueItemsItemInfo["CustomizeFeatureH"].asString(); + if(!valueItemsItemInfo["OriginalPrice"].isNull()) + itemsObject.originalPrice = std::stoi(valueItemsItemInfo["OriginalPrice"].asString()); + if(!valueItemsItemInfo["GmtModified"].isNull()) + itemsObject.gmtModified = valueItemsItemInfo["GmtModified"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureI"].isNull()) + itemsObject.customizeFeatureI = valueItemsItemInfo["CustomizeFeatureI"].asString(); + if(!valueItemsItemInfo["ProductionPlace"].isNull()) + itemsObject.productionPlace = valueItemsItemInfo["ProductionPlace"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureB"].isNull()) + itemsObject.customizeFeatureB = valueItemsItemInfo["CustomizeFeatureB"].asString(); + if(!valueItemsItemInfo["ItemShortTitle"].isNull()) + itemsObject.itemShortTitle = valueItemsItemInfo["ItemShortTitle"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureN"].isNull()) + itemsObject.customizeFeatureN = valueItemsItemInfo["CustomizeFeatureN"].asString(); + if(!valueItemsItemInfo["BeMember"].isNull()) + itemsObject.beMember = valueItemsItemInfo["BeMember"].asString() == "true"; + if(!valueItemsItemInfo["TaxFee"].isNull()) + itemsObject.taxFee = valueItemsItemInfo["TaxFee"].asString(); + if(!valueItemsItemInfo["InventoryStatus"].isNull()) + itemsObject.inventoryStatus = valueItemsItemInfo["InventoryStatus"].asString(); + if(!valueItemsItemInfo["SupplierName"].isNull()) + itemsObject.supplierName = valueItemsItemInfo["SupplierName"].asString(); + if(!valueItemsItemInfo["ItemPicUrl"].isNull()) + itemsObject.itemPicUrl = valueItemsItemInfo["ItemPicUrl"].asString(); + if(!valueItemsItemInfo["EnergyEfficiency"].isNull()) + itemsObject.energyEfficiency = valueItemsItemInfo["EnergyEfficiency"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureL"].isNull()) + itemsObject.customizeFeatureL = valueItemsItemInfo["CustomizeFeatureL"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureC"].isNull()) + itemsObject.customizeFeatureC = valueItemsItemInfo["CustomizeFeatureC"].asString(); + if(!valueItemsItemInfo["ItemId"].isNull()) + itemsObject.itemId = valueItemsItemInfo["ItemId"].asString(); + if(!valueItemsItemInfo["Manufacturer"].isNull()) + itemsObject.manufacturer = valueItemsItemInfo["Manufacturer"].asString(); + if(!valueItemsItemInfo["Material"].isNull()) + itemsObject.material = valueItemsItemInfo["Material"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureO"].isNull()) + itemsObject.customizeFeatureO = valueItemsItemInfo["CustomizeFeatureO"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureP"].isNull()) + itemsObject.customizeFeatureP = valueItemsItemInfo["CustomizeFeatureP"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureQ"].isNull()) + itemsObject.customizeFeatureQ = valueItemsItemInfo["CustomizeFeatureQ"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureR"].isNull()) + itemsObject.customizeFeatureR = valueItemsItemInfo["CustomizeFeatureR"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureS"].isNull()) + itemsObject.customizeFeatureS = valueItemsItemInfo["CustomizeFeatureS"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureT"].isNull()) + itemsObject.customizeFeatureT = valueItemsItemInfo["CustomizeFeatureT"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureU"].isNull()) + itemsObject.customizeFeatureU = valueItemsItemInfo["CustomizeFeatureU"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureV"].isNull()) + itemsObject.customizeFeatureV = valueItemsItemInfo["CustomizeFeatureV"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureW"].isNull()) + itemsObject.customizeFeatureW = valueItemsItemInfo["CustomizeFeatureW"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureX"].isNull()) + itemsObject.customizeFeatureX = valueItemsItemInfo["CustomizeFeatureX"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureY"].isNull()) + itemsObject.customizeFeatureY = valueItemsItemInfo["CustomizeFeatureY"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureZ"].isNull()) + itemsObject.customizeFeatureZ = valueItemsItemInfo["CustomizeFeatureZ"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureJ"].isNull()) + itemsObject.customizeFeatureJ = valueItemsItemInfo["CustomizeFeatureJ"].asString(); + if(!valueItemsItemInfo["GmtCreate"].isNull()) + itemsObject.gmtCreate = valueItemsItemInfo["GmtCreate"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureM"].isNull()) + itemsObject.customizeFeatureM = valueItemsItemInfo["CustomizeFeatureM"].asString(); + if(!valueItemsItemInfo["BePromotion"].isNull()) + itemsObject.bePromotion = valueItemsItemInfo["BePromotion"].asString() == "true"; + if(!valueItemsItemInfo["SkuId"].isNull()) + itemsObject.skuId = valueItemsItemInfo["SkuId"].asString(); + if(!valueItemsItemInfo["BeSourceCode"].isNull()) + itemsObject.beSourceCode = valueItemsItemInfo["BeSourceCode"].asString() == "true"; + if(!valueItemsItemInfo["ForestSecondId"].isNull()) + itemsObject.forestSecondId = valueItemsItemInfo["ForestSecondId"].asString(); + if(!valueItemsItemInfo["ItemQrCode"].isNull()) + itemsObject.itemQrCode = valueItemsItemInfo["ItemQrCode"].asString(); + if(!valueItemsItemInfo["ItemInfoIndex"].isNull()) + itemsObject.itemInfoIndex = std::stoi(valueItemsItemInfo["ItemInfoIndex"].asString()); + if(!valueItemsItemInfo["PromotionEnd"].isNull()) + itemsObject.promotionEnd = valueItemsItemInfo["PromotionEnd"].asString(); + if(!valueItemsItemInfo["ItemBarCode"].isNull()) + itemsObject.itemBarCode = valueItemsItemInfo["ItemBarCode"].asString(); items_.push_back(itemsObject); } + if(!value["TemplateSceneId"].isNull()) + templateSceneId_ = value["TemplateSceneId"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; 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["DynamicMessage"].isNull()) dynamicMessage_ = value["DynamicMessage"].asString(); if(!value["TotalCount"].isNull()) totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["TemplateSceneId"].isNull()) - templateSceneId_ = value["TemplateSceneId"].asString(); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); } @@ -208,19 +230,14 @@ std::string DescribeItemsResult::getDynamicCode()const return dynamicCode_; } -std::string DescribeItemsResult::getErrorCode()const -{ - return errorCode_; -} - std::string DescribeItemsResult::getDynamicMessage()const { return dynamicMessage_; } -std::string DescribeItemsResult::getErrorMessage()const +std::string DescribeItemsResult::getErrorCode()const { - return errorMessage_; + return errorCode_; } std::string DescribeItemsResult::getTemplateSceneId()const @@ -228,6 +245,11 @@ std::string DescribeItemsResult::getTemplateSceneId()const return templateSceneId_; } +std::string DescribeItemsResult::getErrorMessage()const +{ + return errorMessage_; +} + std::string DescribeItemsResult::getCode()const { return code_; diff --git a/cloudesl/src/model/DescribeMaterialsRequest.cc b/cloudesl/src/model/DescribeMaterialsRequest.cc new file mode 100644 index 000000000..d72116085 --- /dev/null +++ b/cloudesl/src/model/DescribeMaterialsRequest.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::DescribeMaterialsRequest; + +DescribeMaterialsRequest::DescribeMaterialsRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeMaterials") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeMaterialsRequest::~DescribeMaterialsRequest() +{} + +std::string DescribeMaterialsRequest::getSource()const +{ + return source_; +} + +void DescribeMaterialsRequest::setSource(const std::string& source) +{ + source_ = source; + setBodyParameter("Source", source); +} + +int DescribeMaterialsRequest::getType()const +{ + return type_; +} + +void DescribeMaterialsRequest::setType(int type) +{ + type_ = type; + setBodyParameter("Type", std::to_string(type)); +} + +std::string DescribeMaterialsRequest::getMaterialId()const +{ + return materialId_; +} + +void DescribeMaterialsRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setBodyParameter("MaterialId", materialId); +} + +int DescribeMaterialsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeMaterialsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +int DescribeMaterialsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeMaterialsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeMaterialsRequest::getSize()const +{ + return size_; +} + +void DescribeMaterialsRequest::setSize(const std::string& size) +{ + size_ = size; + setBodyParameter("Size", size); +} + +std::string DescribeMaterialsRequest::getName()const +{ + return name_; +} + +void DescribeMaterialsRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/cloudesl/src/model/DescribeMaterialsResult.cc b/cloudesl/src/model/DescribeMaterialsResult.cc new file mode 100644 index 000000000..6dff13ddd --- /dev/null +++ b/cloudesl/src/model/DescribeMaterialsResult.cc @@ -0,0 +1,141 @@ +/* + * 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; + +DescribeMaterialsResult::DescribeMaterialsResult() : + ServiceResult() +{} + +DescribeMaterialsResult::DescribeMaterialsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMaterialsResult::~DescribeMaterialsResult() +{} + +void DescribeMaterialsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMaterialsNode = value["Materials"]["Material"]; + for (auto valueMaterialsMaterial : allMaterialsNode) + { + Material materialsObject; + if(!valueMaterialsMaterial["MaterialId"].isNull()) + materialsObject.materialId = valueMaterialsMaterial["MaterialId"].asString(); + if(!valueMaterialsMaterial["Size"].isNull()) + materialsObject.size = valueMaterialsMaterial["Size"].asString(); + if(!valueMaterialsMaterial["Period"].isNull()) + materialsObject.period = std::stoi(valueMaterialsMaterial["Period"].asString()); + if(!valueMaterialsMaterial["Content"].isNull()) + materialsObject.content = valueMaterialsMaterial["Content"].asString(); + if(!valueMaterialsMaterial["Thumbnail"].isNull()) + materialsObject.thumbnail = valueMaterialsMaterial["Thumbnail"].asString(); + if(!valueMaterialsMaterial["Type"].isNull()) + materialsObject.type = std::stoi(valueMaterialsMaterial["Type"].asString()); + if(!valueMaterialsMaterial["Source"].isNull()) + materialsObject.source = valueMaterialsMaterial["Source"].asString(); + if(!valueMaterialsMaterial["Name"].isNull()) + materialsObject.name = valueMaterialsMaterial["Name"].asString(); + materials_.push_back(materialsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + 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(); + +} + +int DescribeMaterialsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeMaterialsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeMaterialsResult::getMessage()const +{ + return message_; +} + +int DescribeMaterialsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeMaterialsResult::getMaterials()const +{ + return materials_; +} + +std::string DescribeMaterialsResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeMaterialsResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeMaterialsResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeMaterialsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeMaterialsResult::getCode()const +{ + return code_; +} + +bool DescribeMaterialsResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/ConfirmServerLocationRequest.cc b/cloudesl/src/model/DescribeNotificationConfigRequest.cc similarity index 64% rename from cloudesl/src/model/ConfirmServerLocationRequest.cc rename to cloudesl/src/model/DescribeNotificationConfigRequest.cc index 471285894..a4c3ce7bc 100644 --- a/cloudesl/src/model/ConfirmServerLocationRequest.cc +++ b/cloudesl/src/model/DescribeNotificationConfigRequest.cc @@ -14,16 +14,16 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Cloudesl::Model::ConfirmServerLocationRequest; +using AlibabaCloud::Cloudesl::Model::DescribeNotificationConfigRequest; -ConfirmServerLocationRequest::ConfirmServerLocationRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "ConfirmServerLocation") +DescribeNotificationConfigRequest::DescribeNotificationConfigRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeNotificationConfig") { setMethod(HttpRequest::Method::Post); } -ConfirmServerLocationRequest::~ConfirmServerLocationRequest() +DescribeNotificationConfigRequest::~DescribeNotificationConfigRequest() {} diff --git a/cloudesl/src/model/DescribeNotificationConfigResult.cc b/cloudesl/src/model/DescribeNotificationConfigResult.cc new file mode 100644 index 000000000..39b6b18b8 --- /dev/null +++ b/cloudesl/src/model/DescribeNotificationConfigResult.cc @@ -0,0 +1,128 @@ +/* + * 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; + +DescribeNotificationConfigResult::DescribeNotificationConfigResult() : + ServiceResult() +{} + +DescribeNotificationConfigResult::DescribeNotificationConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeNotificationConfigResult::~DescribeNotificationConfigResult() +{} + +void DescribeNotificationConfigResult::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(); + if(!value["Topic"].isNull()) + topic_ = value["Topic"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["Endpoint"].isNull()) + endpoint_ = value["Endpoint"].asString(); + if(!value["Tag"].isNull()) + tag_ = value["Tag"].asString(); + if(!value["Enable"].isNull()) + enable_ = value["Enable"].asString() == "true"; + +} + +std::string DescribeNotificationConfigResult::getMessage()const +{ + return message_; +} + +std::string DescribeNotificationConfigResult::getEndpoint()const +{ + return endpoint_; +} + +bool DescribeNotificationConfigResult::getEnable()const +{ + return enable_; +} + +std::string DescribeNotificationConfigResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeNotificationConfigResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeNotificationConfigResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeNotificationConfigResult::getTag()const +{ + return tag_; +} + +std::string DescribeNotificationConfigResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeNotificationConfigResult::getTopic()const +{ + return topic_; +} + +std::string DescribeNotificationConfigResult::getCode()const +{ + return code_; +} + +bool DescribeNotificationConfigResult::getSuccess()const +{ + return success_; +} + +std::string DescribeNotificationConfigResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudesl/src/model/DescribeStoreByTemplateVersionRequest.cc b/cloudesl/src/model/DescribeStoreByTemplateVersionRequest.cc new file mode 100644 index 000000000..907a6e5e3 --- /dev/null +++ b/cloudesl/src/model/DescribeStoreByTemplateVersionRequest.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::DescribeStoreByTemplateVersionRequest; + +DescribeStoreByTemplateVersionRequest::DescribeStoreByTemplateVersionRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeStoreByTemplateVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeStoreByTemplateVersionRequest::~DescribeStoreByTemplateVersionRequest() +{} + +std::string DescribeStoreByTemplateVersionRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void DescribeStoreByTemplateVersionRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + diff --git a/cloudesl/src/model/DescribeStoreByTemplateVersionResult.cc b/cloudesl/src/model/DescribeStoreByTemplateVersionResult.cc new file mode 100644 index 000000000..e5117e4b7 --- /dev/null +++ b/cloudesl/src/model/DescribeStoreByTemplateVersionResult.cc @@ -0,0 +1,122 @@ +/* + * 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; + +DescribeStoreByTemplateVersionResult::DescribeStoreByTemplateVersionResult() : + ServiceResult() +{} + +DescribeStoreByTemplateVersionResult::DescribeStoreByTemplateVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStoreByTemplateVersionResult::~DescribeStoreByTemplateVersionResult() +{} + +void DescribeStoreByTemplateVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStoresNode = value["Stores"]["SelectItemInfo"]; + for (auto valueStoresSelectItemInfo : allStoresNode) + { + SelectItemInfo storesObject; + if(!valueStoresSelectItemInfo["StoreName"].isNull()) + storesObject.storeName = valueStoresSelectItemInfo["StoreName"].asString(); + if(!valueStoresSelectItemInfo["StoreId"].isNull()) + storesObject.storeId = valueStoresSelectItemInfo["StoreId"].asString(); + if(!valueStoresSelectItemInfo["ParentId"].isNull()) + storesObject.parentId = valueStoresSelectItemInfo["ParentId"].asString(); + if(!valueStoresSelectItemInfo["UserStoreCode"].isNull()) + storesObject.userStoreCode = valueStoresSelectItemInfo["UserStoreCode"].asString(); + if(!valueStoresSelectItemInfo["GmtModified"].isNull()) + storesObject.gmtModified = valueStoresSelectItemInfo["GmtModified"].asString(); + if(!valueStoresSelectItemInfo["Phone"].isNull()) + storesObject.phone = valueStoresSelectItemInfo["Phone"].asString(); + if(!valueStoresSelectItemInfo["Level"].isNull()) + storesObject.level = valueStoresSelectItemInfo["Level"].asString(); + if(!valueStoresSelectItemInfo["TemplateVersion"].isNull()) + storesObject.templateVersion = valueStoresSelectItemInfo["TemplateVersion"].asString(); + if(!valueStoresSelectItemInfo["TimeZone"].isNull()) + storesObject.timeZone = valueStoresSelectItemInfo["TimeZone"].asString(); + stores_.push_back(storesObject); + } + 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 DescribeStoreByTemplateVersionResult::getMessage()const +{ + return message_; +} + +std::string DescribeStoreByTemplateVersionResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::vector DescribeStoreByTemplateVersionResult::getStores()const +{ + return stores_; +} + +std::string DescribeStoreByTemplateVersionResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeStoreByTemplateVersionResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeStoreByTemplateVersionResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeStoreByTemplateVersionResult::getCode()const +{ + return code_; +} + +bool DescribeStoreByTemplateVersionResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeStoreConfigResult.cc b/cloudesl/src/model/DescribeStoreConfigResult.cc index 15f994393..4cdd98921 100644 --- a/cloudesl/src/model/DescribeStoreConfigResult.cc +++ b/cloudesl/src/model/DescribeStoreConfigResult.cc @@ -40,28 +40,44 @@ void DescribeStoreConfigResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto storeConfigInfoNode = value["StoreConfigInfo"]; + if(!storeConfigInfoNode["StoreId"].isNull()) + storeConfigInfo_.storeId = storeConfigInfoNode["StoreId"].asString(); if(!storeConfigInfoNode["EnableNotification"].isNull()) storeConfigInfo_.enableNotification = storeConfigInfoNode["EnableNotification"].asString() == "true"; if(!storeConfigInfoNode["NotificationWebHook"].isNull()) storeConfigInfo_.notificationWebHook = storeConfigInfoNode["NotificationWebHook"].asString(); if(!storeConfigInfoNode["NotificationSilentTimes"].isNull()) storeConfigInfo_.notificationSilentTimes = storeConfigInfoNode["NotificationSilentTimes"].asString(); - if(!storeConfigInfoNode["StoreId"].isNull()) - storeConfigInfo_.storeId = storeConfigInfoNode["StoreId"].asString(); + auto allSubscribeContentsNode = storeConfigInfoNode["SubscribeContents"]["subscribeContent"]; + for (auto storeConfigInfoNodeSubscribeContentssubscribeContent : allSubscribeContentsNode) + { + StoreConfigInfo::SubscribeContent subscribeContentObject; + if(!storeConfigInfoNodeSubscribeContentssubscribeContent["Category"].isNull()) + subscribeContentObject.category = storeConfigInfoNodeSubscribeContentssubscribeContent["Category"].asString(); + if(!storeConfigInfoNodeSubscribeContentssubscribeContent["Enable"].isNull()) + subscribeContentObject.enable = storeConfigInfoNodeSubscribeContentssubscribeContent["Enable"].asString() == "true"; + if(!storeConfigInfoNodeSubscribeContentssubscribeContent["Threshold"].isNull()) + subscribeContentObject.threshold = storeConfigInfoNodeSubscribeContentssubscribeContent["Threshold"].asString(); + if(!storeConfigInfoNodeSubscribeContentssubscribeContent["AtAll"].isNull()) + subscribeContentObject.atAll = storeConfigInfoNodeSubscribeContentssubscribeContent["AtAll"].asString() == "true"; + if(!storeConfigInfoNodeSubscribeContentssubscribeContent["AtMobileList"].isNull()) + subscribeContentObject.atMobileList = storeConfigInfoNodeSubscribeContentssubscribeContent["AtMobileList"].asString(); + storeConfigInfo_.subscribeContents.push_back(subscribeContentObject); + } 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/DescribeTemplateByModelRequest.cc b/cloudesl/src/model/DescribeTemplateByModelRequest.cc new file mode 100644 index 000000000..d150bc23c --- /dev/null +++ b/cloudesl/src/model/DescribeTemplateByModelRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::DescribeTemplateByModelRequest; + +DescribeTemplateByModelRequest::DescribeTemplateByModelRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "DescribeTemplateByModel") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeTemplateByModelRequest::~DescribeTemplateByModelRequest() +{} + +std::string DescribeTemplateByModelRequest::getEslSize()const +{ + return eslSize_; +} + +void DescribeTemplateByModelRequest::setEslSize(const std::string& eslSize) +{ + eslSize_ = eslSize; + setBodyParameter("EslSize", eslSize); +} + +std::string DescribeTemplateByModelRequest::getDeviceType()const +{ + return deviceType_; +} + +void DescribeTemplateByModelRequest::setDeviceType(const std::string& deviceType) +{ + deviceType_ = deviceType; + setBodyParameter("DeviceType", deviceType); +} + +int DescribeTemplateByModelRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeTemplateByModelRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setBodyParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeTemplateByModelRequest::getTemplateVersion()const +{ + return templateVersion_; +} + +void DescribeTemplateByModelRequest::setTemplateVersion(const std::string& templateVersion) +{ + templateVersion_ = templateVersion; + setBodyParameter("TemplateVersion", templateVersion); +} + +int DescribeTemplateByModelRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTemplateByModelRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/cloudesl/src/model/DescribeTemplateByModelResult.cc b/cloudesl/src/model/DescribeTemplateByModelResult.cc new file mode 100644 index 000000000..baa0ce3bf --- /dev/null +++ b/cloudesl/src/model/DescribeTemplateByModelResult.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; + +DescribeTemplateByModelResult::DescribeTemplateByModelResult() : + ServiceResult() +{} + +DescribeTemplateByModelResult::DescribeTemplateByModelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplateByModelResult::~DescribeTemplateByModelResult() +{} + +void DescribeTemplateByModelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["SelectItemInfo"]; + for (auto valueItemsSelectItemInfo : allItemsNode) + { + SelectItemInfo itemsObject; + if(!valueItemsSelectItemInfo["BasePicture"].isNull()) + itemsObject.basePicture = valueItemsSelectItemInfo["BasePicture"].asString(); + if(!valueItemsSelectItemInfo["TemplateId"].isNull()) + itemsObject.templateId = valueItemsSelectItemInfo["TemplateId"].asString(); + if(!valueItemsSelectItemInfo["TemplateName"].isNull()) + itemsObject.templateName = valueItemsSelectItemInfo["TemplateName"].asString(); + if(!valueItemsSelectItemInfo["EslSize"].isNull()) + itemsObject.eslSize = valueItemsSelectItemInfo["EslSize"].asString(); + if(!valueItemsSelectItemInfo["EslType"].isNull()) + itemsObject.eslType = valueItemsSelectItemInfo["EslType"].asString(); + if(!valueItemsSelectItemInfo["Width"].isNull()) + itemsObject.width = std::stol(valueItemsSelectItemInfo["Width"].asString()); + if(!valueItemsSelectItemInfo["Height"].isNull()) + itemsObject.height = std::stol(valueItemsSelectItemInfo["Height"].asString()); + if(!valueItemsSelectItemInfo["TemplateVersion"].isNull()) + itemsObject.templateVersion = valueItemsSelectItemInfo["TemplateVersion"].asString(); + if(!valueItemsSelectItemInfo["Layout"].isNull()) + itemsObject.layout = valueItemsSelectItemInfo["Layout"].asString(); + if(!valueItemsSelectItemInfo["Scene"].isNull()) + itemsObject.scene = valueItemsSelectItemInfo["Scene"].asString(); + if(!valueItemsSelectItemInfo["Brand"].isNull()) + itemsObject.brand = valueItemsSelectItemInfo["Brand"].asString(); + items_.push_back(itemsObject); + } + 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 DescribeTemplateByModelResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeTemplateByModelResult::getMessage()const +{ + return message_; +} + +int DescribeTemplateByModelResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeTemplateByModelResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeTemplateByModelResult::getItems()const +{ + return items_; +} + +std::string DescribeTemplateByModelResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string DescribeTemplateByModelResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DescribeTemplateByModelResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string DescribeTemplateByModelResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeTemplateByModelResult::getCode()const +{ + return code_; +} + +bool DescribeTemplateByModelResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeUserLogResult.cc b/cloudesl/src/model/DescribeUserLogResult.cc index a6785b9c1..50bc9a796 100644 --- a/cloudesl/src/model/DescribeUserLogResult.cc +++ b/cloudesl/src/model/DescribeUserLogResult.cc @@ -43,66 +43,68 @@ void DescribeUserLogResult::parse(const std::string &payload) for (auto valueUserLogsUserLogInfo : allUserLogsNode) { UserLogInfo userLogsObject; - if(!valueUserLogsUserLogInfo["ResultCode"].isNull()) - userLogsObject.resultCode = valueUserLogsUserLogInfo["ResultCode"].asString(); + if(!valueUserLogsUserLogInfo["EslBarCode"].isNull()) + userLogsObject.eslBarCode = valueUserLogsUserLogInfo["EslBarCode"].asString(); if(!valueUserLogsUserLogInfo["OperationSendTime"].isNull()) userLogsObject.operationSendTime = valueUserLogsUserLogInfo["OperationSendTime"].asString(); - if(!valueUserLogsUserLogInfo["GmtCreate"].isNull()) - userLogsObject.gmtCreate = valueUserLogsUserLogInfo["GmtCreate"].asString(); - if(!valueUserLogsUserLogInfo["StoreId"].isNull()) - userLogsObject.storeId = valueUserLogsUserLogInfo["StoreId"].asString(); - if(!valueUserLogsUserLogInfo["GmtModified"].isNull()) - userLogsObject.gmtModified = valueUserLogsUserLogInfo["GmtModified"].asString(); if(!valueUserLogsUserLogInfo["ActionPrice"].isNull()) userLogsObject.actionPrice = valueUserLogsUserLogInfo["ActionPrice"].asString(); - if(!valueUserLogsUserLogInfo["OperationStatus"].isNull()) - userLogsObject.operationStatus = valueUserLogsUserLogInfo["OperationStatus"].asString(); + if(!valueUserLogsUserLogInfo["UserId"].isNull()) + userLogsObject.userId = valueUserLogsUserLogInfo["UserId"].asString(); if(!valueUserLogsUserLogInfo["PriceUnit"].isNull()) userLogsObject.priceUnit = valueUserLogsUserLogInfo["PriceUnit"].asString(); - if(!valueUserLogsUserLogInfo["LogId"].isNull()) - userLogsObject.logId = valueUserLogsUserLogInfo["LogId"].asString(); - if(!valueUserLogsUserLogInfo["ItemShortTitle"].isNull()) - userLogsObject.itemShortTitle = valueUserLogsUserLogInfo["ItemShortTitle"].asString(); + if(!valueUserLogsUserLogInfo["ResultCode"].isNull()) + userLogsObject.resultCode = valueUserLogsUserLogInfo["ResultCode"].asString(); + if(!valueUserLogsUserLogInfo["ItemId"].isNull()) + userLogsObject.itemId = valueUserLogsUserLogInfo["ItemId"].asString(); + if(!valueUserLogsUserLogInfo["GmtModified"].isNull()) + userLogsObject.gmtModified = valueUserLogsUserLogInfo["GmtModified"].asString(); if(!valueUserLogsUserLogInfo["OperationType"].isNull()) userLogsObject.operationType = valueUserLogsUserLogInfo["OperationType"].asString(); if(!valueUserLogsUserLogInfo["OperationResponseTime"].isNull()) userLogsObject.operationResponseTime = valueUserLogsUserLogInfo["OperationResponseTime"].asString(); - if(!valueUserLogsUserLogInfo["SpendTime"].isNull()) - userLogsObject.spendTime = valueUserLogsUserLogInfo["SpendTime"].asString(); - if(!valueUserLogsUserLogInfo["EslBarCode"].isNull()) - userLogsObject.eslBarCode = valueUserLogsUserLogInfo["EslBarCode"].asString(); - if(!valueUserLogsUserLogInfo["ItemId"].isNull()) - userLogsObject.itemId = valueUserLogsUserLogInfo["ItemId"].asString(); - if(!valueUserLogsUserLogInfo["ItemBarCode"].isNull()) - userLogsObject.itemBarCode = valueUserLogsUserLogInfo["ItemBarCode"].asString(); + if(!valueUserLogsUserLogInfo["OperationStatus"].isNull()) + userLogsObject.operationStatus = valueUserLogsUserLogInfo["OperationStatus"].asString(); + if(!valueUserLogsUserLogInfo["StoreId"].isNull()) + userLogsObject.storeId = valueUserLogsUserLogInfo["StoreId"].asString(); + if(!valueUserLogsUserLogInfo["ItemShortTitle"].isNull()) + userLogsObject.itemShortTitle = valueUserLogsUserLogInfo["ItemShortTitle"].asString(); + if(!valueUserLogsUserLogInfo["LogId"].isNull()) + userLogsObject.logId = valueUserLogsUserLogInfo["LogId"].asString(); if(!valueUserLogsUserLogInfo["BePromotion"].isNull()) userLogsObject.bePromotion = valueUserLogsUserLogInfo["BePromotion"].asString() == "true"; - if(!valueUserLogsUserLogInfo["UserId"].isNull()) - userLogsObject.userId = valueUserLogsUserLogInfo["UserId"].asString(); + if(!valueUserLogsUserLogInfo["GmtCreate"].isNull()) + userLogsObject.gmtCreate = valueUserLogsUserLogInfo["GmtCreate"].asString(); if(!valueUserLogsUserLogInfo["EslSignal"].isNull()) userLogsObject.eslSignal = std::stoi(valueUserLogsUserLogInfo["EslSignal"].asString()); + if(!valueUserLogsUserLogInfo["SpendTime"].isNull()) + userLogsObject.spendTime = valueUserLogsUserLogInfo["SpendTime"].asString(); + if(!valueUserLogsUserLogInfo["ItemBarCode"].isNull()) + userLogsObject.itemBarCode = valueUserLogsUserLogInfo["ItemBarCode"].asString(); + if(!valueUserLogsUserLogInfo["I18nResultKey"].isNull()) + userLogsObject.i18nResultKey = valueUserLogsUserLogInfo["I18nResultKey"].asString(); userLogs_.push_back(userLogsObject); } if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].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["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].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["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()); + if(!value["DynamicCode"].isNull()) + dynamicCode_ = value["DynamicCode"].asString(); } diff --git a/cloudesl/src/model/ExportEslDevicesRequest.cc b/cloudesl/src/model/ExportEslDevicesRequest.cc new file mode 100644 index 000000000..5f198411b --- /dev/null +++ b/cloudesl/src/model/ExportEslDevicesRequest.cc @@ -0,0 +1,150 @@ +/* + * 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::ExportEslDevicesRequest; + +ExportEslDevicesRequest::ExportEslDevicesRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "ExportEslDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +ExportEslDevicesRequest::~ExportEslDevicesRequest() +{} + +std::string ExportEslDevicesRequest::getExtraParams()const +{ + return extraParams_; +} + +void ExportEslDevicesRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string ExportEslDevicesRequest::getLanguage()const +{ + return language_; +} + +void ExportEslDevicesRequest::setLanguage(const std::string& language) +{ + language_ = language; + setBodyParameter("Language", language); +} + +std::string ExportEslDevicesRequest::getType()const +{ + return type_; +} + +void ExportEslDevicesRequest::setType(const std::string& type) +{ + type_ = type; + setBodyParameter("Type", type); +} + +std::string ExportEslDevicesRequest::getStoreId()const +{ + return storeId_; +} + +void ExportEslDevicesRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setBodyParameter("StoreId", storeId); +} + +std::string ExportEslDevicesRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void ExportEslDevicesRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setBodyParameter("EslBarCode", eslBarCode); +} + +std::string ExportEslDevicesRequest::getTypeEncode()const +{ + return typeEncode_; +} + +void ExportEslDevicesRequest::setTypeEncode(const std::string& typeEncode) +{ + typeEncode_ = typeEncode; + setBodyParameter("TypeEncode", typeEncode); +} + +std::string ExportEslDevicesRequest::getEslStatus()const +{ + return eslStatus_; +} + +void ExportEslDevicesRequest::setEslStatus(const std::string& eslStatus) +{ + eslStatus_ = eslStatus; + setBodyParameter("EslStatus", eslStatus); +} + +int ExportEslDevicesRequest::getToBatteryLevel()const +{ + return toBatteryLevel_; +} + +void ExportEslDevicesRequest::setToBatteryLevel(int toBatteryLevel) +{ + toBatteryLevel_ = toBatteryLevel; + setBodyParameter("ToBatteryLevel", std::to_string(toBatteryLevel)); +} + +std::string ExportEslDevicesRequest::getLevelLower()const +{ + return levelLower_; +} + +void ExportEslDevicesRequest::setLevelLower(const std::string& levelLower) +{ + levelLower_ = levelLower; + setBodyParameter("LevelLower", levelLower); +} + +int ExportEslDevicesRequest::getFromBatteryLevel()const +{ + return fromBatteryLevel_; +} + +void ExportEslDevicesRequest::setFromBatteryLevel(int fromBatteryLevel) +{ + fromBatteryLevel_ = fromBatteryLevel; + setBodyParameter("FromBatteryLevel", std::to_string(fromBatteryLevel)); +} + +std::string ExportEslDevicesRequest::getLevelOrder()const +{ + return levelOrder_; +} + +void ExportEslDevicesRequest::setLevelOrder(const std::string& levelOrder) +{ + levelOrder_ = levelOrder; + setBodyParameter("LevelOrder", levelOrder); +} + diff --git a/cloudesl/src/model/ExportEslDevicesResult.cc b/cloudesl/src/model/ExportEslDevicesResult.cc new file mode 100644 index 000000000..104ec89d3 --- /dev/null +++ b/cloudesl/src/model/ExportEslDevicesResult.cc @@ -0,0 +1,100 @@ +/* + * 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; + +ExportEslDevicesResult::ExportEslDevicesResult() : + ServiceResult() +{} + +ExportEslDevicesResult::ExportEslDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportEslDevicesResult::~ExportEslDevicesResult() +{} + +void ExportEslDevicesResult::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(); + if(!value["DownloadAddress"].isNull()) + downloadAddress_ = value["DownloadAddress"].asString(); + +} + +std::string ExportEslDevicesResult::getMessage()const +{ + return message_; +} + +std::string ExportEslDevicesResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string ExportEslDevicesResult::getDownloadAddress()const +{ + return downloadAddress_; +} + +std::string ExportEslDevicesResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ExportEslDevicesResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string ExportEslDevicesResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ExportEslDevicesResult::getCode()const +{ + return code_; +} + +bool ExportEslDevicesResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/GetCompanyTemplatePictureByJobRequest.cc b/cloudesl/src/model/GetCompanyTemplatePictureByJobRequest.cc new file mode 100644 index 000000000..4b4aafcf5 --- /dev/null +++ b/cloudesl/src/model/GetCompanyTemplatePictureByJobRequest.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::GetCompanyTemplatePictureByJobRequest; + +GetCompanyTemplatePictureByJobRequest::GetCompanyTemplatePictureByJobRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetCompanyTemplatePictureByJob") +{ + setMethod(HttpRequest::Method::Post); +} + +GetCompanyTemplatePictureByJobRequest::~GetCompanyTemplatePictureByJobRequest() +{} + +std::string GetCompanyTemplatePictureByJobRequest::getJobId()const +{ + return jobId_; +} + +void GetCompanyTemplatePictureByJobRequest::setJobId(const std::string& jobId) +{ + jobId_ = jobId; + setBodyParameter("JobId", jobId); +} + diff --git a/cloudesl/src/model/GetCompanyTemplatePictureByJobResult.cc b/cloudesl/src/model/GetCompanyTemplatePictureByJobResult.cc new file mode 100644 index 000000000..2023186dd --- /dev/null +++ b/cloudesl/src/model/GetCompanyTemplatePictureByJobResult.cc @@ -0,0 +1,121 @@ +/* + * 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; + +GetCompanyTemplatePictureByJobResult::GetCompanyTemplatePictureByJobResult() : + ServiceResult() +{} + +GetCompanyTemplatePictureByJobResult::GetCompanyTemplatePictureByJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCompanyTemplatePictureByJobResult::~GetCompanyTemplatePictureByJobResult() +{} + +void GetCompanyTemplatePictureByJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Base64Picture"].isNull()) + base64Picture_ = value["Base64Picture"].asString(); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Url"].isNull()) + url_ = value["Url"].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 GetCompanyTemplatePictureByJobResult::getType()const +{ + return type_; +} + +std::string GetCompanyTemplatePictureByJobResult::getMessage()const +{ + return message_; +} + +std::string GetCompanyTemplatePictureByJobResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string GetCompanyTemplatePictureByJobResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetCompanyTemplatePictureByJobResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string GetCompanyTemplatePictureByJobResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetCompanyTemplatePictureByJobResult::getBase64Picture()const +{ + return base64Picture_; +} + +std::string GetCompanyTemplatePictureByJobResult::getCode()const +{ + return code_; +} + +std::string GetCompanyTemplatePictureByJobResult::getJobId()const +{ + return jobId_; +} + +std::string GetCompanyTemplatePictureByJobResult::getUrl()const +{ + return url_; +} + +bool GetCompanyTemplatePictureByJobResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/GetCompanyTemplatePictureNewRequest.cc b/cloudesl/src/model/GetCompanyTemplatePictureNewRequest.cc new file mode 100644 index 000000000..af3a7fc45 --- /dev/null +++ b/cloudesl/src/model/GetCompanyTemplatePictureNewRequest.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::GetCompanyTemplatePictureNewRequest; + +GetCompanyTemplatePictureNewRequest::GetCompanyTemplatePictureNewRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetCompanyTemplatePictureNew") +{ + setMethod(HttpRequest::Method::Post); +} + +GetCompanyTemplatePictureNewRequest::~GetCompanyTemplatePictureNewRequest() +{} + +std::string GetCompanyTemplatePictureNewRequest::getData()const +{ + return data_; +} + +void GetCompanyTemplatePictureNewRequest::setData(const std::string& data) +{ + data_ = data; + setBodyParameter("Data", data); +} + diff --git a/cloudesl/src/model/DescribeClientPackageResult.cc b/cloudesl/src/model/GetCompanyTemplatePictureNewResult.cc similarity index 55% rename from cloudesl/src/model/DescribeClientPackageResult.cc rename to cloudesl/src/model/GetCompanyTemplatePictureNewResult.cc index 5fc519846..00cbe2944 100644 --- a/cloudesl/src/model/DescribeClientPackageResult.cc +++ b/cloudesl/src/model/GetCompanyTemplatePictureNewResult.cc @@ -14,107 +14,107 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -DescribeClientPackageResult::DescribeClientPackageResult() : +GetCompanyTemplatePictureNewResult::GetCompanyTemplatePictureNewResult() : ServiceResult() {} -DescribeClientPackageResult::DescribeClientPackageResult(const std::string &payload) : +GetCompanyTemplatePictureNewResult::GetCompanyTemplatePictureNewResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeClientPackageResult::~DescribeClientPackageResult() +GetCompanyTemplatePictureNewResult::~GetCompanyTemplatePictureNewResult() {} -void DescribeClientPackageResult::parse(const std::string &payload) +void GetCompanyTemplatePictureNewResult::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["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["UpdateType"].isNull()) - updateType_ = value["UpdateType"].asString(); + if(!value["Base64Picture"].isNull()) + base64Picture_ = value["Base64Picture"].asString(); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); if(!value["Url"].isNull()) url_ = value["Url"].asString(); - if(!value["Version"].isNull()) - version_ = value["Version"].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["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 DescribeClientPackageResult::getDescription()const +std::string GetCompanyTemplatePictureNewResult::getType()const { - return description_; + return type_; } -std::string DescribeClientPackageResult::getMessage()const +std::string GetCompanyTemplatePictureNewResult::getMessage()const { return message_; } -std::string DescribeClientPackageResult::getVersion()const -{ - return version_; -} - -std::string DescribeClientPackageResult::getDynamicCode()const +std::string GetCompanyTemplatePictureNewResult::getDynamicCode()const { return dynamicCode_; } -std::string DescribeClientPackageResult::getErrorCode()const +std::string GetCompanyTemplatePictureNewResult::getErrorCode()const { return errorCode_; } -std::string DescribeClientPackageResult::getDynamicMessage()const +std::string GetCompanyTemplatePictureNewResult::getDynamicMessage()const { return dynamicMessage_; } -std::string DescribeClientPackageResult::getErrorMessage()const +std::string GetCompanyTemplatePictureNewResult::getErrorMessage()const { return errorMessage_; } -std::string DescribeClientPackageResult::getUpdateType()const +std::string GetCompanyTemplatePictureNewResult::getBase64Picture()const { - return updateType_; + return base64Picture_; } -std::string DescribeClientPackageResult::getCode()const +std::string GetCompanyTemplatePictureNewResult::getCode()const { return code_; } -std::string DescribeClientPackageResult::getUrl()const +std::string GetCompanyTemplatePictureNewResult::getJobId()const +{ + return jobId_; +} + +std::string GetCompanyTemplatePictureNewResult::getUrl()const { return url_; } -bool DescribeClientPackageResult::getSuccess()const +bool GetCompanyTemplatePictureNewResult::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/GetCompanyTemplatePictureRequest.cc b/cloudesl/src/model/GetCompanyTemplatePictureRequest.cc new file mode 100644 index 000000000..c36a3d28b --- /dev/null +++ b/cloudesl/src/model/GetCompanyTemplatePictureRequest.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::GetCompanyTemplatePictureRequest; + +GetCompanyTemplatePictureRequest::GetCompanyTemplatePictureRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetCompanyTemplatePicture") +{ + setMethod(HttpRequest::Method::Post); +} + +GetCompanyTemplatePictureRequest::~GetCompanyTemplatePictureRequest() +{} + +std::string GetCompanyTemplatePictureRequest::getExtraParams()const +{ + return extraParams_; +} + +void GetCompanyTemplatePictureRequest::setExtraParams(const std::string& extraParams) +{ + extraParams_ = extraParams; + setBodyParameter("ExtraParams", extraParams); +} + +std::string GetCompanyTemplatePictureRequest::getData()const +{ + return data_; +} + +void GetCompanyTemplatePictureRequest::setData(const std::string& data) +{ + data_ = data; + setBodyParameter("Data", data); +} + diff --git a/cloudesl/src/model/GetCompanyTemplatePictureResult.cc b/cloudesl/src/model/GetCompanyTemplatePictureResult.cc new file mode 100644 index 000000000..908eb398c --- /dev/null +++ b/cloudesl/src/model/GetCompanyTemplatePictureResult.cc @@ -0,0 +1,100 @@ +/* + * 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; + +GetCompanyTemplatePictureResult::GetCompanyTemplatePictureResult() : + ServiceResult() +{} + +GetCompanyTemplatePictureResult::GetCompanyTemplatePictureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCompanyTemplatePictureResult::~GetCompanyTemplatePictureResult() +{} + +void GetCompanyTemplatePictureResult::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["Base64Picture"].isNull()) + base64Picture_ = value["Base64Picture"].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 GetCompanyTemplatePictureResult::getMessage()const +{ + return message_; +} + +std::string GetCompanyTemplatePictureResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string GetCompanyTemplatePictureResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetCompanyTemplatePictureResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string GetCompanyTemplatePictureResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetCompanyTemplatePictureResult::getCode()const +{ + return code_; +} + +std::string GetCompanyTemplatePictureResult::getBase64Picture()const +{ + return base64Picture_; +} + +bool GetCompanyTemplatePictureResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/GetItemMaterialRequest.cc b/cloudesl/src/model/GetItemMaterialRequest.cc new file mode 100644 index 000000000..e4f44c237 --- /dev/null +++ b/cloudesl/src/model/GetItemMaterialRequest.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::GetItemMaterialRequest; + +GetItemMaterialRequest::GetItemMaterialRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "GetItemMaterial") +{ + setMethod(HttpRequest::Method::Post); +} + +GetItemMaterialRequest::~GetItemMaterialRequest() +{} + +std::string GetItemMaterialRequest::getBarCode()const +{ + return barCode_; +} + +void GetItemMaterialRequest::setBarCode(const std::string& barCode) +{ + barCode_ = barCode; + setBodyParameter("BarCode", barCode); +} + diff --git a/cloudesl/src/model/GetItemMaterialResult.cc b/cloudesl/src/model/GetItemMaterialResult.cc new file mode 100644 index 000000000..4f3d82d76 --- /dev/null +++ b/cloudesl/src/model/GetItemMaterialResult.cc @@ -0,0 +1,117 @@ +/* + * 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; + +GetItemMaterialResult::GetItemMaterialResult() : + ServiceResult() +{} + +GetItemMaterialResult::GetItemMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetItemMaterialResult::~GetItemMaterialResult() +{} + +void GetItemMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto materialInfoNode = value["MaterialInfo"]; + if(!materialInfoNode["ItemName"].isNull()) + materialInfo_.itemName = materialInfoNode["ItemName"].asString(); + if(!materialInfoNode["BarCode"].isNull()) + materialInfo_.barCode = materialInfoNode["BarCode"].asString(); + if(!materialInfoNode["GmtCreate"].isNull()) + materialInfo_.gmtCreate = materialInfoNode["GmtCreate"].asString(); + if(!materialInfoNode["MaterialName"].isNull()) + materialInfo_.materialName = materialInfoNode["MaterialName"].asString(); + if(!materialInfoNode["MaterialId"].isNull()) + materialInfo_.materialId = materialInfoNode["MaterialId"].asString(); + if(!materialInfoNode["MaterialFeatureA"].isNull()) + materialInfo_.materialFeatureA = materialInfoNode["MaterialFeatureA"].asString(); + if(!materialInfoNode["MaterialFeatureB"].isNull()) + materialInfo_.materialFeatureB = materialInfoNode["MaterialFeatureB"].asString(); + if(!materialInfoNode["MaterialFeatureC"].isNull()) + materialInfo_.materialFeatureC = materialInfoNode["MaterialFeatureC"].asString(); + if(!materialInfoNode["MaterialFeatureD"].isNull()) + materialInfo_.materialFeatureD = materialInfoNode["MaterialFeatureD"].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 GetItemMaterialResult::getMessage()const +{ + return message_; +} + +GetItemMaterialResult::MaterialInfo GetItemMaterialResult::getMaterialInfo()const +{ + return materialInfo_; +} + +std::string GetItemMaterialResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string GetItemMaterialResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetItemMaterialResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string GetItemMaterialResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetItemMaterialResult::getCode()const +{ + return code_; +} + +bool GetItemMaterialResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/SyncAddMaterialRequest.cc b/cloudesl/src/model/SyncAddMaterialRequest.cc new file mode 100644 index 000000000..44f910e09 --- /dev/null +++ b/cloudesl/src/model/SyncAddMaterialRequest.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::SyncAddMaterialRequest; + +SyncAddMaterialRequest::SyncAddMaterialRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "SyncAddMaterial") +{ + setMethod(HttpRequest::Method::Post); +} + +SyncAddMaterialRequest::~SyncAddMaterialRequest() +{} + +std::string SyncAddMaterialRequest::getContent()const +{ + return content_; +} + +void SyncAddMaterialRequest::setContent(const std::string& content) +{ + content_ = content; + setBodyParameter("Content", content); +} + +std::string SyncAddMaterialRequest::getName()const +{ + return name_; +} + +void SyncAddMaterialRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/cloudesl/src/model/SyncAddMaterialResult.cc b/cloudesl/src/model/SyncAddMaterialResult.cc new file mode 100644 index 000000000..08f293425 --- /dev/null +++ b/cloudesl/src/model/SyncAddMaterialResult.cc @@ -0,0 +1,109 @@ +/* + * 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; + +SyncAddMaterialResult::SyncAddMaterialResult() : + ServiceResult() +{} + +SyncAddMaterialResult::SyncAddMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SyncAddMaterialResult::~SyncAddMaterialResult() +{} + +void SyncAddMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + if(!resultNode["Message"].isNull()) + result_.message = resultNode["Message"].asString(); + if(!resultNode["DynamicMessage"].isNull()) + result_.dynamicMessage = resultNode["DynamicMessage"].asString(); + if(!resultNode["DynamicCode"].isNull()) + result_.dynamicCode = resultNode["DynamicCode"].asString(); + if(!resultNode["ErrorCode"].isNull()) + result_.errorCode = resultNode["ErrorCode"].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 SyncAddMaterialResult::getMessage()const +{ + return message_; +} + +std::string SyncAddMaterialResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string SyncAddMaterialResult::getErrorCode()const +{ + return errorCode_; +} + +std::string SyncAddMaterialResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string SyncAddMaterialResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SyncAddMaterialResult::getCode()const +{ + return code_; +} + +bool SyncAddMaterialResult::getSuccess()const +{ + return success_; +} + +SyncAddMaterialResult::Result SyncAddMaterialResult::getResult()const +{ + return result_; +} + diff --git a/cloudesl/src/model/UpdateItemMaterialRequest.cc b/cloudesl/src/model/UpdateItemMaterialRequest.cc new file mode 100644 index 000000000..5687a4177 --- /dev/null +++ b/cloudesl/src/model/UpdateItemMaterialRequest.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::UpdateItemMaterialRequest; + +UpdateItemMaterialRequest::UpdateItemMaterialRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "UpdateItemMaterial") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateItemMaterialRequest::~UpdateItemMaterialRequest() +{} + +std::string UpdateItemMaterialRequest::getMaterialId()const +{ + return materialId_; +} + +void UpdateItemMaterialRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setBodyParameter("MaterialId", materialId); +} + +std::string UpdateItemMaterialRequest::getBarCode()const +{ + return barCode_; +} + +void UpdateItemMaterialRequest::setBarCode(const std::string& barCode) +{ + barCode_ = barCode; + setBodyParameter("BarCode", barCode); +} + +std::string UpdateItemMaterialRequest::getItemName()const +{ + return itemName_; +} + +void UpdateItemMaterialRequest::setItemName(const std::string& itemName) +{ + itemName_ = itemName; + setBodyParameter("ItemName", itemName); +} + +std::string UpdateItemMaterialRequest::getMaterialFeatureA()const +{ + return materialFeatureA_; +} + +void UpdateItemMaterialRequest::setMaterialFeatureA(const std::string& materialFeatureA) +{ + materialFeatureA_ = materialFeatureA; + setBodyParameter("MaterialFeatureA", materialFeatureA); +} + +std::string UpdateItemMaterialRequest::getMaterialFeatureB()const +{ + return materialFeatureB_; +} + +void UpdateItemMaterialRequest::setMaterialFeatureB(const std::string& materialFeatureB) +{ + materialFeatureB_ = materialFeatureB; + setBodyParameter("MaterialFeatureB", materialFeatureB); +} + +std::string UpdateItemMaterialRequest::getMaterialFeatureC()const +{ + return materialFeatureC_; +} + +void UpdateItemMaterialRequest::setMaterialFeatureC(const std::string& materialFeatureC) +{ + materialFeatureC_ = materialFeatureC; + setBodyParameter("MaterialFeatureC", materialFeatureC); +} + +std::string UpdateItemMaterialRequest::getMaterialFeatureD()const +{ + return materialFeatureD_; +} + +void UpdateItemMaterialRequest::setMaterialFeatureD(const std::string& materialFeatureD) +{ + materialFeatureD_ = materialFeatureD; + setBodyParameter("MaterialFeatureD", materialFeatureD); +} + diff --git a/cloudesl/src/model/UpdateItemMaterialResult.cc b/cloudesl/src/model/UpdateItemMaterialResult.cc new file mode 100644 index 000000000..a0587ba7e --- /dev/null +++ b/cloudesl/src/model/UpdateItemMaterialResult.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; + +UpdateItemMaterialResult::UpdateItemMaterialResult() : + ServiceResult() +{} + +UpdateItemMaterialResult::UpdateItemMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateItemMaterialResult::~UpdateItemMaterialResult() +{} + +void UpdateItemMaterialResult::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 UpdateItemMaterialResult::getMessage()const +{ + return message_; +} + +std::string UpdateItemMaterialResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string UpdateItemMaterialResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateItemMaterialResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string UpdateItemMaterialResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateItemMaterialResult::getCode()const +{ + return code_; +} + +bool UpdateItemMaterialResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UpdateNotificationConfigRequest.cc b/cloudesl/src/model/UpdateNotificationConfigRequest.cc new file mode 100644 index 000000000..4bd316bcf --- /dev/null +++ b/cloudesl/src/model/UpdateNotificationConfigRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::UpdateNotificationConfigRequest; + +UpdateNotificationConfigRequest::UpdateNotificationConfigRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "UpdateNotificationConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateNotificationConfigRequest::~UpdateNotificationConfigRequest() +{} + +std::string UpdateNotificationConfigRequest::getEndpoint()const +{ + return endpoint_; +} + +void UpdateNotificationConfigRequest::setEndpoint(const std::string& endpoint) +{ + endpoint_ = endpoint; + setBodyParameter("Endpoint", endpoint); +} + +bool UpdateNotificationConfigRequest::getEnable()const +{ + return enable_; +} + +void UpdateNotificationConfigRequest::setEnable(bool enable) +{ + enable_ = enable; + setBodyParameter("Enable", enable ? "true" : "false"); +} + +std::string UpdateNotificationConfigRequest::getTag()const +{ + return tag_; +} + +void UpdateNotificationConfigRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setBodyParameter("Tag", tag); +} + +std::string UpdateNotificationConfigRequest::getGroupId()const +{ + return groupId_; +} + +void UpdateNotificationConfigRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +std::string UpdateNotificationConfigRequest::getTopic()const +{ + return topic_; +} + +void UpdateNotificationConfigRequest::setTopic(const std::string& topic) +{ + topic_ = topic; + setBodyParameter("Topic", topic); +} + diff --git a/cloudesl/src/model/UpdateNotificationConfigResult.cc b/cloudesl/src/model/UpdateNotificationConfigResult.cc new file mode 100644 index 000000000..be8438907 --- /dev/null +++ b/cloudesl/src/model/UpdateNotificationConfigResult.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; + +UpdateNotificationConfigResult::UpdateNotificationConfigResult() : + ServiceResult() +{} + +UpdateNotificationConfigResult::UpdateNotificationConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateNotificationConfigResult::~UpdateNotificationConfigResult() +{} + +void UpdateNotificationConfigResult::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 UpdateNotificationConfigResult::getMessage()const +{ + return message_; +} + +std::string UpdateNotificationConfigResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string UpdateNotificationConfigResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateNotificationConfigResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string UpdateNotificationConfigResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateNotificationConfigResult::getCode()const +{ + return code_; +} + +bool UpdateNotificationConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UpdateStoreConfigRequest.cc b/cloudesl/src/model/UpdateStoreConfigRequest.cc index 815b29bf3..f91fe6426 100644 --- a/cloudesl/src/model/UpdateStoreConfigRequest.cc +++ b/cloudesl/src/model/UpdateStoreConfigRequest.cc @@ -49,6 +49,17 @@ void UpdateStoreConfigRequest::setStoreId(const std::string& storeId) setBodyParameter("StoreId", storeId); } +std::string UpdateStoreConfigRequest::getSubscribeContents()const +{ + return subscribeContents_; +} + +void UpdateStoreConfigRequest::setSubscribeContents(const std::string& subscribeContents) +{ + subscribeContents_ = subscribeContents; + setBodyParameter("SubscribeContents", subscribeContents); +} + bool UpdateStoreConfigRequest::getEnableNotification()const { return enableNotification_; diff --git a/cloudesl/src/model/UpdateStoreConfigResult.cc b/cloudesl/src/model/UpdateStoreConfigResult.cc index 8f45f976c..3a7793f32 100644 --- a/cloudesl/src/model/UpdateStoreConfigResult.cc +++ b/cloudesl/src/model/UpdateStoreConfigResult.cc @@ -41,18 +41,18 @@ void UpdateStoreConfigResult::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/VerifyNotificationConfigRequest.cc b/cloudesl/src/model/VerifyNotificationConfigRequest.cc new file mode 100644 index 000000000..3e8bd7c63 --- /dev/null +++ b/cloudesl/src/model/VerifyNotificationConfigRequest.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::VerifyNotificationConfigRequest; + +VerifyNotificationConfigRequest::VerifyNotificationConfigRequest() : + RpcServiceRequest("cloudesl", "2020-02-01", "VerifyNotificationConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +VerifyNotificationConfigRequest::~VerifyNotificationConfigRequest() +{} + +std::string VerifyNotificationConfigRequest::getGroupId()const +{ + return groupId_; +} + +void VerifyNotificationConfigRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +std::string VerifyNotificationConfigRequest::getEndpoint()const +{ + return endpoint_; +} + +void VerifyNotificationConfigRequest::setEndpoint(const std::string& endpoint) +{ + endpoint_ = endpoint; + setBodyParameter("Endpoint", endpoint); +} + +std::string VerifyNotificationConfigRequest::getTopic()const +{ + return topic_; +} + +void VerifyNotificationConfigRequest::setTopic(const std::string& topic) +{ + topic_ = topic; + setBodyParameter("Topic", topic); +} + +std::string VerifyNotificationConfigRequest::getTag()const +{ + return tag_; +} + +void VerifyNotificationConfigRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setBodyParameter("Tag", tag); +} + diff --git a/cloudesl/src/model/VerifyNotificationConfigResult.cc b/cloudesl/src/model/VerifyNotificationConfigResult.cc new file mode 100644 index 000000000..0c445b2c3 --- /dev/null +++ b/cloudesl/src/model/VerifyNotificationConfigResult.cc @@ -0,0 +1,114 @@ +/* + * 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; + +VerifyNotificationConfigResult::VerifyNotificationConfigResult() : + ServiceResult() +{} + +VerifyNotificationConfigResult::VerifyNotificationConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyNotificationConfigResult::~VerifyNotificationConfigResult() +{} + +void VerifyNotificationConfigResult::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(); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["SendTime"].isNull()) + sendTime_ = value["SendTime"].asString(); + if(!value["ExceptionMessage"].isNull()) + exceptionMessage_ = value["ExceptionMessage"].asString(); + +} + +std::string VerifyNotificationConfigResult::getSendTime()const +{ + return sendTime_; +} + +std::string VerifyNotificationConfigResult::getExceptionMessage()const +{ + return exceptionMessage_; +} + +std::string VerifyNotificationConfigResult::getMessage()const +{ + return message_; +} + +std::string VerifyNotificationConfigResult::getDynamicCode()const +{ + return dynamicCode_; +} + +std::string VerifyNotificationConfigResult::getErrorCode()const +{ + return errorCode_; +} + +std::string VerifyNotificationConfigResult::getDynamicMessage()const +{ + return dynamicMessage_; +} + +std::string VerifyNotificationConfigResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string VerifyNotificationConfigResult::getCode()const +{ + return code_; +} + +bool VerifyNotificationConfigResult::getSuccess()const +{ + return success_; +} + +bool VerifyNotificationConfigResult::getResult()const +{ + return result_; +} +