diff --git a/CHANGELOG b/CHANGELOG index 2e4040578..7589c4db0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-10-27 Version: patch +- Fix bug. + 2020-10-27 Version: patch - Add role authority management. diff --git a/cloudesl/CMakeLists.txt b/cloudesl/CMakeLists.txt index 2ec56e847..40e41448c 100644 --- a/cloudesl/CMakeLists.txt +++ b/cloudesl/CMakeLists.txt @@ -21,165 +21,101 @@ set(cloudesl_public_header include/alibabacloud/cloudesl/CloudeslExport.h ) set(cloudesl_public_header_model - include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h - include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h - include/alibabacloud/cloudesl/model/AddApDeviceRequest.h - include/alibabacloud/cloudesl/model/AddApDeviceResult.h - include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h - include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h - include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h - include/alibabacloud/cloudesl/model/AddRoleActionsResult.h - include/alibabacloud/cloudesl/model/AddUserRequest.h - include/alibabacloud/cloudesl/model/AddUserResult.h - include/alibabacloud/cloudesl/model/AssignUserRequest.h - include/alibabacloud/cloudesl/model/AssignUserResult.h - include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h - include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h + include/alibabacloud/cloudesl/model/ActivateApServiceRequest.h + include/alibabacloud/cloudesl/model/ActivateApServiceResult.h + include/alibabacloud/cloudesl/model/ActivateApService2Request.h + include/alibabacloud/cloudesl/model/ActivateApService2Result.h include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h + include/alibabacloud/cloudesl/model/BindApStoreServiceRequest.h + include/alibabacloud/cloudesl/model/BindApStoreServiceResult.h include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h include/alibabacloud/cloudesl/model/BindEslDeviceResult.h - include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h - include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h + include/alibabacloud/cloudesl/model/BindEslDeviceShelfRequest.h + include/alibabacloud/cloudesl/model/BindEslDeviceShelfResult.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/DeletePlanogramShelfRequest.h - include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h - include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h - include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h + include/alibabacloud/cloudesl/model/DeleteApServiceRequest.h + include/alibabacloud/cloudesl/model/DeleteApServiceResult.h + include/alibabacloud/cloudesl/model/DeleteEslDeviceRequest.h + include/alibabacloud/cloudesl/model/DeleteEslDeviceResult.h + include/alibabacloud/cloudesl/model/DeleteItemRequest.h + include/alibabacloud/cloudesl/model/DeleteItemResult.h + include/alibabacloud/cloudesl/model/DeleteItemBySkuIdRequest.h + include/alibabacloud/cloudesl/model/DeleteItemBySkuIdResult.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/DescribeAlarmsRequest.h include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h - include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h - include/alibabacloud/cloudesl/model/DescribeApDevicesResult.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/DescribeCompanyRequest.h + include/alibabacloud/cloudesl/model/DescribeCompanyResult.h include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h include/alibabacloud/cloudesl/model/DescribeItemsRequest.h include/alibabacloud/cloudesl/model/DescribeItemsResult.h - include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h - include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h - include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h - include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h - include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h - include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h - include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h - include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h - include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h - include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.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/DescribeUserLogRequest.h - include/alibabacloud/cloudesl/model/DescribeUserLogResult.h - include/alibabacloud/cloudesl/model/DescribeUsersRequest.h - include/alibabacloud/cloudesl/model/DescribeUsersResult.h - include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h - include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h - include/alibabacloud/cloudesl/model/GetUserRequest.h - include/alibabacloud/cloudesl/model/GetUserResult.h - include/alibabacloud/cloudesl/model/UnassignUserRequest.h - include/alibabacloud/cloudesl/model/UnassignUserResult.h + include/alibabacloud/cloudesl/model/DescribeUserOperationLogRequest.h + include/alibabacloud/cloudesl/model/DescribeUserOperationLogResult.h + include/alibabacloud/cloudesl/model/DescribeUserRamPolicyRequest.h + include/alibabacloud/cloudesl/model/DescribeUserRamPolicyResult.h + include/alibabacloud/cloudesl/model/SearchApServiceRequest.h + include/alibabacloud/cloudesl/model/SearchApServiceResult.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/UnbindEslDeviceShelfRequest.h + include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfResult.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/UpdateUserRequest.h - include/alibabacloud/cloudesl/model/UpdateUserResult.h ) + include/alibabacloud/cloudesl/model/UpdateStoreResult.h ) set(cloudesl_src src/CloudeslClient.cc - src/model/ActivateApDeviceRequest.cc - src/model/ActivateApDeviceResult.cc - src/model/AddApDeviceRequest.cc - src/model/AddApDeviceResult.cc - src/model/AddPlanogramShelfRequest.cc - src/model/AddPlanogramShelfResult.cc - src/model/AddRoleActionsRequest.cc - src/model/AddRoleActionsResult.cc - src/model/AddUserRequest.cc - src/model/AddUserResult.cc - src/model/AssignUserRequest.cc - src/model/AssignUserResult.cc - src/model/AssociatePlanogramRailRequest.cc - src/model/AssociatePlanogramRailResult.cc + src/model/ActivateApServiceRequest.cc + src/model/ActivateApServiceResult.cc + src/model/ActivateApService2Request.cc + src/model/ActivateApService2Result.cc src/model/BatchInsertItemsRequest.cc src/model/BatchInsertItemsResult.cc + src/model/BindApStoreServiceRequest.cc + src/model/BindApStoreServiceResult.cc src/model/BindEslDeviceRequest.cc src/model/BindEslDeviceResult.cc - src/model/ComposePlanogramPositionsRequest.cc - src/model/ComposePlanogramPositionsResult.cc + src/model/BindEslDeviceShelfRequest.cc + src/model/BindEslDeviceShelfResult.cc src/model/CreateStoreRequest.cc src/model/CreateStoreResult.cc - src/model/DeleteApDeviceRequest.cc - src/model/DeleteApDeviceResult.cc - src/model/DeletePlanogramShelfRequest.cc - src/model/DeletePlanogramShelfResult.cc - src/model/DeleteRoleActionsRequest.cc - src/model/DeleteRoleActionsResult.cc + src/model/DeleteApServiceRequest.cc + src/model/DeleteApServiceResult.cc + src/model/DeleteEslDeviceRequest.cc + src/model/DeleteEslDeviceResult.cc + src/model/DeleteItemRequest.cc + src/model/DeleteItemResult.cc + src/model/DeleteItemBySkuIdRequest.cc + src/model/DeleteItemBySkuIdResult.cc src/model/DeleteStoreRequest.cc src/model/DeleteStoreResult.cc - src/model/DeleteUserRequest.cc - src/model/DeleteUserResult.cc src/model/DescribeAlarmsRequest.cc src/model/DescribeAlarmsResult.cc - src/model/DescribeApDevicesRequest.cc - src/model/DescribeApDevicesResult.cc - src/model/DescribeBindersRequest.cc - src/model/DescribeBindersResult.cc - src/model/DescribeClientPackageRequest.cc - src/model/DescribeClientPackageResult.cc + src/model/DescribeCompanyRequest.cc + src/model/DescribeCompanyResult.cc src/model/DescribeEslDevicesRequest.cc src/model/DescribeEslDevicesResult.cc src/model/DescribeItemsRequest.cc src/model/DescribeItemsResult.cc - src/model/DescribePlanogramEslDevicesRequest.cc - src/model/DescribePlanogramEslDevicesResult.cc - src/model/DescribePlanogramPositionsRequest.cc - src/model/DescribePlanogramPositionsResult.cc - src/model/DescribePlanogramRailsRequest.cc - src/model/DescribePlanogramRailsResult.cc - src/model/DescribePlanogramShelvesRequest.cc - src/model/DescribePlanogramShelvesResult.cc - src/model/DescribeRoleActionsRequest.cc - src/model/DescribeRoleActionsResult.cc - src/model/DescribeStoreConfigRequest.cc - src/model/DescribeStoreConfigResult.cc src/model/DescribeStoresRequest.cc src/model/DescribeStoresResult.cc - src/model/DescribeUserLogRequest.cc - src/model/DescribeUserLogResult.cc - src/model/DescribeUsersRequest.cc - src/model/DescribeUsersResult.cc - src/model/DissociatePlanogramRailRequest.cc - src/model/DissociatePlanogramRailResult.cc - src/model/GetUserRequest.cc - src/model/GetUserResult.cc - src/model/UnassignUserRequest.cc - src/model/UnassignUserResult.cc + src/model/DescribeUserOperationLogRequest.cc + src/model/DescribeUserOperationLogResult.cc + src/model/DescribeUserRamPolicyRequest.cc + src/model/DescribeUserRamPolicyResult.cc + src/model/SearchApServiceRequest.cc + src/model/SearchApServiceResult.cc src/model/UnbindEslDeviceRequest.cc src/model/UnbindEslDeviceResult.cc - src/model/UpdateEslDeviceLightRequest.cc - src/model/UpdateEslDeviceLightResult.cc + src/model/UnbindEslDeviceShelfRequest.cc + src/model/UnbindEslDeviceShelfResult.cc src/model/UpdateStoreRequest.cc - src/model/UpdateStoreResult.cc - src/model/UpdateStoreConfigRequest.cc - src/model/UpdateStoreConfigResult.cc - src/model/UpdateUserRequest.cc - src/model/UpdateUserResult.cc ) + src/model/UpdateStoreResult.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 5fe093716..311d21490 100644 --- a/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h +++ b/cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h @@ -22,84 +22,52 @@ #include #include #include "CloudeslExport.h" -#include "model/ActivateApDeviceRequest.h" -#include "model/ActivateApDeviceResult.h" -#include "model/AddApDeviceRequest.h" -#include "model/AddApDeviceResult.h" -#include "model/AddPlanogramShelfRequest.h" -#include "model/AddPlanogramShelfResult.h" -#include "model/AddRoleActionsRequest.h" -#include "model/AddRoleActionsResult.h" -#include "model/AddUserRequest.h" -#include "model/AddUserResult.h" -#include "model/AssignUserRequest.h" -#include "model/AssignUserResult.h" -#include "model/AssociatePlanogramRailRequest.h" -#include "model/AssociatePlanogramRailResult.h" +#include "model/ActivateApServiceRequest.h" +#include "model/ActivateApServiceResult.h" +#include "model/ActivateApService2Request.h" +#include "model/ActivateApService2Result.h" #include "model/BatchInsertItemsRequest.h" #include "model/BatchInsertItemsResult.h" +#include "model/BindApStoreServiceRequest.h" +#include "model/BindApStoreServiceResult.h" #include "model/BindEslDeviceRequest.h" #include "model/BindEslDeviceResult.h" -#include "model/ComposePlanogramPositionsRequest.h" -#include "model/ComposePlanogramPositionsResult.h" +#include "model/BindEslDeviceShelfRequest.h" +#include "model/BindEslDeviceShelfResult.h" #include "model/CreateStoreRequest.h" #include "model/CreateStoreResult.h" -#include "model/DeleteApDeviceRequest.h" -#include "model/DeleteApDeviceResult.h" -#include "model/DeletePlanogramShelfRequest.h" -#include "model/DeletePlanogramShelfResult.h" -#include "model/DeleteRoleActionsRequest.h" -#include "model/DeleteRoleActionsResult.h" +#include "model/DeleteApServiceRequest.h" +#include "model/DeleteApServiceResult.h" +#include "model/DeleteEslDeviceRequest.h" +#include "model/DeleteEslDeviceResult.h" +#include "model/DeleteItemRequest.h" +#include "model/DeleteItemResult.h" +#include "model/DeleteItemBySkuIdRequest.h" +#include "model/DeleteItemBySkuIdResult.h" #include "model/DeleteStoreRequest.h" #include "model/DeleteStoreResult.h" -#include "model/DeleteUserRequest.h" -#include "model/DeleteUserResult.h" #include "model/DescribeAlarmsRequest.h" #include "model/DescribeAlarmsResult.h" -#include "model/DescribeApDevicesRequest.h" -#include "model/DescribeApDevicesResult.h" -#include "model/DescribeBindersRequest.h" -#include "model/DescribeBindersResult.h" -#include "model/DescribeClientPackageRequest.h" -#include "model/DescribeClientPackageResult.h" +#include "model/DescribeCompanyRequest.h" +#include "model/DescribeCompanyResult.h" #include "model/DescribeEslDevicesRequest.h" #include "model/DescribeEslDevicesResult.h" #include "model/DescribeItemsRequest.h" #include "model/DescribeItemsResult.h" -#include "model/DescribePlanogramEslDevicesRequest.h" -#include "model/DescribePlanogramEslDevicesResult.h" -#include "model/DescribePlanogramPositionsRequest.h" -#include "model/DescribePlanogramPositionsResult.h" -#include "model/DescribePlanogramRailsRequest.h" -#include "model/DescribePlanogramRailsResult.h" -#include "model/DescribePlanogramShelvesRequest.h" -#include "model/DescribePlanogramShelvesResult.h" -#include "model/DescribeRoleActionsRequest.h" -#include "model/DescribeRoleActionsResult.h" -#include "model/DescribeStoreConfigRequest.h" -#include "model/DescribeStoreConfigResult.h" #include "model/DescribeStoresRequest.h" #include "model/DescribeStoresResult.h" -#include "model/DescribeUserLogRequest.h" -#include "model/DescribeUserLogResult.h" -#include "model/DescribeUsersRequest.h" -#include "model/DescribeUsersResult.h" -#include "model/DissociatePlanogramRailRequest.h" -#include "model/DissociatePlanogramRailResult.h" -#include "model/GetUserRequest.h" -#include "model/GetUserResult.h" -#include "model/UnassignUserRequest.h" -#include "model/UnassignUserResult.h" +#include "model/DescribeUserOperationLogRequest.h" +#include "model/DescribeUserOperationLogResult.h" +#include "model/DescribeUserRamPolicyRequest.h" +#include "model/DescribeUserRamPolicyResult.h" +#include "model/SearchApServiceRequest.h" +#include "model/SearchApServiceResult.h" #include "model/UnbindEslDeviceRequest.h" #include "model/UnbindEslDeviceResult.h" -#include "model/UpdateEslDeviceLightRequest.h" -#include "model/UpdateEslDeviceLightResult.h" +#include "model/UnbindEslDeviceShelfRequest.h" +#include "model/UnbindEslDeviceShelfResult.h" #include "model/UpdateStoreRequest.h" #include "model/UpdateStoreResult.h" -#include "model/UpdateStoreConfigRequest.h" -#include "model/UpdateStoreConfigResult.h" -#include "model/UpdateUserRequest.h" -#include "model/UpdateUserResult.h" namespace AlibabaCloud @@ -109,245 +77,149 @@ namespace AlibabaCloud class ALIBABACLOUD_CLOUDESL_EXPORT CloudeslClient : public RpcServiceClient { public: - typedef Outcome ActivateApDeviceOutcome; - typedef std::future ActivateApDeviceOutcomeCallable; - typedef std::function&)> ActivateApDeviceAsyncHandler; - typedef Outcome AddApDeviceOutcome; - typedef std::future AddApDeviceOutcomeCallable; - typedef std::function&)> AddApDeviceAsyncHandler; - typedef Outcome AddPlanogramShelfOutcome; - typedef std::future AddPlanogramShelfOutcomeCallable; - typedef std::function&)> AddPlanogramShelfAsyncHandler; - typedef Outcome AddRoleActionsOutcome; - typedef std::future AddRoleActionsOutcomeCallable; - typedef std::function&)> AddRoleActionsAsyncHandler; - typedef Outcome AddUserOutcome; - typedef std::future AddUserOutcomeCallable; - typedef std::function&)> AddUserAsyncHandler; - typedef Outcome AssignUserOutcome; - typedef std::future AssignUserOutcomeCallable; - typedef std::function&)> AssignUserAsyncHandler; - typedef Outcome AssociatePlanogramRailOutcome; - typedef std::future AssociatePlanogramRailOutcomeCallable; - typedef std::function&)> AssociatePlanogramRailAsyncHandler; + typedef Outcome ActivateApServiceOutcome; + typedef std::future ActivateApServiceOutcomeCallable; + typedef std::function&)> ActivateApServiceAsyncHandler; + typedef Outcome ActivateApService2Outcome; + typedef std::future ActivateApService2OutcomeCallable; + typedef std::function&)> ActivateApService2AsyncHandler; typedef Outcome BatchInsertItemsOutcome; typedef std::future BatchInsertItemsOutcomeCallable; typedef std::function&)> BatchInsertItemsAsyncHandler; + typedef Outcome BindApStoreServiceOutcome; + typedef std::future BindApStoreServiceOutcomeCallable; + typedef std::function&)> BindApStoreServiceAsyncHandler; typedef Outcome BindEslDeviceOutcome; typedef std::future BindEslDeviceOutcomeCallable; typedef std::function&)> BindEslDeviceAsyncHandler; - typedef Outcome ComposePlanogramPositionsOutcome; - typedef std::future ComposePlanogramPositionsOutcomeCallable; - typedef std::function&)> ComposePlanogramPositionsAsyncHandler; + typedef Outcome BindEslDeviceShelfOutcome; + typedef std::future BindEslDeviceShelfOutcomeCallable; + typedef std::function&)> BindEslDeviceShelfAsyncHandler; typedef Outcome CreateStoreOutcome; typedef std::future CreateStoreOutcomeCallable; typedef std::function&)> CreateStoreAsyncHandler; - typedef Outcome DeleteApDeviceOutcome; - typedef std::future DeleteApDeviceOutcomeCallable; - typedef std::function&)> DeleteApDeviceAsyncHandler; - typedef Outcome DeletePlanogramShelfOutcome; - typedef std::future DeletePlanogramShelfOutcomeCallable; - typedef std::function&)> DeletePlanogramShelfAsyncHandler; - typedef Outcome DeleteRoleActionsOutcome; - typedef std::future DeleteRoleActionsOutcomeCallable; - typedef std::function&)> DeleteRoleActionsAsyncHandler; + typedef Outcome DeleteApServiceOutcome; + typedef std::future DeleteApServiceOutcomeCallable; + typedef std::function&)> DeleteApServiceAsyncHandler; + typedef Outcome DeleteEslDeviceOutcome; + typedef std::future DeleteEslDeviceOutcomeCallable; + typedef std::function&)> DeleteEslDeviceAsyncHandler; + typedef Outcome DeleteItemOutcome; + typedef std::future DeleteItemOutcomeCallable; + typedef std::function&)> DeleteItemAsyncHandler; + typedef Outcome DeleteItemBySkuIdOutcome; + typedef std::future DeleteItemBySkuIdOutcomeCallable; + typedef std::function&)> DeleteItemBySkuIdAsyncHandler; typedef Outcome DeleteStoreOutcome; typedef std::future DeleteStoreOutcomeCallable; typedef std::function&)> DeleteStoreAsyncHandler; - typedef Outcome DeleteUserOutcome; - typedef std::future DeleteUserOutcomeCallable; - typedef std::function&)> DeleteUserAsyncHandler; typedef Outcome DescribeAlarmsOutcome; typedef std::future DescribeAlarmsOutcomeCallable; typedef std::function&)> DescribeAlarmsAsyncHandler; - typedef Outcome DescribeApDevicesOutcome; - typedef std::future DescribeApDevicesOutcomeCallable; - typedef std::function&)> DescribeApDevicesAsyncHandler; - typedef Outcome DescribeBindersOutcome; - typedef std::future DescribeBindersOutcomeCallable; - typedef std::function&)> DescribeBindersAsyncHandler; - typedef Outcome DescribeClientPackageOutcome; - typedef std::future DescribeClientPackageOutcomeCallable; - typedef std::function&)> DescribeClientPackageAsyncHandler; + typedef Outcome DescribeCompanyOutcome; + typedef std::future DescribeCompanyOutcomeCallable; + typedef std::function&)> DescribeCompanyAsyncHandler; typedef Outcome DescribeEslDevicesOutcome; typedef std::future DescribeEslDevicesOutcomeCallable; typedef std::function&)> DescribeEslDevicesAsyncHandler; typedef Outcome DescribeItemsOutcome; typedef std::future DescribeItemsOutcomeCallable; typedef std::function&)> DescribeItemsAsyncHandler; - typedef Outcome DescribePlanogramEslDevicesOutcome; - typedef std::future DescribePlanogramEslDevicesOutcomeCallable; - typedef std::function&)> DescribePlanogramEslDevicesAsyncHandler; - typedef Outcome DescribePlanogramPositionsOutcome; - typedef std::future DescribePlanogramPositionsOutcomeCallable; - typedef std::function&)> DescribePlanogramPositionsAsyncHandler; - typedef Outcome DescribePlanogramRailsOutcome; - typedef std::future DescribePlanogramRailsOutcomeCallable; - typedef std::function&)> DescribePlanogramRailsAsyncHandler; - typedef Outcome DescribePlanogramShelvesOutcome; - typedef std::future DescribePlanogramShelvesOutcomeCallable; - typedef std::function&)> DescribePlanogramShelvesAsyncHandler; - typedef Outcome DescribeRoleActionsOutcome; - typedef std::future DescribeRoleActionsOutcomeCallable; - typedef std::function&)> DescribeRoleActionsAsyncHandler; - typedef Outcome DescribeStoreConfigOutcome; - typedef std::future DescribeStoreConfigOutcomeCallable; - typedef std::function&)> DescribeStoreConfigAsyncHandler; typedef Outcome DescribeStoresOutcome; typedef std::future DescribeStoresOutcomeCallable; typedef std::function&)> DescribeStoresAsyncHandler; - typedef Outcome DescribeUserLogOutcome; - typedef std::future DescribeUserLogOutcomeCallable; - typedef std::function&)> DescribeUserLogAsyncHandler; - typedef Outcome DescribeUsersOutcome; - typedef std::future DescribeUsersOutcomeCallable; - typedef std::function&)> DescribeUsersAsyncHandler; - typedef Outcome DissociatePlanogramRailOutcome; - typedef std::future DissociatePlanogramRailOutcomeCallable; - typedef std::function&)> DissociatePlanogramRailAsyncHandler; - typedef Outcome GetUserOutcome; - typedef std::future GetUserOutcomeCallable; - typedef std::function&)> GetUserAsyncHandler; - typedef Outcome UnassignUserOutcome; - typedef std::future UnassignUserOutcomeCallable; - typedef std::function&)> UnassignUserAsyncHandler; + typedef Outcome DescribeUserOperationLogOutcome; + typedef std::future DescribeUserOperationLogOutcomeCallable; + typedef std::function&)> DescribeUserOperationLogAsyncHandler; + typedef Outcome DescribeUserRamPolicyOutcome; + typedef std::future DescribeUserRamPolicyOutcomeCallable; + typedef std::function&)> DescribeUserRamPolicyAsyncHandler; + typedef Outcome SearchApServiceOutcome; + typedef std::future SearchApServiceOutcomeCallable; + typedef std::function&)> SearchApServiceAsyncHandler; typedef Outcome UnbindEslDeviceOutcome; typedef std::future UnbindEslDeviceOutcomeCallable; typedef std::function&)> UnbindEslDeviceAsyncHandler; - typedef Outcome UpdateEslDeviceLightOutcome; - typedef std::future UpdateEslDeviceLightOutcomeCallable; - typedef std::function&)> UpdateEslDeviceLightAsyncHandler; + typedef Outcome UnbindEslDeviceShelfOutcome; + typedef std::future UnbindEslDeviceShelfOutcomeCallable; + typedef std::function&)> UnbindEslDeviceShelfAsyncHandler; typedef Outcome UpdateStoreOutcome; typedef std::future UpdateStoreOutcomeCallable; typedef std::function&)> UpdateStoreAsyncHandler; - typedef Outcome UpdateStoreConfigOutcome; - typedef std::future UpdateStoreConfigOutcomeCallable; - typedef std::function&)> UpdateStoreConfigAsyncHandler; - typedef Outcome UpdateUserOutcome; - typedef std::future UpdateUserOutcomeCallable; - typedef std::function&)> UpdateUserAsyncHandler; CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration); CloudeslClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); CloudeslClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~CloudeslClient(); - ActivateApDeviceOutcome activateApDevice(const Model::ActivateApDeviceRequest &request)const; - void activateApDeviceAsync(const Model::ActivateApDeviceRequest& request, const ActivateApDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ActivateApDeviceOutcomeCallable activateApDeviceCallable(const Model::ActivateApDeviceRequest& request) const; - 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; - AddPlanogramShelfOutcome addPlanogramShelf(const Model::AddPlanogramShelfRequest &request)const; - void addPlanogramShelfAsync(const Model::AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddPlanogramShelfOutcomeCallable addPlanogramShelfCallable(const Model::AddPlanogramShelfRequest& request) const; - AddRoleActionsOutcome addRoleActions(const Model::AddRoleActionsRequest &request)const; - void addRoleActionsAsync(const Model::AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddRoleActionsOutcomeCallable addRoleActionsCallable(const Model::AddRoleActionsRequest& 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; - 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; - AssociatePlanogramRailOutcome associatePlanogramRail(const Model::AssociatePlanogramRailRequest &request)const; - void associatePlanogramRailAsync(const Model::AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AssociatePlanogramRailOutcomeCallable associatePlanogramRailCallable(const Model::AssociatePlanogramRailRequest& request) const; + ActivateApServiceOutcome activateApService(const Model::ActivateApServiceRequest &request)const; + void activateApServiceAsync(const Model::ActivateApServiceRequest& request, const ActivateApServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ActivateApServiceOutcomeCallable activateApServiceCallable(const Model::ActivateApServiceRequest& request) const; + ActivateApService2Outcome activateApService2(const Model::ActivateApService2Request &request)const; + void activateApService2Async(const Model::ActivateApService2Request& request, const ActivateApService2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ActivateApService2OutcomeCallable activateApService2Callable(const Model::ActivateApService2Request& 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; + BindApStoreServiceOutcome bindApStoreService(const Model::BindApStoreServiceRequest &request)const; + void bindApStoreServiceAsync(const Model::BindApStoreServiceRequest& request, const BindApStoreServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindApStoreServiceOutcomeCallable bindApStoreServiceCallable(const Model::BindApStoreServiceRequest& 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; - ComposePlanogramPositionsOutcome composePlanogramPositions(const Model::ComposePlanogramPositionsRequest &request)const; - void composePlanogramPositionsAsync(const Model::ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ComposePlanogramPositionsOutcomeCallable composePlanogramPositionsCallable(const Model::ComposePlanogramPositionsRequest& request) const; + BindEslDeviceShelfOutcome bindEslDeviceShelf(const Model::BindEslDeviceShelfRequest &request)const; + void bindEslDeviceShelfAsync(const Model::BindEslDeviceShelfRequest& request, const BindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindEslDeviceShelfOutcomeCallable bindEslDeviceShelfCallable(const Model::BindEslDeviceShelfRequest& 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; - DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const; - void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeletePlanogramShelfOutcomeCallable deletePlanogramShelfCallable(const Model::DeletePlanogramShelfRequest& request) const; - DeleteRoleActionsOutcome deleteRoleActions(const Model::DeleteRoleActionsRequest &request)const; - void deleteRoleActionsAsync(const Model::DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteRoleActionsOutcomeCallable deleteRoleActionsCallable(const Model::DeleteRoleActionsRequest& request) const; + DeleteApServiceOutcome deleteApService(const Model::DeleteApServiceRequest &request)const; + void deleteApServiceAsync(const Model::DeleteApServiceRequest& request, const DeleteApServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteApServiceOutcomeCallable deleteApServiceCallable(const Model::DeleteApServiceRequest& request) const; + DeleteEslDeviceOutcome deleteEslDevice(const Model::DeleteEslDeviceRequest &request)const; + void deleteEslDeviceAsync(const Model::DeleteEslDeviceRequest& request, const DeleteEslDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteEslDeviceOutcomeCallable deleteEslDeviceCallable(const Model::DeleteEslDeviceRequest& 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; + DeleteItemBySkuIdOutcome deleteItemBySkuId(const Model::DeleteItemBySkuIdRequest &request)const; + void deleteItemBySkuIdAsync(const Model::DeleteItemBySkuIdRequest& request, const DeleteItemBySkuIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteItemBySkuIdOutcomeCallable deleteItemBySkuIdCallable(const Model::DeleteItemBySkuIdRequest& 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; - DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; - void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; DescribeAlarmsOutcome describeAlarms(const Model::DescribeAlarmsRequest &request)const; void describeAlarmsAsync(const Model::DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const; - 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; - 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; + DescribeCompanyOutcome describeCompany(const Model::DescribeCompanyRequest &request)const; + void describeCompanyAsync(const Model::DescribeCompanyRequest& request, const DescribeCompanyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCompanyOutcomeCallable describeCompanyCallable(const Model::DescribeCompanyRequest& 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; 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; - DescribePlanogramEslDevicesOutcome describePlanogramEslDevices(const Model::DescribePlanogramEslDevicesRequest &request)const; - void describePlanogramEslDevicesAsync(const Model::DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribePlanogramEslDevicesOutcomeCallable describePlanogramEslDevicesCallable(const Model::DescribePlanogramEslDevicesRequest& request) const; - DescribePlanogramPositionsOutcome describePlanogramPositions(const Model::DescribePlanogramPositionsRequest &request)const; - void describePlanogramPositionsAsync(const Model::DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribePlanogramPositionsOutcomeCallable describePlanogramPositionsCallable(const Model::DescribePlanogramPositionsRequest& request) const; - DescribePlanogramRailsOutcome describePlanogramRails(const Model::DescribePlanogramRailsRequest &request)const; - void describePlanogramRailsAsync(const Model::DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribePlanogramRailsOutcomeCallable describePlanogramRailsCallable(const Model::DescribePlanogramRailsRequest& request) const; - DescribePlanogramShelvesOutcome describePlanogramShelves(const Model::DescribePlanogramShelvesRequest &request)const; - void describePlanogramShelvesAsync(const Model::DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribePlanogramShelvesOutcomeCallable describePlanogramShelvesCallable(const Model::DescribePlanogramShelvesRequest& request) const; - DescribeRoleActionsOutcome describeRoleActions(const Model::DescribeRoleActionsRequest &request)const; - void describeRoleActionsAsync(const Model::DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeRoleActionsOutcomeCallable describeRoleActionsCallable(const Model::DescribeRoleActionsRequest& 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; - 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; - DissociatePlanogramRailOutcome dissociatePlanogramRail(const Model::DissociatePlanogramRailRequest &request)const; - void dissociatePlanogramRailAsync(const Model::DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DissociatePlanogramRailOutcomeCallable dissociatePlanogramRailCallable(const Model::DissociatePlanogramRailRequest& 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; - 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; + DescribeUserOperationLogOutcome describeUserOperationLog(const Model::DescribeUserOperationLogRequest &request)const; + void describeUserOperationLogAsync(const Model::DescribeUserOperationLogRequest& request, const DescribeUserOperationLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserOperationLogOutcomeCallable describeUserOperationLogCallable(const Model::DescribeUserOperationLogRequest& request) const; + DescribeUserRamPolicyOutcome describeUserRamPolicy(const Model::DescribeUserRamPolicyRequest &request)const; + void describeUserRamPolicyAsync(const Model::DescribeUserRamPolicyRequest& request, const DescribeUserRamPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserRamPolicyOutcomeCallable describeUserRamPolicyCallable(const Model::DescribeUserRamPolicyRequest& request) const; + SearchApServiceOutcome searchApService(const Model::SearchApServiceRequest &request)const; + void searchApServiceAsync(const Model::SearchApServiceRequest& request, const SearchApServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchApServiceOutcomeCallable searchApServiceCallable(const Model::SearchApServiceRequest& request) const; UnbindEslDeviceOutcome unbindEslDevice(const Model::UnbindEslDeviceRequest &request)const; void unbindEslDeviceAsync(const Model::UnbindEslDeviceRequest& request, const UnbindEslDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnbindEslDeviceOutcomeCallable unbindEslDeviceCallable(const Model::UnbindEslDeviceRequest& request) const; - 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; + UnbindEslDeviceShelfOutcome unbindEslDeviceShelf(const Model::UnbindEslDeviceShelfRequest &request)const; + void unbindEslDeviceShelfAsync(const Model::UnbindEslDeviceShelfRequest& request, const UnbindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindEslDeviceShelfOutcomeCallable unbindEslDeviceShelfCallable(const Model::UnbindEslDeviceShelfRequest& 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; - UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; - void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h deleted file mode 100644 index 7b906d628..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApDeviceResult : public ServiceResult - { - public: - - - ActivateApDeviceResult(); - explicit ActivateApDeviceResult(const std::string &payload); - ~ActivateApDeviceResult(); - 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_ACTIVATEAPDEVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Request.h similarity index 70% rename from cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Request.h index 6000b22d5..1fe2579a1 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_ #include #include @@ -28,22 +28,19 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApDeviceRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApService2Request : public RpcServiceRequest { public: - DeleteApDeviceRequest(); - ~DeleteApDeviceRequest(); + ActivateApService2Request(); + ~ActivateApService2Request(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getApMac()const; void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); private: - std::string extraParams_; std::string apMac_; std::string storeId_; @@ -51,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Result.h similarity index 68% rename from cloudesl/include/alibabacloud/cloudesl/model/AddUserResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Result.h index d83661626..5f29f0456 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddUserResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApService2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_ #include #include @@ -29,19 +29,16 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT AddUserResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApService2Result : public ServiceResult { public: - AddUserResult(); - explicit AddUserResult(const std::string &payload); - ~AddUserResult(); + ActivateApService2Result(); + explicit ActivateApService2Result(const std::string &payload); + ~ActivateApService2Result(); 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; @@ -49,10 +46,7 @@ namespace AlibabaCloud 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_; @@ -60,4 +54,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceRequest.h similarity index 69% rename from cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceRequest.h index 8617f6c25..52e642e5b 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_ #include #include @@ -28,22 +28,19 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApDeviceRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApServiceRequest : public RpcServiceRequest { public: - ActivateApDeviceRequest(); - ~ActivateApDeviceRequest(); + ActivateApServiceRequest(); + ~ActivateApServiceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getApMac()const; void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); private: - std::string extraParams_; std::string apMac_; std::string storeId_; @@ -51,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AssignUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceResult.h similarity index 64% rename from cloudesl/include/alibabacloud/cloudesl/model/AssignUserResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceResult.h index 642ecddb5..178b333da 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/AssignUserResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/ActivateApServiceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_ #include #include @@ -29,35 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT AssignUserResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApServiceResult : public ServiceResult { public: - AssignUserResult(); - explicit AssignUserResult(const std::string &payload); - ~AssignUserResult(); + ActivateApServiceResult(); + explicit ActivateApServiceResult(const std::string &payload); + ~ActivateApServiceResult(); 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_ASSIGNUSERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceResult.h deleted file mode 100644 index d4698de77..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddApDeviceResult : public ServiceResult - { - public: - - - AddApDeviceResult(); - explicit AddApDeviceResult(const std::string &payload); - ~AddApDeviceResult(); - 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_ADDAPDEVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h deleted file mode 100644 index 2016d252f..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddPlanogramShelfRequest : public RpcServiceRequest - { - - public: - AddPlanogramShelfRequest(); - ~AddPlanogramShelfRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getShelfType()const; - void setShelfType(const std::string& shelfType); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - std::string getZone()const; - void setZone(const std::string& zone); - std::string getShelf()const; - void setShelf(const std::string& shelf); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - std::string extraParams_; - std::string clientToken_; - std::string shelfType_; - std::string storeId_; - std::string zone_; - std::string shelf_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h deleted file mode 100644 index b540db400..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddPlanogramShelfResult : public ServiceResult - { - public: - - - AddPlanogramShelfResult(); - explicit AddPlanogramShelfResult(const std::string &payload); - ~AddPlanogramShelfResult(); - 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_ADDPLANOGRAMSHELFRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h deleted file mode 100644 index 82ed20e98..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddRoleActionsRequest : public RpcServiceRequest - { - - public: - AddRoleActionsRequest(); - ~AddRoleActionsRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getAccessControlLists()const; - void setAccessControlLists(const std::string& accessControlLists); - - private: - std::string roleCode_; - std::string extraParams_; - std::string clientToken_; - std::string accessControlLists_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsResult.h deleted file mode 100644 index 49e41233f..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddRoleActionsResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddRoleActionsResult : public ServiceResult - { - public: - - - AddRoleActionsResult(); - explicit AddRoleActionsResult(const std::string &payload); - ~AddRoleActionsResult(); - 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_ADDROLEACTIONSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AddUserRequest.h deleted file mode 100644 index d14e0bdfe..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddUserRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AddUserRequest : public RpcServiceRequest - { - - public: - AddUserRequest(); - ~AddUserRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string extraParams_; - std::string clientToken_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AssignUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AssignUserRequest.h deleted file mode 100644 index 2eb04851a..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AssignUserRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AssignUserRequest : public RpcServiceRequest - { - - public: - AssignUserRequest(); - ~AssignUserRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStores()const; - void setStores(const std::string& stores); - std::string getUserType()const; - void setUserType(const std::string& userType); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string extraParams_; - std::string stores_; - std::string userType_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h deleted file mode 100644 index 2e528e895..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AssociatePlanogramRailRequest : public RpcServiceRequest - { - - public: - AssociatePlanogramRailRequest(); - ~AssociatePlanogramRailRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); - std::string getShelf()const; - void setShelf(const std::string& shelf); - std::string getRailCode()const; - void setRailCode(const std::string& railCode); - - private: - std::string extraParams_; - std::string storeId_; - int layer_; - std::string shelf_; - std::string railCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h b/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h deleted file mode 100644 index 3f42dcfb3..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT AssociatePlanogramRailResult : public ServiceResult - { - public: - - - AssociatePlanogramRailResult(); - explicit AssociatePlanogramRailResult(const std::string &payload); - ~AssociatePlanogramRailResult(); - 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_ASSOCIATEPLANOGRAMRAILRESULT_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 f90aa31b0..7769cbb0f 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h @@ -35,69 +35,57 @@ namespace AlibabaCloud { int memberPrice; int actionPrice; + std::string productionPlace; bool beSourceCode; + std::string storeId; std::string brandName; std::string promotionStart; + std::string sourceCode; + long itemId; + std::string extraAttribute; + std::string companyId; std::string priceUnit; std::string rank; - int itemInfoIndex; std::string itemBarCode; - std::string customizeFeatureK; - std::string customizeFeatureL; - std::string customizeFeatureM; bool bePromotion; - std::string customizeFeatureN; - std::string customizeFeatureO; std::string promotionEnd; std::string itemTitle; + int originalPrice; + std::string itemShortTitle; std::string customizeFeatureC; - std::string customizeFeatureD; std::string itemQrCode; - std::string customizeFeatureE; - std::string inventoryStatus; + std::string customizeFeatureD; std::string promotionReason; + std::string customizeFeatureE; std::string customizeFeatureF; + std::string forestSecondId; std::string customizeFeatureG; std::string customizeFeatureH; std::string customizeFeatureI; std::string customizeFeatureJ; + std::string optionGroups; + std::string modelNumber; + std::string saleSpec; std::string customizeFeatureA; std::string customizeFeatureB; int suggestPrice; std::string forestFirstId; - std::string productionPlace; - std::string manufacturer; - std::string sourceCode; - std::string itemId; - int salesPrice; - int originalPrice; - std::string itemShortTitle; - std::string forestSecondId; - std::string itemPicUrl; - std::string supplierName; - std::string material; - std::string modelNumber; - std::string saleSpec; std::string categoryName; - std::string taxFee; std::string energyEfficiency; - std::string promotionText; std::string skuId; + std::string promotionText; }; public: BatchInsertItemsRequest(); ~BatchInsertItemsRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); std::vector getItemInfo()const; void setItemInfo(const std::vector& itemInfo); private: - std::string extraParams_; std::string storeId_; std::vector itemInfo_; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h index 56a12665b..7cf250ab4 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h @@ -45,24 +45,16 @@ namespace AlibabaCloud explicit BatchInsertItemsResult(const std::string &payload); ~BatchInsertItemsResult(); std::string getMessage()const; - std::string getDynamicCode()const; std::string getErrorCode()const; - std::string getDynamicMessage()const; std::vector getBatchResults()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::vector batchResults_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceRequest.h similarity index 67% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceRequest.h index 18382ac01..7214ada17 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICEREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeStoreConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT BindApStoreServiceRequest : public RpcServiceRequest { public: - DescribeStoreConfigRequest(); - ~DescribeStoreConfigRequest(); + BindApStoreServiceRequest(); + ~BindApStoreServiceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); + std::string getApMac()const; + void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); private: - std::string extraParams_; + std::string apMac_; std::string storeId_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceResult.h similarity index 64% rename from cloudesl/include/alibabacloud/cloudesl/model/UpdateUserResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceResult.h index 5061ec9e0..966a7ac26 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateUserResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindApStoreServiceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_ #include #include @@ -29,35 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT BindApStoreServiceResult : public ServiceResult { public: - UpdateUserResult(); - explicit UpdateUserResult(const std::string &payload); - ~UpdateUserResult(); + BindApStoreServiceResult(); + explicit BindApStoreServiceResult(const std::string &payload); + ~BindApStoreServiceResult(); 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_UPDATEUSERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h index 920a55c4a..758880248 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h @@ -35,29 +35,17 @@ namespace AlibabaCloud BindEslDeviceRequest(); ~BindEslDeviceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); std::string getEslBarCode()const; void setEslBarCode(const std::string& eslBarCode); std::string getItemBarCode()const; void setItemBarCode(const std::string& itemBarCode); - std::string getColumn()const; - void setColumn(const std::string& column); - std::string getShelf()const; - void setShelf(const std::string& shelf); private: - std::string extraParams_; std::string storeId_; - int layer_; std::string eslBarCode_; std::string itemBarCode_; - std::string column_; - std::string shelf_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceResult.h index dd4a2a297..c9036ade3 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceResult.h @@ -38,22 +38,14 @@ namespace AlibabaCloud explicit BindEslDeviceResult(const std::string &payload); ~BindEslDeviceResult(); 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_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfRequest.h similarity index 61% rename from cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfRequest.h index 8ed804d70..d59fe7201 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_ #include #include @@ -28,27 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DissociatePlanogramRailRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT BindEslDeviceShelfRequest : public RpcServiceRequest { public: - DissociatePlanogramRailRequest(); - ~DissociatePlanogramRailRequest(); + BindEslDeviceShelfRequest(); + ~BindEslDeviceShelfRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); - std::string getRailCode()const; - void setRailCode(const std::string& railCode); + std::string getShelfCode()const; + void setShelfCode(const std::string& shelfCode); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); private: - std::string extraParams_; std::string storeId_; - std::string railCode_; + std::string shelfCode_; + std::string eslBarCode_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfResult.h b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfResult.h new file mode 100644 index 000000000..5f080a8d5 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/BindEslDeviceShelfResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_BINDESLDEVICESHELFRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT BindEslDeviceShelfResult : public ServiceResult + { + public: + + + BindEslDeviceShelfResult(); + explicit BindEslDeviceShelfResult(const std::string &payload); + ~BindEslDeviceShelfResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h deleted file mode 100644 index 1787d3929..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT ComposePlanogramPositionsRequest : public RpcServiceRequest - { - public: - struct ShelfPositionInfo - { - float offsetFrom; - float depth; - std::string column; - int facing; - float offsetTo; - std::string itemBarCode; - }; - - public: - ComposePlanogramPositionsRequest(); - ~ComposePlanogramPositionsRequest(); - - std::string getActionType()const; - void setActionType(const std::string& actionType); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); - std::string getLayerOrigin()const; - void setLayerOrigin(const std::string& layerOrigin); - bool getBeAutoRefresh()const; - void setBeAutoRefresh(bool beAutoRefresh); - std::string getShelf()const; - void setShelf(const std::string& shelf); - std::vector getShelfPositionInfo()const; - void setShelfPositionInfo(const std::vector& shelfPositionInfo); - - private: - std::string actionType_; - std::string extraParams_; - std::string storeId_; - int layer_; - std::string layerOrigin_; - bool beAutoRefresh_; - std::string shelf_; - std::vector shelfPositionInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h deleted file mode 100644 index faf3faeb7..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT ComposePlanogramPositionsResult : public ServiceResult - { - public: - - - ComposePlanogramPositionsResult(); - explicit ComposePlanogramPositionsResult(const std::string &payload); - ~ComposePlanogramPositionsResult(); - 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_COMPOSEPLANOGRAMPOSITIONSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreRequest.h index 374b51f3f..c0f2ca3a3 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreRequest.h @@ -35,26 +35,32 @@ namespace AlibabaCloud CreateStoreRequest(); ~CreateStoreRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); std::string getStoreName()const; void setStoreName(const std::string& storeName); std::string getParentId()const; void setParentId(const std::string& parentId); - std::string getUserStoreCode()const; - void setUserStoreCode(const std::string& userStoreCode); + std::string getCompanyId()const; + void setCompanyId(const std::string& companyId); + std::string getBrand()const; + void setBrand(const std::string& brand); + std::string getComments()const; + void setComments(const std::string& comments); + std::string getGroups()const; + void setGroups(const std::string& groups); std::string getPhone()const; void setPhone(const std::string& phone); + std::string getOutId()const; + void setOutId(const std::string& outId); private: - std::string extraParams_; - std::string clientToken_; std::string storeName_; std::string parentId_; - std::string userStoreCode_; + std::string companyId_; + std::string brand_; + std::string comments_; + std::string groups_; std::string phone_; + std::string outId_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreResult.h b/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreResult.h index 8b7c21900..3cf554e13 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/CreateStoreResult.h @@ -39,11 +39,7 @@ namespace AlibabaCloud ~CreateStoreResult(); std::string getMessage()const; std::string getStoreId()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: @@ -51,11 +47,7 @@ namespace AlibabaCloud private: std::string message_; std::string storeId_; - std::string dynamicCode_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h deleted file mode 100644 index 279dbce86..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApDeviceResult : public ServiceResult - { - public: - - - DeleteApDeviceResult(); - explicit DeleteApDeviceResult(const std::string &payload); - ~DeleteApDeviceResult(); - 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_DELETEAPDEVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceRequest.h similarity index 61% rename from cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceRequest.h index 0cc5e7440..2b42d209a 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/AddApDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_ #include #include @@ -28,28 +28,19 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT AddApDeviceRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApServiceRequest : public RpcServiceRequest { public: - AddApDeviceRequest(); - ~AddApDeviceRequest(); + DeleteApServiceRequest(); + ~DeleteApServiceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getRemark()const; - void setRemark(const std::string& remark); std::string getApMac()const; void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); private: - std::string extraParams_; - std::string clientToken_; - std::string remark_; std::string apMac_; std::string storeId_; @@ -57,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceResult.h new file mode 100644 index 000000000..81e2a1be7 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteApServiceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEAPSERVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApServiceResult : public ServiceResult + { + public: + + + DeleteApServiceResult(); + explicit DeleteApServiceResult(const std::string &payload); + ~DeleteApServiceResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceRequest.h new file mode 100644 index 000000000..480be72fc --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceRequest.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_DELETEESLDEVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteEslDeviceRequest : public RpcServiceRequest + { + + public: + DeleteEslDeviceRequest(); + ~DeleteEslDeviceRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + + private: + std::string storeId_; + std::string eslBarCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceResult.h new file mode 100644 index 000000000..184f4882c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteEslDeviceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEESLDEVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteEslDeviceResult : public ServiceResult + { + public: + + + DeleteEslDeviceResult(); + explicit DeleteEslDeviceResult(const std::string &payload); + ~DeleteEslDeviceResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdRequest.h new file mode 100644 index 000000000..0dbf1f107 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdRequest.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_DELETEITEMBYSKUIDREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemBySkuIdRequest : public RpcServiceRequest + { + + public: + DeleteItemBySkuIdRequest(); + ~DeleteItemBySkuIdRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getSkuId()const; + void setSkuId(const std::string& skuId); + + private: + std::string storeId_; + std::string skuId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdResult.h new file mode 100644 index 000000000..083c8e686 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemBySkuIdResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEITEMBYSKUIDRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemBySkuIdResult : public ServiceResult + { + public: + + + DeleteItemBySkuIdResult(); + explicit DeleteItemBySkuIdResult(const std::string &payload); + ~DeleteItemBySkuIdResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemRequest.h similarity index 63% rename from cloudesl/include/alibabacloud/cloudesl/model/DeleteUserRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteItemRequest.h index 17e46d93a..b64b1cb8b 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteUserRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteUserRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemRequest : public RpcServiceRequest { public: - DeleteUserRequest(); - ~DeleteUserRequest(); + DeleteItemRequest(); + ~DeleteItemRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getUserId()const; - void setUserId(const std::string& userId); + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getItemBarCode()const; + void setItemBarCode(const std::string& itemBarCode); private: - std::string extraParams_; - std::string userId_; + std::string storeId_; + std::string itemBarCode_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemResult.h similarity index 65% rename from cloudesl/include/alibabacloud/cloudesl/model/DeleteUserResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/DeleteItemResult.h index ab17f8b36..bbf27e7af 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteUserResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteItemResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_ #include #include @@ -29,35 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteUserResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemResult : public ServiceResult { public: - DeleteUserResult(); - explicit DeleteUserResult(const std::string &payload); - ~DeleteUserResult(); + DeleteItemResult(); + explicit DeleteItemResult(const std::string &payload); + ~DeleteItemResult(); 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_DELETEUSERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h deleted file mode 100644 index 1636d8bb8..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DeletePlanogramShelfRequest : public RpcServiceRequest - { - - public: - DeletePlanogramShelfRequest(); - ~DeletePlanogramShelfRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - bool getBeAutoRefresh()const; - void setBeAutoRefresh(bool beAutoRefresh); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - std::string getShelf()const; - void setShelf(const std::string& shelf); - - private: - std::string extraParams_; - bool beAutoRefresh_; - std::string storeId_; - std::string shelf_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h deleted file mode 100644 index 417394225..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DeletePlanogramShelfResult : public ServiceResult - { - public: - - - DeletePlanogramShelfResult(); - explicit DeletePlanogramShelfResult(const std::string &payload); - ~DeletePlanogramShelfResult(); - 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_DELETEPLANOGRAMSHELFRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h deleted file mode 100644 index caf465f46..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteRoleActionsRequest : public RpcServiceRequest - { - - public: - DeleteRoleActionsRequest(); - ~DeleteRoleActionsRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getAccessControlLists()const; - void setAccessControlLists(const std::string& accessControlLists); - - private: - std::string roleCode_; - std::string extraParams_; - std::string accessControlLists_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h deleted file mode 100644 index 0997906a2..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DeleteRoleActionsResult : public ServiceResult - { - public: - - - DeleteRoleActionsResult(); - explicit DeleteRoleActionsResult(const std::string &payload); - ~DeleteRoleActionsResult(); - 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_DELETEROLEACTIONSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreRequest.h index 850658814..f026d40ae 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreRequest.h @@ -35,13 +35,10 @@ namespace AlibabaCloud DeleteStoreRequest(); ~DeleteStoreRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); private: - std::string extraParams_; std::string storeId_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreResult.h index 515c8cdd4..3886be1c7 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DeleteStoreResult.h @@ -38,22 +38,14 @@ namespace AlibabaCloud explicit DeleteStoreResult(const std::string &payload); ~DeleteStoreResult(); 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_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h index d51c6f203..5ce794848 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h @@ -35,14 +35,16 @@ namespace AlibabaCloud DescribeAlarmsRequest(); ~DescribeAlarmsRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getFromAlarmTime()const; + void setFromAlarmTime(const std::string& fromAlarmTime); int getPageSize()const; void setPageSize(int pageSize); + std::string getToAlarmTime()const; + void setToAlarmTime(const std::string& toAlarmTime); std::string getAlarmType()const; void setAlarmType(const std::string& alarmType); std::string getAlarmStatus()const; @@ -51,19 +53,17 @@ namespace AlibabaCloud void setErrorType(const std::string& errorType); std::string getAlarmId()const; void setAlarmId(const std::string& alarmId); - std::string getDeviceMac()const; - void setDeviceMac(const std::string& deviceMac); private: - std::string extraParams_; std::string storeId_; int pageNumber_; + std::string fromAlarmTime_; int pageSize_; + std::string toAlarmTime_; std::string alarmType_; std::string alarmStatus_; std::string errorType_; std::string alarmId_; - std::string deviceMac_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h index 5b21a3171..7798ecc12 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h @@ -35,22 +35,21 @@ namespace AlibabaCloud struct AlarmInfo { std::string alarmId; - std::string retryGmtCreate; + std::string companyId; std::string alarmType; std::string deviceBarCode; std::string deviceMac; std::string itemBarCode; - std::string remark; + std::string vendor; std::string deviceType; - std::string storeId; std::string errorType; + std::string storeId; std::string alarmTime; - std::string dealUserId; + long dealUserId; std::string itemTitle; - std::string retryGmtModified; std::string alarmStatus; + std::string model; std::string dealTime; - long retryTimes; }; @@ -58,30 +57,22 @@ namespace AlibabaCloud explicit DescribeAlarmsResult(const std::string &payload); ~DescribeAlarmsResult(); int getTotalCount()const; - int getPageSize()const; std::string getMessage()const; + int getPageSize()const; int getPageNumber()const; std::vector getAlarms()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 pageSize_; int pageNumber_; std::vector alarms_; - std::string dynamicCode_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h deleted file mode 100644 index 222fcdc48..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeApDevicesRequest : public RpcServiceRequest - { - - public: - DescribeApDevicesRequest(); - ~DescribeApDevicesRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getApMac()const; - void setApMac(const std::string& apMac); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getModel()const; - void setModel(const std::string& model); - bool getBeActivate()const; - void setBeActivate(bool beActivate); - bool getStatus()const; - void setStatus(bool status); - - private: - std::string extraParams_; - std::string apMac_; - std::string storeId_; - int pageNumber_; - int pageSize_; - std::string model_; - bool beActivate_; - bool status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersRequest.h deleted file mode 100644 index 532307dbe..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeBindersRequest : public RpcServiceRequest - { - - public: - DescribeBindersRequest(); - ~DescribeBindersRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - 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 getItemBarCode()const; - void setItemBarCode(const std::string& itemBarCode); - std::string getItemTitle()const; - void setItemTitle(const std::string& itemTitle); - - private: - std::string extraParams_; - std::string storeId_; - int pageNumber_; - std::string eslBarCode_; - int pageSize_; - std::string itemBarCode_; - std::string itemTitle_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h deleted file mode 100644 index 6a6170ba8..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeBindersResult.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeBindersResult : public ServiceResult - { - public: - struct EslItemBindInfo - { - std::string bindId; - std::string originalPrice; - std::string gmtModified; - std::string actionPrice; - std::string eslPic; - std::string promotionStart; - std::string itemBarCode; - std::string templateSceneId; - std::string itemId; - std::string promotionText; - std::string promotionEnd; - std::string eslModel; - std::string eslBarCode; - std::string priceUnit; - std::string itemShortTitle; - std::string storeId; - std::string itemTitle; - std::string eslStatus; - std::string skuId; - std::string templateId; - std::string eslConnectAp; - bool bePromotion; - }; - - - DescribeBindersResult(); - explicit DescribeBindersResult(const std::string &payload); - ~DescribeBindersResult(); - 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; - std::vector getEslItemBindInfos()const; - - protected: - void parse(const std::string &payload); - private: - 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_; - std::vector eslItemBindInfos_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h deleted file mode 100644 index a249359b5..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeClientPackageRequest : public RpcServiceRequest - { - - public: - DescribeClientPackageRequest(); - ~DescribeClientPackageRequest(); - - std::string getClientType()const; - void setClientType(const std::string& clientType); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - - private: - std::string clientType_; - std::string extraParams_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h deleted file mode 100644 index 90830aef9..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeClientPackageResult : public ServiceResult - { - public: - - - DescribeClientPackageResult(); - explicit DescribeClientPackageResult(const std::string &payload); - ~DescribeClientPackageResult(); - std::string getDescription()const; - 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 diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyRequest.h similarity index 62% rename from cloudesl/include/alibabacloud/cloudesl/model/GetUserRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyRequest.h index 98c675d27..d31b6fb82 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/GetUserRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_ #include #include @@ -28,24 +28,18 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT GetUserRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyRequest : public RpcServiceRequest { public: - GetUserRequest(); - ~GetUserRequest(); + DescribeCompanyRequest(); + ~DescribeCompanyRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getUserId()const; - void setUserId(const std::string& userId); private: - std::string extraParams_; - std::string userId_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyResult.h new file mode 100644 index 000000000..3940b1ce5 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeCompanyResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECOMPANYRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyResult : public ServiceResult + { + public: + + + DescribeCompanyResult(); + explicit DescribeCompanyResult(const std::string &payload); + ~DescribeCompanyResult(); + std::string getStatus()const; + std::string getMessage()const; + std::string getCompanyId()const; + std::string getPlatform()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string message_; + std::string companyId_; + std::string platform_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYRESULT_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..68c1bbecd 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h @@ -35,35 +35,47 @@ namespace AlibabaCloud DescribeEslDevicesRequest(); ~DescribeEslDevicesRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getType()const; - void setType(const std::string& type); std::string getStoreId()const; void setStoreId(const std::string& storeId); + std::string getType()const; + void setType(const std::string& type); + std::string getMac()const; + void setMac(const std::string& mac); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getEslBarCode()const; void setEslBarCode(const std::string& eslBarCode); + std::string getVendor()const; + void setVendor(const std::string& vendor); int getPageSize()const; void setPageSize(int pageSize); + std::string getItemBarCode()const; + void setItemBarCode(const std::string& itemBarCode); std::string getEslStatus()const; void setEslStatus(const std::string& eslStatus); int getToBatteryLevel()const; void setToBatteryLevel(int toBatteryLevel); int getFromBatteryLevel()const; void setFromBatteryLevel(int fromBatteryLevel); + std::string getShelfCode()const; + void setShelfCode(const std::string& shelfCode); + bool getBeBind()const; + void setBeBind(bool beBind); private: - std::string extraParams_; - std::string type_; std::string storeId_; + std::string type_; + std::string mac_; int pageNumber_; std::string eslBarCode_; + std::string vendor_; int pageSize_; + std::string itemBarCode_; std::string eslStatus_; int toBatteryLevel_; int fromBatteryLevel_; + std::string shelfCode_; + bool beBind_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h index 2eb16a74f..508598d9d 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h @@ -34,16 +34,27 @@ namespace AlibabaCloud public: struct EslDeviceInfo { + int itemActionPrice; + int batteryLevel; + std::string itemPriceUnit; + std::string companyId; + std::string itemBarCode; + std::string vendor; + std::string screenHeight; + std::string lastCommunicateTime; + long itemId; + std::string mac; + std::string beBind; std::string eslBarCode; std::string type; - int batteryLevel; std::string storeId; + std::string connectAp; + std::string itemTitle; std::string model; - int screenWidth; + std::string screenWidth; std::string eslStatus; - int screenHeight; - std::string lastCommunicateTime; - std::string mac; + std::string positionCode; + std::string shelfCode; }; @@ -51,30 +62,22 @@ 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; 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 pageSize_; int pageNumber_; std::vector eslDevices_; - std::string dynamicCode_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsRequest.h index 097e13da4..b6213316b 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsRequest.h @@ -35,14 +35,12 @@ namespace AlibabaCloud DescribeItemsRequest(); ~DescribeItemsRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); int getPageNumber()const; void setPageNumber(int pageNumber); - std::string getItemId()const; - void setItemId(const std::string& itemId); + long getItemId()const; + void setItemId(long itemId); int getPageSize()const; void setPageSize(int pageSize); std::string getItemBarCode()const; @@ -51,18 +49,20 @@ namespace AlibabaCloud void setBePromotion(bool bePromotion); std::string getItemTitle()const; void setItemTitle(const std::string& itemTitle); + std::string getShelfCode()const; + void setShelfCode(const std::string& shelfCode); std::string getSkuId()const; void setSkuId(const std::string& skuId); private: - std::string extraParams_; std::string storeId_; int pageNumber_; - std::string itemId_; + long itemId_; int pageSize_; std::string itemBarCode_; bool bePromotion_; std::string itemTitle_; + std::string shelfCode_; std::string skuId_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h index ba1fa62be..db98f586f 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeItemsResult.h @@ -34,58 +34,48 @@ namespace AlibabaCloud public: struct ItemInfo { + int suggestPrice; std::string saleSpec; + std::string sourceCode; int originalPrice; std::string promotionStart; - std::string itemId; - std::string promotionEnd; + std::string itemBarCode; + long itemId; std::string brandName; + std::string promotionEnd; std::string energyEfficiency; - std::string inventoryStatus; - std::string manufacturer; - std::string taxFee; - std::string customizeFeatureJ; + std::string itemShortTitle; + std::string storeId; + std::string itemTitle; + std::string productionPlace; + std::string extraAttribute; + std::string positionCode; std::string modelNumber; + std::string customizeFeatureJ; + std::string forestFirstId; std::string customizeFeatureI; + std::string optionGroups; std::string customizeFeatureH; - std::string customizeFeatureG; std::string promotionReason; + std::string customizeFeatureG; + std::string companyId; std::string customizeFeatureF; std::string customizeFeatureE; std::string customizeFeatureD; std::string customizeFeatureC; - std::string customizeFeatureO; - std::string customizeFeatureN; - std::string customizeFeatureM; - std::string customizeFeatureL; - std::string customizeFeatureK; - int itemInfoIndex; + int actionPrice; + std::string rank; + std::string forestSecondId; + std::string promotionText; std::string itemQrCode; - std::string gmtCreate; + std::string priceUnit; std::string customizeFeatureB; + std::string categoryName; + bool beSourceCode; std::string customizeFeatureA; int memberPrice; std::string skuId; bool bePromotion; - int suggestPrice; - std::string sourceCode; - std::string gmtModified; - std::string itemBarCode; - int salesPrice; - std::string itemShortTitle; - std::string itemPicUrl; - std::string itemTitle; - std::string productionPlace; - std::string forestFirstId; - int actionPrice; - std::string material; - std::string rank; - std::string forestSecondId; - std::string promotionText; - std::string priceUnit; - std::string supplierName; - std::string categoryName; - bool beSourceCode; }; @@ -97,11 +87,7 @@ namespace AlibabaCloud 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: @@ -112,11 +98,7 @@ namespace AlibabaCloud int pageSize_; int pageNumber_; std::vector items_; - std::string dynamicCode_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h deleted file mode 100644 index dcca02020..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramEslDevicesRequest : public RpcServiceRequest - { - - public: - DescribePlanogramEslDevicesRequest(); - ~DescribePlanogramEslDevicesRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); - std::string getEslBarCode()const; - void setEslBarCode(const std::string& eslBarCode); - std::string getShelf()const; - void setShelf(const std::string& shelf); - - private: - std::string extraParams_; - std::string storeId_; - int layer_; - std::string eslBarCode_; - std::string shelf_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h deleted file mode 100644 index b5e557ff4..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramEslDevicesResult : public ServiceResult - { - public: - struct EslDeviceLayerInfo - { - struct EslDevicePositionInfo - { - struct EslDevicePlanogramInfo - { - std::string eslModel; - std::string eslBarCode; - std::string itemTitle; - std::string itemBarCode; - }; - std::vector eslDevicePlanogramInfos; - std::string column; - }; - int layer; - std::vector eslDevicePositionInfos; - }; - - - DescribePlanogramEslDevicesResult(); - explicit DescribePlanogramEslDevicesResult(const std::string &payload); - ~DescribePlanogramEslDevicesResult(); - std::string getMessage()const; - std::string getStoreId()const; - std::string getShelf()const; - std::string getDynamicCode()const; - std::string getDynamicMessage()const; - std::string getErrorCode()const; - std::vector getEslDeviceLayerInfos()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 storeId_; - std::string shelf_; - std::string dynamicCode_; - std::string dynamicMessage_; - std::string errorCode_; - std::vector eslDeviceLayerInfos_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h deleted file mode 100644 index 43826d86d..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsRequest : public RpcServiceRequest - { - - public: - DescribePlanogramPositionsRequest(); - ~DescribePlanogramPositionsRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); - std::string getShelf()const; - void setShelf(const std::string& shelf); - - private: - std::string extraParams_; - std::string storeId_; - int layer_; - std::string shelf_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h deleted file mode 100644 index 1e5857bce..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsResult : public ServiceResult - { - public: - struct LayerInfo - { - struct ShelfPositionInfo - { - int facing; - float offsetTo; - std::string column; - std::string itemTitle; - std::string itemBarCode; - float offsetFrom; - float depth; - }; - std::string layerOrigin; - std::string railCode; - int layer; - std::vector shelfPositionInfos; - }; - - - DescribePlanogramPositionsResult(); - explicit DescribePlanogramPositionsResult(const std::string &payload); - ~DescribePlanogramPositionsResult(); - std::string getMessage()const; - std::string getStoreId()const; - std::string getShelfType()const; - std::string getShelf()const; - std::string getDynamicCode()const; - std::vector getLayerInfos()const; - std::string getDynamicMessage()const; - std::string getErrorCode()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 storeId_; - std::string shelfType_; - std::string shelf_; - std::string dynamicCode_; - std::vector layerInfos_; - std::string dynamicMessage_; - std::string errorCode_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h deleted file mode 100644 index 8b9c320a4..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramRailsRequest : public RpcServiceRequest - { - - public: - DescribePlanogramRailsRequest(); - ~DescribePlanogramRailsRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getShelf()const; - void setShelf(const std::string& shelf); - std::string getRailCode()const; - void setRailCode(const std::string& railCode); - - private: - std::string extraParams_; - std::string storeId_; - int layer_; - int pageNumber_; - int pageSize_; - std::string shelf_; - std::string railCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h deleted file mode 100644 index 9e9385c99..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramShelvesResult : public ServiceResult - { - public: - struct ShelfInfo - { - struct LayerInfo - { - int layer; - }; - std::string category; - std::string shelfType; - std::string zone; - std::string shelf; - std::vector layerInfos; - bool beMatch; - }; - - - DescribePlanogramShelvesResult(); - explicit DescribePlanogramShelvesResult(const std::string &payload); - ~DescribePlanogramShelvesResult(); - std::vector getShelfInfos()const; - int getTotalCount()const; - std::string getMessage()const; - std::string getStoreId()const; - int getPageSize()const; - int getPageNumber()const; - std::string getDynamicCode()const; - std::string getDynamicMessage()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::vector shelfInfos_; - int totalCount_; - std::string message_; - std::string storeId_; - int pageSize_; - int pageNumber_; - std::string dynamicCode_; - std::string dynamicMessage_; - std::string errorCode_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h deleted file mode 100644 index 1726b7d1a..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeRoleActionsRequest : public RpcServiceRequest - { - - public: - DescribeRoleActionsRequest(); - ~DescribeRoleActionsRequest(); - - std::string getRoleCode()const; - void setRoleCode(const std::string& roleCode); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - - private: - std::string roleCode_; - std::string extraParams_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h deleted file mode 100644 index 54ca913ad..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeRoleActionsResult : public ServiceResult - { - public: - struct RoleAclInfo - { - struct RoleActionInfo - { - std::string code; - }; - std::vector accessControlLists; - std::string roleCode; - std::string name; - }; - - - DescribeRoleActionsResult(); - explicit DescribeRoleActionsResult(const std::string &payload); - ~DescribeRoleActionsResult(); - std::string getMessage()const; - std::vector getRoleAclInfos()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::vector roleAclInfos_; - std::string dynamicCode_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_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 deleted file mode 100644 index 2b7092149..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeStoreConfigResult : public ServiceResult - { - public: - struct StoreConfigInfo - { - std::string storeId; - bool enableNotification; - std::string notificationSilentTimes; - std::string notificationWebHook; - }; - - - DescribeStoreConfigResult(); - explicit DescribeStoreConfigResult(const std::string &payload); - ~DescribeStoreConfigResult(); - StoreConfigInfo getStoreConfigInfo()const; - std::string getMessage()const; - std::string getDynamicCode()const; - std::string getErrorCode()const; - std::string getDynamicMessage()const; - std::string getErrorMessage()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - StoreConfigInfo storeConfigInfo_; - std::string message_; - std::string dynamicCode_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresRequest.h index 598d774a1..f116823ea 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresRequest.h @@ -35,8 +35,6 @@ namespace AlibabaCloud DescribeStoresRequest(); ~DescribeStoresRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreName()const; void setStoreName(const std::string& storeName); std::string getStoreId()const; @@ -49,18 +47,20 @@ namespace AlibabaCloud void setToDate(const std::string& toDate); int getPageSize()const; void setPageSize(int pageSize); - std::string getUserStoreCode()const; - void setUserStoreCode(const std::string& userStoreCode); + std::string getBrand()const; + void setBrand(const std::string& brand); + std::string getGroups()const; + void setGroups(const std::string& groups); private: - std::string extraParams_; std::string storeName_; std::string storeId_; int pageNumber_; std::string fromDate_; std::string toDate_; int pageSize_; - std::string userStoreCode_; + std::string brand_; + std::string groups_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresResult.h index 36fc40a44..a2ce43b76 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresResult.h @@ -34,13 +34,17 @@ namespace AlibabaCloud public: struct StoreInfo { + std::string brand; std::string parentId; std::string gmtCreate; - std::string userStoreCode; - std::string storeName; + std::string companyId; std::string storeId; + std::string storeName; std::string phone; + std::string groups; + std::string comments; std::string gmtModified; + std::string outId; std::string level; }; @@ -52,12 +56,8 @@ namespace AlibabaCloud std::string getMessage()const; int getPageSize()const; int getPageNumber()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: @@ -67,12 +67,8 @@ namespace AlibabaCloud std::string message_; int pageSize_; int pageNumber_; - std::string dynamicCode_; std::vector stores_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h deleted file mode 100644 index e0b45a5a7..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogResult.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserLogResult : public ServiceResult - { - public: - struct UserLogInfo - { - std::string operationResponseTime; - std::string gmtModified; - std::string actionPrice; - std::string operationSendTime; - std::string itemBarCode; - std::string spendTime; - std::string itemId; - std::string gmtCreate; - std::string eslBarCode; - std::string priceUnit; - std::string itemShortTitle; - std::string storeId; - std::string userId; - std::string operationStatus; - std::string operationType; - std::string logId; - std::string resultCode; - bool bePromotion; - }; - - - DescribeUserLogResult(); - explicit DescribeUserLogResult(const std::string &payload); - ~DescribeUserLogResult(); - 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; - std::vector getUserLogs()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string message_; - int pageSize_; - int pageNumber_; - std::string dynamicCode_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; - std::vector userLogs_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogRequest.h similarity index 59% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogRequest.h index 1b3c8a52f..6a195e478 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_ #include #include @@ -28,25 +28,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserLogRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserOperationLogRequest : public RpcServiceRequest { public: - DescribeUserLogRequest(); - ~DescribeUserLogRequest(); + DescribeUserOperationLogRequest(); + ~DescribeUserOperationLogRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); + long getOperateUserId()const; + void setOperateUserId(long operateUserId); std::string getStoreId()const; void setStoreId(const std::string& storeId); - std::string getUserId()const; - void setUserId(const std::string& userId); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getFromDate()const; void setFromDate(const std::string& fromDate); - std::string getOperationStatus()const; - void setOperationStatus(const std::string& operationStatus); + long getItemId()const; + void setItemId(long itemId); std::string getToDate()const; void setToDate(const std::string& toDate); std::string getEslBarCode()const; @@ -55,30 +53,32 @@ namespace AlibabaCloud void setPageSize(int pageSize); std::string getItemBarCode()const; void setItemBarCode(const std::string& itemBarCode); - std::string getItemShortTitle()const; - void setItemShortTitle(const std::string& itemShortTitle); - std::string getOperationType()const; - void setOperationType(const std::string& operationType); - std::string getLogId()const; - void setLogId(const std::string& logId); + std::string getItemTitle()const; + void setItemTitle(const std::string& itemTitle); + std::string getOperateStatus()const; + void setOperateStatus(const std::string& operateStatus); + bool getReverse()const; + void setReverse(bool reverse); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); private: - std::string extraParams_; + long operateUserId_; std::string storeId_; - std::string userId_; int pageNumber_; std::string fromDate_; - std::string operationStatus_; + long itemId_; std::string toDate_; std::string eslBarCode_; int pageSize_; std::string itemBarCode_; - std::string itemShortTitle_; - std::string operationType_; - std::string logId_; + std::string itemTitle_; + std::string operateStatus_; + bool reverse_; + std::string operateType_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogResult.h similarity index 56% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogResult.h index b4c56ac57..320198136 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserOperationLogResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGRESULT_H_ #include #include @@ -29,52 +29,49 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramRailsResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserOperationLogResult : public ServiceResult { public: - struct PlanogramRailInfo + struct OperationLogInfo { - std::string railCode; - std::string shelf; - int gapUnit; - int layer; + int itemActionPrice; + std::string operateTime; + std::string operateStatus; + std::string eslBarCode; + std::string storeId; + std::string itemTitle; + long operateUserId; + std::string itemBarCode; + std::string itemId; + std::string operateType; + std::string shelfCode; }; - DescribePlanogramRailsResult(); - explicit DescribePlanogramRailsResult(const std::string &payload); - ~DescribePlanogramRailsResult(); - std::vector getPlanogramRailInfos()const; + DescribeUserOperationLogResult(); + explicit DescribeUserOperationLogResult(const std::string &payload); + ~DescribeUserOperationLogResult(); + std::vector getOperationLogs()const; int getTotalCount()const; std::string getMessage()const; - std::string getStoreId()const; int getPageSize()const; int getPageNumber()const; - std::string getDynamicCode()const; - std::string getDynamicMessage()const; std::string getErrorCode()const; - std::string getErrorMessage()const; - std::string getCode()const; bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::vector planogramRailInfos_; + std::vector operationLogs_; int totalCount_; std::string message_; - std::string storeId_; int pageSize_; int pageNumber_; - std::string dynamicCode_; - std::string dynamicMessage_; std::string errorCode_; - std::string errorMessage_; - std::string code_; bool success_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyRequest.h new file mode 100644 index 000000000..d702154a3 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyRequest.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_DESCRIBEUSERRAMPOLICYREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERRAMPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserRamPolicyRequest : public RpcServiceRequest + { + + public: + DescribeUserRamPolicyRequest(); + ~DescribeUserRamPolicyRequest(); + + std::string getUserType()const; + void setUserType(const std::string& userType); + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getCompanyId()const; + void setCompanyId(const std::string& companyId); + + private: + std::string userType_; + std::string storeId_; + std::string companyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERRAMPOLICYREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyResult.h new file mode 100644 index 000000000..33756980c --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUserRamPolicyResult.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_DESCRIBEUSERRAMPOLICYRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERRAMPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserRamPolicyResult : public ServiceResult + { + public: + + + DescribeUserRamPolicyResult(); + explicit DescribeUserRamPolicyResult(const std::string &payload); + ~DescribeUserRamPolicyResult(); + std::string getPolicy()const; + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string policy_; + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERRAMPOLICYRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersRequest.h deleted file mode 100644 index bb9d383f1..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUsersRequest : public RpcServiceRequest - { - - public: - DescribeUsersRequest(); - ~DescribeUsersRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getUserType()const; - void setUserType(const std::string& userType); - std::string getUserName()const; - void setUserName(const std::string& userName); - - private: - std::string extraParams_; - std::string userId_; - int pageNumber_; - int pageSize_; - std::string userType_; - std::string userName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersResult.h deleted file mode 100644 index da78b984a..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeUsersResult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUsersResult : public ServiceResult - { - public: - struct UserInfo - { - struct DingTalkInfo - { - std::string dingTalkCompanyId; - std::string dingTalkUserId; - }; - std::string userName; - std::string ownerId; - std::string userId; - std::vector dingTalkInfos; - std::string stores; - std::string bid; - std::string userType; - }; - - - DescribeUsersResult(); - explicit DescribeUsersResult(const std::string &payload); - ~DescribeUsersResult(); - int getTotalCount()const; - std::string getMessage()const; - int getPageSize()const; - int getPageNumber()const; - std::string getDynamicCode()const; - std::vector getUsers()const; - std::string getErrorCode()const; - std::string getDynamicMessage()const; - std::string getErrorMessage()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string message_; - int pageSize_; - int pageNumber_; - std::string dynamicCode_; - std::vector users_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h b/cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h deleted file mode 100644 index 5248a2ff6..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT DissociatePlanogramRailResult : public ServiceResult - { - public: - - - DissociatePlanogramRailResult(); - explicit DissociatePlanogramRailResult(const std::string &payload); - ~DissociatePlanogramRailResult(); - 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_DISSOCIATEPLANOGRAMRAILRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/GetUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/GetUserResult.h deleted file mode 100644 index 5d0f577d8..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/GetUserResult.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_GETUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT GetUserResult : public ServiceResult - { - public: - struct User - { - struct DingTalkInfo - { - std::string dingTalkCompanyId; - std::string dingTalkUserId; - }; - std::string userName; - std::string ownerId; - std::string userId; - std::vector dingTalkInfos; - std::string stores; - std::string bid; - std::string userType; - }; - - - GetUserResult(); - explicit GetUserResult(const std::string &payload); - ~GetUserResult(); - User getUser()const; - std::string getMessage()const; - std::string getDynamicCode()const; - std::string getErrorCode()const; - std::string getDynamicMessage()const; - std::string getErrorMessage()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - User user_; - std::string message_; - std::string dynamicCode_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETUSERRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceRequest.h similarity index 68% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h rename to cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceRequest.h index 635243862..cb6c44b6c 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICEREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICEREQUEST_H_ #include #include @@ -28,30 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramShelvesRequest : public RpcServiceRequest + class ALIBABACLOUD_CLOUDESL_EXPORT SearchApServiceRequest : public RpcServiceRequest { public: - DescribePlanogramShelvesRequest(); - ~DescribePlanogramShelvesRequest(); + SearchApServiceRequest(); + ~SearchApServiceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); + std::string getApMac()const; + void setApMac(const std::string& apMac); std::string getStoreId()const; void setStoreId(const std::string& storeId); int getPageNumber()const; void setPageNumber(int pageNumber); int getPageSize()const; void setPageSize(int pageSize); + bool getActivated()const; + void setActivated(bool activated); private: - std::string extraParams_; + std::string apMac_; std::string storeId_; int pageNumber_; int pageSize_; + bool activated_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h b/cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceResult.h similarity index 62% rename from cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h rename to cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceResult.h index 5807a518b..cee67c385 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/SearchApServiceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_H_ +#ifndef ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICERESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICERESULT_H_ #include #include @@ -29,33 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CLOUDESL_EXPORT DescribeApDevicesResult : public ServiceResult + class ALIBABACLOUD_CLOUDESL_EXPORT SearchApServiceResult : public ServiceResult { public: struct ApInfo { bool status; - bool beActivate; - std::string storeId; + bool isActivate; std::string model; std::string mac; - std::string remark; }; - DescribeApDevicesResult(); - explicit DescribeApDevicesResult(const std::string &payload); - ~DescribeApDevicesResult(); + SearchApServiceResult(); + explicit SearchApServiceResult(const std::string &payload); + ~SearchApServiceResult(); int getTotalCount()const; std::string getMessage()const; int getPageSize()const; int getPageNumber()const; - std::string getDynamicCode()const; - std::vector getApDevices()const; + std::vector getItems()const; std::string getErrorCode()const; - std::string getDynamicMessage()const; - std::string getErrorMessage()const; - std::string getCode()const; bool getSuccess()const; protected: @@ -65,16 +59,12 @@ namespace AlibabaCloud std::string message_; int pageSize_; int pageNumber_; - std::string dynamicCode_; - std::vector apDevices_; + std::vector items_; std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - std::string code_; bool success_; }; } } } -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SEARCHAPSERVICERESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserRequest.h deleted file mode 100644 index 5b52e9d88..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UNASSIGNUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UNASSIGNUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UnassignUserRequest : public RpcServiceRequest - { - - public: - UnassignUserRequest(); - ~UnassignUserRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string extraParams_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UNASSIGNUSERREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserResult.h deleted file mode 100644 index ccce27019..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UnassignUserResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UNASSIGNUSERRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UNASSIGNUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UnassignUserResult : public ServiceResult - { - public: - - - UnassignUserResult(); - explicit UnassignUserResult(const std::string &payload); - ~UnassignUserResult(); - 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_UNASSIGNUSERRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h index d122dd39a..ab2a93c13 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h @@ -35,29 +35,17 @@ namespace AlibabaCloud UnbindEslDeviceRequest(); ~UnbindEslDeviceRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); std::string getStoreId()const; void setStoreId(const std::string& storeId); - int getLayer()const; - void setLayer(int layer); std::string getEslBarCode()const; void setEslBarCode(const std::string& eslBarCode); std::string getItemBarCode()const; void setItemBarCode(const std::string& itemBarCode); - std::string getColumn()const; - void setColumn(const std::string& column); - std::string getShelf()const; - void setShelf(const std::string& shelf); private: - std::string extraParams_; std::string storeId_; - int layer_; std::string eslBarCode_; std::string itemBarCode_; - std::string column_; - std::string shelf_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h index fe340065e..4f656a141 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h @@ -38,22 +38,14 @@ namespace AlibabaCloud explicit UnbindEslDeviceResult(const std::string &payload); ~UnbindEslDeviceResult(); 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_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfRequest.h new file mode 100644 index 000000000..5baa7afc4 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfRequest.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_UNBINDESLDEVICESHELFREQUEST_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UNBINDESLDEVICESHELFREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UnbindEslDeviceShelfRequest : public RpcServiceRequest + { + + public: + UnbindEslDeviceShelfRequest(); + ~UnbindEslDeviceShelfRequest(); + + std::string getStoreId()const; + void setStoreId(const std::string& storeId); + std::string getEslBarCode()const; + void setEslBarCode(const std::string& eslBarCode); + + private: + std::string storeId_; + std::string eslBarCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UNBINDESLDEVICESHELFREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfResult.h new file mode 100644 index 000000000..85e006543 --- /dev/null +++ b/cloudesl/include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UNBINDESLDEVICESHELFRESULT_H_ +#define ALIBABACLOUD_CLOUDESL_MODEL_UNBINDESLDEVICESHELFRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudesl + { + namespace Model + { + class ALIBABACLOUD_CLOUDESL_EXPORT UnbindEslDeviceShelfResult : public ServiceResult + { + public: + + + UnbindEslDeviceShelfResult(); + explicit UnbindEslDeviceShelfResult(const std::string &payload); + ~UnbindEslDeviceShelfResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UNBINDESLDEVICESHELFRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h deleted file mode 100644 index de3adb9ea..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateEslDeviceLightRequest : public RpcServiceRequest - { - - public: - UpdateEslDeviceLightRequest(); - ~UpdateEslDeviceLightRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - int getLightUpTime()const; - void setLightUpTime(int lightUpTime); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - std::string getFrequency()const; - void setFrequency(const std::string& frequency); - std::string getEslBarCode()const; - void setEslBarCode(const std::string& eslBarCode); - std::string getLedColor()const; - void setLedColor(const std::string& ledColor); - std::string getItemBarCode()const; - void setItemBarCode(const std::string& itemBarCode); - - private: - std::string extraParams_; - int lightUpTime_; - std::string storeId_; - std::string frequency_; - std::string eslBarCode_; - std::string ledColor_; - std::string itemBarCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h deleted file mode 100644 index 02fc554cb..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateEslDeviceLightResult : public ServiceResult - { - public: - struct LightFailEslInfo - { - std::string eslBarCode; - std::string errorMessage; - }; - - - UpdateEslDeviceLightResult(); - explicit UpdateEslDeviceLightResult(const std::string &payload); - ~UpdateEslDeviceLightResult(); - std::string getMessage()const; - std::vector getLightFailEslInfos()const; - int getFailCount()const; - std::string getDynamicCode()const; - std::string getErrorCode()const; - std::string getDynamicMessage()const; - std::string getErrorMessage()const; - int getSuccessCount()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::vector lightFailEslInfos_; - int failCount_; - std::string dynamicCode_; - std::string errorCode_; - std::string dynamicMessage_; - std::string errorMessage_; - int successCount_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEESLDEVICELIGHTRESULT_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 deleted file mode 100644 index b665190ad..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATESTORECONFIGREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATESTORECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateStoreConfigRequest : public RpcServiceRequest - { - - public: - UpdateStoreConfigRequest(); - ~UpdateStoreConfigRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getStoreId()const; - void setStoreId(const std::string& storeId); - bool getEnableNotification()const; - void setEnableNotification(bool enableNotification); - std::string getNotificationWebHook()const; - void setNotificationWebHook(const std::string& notificationWebHook); - std::string getNotificationSilentTimes()const; - void setNotificationSilentTimes(const std::string& notificationSilentTimes); - - private: - std::string extraParams_; - std::string storeId_; - bool enableNotification_; - std::string notificationWebHook_; - std::string notificationSilentTimes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATESTORECONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h deleted file mode 100644 index 5bb2ae116..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATESTORECONFIGRESULT_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATESTORECONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateStoreConfigResult : public ServiceResult - { - public: - - - UpdateStoreConfigResult(); - explicit UpdateStoreConfigResult(const std::string &payload); - ~UpdateStoreConfigResult(); - 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_UPDATESTORECONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreRequest.h index 1d7e93229..83d799c73 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreRequest.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreRequest.h @@ -35,23 +35,29 @@ namespace AlibabaCloud UpdateStoreRequest(); ~UpdateStoreRequest(); - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); + std::string getComments()const; + void setComments(const std::string& comments); std::string getStoreName()const; void setStoreName(const std::string& storeName); + std::string getGroups()const; + void setGroups(const std::string& groups); std::string getStoreId()const; void setStoreId(const std::string& storeId); - std::string getUserStoreCode()const; - void setUserStoreCode(const std::string& userStoreCode); std::string getPhone()const; void setPhone(const std::string& phone); + std::string getOutId()const; + void setOutId(const std::string& outId); + std::string getBrand()const; + void setBrand(const std::string& brand); private: - std::string extraParams_; + std::string comments_; std::string storeName_; + std::string groups_; std::string storeId_; - std::string userStoreCode_; std::string phone_; + std::string outId_; + std::string brand_; }; } diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreResult.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreResult.h index 81b85987b..a3ff098d7 100644 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreResult.h +++ b/cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreResult.h @@ -38,22 +38,14 @@ namespace AlibabaCloud explicit UpdateStoreResult(const std::string &payload); ~UpdateStoreResult(); 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_; }; diff --git a/cloudesl/include/alibabacloud/cloudesl/model/UpdateUserRequest.h b/cloudesl/include/alibabacloud/cloudesl/model/UpdateUserRequest.h deleted file mode 100644 index 1d157bf5e..000000000 --- a/cloudesl/include/alibabacloud/cloudesl/model/UpdateUserRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_ -#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cloudesl - { - namespace Model - { - class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserRequest : public RpcServiceRequest - { - - public: - UpdateUserRequest(); - ~UpdateUserRequest(); - - std::string getExtraParams()const; - void setExtraParams(const std::string& extraParams); - std::string getDingTalkUserId()const; - void setDingTalkUserId(const std::string& dingTalkUserId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDingTalkCompanyId()const; - void setDingTalkCompanyId(const std::string& dingTalkCompanyId); - - private: - std::string extraParams_; - std::string dingTalkUserId_; - std::string userId_; - std::string dingTalkCompanyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_ \ No newline at end of file diff --git a/cloudesl/src/CloudeslClient.cc b/cloudesl/src/CloudeslClient.cc index 23ef42a75..1a4e48d55 100644 --- a/cloudesl/src/CloudeslClient.cc +++ b/cloudesl/src/CloudeslClient.cc @@ -51,252 +51,72 @@ CloudeslClient::CloudeslClient(const std::string & accessKeyId, const std::strin CloudeslClient::~CloudeslClient() {} -CloudeslClient::ActivateApDeviceOutcome CloudeslClient::activateApDevice(const ActivateApDeviceRequest &request) const +CloudeslClient::ActivateApServiceOutcome CloudeslClient::activateApService(const ActivateApServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ActivateApDeviceOutcome(endpointOutcome.error()); + return ActivateApServiceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ActivateApDeviceOutcome(ActivateApDeviceResult(outcome.result())); + return ActivateApServiceOutcome(ActivateApServiceResult(outcome.result())); else - return ActivateApDeviceOutcome(outcome.error()); + return ActivateApServiceOutcome(outcome.error()); } -void CloudeslClient::activateApDeviceAsync(const ActivateApDeviceRequest& request, const ActivateApDeviceAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::activateApServiceAsync(const ActivateApServiceRequest& request, const ActivateApServiceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, activateApDevice(request), context); + handler(this, request, activateApService(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::ActivateApDeviceOutcomeCallable CloudeslClient::activateApDeviceCallable(const ActivateApDeviceRequest &request) const +CloudeslClient::ActivateApServiceOutcomeCallable CloudeslClient::activateApServiceCallable(const ActivateApServiceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->activateApDevice(request); + return this->activateApService(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::AddApDeviceOutcome CloudeslClient::addApDevice(const AddApDeviceRequest &request) const +CloudeslClient::ActivateApService2Outcome CloudeslClient::activateApService2(const ActivateApService2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddApDeviceOutcome(endpointOutcome.error()); + return ActivateApService2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddApDeviceOutcome(AddApDeviceResult(outcome.result())); + return ActivateApService2Outcome(ActivateApService2Result(outcome.result())); else - return AddApDeviceOutcome(outcome.error()); + return ActivateApService2Outcome(outcome.error()); } -void CloudeslClient::addApDeviceAsync(const AddApDeviceRequest& request, const AddApDeviceAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::activateApService2Async(const ActivateApService2Request& request, const ActivateApService2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addApDevice(request), context); + handler(this, request, activateApService2(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::AddApDeviceOutcomeCallable CloudeslClient::addApDeviceCallable(const AddApDeviceRequest &request) const +CloudeslClient::ActivateApService2OutcomeCallable CloudeslClient::activateApService2Callable(const ActivateApService2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->addApDevice(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::AddPlanogramShelfOutcome CloudeslClient::addPlanogramShelf(const AddPlanogramShelfRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddPlanogramShelfOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddPlanogramShelfOutcome(AddPlanogramShelfResult(outcome.result())); - else - return AddPlanogramShelfOutcome(outcome.error()); -} - -void CloudeslClient::addPlanogramShelfAsync(const AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addPlanogramShelf(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::AddPlanogramShelfOutcomeCallable CloudeslClient::addPlanogramShelfCallable(const AddPlanogramShelfRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addPlanogramShelf(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::AddRoleActionsOutcome CloudeslClient::addRoleActions(const AddRoleActionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddRoleActionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddRoleActionsOutcome(AddRoleActionsResult(outcome.result())); - else - return AddRoleActionsOutcome(outcome.error()); -} - -void CloudeslClient::addRoleActionsAsync(const AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addRoleActions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::AddRoleActionsOutcomeCallable CloudeslClient::addRoleActionsCallable(const AddRoleActionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addRoleActions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::AddUserOutcome CloudeslClient::addUser(const AddUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddUserOutcome(AddUserResult(outcome.result())); - else - return AddUserOutcome(outcome.error()); -} - -void CloudeslClient::addUserAsync(const AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::AddUserOutcomeCallable CloudeslClient::addUserCallable(const AddUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::AssignUserOutcome CloudeslClient::assignUser(const AssignUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AssignUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AssignUserOutcome(AssignUserResult(outcome.result())); - else - return AssignUserOutcome(outcome.error()); -} - -void CloudeslClient::assignUserAsync(const AssignUserRequest& request, const AssignUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, assignUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::AssignUserOutcomeCallable CloudeslClient::assignUserCallable(const AssignUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->assignUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::AssociatePlanogramRailOutcome CloudeslClient::associatePlanogramRail(const AssociatePlanogramRailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AssociatePlanogramRailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AssociatePlanogramRailOutcome(AssociatePlanogramRailResult(outcome.result())); - else - return AssociatePlanogramRailOutcome(outcome.error()); -} - -void CloudeslClient::associatePlanogramRailAsync(const AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, associatePlanogramRail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::AssociatePlanogramRailOutcomeCallable CloudeslClient::associatePlanogramRailCallable(const AssociatePlanogramRailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->associatePlanogramRail(request); + return this->activateApService2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -339,6 +159,42 @@ CloudeslClient::BatchInsertItemsOutcomeCallable CloudeslClient::batchInsertItems return task->get_future(); } +CloudeslClient::BindApStoreServiceOutcome CloudeslClient::bindApStoreService(const BindApStoreServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindApStoreServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindApStoreServiceOutcome(BindApStoreServiceResult(outcome.result())); + else + return BindApStoreServiceOutcome(outcome.error()); +} + +void CloudeslClient::bindApStoreServiceAsync(const BindApStoreServiceRequest& request, const BindApStoreServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindApStoreService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::BindApStoreServiceOutcomeCallable CloudeslClient::bindApStoreServiceCallable(const BindApStoreServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindApStoreService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudeslClient::BindEslDeviceOutcome CloudeslClient::bindEslDevice(const BindEslDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -375,36 +231,36 @@ CloudeslClient::BindEslDeviceOutcomeCallable CloudeslClient::bindEslDeviceCallab return task->get_future(); } -CloudeslClient::ComposePlanogramPositionsOutcome CloudeslClient::composePlanogramPositions(const ComposePlanogramPositionsRequest &request) const +CloudeslClient::BindEslDeviceShelfOutcome CloudeslClient::bindEslDeviceShelf(const BindEslDeviceShelfRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ComposePlanogramPositionsOutcome(endpointOutcome.error()); + return BindEslDeviceShelfOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ComposePlanogramPositionsOutcome(ComposePlanogramPositionsResult(outcome.result())); + return BindEslDeviceShelfOutcome(BindEslDeviceShelfResult(outcome.result())); else - return ComposePlanogramPositionsOutcome(outcome.error()); + return BindEslDeviceShelfOutcome(outcome.error()); } -void CloudeslClient::composePlanogramPositionsAsync(const ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::bindEslDeviceShelfAsync(const BindEslDeviceShelfRequest& request, const BindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, composePlanogramPositions(request), context); + handler(this, request, bindEslDeviceShelf(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::ComposePlanogramPositionsOutcomeCallable CloudeslClient::composePlanogramPositionsCallable(const ComposePlanogramPositionsRequest &request) const +CloudeslClient::BindEslDeviceShelfOutcomeCallable CloudeslClient::bindEslDeviceShelfCallable(const BindEslDeviceShelfRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->composePlanogramPositions(request); + return this->bindEslDeviceShelf(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -447,108 +303,144 @@ CloudeslClient::CreateStoreOutcomeCallable CloudeslClient::createStoreCallable(c return task->get_future(); } -CloudeslClient::DeleteApDeviceOutcome CloudeslClient::deleteApDevice(const DeleteApDeviceRequest &request) const +CloudeslClient::DeleteApServiceOutcome CloudeslClient::deleteApService(const DeleteApServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteApDeviceOutcome(endpointOutcome.error()); + return DeleteApServiceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteApDeviceOutcome(DeleteApDeviceResult(outcome.result())); + return DeleteApServiceOutcome(DeleteApServiceResult(outcome.result())); else - return DeleteApDeviceOutcome(outcome.error()); + return DeleteApServiceOutcome(outcome.error()); } -void CloudeslClient::deleteApDeviceAsync(const DeleteApDeviceRequest& request, const DeleteApDeviceAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::deleteApServiceAsync(const DeleteApServiceRequest& request, const DeleteApServiceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteApDevice(request), context); + handler(this, request, deleteApService(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DeleteApDeviceOutcomeCallable CloudeslClient::deleteApDeviceCallable(const DeleteApDeviceRequest &request) const +CloudeslClient::DeleteApServiceOutcomeCallable CloudeslClient::deleteApServiceCallable(const DeleteApServiceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteApDevice(request); + return this->deleteApService(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::DeletePlanogramShelfOutcome CloudeslClient::deletePlanogramShelf(const DeletePlanogramShelfRequest &request) const +CloudeslClient::DeleteEslDeviceOutcome CloudeslClient::deleteEslDevice(const DeleteEslDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeletePlanogramShelfOutcome(endpointOutcome.error()); + return DeleteEslDeviceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeletePlanogramShelfOutcome(DeletePlanogramShelfResult(outcome.result())); + return DeleteEslDeviceOutcome(DeleteEslDeviceResult(outcome.result())); else - return DeletePlanogramShelfOutcome(outcome.error()); + return DeleteEslDeviceOutcome(outcome.error()); } -void CloudeslClient::deletePlanogramShelfAsync(const DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::deleteEslDeviceAsync(const DeleteEslDeviceRequest& request, const DeleteEslDeviceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deletePlanogramShelf(request), context); + handler(this, request, deleteEslDevice(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DeletePlanogramShelfOutcomeCallable CloudeslClient::deletePlanogramShelfCallable(const DeletePlanogramShelfRequest &request) const +CloudeslClient::DeleteEslDeviceOutcomeCallable CloudeslClient::deleteEslDeviceCallable(const DeleteEslDeviceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deletePlanogramShelf(request); + return this->deleteEslDevice(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::DeleteRoleActionsOutcome CloudeslClient::deleteRoleActions(const DeleteRoleActionsRequest &request) const +CloudeslClient::DeleteItemOutcome CloudeslClient::deleteItem(const DeleteItemRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteRoleActionsOutcome(endpointOutcome.error()); + return DeleteItemOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteRoleActionsOutcome(DeleteRoleActionsResult(outcome.result())); + return DeleteItemOutcome(DeleteItemResult(outcome.result())); else - return DeleteRoleActionsOutcome(outcome.error()); + return DeleteItemOutcome(outcome.error()); } -void CloudeslClient::deleteRoleActionsAsync(const DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::deleteItemAsync(const DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteRoleActions(request), context); + handler(this, request, deleteItem(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DeleteRoleActionsOutcomeCallable CloudeslClient::deleteRoleActionsCallable(const DeleteRoleActionsRequest &request) const +CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(const DeleteItemRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteRoleActions(request); + return this->deleteItem(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudeslClient::DeleteItemBySkuIdOutcome CloudeslClient::deleteItemBySkuId(const DeleteItemBySkuIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteItemBySkuIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteItemBySkuIdOutcome(DeleteItemBySkuIdResult(outcome.result())); + else + return DeleteItemBySkuIdOutcome(outcome.error()); +} + +void CloudeslClient::deleteItemBySkuIdAsync(const DeleteItemBySkuIdRequest& request, const DeleteItemBySkuIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteItemBySkuId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudeslClient::DeleteItemBySkuIdOutcomeCallable CloudeslClient::deleteItemBySkuIdCallable(const DeleteItemBySkuIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteItemBySkuId(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -591,42 +483,6 @@ CloudeslClient::DeleteStoreOutcomeCallable CloudeslClient::deleteStoreCallable(c return task->get_future(); } -CloudeslClient::DeleteUserOutcome CloudeslClient::deleteUser(const DeleteUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteUserOutcome(DeleteUserResult(outcome.result())); - else - return DeleteUserOutcome(outcome.error()); -} - -void CloudeslClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DeleteUserOutcomeCallable CloudeslClient::deleteUserCallable(const DeleteUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CloudeslClient::DescribeAlarmsOutcome CloudeslClient::describeAlarms(const DescribeAlarmsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,108 +519,36 @@ CloudeslClient::DescribeAlarmsOutcomeCallable CloudeslClient::describeAlarmsCall return task->get_future(); } -CloudeslClient::DescribeApDevicesOutcome CloudeslClient::describeApDevices(const DescribeApDevicesRequest &request) const +CloudeslClient::DescribeCompanyOutcome CloudeslClient::describeCompany(const DescribeCompanyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeApDevicesOutcome(endpointOutcome.error()); + return DescribeCompanyOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeApDevicesOutcome(DescribeApDevicesResult(outcome.result())); + return DescribeCompanyOutcome(DescribeCompanyResult(outcome.result())); else - return DescribeApDevicesOutcome(outcome.error()); + return DescribeCompanyOutcome(outcome.error()); } -void CloudeslClient::describeApDevicesAsync(const DescribeApDevicesRequest& request, const DescribeApDevicesAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::describeCompanyAsync(const DescribeCompanyRequest& request, const DescribeCompanyAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeApDevices(request), context); + handler(this, request, describeCompany(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DescribeApDevicesOutcomeCallable CloudeslClient::describeApDevicesCallable(const DescribeApDevicesRequest &request) const +CloudeslClient::DescribeCompanyOutcomeCallable CloudeslClient::describeCompanyCallable(const DescribeCompanyRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeApDevices(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribeBindersOutcome CloudeslClient::describeBinders(const DescribeBindersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBindersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBindersOutcome(DescribeBindersResult(outcome.result())); - else - return DescribeBindersOutcome(outcome.error()); -} - -void CloudeslClient::describeBindersAsync(const DescribeBindersRequest& request, const DescribeBindersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBinders(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribeBindersOutcomeCallable CloudeslClient::describeBindersCallable(const DescribeBindersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBinders(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribeClientPackageOutcome CloudeslClient::describeClientPackage(const DescribeClientPackageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClientPackageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClientPackageOutcome(DescribeClientPackageResult(outcome.result())); - else - return DescribeClientPackageOutcome(outcome.error()); -} - -void CloudeslClient::describeClientPackageAsync(const DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClientPackage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribeClientPackageOutcomeCallable CloudeslClient::describeClientPackageCallable(const DescribeClientPackageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClientPackage(request); + return this->describeCompany(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -843,222 +627,6 @@ CloudeslClient::DescribeItemsOutcomeCallable CloudeslClient::describeItemsCallab return task->get_future(); } -CloudeslClient::DescribePlanogramEslDevicesOutcome CloudeslClient::describePlanogramEslDevices(const DescribePlanogramEslDevicesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribePlanogramEslDevicesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribePlanogramEslDevicesOutcome(DescribePlanogramEslDevicesResult(outcome.result())); - else - return DescribePlanogramEslDevicesOutcome(outcome.error()); -} - -void CloudeslClient::describePlanogramEslDevicesAsync(const DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describePlanogramEslDevices(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribePlanogramEslDevicesOutcomeCallable CloudeslClient::describePlanogramEslDevicesCallable(const DescribePlanogramEslDevicesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describePlanogramEslDevices(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribePlanogramPositionsOutcome CloudeslClient::describePlanogramPositions(const DescribePlanogramPositionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribePlanogramPositionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribePlanogramPositionsOutcome(DescribePlanogramPositionsResult(outcome.result())); - else - return DescribePlanogramPositionsOutcome(outcome.error()); -} - -void CloudeslClient::describePlanogramPositionsAsync(const DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describePlanogramPositions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribePlanogramPositionsOutcomeCallable CloudeslClient::describePlanogramPositionsCallable(const DescribePlanogramPositionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describePlanogramPositions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribePlanogramRailsOutcome CloudeslClient::describePlanogramRails(const DescribePlanogramRailsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribePlanogramRailsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribePlanogramRailsOutcome(DescribePlanogramRailsResult(outcome.result())); - else - return DescribePlanogramRailsOutcome(outcome.error()); -} - -void CloudeslClient::describePlanogramRailsAsync(const DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describePlanogramRails(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribePlanogramRailsOutcomeCallable CloudeslClient::describePlanogramRailsCallable(const DescribePlanogramRailsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describePlanogramRails(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribePlanogramShelvesOutcome CloudeslClient::describePlanogramShelves(const DescribePlanogramShelvesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribePlanogramShelvesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribePlanogramShelvesOutcome(DescribePlanogramShelvesResult(outcome.result())); - else - return DescribePlanogramShelvesOutcome(outcome.error()); -} - -void CloudeslClient::describePlanogramShelvesAsync(const DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describePlanogramShelves(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribePlanogramShelvesOutcomeCallable CloudeslClient::describePlanogramShelvesCallable(const DescribePlanogramShelvesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describePlanogramShelves(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribeRoleActionsOutcome CloudeslClient::describeRoleActions(const DescribeRoleActionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRoleActionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRoleActionsOutcome(DescribeRoleActionsResult(outcome.result())); - else - return DescribeRoleActionsOutcome(outcome.error()); -} - -void CloudeslClient::describeRoleActionsAsync(const DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRoleActions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribeRoleActionsOutcomeCallable CloudeslClient::describeRoleActionsCallable(const DescribeRoleActionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRoleActions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::DescribeStoreConfigOutcome CloudeslClient::describeStoreConfig(const DescribeStoreConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeStoreConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeStoreConfigOutcome(DescribeStoreConfigResult(outcome.result())); - else - return DescribeStoreConfigOutcome(outcome.error()); -} - -void CloudeslClient::describeStoreConfigAsync(const DescribeStoreConfigRequest& request, const DescribeStoreConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeStoreConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::DescribeStoreConfigOutcomeCallable CloudeslClient::describeStoreConfigCallable(const DescribeStoreConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeStoreConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CloudeslClient::DescribeStoresOutcome CloudeslClient::describeStores(const DescribeStoresRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,180 +663,108 @@ CloudeslClient::DescribeStoresOutcomeCallable CloudeslClient::describeStoresCall return task->get_future(); } -CloudeslClient::DescribeUserLogOutcome CloudeslClient::describeUserLog(const DescribeUserLogRequest &request) const +CloudeslClient::DescribeUserOperationLogOutcome CloudeslClient::describeUserOperationLog(const DescribeUserOperationLogRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeUserLogOutcome(endpointOutcome.error()); + return DescribeUserOperationLogOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeUserLogOutcome(DescribeUserLogResult(outcome.result())); + return DescribeUserOperationLogOutcome(DescribeUserOperationLogResult(outcome.result())); else - return DescribeUserLogOutcome(outcome.error()); + return DescribeUserOperationLogOutcome(outcome.error()); } -void CloudeslClient::describeUserLogAsync(const DescribeUserLogRequest& request, const DescribeUserLogAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::describeUserOperationLogAsync(const DescribeUserOperationLogRequest& request, const DescribeUserOperationLogAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeUserLog(request), context); + handler(this, request, describeUserOperationLog(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DescribeUserLogOutcomeCallable CloudeslClient::describeUserLogCallable(const DescribeUserLogRequest &request) const +CloudeslClient::DescribeUserOperationLogOutcomeCallable CloudeslClient::describeUserOperationLogCallable(const DescribeUserOperationLogRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeUserLog(request); + return this->describeUserOperationLog(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::DescribeUsersOutcome CloudeslClient::describeUsers(const DescribeUsersRequest &request) const +CloudeslClient::DescribeUserRamPolicyOutcome CloudeslClient::describeUserRamPolicy(const DescribeUserRamPolicyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeUsersOutcome(endpointOutcome.error()); + return DescribeUserRamPolicyOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeUsersOutcome(DescribeUsersResult(outcome.result())); + return DescribeUserRamPolicyOutcome(DescribeUserRamPolicyResult(outcome.result())); else - return DescribeUsersOutcome(outcome.error()); + return DescribeUserRamPolicyOutcome(outcome.error()); } -void CloudeslClient::describeUsersAsync(const DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::describeUserRamPolicyAsync(const DescribeUserRamPolicyRequest& request, const DescribeUserRamPolicyAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeUsers(request), context); + handler(this, request, describeUserRamPolicy(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DescribeUsersOutcomeCallable CloudeslClient::describeUsersCallable(const DescribeUsersRequest &request) const +CloudeslClient::DescribeUserRamPolicyOutcomeCallable CloudeslClient::describeUserRamPolicyCallable(const DescribeUserRamPolicyRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeUsers(request); + return this->describeUserRamPolicy(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CloudeslClient::DissociatePlanogramRailOutcome CloudeslClient::dissociatePlanogramRail(const DissociatePlanogramRailRequest &request) const +CloudeslClient::SearchApServiceOutcome CloudeslClient::searchApService(const SearchApServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DissociatePlanogramRailOutcome(endpointOutcome.error()); + return SearchApServiceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DissociatePlanogramRailOutcome(DissociatePlanogramRailResult(outcome.result())); + return SearchApServiceOutcome(SearchApServiceResult(outcome.result())); else - return DissociatePlanogramRailOutcome(outcome.error()); + return SearchApServiceOutcome(outcome.error()); } -void CloudeslClient::dissociatePlanogramRailAsync(const DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::searchApServiceAsync(const SearchApServiceRequest& request, const SearchApServiceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, dissociatePlanogramRail(request), context); + handler(this, request, searchApService(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::DissociatePlanogramRailOutcomeCallable CloudeslClient::dissociatePlanogramRailCallable(const DissociatePlanogramRailRequest &request) const +CloudeslClient::SearchApServiceOutcomeCallable CloudeslClient::searchApServiceCallable(const SearchApServiceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->dissociatePlanogramRail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::GetUserOutcome CloudeslClient::getUser(const GetUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetUserOutcome(GetUserResult(outcome.result())); - else - return GetUserOutcome(outcome.error()); -} - -void CloudeslClient::getUserAsync(const GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::GetUserOutcomeCallable CloudeslClient::getUserCallable(const GetUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::UnassignUserOutcome CloudeslClient::unassignUser(const UnassignUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UnassignUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UnassignUserOutcome(UnassignUserResult(outcome.result())); - else - return UnassignUserOutcome(outcome.error()); -} - -void CloudeslClient::unassignUserAsync(const UnassignUserRequest& request, const UnassignUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, unassignUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::UnassignUserOutcomeCallable CloudeslClient::unassignUserCallable(const UnassignUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->unassignUser(request); + return this->searchApService(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1311,36 +807,36 @@ CloudeslClient::UnbindEslDeviceOutcomeCallable CloudeslClient::unbindEslDeviceCa return task->get_future(); } -CloudeslClient::UpdateEslDeviceLightOutcome CloudeslClient::updateEslDeviceLight(const UpdateEslDeviceLightRequest &request) const +CloudeslClient::UnbindEslDeviceShelfOutcome CloudeslClient::unbindEslDeviceShelf(const UnbindEslDeviceShelfRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return UpdateEslDeviceLightOutcome(endpointOutcome.error()); + return UnbindEslDeviceShelfOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return UpdateEslDeviceLightOutcome(UpdateEslDeviceLightResult(outcome.result())); + return UnbindEslDeviceShelfOutcome(UnbindEslDeviceShelfResult(outcome.result())); else - return UpdateEslDeviceLightOutcome(outcome.error()); + return UnbindEslDeviceShelfOutcome(outcome.error()); } -void CloudeslClient::updateEslDeviceLightAsync(const UpdateEslDeviceLightRequest& request, const UpdateEslDeviceLightAsyncHandler& handler, const std::shared_ptr& context) const +void CloudeslClient::unbindEslDeviceShelfAsync(const UnbindEslDeviceShelfRequest& request, const UnbindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, updateEslDeviceLight(request), context); + handler(this, request, unbindEslDeviceShelf(request), context); }; asyncExecute(new Runnable(fn)); } -CloudeslClient::UpdateEslDeviceLightOutcomeCallable CloudeslClient::updateEslDeviceLightCallable(const UpdateEslDeviceLightRequest &request) const +CloudeslClient::UnbindEslDeviceShelfOutcomeCallable CloudeslClient::unbindEslDeviceShelfCallable(const UnbindEslDeviceShelfRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->updateEslDeviceLight(request); + return this->unbindEslDeviceShelf(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1383,75 +879,3 @@ CloudeslClient::UpdateStoreOutcomeCallable CloudeslClient::updateStoreCallable(c return task->get_future(); } -CloudeslClient::UpdateStoreConfigOutcome CloudeslClient::updateStoreConfig(const UpdateStoreConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateStoreConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateStoreConfigOutcome(UpdateStoreConfigResult(outcome.result())); - else - return UpdateStoreConfigOutcome(outcome.error()); -} - -void CloudeslClient::updateStoreConfigAsync(const UpdateStoreConfigRequest& request, const UpdateStoreConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateStoreConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::UpdateStoreConfigOutcomeCallable CloudeslClient::updateStoreConfigCallable(const UpdateStoreConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateStoreConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CloudeslClient::UpdateUserOutcome CloudeslClient::updateUser(const UpdateUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUserOutcome(UpdateUserResult(outcome.result())); - else - return UpdateUserOutcome(outcome.error()); -} - -void CloudeslClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CloudeslClient::UpdateUserOutcomeCallable CloudeslClient::updateUserCallable(const UpdateUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/cloudesl/src/model/ActivateApDeviceRequest.cc b/cloudesl/src/model/ActivateApDeviceRequest.cc deleted file mode 100644 index 91669d2af..000000000 --- a/cloudesl/src/model/ActivateApDeviceRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::ActivateApDeviceRequest; - -ActivateApDeviceRequest::ActivateApDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "ActivateApDevice") -{ - setMethod(HttpRequest::Method::Post); -} - -ActivateApDeviceRequest::~ActivateApDeviceRequest() -{} - -std::string ActivateApDeviceRequest::getExtraParams()const -{ - return extraParams_; -} - -void ActivateApDeviceRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string ActivateApDeviceRequest::getApMac()const -{ - return apMac_; -} - -void ActivateApDeviceRequest::setApMac(const std::string& apMac) -{ - apMac_ = apMac; - setBodyParameter("ApMac", apMac); -} - -std::string ActivateApDeviceRequest::getStoreId()const -{ - return storeId_; -} - -void ActivateApDeviceRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - diff --git a/cloudesl/src/model/ActivateApDeviceResult.cc b/cloudesl/src/model/ActivateApDeviceResult.cc deleted file mode 100644 index fa6bb8673..000000000 --- a/cloudesl/src/model/ActivateApDeviceResult.cc +++ /dev/null @@ -1,93 +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; - -ActivateApDeviceResult::ActivateApDeviceResult() : - ServiceResult() -{} - -ActivateApDeviceResult::ActivateApDeviceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ActivateApDeviceResult::~ActivateApDeviceResult() -{} - -void ActivateApDeviceResult::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["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"; - -} - -std::string ActivateApDeviceResult::getMessage()const -{ - return message_; -} - -std::string ActivateApDeviceResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string ActivateApDeviceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ActivateApDeviceResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string ActivateApDeviceResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string ActivateApDeviceResult::getCode()const -{ - return code_; -} - -bool ActivateApDeviceResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/ActivateApService2Request.cc b/cloudesl/src/model/ActivateApService2Request.cc new file mode 100644 index 000000000..f13be888c --- /dev/null +++ b/cloudesl/src/model/ActivateApService2Request.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::ActivateApService2Request; + +ActivateApService2Request::ActivateApService2Request() : + RpcServiceRequest("cloudesl", "2018-08-01", "ActivateApService2") +{ + setMethod(HttpRequest::Method::Post); +} + +ActivateApService2Request::~ActivateApService2Request() +{} + +std::string ActivateApService2Request::getApMac()const +{ + return apMac_; +} + +void ActivateApService2Request::setApMac(const std::string& apMac) +{ + apMac_ = apMac; + setParameter("ApMac", apMac); +} + +std::string ActivateApService2Request::getStoreId()const +{ + return storeId_; +} + +void ActivateApService2Request::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + diff --git a/cloudesl/src/model/AddUserResult.cc b/cloudesl/src/model/ActivateApService2Result.cc similarity index 59% rename from cloudesl/src/model/AddUserResult.cc rename to cloudesl/src/model/ActivateApService2Result.cc index e2b5510aa..247607faa 100644 --- a/cloudesl/src/model/AddUserResult.cc +++ b/cloudesl/src/model/ActivateApService2Result.cc @@ -14,79 +14,58 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -AddUserResult::AddUserResult() : +ActivateApService2Result::ActivateApService2Result() : ServiceResult() {} -AddUserResult::AddUserResult(const std::string &payload) : +ActivateApService2Result::ActivateApService2Result(const std::string &payload) : ServiceResult() { parse(payload); } -AddUserResult::~AddUserResult() +ActivateApService2Result::~ActivateApService2Result() {} -void AddUserResult::parse(const std::string &payload) +void ActivateApService2Result::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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); } -std::string AddUserResult::getMessage()const +std::string ActivateApService2Result::getMessage()const { return message_; } -std::string AddUserResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AddUserResult::getErrorCode()const +std::string ActivateApService2Result::getErrorCode()const { return errorCode_; } -std::string AddUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AddUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AddUserResult::getCode()const +std::string ActivateApService2Result::getCode()const { return code_; } -bool AddUserResult::getSuccess()const +bool ActivateApService2Result::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/ActivateApServiceRequest.cc b/cloudesl/src/model/ActivateApServiceRequest.cc new file mode 100644 index 000000000..01ac2cbdc --- /dev/null +++ b/cloudesl/src/model/ActivateApServiceRequest.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::ActivateApServiceRequest; + +ActivateApServiceRequest::ActivateApServiceRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "ActivateApService") +{ + setMethod(HttpRequest::Method::Post); +} + +ActivateApServiceRequest::~ActivateApServiceRequest() +{} + +std::string ActivateApServiceRequest::getApMac()const +{ + return apMac_; +} + +void ActivateApServiceRequest::setApMac(const std::string& apMac) +{ + apMac_ = apMac; + setParameter("ApMac", apMac); +} + +std::string ActivateApServiceRequest::getStoreId()const +{ + return storeId_; +} + +void ActivateApServiceRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + diff --git a/cloudesl/src/model/UpdateUserResult.cc b/cloudesl/src/model/ActivateApServiceResult.cc similarity index 54% rename from cloudesl/src/model/UpdateUserResult.cc rename to cloudesl/src/model/ActivateApServiceResult.cc index ef4860021..cf39128f1 100644 --- a/cloudesl/src/model/UpdateUserResult.cc +++ b/cloudesl/src/model/ActivateApServiceResult.cc @@ -14,79 +14,51 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -UpdateUserResult::UpdateUserResult() : +ActivateApServiceResult::ActivateApServiceResult() : ServiceResult() {} -UpdateUserResult::UpdateUserResult(const std::string &payload) : +ActivateApServiceResult::ActivateApServiceResult(const std::string &payload) : ServiceResult() { parse(payload); } -UpdateUserResult::~UpdateUserResult() +ActivateApServiceResult::~ActivateApServiceResult() {} -void UpdateUserResult::parse(const std::string &payload) +void ActivateApServiceResult::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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } -std::string UpdateUserResult::getMessage()const +std::string ActivateApServiceResult::getMessage()const { return message_; } -std::string UpdateUserResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string UpdateUserResult::getErrorCode()const +std::string ActivateApServiceResult::getErrorCode()const { return errorCode_; } -std::string UpdateUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UpdateUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string UpdateUserResult::getCode()const -{ - return code_; -} - -bool UpdateUserResult::getSuccess()const +bool ActivateApServiceResult::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/AddApDeviceRequest.cc b/cloudesl/src/model/AddApDeviceRequest.cc deleted file mode 100644 index de664b652..000000000 --- a/cloudesl/src/model/AddApDeviceRequest.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::AddApDeviceRequest; - -AddApDeviceRequest::AddApDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AddApDevice") -{ - setMethod(HttpRequest::Method::Post); -} - -AddApDeviceRequest::~AddApDeviceRequest() -{} - -std::string AddApDeviceRequest::getExtraParams()const -{ - return extraParams_; -} - -void AddApDeviceRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AddApDeviceRequest::getClientToken()const -{ - return clientToken_; -} - -void AddApDeviceRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setBodyParameter("ClientToken", clientToken); -} - -std::string AddApDeviceRequest::getRemark()const -{ - return remark_; -} - -void AddApDeviceRequest::setRemark(const std::string& remark) -{ - remark_ = remark; - setBodyParameter("Remark", remark); -} - -std::string AddApDeviceRequest::getApMac()const -{ - return apMac_; -} - -void AddApDeviceRequest::setApMac(const std::string& apMac) -{ - apMac_ = apMac; - setBodyParameter("ApMac", apMac); -} - -std::string AddApDeviceRequest::getStoreId()const -{ - return storeId_; -} - -void AddApDeviceRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - diff --git a/cloudesl/src/model/AddApDeviceResult.cc b/cloudesl/src/model/AddApDeviceResult.cc deleted file mode 100644 index ec78bc45c..000000000 --- a/cloudesl/src/model/AddApDeviceResult.cc +++ /dev/null @@ -1,93 +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; - -AddApDeviceResult::AddApDeviceResult() : - ServiceResult() -{} - -AddApDeviceResult::AddApDeviceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddApDeviceResult::~AddApDeviceResult() -{} - -void AddApDeviceResult::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["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"; - -} - -std::string AddApDeviceResult::getMessage()const -{ - return message_; -} - -std::string AddApDeviceResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AddApDeviceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AddApDeviceResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AddApDeviceResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AddApDeviceResult::getCode()const -{ - return code_; -} - -bool AddApDeviceResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/AddPlanogramShelfRequest.cc b/cloudesl/src/model/AddPlanogramShelfRequest.cc deleted file mode 100644 index aa442fb51..000000000 --- a/cloudesl/src/model/AddPlanogramShelfRequest.cc +++ /dev/null @@ -1,106 +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::AddPlanogramShelfRequest; - -AddPlanogramShelfRequest::AddPlanogramShelfRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AddPlanogramShelf") -{ - setMethod(HttpRequest::Method::Post); -} - -AddPlanogramShelfRequest::~AddPlanogramShelfRequest() -{} - -std::string AddPlanogramShelfRequest::getExtraParams()const -{ - return extraParams_; -} - -void AddPlanogramShelfRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AddPlanogramShelfRequest::getClientToken()const -{ - return clientToken_; -} - -void AddPlanogramShelfRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setBodyParameter("ClientToken", clientToken); -} - -std::string AddPlanogramShelfRequest::getShelfType()const -{ - return shelfType_; -} - -void AddPlanogramShelfRequest::setShelfType(const std::string& shelfType) -{ - shelfType_ = shelfType; - setBodyParameter("ShelfType", shelfType); -} - -std::string AddPlanogramShelfRequest::getStoreId()const -{ - return storeId_; -} - -void AddPlanogramShelfRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string AddPlanogramShelfRequest::getZone()const -{ - return zone_; -} - -void AddPlanogramShelfRequest::setZone(const std::string& zone) -{ - zone_ = zone; - setBodyParameter("Zone", zone); -} - -std::string AddPlanogramShelfRequest::getShelf()const -{ - return shelf_; -} - -void AddPlanogramShelfRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - -std::string AddPlanogramShelfRequest::getCategory()const -{ - return category_; -} - -void AddPlanogramShelfRequest::setCategory(const std::string& category) -{ - category_ = category; - setBodyParameter("Category", category); -} - diff --git a/cloudesl/src/model/AddPlanogramShelfResult.cc b/cloudesl/src/model/AddPlanogramShelfResult.cc deleted file mode 100644 index d0b04eaa5..000000000 --- a/cloudesl/src/model/AddPlanogramShelfResult.cc +++ /dev/null @@ -1,93 +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; - -AddPlanogramShelfResult::AddPlanogramShelfResult() : - ServiceResult() -{} - -AddPlanogramShelfResult::AddPlanogramShelfResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddPlanogramShelfResult::~AddPlanogramShelfResult() -{} - -void AddPlanogramShelfResult::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["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"; - -} - -std::string AddPlanogramShelfResult::getMessage()const -{ - return message_; -} - -std::string AddPlanogramShelfResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AddPlanogramShelfResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AddPlanogramShelfResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AddPlanogramShelfResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AddPlanogramShelfResult::getCode()const -{ - return code_; -} - -bool AddPlanogramShelfResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/AddRoleActionsRequest.cc b/cloudesl/src/model/AddRoleActionsRequest.cc deleted file mode 100644 index 5c6125811..000000000 --- a/cloudesl/src/model/AddRoleActionsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::AddRoleActionsRequest; - -AddRoleActionsRequest::AddRoleActionsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AddRoleActions") -{ - setMethod(HttpRequest::Method::Post); -} - -AddRoleActionsRequest::~AddRoleActionsRequest() -{} - -std::string AddRoleActionsRequest::getRoleCode()const -{ - return roleCode_; -} - -void AddRoleActionsRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setBodyParameter("RoleCode", roleCode); -} - -std::string AddRoleActionsRequest::getExtraParams()const -{ - return extraParams_; -} - -void AddRoleActionsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AddRoleActionsRequest::getClientToken()const -{ - return clientToken_; -} - -void AddRoleActionsRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setBodyParameter("ClientToken", clientToken); -} - -std::string AddRoleActionsRequest::getAccessControlLists()const -{ - return accessControlLists_; -} - -void AddRoleActionsRequest::setAccessControlLists(const std::string& accessControlLists) -{ - accessControlLists_ = accessControlLists; - setBodyParameter("AccessControlLists", accessControlLists); -} - diff --git a/cloudesl/src/model/AddRoleActionsResult.cc b/cloudesl/src/model/AddRoleActionsResult.cc deleted file mode 100644 index 35b681b9e..000000000 --- a/cloudesl/src/model/AddRoleActionsResult.cc +++ /dev/null @@ -1,93 +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; - -AddRoleActionsResult::AddRoleActionsResult() : - ServiceResult() -{} - -AddRoleActionsResult::AddRoleActionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddRoleActionsResult::~AddRoleActionsResult() -{} - -void AddRoleActionsResult::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["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"; - -} - -std::string AddRoleActionsResult::getMessage()const -{ - return message_; -} - -std::string AddRoleActionsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AddRoleActionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AddRoleActionsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AddRoleActionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AddRoleActionsResult::getCode()const -{ - return code_; -} - -bool AddRoleActionsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/AddUserRequest.cc b/cloudesl/src/model/AddUserRequest.cc deleted file mode 100644 index bf9bc7d42..000000000 --- a/cloudesl/src/model/AddUserRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::AddUserRequest; - -AddUserRequest::AddUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AddUser") -{ - setMethod(HttpRequest::Method::Post); -} - -AddUserRequest::~AddUserRequest() -{} - -std::string AddUserRequest::getExtraParams()const -{ - return extraParams_; -} - -void AddUserRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AddUserRequest::getClientToken()const -{ - return clientToken_; -} - -void AddUserRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setBodyParameter("ClientToken", clientToken); -} - -std::string AddUserRequest::getUserId()const -{ - return userId_; -} - -void AddUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - diff --git a/cloudesl/src/model/AssignUserRequest.cc b/cloudesl/src/model/AssignUserRequest.cc deleted file mode 100644 index b09ea5d9e..000000000 --- a/cloudesl/src/model/AssignUserRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::AssignUserRequest; - -AssignUserRequest::AssignUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AssignUser") -{ - setMethod(HttpRequest::Method::Post); -} - -AssignUserRequest::~AssignUserRequest() -{} - -std::string AssignUserRequest::getExtraParams()const -{ - return extraParams_; -} - -void AssignUserRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AssignUserRequest::getStores()const -{ - return stores_; -} - -void AssignUserRequest::setStores(const std::string& stores) -{ - stores_ = stores; - setBodyParameter("Stores", stores); -} - -std::string AssignUserRequest::getUserType()const -{ - return userType_; -} - -void AssignUserRequest::setUserType(const std::string& userType) -{ - userType_ = userType; - setBodyParameter("UserType", userType); -} - -std::string AssignUserRequest::getUserId()const -{ - return userId_; -} - -void AssignUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - diff --git a/cloudesl/src/model/AssociatePlanogramRailRequest.cc b/cloudesl/src/model/AssociatePlanogramRailRequest.cc deleted file mode 100644 index 7bcfefd2c..000000000 --- a/cloudesl/src/model/AssociatePlanogramRailRequest.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::AssociatePlanogramRailRequest; - -AssociatePlanogramRailRequest::AssociatePlanogramRailRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "AssociatePlanogramRail") -{ - setMethod(HttpRequest::Method::Post); -} - -AssociatePlanogramRailRequest::~AssociatePlanogramRailRequest() -{} - -std::string AssociatePlanogramRailRequest::getExtraParams()const -{ - return extraParams_; -} - -void AssociatePlanogramRailRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string AssociatePlanogramRailRequest::getStoreId()const -{ - return storeId_; -} - -void AssociatePlanogramRailRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int AssociatePlanogramRailRequest::getLayer()const -{ - return layer_; -} - -void AssociatePlanogramRailRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); -} - -std::string AssociatePlanogramRailRequest::getShelf()const -{ - return shelf_; -} - -void AssociatePlanogramRailRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - -std::string AssociatePlanogramRailRequest::getRailCode()const -{ - return railCode_; -} - -void AssociatePlanogramRailRequest::setRailCode(const std::string& railCode) -{ - railCode_ = railCode; - setBodyParameter("RailCode", railCode); -} - diff --git a/cloudesl/src/model/AssociatePlanogramRailResult.cc b/cloudesl/src/model/AssociatePlanogramRailResult.cc deleted file mode 100644 index 609c7a787..000000000 --- a/cloudesl/src/model/AssociatePlanogramRailResult.cc +++ /dev/null @@ -1,93 +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; - -AssociatePlanogramRailResult::AssociatePlanogramRailResult() : - ServiceResult() -{} - -AssociatePlanogramRailResult::AssociatePlanogramRailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AssociatePlanogramRailResult::~AssociatePlanogramRailResult() -{} - -void AssociatePlanogramRailResult::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["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"; - -} - -std::string AssociatePlanogramRailResult::getMessage()const -{ - return message_; -} - -std::string AssociatePlanogramRailResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AssociatePlanogramRailResult::getErrorCode()const -{ - return errorCode_; -} - -std::string AssociatePlanogramRailResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AssociatePlanogramRailResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AssociatePlanogramRailResult::getCode()const -{ - return code_; -} - -bool AssociatePlanogramRailResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/BatchInsertItemsRequest.cc b/cloudesl/src/model/BatchInsertItemsRequest.cc index da9d6b89b..e20adaae7 100644 --- a/cloudesl/src/model/BatchInsertItemsRequest.cc +++ b/cloudesl/src/model/BatchInsertItemsRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::BatchInsertItemsRequest; BatchInsertItemsRequest::BatchInsertItemsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "BatchInsertItems") + RpcServiceRequest("cloudesl", "2018-08-01", "BatchInsertItems") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ BatchInsertItemsRequest::BatchInsertItemsRequest() : BatchInsertItemsRequest::~BatchInsertItemsRequest() {} -std::string BatchInsertItemsRequest::getExtraParams()const -{ - return extraParams_; -} - -void BatchInsertItemsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string BatchInsertItemsRequest::getStoreId()const { return storeId_; @@ -46,7 +35,7 @@ std::string BatchInsertItemsRequest::getStoreId()const void BatchInsertItemsRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); + setParameter("StoreId", storeId); } std::vector BatchInsertItemsRequest::getItemInfo()const @@ -62,54 +51,45 @@ void BatchInsertItemsRequest::setItemInfo(const std::vector& itemInfo) std::string itemInfoObjStr = "ItemInfo." + std::to_string(dep1 + 1); setParameter(itemInfoObjStr + ".MemberPrice", std::to_string(itemInfoObj.memberPrice)); setParameter(itemInfoObjStr + ".ActionPrice", std::to_string(itemInfoObj.actionPrice)); + setParameter(itemInfoObjStr + ".ProductionPlace", itemInfoObj.productionPlace); setParameter(itemInfoObjStr + ".BeSourceCode", itemInfoObj.beSourceCode ? "true" : "false"); + setParameter(itemInfoObjStr + ".StoreId", itemInfoObj.storeId); setParameter(itemInfoObjStr + ".BrandName", itemInfoObj.brandName); setParameter(itemInfoObjStr + ".PromotionStart", itemInfoObj.promotionStart); + setParameter(itemInfoObjStr + ".SourceCode", itemInfoObj.sourceCode); + setParameter(itemInfoObjStr + ".ItemId", std::to_string(itemInfoObj.itemId)); + setParameter(itemInfoObjStr + ".ExtraAttribute", itemInfoObj.extraAttribute); + setParameter(itemInfoObjStr + ".CompanyId", itemInfoObj.companyId); setParameter(itemInfoObjStr + ".PriceUnit", itemInfoObj.priceUnit); setParameter(itemInfoObjStr + ".Rank", itemInfoObj.rank); - setParameter(itemInfoObjStr + ".ItemInfoIndex", std::to_string(itemInfoObj.itemInfoIndex)); setParameter(itemInfoObjStr + ".ItemBarCode", itemInfoObj.itemBarCode); - 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 + ".CustomizeFeatureO", itemInfoObj.customizeFeatureO); setParameter(itemInfoObjStr + ".PromotionEnd", itemInfoObj.promotionEnd); setParameter(itemInfoObjStr + ".ItemTitle", itemInfoObj.itemTitle); + setParameter(itemInfoObjStr + ".OriginalPrice", std::to_string(itemInfoObj.originalPrice)); + setParameter(itemInfoObjStr + ".ItemShortTitle", itemInfoObj.itemShortTitle); 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 + ".CustomizeFeatureD", itemInfoObj.customizeFeatureD); setParameter(itemInfoObjStr + ".PromotionReason", itemInfoObj.promotionReason); + setParameter(itemInfoObjStr + ".CustomizeFeatureE", itemInfoObj.customizeFeatureE); setParameter(itemInfoObjStr + ".CustomizeFeatureF", itemInfoObj.customizeFeatureF); + setParameter(itemInfoObjStr + ".ForestSecondId", itemInfoObj.forestSecondId); setParameter(itemInfoObjStr + ".CustomizeFeatureG", itemInfoObj.customizeFeatureG); setParameter(itemInfoObjStr + ".CustomizeFeatureH", itemInfoObj.customizeFeatureH); setParameter(itemInfoObjStr + ".CustomizeFeatureI", itemInfoObj.customizeFeatureI); setParameter(itemInfoObjStr + ".CustomizeFeatureJ", itemInfoObj.customizeFeatureJ); + setParameter(itemInfoObjStr + ".OptionGroups", itemInfoObj.optionGroups); + setParameter(itemInfoObjStr + ".ModelNumber", itemInfoObj.modelNumber); + setParameter(itemInfoObjStr + ".SaleSpec", itemInfoObj.saleSpec); setParameter(itemInfoObjStr + ".CustomizeFeatureA", itemInfoObj.customizeFeatureA); setParameter(itemInfoObjStr + ".CustomizeFeatureB", itemInfoObj.customizeFeatureB); 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 + ".ItemId", itemInfoObj.itemId); - 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 + ".SupplierName", itemInfoObj.supplierName); - setParameter(itemInfoObjStr + ".Material", itemInfoObj.material); - setParameter(itemInfoObjStr + ".ModelNumber", itemInfoObj.modelNumber); - setParameter(itemInfoObjStr + ".SaleSpec", itemInfoObj.saleSpec); setParameter(itemInfoObjStr + ".CategoryName", itemInfoObj.categoryName); - setParameter(itemInfoObjStr + ".TaxFee", itemInfoObj.taxFee); setParameter(itemInfoObjStr + ".EnergyEfficiency", itemInfoObj.energyEfficiency); - setParameter(itemInfoObjStr + ".PromotionText", itemInfoObj.promotionText); setParameter(itemInfoObjStr + ".SkuId", itemInfoObj.skuId); + setParameter(itemInfoObjStr + ".PromotionText", itemInfoObj.promotionText); } } diff --git a/cloudesl/src/model/BatchInsertItemsResult.cc b/cloudesl/src/model/BatchInsertItemsResult.cc index fc807ff14..692e60ae4 100644 --- a/cloudesl/src/model/BatchInsertItemsResult.cc +++ b/cloudesl/src/model/BatchInsertItemsResult.cc @@ -43,30 +43,22 @@ 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["Success"].isNull()) batchResultsObject.success = valueBatchResultsBatchResult["Success"].asString() == "true"; + if(!valueBatchResultsBatchResult["Message"].isNull()) + batchResultsObject.message = valueBatchResultsBatchResult["Message"].asString(); + 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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } @@ -75,36 +67,16 @@ std::string BatchInsertItemsResult::getMessage()const return message_; } -std::string BatchInsertItemsResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string BatchInsertItemsResult::getErrorCode()const { return errorCode_; } -std::string BatchInsertItemsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - std::vector BatchInsertItemsResult::getBatchResults()const { return batchResults_; } -std::string BatchInsertItemsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string BatchInsertItemsResult::getCode()const -{ - return code_; -} - bool BatchInsertItemsResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/BindApStoreServiceRequest.cc b/cloudesl/src/model/BindApStoreServiceRequest.cc new file mode 100644 index 000000000..2d683fa2f --- /dev/null +++ b/cloudesl/src/model/BindApStoreServiceRequest.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::BindApStoreServiceRequest; + +BindApStoreServiceRequest::BindApStoreServiceRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "BindApStoreService") +{ + setMethod(HttpRequest::Method::Post); +} + +BindApStoreServiceRequest::~BindApStoreServiceRequest() +{} + +std::string BindApStoreServiceRequest::getApMac()const +{ + return apMac_; +} + +void BindApStoreServiceRequest::setApMac(const std::string& apMac) +{ + apMac_ = apMac; + setParameter("ApMac", apMac); +} + +std::string BindApStoreServiceRequest::getStoreId()const +{ + return storeId_; +} + +void BindApStoreServiceRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + diff --git a/cloudesl/src/model/BindApStoreServiceResult.cc b/cloudesl/src/model/BindApStoreServiceResult.cc new file mode 100644 index 000000000..e60a5f7dc --- /dev/null +++ b/cloudesl/src/model/BindApStoreServiceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +BindApStoreServiceResult::BindApStoreServiceResult() : + ServiceResult() +{} + +BindApStoreServiceResult::BindApStoreServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindApStoreServiceResult::~BindApStoreServiceResult() +{} + +void BindApStoreServiceResult::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(); + +} + +std::string BindApStoreServiceResult::getMessage()const +{ + return message_; +} + +std::string BindApStoreServiceResult::getErrorCode()const +{ + return errorCode_; +} + +bool BindApStoreServiceResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/BindEslDeviceRequest.cc b/cloudesl/src/model/BindEslDeviceRequest.cc index d0d1da98a..f99bc57c2 100644 --- a/cloudesl/src/model/BindEslDeviceRequest.cc +++ b/cloudesl/src/model/BindEslDeviceRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::BindEslDeviceRequest; BindEslDeviceRequest::BindEslDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "BindEslDevice") + RpcServiceRequest("cloudesl", "2018-08-01", "BindEslDevice") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ BindEslDeviceRequest::BindEslDeviceRequest() : BindEslDeviceRequest::~BindEslDeviceRequest() {} -std::string BindEslDeviceRequest::getExtraParams()const -{ - return extraParams_; -} - -void BindEslDeviceRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string BindEslDeviceRequest::getStoreId()const { return storeId_; @@ -46,18 +35,7 @@ std::string BindEslDeviceRequest::getStoreId()const void BindEslDeviceRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int BindEslDeviceRequest::getLayer()const -{ - return layer_; -} - -void BindEslDeviceRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); + setParameter("StoreId", storeId); } std::string BindEslDeviceRequest::getEslBarCode()const @@ -68,7 +46,7 @@ std::string BindEslDeviceRequest::getEslBarCode()const void BindEslDeviceRequest::setEslBarCode(const std::string& eslBarCode) { eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); + setParameter("EslBarCode", eslBarCode); } std::string BindEslDeviceRequest::getItemBarCode()const @@ -79,28 +57,6 @@ std::string BindEslDeviceRequest::getItemBarCode()const void BindEslDeviceRequest::setItemBarCode(const std::string& itemBarCode) { itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); -} - -std::string BindEslDeviceRequest::getColumn()const -{ - return column_; -} - -void BindEslDeviceRequest::setColumn(const std::string& column) -{ - column_ = column; - setBodyParameter("Column", column); -} - -std::string BindEslDeviceRequest::getShelf()const -{ - return shelf_; -} - -void BindEslDeviceRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); + setParameter("ItemBarCode", itemBarCode); } diff --git a/cloudesl/src/model/BindEslDeviceResult.cc b/cloudesl/src/model/BindEslDeviceResult.cc index dbc9807eb..92b4b6fa7 100644 --- a/cloudesl/src/model/BindEslDeviceResult.cc +++ b/cloudesl/src/model/BindEslDeviceResult.cc @@ -39,20 +39,12 @@ void BindEslDeviceResult::parse(const std::string &payload) 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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } @@ -61,31 +53,11 @@ std::string BindEslDeviceResult::getMessage()const return message_; } -std::string BindEslDeviceResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string BindEslDeviceResult::getErrorCode()const { return errorCode_; } -std::string BindEslDeviceResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string BindEslDeviceResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string BindEslDeviceResult::getCode()const -{ - return code_; -} - bool BindEslDeviceResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/BindEslDeviceShelfRequest.cc b/cloudesl/src/model/BindEslDeviceShelfRequest.cc new file mode 100644 index 000000000..ae19dfb10 --- /dev/null +++ b/cloudesl/src/model/BindEslDeviceShelfRequest.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::BindEslDeviceShelfRequest; + +BindEslDeviceShelfRequest::BindEslDeviceShelfRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "BindEslDeviceShelf") +{ + setMethod(HttpRequest::Method::Post); +} + +BindEslDeviceShelfRequest::~BindEslDeviceShelfRequest() +{} + +std::string BindEslDeviceShelfRequest::getStoreId()const +{ + return storeId_; +} + +void BindEslDeviceShelfRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +std::string BindEslDeviceShelfRequest::getShelfCode()const +{ + return shelfCode_; +} + +void BindEslDeviceShelfRequest::setShelfCode(const std::string& shelfCode) +{ + shelfCode_ = shelfCode; + setParameter("ShelfCode", shelfCode); +} + +std::string BindEslDeviceShelfRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void BindEslDeviceShelfRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setParameter("EslBarCode", eslBarCode); +} + diff --git a/cloudesl/src/model/BindEslDeviceShelfResult.cc b/cloudesl/src/model/BindEslDeviceShelfResult.cc new file mode 100644 index 000000000..daa576e0e --- /dev/null +++ b/cloudesl/src/model/BindEslDeviceShelfResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +BindEslDeviceShelfResult::BindEslDeviceShelfResult() : + ServiceResult() +{} + +BindEslDeviceShelfResult::BindEslDeviceShelfResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindEslDeviceShelfResult::~BindEslDeviceShelfResult() +{} + +void BindEslDeviceShelfResult::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(); + +} + +std::string BindEslDeviceShelfResult::getMessage()const +{ + return message_; +} + +std::string BindEslDeviceShelfResult::getErrorCode()const +{ + return errorCode_; +} + +bool BindEslDeviceShelfResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/ComposePlanogramPositionsRequest.cc b/cloudesl/src/model/ComposePlanogramPositionsRequest.cc deleted file mode 100644 index 4e15ddbe2..000000000 --- a/cloudesl/src/model/ComposePlanogramPositionsRequest.cc +++ /dev/null @@ -1,126 +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::ComposePlanogramPositionsRequest; - -ComposePlanogramPositionsRequest::ComposePlanogramPositionsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "ComposePlanogramPositions") -{ - setMethod(HttpRequest::Method::Post); -} - -ComposePlanogramPositionsRequest::~ComposePlanogramPositionsRequest() -{} - -std::string ComposePlanogramPositionsRequest::getActionType()const -{ - return actionType_; -} - -void ComposePlanogramPositionsRequest::setActionType(const std::string& actionType) -{ - actionType_ = actionType; - setBodyParameter("ActionType", actionType); -} - -std::string ComposePlanogramPositionsRequest::getExtraParams()const -{ - return extraParams_; -} - -void ComposePlanogramPositionsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string ComposePlanogramPositionsRequest::getStoreId()const -{ - return storeId_; -} - -void ComposePlanogramPositionsRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int ComposePlanogramPositionsRequest::getLayer()const -{ - return layer_; -} - -void ComposePlanogramPositionsRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); -} - -std::string ComposePlanogramPositionsRequest::getLayerOrigin()const -{ - return layerOrigin_; -} - -void ComposePlanogramPositionsRequest::setLayerOrigin(const std::string& layerOrigin) -{ - layerOrigin_ = layerOrigin; - setBodyParameter("LayerOrigin", layerOrigin); -} - -bool ComposePlanogramPositionsRequest::getBeAutoRefresh()const -{ - return beAutoRefresh_; -} - -void ComposePlanogramPositionsRequest::setBeAutoRefresh(bool beAutoRefresh) -{ - beAutoRefresh_ = beAutoRefresh; - setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false"); -} - -std::string ComposePlanogramPositionsRequest::getShelf()const -{ - return shelf_; -} - -void ComposePlanogramPositionsRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - -std::vector ComposePlanogramPositionsRequest::getShelfPositionInfo()const -{ - return shelfPositionInfo_; -} - -void ComposePlanogramPositionsRequest::setShelfPositionInfo(const std::vector& shelfPositionInfo) -{ - shelfPositionInfo_ = shelfPositionInfo; - for(int dep1 = 0; dep1!= shelfPositionInfo.size(); dep1++) { - auto shelfPositionInfoObj = shelfPositionInfo.at(dep1); - std::string shelfPositionInfoObjStr = "ShelfPositionInfo." + std::to_string(dep1 + 1); - setParameter(shelfPositionInfoObjStr + ".OffsetFrom", std::to_string(shelfPositionInfoObj.offsetFrom)); - setParameter(shelfPositionInfoObjStr + ".Depth", std::to_string(shelfPositionInfoObj.depth)); - setParameter(shelfPositionInfoObjStr + ".Column", shelfPositionInfoObj.column); - setParameter(shelfPositionInfoObjStr + ".Facing", std::to_string(shelfPositionInfoObj.facing)); - setParameter(shelfPositionInfoObjStr + ".OffsetTo", std::to_string(shelfPositionInfoObj.offsetTo)); - setParameter(shelfPositionInfoObjStr + ".ItemBarCode", shelfPositionInfoObj.itemBarCode); - } -} - diff --git a/cloudesl/src/model/ComposePlanogramPositionsResult.cc b/cloudesl/src/model/ComposePlanogramPositionsResult.cc deleted file mode 100644 index b705336f2..000000000 --- a/cloudesl/src/model/ComposePlanogramPositionsResult.cc +++ /dev/null @@ -1,93 +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; - -ComposePlanogramPositionsResult::ComposePlanogramPositionsResult() : - ServiceResult() -{} - -ComposePlanogramPositionsResult::ComposePlanogramPositionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ComposePlanogramPositionsResult::~ComposePlanogramPositionsResult() -{} - -void ComposePlanogramPositionsResult::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["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"; - -} - -std::string ComposePlanogramPositionsResult::getMessage()const -{ - return message_; -} - -std::string ComposePlanogramPositionsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string ComposePlanogramPositionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ComposePlanogramPositionsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string ComposePlanogramPositionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string ComposePlanogramPositionsResult::getCode()const -{ - return code_; -} - -bool ComposePlanogramPositionsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/CreateStoreRequest.cc b/cloudesl/src/model/CreateStoreRequest.cc index ccdb09055..ad5198e94 100644 --- a/cloudesl/src/model/CreateStoreRequest.cc +++ b/cloudesl/src/model/CreateStoreRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::CreateStoreRequest; CreateStoreRequest::CreateStoreRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "CreateStore") + RpcServiceRequest("cloudesl", "2018-08-01", "CreateStore") { setMethod(HttpRequest::Method::Post); } @@ -27,28 +27,6 @@ CreateStoreRequest::CreateStoreRequest() : CreateStoreRequest::~CreateStoreRequest() {} -std::string CreateStoreRequest::getExtraParams()const -{ - return extraParams_; -} - -void CreateStoreRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string CreateStoreRequest::getClientToken()const -{ - return clientToken_; -} - -void CreateStoreRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setBodyParameter("ClientToken", clientToken); -} - std::string CreateStoreRequest::getStoreName()const { return storeName_; @@ -57,7 +35,7 @@ std::string CreateStoreRequest::getStoreName()const void CreateStoreRequest::setStoreName(const std::string& storeName) { storeName_ = storeName; - setBodyParameter("StoreName", storeName); + setParameter("StoreName", storeName); } std::string CreateStoreRequest::getParentId()const @@ -68,18 +46,51 @@ std::string CreateStoreRequest::getParentId()const void CreateStoreRequest::setParentId(const std::string& parentId) { parentId_ = parentId; - setBodyParameter("ParentId", parentId); + setParameter("ParentId", parentId); } -std::string CreateStoreRequest::getUserStoreCode()const +std::string CreateStoreRequest::getCompanyId()const { - return userStoreCode_; + return companyId_; } -void CreateStoreRequest::setUserStoreCode(const std::string& userStoreCode) +void CreateStoreRequest::setCompanyId(const std::string& companyId) { - userStoreCode_ = userStoreCode; - setBodyParameter("UserStoreCode", userStoreCode); + companyId_ = companyId; + setParameter("CompanyId", companyId); +} + +std::string CreateStoreRequest::getBrand()const +{ + return brand_; +} + +void CreateStoreRequest::setBrand(const std::string& brand) +{ + brand_ = brand; + setParameter("Brand", brand); +} + +std::string CreateStoreRequest::getComments()const +{ + return comments_; +} + +void CreateStoreRequest::setComments(const std::string& comments) +{ + comments_ = comments; + setParameter("Comments", comments); +} + +std::string CreateStoreRequest::getGroups()const +{ + return groups_; +} + +void CreateStoreRequest::setGroups(const std::string& groups) +{ + groups_ = groups; + setParameter("Groups", groups); } std::string CreateStoreRequest::getPhone()const @@ -90,6 +101,17 @@ std::string CreateStoreRequest::getPhone()const void CreateStoreRequest::setPhone(const std::string& phone) { phone_ = phone; - setBodyParameter("Phone", phone); + setParameter("Phone", phone); +} + +std::string CreateStoreRequest::getOutId()const +{ + return outId_; +} + +void CreateStoreRequest::setOutId(const std::string& outId) +{ + outId_ = outId; + setParameter("OutId", outId); } diff --git a/cloudesl/src/model/CreateStoreResult.cc b/cloudesl/src/model/CreateStoreResult.cc index cde44bcdf..3e5ffbb4a 100644 --- a/cloudesl/src/model/CreateStoreResult.cc +++ b/cloudesl/src/model/CreateStoreResult.cc @@ -39,22 +39,14 @@ void CreateStoreResult::parse(const std::string &payload) 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["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["StoreId"].isNull()) - storeId_ = value["StoreId"].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["StoreId"].isNull()) + storeId_ = value["StoreId"].asString(); } @@ -68,31 +60,11 @@ std::string CreateStoreResult::getStoreId()const return storeId_; } -std::string CreateStoreResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string CreateStoreResult::getErrorCode()const { return errorCode_; } -std::string CreateStoreResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string CreateStoreResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string CreateStoreResult::getCode()const -{ - return code_; -} - bool CreateStoreResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DeleteApDeviceRequest.cc b/cloudesl/src/model/DeleteApDeviceRequest.cc deleted file mode 100644 index f74500475..000000000 --- a/cloudesl/src/model/DeleteApDeviceRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DeleteApDeviceRequest; - -DeleteApDeviceRequest::DeleteApDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DeleteApDevice") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteApDeviceRequest::~DeleteApDeviceRequest() -{} - -std::string DeleteApDeviceRequest::getExtraParams()const -{ - return extraParams_; -} - -void DeleteApDeviceRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DeleteApDeviceRequest::getApMac()const -{ - return apMac_; -} - -void DeleteApDeviceRequest::setApMac(const std::string& apMac) -{ - apMac_ = apMac; - setBodyParameter("ApMac", apMac); -} - -std::string DeleteApDeviceRequest::getStoreId()const -{ - return storeId_; -} - -void DeleteApDeviceRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - diff --git a/cloudesl/src/model/DeleteApDeviceResult.cc b/cloudesl/src/model/DeleteApDeviceResult.cc deleted file mode 100644 index 57465a865..000000000 --- a/cloudesl/src/model/DeleteApDeviceResult.cc +++ /dev/null @@ -1,93 +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; - -DeleteApDeviceResult::DeleteApDeviceResult() : - ServiceResult() -{} - -DeleteApDeviceResult::DeleteApDeviceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteApDeviceResult::~DeleteApDeviceResult() -{} - -void DeleteApDeviceResult::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["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"; - -} - -std::string DeleteApDeviceResult::getMessage()const -{ - return message_; -} - -std::string DeleteApDeviceResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DeleteApDeviceResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteApDeviceResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DeleteApDeviceResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DeleteApDeviceResult::getCode()const -{ - return code_; -} - -bool DeleteApDeviceResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DeleteUserRequest.cc b/cloudesl/src/model/DeleteApServiceRequest.cc similarity index 50% rename from cloudesl/src/model/DeleteUserRequest.cc rename to cloudesl/src/model/DeleteApServiceRequest.cc index 138e47dcc..8f73393cb 100644 --- a/cloudesl/src/model/DeleteUserRequest.cc +++ b/cloudesl/src/model/DeleteApServiceRequest.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Cloudesl::Model::DeleteUserRequest; +using AlibabaCloud::Cloudesl::Model::DeleteApServiceRequest; -DeleteUserRequest::DeleteUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DeleteUser") +DeleteApServiceRequest::DeleteApServiceRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DeleteApService") { setMethod(HttpRequest::Method::Post); } -DeleteUserRequest::~DeleteUserRequest() +DeleteApServiceRequest::~DeleteApServiceRequest() {} -std::string DeleteUserRequest::getExtraParams()const +std::string DeleteApServiceRequest::getApMac()const { - return extraParams_; + return apMac_; } -void DeleteUserRequest::setExtraParams(const std::string& extraParams) +void DeleteApServiceRequest::setApMac(const std::string& apMac) { - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); + apMac_ = apMac; + setParameter("ApMac", apMac); } -std::string DeleteUserRequest::getUserId()const +std::string DeleteApServiceRequest::getStoreId()const { - return userId_; + return storeId_; } -void DeleteUserRequest::setUserId(const std::string& userId) +void DeleteApServiceRequest::setStoreId(const std::string& storeId) { - userId_ = userId; - setBodyParameter("UserId", userId); + storeId_ = storeId; + setParameter("StoreId", storeId); } diff --git a/cloudesl/src/model/DeleteApServiceResult.cc b/cloudesl/src/model/DeleteApServiceResult.cc new file mode 100644 index 000000000..099368ad0 --- /dev/null +++ b/cloudesl/src/model/DeleteApServiceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteApServiceResult::DeleteApServiceResult() : + ServiceResult() +{} + +DeleteApServiceResult::DeleteApServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteApServiceResult::~DeleteApServiceResult() +{} + +void DeleteApServiceResult::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(); + +} + +std::string DeleteApServiceResult::getMessage()const +{ + return message_; +} + +std::string DeleteApServiceResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteApServiceResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeleteEslDeviceRequest.cc b/cloudesl/src/model/DeleteEslDeviceRequest.cc new file mode 100644 index 000000000..e80433a72 --- /dev/null +++ b/cloudesl/src/model/DeleteEslDeviceRequest.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::DeleteEslDeviceRequest; + +DeleteEslDeviceRequest::DeleteEslDeviceRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DeleteEslDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteEslDeviceRequest::~DeleteEslDeviceRequest() +{} + +std::string DeleteEslDeviceRequest::getStoreId()const +{ + return storeId_; +} + +void DeleteEslDeviceRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +std::string DeleteEslDeviceRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void DeleteEslDeviceRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setParameter("EslBarCode", eslBarCode); +} + diff --git a/cloudesl/src/model/DeleteEslDeviceResult.cc b/cloudesl/src/model/DeleteEslDeviceResult.cc new file mode 100644 index 000000000..b3643cc6a --- /dev/null +++ b/cloudesl/src/model/DeleteEslDeviceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteEslDeviceResult::DeleteEslDeviceResult() : + ServiceResult() +{} + +DeleteEslDeviceResult::DeleteEslDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteEslDeviceResult::~DeleteEslDeviceResult() +{} + +void DeleteEslDeviceResult::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(); + +} + +std::string DeleteEslDeviceResult::getMessage()const +{ + return message_; +} + +std::string DeleteEslDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteEslDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeleteItemBySkuIdRequest.cc b/cloudesl/src/model/DeleteItemBySkuIdRequest.cc new file mode 100644 index 000000000..d69140058 --- /dev/null +++ b/cloudesl/src/model/DeleteItemBySkuIdRequest.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::DeleteItemBySkuIdRequest; + +DeleteItemBySkuIdRequest::DeleteItemBySkuIdRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DeleteItemBySkuId") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteItemBySkuIdRequest::~DeleteItemBySkuIdRequest() +{} + +std::string DeleteItemBySkuIdRequest::getStoreId()const +{ + return storeId_; +} + +void DeleteItemBySkuIdRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +std::string DeleteItemBySkuIdRequest::getSkuId()const +{ + return skuId_; +} + +void DeleteItemBySkuIdRequest::setSkuId(const std::string& skuId) +{ + skuId_ = skuId; + setParameter("SkuId", skuId); +} + diff --git a/cloudesl/src/model/DeleteItemBySkuIdResult.cc b/cloudesl/src/model/DeleteItemBySkuIdResult.cc new file mode 100644 index 000000000..0e2b631d0 --- /dev/null +++ b/cloudesl/src/model/DeleteItemBySkuIdResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteItemBySkuIdResult::DeleteItemBySkuIdResult() : + ServiceResult() +{} + +DeleteItemBySkuIdResult::DeleteItemBySkuIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteItemBySkuIdResult::~DeleteItemBySkuIdResult() +{} + +void DeleteItemBySkuIdResult::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(); + +} + +std::string DeleteItemBySkuIdResult::getMessage()const +{ + return message_; +} + +std::string DeleteItemBySkuIdResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteItemBySkuIdResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/GetUserRequest.cc b/cloudesl/src/model/DeleteItemRequest.cc similarity index 50% rename from cloudesl/src/model/GetUserRequest.cc rename to cloudesl/src/model/DeleteItemRequest.cc index acd0189a6..d74a7baa6 100644 --- a/cloudesl/src/model/GetUserRequest.cc +++ b/cloudesl/src/model/DeleteItemRequest.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Cloudesl::Model::GetUserRequest; +using AlibabaCloud::Cloudesl::Model::DeleteItemRequest; -GetUserRequest::GetUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "GetUser") +DeleteItemRequest::DeleteItemRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DeleteItem") { setMethod(HttpRequest::Method::Post); } -GetUserRequest::~GetUserRequest() +DeleteItemRequest::~DeleteItemRequest() {} -std::string GetUserRequest::getExtraParams()const +std::string DeleteItemRequest::getStoreId()const { - return extraParams_; + return storeId_; } -void GetUserRequest::setExtraParams(const std::string& extraParams) +void DeleteItemRequest::setStoreId(const std::string& storeId) { - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); + storeId_ = storeId; + setParameter("StoreId", storeId); } -std::string GetUserRequest::getUserId()const +std::string DeleteItemRequest::getItemBarCode()const { - return userId_; + return itemBarCode_; } -void GetUserRequest::setUserId(const std::string& userId) +void DeleteItemRequest::setItemBarCode(const std::string& itemBarCode) { - userId_ = userId; - setBodyParameter("UserId", userId); + itemBarCode_ = itemBarCode; + setParameter("ItemBarCode", itemBarCode); } diff --git a/cloudesl/src/model/DeleteItemResult.cc b/cloudesl/src/model/DeleteItemResult.cc new file mode 100644 index 000000000..7b644263c --- /dev/null +++ b/cloudesl/src/model/DeleteItemResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +DeleteItemResult::DeleteItemResult() : + ServiceResult() +{} + +DeleteItemResult::DeleteItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteItemResult::~DeleteItemResult() +{} + +void DeleteItemResult::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(); + +} + +std::string DeleteItemResult::getMessage()const +{ + return message_; +} + +std::string DeleteItemResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteItemResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DeletePlanogramShelfRequest.cc b/cloudesl/src/model/DeletePlanogramShelfRequest.cc deleted file mode 100644 index 99c1ab1b1..000000000 --- a/cloudesl/src/model/DeletePlanogramShelfRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DeletePlanogramShelfRequest; - -DeletePlanogramShelfRequest::DeletePlanogramShelfRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DeletePlanogramShelf") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePlanogramShelfRequest::~DeletePlanogramShelfRequest() -{} - -std::string DeletePlanogramShelfRequest::getExtraParams()const -{ - return extraParams_; -} - -void DeletePlanogramShelfRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -bool DeletePlanogramShelfRequest::getBeAutoRefresh()const -{ - return beAutoRefresh_; -} - -void DeletePlanogramShelfRequest::setBeAutoRefresh(bool beAutoRefresh) -{ - beAutoRefresh_ = beAutoRefresh; - setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false"); -} - -std::string DeletePlanogramShelfRequest::getStoreId()const -{ - return storeId_; -} - -void DeletePlanogramShelfRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string DeletePlanogramShelfRequest::getShelf()const -{ - return shelf_; -} - -void DeletePlanogramShelfRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - diff --git a/cloudesl/src/model/DeletePlanogramShelfResult.cc b/cloudesl/src/model/DeletePlanogramShelfResult.cc deleted file mode 100644 index 6efe80665..000000000 --- a/cloudesl/src/model/DeletePlanogramShelfResult.cc +++ /dev/null @@ -1,93 +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; - -DeletePlanogramShelfResult::DeletePlanogramShelfResult() : - ServiceResult() -{} - -DeletePlanogramShelfResult::DeletePlanogramShelfResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeletePlanogramShelfResult::~DeletePlanogramShelfResult() -{} - -void DeletePlanogramShelfResult::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["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"; - -} - -std::string DeletePlanogramShelfResult::getMessage()const -{ - return message_; -} - -std::string DeletePlanogramShelfResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DeletePlanogramShelfResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeletePlanogramShelfResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DeletePlanogramShelfResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DeletePlanogramShelfResult::getCode()const -{ - return code_; -} - -bool DeletePlanogramShelfResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DeleteRoleActionsRequest.cc b/cloudesl/src/model/DeleteRoleActionsRequest.cc deleted file mode 100644 index 0c7ae8332..000000000 --- a/cloudesl/src/model/DeleteRoleActionsRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DeleteRoleActionsRequest; - -DeleteRoleActionsRequest::DeleteRoleActionsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DeleteRoleActions") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoleActionsRequest::~DeleteRoleActionsRequest() -{} - -std::string DeleteRoleActionsRequest::getRoleCode()const -{ - return roleCode_; -} - -void DeleteRoleActionsRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setBodyParameter("RoleCode", roleCode); -} - -std::string DeleteRoleActionsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DeleteRoleActionsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DeleteRoleActionsRequest::getAccessControlLists()const -{ - return accessControlLists_; -} - -void DeleteRoleActionsRequest::setAccessControlLists(const std::string& accessControlLists) -{ - accessControlLists_ = accessControlLists; - setBodyParameter("AccessControlLists", accessControlLists); -} - diff --git a/cloudesl/src/model/DeleteRoleActionsResult.cc b/cloudesl/src/model/DeleteRoleActionsResult.cc deleted file mode 100644 index cd2673366..000000000 --- a/cloudesl/src/model/DeleteRoleActionsResult.cc +++ /dev/null @@ -1,93 +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; - -DeleteRoleActionsResult::DeleteRoleActionsResult() : - ServiceResult() -{} - -DeleteRoleActionsResult::DeleteRoleActionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteRoleActionsResult::~DeleteRoleActionsResult() -{} - -void DeleteRoleActionsResult::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["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"; - -} - -std::string DeleteRoleActionsResult::getMessage()const -{ - return message_; -} - -std::string DeleteRoleActionsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DeleteRoleActionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DeleteRoleActionsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DeleteRoleActionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DeleteRoleActionsResult::getCode()const -{ - return code_; -} - -bool DeleteRoleActionsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DeleteStoreRequest.cc b/cloudesl/src/model/DeleteStoreRequest.cc index 71ac360f3..8dc2bfedb 100644 --- a/cloudesl/src/model/DeleteStoreRequest.cc +++ b/cloudesl/src/model/DeleteStoreRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::DeleteStoreRequest; DeleteStoreRequest::DeleteStoreRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DeleteStore") + RpcServiceRequest("cloudesl", "2018-08-01", "DeleteStore") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ DeleteStoreRequest::DeleteStoreRequest() : DeleteStoreRequest::~DeleteStoreRequest() {} -std::string DeleteStoreRequest::getExtraParams()const -{ - return extraParams_; -} - -void DeleteStoreRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string DeleteStoreRequest::getStoreId()const { return storeId_; @@ -46,6 +35,6 @@ std::string DeleteStoreRequest::getStoreId()const void DeleteStoreRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); + setParameter("StoreId", storeId); } diff --git a/cloudesl/src/model/DeleteStoreResult.cc b/cloudesl/src/model/DeleteStoreResult.cc index 0413da75f..84f2b0cff 100644 --- a/cloudesl/src/model/DeleteStoreResult.cc +++ b/cloudesl/src/model/DeleteStoreResult.cc @@ -39,20 +39,12 @@ void DeleteStoreResult::parse(const std::string &payload) 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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } @@ -61,31 +53,11 @@ std::string DeleteStoreResult::getMessage()const return message_; } -std::string DeleteStoreResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string DeleteStoreResult::getErrorCode()const { return errorCode_; } -std::string DeleteStoreResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DeleteStoreResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DeleteStoreResult::getCode()const -{ - return code_; -} - bool DeleteStoreResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DescribeAlarmsRequest.cc b/cloudesl/src/model/DescribeAlarmsRequest.cc index 5ad9692cb..168b2f7a4 100644 --- a/cloudesl/src/model/DescribeAlarmsRequest.cc +++ b/cloudesl/src/model/DescribeAlarmsRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::DescribeAlarmsRequest; DescribeAlarmsRequest::DescribeAlarmsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeAlarms") + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeAlarms") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ DescribeAlarmsRequest::DescribeAlarmsRequest() : DescribeAlarmsRequest::~DescribeAlarmsRequest() {} -std::string DescribeAlarmsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeAlarmsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string DescribeAlarmsRequest::getStoreId()const { return storeId_; @@ -46,7 +35,7 @@ std::string DescribeAlarmsRequest::getStoreId()const void DescribeAlarmsRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); + setParameter("StoreId", storeId); } int DescribeAlarmsRequest::getPageNumber()const @@ -57,7 +46,18 @@ int DescribeAlarmsRequest::getPageNumber()const void DescribeAlarmsRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAlarmsRequest::getFromAlarmTime()const +{ + return fromAlarmTime_; +} + +void DescribeAlarmsRequest::setFromAlarmTime(const std::string& fromAlarmTime) +{ + fromAlarmTime_ = fromAlarmTime; + setParameter("FromAlarmTime", fromAlarmTime); } int DescribeAlarmsRequest::getPageSize()const @@ -68,7 +68,18 @@ int DescribeAlarmsRequest::getPageSize()const void DescribeAlarmsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeAlarmsRequest::getToAlarmTime()const +{ + return toAlarmTime_; +} + +void DescribeAlarmsRequest::setToAlarmTime(const std::string& toAlarmTime) +{ + toAlarmTime_ = toAlarmTime; + setParameter("ToAlarmTime", toAlarmTime); } std::string DescribeAlarmsRequest::getAlarmType()const @@ -79,7 +90,7 @@ std::string DescribeAlarmsRequest::getAlarmType()const void DescribeAlarmsRequest::setAlarmType(const std::string& alarmType) { alarmType_ = alarmType; - setBodyParameter("AlarmType", alarmType); + setParameter("AlarmType", alarmType); } std::string DescribeAlarmsRequest::getAlarmStatus()const @@ -90,7 +101,7 @@ std::string DescribeAlarmsRequest::getAlarmStatus()const void DescribeAlarmsRequest::setAlarmStatus(const std::string& alarmStatus) { alarmStatus_ = alarmStatus; - setBodyParameter("AlarmStatus", alarmStatus); + setParameter("AlarmStatus", alarmStatus); } std::string DescribeAlarmsRequest::getErrorType()const @@ -101,7 +112,7 @@ std::string DescribeAlarmsRequest::getErrorType()const void DescribeAlarmsRequest::setErrorType(const std::string& errorType) { errorType_ = errorType; - setBodyParameter("ErrorType", errorType); + setParameter("ErrorType", errorType); } std::string DescribeAlarmsRequest::getAlarmId()const @@ -112,17 +123,6 @@ std::string DescribeAlarmsRequest::getAlarmId()const void DescribeAlarmsRequest::setAlarmId(const std::string& alarmId) { alarmId_ = alarmId; - setBodyParameter("AlarmId", alarmId); -} - -std::string DescribeAlarmsRequest::getDeviceMac()const -{ - return deviceMac_; -} - -void DescribeAlarmsRequest::setDeviceMac(const std::string& deviceMac) -{ - deviceMac_ = deviceMac; - setBodyParameter("DeviceMac", deviceMac); + setParameter("AlarmId", alarmId); } diff --git a/cloudesl/src/model/DescribeAlarmsResult.cc b/cloudesl/src/model/DescribeAlarmsResult.cc index 82705e0e7..67528e175 100644 --- a/cloudesl/src/model/DescribeAlarmsResult.cc +++ b/cloudesl/src/model/DescribeAlarmsResult.cc @@ -43,62 +43,52 @@ void DescribeAlarmsResult::parse(const std::string &payload) for (auto valueAlarmsAlarmInfo : allAlarmsNode) { AlarmInfo alarmsObject; - if(!valueAlarmsAlarmInfo["Remark"].isNull()) - alarmsObject.remark = valueAlarmsAlarmInfo["Remark"].asString(); - if(!valueAlarmsAlarmInfo["StoreId"].isNull()) - alarmsObject.storeId = valueAlarmsAlarmInfo["StoreId"].asString(); - if(!valueAlarmsAlarmInfo["DeviceBarCode"].isNull()) - alarmsObject.deviceBarCode = valueAlarmsAlarmInfo["DeviceBarCode"].asString(); - if(!valueAlarmsAlarmInfo["DealUserId"].isNull()) - alarmsObject.dealUserId = valueAlarmsAlarmInfo["DealUserId"].asString(); - if(!valueAlarmsAlarmInfo["DeviceType"].isNull()) - alarmsObject.deviceType = valueAlarmsAlarmInfo["DeviceType"].asString(); - if(!valueAlarmsAlarmInfo["ItemTitle"].isNull()) - alarmsObject.itemTitle = valueAlarmsAlarmInfo["ItemTitle"].asString(); - if(!valueAlarmsAlarmInfo["AlarmTime"].isNull()) - alarmsObject.alarmTime = valueAlarmsAlarmInfo["AlarmTime"].asString(); - if(!valueAlarmsAlarmInfo["ErrorType"].isNull()) - alarmsObject.errorType = valueAlarmsAlarmInfo["ErrorType"].asString(); - if(!valueAlarmsAlarmInfo["DeviceMac"].isNull()) - alarmsObject.deviceMac = valueAlarmsAlarmInfo["DeviceMac"].asString(); if(!valueAlarmsAlarmInfo["AlarmId"].isNull()) alarmsObject.alarmId = valueAlarmsAlarmInfo["AlarmId"].asString(); - if(!valueAlarmsAlarmInfo["RetryGmtCreate"].isNull()) - alarmsObject.retryGmtCreate = valueAlarmsAlarmInfo["RetryGmtCreate"].asString(); - if(!valueAlarmsAlarmInfo["RetryGmtModified"].isNull()) - alarmsObject.retryGmtModified = valueAlarmsAlarmInfo["RetryGmtModified"].asString(); - if(!valueAlarmsAlarmInfo["ItemBarCode"].isNull()) - alarmsObject.itemBarCode = valueAlarmsAlarmInfo["ItemBarCode"].asString(); - if(!valueAlarmsAlarmInfo["RetryTimes"].isNull()) - alarmsObject.retryTimes = std::stol(valueAlarmsAlarmInfo["RetryTimes"].asString()); - if(!valueAlarmsAlarmInfo["DealTime"].isNull()) - alarmsObject.dealTime = valueAlarmsAlarmInfo["DealTime"].asString(); if(!valueAlarmsAlarmInfo["AlarmType"].isNull()) alarmsObject.alarmType = valueAlarmsAlarmInfo["AlarmType"].asString(); + if(!valueAlarmsAlarmInfo["DeviceType"].isNull()) + alarmsObject.deviceType = valueAlarmsAlarmInfo["DeviceType"].asString(); + if(!valueAlarmsAlarmInfo["DeviceBarCode"].isNull()) + alarmsObject.deviceBarCode = valueAlarmsAlarmInfo["DeviceBarCode"].asString(); + if(!valueAlarmsAlarmInfo["DeviceMac"].isNull()) + alarmsObject.deviceMac = valueAlarmsAlarmInfo["DeviceMac"].asString(); + if(!valueAlarmsAlarmInfo["ErrorType"].isNull()) + alarmsObject.errorType = valueAlarmsAlarmInfo["ErrorType"].asString(); + if(!valueAlarmsAlarmInfo["ItemBarCode"].isNull()) + alarmsObject.itemBarCode = valueAlarmsAlarmInfo["ItemBarCode"].asString(); + if(!valueAlarmsAlarmInfo["ItemTitle"].isNull()) + alarmsObject.itemTitle = valueAlarmsAlarmInfo["ItemTitle"].asString(); + if(!valueAlarmsAlarmInfo["CompanyId"].isNull()) + alarmsObject.companyId = valueAlarmsAlarmInfo["CompanyId"].asString(); + if(!valueAlarmsAlarmInfo["StoreId"].isNull()) + alarmsObject.storeId = valueAlarmsAlarmInfo["StoreId"].asString(); + if(!valueAlarmsAlarmInfo["AlarmTime"].isNull()) + alarmsObject.alarmTime = valueAlarmsAlarmInfo["AlarmTime"].asString(); if(!valueAlarmsAlarmInfo["AlarmStatus"].isNull()) alarmsObject.alarmStatus = valueAlarmsAlarmInfo["AlarmStatus"].asString(); + if(!valueAlarmsAlarmInfo["DealUserId"].isNull()) + alarmsObject.dealUserId = std::stol(valueAlarmsAlarmInfo["DealUserId"].asString()); + if(!valueAlarmsAlarmInfo["DealTime"].isNull()) + alarmsObject.dealTime = valueAlarmsAlarmInfo["DealTime"].asString(); + if(!valueAlarmsAlarmInfo["Vendor"].isNull()) + alarmsObject.vendor = valueAlarmsAlarmInfo["Vendor"].asString(); + if(!valueAlarmsAlarmInfo["Model"].isNull()) + alarmsObject.model = valueAlarmsAlarmInfo["Model"].asString(); alarms_.push_back(alarmsObject); } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].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["TotalCount"].isNull()) totalCount_ = std::stoi(value["TotalCount"].asString()); if(!value["PageNumber"].isNull()) pageNumber_ = std::stoi(value["PageNumber"].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["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); } @@ -107,16 +97,16 @@ int DescribeAlarmsResult::getTotalCount()const return totalCount_; } -int DescribeAlarmsResult::getPageSize()const -{ - return pageSize_; -} - std::string DescribeAlarmsResult::getMessage()const { return message_; } +int DescribeAlarmsResult::getPageSize()const +{ + return pageSize_; +} + int DescribeAlarmsResult::getPageNumber()const { return pageNumber_; @@ -127,31 +117,11 @@ std::vector DescribeAlarmsResult::getAlarms()co return alarms_; } -std::string DescribeAlarmsResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string DescribeAlarmsResult::getErrorCode()const { return errorCode_; } -std::string DescribeAlarmsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeAlarmsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeAlarmsResult::getCode()const -{ - return code_; -} - bool DescribeAlarmsResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DescribeApDevicesRequest.cc b/cloudesl/src/model/DescribeApDevicesRequest.cc deleted file mode 100644 index f72bb70db..000000000 --- a/cloudesl/src/model/DescribeApDevicesRequest.cc +++ /dev/null @@ -1,117 +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::DescribeApDevicesRequest; - -DescribeApDevicesRequest::DescribeApDevicesRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeApDevices") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeApDevicesRequest::~DescribeApDevicesRequest() -{} - -std::string DescribeApDevicesRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeApDevicesRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribeApDevicesRequest::getApMac()const -{ - return apMac_; -} - -void DescribeApDevicesRequest::setApMac(const std::string& apMac) -{ - apMac_ = apMac; - setBodyParameter("ApMac", apMac); -} - -std::string DescribeApDevicesRequest::getStoreId()const -{ - return storeId_; -} - -void DescribeApDevicesRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribeApDevicesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeApDevicesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int DescribeApDevicesRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeApDevicesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeApDevicesRequest::getModel()const -{ - return model_; -} - -void DescribeApDevicesRequest::setModel(const std::string& model) -{ - model_ = model; - setBodyParameter("Model", model); -} - -bool DescribeApDevicesRequest::getBeActivate()const -{ - return beActivate_; -} - -void DescribeApDevicesRequest::setBeActivate(bool beActivate) -{ - beActivate_ = beActivate; - setBodyParameter("BeActivate", beActivate ? "true" : "false"); -} - -bool DescribeApDevicesRequest::getStatus()const -{ - return status_; -} - -void DescribeApDevicesRequest::setStatus(bool status) -{ - status_ = status; - setBodyParameter("Status", status ? "true" : "false"); -} - diff --git a/cloudesl/src/model/DescribeApDevicesResult.cc b/cloudesl/src/model/DescribeApDevicesResult.cc deleted file mode 100644 index 17d9ce18b..000000000 --- a/cloudesl/src/model/DescribeApDevicesResult.cc +++ /dev/null @@ -1,137 +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; - -DescribeApDevicesResult::DescribeApDevicesResult() : - ServiceResult() -{} - -DescribeApDevicesResult::DescribeApDevicesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeApDevicesResult::~DescribeApDevicesResult() -{} - -void DescribeApDevicesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allApDevicesNode = value["ApDevices"]["ApInfo"]; - for (auto valueApDevicesApInfo : allApDevicesNode) - { - ApInfo apDevicesObject; - if(!valueApDevicesApInfo["Mac"].isNull()) - apDevicesObject.mac = valueApDevicesApInfo["Mac"].asString(); - if(!valueApDevicesApInfo["Status"].isNull()) - apDevicesObject.status = valueApDevicesApInfo["Status"].asString() == "true"; - if(!valueApDevicesApInfo["Model"].isNull()) - apDevicesObject.model = valueApDevicesApInfo["Model"].asString(); - if(!valueApDevicesApInfo["Remark"].isNull()) - apDevicesObject.remark = valueApDevicesApInfo["Remark"].asString(); - if(!valueApDevicesApInfo["StoreId"].isNull()) - apDevicesObject.storeId = valueApDevicesApInfo["StoreId"].asString(); - if(!valueApDevicesApInfo["BeActivate"].isNull()) - apDevicesObject.beActivate = valueApDevicesApInfo["BeActivate"].asString() == "true"; - apDevices_.push_back(apDevicesObject); - } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int DescribeApDevicesResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeApDevicesResult::getMessage()const -{ - return message_; -} - -int DescribeApDevicesResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeApDevicesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribeApDevicesResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::vector DescribeApDevicesResult::getApDevices()const -{ - return apDevices_; -} - -std::string DescribeApDevicesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeApDevicesResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeApDevicesResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeApDevicesResult::getCode()const -{ - return code_; -} - -bool DescribeApDevicesResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeBindersRequest.cc b/cloudesl/src/model/DescribeBindersRequest.cc deleted file mode 100644 index b44efdabd..000000000 --- a/cloudesl/src/model/DescribeBindersRequest.cc +++ /dev/null @@ -1,106 +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::DescribeBindersRequest; - -DescribeBindersRequest::DescribeBindersRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeBinders") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeBindersRequest::~DescribeBindersRequest() -{} - -std::string DescribeBindersRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeBindersRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribeBindersRequest::getStoreId()const -{ - return storeId_; -} - -void DescribeBindersRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribeBindersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeBindersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeBindersRequest::getEslBarCode()const -{ - return eslBarCode_; -} - -void DescribeBindersRequest::setEslBarCode(const std::string& eslBarCode) -{ - eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); -} - -int DescribeBindersRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeBindersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeBindersRequest::getItemBarCode()const -{ - return itemBarCode_; -} - -void DescribeBindersRequest::setItemBarCode(const std::string& itemBarCode) -{ - itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); -} - -std::string DescribeBindersRequest::getItemTitle()const -{ - return itemTitle_; -} - -void DescribeBindersRequest::setItemTitle(const std::string& itemTitle) -{ - itemTitle_ = itemTitle; - setBodyParameter("ItemTitle", itemTitle); -} - diff --git a/cloudesl/src/model/DescribeBindersResult.cc b/cloudesl/src/model/DescribeBindersResult.cc deleted file mode 100644 index e6a662a71..000000000 --- a/cloudesl/src/model/DescribeBindersResult.cc +++ /dev/null @@ -1,169 +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; - -DescribeBindersResult::DescribeBindersResult() : - ServiceResult() -{} - -DescribeBindersResult::DescribeBindersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBindersResult::~DescribeBindersResult() -{} - -void DescribeBindersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allEslItemBindInfosNode = value["EslItemBindInfos"]["EslItemBindInfo"]; - for (auto valueEslItemBindInfosEslItemBindInfo : allEslItemBindInfosNode) - { - EslItemBindInfo eslItemBindInfosObject; - if(!valueEslItemBindInfosEslItemBindInfo["PromotionText"].isNull()) - eslItemBindInfosObject.promotionText = valueEslItemBindInfosEslItemBindInfo["PromotionText"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["BindId"].isNull()) - eslItemBindInfosObject.bindId = valueEslItemBindInfosEslItemBindInfo["BindId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["StoreId"].isNull()) - eslItemBindInfosObject.storeId = valueEslItemBindInfosEslItemBindInfo["StoreId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["TemplateId"].isNull()) - eslItemBindInfosObject.templateId = valueEslItemBindInfosEslItemBindInfo["TemplateId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslPic"].isNull()) - eslItemBindInfosObject.eslPic = valueEslItemBindInfosEslItemBindInfo["EslPic"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslStatus"].isNull()) - eslItemBindInfosObject.eslStatus = valueEslItemBindInfosEslItemBindInfo["EslStatus"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemTitle"].isNull()) - eslItemBindInfosObject.itemTitle = valueEslItemBindInfosEslItemBindInfo["ItemTitle"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].isNull()) - eslItemBindInfosObject.originalPrice = valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].isNull()) - eslItemBindInfosObject.templateSceneId = valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["GmtModified"].isNull()) - eslItemBindInfosObject.gmtModified = valueEslItemBindInfosEslItemBindInfo["GmtModified"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ActionPrice"].isNull()) - eslItemBindInfosObject.actionPrice = valueEslItemBindInfosEslItemBindInfo["ActionPrice"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["PriceUnit"].isNull()) - eslItemBindInfosObject.priceUnit = valueEslItemBindInfosEslItemBindInfo["PriceUnit"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].isNull()) - eslItemBindInfosObject.eslConnectAp = valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["SkuId"].isNull()) - eslItemBindInfosObject.skuId = valueEslItemBindInfosEslItemBindInfo["SkuId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["EslBarCode"].isNull()) - eslItemBindInfosObject.eslBarCode = valueEslItemBindInfosEslItemBindInfo["EslBarCode"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].isNull()) - eslItemBindInfosObject.itemShortTitle = valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["BePromotion"].isNull()) - eslItemBindInfosObject.bePromotion = valueEslItemBindInfosEslItemBindInfo["BePromotion"].asString() == "true"; - if(!valueEslItemBindInfosEslItemBindInfo["EslModel"].isNull()) - eslItemBindInfosObject.eslModel = valueEslItemBindInfosEslItemBindInfo["EslModel"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].isNull()) - eslItemBindInfosObject.itemBarCode = valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["ItemId"].isNull()) - eslItemBindInfosObject.itemId = valueEslItemBindInfosEslItemBindInfo["ItemId"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["PromotionStart"].isNull()) - eslItemBindInfosObject.promotionStart = valueEslItemBindInfosEslItemBindInfo["PromotionStart"].asString(); - if(!valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].isNull()) - eslItemBindInfosObject.promotionEnd = valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].asString(); - eslItemBindInfos_.push_back(eslItemBindInfosObject); - } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -int DescribeBindersResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeBindersResult::getMessage()const -{ - return message_; -} - -int DescribeBindersResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeBindersResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribeBindersResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribeBindersResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeBindersResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeBindersResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeBindersResult::getCode()const -{ - return code_; -} - -bool DescribeBindersResult::getSuccess()const -{ - return success_; -} - -std::vector DescribeBindersResult::getEslItemBindInfos()const -{ - return eslItemBindInfos_; -} - diff --git a/cloudesl/src/model/DescribeClientPackageRequest.cc b/cloudesl/src/model/DescribeClientPackageRequest.cc deleted file mode 100644 index 209d9872a..000000000 --- a/cloudesl/src/model/DescribeClientPackageRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribeClientPackageRequest; - -DescribeClientPackageRequest::DescribeClientPackageRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeClientPackage") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeClientPackageRequest::~DescribeClientPackageRequest() -{} - -std::string DescribeClientPackageRequest::getClientType()const -{ - return clientType_; -} - -void DescribeClientPackageRequest::setClientType(const std::string& clientType) -{ - clientType_ = clientType; - setBodyParameter("ClientType", clientType); -} - -std::string DescribeClientPackageRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeClientPackageRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - diff --git a/cloudesl/src/model/DescribeClientPackageResult.cc b/cloudesl/src/model/DescribeClientPackageResult.cc deleted file mode 100644 index 5fc519846..000000000 --- a/cloudesl/src/model/DescribeClientPackageResult.cc +++ /dev/null @@ -1,121 +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; - -DescribeClientPackageResult::DescribeClientPackageResult() : - ServiceResult() -{} - -DescribeClientPackageResult::DescribeClientPackageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClientPackageResult::~DescribeClientPackageResult() -{} - -void DescribeClientPackageResult::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["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"; - -} - -std::string DescribeClientPackageResult::getDescription()const -{ - return description_; -} - -std::string DescribeClientPackageResult::getMessage()const -{ - return message_; -} - -std::string DescribeClientPackageResult::getVersion()const -{ - return version_; -} - -std::string DescribeClientPackageResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribeClientPackageResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeClientPackageResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeClientPackageResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeClientPackageResult::getUpdateType()const -{ - return updateType_; -} - -std::string DescribeClientPackageResult::getCode()const -{ - return code_; -} - -std::string DescribeClientPackageResult::getUrl()const -{ - return url_; -} - -bool DescribeClientPackageResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeCompanyRequest.cc b/cloudesl/src/model/DescribeCompanyRequest.cc new file mode 100644 index 000000000..114ae1c56 --- /dev/null +++ b/cloudesl/src/model/DescribeCompanyRequest.cc @@ -0,0 +1,29 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudesl::Model::DescribeCompanyRequest; + +DescribeCompanyRequest::DescribeCompanyRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeCompany") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCompanyRequest::~DescribeCompanyRequest() +{} + diff --git a/cloudesl/src/model/DeleteUserResult.cc b/cloudesl/src/model/DescribeCompanyResult.cc similarity index 54% rename from cloudesl/src/model/DeleteUserResult.cc rename to cloudesl/src/model/DescribeCompanyResult.cc index 7b8b33124..d5ba7c5f2 100644 --- a/cloudesl/src/model/DeleteUserResult.cc +++ b/cloudesl/src/model/DescribeCompanyResult.cc @@ -14,79 +14,72 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -DeleteUserResult::DeleteUserResult() : +DescribeCompanyResult::DescribeCompanyResult() : ServiceResult() {} -DeleteUserResult::DeleteUserResult(const std::string &payload) : +DescribeCompanyResult::DescribeCompanyResult(const std::string &payload) : ServiceResult() { parse(payload); } -DeleteUserResult::~DeleteUserResult() +DescribeCompanyResult::~DescribeCompanyResult() {} -void DeleteUserResult::parse(const std::string &payload) +void DescribeCompanyResult::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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["CompanyId"].isNull()) + companyId_ = value["CompanyId"].asString(); + if(!value["Platform"].isNull()) + platform_ = value["Platform"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); } -std::string DeleteUserResult::getMessage()const +std::string DescribeCompanyResult::getStatus()const +{ + return status_; +} + +std::string DescribeCompanyResult::getMessage()const { return message_; } -std::string DeleteUserResult::getDynamicCode()const +std::string DescribeCompanyResult::getCompanyId()const { - return dynamicCode_; + return companyId_; } -std::string DeleteUserResult::getErrorCode()const +std::string DescribeCompanyResult::getPlatform()const +{ + return platform_; +} + +std::string DescribeCompanyResult::getErrorCode()const { return errorCode_; } -std::string DeleteUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DeleteUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DeleteUserResult::getCode()const -{ - return code_; -} - -bool DeleteUserResult::getSuccess()const +bool DescribeCompanyResult::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/DescribeEslDevicesRequest.cc b/cloudesl/src/model/DescribeEslDevicesRequest.cc index 9fff1f406..f64d2535e 100644 --- a/cloudesl/src/model/DescribeEslDevicesRequest.cc +++ b/cloudesl/src/model/DescribeEslDevicesRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::DescribeEslDevicesRequest; DescribeEslDevicesRequest::DescribeEslDevicesRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEslDevices") + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeEslDevices") { setMethod(HttpRequest::Method::Post); } @@ -27,15 +27,15 @@ DescribeEslDevicesRequest::DescribeEslDevicesRequest() : DescribeEslDevicesRequest::~DescribeEslDevicesRequest() {} -std::string DescribeEslDevicesRequest::getExtraParams()const +std::string DescribeEslDevicesRequest::getStoreId()const { - return extraParams_; + return storeId_; } -void DescribeEslDevicesRequest::setExtraParams(const std::string& extraParams) +void DescribeEslDevicesRequest::setStoreId(const std::string& storeId) { - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); + storeId_ = storeId; + setParameter("StoreId", storeId); } std::string DescribeEslDevicesRequest::getType()const @@ -46,18 +46,18 @@ std::string DescribeEslDevicesRequest::getType()const void DescribeEslDevicesRequest::setType(const std::string& type) { type_ = type; - setBodyParameter("Type", type); + setParameter("Type", type); } -std::string DescribeEslDevicesRequest::getStoreId()const +std::string DescribeEslDevicesRequest::getMac()const { - return storeId_; + return mac_; } -void DescribeEslDevicesRequest::setStoreId(const std::string& storeId) +void DescribeEslDevicesRequest::setMac(const std::string& mac) { - storeId_ = storeId; - setBodyParameter("StoreId", storeId); + mac_ = mac; + setParameter("Mac", mac); } int DescribeEslDevicesRequest::getPageNumber()const @@ -68,7 +68,7 @@ int DescribeEslDevicesRequest::getPageNumber()const void DescribeEslDevicesRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); + setParameter("PageNumber", std::to_string(pageNumber)); } std::string DescribeEslDevicesRequest::getEslBarCode()const @@ -79,7 +79,18 @@ std::string DescribeEslDevicesRequest::getEslBarCode()const void DescribeEslDevicesRequest::setEslBarCode(const std::string& eslBarCode) { eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); + setParameter("EslBarCode", eslBarCode); +} + +std::string DescribeEslDevicesRequest::getVendor()const +{ + return vendor_; +} + +void DescribeEslDevicesRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setParameter("Vendor", vendor); } int DescribeEslDevicesRequest::getPageSize()const @@ -90,7 +101,18 @@ int DescribeEslDevicesRequest::getPageSize()const void DescribeEslDevicesRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeEslDevicesRequest::getItemBarCode()const +{ + return itemBarCode_; +} + +void DescribeEslDevicesRequest::setItemBarCode(const std::string& itemBarCode) +{ + itemBarCode_ = itemBarCode; + setParameter("ItemBarCode", itemBarCode); } std::string DescribeEslDevicesRequest::getEslStatus()const @@ -101,7 +123,7 @@ std::string DescribeEslDevicesRequest::getEslStatus()const void DescribeEslDevicesRequest::setEslStatus(const std::string& eslStatus) { eslStatus_ = eslStatus; - setBodyParameter("EslStatus", eslStatus); + setParameter("EslStatus", eslStatus); } int DescribeEslDevicesRequest::getToBatteryLevel()const @@ -112,7 +134,7 @@ int DescribeEslDevicesRequest::getToBatteryLevel()const void DescribeEslDevicesRequest::setToBatteryLevel(int toBatteryLevel) { toBatteryLevel_ = toBatteryLevel; - setBodyParameter("ToBatteryLevel", std::to_string(toBatteryLevel)); + setParameter("ToBatteryLevel", std::to_string(toBatteryLevel)); } int DescribeEslDevicesRequest::getFromBatteryLevel()const @@ -123,6 +145,28 @@ int DescribeEslDevicesRequest::getFromBatteryLevel()const void DescribeEslDevicesRequest::setFromBatteryLevel(int fromBatteryLevel) { fromBatteryLevel_ = fromBatteryLevel; - setBodyParameter("FromBatteryLevel", std::to_string(fromBatteryLevel)); + setParameter("FromBatteryLevel", std::to_string(fromBatteryLevel)); +} + +std::string DescribeEslDevicesRequest::getShelfCode()const +{ + return shelfCode_; +} + +void DescribeEslDevicesRequest::setShelfCode(const std::string& shelfCode) +{ + shelfCode_ = shelfCode; + setParameter("ShelfCode", shelfCode); +} + +bool DescribeEslDevicesRequest::getBeBind()const +{ + return beBind_; +} + +void DescribeEslDevicesRequest::setBeBind(bool beBind) +{ + beBind_ = beBind; + setParameter("BeBind", beBind ? "true" : "false"); } diff --git a/cloudesl/src/model/DescribeEslDevicesResult.cc b/cloudesl/src/model/DescribeEslDevicesResult.cc index c0b544843..b7ed66cf8 100644 --- a/cloudesl/src/model/DescribeEslDevicesResult.cc +++ b/cloudesl/src/model/DescribeEslDevicesResult.cc @@ -43,48 +43,62 @@ 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["CompanyId"].isNull()) + eslDevicesObject.companyId = valueEslDevicesEslDeviceInfo["CompanyId"].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["EslBarCode"].isNull()) + eslDevicesObject.eslBarCode = valueEslDevicesEslDeviceInfo["EslBarCode"].asString(); + if(!valueEslDevicesEslDeviceInfo["ItemBarCode"].isNull()) + eslDevicesObject.itemBarCode = valueEslDevicesEslDeviceInfo["ItemBarCode"].asString(); + if(!valueEslDevicesEslDeviceInfo["Vendor"].isNull()) + eslDevicesObject.vendor = valueEslDevicesEslDeviceInfo["Vendor"].asString(); + if(!valueEslDevicesEslDeviceInfo["ConnectAp"].isNull()) + eslDevicesObject.connectAp = valueEslDevicesEslDeviceInfo["ConnectAp"].asString(); + if(!valueEslDevicesEslDeviceInfo["Type"].isNull()) + eslDevicesObject.type = valueEslDevicesEslDeviceInfo["Type"].asString(); + if(!valueEslDevicesEslDeviceInfo["Model"].isNull()) + eslDevicesObject.model = valueEslDevicesEslDeviceInfo["Model"].asString(); + if(!valueEslDevicesEslDeviceInfo["BeBind"].isNull()) + eslDevicesObject.beBind = valueEslDevicesEslDeviceInfo["BeBind"].asString(); + if(!valueEslDevicesEslDeviceInfo["ScreenWidth"].isNull()) + eslDevicesObject.screenWidth = valueEslDevicesEslDeviceInfo["ScreenWidth"].asString(); + if(!valueEslDevicesEslDeviceInfo["ScreenHeight"].isNull()) + eslDevicesObject.screenHeight = valueEslDevicesEslDeviceInfo["ScreenHeight"].asString(); + if(!valueEslDevicesEslDeviceInfo["LastCommunicateTime"].isNull()) + eslDevicesObject.lastCommunicateTime = valueEslDevicesEslDeviceInfo["LastCommunicateTime"].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["ScreenHeight"].isNull()) - eslDevicesObject.screenHeight = std::stoi(valueEslDevicesEslDeviceInfo["ScreenHeight"].asString()); + if(!valueEslDevicesEslDeviceInfo["EslStatus"].isNull()) + eslDevicesObject.eslStatus = valueEslDevicesEslDeviceInfo["EslStatus"].asString(); + if(!valueEslDevicesEslDeviceInfo["ShelfCode"].isNull()) + eslDevicesObject.shelfCode = valueEslDevicesEslDeviceInfo["ShelfCode"].asString(); + if(!valueEslDevicesEslDeviceInfo["PositionCode"].isNull()) + eslDevicesObject.positionCode = valueEslDevicesEslDeviceInfo["PositionCode"].asString(); + if(!valueEslDevicesEslDeviceInfo["ItemId"].isNull()) + eslDevicesObject.itemId = std::stol(valueEslDevicesEslDeviceInfo["ItemId"].asString()); + if(!valueEslDevicesEslDeviceInfo["ItemTitle"].isNull()) + eslDevicesObject.itemTitle = valueEslDevicesEslDeviceInfo["ItemTitle"].asString(); + if(!valueEslDevicesEslDeviceInfo["ItemActionPrice"].isNull()) + eslDevicesObject.itemActionPrice = std::stoi(valueEslDevicesEslDeviceInfo["ItemActionPrice"].asString()); + if(!valueEslDevicesEslDeviceInfo["ItemPriceUnit"].isNull()) + eslDevicesObject.itemPriceUnit = valueEslDevicesEslDeviceInfo["ItemPriceUnit"].asString(); eslDevices_.push_back(eslDevicesObject); } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].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"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + 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()); } @@ -93,16 +107,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_; @@ -113,31 +127,11 @@ std::vector DescribeEslDevicesResult::g return eslDevices_; } -std::string DescribeEslDevicesResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string DescribeEslDevicesResult::getErrorCode()const { return errorCode_; } -std::string DescribeEslDevicesResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeEslDevicesResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeEslDevicesResult::getCode()const -{ - return code_; -} - bool DescribeEslDevicesResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DescribeItemsRequest.cc b/cloudesl/src/model/DescribeItemsRequest.cc index 57214f1d6..b87f16c21 100644 --- a/cloudesl/src/model/DescribeItemsRequest.cc +++ b/cloudesl/src/model/DescribeItemsRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::DescribeItemsRequest; DescribeItemsRequest::DescribeItemsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeItems") + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeItems") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ DescribeItemsRequest::DescribeItemsRequest() : DescribeItemsRequest::~DescribeItemsRequest() {} -std::string DescribeItemsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeItemsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string DescribeItemsRequest::getStoreId()const { return storeId_; @@ -46,7 +35,7 @@ std::string DescribeItemsRequest::getStoreId()const void DescribeItemsRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); + setParameter("StoreId", storeId); } int DescribeItemsRequest::getPageNumber()const @@ -57,18 +46,18 @@ int DescribeItemsRequest::getPageNumber()const void DescribeItemsRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); + setParameter("PageNumber", std::to_string(pageNumber)); } -std::string DescribeItemsRequest::getItemId()const +long DescribeItemsRequest::getItemId()const { return itemId_; } -void DescribeItemsRequest::setItemId(const std::string& itemId) +void DescribeItemsRequest::setItemId(long itemId) { itemId_ = itemId; - setBodyParameter("ItemId", itemId); + setParameter("ItemId", std::to_string(itemId)); } int DescribeItemsRequest::getPageSize()const @@ -79,7 +68,7 @@ int DescribeItemsRequest::getPageSize()const void DescribeItemsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); + setParameter("PageSize", std::to_string(pageSize)); } std::string DescribeItemsRequest::getItemBarCode()const @@ -90,7 +79,7 @@ std::string DescribeItemsRequest::getItemBarCode()const void DescribeItemsRequest::setItemBarCode(const std::string& itemBarCode) { itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); + setParameter("ItemBarCode", itemBarCode); } bool DescribeItemsRequest::getBePromotion()const @@ -101,7 +90,7 @@ bool DescribeItemsRequest::getBePromotion()const void DescribeItemsRequest::setBePromotion(bool bePromotion) { bePromotion_ = bePromotion; - setBodyParameter("BePromotion", bePromotion ? "true" : "false"); + setParameter("BePromotion", bePromotion ? "true" : "false"); } std::string DescribeItemsRequest::getItemTitle()const @@ -112,7 +101,18 @@ std::string DescribeItemsRequest::getItemTitle()const void DescribeItemsRequest::setItemTitle(const std::string& itemTitle) { itemTitle_ = itemTitle; - setBodyParameter("ItemTitle", itemTitle); + setParameter("ItemTitle", itemTitle); +} + +std::string DescribeItemsRequest::getShelfCode()const +{ + return shelfCode_; +} + +void DescribeItemsRequest::setShelfCode(const std::string& shelfCode) +{ + shelfCode_ = shelfCode; + setParameter("ShelfCode", shelfCode); } std::string DescribeItemsRequest::getSkuId()const @@ -123,6 +123,6 @@ std::string DescribeItemsRequest::getSkuId()const void DescribeItemsRequest::setSkuId(const std::string& skuId) { skuId_ = skuId; - setBodyParameter("SkuId", skuId); + setParameter("SkuId", skuId); } diff --git a/cloudesl/src/model/DescribeItemsResult.cc b/cloudesl/src/model/DescribeItemsResult.cc index 2da3741a9..decbb687e 100644 --- a/cloudesl/src/model/DescribeItemsResult.cc +++ b/cloudesl/src/model/DescribeItemsResult.cc @@ -43,132 +43,104 @@ 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["CompanyId"].isNull()) + itemsObject.companyId = valueItemsItemInfo["CompanyId"].asString(); + if(!valueItemsItemInfo["StoreId"].isNull()) + itemsObject.storeId = valueItemsItemInfo["StoreId"].asString(); if(!valueItemsItemInfo["PriceUnit"].isNull()) itemsObject.priceUnit = valueItemsItemInfo["PriceUnit"].asString(); if(!valueItemsItemInfo["ActionPrice"].isNull()) itemsObject.actionPrice = std::stoi(valueItemsItemInfo["ActionPrice"].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["ItemTitle"].isNull()) + itemsObject.itemTitle = valueItemsItemInfo["ItemTitle"].asString(); if(!valueItemsItemInfo["ItemId"].isNull()) - itemsObject.itemId = valueItemsItemInfo["ItemId"].asString(); + itemsObject.itemId = std::stol(valueItemsItemInfo["ItemId"].asString()); + if(!valueItemsItemInfo["ModelNumber"].isNull()) + itemsObject.modelNumber = valueItemsItemInfo["ModelNumber"].asString(); + if(!valueItemsItemInfo["BrandName"].isNull()) + itemsObject.brandName = valueItemsItemInfo["BrandName"].asString(); + if(!valueItemsItemInfo["SaleSpec"].isNull()) + itemsObject.saleSpec = valueItemsItemInfo["SaleSpec"].asString(); + if(!valueItemsItemInfo["CategoryName"].isNull()) + itemsObject.categoryName = valueItemsItemInfo["CategoryName"].asString(); + if(!valueItemsItemInfo["Rank"].isNull()) + itemsObject.rank = valueItemsItemInfo["Rank"].asString(); + if(!valueItemsItemInfo["EnergyEfficiency"].isNull()) + itemsObject.energyEfficiency = valueItemsItemInfo["EnergyEfficiency"].asString(); + if(!valueItemsItemInfo["SkuId"].isNull()) + itemsObject.skuId = valueItemsItemInfo["SkuId"].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["PromotionEnd"].isNull()) + itemsObject.promotionEnd = valueItemsItemInfo["PromotionEnd"].asString(); + if(!valueItemsItemInfo["PromotionText"].isNull()) + itemsObject.promotionText = valueItemsItemInfo["PromotionText"].asString(); + if(!valueItemsItemInfo["PromotionReason"].isNull()) + itemsObject.promotionReason = valueItemsItemInfo["PromotionReason"].asString(); + if(!valueItemsItemInfo["BePromotion"].isNull()) + itemsObject.bePromotion = valueItemsItemInfo["BePromotion"].asString() == "true"; + if(!valueItemsItemInfo["ItemQrCode"].isNull()) + itemsObject.itemQrCode = valueItemsItemInfo["ItemQrCode"].asString(); + if(!valueItemsItemInfo["OriginalPrice"].isNull()) + itemsObject.originalPrice = std::stoi(valueItemsItemInfo["OriginalPrice"].asString()); + if(!valueItemsItemInfo["MemberPrice"].isNull()) + itemsObject.memberPrice = std::stoi(valueItemsItemInfo["MemberPrice"].asString()); + if(!valueItemsItemInfo["SuggestPrice"].isNull()) + itemsObject.suggestPrice = std::stoi(valueItemsItemInfo["SuggestPrice"].asString()); + if(!valueItemsItemInfo["ItemShortTitle"].isNull()) + itemsObject.itemShortTitle = valueItemsItemInfo["ItemShortTitle"].asString(); + if(!valueItemsItemInfo["OptionGroups"].isNull()) + itemsObject.optionGroups = valueItemsItemInfo["OptionGroups"].asString(); + if(!valueItemsItemInfo["ProductionPlace"].isNull()) + itemsObject.productionPlace = valueItemsItemInfo["ProductionPlace"].asString(); + if(!valueItemsItemInfo["PositionCode"].isNull()) + itemsObject.positionCode = valueItemsItemInfo["PositionCode"].asString(); + if(!valueItemsItemInfo["ExtraAttribute"].isNull()) + itemsObject.extraAttribute = valueItemsItemInfo["ExtraAttribute"].asString(); + if(!valueItemsItemInfo["BeSourceCode"].isNull()) + itemsObject.beSourceCode = valueItemsItemInfo["BeSourceCode"].asString() == "true"; + if(!valueItemsItemInfo["SourceCode"].isNull()) + itemsObject.sourceCode = valueItemsItemInfo["SourceCode"].asString(); + if(!valueItemsItemInfo["ForestFirstId"].isNull()) + itemsObject.forestFirstId = valueItemsItemInfo["ForestFirstId"].asString(); + if(!valueItemsItemInfo["ForestSecondId"].isNull()) + itemsObject.forestSecondId = valueItemsItemInfo["ForestSecondId"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureA"].isNull()) + itemsObject.customizeFeatureA = valueItemsItemInfo["CustomizeFeatureA"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureB"].isNull()) + itemsObject.customizeFeatureB = valueItemsItemInfo["CustomizeFeatureB"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureC"].isNull()) + itemsObject.customizeFeatureC = valueItemsItemInfo["CustomizeFeatureC"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureD"].isNull()) + itemsObject.customizeFeatureD = valueItemsItemInfo["CustomizeFeatureD"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureE"].isNull()) + itemsObject.customizeFeatureE = valueItemsItemInfo["CustomizeFeatureE"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureF"].isNull()) + itemsObject.customizeFeatureF = valueItemsItemInfo["CustomizeFeatureF"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureG"].isNull()) + itemsObject.customizeFeatureG = valueItemsItemInfo["CustomizeFeatureG"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureH"].isNull()) + itemsObject.customizeFeatureH = valueItemsItemInfo["CustomizeFeatureH"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureI"].isNull()) + itemsObject.customizeFeatureI = valueItemsItemInfo["CustomizeFeatureI"].asString(); + if(!valueItemsItemInfo["CustomizeFeatureJ"].isNull()) + itemsObject.customizeFeatureJ = valueItemsItemInfo["CustomizeFeatureJ"].asString(); items_.push_back(itemsObject); } - 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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + 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()); } @@ -197,31 +169,11 @@ std::vector DescribeItemsResult::getItems()const return items_; } -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 -{ - return errorMessage_; -} - -std::string DescribeItemsResult::getCode()const -{ - return code_; -} - bool DescribeItemsResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DescribePlanogramEslDevicesRequest.cc b/cloudesl/src/model/DescribePlanogramEslDevicesRequest.cc deleted file mode 100644 index d609e3d2e..000000000 --- a/cloudesl/src/model/DescribePlanogramEslDevicesRequest.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::DescribePlanogramEslDevicesRequest; - -DescribePlanogramEslDevicesRequest::DescribePlanogramEslDevicesRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramEslDevices") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribePlanogramEslDevicesRequest::~DescribePlanogramEslDevicesRequest() -{} - -std::string DescribePlanogramEslDevicesRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribePlanogramEslDevicesRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribePlanogramEslDevicesRequest::getStoreId()const -{ - return storeId_; -} - -void DescribePlanogramEslDevicesRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribePlanogramEslDevicesRequest::getLayer()const -{ - return layer_; -} - -void DescribePlanogramEslDevicesRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); -} - -std::string DescribePlanogramEslDevicesRequest::getEslBarCode()const -{ - return eslBarCode_; -} - -void DescribePlanogramEslDevicesRequest::setEslBarCode(const std::string& eslBarCode) -{ - eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); -} - -std::string DescribePlanogramEslDevicesRequest::getShelf()const -{ - return shelf_; -} - -void DescribePlanogramEslDevicesRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - diff --git a/cloudesl/src/model/DescribePlanogramEslDevicesResult.cc b/cloudesl/src/model/DescribePlanogramEslDevicesResult.cc deleted file mode 100644 index 6bec7c3e9..000000000 --- a/cloudesl/src/model/DescribePlanogramEslDevicesResult.cc +++ /dev/null @@ -1,142 +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; - -DescribePlanogramEslDevicesResult::DescribePlanogramEslDevicesResult() : - ServiceResult() -{} - -DescribePlanogramEslDevicesResult::DescribePlanogramEslDevicesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribePlanogramEslDevicesResult::~DescribePlanogramEslDevicesResult() -{} - -void DescribePlanogramEslDevicesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allEslDeviceLayerInfosNode = value["EslDeviceLayerInfos"]["EslDeviceLayerInfo"]; - for (auto valueEslDeviceLayerInfosEslDeviceLayerInfo : allEslDeviceLayerInfosNode) - { - EslDeviceLayerInfo eslDeviceLayerInfosObject; - if(!valueEslDeviceLayerInfosEslDeviceLayerInfo["Layer"].isNull()) - eslDeviceLayerInfosObject.layer = std::stoi(valueEslDeviceLayerInfosEslDeviceLayerInfo["Layer"].asString()); - auto allEslDevicePositionInfosNode = allEslDeviceLayerInfosNode["EslDevicePositionInfos"]["EslDevicePositionInfo"]; - for (auto allEslDeviceLayerInfosNodeEslDevicePositionInfosEslDevicePositionInfo : allEslDevicePositionInfosNode) - { - EslDeviceLayerInfo::EslDevicePositionInfo eslDevicePositionInfosObject; - if(!allEslDeviceLayerInfosNodeEslDevicePositionInfosEslDevicePositionInfo["Column"].isNull()) - eslDevicePositionInfosObject.column = allEslDeviceLayerInfosNodeEslDevicePositionInfosEslDevicePositionInfo["Column"].asString(); - auto allEslDevicePlanogramInfosNode = allEslDevicePositionInfosNode["EslDevicePlanogramInfos"]["EslDevicePlanogramInfo"]; - for (auto allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo : allEslDevicePlanogramInfosNode) - { - EslDeviceLayerInfo::EslDevicePositionInfo::EslDevicePlanogramInfo eslDevicePlanogramInfosObject; - if(!allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["EslBarCode"].isNull()) - eslDevicePlanogramInfosObject.eslBarCode = allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["EslBarCode"].asString(); - if(!allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["EslModel"].isNull()) - eslDevicePlanogramInfosObject.eslModel = allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["EslModel"].asString(); - if(!allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemBarCode"].isNull()) - eslDevicePlanogramInfosObject.itemBarCode = allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemBarCode"].asString(); - if(!allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemTitle"].isNull()) - eslDevicePlanogramInfosObject.itemTitle = allEslDevicePositionInfosNodeEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemTitle"].asString(); - eslDevicePositionInfosObject.eslDevicePlanogramInfos.push_back(eslDevicePlanogramInfosObject); - } - eslDeviceLayerInfosObject.eslDevicePositionInfos.push_back(eslDevicePositionInfosObject); - } - eslDeviceLayerInfos_.push_back(eslDeviceLayerInfosObject); - } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Shelf"].isNull()) - shelf_ = value["Shelf"].asString(); - if(!value["StoreId"].isNull()) - storeId_ = value["StoreId"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -std::string DescribePlanogramEslDevicesResult::getMessage()const -{ - return message_; -} - -std::string DescribePlanogramEslDevicesResult::getStoreId()const -{ - return storeId_; -} - -std::string DescribePlanogramEslDevicesResult::getShelf()const -{ - return shelf_; -} - -std::string DescribePlanogramEslDevicesResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribePlanogramEslDevicesResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribePlanogramEslDevicesResult::getErrorCode()const -{ - return errorCode_; -} - -std::vector DescribePlanogramEslDevicesResult::getEslDeviceLayerInfos()const -{ - return eslDeviceLayerInfos_; -} - -std::string DescribePlanogramEslDevicesResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribePlanogramEslDevicesResult::getCode()const -{ - return code_; -} - -bool DescribePlanogramEslDevicesResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribePlanogramPositionsRequest.cc b/cloudesl/src/model/DescribePlanogramPositionsRequest.cc deleted file mode 100644 index a5db1f8b0..000000000 --- a/cloudesl/src/model/DescribePlanogramPositionsRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribePlanogramPositionsRequest; - -DescribePlanogramPositionsRequest::DescribePlanogramPositionsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramPositions") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribePlanogramPositionsRequest::~DescribePlanogramPositionsRequest() -{} - -std::string DescribePlanogramPositionsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribePlanogramPositionsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribePlanogramPositionsRequest::getStoreId()const -{ - return storeId_; -} - -void DescribePlanogramPositionsRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribePlanogramPositionsRequest::getLayer()const -{ - return layer_; -} - -void DescribePlanogramPositionsRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); -} - -std::string DescribePlanogramPositionsRequest::getShelf()const -{ - return shelf_; -} - -void DescribePlanogramPositionsRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - diff --git a/cloudesl/src/model/DescribePlanogramPositionsResult.cc b/cloudesl/src/model/DescribePlanogramPositionsResult.cc deleted file mode 100644 index d1e75180e..000000000 --- a/cloudesl/src/model/DescribePlanogramPositionsResult.cc +++ /dev/null @@ -1,151 +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; - -DescribePlanogramPositionsResult::DescribePlanogramPositionsResult() : - ServiceResult() -{} - -DescribePlanogramPositionsResult::DescribePlanogramPositionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribePlanogramPositionsResult::~DescribePlanogramPositionsResult() -{} - -void DescribePlanogramPositionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLayerInfosNode = value["LayerInfos"]["LayerInfo"]; - for (auto valueLayerInfosLayerInfo : allLayerInfosNode) - { - LayerInfo layerInfosObject; - if(!valueLayerInfosLayerInfo["Layer"].isNull()) - layerInfosObject.layer = std::stoi(valueLayerInfosLayerInfo["Layer"].asString()); - if(!valueLayerInfosLayerInfo["LayerOrigin"].isNull()) - layerInfosObject.layerOrigin = valueLayerInfosLayerInfo["LayerOrigin"].asString(); - if(!valueLayerInfosLayerInfo["RailCode"].isNull()) - layerInfosObject.railCode = valueLayerInfosLayerInfo["RailCode"].asString(); - auto allShelfPositionInfosNode = allLayerInfosNode["ShelfPositionInfos"]["ShelfPositionInfo"]; - for (auto allLayerInfosNodeShelfPositionInfosShelfPositionInfo : allShelfPositionInfosNode) - { - LayerInfo::ShelfPositionInfo shelfPositionInfosObject; - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Column"].isNull()) - shelfPositionInfosObject.column = allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Column"].asString(); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Depth"].isNull()) - shelfPositionInfosObject.depth = std::stof(allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Depth"].asString()); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Facing"].isNull()) - shelfPositionInfosObject.facing = std::stoi(allLayerInfosNodeShelfPositionInfosShelfPositionInfo["Facing"].asString()); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["ItemBarCode"].isNull()) - shelfPositionInfosObject.itemBarCode = allLayerInfosNodeShelfPositionInfosShelfPositionInfo["ItemBarCode"].asString(); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["ItemTitle"].isNull()) - shelfPositionInfosObject.itemTitle = allLayerInfosNodeShelfPositionInfosShelfPositionInfo["ItemTitle"].asString(); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["OffsetFrom"].isNull()) - shelfPositionInfosObject.offsetFrom = std::stof(allLayerInfosNodeShelfPositionInfosShelfPositionInfo["OffsetFrom"].asString()); - if(!allLayerInfosNodeShelfPositionInfosShelfPositionInfo["OffsetTo"].isNull()) - shelfPositionInfosObject.offsetTo = std::stof(allLayerInfosNodeShelfPositionInfosShelfPositionInfo["OffsetTo"].asString()); - layerInfosObject.shelfPositionInfos.push_back(shelfPositionInfosObject); - } - layerInfos_.push_back(layerInfosObject); - } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Shelf"].isNull()) - shelf_ = value["Shelf"].asString(); - if(!value["StoreId"].isNull()) - storeId_ = value["StoreId"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ShelfType"].isNull()) - shelfType_ = value["ShelfType"].asString(); - -} - -std::string DescribePlanogramPositionsResult::getMessage()const -{ - return message_; -} - -std::string DescribePlanogramPositionsResult::getStoreId()const -{ - return storeId_; -} - -std::string DescribePlanogramPositionsResult::getShelfType()const -{ - return shelfType_; -} - -std::string DescribePlanogramPositionsResult::getShelf()const -{ - return shelf_; -} - -std::string DescribePlanogramPositionsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::vector DescribePlanogramPositionsResult::getLayerInfos()const -{ - return layerInfos_; -} - -std::string DescribePlanogramPositionsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribePlanogramPositionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribePlanogramPositionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribePlanogramPositionsResult::getCode()const -{ - return code_; -} - -bool DescribePlanogramPositionsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribePlanogramRailsRequest.cc b/cloudesl/src/model/DescribePlanogramRailsRequest.cc deleted file mode 100644 index 23e46d0ce..000000000 --- a/cloudesl/src/model/DescribePlanogramRailsRequest.cc +++ /dev/null @@ -1,106 +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::DescribePlanogramRailsRequest; - -DescribePlanogramRailsRequest::DescribePlanogramRailsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramRails") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribePlanogramRailsRequest::~DescribePlanogramRailsRequest() -{} - -std::string DescribePlanogramRailsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribePlanogramRailsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribePlanogramRailsRequest::getStoreId()const -{ - return storeId_; -} - -void DescribePlanogramRailsRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribePlanogramRailsRequest::getLayer()const -{ - return layer_; -} - -void DescribePlanogramRailsRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); -} - -int DescribePlanogramRailsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribePlanogramRailsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int DescribePlanogramRailsRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribePlanogramRailsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribePlanogramRailsRequest::getShelf()const -{ - return shelf_; -} - -void DescribePlanogramRailsRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); -} - -std::string DescribePlanogramRailsRequest::getRailCode()const -{ - return railCode_; -} - -void DescribePlanogramRailsRequest::setRailCode(const std::string& railCode) -{ - railCode_ = railCode; - setBodyParameter("RailCode", railCode); -} - diff --git a/cloudesl/src/model/DescribePlanogramRailsResult.cc b/cloudesl/src/model/DescribePlanogramRailsResult.cc deleted file mode 100644 index 84e11d0ed..000000000 --- a/cloudesl/src/model/DescribePlanogramRailsResult.cc +++ /dev/null @@ -1,140 +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; - -DescribePlanogramRailsResult::DescribePlanogramRailsResult() : - ServiceResult() -{} - -DescribePlanogramRailsResult::DescribePlanogramRailsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribePlanogramRailsResult::~DescribePlanogramRailsResult() -{} - -void DescribePlanogramRailsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPlanogramRailInfosNode = value["PlanogramRailInfos"]["PlanogramRailInfo"]; - for (auto valuePlanogramRailInfosPlanogramRailInfo : allPlanogramRailInfosNode) - { - PlanogramRailInfo planogramRailInfosObject; - if(!valuePlanogramRailInfosPlanogramRailInfo["Shelf"].isNull()) - planogramRailInfosObject.shelf = valuePlanogramRailInfosPlanogramRailInfo["Shelf"].asString(); - if(!valuePlanogramRailInfosPlanogramRailInfo["RailCode"].isNull()) - planogramRailInfosObject.railCode = valuePlanogramRailInfosPlanogramRailInfo["RailCode"].asString(); - if(!valuePlanogramRailInfosPlanogramRailInfo["Layer"].isNull()) - planogramRailInfosObject.layer = std::stoi(valuePlanogramRailInfosPlanogramRailInfo["Layer"].asString()); - if(!valuePlanogramRailInfosPlanogramRailInfo["GapUnit"].isNull()) - planogramRailInfosObject.gapUnit = std::stoi(valuePlanogramRailInfosPlanogramRailInfo["GapUnit"].asString()); - planogramRailInfos_.push_back(planogramRailInfosObject); - } - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - 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["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["StoreId"].isNull()) - storeId_ = value["StoreId"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -std::vector DescribePlanogramRailsResult::getPlanogramRailInfos()const -{ - return planogramRailInfos_; -} - -int DescribePlanogramRailsResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribePlanogramRailsResult::getMessage()const -{ - return message_; -} - -std::string DescribePlanogramRailsResult::getStoreId()const -{ - return storeId_; -} - -int DescribePlanogramRailsResult::getPageSize()const -{ - return pageSize_; -} - -int DescribePlanogramRailsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribePlanogramRailsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribePlanogramRailsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribePlanogramRailsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribePlanogramRailsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribePlanogramRailsResult::getCode()const -{ - return code_; -} - -bool DescribePlanogramRailsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribePlanogramShelvesRequest.cc b/cloudesl/src/model/DescribePlanogramShelvesRequest.cc deleted file mode 100644 index 671adccf8..000000000 --- a/cloudesl/src/model/DescribePlanogramShelvesRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribePlanogramShelvesRequest; - -DescribePlanogramShelvesRequest::DescribePlanogramShelvesRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramShelves") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribePlanogramShelvesRequest::~DescribePlanogramShelvesRequest() -{} - -std::string DescribePlanogramShelvesRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribePlanogramShelvesRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribePlanogramShelvesRequest::getStoreId()const -{ - return storeId_; -} - -void DescribePlanogramShelvesRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int DescribePlanogramShelvesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribePlanogramShelvesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int DescribePlanogramShelvesRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribePlanogramShelvesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/cloudesl/src/model/DescribePlanogramShelvesResult.cc b/cloudesl/src/model/DescribePlanogramShelvesResult.cc deleted file mode 100644 index e273f2412..000000000 --- a/cloudesl/src/model/DescribePlanogramShelvesResult.cc +++ /dev/null @@ -1,150 +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; - -DescribePlanogramShelvesResult::DescribePlanogramShelvesResult() : - ServiceResult() -{} - -DescribePlanogramShelvesResult::DescribePlanogramShelvesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribePlanogramShelvesResult::~DescribePlanogramShelvesResult() -{} - -void DescribePlanogramShelvesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allShelfInfosNode = value["ShelfInfos"]["ShelfInfo"]; - for (auto valueShelfInfosShelfInfo : allShelfInfosNode) - { - ShelfInfo shelfInfosObject; - if(!valueShelfInfosShelfInfo["Shelf"].isNull()) - shelfInfosObject.shelf = valueShelfInfosShelfInfo["Shelf"].asString(); - if(!valueShelfInfosShelfInfo["BeMatch"].isNull()) - shelfInfosObject.beMatch = valueShelfInfosShelfInfo["BeMatch"].asString() == "true"; - if(!valueShelfInfosShelfInfo["Zone"].isNull()) - shelfInfosObject.zone = valueShelfInfosShelfInfo["Zone"].asString(); - if(!valueShelfInfosShelfInfo["Category"].isNull()) - shelfInfosObject.category = valueShelfInfosShelfInfo["Category"].asString(); - if(!valueShelfInfosShelfInfo["ShelfType"].isNull()) - shelfInfosObject.shelfType = valueShelfInfosShelfInfo["ShelfType"].asString(); - auto allLayerInfosNode = allShelfInfosNode["LayerInfos"]["LayerInfo"]; - for (auto allShelfInfosNodeLayerInfosLayerInfo : allLayerInfosNode) - { - ShelfInfo::LayerInfo layerInfosObject; - if(!allShelfInfosNodeLayerInfosLayerInfo["Layer"].isNull()) - layerInfosObject.layer = std::stoi(allShelfInfosNodeLayerInfosLayerInfo["Layer"].asString()); - shelfInfosObject.layerInfos.push_back(layerInfosObject); - } - shelfInfos_.push_back(shelfInfosObject); - } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["StoreId"].isNull()) - storeId_ = value["StoreId"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - 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()); - -} - -std::vector DescribePlanogramShelvesResult::getShelfInfos()const -{ - return shelfInfos_; -} - -int DescribePlanogramShelvesResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribePlanogramShelvesResult::getMessage()const -{ - return message_; -} - -std::string DescribePlanogramShelvesResult::getStoreId()const -{ - return storeId_; -} - -int DescribePlanogramShelvesResult::getPageSize()const -{ - return pageSize_; -} - -int DescribePlanogramShelvesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribePlanogramShelvesResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribePlanogramShelvesResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribePlanogramShelvesResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribePlanogramShelvesResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribePlanogramShelvesResult::getCode()const -{ - return code_; -} - -bool DescribePlanogramShelvesResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeRoleActionsRequest.cc b/cloudesl/src/model/DescribeRoleActionsRequest.cc deleted file mode 100644 index dbbe168e1..000000000 --- a/cloudesl/src/model/DescribeRoleActionsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribeRoleActionsRequest; - -DescribeRoleActionsRequest::DescribeRoleActionsRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeRoleActions") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoleActionsRequest::~DescribeRoleActionsRequest() -{} - -std::string DescribeRoleActionsRequest::getRoleCode()const -{ - return roleCode_; -} - -void DescribeRoleActionsRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setBodyParameter("RoleCode", roleCode); -} - -std::string DescribeRoleActionsRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeRoleActionsRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - diff --git a/cloudesl/src/model/DescribeRoleActionsResult.cc b/cloudesl/src/model/DescribeRoleActionsResult.cc deleted file mode 100644 index 6159455b4..000000000 --- a/cloudesl/src/model/DescribeRoleActionsResult.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cloudesl; -using namespace AlibabaCloud::Cloudesl::Model; - -DescribeRoleActionsResult::DescribeRoleActionsResult() : - ServiceResult() -{} - -DescribeRoleActionsResult::DescribeRoleActionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRoleActionsResult::~DescribeRoleActionsResult() -{} - -void DescribeRoleActionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRoleAclInfosNode = value["RoleAclInfos"]["RoleAclInfo"]; - for (auto valueRoleAclInfosRoleAclInfo : allRoleAclInfosNode) - { - RoleAclInfo roleAclInfosObject; - if(!valueRoleAclInfosRoleAclInfo["RoleCode"].isNull()) - roleAclInfosObject.roleCode = valueRoleAclInfosRoleAclInfo["RoleCode"].asString(); - if(!valueRoleAclInfosRoleAclInfo["Name"].isNull()) - roleAclInfosObject.name = valueRoleAclInfosRoleAclInfo["Name"].asString(); - auto allAccessControlListsNode = allRoleAclInfosNode["AccessControlLists"]["RoleActionInfo"]; - for (auto allRoleAclInfosNodeAccessControlListsRoleActionInfo : allAccessControlListsNode) - { - RoleAclInfo::RoleActionInfo accessControlListsObject; - if(!allRoleAclInfosNodeAccessControlListsRoleActionInfo["Code"].isNull()) - accessControlListsObject.code = allRoleAclInfosNodeAccessControlListsRoleActionInfo["Code"].asString(); - roleAclInfosObject.accessControlLists.push_back(accessControlListsObject); - } - roleAclInfos_.push_back(roleAclInfosObject); - } - 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"; - -} - -std::string DescribeRoleActionsResult::getMessage()const -{ - return message_; -} - -std::vector DescribeRoleActionsResult::getRoleAclInfos()const -{ - return roleAclInfos_; -} - -std::string DescribeRoleActionsResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribeRoleActionsResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeRoleActionsResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeRoleActionsResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeRoleActionsResult::getCode()const -{ - return code_; -} - -bool DescribeRoleActionsResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeStoreConfigRequest.cc b/cloudesl/src/model/DescribeStoreConfigRequest.cc deleted file mode 100644 index 4cf26cd75..000000000 --- a/cloudesl/src/model/DescribeStoreConfigRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribeStoreConfigRequest; - -DescribeStoreConfigRequest::DescribeStoreConfigRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeStoreConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeStoreConfigRequest::~DescribeStoreConfigRequest() -{} - -std::string DescribeStoreConfigRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeStoreConfigRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribeStoreConfigRequest::getStoreId()const -{ - return storeId_; -} - -void DescribeStoreConfigRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - diff --git a/cloudesl/src/model/DescribeStoreConfigResult.cc b/cloudesl/src/model/DescribeStoreConfigResult.cc deleted file mode 100644 index 15f994393..000000000 --- a/cloudesl/src/model/DescribeStoreConfigResult.cc +++ /dev/null @@ -1,107 +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; - -DescribeStoreConfigResult::DescribeStoreConfigResult() : - ServiceResult() -{} - -DescribeStoreConfigResult::DescribeStoreConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeStoreConfigResult::~DescribeStoreConfigResult() -{} - -void DescribeStoreConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto storeConfigInfoNode = value["StoreConfigInfo"]; - 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(); - 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"; - -} - -DescribeStoreConfigResult::StoreConfigInfo DescribeStoreConfigResult::getStoreConfigInfo()const -{ - return storeConfigInfo_; -} - -std::string DescribeStoreConfigResult::getMessage()const -{ - return message_; -} - -std::string DescribeStoreConfigResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribeStoreConfigResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeStoreConfigResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeStoreConfigResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeStoreConfigResult::getCode()const -{ - return code_; -} - -bool DescribeStoreConfigResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeStoresRequest.cc b/cloudesl/src/model/DescribeStoresRequest.cc index 61fe8ca40..587bda93e 100644 --- a/cloudesl/src/model/DescribeStoresRequest.cc +++ b/cloudesl/src/model/DescribeStoresRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::DescribeStoresRequest; DescribeStoresRequest::DescribeStoresRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeStores") + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeStores") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ DescribeStoresRequest::DescribeStoresRequest() : DescribeStoresRequest::~DescribeStoresRequest() {} -std::string DescribeStoresRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeStoresRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string DescribeStoresRequest::getStoreName()const { return storeName_; @@ -46,7 +35,7 @@ std::string DescribeStoresRequest::getStoreName()const void DescribeStoresRequest::setStoreName(const std::string& storeName) { storeName_ = storeName; - setBodyParameter("StoreName", storeName); + setParameter("StoreName", storeName); } std::string DescribeStoresRequest::getStoreId()const @@ -57,7 +46,7 @@ std::string DescribeStoresRequest::getStoreId()const void DescribeStoresRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); + setParameter("StoreId", storeId); } int DescribeStoresRequest::getPageNumber()const @@ -68,7 +57,7 @@ int DescribeStoresRequest::getPageNumber()const void DescribeStoresRequest::setPageNumber(int pageNumber) { pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); + setParameter("PageNumber", std::to_string(pageNumber)); } std::string DescribeStoresRequest::getFromDate()const @@ -79,7 +68,7 @@ std::string DescribeStoresRequest::getFromDate()const void DescribeStoresRequest::setFromDate(const std::string& fromDate) { fromDate_ = fromDate; - setBodyParameter("FromDate", fromDate); + setParameter("FromDate", fromDate); } std::string DescribeStoresRequest::getToDate()const @@ -90,7 +79,7 @@ std::string DescribeStoresRequest::getToDate()const void DescribeStoresRequest::setToDate(const std::string& toDate) { toDate_ = toDate; - setBodyParameter("ToDate", toDate); + setParameter("ToDate", toDate); } int DescribeStoresRequest::getPageSize()const @@ -101,17 +90,28 @@ int DescribeStoresRequest::getPageSize()const void DescribeStoresRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); + setParameter("PageSize", std::to_string(pageSize)); } -std::string DescribeStoresRequest::getUserStoreCode()const +std::string DescribeStoresRequest::getBrand()const { - return userStoreCode_; + return brand_; } -void DescribeStoresRequest::setUserStoreCode(const std::string& userStoreCode) +void DescribeStoresRequest::setBrand(const std::string& brand) { - userStoreCode_ = userStoreCode; - setBodyParameter("UserStoreCode", userStoreCode); + brand_ = brand; + setParameter("Brand", brand); +} + +std::string DescribeStoresRequest::getGroups()const +{ + return groups_; +} + +void DescribeStoresRequest::setGroups(const std::string& groups) +{ + groups_ = groups; + setParameter("Groups", groups); } diff --git a/cloudesl/src/model/DescribeStoresResult.cc b/cloudesl/src/model/DescribeStoresResult.cc index 6707be232..41e0c7b6a 100644 --- a/cloudesl/src/model/DescribeStoresResult.cc +++ b/cloudesl/src/model/DescribeStoresResult.cc @@ -43,44 +43,44 @@ void DescribeStoresResult::parse(const std::string &payload) for (auto valueStoresStoreInfo : allStoresNode) { StoreInfo storesObject; - if(!valueStoresStoreInfo["StoreName"].isNull()) - storesObject.storeName = valueStoresStoreInfo["StoreName"].asString(); + if(!valueStoresStoreInfo["CompanyId"].isNull()) + storesObject.companyId = valueStoresStoreInfo["CompanyId"].asString(); if(!valueStoresStoreInfo["StoreId"].isNull()) storesObject.storeId = valueStoresStoreInfo["StoreId"].asString(); - if(!valueStoresStoreInfo["GmtCreate"].isNull()) - storesObject.gmtCreate = valueStoresStoreInfo["GmtCreate"].asString(); - if(!valueStoresStoreInfo["ParentId"].isNull()) - storesObject.parentId = valueStoresStoreInfo["ParentId"].asString(); - if(!valueStoresStoreInfo["UserStoreCode"].isNull()) - storesObject.userStoreCode = valueStoresStoreInfo["UserStoreCode"].asString(); - if(!valueStoresStoreInfo["GmtModified"].isNull()) - storesObject.gmtModified = valueStoresStoreInfo["GmtModified"].asString(); + if(!valueStoresStoreInfo["StoreName"].isNull()) + storesObject.storeName = valueStoresStoreInfo["StoreName"].asString(); + if(!valueStoresStoreInfo["Brand"].isNull()) + storesObject.brand = valueStoresStoreInfo["Brand"].asString(); + if(!valueStoresStoreInfo["OutId"].isNull()) + storesObject.outId = valueStoresStoreInfo["OutId"].asString(); if(!valueStoresStoreInfo["Phone"].isNull()) storesObject.phone = valueStoresStoreInfo["Phone"].asString(); if(!valueStoresStoreInfo["Level"].isNull()) storesObject.level = valueStoresStoreInfo["Level"].asString(); + if(!valueStoresStoreInfo["Groups"].isNull()) + storesObject.groups = valueStoresStoreInfo["Groups"].asString(); + if(!valueStoresStoreInfo["Comments"].isNull()) + storesObject.comments = valueStoresStoreInfo["Comments"].asString(); + if(!valueStoresStoreInfo["ParentId"].isNull()) + storesObject.parentId = valueStoresStoreInfo["ParentId"].asString(); + if(!valueStoresStoreInfo["GmtCreate"].isNull()) + storesObject.gmtCreate = valueStoresStoreInfo["GmtCreate"].asString(); + if(!valueStoresStoreInfo["GmtModified"].isNull()) + storesObject.gmtModified = valueStoresStoreInfo["GmtModified"].asString(); stores_.push_back(storesObject); } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].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["TotalCount"].isNull()) totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["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"; + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); } @@ -104,11 +104,6 @@ int DescribeStoresResult::getPageNumber()const return pageNumber_; } -std::string DescribeStoresResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::vector DescribeStoresResult::getStores()const { return stores_; @@ -119,21 +114,6 @@ std::string DescribeStoresResult::getErrorCode()const return errorCode_; } -std::string DescribeStoresResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeStoresResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeStoresResult::getCode()const -{ - return code_; -} - bool DescribeStoresResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/DescribeUserLogRequest.cc b/cloudesl/src/model/DescribeUserLogRequest.cc deleted file mode 100644 index ff9aedc81..000000000 --- a/cloudesl/src/model/DescribeUserLogRequest.cc +++ /dev/null @@ -1,172 +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::DescribeUserLogRequest; - -DescribeUserLogRequest::DescribeUserLogRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeUserLog") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserLogRequest::~DescribeUserLogRequest() -{} - -std::string DescribeUserLogRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeUserLogRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribeUserLogRequest::getStoreId()const -{ - return storeId_; -} - -void DescribeUserLogRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string DescribeUserLogRequest::getUserId()const -{ - return userId_; -} - -void DescribeUserLogRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - -int DescribeUserLogRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeUserLogRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeUserLogRequest::getFromDate()const -{ - return fromDate_; -} - -void DescribeUserLogRequest::setFromDate(const std::string& fromDate) -{ - fromDate_ = fromDate; - setBodyParameter("FromDate", fromDate); -} - -std::string DescribeUserLogRequest::getOperationStatus()const -{ - return operationStatus_; -} - -void DescribeUserLogRequest::setOperationStatus(const std::string& operationStatus) -{ - operationStatus_ = operationStatus; - setBodyParameter("OperationStatus", operationStatus); -} - -std::string DescribeUserLogRequest::getToDate()const -{ - return toDate_; -} - -void DescribeUserLogRequest::setToDate(const std::string& toDate) -{ - toDate_ = toDate; - setBodyParameter("ToDate", toDate); -} - -std::string DescribeUserLogRequest::getEslBarCode()const -{ - return eslBarCode_; -} - -void DescribeUserLogRequest::setEslBarCode(const std::string& eslBarCode) -{ - eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); -} - -int DescribeUserLogRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeUserLogRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeUserLogRequest::getItemBarCode()const -{ - return itemBarCode_; -} - -void DescribeUserLogRequest::setItemBarCode(const std::string& itemBarCode) -{ - itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); -} - -std::string DescribeUserLogRequest::getItemShortTitle()const -{ - return itemShortTitle_; -} - -void DescribeUserLogRequest::setItemShortTitle(const std::string& itemShortTitle) -{ - itemShortTitle_ = itemShortTitle; - setBodyParameter("ItemShortTitle", itemShortTitle); -} - -std::string DescribeUserLogRequest::getOperationType()const -{ - return operationType_; -} - -void DescribeUserLogRequest::setOperationType(const std::string& operationType) -{ - operationType_ = operationType; - setBodyParameter("OperationType", operationType); -} - -std::string DescribeUserLogRequest::getLogId()const -{ - return logId_; -} - -void DescribeUserLogRequest::setLogId(const std::string& logId) -{ - logId_ = logId; - setBodyParameter("LogId", logId); -} - diff --git a/cloudesl/src/model/DescribeUserLogResult.cc b/cloudesl/src/model/DescribeUserLogResult.cc deleted file mode 100644 index 575f133eb..000000000 --- a/cloudesl/src/model/DescribeUserLogResult.cc +++ /dev/null @@ -1,161 +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; - -DescribeUserLogResult::DescribeUserLogResult() : - ServiceResult() -{} - -DescribeUserLogResult::DescribeUserLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUserLogResult::~DescribeUserLogResult() -{} - -void DescribeUserLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUserLogsNode = value["UserLogs"]["UserLogInfo"]; - for (auto valueUserLogsUserLogInfo : allUserLogsNode) - { - UserLogInfo userLogsObject; - if(!valueUserLogsUserLogInfo["ResultCode"].isNull()) - userLogsObject.resultCode = valueUserLogsUserLogInfo["ResultCode"].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["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["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["BePromotion"].isNull()) - userLogsObject.bePromotion = valueUserLogsUserLogInfo["BePromotion"].asString() == "true"; - if(!valueUserLogsUserLogInfo["UserId"].isNull()) - userLogsObject.userId = valueUserLogsUserLogInfo["UserId"].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["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeUserLogResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeUserLogResult::getMessage()const -{ - return message_; -} - -int DescribeUserLogResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeUserLogResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribeUserLogResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DescribeUserLogResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeUserLogResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeUserLogResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeUserLogResult::getCode()const -{ - return code_; -} - -std::vector DescribeUserLogResult::getUserLogs()const -{ - return userLogs_; -} - -bool DescribeUserLogResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DescribeUserOperationLogRequest.cc b/cloudesl/src/model/DescribeUserOperationLogRequest.cc new file mode 100644 index 000000000..a34dd98ba --- /dev/null +++ b/cloudesl/src/model/DescribeUserOperationLogRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::DescribeUserOperationLogRequest; + +DescribeUserOperationLogRequest::DescribeUserOperationLogRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeUserOperationLog") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeUserOperationLogRequest::~DescribeUserOperationLogRequest() +{} + +long DescribeUserOperationLogRequest::getOperateUserId()const +{ + return operateUserId_; +} + +void DescribeUserOperationLogRequest::setOperateUserId(long operateUserId) +{ + operateUserId_ = operateUserId; + setParameter("OperateUserId", std::to_string(operateUserId)); +} + +std::string DescribeUserOperationLogRequest::getStoreId()const +{ + return storeId_; +} + +void DescribeUserOperationLogRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +int DescribeUserOperationLogRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeUserOperationLogRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeUserOperationLogRequest::getFromDate()const +{ + return fromDate_; +} + +void DescribeUserOperationLogRequest::setFromDate(const std::string& fromDate) +{ + fromDate_ = fromDate; + setParameter("FromDate", fromDate); +} + +long DescribeUserOperationLogRequest::getItemId()const +{ + return itemId_; +} + +void DescribeUserOperationLogRequest::setItemId(long itemId) +{ + itemId_ = itemId; + setParameter("ItemId", std::to_string(itemId)); +} + +std::string DescribeUserOperationLogRequest::getToDate()const +{ + return toDate_; +} + +void DescribeUserOperationLogRequest::setToDate(const std::string& toDate) +{ + toDate_ = toDate; + setParameter("ToDate", toDate); +} + +std::string DescribeUserOperationLogRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void DescribeUserOperationLogRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setParameter("EslBarCode", eslBarCode); +} + +int DescribeUserOperationLogRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeUserOperationLogRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeUserOperationLogRequest::getItemBarCode()const +{ + return itemBarCode_; +} + +void DescribeUserOperationLogRequest::setItemBarCode(const std::string& itemBarCode) +{ + itemBarCode_ = itemBarCode; + setParameter("ItemBarCode", itemBarCode); +} + +std::string DescribeUserOperationLogRequest::getItemTitle()const +{ + return itemTitle_; +} + +void DescribeUserOperationLogRequest::setItemTitle(const std::string& itemTitle) +{ + itemTitle_ = itemTitle; + setParameter("ItemTitle", itemTitle); +} + +std::string DescribeUserOperationLogRequest::getOperateStatus()const +{ + return operateStatus_; +} + +void DescribeUserOperationLogRequest::setOperateStatus(const std::string& operateStatus) +{ + operateStatus_ = operateStatus; + setParameter("OperateStatus", operateStatus); +} + +bool DescribeUserOperationLogRequest::getReverse()const +{ + return reverse_; +} + +void DescribeUserOperationLogRequest::setReverse(bool reverse) +{ + reverse_ = reverse; + setParameter("Reverse", reverse ? "true" : "false"); +} + +std::string DescribeUserOperationLogRequest::getOperateType()const +{ + return operateType_; +} + +void DescribeUserOperationLogRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setParameter("OperateType", operateType); +} + diff --git a/cloudesl/src/model/DescribeUserOperationLogResult.cc b/cloudesl/src/model/DescribeUserOperationLogResult.cc new file mode 100644 index 000000000..f0b69686e --- /dev/null +++ b/cloudesl/src/model/DescribeUserOperationLogResult.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +DescribeUserOperationLogResult::DescribeUserOperationLogResult() : + ServiceResult() +{} + +DescribeUserOperationLogResult::DescribeUserOperationLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserOperationLogResult::~DescribeUserOperationLogResult() +{} + +void DescribeUserOperationLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOperationLogsNode = value["OperationLogs"]["OperationLogInfo"]; + for (auto valueOperationLogsOperationLogInfo : allOperationLogsNode) + { + OperationLogInfo operationLogsObject; + if(!valueOperationLogsOperationLogInfo["OperateType"].isNull()) + operationLogsObject.operateType = valueOperationLogsOperationLogInfo["OperateType"].asString(); + if(!valueOperationLogsOperationLogInfo["OperateStatus"].isNull()) + operationLogsObject.operateStatus = valueOperationLogsOperationLogInfo["OperateStatus"].asString(); + if(!valueOperationLogsOperationLogInfo["OperateUserId"].isNull()) + operationLogsObject.operateUserId = std::stol(valueOperationLogsOperationLogInfo["OperateUserId"].asString()); + if(!valueOperationLogsOperationLogInfo["OperateTime"].isNull()) + operationLogsObject.operateTime = valueOperationLogsOperationLogInfo["OperateTime"].asString(); + if(!valueOperationLogsOperationLogInfo["StoreId"].isNull()) + operationLogsObject.storeId = valueOperationLogsOperationLogInfo["StoreId"].asString(); + if(!valueOperationLogsOperationLogInfo["ItemTitle"].isNull()) + operationLogsObject.itemTitle = valueOperationLogsOperationLogInfo["ItemTitle"].asString(); + if(!valueOperationLogsOperationLogInfo["ItemId"].isNull()) + operationLogsObject.itemId = valueOperationLogsOperationLogInfo["ItemId"].asString(); + if(!valueOperationLogsOperationLogInfo["ItemActionPrice"].isNull()) + operationLogsObject.itemActionPrice = std::stoi(valueOperationLogsOperationLogInfo["ItemActionPrice"].asString()); + if(!valueOperationLogsOperationLogInfo["ItemBarCode"].isNull()) + operationLogsObject.itemBarCode = valueOperationLogsOperationLogInfo["ItemBarCode"].asString(); + if(!valueOperationLogsOperationLogInfo["EslBarCode"].isNull()) + operationLogsObject.eslBarCode = valueOperationLogsOperationLogInfo["EslBarCode"].asString(); + if(!valueOperationLogsOperationLogInfo["ShelfCode"].isNull()) + operationLogsObject.shelfCode = valueOperationLogsOperationLogInfo["ShelfCode"].asString(); + operationLogs_.push_back(operationLogsObject); + } + 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["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()); + +} + +std::vector DescribeUserOperationLogResult::getOperationLogs()const +{ + return operationLogs_; +} + +int DescribeUserOperationLogResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeUserOperationLogResult::getMessage()const +{ + return message_; +} + +int DescribeUserOperationLogResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeUserOperationLogResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeUserOperationLogResult::getErrorCode()const +{ + return errorCode_; +} + +bool DescribeUserOperationLogResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/DescribeUserRamPolicyRequest.cc b/cloudesl/src/model/DescribeUserRamPolicyRequest.cc new file mode 100644 index 000000000..d12b429c3 --- /dev/null +++ b/cloudesl/src/model/DescribeUserRamPolicyRequest.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::DescribeUserRamPolicyRequest; + +DescribeUserRamPolicyRequest::DescribeUserRamPolicyRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "DescribeUserRamPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeUserRamPolicyRequest::~DescribeUserRamPolicyRequest() +{} + +std::string DescribeUserRamPolicyRequest::getUserType()const +{ + return userType_; +} + +void DescribeUserRamPolicyRequest::setUserType(const std::string& userType) +{ + userType_ = userType; + setParameter("UserType", userType); +} + +std::string DescribeUserRamPolicyRequest::getStoreId()const +{ + return storeId_; +} + +void DescribeUserRamPolicyRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +std::string DescribeUserRamPolicyRequest::getCompanyId()const +{ + return companyId_; +} + +void DescribeUserRamPolicyRequest::setCompanyId(const std::string& companyId) +{ + companyId_ = companyId; + setParameter("CompanyId", companyId); +} + diff --git a/cloudesl/src/model/AssignUserResult.cc b/cloudesl/src/model/DescribeUserRamPolicyResult.cc similarity index 54% rename from cloudesl/src/model/AssignUserResult.cc rename to cloudesl/src/model/DescribeUserRamPolicyResult.cc index 1a3644e8d..24ff1571f 100644 --- a/cloudesl/src/model/AssignUserResult.cc +++ b/cloudesl/src/model/DescribeUserRamPolicyResult.cc @@ -14,79 +14,58 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cloudesl; using namespace AlibabaCloud::Cloudesl::Model; -AssignUserResult::AssignUserResult() : +DescribeUserRamPolicyResult::DescribeUserRamPolicyResult() : ServiceResult() {} -AssignUserResult::AssignUserResult(const std::string &payload) : +DescribeUserRamPolicyResult::DescribeUserRamPolicyResult(const std::string &payload) : ServiceResult() { parse(payload); } -AssignUserResult::~AssignUserResult() +DescribeUserRamPolicyResult::~DescribeUserRamPolicyResult() {} -void AssignUserResult::parse(const std::string &payload) +void DescribeUserRamPolicyResult::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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Policy"].isNull()) + policy_ = value["Policy"].asString(); } -std::string AssignUserResult::getMessage()const +std::string DescribeUserRamPolicyResult::getPolicy()const +{ + return policy_; +} + +std::string DescribeUserRamPolicyResult::getMessage()const { return message_; } -std::string AssignUserResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string AssignUserResult::getErrorCode()const +std::string DescribeUserRamPolicyResult::getErrorCode()const { return errorCode_; } -std::string AssignUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string AssignUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string AssignUserResult::getCode()const -{ - return code_; -} - -bool AssignUserResult::getSuccess()const +bool DescribeUserRamPolicyResult::getSuccess()const { return success_; } diff --git a/cloudesl/src/model/DescribeUsersRequest.cc b/cloudesl/src/model/DescribeUsersRequest.cc deleted file mode 100644 index b7ccae713..000000000 --- a/cloudesl/src/model/DescribeUsersRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DescribeUsersRequest; - -DescribeUsersRequest::DescribeUsersRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DescribeUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUsersRequest::~DescribeUsersRequest() -{} - -std::string DescribeUsersRequest::getExtraParams()const -{ - return extraParams_; -} - -void DescribeUsersRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DescribeUsersRequest::getUserId()const -{ - return userId_; -} - -void DescribeUsersRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - -int DescribeUsersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeUsersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - -int DescribeUsersRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeUsersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeUsersRequest::getUserType()const -{ - return userType_; -} - -void DescribeUsersRequest::setUserType(const std::string& userType) -{ - userType_ = userType; - setBodyParameter("UserType", userType); -} - -std::string DescribeUsersRequest::getUserName()const -{ - return userName_; -} - -void DescribeUsersRequest::setUserName(const std::string& userName) -{ - userName_ = userName; - setBodyParameter("UserName", userName); -} - diff --git a/cloudesl/src/model/DescribeUsersResult.cc b/cloudesl/src/model/DescribeUsersResult.cc deleted file mode 100644 index 14f7689b0..000000000 --- a/cloudesl/src/model/DescribeUsersResult.cc +++ /dev/null @@ -1,147 +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; - -DescribeUsersResult::DescribeUsersResult() : - ServiceResult() -{} - -DescribeUsersResult::DescribeUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUsersResult::~DescribeUsersResult() -{} - -void DescribeUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUsersNode = value["Users"]["UserInfo"]; - for (auto valueUsersUserInfo : allUsersNode) - { - UserInfo usersObject; - if(!valueUsersUserInfo["Stores"].isNull()) - usersObject.stores = valueUsersUserInfo["Stores"].asString(); - if(!valueUsersUserInfo["UserName"].isNull()) - usersObject.userName = valueUsersUserInfo["UserName"].asString(); - if(!valueUsersUserInfo["UserId"].isNull()) - usersObject.userId = valueUsersUserInfo["UserId"].asString(); - if(!valueUsersUserInfo["UserType"].isNull()) - usersObject.userType = valueUsersUserInfo["UserType"].asString(); - if(!valueUsersUserInfo["OwnerId"].isNull()) - usersObject.ownerId = valueUsersUserInfo["OwnerId"].asString(); - if(!valueUsersUserInfo["Bid"].isNull()) - usersObject.bid = valueUsersUserInfo["Bid"].asString(); - auto allDingTalkInfosNode = allUsersNode["DingTalkInfos"]["DingTalkInfo"]; - for (auto allUsersNodeDingTalkInfosDingTalkInfo : allDingTalkInfosNode) - { - UserInfo::DingTalkInfo dingTalkInfosObject; - if(!allUsersNodeDingTalkInfosDingTalkInfo["DingTalkCompanyId"].isNull()) - dingTalkInfosObject.dingTalkCompanyId = allUsersNodeDingTalkInfosDingTalkInfo["DingTalkCompanyId"].asString(); - if(!allUsersNodeDingTalkInfosDingTalkInfo["DingTalkUserId"].isNull()) - dingTalkInfosObject.dingTalkUserId = allUsersNodeDingTalkInfosDingTalkInfo["DingTalkUserId"].asString(); - usersObject.dingTalkInfos.push_back(dingTalkInfosObject); - } - users_.push_back(usersObject); - } - 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["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["DynamicCode"].isNull()) - dynamicCode_ = value["DynamicCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["DynamicMessage"].isNull()) - dynamicMessage_ = value["DynamicMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int DescribeUsersResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeUsersResult::getMessage()const -{ - return message_; -} - -int DescribeUsersResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeUsersResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribeUsersResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::vector DescribeUsersResult::getUsers()const -{ - return users_; -} - -std::string DescribeUsersResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DescribeUsersResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DescribeUsersResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DescribeUsersResult::getCode()const -{ - return code_; -} - -bool DescribeUsersResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/DissociatePlanogramRailRequest.cc b/cloudesl/src/model/DissociatePlanogramRailRequest.cc deleted file mode 100644 index 07a73c6d0..000000000 --- a/cloudesl/src/model/DissociatePlanogramRailRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::DissociatePlanogramRailRequest; - -DissociatePlanogramRailRequest::DissociatePlanogramRailRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "DissociatePlanogramRail") -{ - setMethod(HttpRequest::Method::Post); -} - -DissociatePlanogramRailRequest::~DissociatePlanogramRailRequest() -{} - -std::string DissociatePlanogramRailRequest::getExtraParams()const -{ - return extraParams_; -} - -void DissociatePlanogramRailRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string DissociatePlanogramRailRequest::getStoreId()const -{ - return storeId_; -} - -void DissociatePlanogramRailRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string DissociatePlanogramRailRequest::getRailCode()const -{ - return railCode_; -} - -void DissociatePlanogramRailRequest::setRailCode(const std::string& railCode) -{ - railCode_ = railCode; - setBodyParameter("RailCode", railCode); -} - diff --git a/cloudesl/src/model/DissociatePlanogramRailResult.cc b/cloudesl/src/model/DissociatePlanogramRailResult.cc deleted file mode 100644 index 14f70a0d7..000000000 --- a/cloudesl/src/model/DissociatePlanogramRailResult.cc +++ /dev/null @@ -1,93 +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; - -DissociatePlanogramRailResult::DissociatePlanogramRailResult() : - ServiceResult() -{} - -DissociatePlanogramRailResult::DissociatePlanogramRailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DissociatePlanogramRailResult::~DissociatePlanogramRailResult() -{} - -void DissociatePlanogramRailResult::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["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"; - -} - -std::string DissociatePlanogramRailResult::getMessage()const -{ - return message_; -} - -std::string DissociatePlanogramRailResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string DissociatePlanogramRailResult::getErrorCode()const -{ - return errorCode_; -} - -std::string DissociatePlanogramRailResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string DissociatePlanogramRailResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string DissociatePlanogramRailResult::getCode()const -{ - return code_; -} - -bool DissociatePlanogramRailResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/GetUserResult.cc b/cloudesl/src/model/GetUserResult.cc deleted file mode 100644 index 3fbec28a5..000000000 --- a/cloudesl/src/model/GetUserResult.cc +++ /dev/null @@ -1,121 +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; - -GetUserResult::GetUserResult() : - ServiceResult() -{} - -GetUserResult::GetUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetUserResult::~GetUserResult() -{} - -void GetUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto userNode = value["User"]; - if(!userNode["Stores"].isNull()) - user_.stores = userNode["Stores"].asString(); - if(!userNode["UserName"].isNull()) - user_.userName = userNode["UserName"].asString(); - if(!userNode["UserId"].isNull()) - user_.userId = userNode["UserId"].asString(); - if(!userNode["UserType"].isNull()) - user_.userType = userNode["UserType"].asString(); - if(!userNode["OwnerId"].isNull()) - user_.ownerId = userNode["OwnerId"].asString(); - if(!userNode["Bid"].isNull()) - user_.bid = userNode["Bid"].asString(); - auto allDingTalkInfosNode = userNode["DingTalkInfos"]["DingTalkInfo"]; - for (auto userNodeDingTalkInfosDingTalkInfo : allDingTalkInfosNode) - { - User::DingTalkInfo dingTalkInfoObject; - if(!userNodeDingTalkInfosDingTalkInfo["DingTalkCompanyId"].isNull()) - dingTalkInfoObject.dingTalkCompanyId = userNodeDingTalkInfosDingTalkInfo["DingTalkCompanyId"].asString(); - if(!userNodeDingTalkInfosDingTalkInfo["DingTalkUserId"].isNull()) - dingTalkInfoObject.dingTalkUserId = userNodeDingTalkInfosDingTalkInfo["DingTalkUserId"].asString(); - user_.dingTalkInfos.push_back(dingTalkInfoObject); - } - 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"; - -} - -GetUserResult::User GetUserResult::getUser()const -{ - return user_; -} - -std::string GetUserResult::getMessage()const -{ - return message_; -} - -std::string GetUserResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string GetUserResult::getErrorCode()const -{ - return errorCode_; -} - -std::string GetUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string GetUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string GetUserResult::getCode()const -{ - return code_; -} - -bool GetUserResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/SearchApServiceRequest.cc b/cloudesl/src/model/SearchApServiceRequest.cc new file mode 100644 index 000000000..934d05623 --- /dev/null +++ b/cloudesl/src/model/SearchApServiceRequest.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::SearchApServiceRequest; + +SearchApServiceRequest::SearchApServiceRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "SearchApService") +{ + setMethod(HttpRequest::Method::Post); +} + +SearchApServiceRequest::~SearchApServiceRequest() +{} + +std::string SearchApServiceRequest::getApMac()const +{ + return apMac_; +} + +void SearchApServiceRequest::setApMac(const std::string& apMac) +{ + apMac_ = apMac; + setParameter("ApMac", apMac); +} + +std::string SearchApServiceRequest::getStoreId()const +{ + return storeId_; +} + +void SearchApServiceRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +int SearchApServiceRequest::getPageNumber()const +{ + return pageNumber_; +} + +void SearchApServiceRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int SearchApServiceRequest::getPageSize()const +{ + return pageSize_; +} + +void SearchApServiceRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +bool SearchApServiceRequest::getActivated()const +{ + return activated_; +} + +void SearchApServiceRequest::setActivated(bool activated) +{ + activated_ = activated; + setParameter("Activated", activated ? "true" : "false"); +} + diff --git a/cloudesl/src/model/SearchApServiceResult.cc b/cloudesl/src/model/SearchApServiceResult.cc new file mode 100644 index 000000000..bfa88c618 --- /dev/null +++ b/cloudesl/src/model/SearchApServiceResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +SearchApServiceResult::SearchApServiceResult() : + ServiceResult() +{} + +SearchApServiceResult::SearchApServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SearchApServiceResult::~SearchApServiceResult() +{} + +void SearchApServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["ApInfo"]; + for (auto valueItemsApInfo : allItemsNode) + { + ApInfo itemsObject; + if(!valueItemsApInfo["IsActivate"].isNull()) + itemsObject.isActivate = valueItemsApInfo["IsActivate"].asString() == "true"; + if(!valueItemsApInfo["Mac"].isNull()) + itemsObject.mac = valueItemsApInfo["Mac"].asString(); + if(!valueItemsApInfo["Model"].isNull()) + itemsObject.model = valueItemsApInfo["Model"].asString(); + if(!valueItemsApInfo["Status"].isNull()) + itemsObject.status = valueItemsApInfo["Status"].asString() == "true"; + items_.push_back(itemsObject); + } + 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["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int SearchApServiceResult::getTotalCount()const +{ + return totalCount_; +} + +std::string SearchApServiceResult::getMessage()const +{ + return message_; +} + +int SearchApServiceResult::getPageSize()const +{ + return pageSize_; +} + +int SearchApServiceResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector SearchApServiceResult::getItems()const +{ + return items_; +} + +std::string SearchApServiceResult::getErrorCode()const +{ + return errorCode_; +} + +bool SearchApServiceResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UnassignUserRequest.cc b/cloudesl/src/model/UnassignUserRequest.cc deleted file mode 100644 index 703c24b7b..000000000 --- a/cloudesl/src/model/UnassignUserRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::UnassignUserRequest; - -UnassignUserRequest::UnassignUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UnassignUser") -{ - setMethod(HttpRequest::Method::Post); -} - -UnassignUserRequest::~UnassignUserRequest() -{} - -std::string UnassignUserRequest::getExtraParams()const -{ - return extraParams_; -} - -void UnassignUserRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string UnassignUserRequest::getUserId()const -{ - return userId_; -} - -void UnassignUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - diff --git a/cloudesl/src/model/UnassignUserResult.cc b/cloudesl/src/model/UnassignUserResult.cc deleted file mode 100644 index 6798951e2..000000000 --- a/cloudesl/src/model/UnassignUserResult.cc +++ /dev/null @@ -1,93 +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; - -UnassignUserResult::UnassignUserResult() : - ServiceResult() -{} - -UnassignUserResult::UnassignUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UnassignUserResult::~UnassignUserResult() -{} - -void UnassignUserResult::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["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"; - -} - -std::string UnassignUserResult::getMessage()const -{ - return message_; -} - -std::string UnassignUserResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string UnassignUserResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UnassignUserResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UnassignUserResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string UnassignUserResult::getCode()const -{ - return code_; -} - -bool UnassignUserResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/UnbindEslDeviceRequest.cc b/cloudesl/src/model/UnbindEslDeviceRequest.cc index ae9a4e1e5..e751ffddd 100644 --- a/cloudesl/src/model/UnbindEslDeviceRequest.cc +++ b/cloudesl/src/model/UnbindEslDeviceRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::UnbindEslDeviceRequest; UnbindEslDeviceRequest::UnbindEslDeviceRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UnbindEslDevice") + RpcServiceRequest("cloudesl", "2018-08-01", "UnbindEslDevice") { setMethod(HttpRequest::Method::Post); } @@ -27,17 +27,6 @@ UnbindEslDeviceRequest::UnbindEslDeviceRequest() : UnbindEslDeviceRequest::~UnbindEslDeviceRequest() {} -std::string UnbindEslDeviceRequest::getExtraParams()const -{ - return extraParams_; -} - -void UnbindEslDeviceRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - std::string UnbindEslDeviceRequest::getStoreId()const { return storeId_; @@ -46,18 +35,7 @@ std::string UnbindEslDeviceRequest::getStoreId()const void UnbindEslDeviceRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -int UnbindEslDeviceRequest::getLayer()const -{ - return layer_; -} - -void UnbindEslDeviceRequest::setLayer(int layer) -{ - layer_ = layer; - setBodyParameter("Layer", std::to_string(layer)); + setParameter("StoreId", storeId); } std::string UnbindEslDeviceRequest::getEslBarCode()const @@ -68,7 +46,7 @@ std::string UnbindEslDeviceRequest::getEslBarCode()const void UnbindEslDeviceRequest::setEslBarCode(const std::string& eslBarCode) { eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); + setParameter("EslBarCode", eslBarCode); } std::string UnbindEslDeviceRequest::getItemBarCode()const @@ -79,28 +57,6 @@ std::string UnbindEslDeviceRequest::getItemBarCode()const void UnbindEslDeviceRequest::setItemBarCode(const std::string& itemBarCode) { itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); -} - -std::string UnbindEslDeviceRequest::getColumn()const -{ - return column_; -} - -void UnbindEslDeviceRequest::setColumn(const std::string& column) -{ - column_ = column; - setBodyParameter("Column", column); -} - -std::string UnbindEslDeviceRequest::getShelf()const -{ - return shelf_; -} - -void UnbindEslDeviceRequest::setShelf(const std::string& shelf) -{ - shelf_ = shelf; - setBodyParameter("Shelf", shelf); + setParameter("ItemBarCode", itemBarCode); } diff --git a/cloudesl/src/model/UnbindEslDeviceResult.cc b/cloudesl/src/model/UnbindEslDeviceResult.cc index b9b341310..a1d179e42 100644 --- a/cloudesl/src/model/UnbindEslDeviceResult.cc +++ b/cloudesl/src/model/UnbindEslDeviceResult.cc @@ -39,20 +39,12 @@ void UnbindEslDeviceResult::parse(const std::string &payload) 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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } @@ -61,31 +53,11 @@ std::string UnbindEslDeviceResult::getMessage()const return message_; } -std::string UnbindEslDeviceResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string UnbindEslDeviceResult::getErrorCode()const { return errorCode_; } -std::string UnbindEslDeviceResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UnbindEslDeviceResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string UnbindEslDeviceResult::getCode()const -{ - return code_; -} - bool UnbindEslDeviceResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/UnbindEslDeviceShelfRequest.cc b/cloudesl/src/model/UnbindEslDeviceShelfRequest.cc new file mode 100644 index 000000000..a1f7ede3b --- /dev/null +++ b/cloudesl/src/model/UnbindEslDeviceShelfRequest.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::UnbindEslDeviceShelfRequest; + +UnbindEslDeviceShelfRequest::UnbindEslDeviceShelfRequest() : + RpcServiceRequest("cloudesl", "2018-08-01", "UnbindEslDeviceShelf") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindEslDeviceShelfRequest::~UnbindEslDeviceShelfRequest() +{} + +std::string UnbindEslDeviceShelfRequest::getStoreId()const +{ + return storeId_; +} + +void UnbindEslDeviceShelfRequest::setStoreId(const std::string& storeId) +{ + storeId_ = storeId; + setParameter("StoreId", storeId); +} + +std::string UnbindEslDeviceShelfRequest::getEslBarCode()const +{ + return eslBarCode_; +} + +void UnbindEslDeviceShelfRequest::setEslBarCode(const std::string& eslBarCode) +{ + eslBarCode_ = eslBarCode; + setParameter("EslBarCode", eslBarCode); +} + diff --git a/cloudesl/src/model/UnbindEslDeviceShelfResult.cc b/cloudesl/src/model/UnbindEslDeviceShelfResult.cc new file mode 100644 index 000000000..65a286661 --- /dev/null +++ b/cloudesl/src/model/UnbindEslDeviceShelfResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudesl; +using namespace AlibabaCloud::Cloudesl::Model; + +UnbindEslDeviceShelfResult::UnbindEslDeviceShelfResult() : + ServiceResult() +{} + +UnbindEslDeviceShelfResult::UnbindEslDeviceShelfResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindEslDeviceShelfResult::~UnbindEslDeviceShelfResult() +{} + +void UnbindEslDeviceShelfResult::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(); + +} + +std::string UnbindEslDeviceShelfResult::getMessage()const +{ + return message_; +} + +std::string UnbindEslDeviceShelfResult::getErrorCode()const +{ + return errorCode_; +} + +bool UnbindEslDeviceShelfResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudesl/src/model/UpdateEslDeviceLightRequest.cc b/cloudesl/src/model/UpdateEslDeviceLightRequest.cc deleted file mode 100644 index 4293f1916..000000000 --- a/cloudesl/src/model/UpdateEslDeviceLightRequest.cc +++ /dev/null @@ -1,106 +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::UpdateEslDeviceLightRequest; - -UpdateEslDeviceLightRequest::UpdateEslDeviceLightRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UpdateEslDeviceLight") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateEslDeviceLightRequest::~UpdateEslDeviceLightRequest() -{} - -std::string UpdateEslDeviceLightRequest::getExtraParams()const -{ - return extraParams_; -} - -void UpdateEslDeviceLightRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -int UpdateEslDeviceLightRequest::getLightUpTime()const -{ - return lightUpTime_; -} - -void UpdateEslDeviceLightRequest::setLightUpTime(int lightUpTime) -{ - lightUpTime_ = lightUpTime; - setBodyParameter("LightUpTime", std::to_string(lightUpTime)); -} - -std::string UpdateEslDeviceLightRequest::getStoreId()const -{ - return storeId_; -} - -void UpdateEslDeviceLightRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string UpdateEslDeviceLightRequest::getFrequency()const -{ - return frequency_; -} - -void UpdateEslDeviceLightRequest::setFrequency(const std::string& frequency) -{ - frequency_ = frequency; - setBodyParameter("Frequency", frequency); -} - -std::string UpdateEslDeviceLightRequest::getEslBarCode()const -{ - return eslBarCode_; -} - -void UpdateEslDeviceLightRequest::setEslBarCode(const std::string& eslBarCode) -{ - eslBarCode_ = eslBarCode; - setBodyParameter("EslBarCode", eslBarCode); -} - -std::string UpdateEslDeviceLightRequest::getLedColor()const -{ - return ledColor_; -} - -void UpdateEslDeviceLightRequest::setLedColor(const std::string& ledColor) -{ - ledColor_ = ledColor; - setBodyParameter("LedColor", ledColor); -} - -std::string UpdateEslDeviceLightRequest::getItemBarCode()const -{ - return itemBarCode_; -} - -void UpdateEslDeviceLightRequest::setItemBarCode(const std::string& itemBarCode) -{ - itemBarCode_ = itemBarCode; - setBodyParameter("ItemBarCode", itemBarCode); -} - diff --git a/cloudesl/src/model/UpdateEslDeviceLightResult.cc b/cloudesl/src/model/UpdateEslDeviceLightResult.cc deleted file mode 100644 index ea8837764..000000000 --- a/cloudesl/src/model/UpdateEslDeviceLightResult.cc +++ /dev/null @@ -1,122 +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; - -UpdateEslDeviceLightResult::UpdateEslDeviceLightResult() : - ServiceResult() -{} - -UpdateEslDeviceLightResult::UpdateEslDeviceLightResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateEslDeviceLightResult::~UpdateEslDeviceLightResult() -{} - -void UpdateEslDeviceLightResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLightFailEslInfosNode = value["LightFailEslInfos"]["LightFailEslInfo"]; - for (auto valueLightFailEslInfosLightFailEslInfo : allLightFailEslInfosNode) - { - LightFailEslInfo lightFailEslInfosObject; - if(!valueLightFailEslInfosLightFailEslInfo["ErrorMessage"].isNull()) - lightFailEslInfosObject.errorMessage = valueLightFailEslInfosLightFailEslInfo["ErrorMessage"].asString(); - if(!valueLightFailEslInfosLightFailEslInfo["EslBarCode"].isNull()) - lightFailEslInfosObject.eslBarCode = valueLightFailEslInfosLightFailEslInfo["EslBarCode"].asString(); - lightFailEslInfos_.push_back(lightFailEslInfosObject); - } - 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["SuccessCount"].isNull()) - successCount_ = std::stoi(value["SuccessCount"].asString()); - if(!value["FailCount"].isNull()) - failCount_ = std::stoi(value["FailCount"].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"; - -} - -std::string UpdateEslDeviceLightResult::getMessage()const -{ - return message_; -} - -std::vector UpdateEslDeviceLightResult::getLightFailEslInfos()const -{ - return lightFailEslInfos_; -} - -int UpdateEslDeviceLightResult::getFailCount()const -{ - return failCount_; -} - -std::string UpdateEslDeviceLightResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string UpdateEslDeviceLightResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateEslDeviceLightResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UpdateEslDeviceLightResult::getErrorMessage()const -{ - return errorMessage_; -} - -int UpdateEslDeviceLightResult::getSuccessCount()const -{ - return successCount_; -} - -std::string UpdateEslDeviceLightResult::getCode()const -{ - return code_; -} - -bool UpdateEslDeviceLightResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/UpdateStoreConfigRequest.cc b/cloudesl/src/model/UpdateStoreConfigRequest.cc deleted file mode 100644 index 815b29bf3..000000000 --- a/cloudesl/src/model/UpdateStoreConfigRequest.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::UpdateStoreConfigRequest; - -UpdateStoreConfigRequest::UpdateStoreConfigRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UpdateStoreConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateStoreConfigRequest::~UpdateStoreConfigRequest() -{} - -std::string UpdateStoreConfigRequest::getExtraParams()const -{ - return extraParams_; -} - -void UpdateStoreConfigRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string UpdateStoreConfigRequest::getStoreId()const -{ - return storeId_; -} - -void UpdateStoreConfigRequest::setStoreId(const std::string& storeId) -{ - storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -bool UpdateStoreConfigRequest::getEnableNotification()const -{ - return enableNotification_; -} - -void UpdateStoreConfigRequest::setEnableNotification(bool enableNotification) -{ - enableNotification_ = enableNotification; - setBodyParameter("EnableNotification", enableNotification ? "true" : "false"); -} - -std::string UpdateStoreConfigRequest::getNotificationWebHook()const -{ - return notificationWebHook_; -} - -void UpdateStoreConfigRequest::setNotificationWebHook(const std::string& notificationWebHook) -{ - notificationWebHook_ = notificationWebHook; - setBodyParameter("NotificationWebHook", notificationWebHook); -} - -std::string UpdateStoreConfigRequest::getNotificationSilentTimes()const -{ - return notificationSilentTimes_; -} - -void UpdateStoreConfigRequest::setNotificationSilentTimes(const std::string& notificationSilentTimes) -{ - notificationSilentTimes_ = notificationSilentTimes; - setBodyParameter("NotificationSilentTimes", notificationSilentTimes); -} - diff --git a/cloudesl/src/model/UpdateStoreConfigResult.cc b/cloudesl/src/model/UpdateStoreConfigResult.cc deleted file mode 100644 index 8f45f976c..000000000 --- a/cloudesl/src/model/UpdateStoreConfigResult.cc +++ /dev/null @@ -1,93 +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; - -UpdateStoreConfigResult::UpdateStoreConfigResult() : - ServiceResult() -{} - -UpdateStoreConfigResult::UpdateStoreConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateStoreConfigResult::~UpdateStoreConfigResult() -{} - -void UpdateStoreConfigResult::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["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"; - -} - -std::string UpdateStoreConfigResult::getMessage()const -{ - return message_; -} - -std::string UpdateStoreConfigResult::getDynamicCode()const -{ - return dynamicCode_; -} - -std::string UpdateStoreConfigResult::getErrorCode()const -{ - return errorCode_; -} - -std::string UpdateStoreConfigResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UpdateStoreConfigResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string UpdateStoreConfigResult::getCode()const -{ - return code_; -} - -bool UpdateStoreConfigResult::getSuccess()const -{ - return success_; -} - diff --git a/cloudesl/src/model/UpdateStoreRequest.cc b/cloudesl/src/model/UpdateStoreRequest.cc index bfb1acfd5..23d915619 100644 --- a/cloudesl/src/model/UpdateStoreRequest.cc +++ b/cloudesl/src/model/UpdateStoreRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cloudesl::Model::UpdateStoreRequest; UpdateStoreRequest::UpdateStoreRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UpdateStore") + RpcServiceRequest("cloudesl", "2018-08-01", "UpdateStore") { setMethod(HttpRequest::Method::Post); } @@ -27,15 +27,15 @@ UpdateStoreRequest::UpdateStoreRequest() : UpdateStoreRequest::~UpdateStoreRequest() {} -std::string UpdateStoreRequest::getExtraParams()const +std::string UpdateStoreRequest::getComments()const { - return extraParams_; + return comments_; } -void UpdateStoreRequest::setExtraParams(const std::string& extraParams) +void UpdateStoreRequest::setComments(const std::string& comments) { - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); + comments_ = comments; + setParameter("Comments", comments); } std::string UpdateStoreRequest::getStoreName()const @@ -46,7 +46,18 @@ std::string UpdateStoreRequest::getStoreName()const void UpdateStoreRequest::setStoreName(const std::string& storeName) { storeName_ = storeName; - setBodyParameter("StoreName", storeName); + setParameter("StoreName", storeName); +} + +std::string UpdateStoreRequest::getGroups()const +{ + return groups_; +} + +void UpdateStoreRequest::setGroups(const std::string& groups) +{ + groups_ = groups; + setParameter("Groups", groups); } std::string UpdateStoreRequest::getStoreId()const @@ -57,18 +68,7 @@ std::string UpdateStoreRequest::getStoreId()const void UpdateStoreRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; - setBodyParameter("StoreId", storeId); -} - -std::string UpdateStoreRequest::getUserStoreCode()const -{ - return userStoreCode_; -} - -void UpdateStoreRequest::setUserStoreCode(const std::string& userStoreCode) -{ - userStoreCode_ = userStoreCode; - setBodyParameter("UserStoreCode", userStoreCode); + setParameter("StoreId", storeId); } std::string UpdateStoreRequest::getPhone()const @@ -79,6 +79,28 @@ std::string UpdateStoreRequest::getPhone()const void UpdateStoreRequest::setPhone(const std::string& phone) { phone_ = phone; - setBodyParameter("Phone", phone); + setParameter("Phone", phone); +} + +std::string UpdateStoreRequest::getOutId()const +{ + return outId_; +} + +void UpdateStoreRequest::setOutId(const std::string& outId) +{ + outId_ = outId; + setParameter("OutId", outId); +} + +std::string UpdateStoreRequest::getBrand()const +{ + return brand_; +} + +void UpdateStoreRequest::setBrand(const std::string& brand) +{ + brand_ = brand; + setParameter("Brand", brand); } diff --git a/cloudesl/src/model/UpdateStoreResult.cc b/cloudesl/src/model/UpdateStoreResult.cc index acb538541..fbee72d5b 100644 --- a/cloudesl/src/model/UpdateStoreResult.cc +++ b/cloudesl/src/model/UpdateStoreResult.cc @@ -39,20 +39,12 @@ void UpdateStoreResult::parse(const std::string &payload) 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["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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } @@ -61,31 +53,11 @@ std::string UpdateStoreResult::getMessage()const return message_; } -std::string UpdateStoreResult::getDynamicCode()const -{ - return dynamicCode_; -} - std::string UpdateStoreResult::getErrorCode()const { return errorCode_; } -std::string UpdateStoreResult::getDynamicMessage()const -{ - return dynamicMessage_; -} - -std::string UpdateStoreResult::getErrorMessage()const -{ - return errorMessage_; -} - -std::string UpdateStoreResult::getCode()const -{ - return code_; -} - bool UpdateStoreResult::getSuccess()const { return success_; diff --git a/cloudesl/src/model/UpdateUserRequest.cc b/cloudesl/src/model/UpdateUserRequest.cc deleted file mode 100644 index 5c27a3d03..000000000 --- a/cloudesl/src/model/UpdateUserRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cloudesl::Model::UpdateUserRequest; - -UpdateUserRequest::UpdateUserRequest() : - RpcServiceRequest("cloudesl", "2020-02-01", "UpdateUser") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateUserRequest::~UpdateUserRequest() -{} - -std::string UpdateUserRequest::getExtraParams()const -{ - return extraParams_; -} - -void UpdateUserRequest::setExtraParams(const std::string& extraParams) -{ - extraParams_ = extraParams; - setBodyParameter("ExtraParams", extraParams); -} - -std::string UpdateUserRequest::getDingTalkUserId()const -{ - return dingTalkUserId_; -} - -void UpdateUserRequest::setDingTalkUserId(const std::string& dingTalkUserId) -{ - dingTalkUserId_ = dingTalkUserId; - setBodyParameter("DingTalkUserId", dingTalkUserId); -} - -std::string UpdateUserRequest::getUserId()const -{ - return userId_; -} - -void UpdateUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); -} - -std::string UpdateUserRequest::getDingTalkCompanyId()const -{ - return dingTalkCompanyId_; -} - -void UpdateUserRequest::setDingTalkCompanyId(const std::string& dingTalkCompanyId) -{ - dingTalkCompanyId_ = dingTalkCompanyId; - setBodyParameter("DingTalkCompanyId", dingTalkCompanyId); -} -