Add role authority management.

This commit is contained in:
sdk-team
2020-10-27 02:33:55 +00:00
parent dcb1633973
commit d689d06eb7
102 changed files with 2517 additions and 140 deletions

View File

@@ -1,3 +1,6 @@
2020-10-27 Version: patch
- Add role authority management.
2020-10-26 Version: patch
- Generated 2014-05-26 for `Ecs`.

View File

@@ -27,6 +27,8 @@ set(cloudesl_public_header_model
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
@@ -45,6 +47,8 @@ set(cloudesl_public_header_model
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/DeleteStoreRequest.h
include/alibabacloud/cloudesl/model/DeleteStoreResult.h
include/alibabacloud/cloudesl/model/DeleteUserRequest.h
@@ -55,6 +59,8 @@ set(cloudesl_public_header_model
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/DescribeEslDevicesRequest.h
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
@@ -67,6 +73,8 @@ set(cloudesl_public_header_model
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
@@ -88,7 +96,9 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreResult.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h
include/alibabacloud/cloudesl/model/UpdateUserRequest.h
include/alibabacloud/cloudesl/model/UpdateUserResult.h )
set(cloudesl_src
src/CloudeslClient.cc
@@ -98,6 +108,8 @@ set(cloudesl_src
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
@@ -116,6 +128,8 @@ set(cloudesl_src
src/model/DeleteApDeviceResult.cc
src/model/DeletePlanogramShelfRequest.cc
src/model/DeletePlanogramShelfResult.cc
src/model/DeleteRoleActionsRequest.cc
src/model/DeleteRoleActionsResult.cc
src/model/DeleteStoreRequest.cc
src/model/DeleteStoreResult.cc
src/model/DeleteUserRequest.cc
@@ -126,6 +140,8 @@ set(cloudesl_src
src/model/DescribeApDevicesResult.cc
src/model/DescribeBindersRequest.cc
src/model/DescribeBindersResult.cc
src/model/DescribeClientPackageRequest.cc
src/model/DescribeClientPackageResult.cc
src/model/DescribeEslDevicesRequest.cc
src/model/DescribeEslDevicesResult.cc
src/model/DescribeItemsRequest.cc
@@ -138,6 +154,8 @@ set(cloudesl_src
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
@@ -159,7 +177,9 @@ set(cloudesl_src
src/model/UpdateStoreRequest.cc
src/model/UpdateStoreResult.cc
src/model/UpdateStoreConfigRequest.cc
src/model/UpdateStoreConfigResult.cc )
src/model/UpdateStoreConfigResult.cc
src/model/UpdateUserRequest.cc
src/model/UpdateUserResult.cc )
add_library(cloudesl ${LIB_TYPE}
${cloudesl_public_header}

View File

@@ -28,6 +28,8 @@
#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"
@@ -46,6 +48,8 @@
#include "model/DeleteApDeviceResult.h"
#include "model/DeletePlanogramShelfRequest.h"
#include "model/DeletePlanogramShelfResult.h"
#include "model/DeleteRoleActionsRequest.h"
#include "model/DeleteRoleActionsResult.h"
#include "model/DeleteStoreRequest.h"
#include "model/DeleteStoreResult.h"
#include "model/DeleteUserRequest.h"
@@ -56,6 +60,8 @@
#include "model/DescribeApDevicesResult.h"
#include "model/DescribeBindersRequest.h"
#include "model/DescribeBindersResult.h"
#include "model/DescribeClientPackageRequest.h"
#include "model/DescribeClientPackageResult.h"
#include "model/DescribeEslDevicesRequest.h"
#include "model/DescribeEslDevicesResult.h"
#include "model/DescribeItemsRequest.h"
@@ -68,6 +74,8 @@
#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"
@@ -90,6 +98,8 @@
#include "model/UpdateStoreResult.h"
#include "model/UpdateStoreConfigRequest.h"
#include "model/UpdateStoreConfigResult.h"
#include "model/UpdateUserRequest.h"
#include "model/UpdateUserResult.h"
namespace AlibabaCloud
@@ -108,6 +118,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddPlanogramShelfResult> AddPlanogramShelfOutcome;
typedef std::future<AddPlanogramShelfOutcome> AddPlanogramShelfOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddPlanogramShelfRequest&, const AddPlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPlanogramShelfAsyncHandler;
typedef Outcome<Error, Model::AddRoleActionsResult> AddRoleActionsOutcome;
typedef std::future<AddRoleActionsOutcome> AddRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddRoleActionsRequest&, const AddRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRoleActionsAsyncHandler;
typedef Outcome<Error, Model::AddUserResult> AddUserOutcome;
typedef std::future<AddUserOutcome> AddUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddUserRequest&, const AddUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserAsyncHandler;
@@ -135,6 +148,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeletePlanogramShelfResult> DeletePlanogramShelfOutcome;
typedef std::future<DeletePlanogramShelfOutcome> DeletePlanogramShelfOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeletePlanogramShelfRequest&, const DeletePlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlanogramShelfAsyncHandler;
typedef Outcome<Error, Model::DeleteRoleActionsResult> DeleteRoleActionsOutcome;
typedef std::future<DeleteRoleActionsOutcome> DeleteRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteRoleActionsRequest&, const DeleteRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoleActionsAsyncHandler;
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteStoreRequest&, const DeleteStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStoreAsyncHandler;
@@ -150,6 +166,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeBindersResult> DescribeBindersOutcome;
typedef std::future<DescribeBindersOutcome> DescribeBindersOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeBindersRequest&, const DescribeBindersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBindersAsyncHandler;
typedef Outcome<Error, Model::DescribeClientPackageResult> DescribeClientPackageOutcome;
typedef std::future<DescribeClientPackageOutcome> DescribeClientPackageOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeClientPackageRequest&, const DescribeClientPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClientPackageAsyncHandler;
typedef Outcome<Error, Model::DescribeEslDevicesResult> DescribeEslDevicesOutcome;
typedef std::future<DescribeEslDevicesOutcome> DescribeEslDevicesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDevicesRequest&, const DescribeEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDevicesAsyncHandler;
@@ -168,6 +187,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribePlanogramShelvesResult> DescribePlanogramShelvesOutcome;
typedef std::future<DescribePlanogramShelvesOutcome> DescribePlanogramShelvesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramShelvesRequest&, const DescribePlanogramShelvesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramShelvesAsyncHandler;
typedef Outcome<Error, Model::DescribeRoleActionsResult> DescribeRoleActionsOutcome;
typedef std::future<DescribeRoleActionsOutcome> DescribeRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeRoleActionsRequest&, const DescribeRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoleActionsAsyncHandler;
typedef Outcome<Error, Model::DescribeStoreConfigResult> DescribeStoreConfigOutcome;
typedef std::future<DescribeStoreConfigOutcome> DescribeStoreConfigOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoreConfigRequest&, const DescribeStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoreConfigAsyncHandler;
@@ -201,6 +223,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateStoreConfigResult> UpdateStoreConfigOutcome;
typedef std::future<UpdateStoreConfigOutcome> UpdateStoreConfigOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateStoreConfigRequest&, const UpdateStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStoreConfigAsyncHandler;
typedef Outcome<Error, Model::UpdateUserResult> UpdateUserOutcome;
typedef std::future<UpdateUserOutcome> UpdateUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateUserRequest&, const UpdateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserAsyncHandler;
CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration);
CloudeslClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -215,6 +240,9 @@ namespace AlibabaCloud
AddPlanogramShelfOutcome addPlanogramShelf(const Model::AddPlanogramShelfRequest &request)const;
void addPlanogramShelfAsync(const Model::AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
AddUserOutcomeCallable addUserCallable(const Model::AddUserRequest& request) const;
@@ -242,6 +270,9 @@ namespace AlibabaCloud
DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const;
void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
DeleteRoleActionsOutcomeCallable deleteRoleActionsCallable(const Model::DeleteRoleActionsRequest& request) const;
DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &request)const;
void deleteStoreAsync(const Model::DeleteStoreRequest& request, const DeleteStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStoreOutcomeCallable deleteStoreCallable(const Model::DeleteStoreRequest& request) const;
@@ -257,6 +288,9 @@ namespace AlibabaCloud
DescribeBindersOutcome describeBinders(const Model::DescribeBindersRequest &request)const;
void describeBindersAsync(const Model::DescribeBindersRequest& request, const DescribeBindersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
DescribeClientPackageOutcomeCallable describeClientPackageCallable(const Model::DescribeClientPackageRequest& request) const;
DescribeEslDevicesOutcome describeEslDevices(const Model::DescribeEslDevicesRequest &request)const;
void describeEslDevicesAsync(const Model::DescribeEslDevicesRequest& request, const DescribeEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEslDevicesOutcomeCallable describeEslDevicesCallable(const Model::DescribeEslDevicesRequest& request) const;
@@ -275,6 +309,9 @@ namespace AlibabaCloud
DescribePlanogramShelvesOutcome describePlanogramShelves(const Model::DescribePlanogramShelvesRequest &request)const;
void describePlanogramShelvesAsync(const Model::DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
DescribeStoreConfigOutcomeCallable describeStoreConfigCallable(const Model::DescribeStoreConfigRequest& request) const;
@@ -308,6 +345,9 @@ namespace AlibabaCloud
UpdateStoreConfigOutcome updateStoreConfig(const Model::UpdateStoreConfigRequest &request)const;
void updateStoreConfigAsync(const Model::UpdateStoreConfigRequest& request, const UpdateStoreConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
ActivateApDeviceRequest();
~ActivateApDeviceRequest();
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_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
AddApDeviceRequest();
~AddApDeviceRequest();
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;
@@ -43,6 +47,8 @@ namespace AlibabaCloud
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string clientToken_;
std::string remark_;
std::string apMac_;
std::string storeId_;

View File

@@ -35,17 +35,29 @@ namespace AlibabaCloud
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_;
};
}

View File

@@ -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_ADDROLEACTIONSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -35,10 +35,16 @@ namespace AlibabaCloud
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_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
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;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setUserId(const std::string& userId);
private:
std::string extraParams_;
std::string stores_;
std::string userType_;
std::string userId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
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;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setRailCode(const std::string& railCode);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;

View File

@@ -89,12 +89,15 @@ namespace AlibabaCloud
BatchInsertItemsRequest();
~BatchInsertItemsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::vector<ItemInfo> getItemInfo()const;
void setItemInfo(const std::vector<ItemInfo>& itemInfo);
private:
std::string extraParams_;
std::string storeId_;
std::vector<ItemInfo> itemInfo_;

View File

@@ -35,26 +35,29 @@ namespace AlibabaCloud
BindEslDeviceRequest();
~BindEslDeviceRequest();
std::string getColumn()const;
void setColumn(const std::string& column);
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 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 column_;
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string eslBarCode_;
std::string itemBarCode_;
std::string column_;
std::string shelf_;
};
}

View File

@@ -47,26 +47,29 @@ namespace AlibabaCloud
std::string getActionType()const;
void setActionType(const std::string& actionType);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
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 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<ShelfPositionInfo> getShelfPositionInfo()const;
void setShelfPositionInfo(const std::vector<ShelfPositionInfo>& shelfPositionInfo);
private:
std::string actionType_;
bool beAutoRefresh_;
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string layerOrigin_;
bool beAutoRefresh_;
std::string shelf_;
std::vector<ShelfPositionInfo> shelfPositionInfo_;
};

View File

@@ -35,20 +35,26 @@ 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 getPhone()const;
void setPhone(const std::string& phone);
std::string getUserStoreCode()const;
void setUserStoreCode(const std::string& userStoreCode);
std::string getPhone()const;
void setPhone(const std::string& phone);
private:
std::string extraParams_;
std::string clientToken_;
std::string storeName_;
std::string parentId_;
std::string phone_;
std::string userStoreCode_;
std::string phone_;
};
}

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteApDeviceRequest();
~DeleteApDeviceRequest();
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_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DeletePlanogramShelfRequest();
~DeletePlanogramShelfRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
std::string getStoreId()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setShelf(const std::string& shelf);
private:
std::string extraParams_;
bool beAutoRefresh_;
std::string storeId_;
std::string shelf_;

View File

@@ -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_DELETEROLEACTIONSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -35,10 +35,13 @@ 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_;
};

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DeleteUserRequest();
~DeleteUserRequest();
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_;
};

View File

@@ -35,6 +35,8 @@ 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;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setDeviceMac(const std::string& deviceMac);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
int pageSize_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
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;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
void setStatus(bool status);
private:
std::string extraParams_;
std::string apMac_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
DescribeBindersRequest();
~DescribeBindersRequest();
std::string getItemTitle()const;
void setItemTitle(const std::string& itemTitle);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
@@ -47,14 +47,17 @@ namespace AlibabaCloud
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 itemTitle_;
std::string extraParams_;
std::string storeId_;
int pageNumber_;
std::string eslBarCode_;
int pageSize_;
std::string itemBarCode_;
std::string itemTitle_;
};
}

View File

@@ -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_DESCRIBECLIENTPACKAGEREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -35,6 +35,8 @@ 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;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setFromBatteryLevel(int fromBatteryLevel);
private:
std::string extraParams_;
std::string type_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,6 +35,8 @@ 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;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setSkuId(const std::string& skuId);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
std::string itemId_;

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
std::string customizeFeatureK;
int itemInfoIndex;
std::string itemQrCode;
std::string gmtCreate;
std::string customizeFeatureB;
std::string customizeFeatureA;
int memberPrice;
@@ -68,6 +69,7 @@ namespace AlibabaCloud
bool bePromotion;
int suggestPrice;
std::string sourceCode;
std::string gmtModified;
std::string itemBarCode;
int salesPrice;
std::string itemShortTitle;

View File

@@ -35,16 +35,22 @@ namespace AlibabaCloud
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_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
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;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setShelf(const std::string& shelf);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;

View File

@@ -45,6 +45,7 @@ namespace AlibabaCloud
float depth;
};
std::string layerOrigin;
std::string railCode;
int layer;
std::vector<LayerInfo::ShelfPositionInfo> shelfPositionInfos;
};
@@ -55,6 +56,7 @@ namespace AlibabaCloud
~DescribePlanogramPositionsResult();
std::string getMessage()const;
std::string getStoreId()const;
std::string getShelfType()const;
std::string getShelf()const;
std::string getDynamicCode()const;
std::vector<LayerInfo> getLayerInfos()const;
@@ -69,6 +71,7 @@ namespace AlibabaCloud
private:
std::string message_;
std::string storeId_;
std::string shelfType_;
std::string shelf_;
std::string dynamicCode_;
std::vector<LayerInfo> layerInfos_;

View File

@@ -35,26 +35,29 @@ namespace AlibabaCloud
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);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
int pageNumber_;
int pageSize_;
std::string shelf_;
std::string railCode_;
int pageSize_;
};
}

View File

@@ -35,11 +35,20 @@ namespace AlibabaCloud
DescribePlanogramShelvesRequest();
~DescribePlanogramShelvesRequest();
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);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
int pageSize_;
};
}

View File

@@ -38,8 +38,12 @@ namespace AlibabaCloud
{
int layer;
};
std::string category;
std::string shelfType;
std::string zone;
std::string shelf;
std::vector<ShelfInfo::LayerInfo> layerInfos;
bool beMatch;
};
@@ -47,8 +51,11 @@ namespace AlibabaCloud
explicit DescribePlanogramShelvesResult(const std::string &payload);
~DescribePlanogramShelvesResult();
std::vector<ShelfInfo> 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;
@@ -60,8 +67,11 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::vector<ShelfInfo> shelfInfos_;
int totalCount_;
std::string message_;
std::string storeId_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string dynamicMessage_;
std::string errorCode_;

View File

@@ -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_DESCRIBEROLEACTIONSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeRoleActionsResult : public ServiceResult
{
public:
struct RoleAclInfo
{
struct RoleActionInfo
{
std::string code;
};
std::vector<RoleAclInfo::RoleActionInfo> accessControlLists;
std::string roleCode;
std::string name;
};
DescribeRoleActionsResult();
explicit DescribeRoleActionsResult(const std::string &payload);
~DescribeRoleActionsResult();
std::string getMessage()const;
std::vector<RoleAclInfo> 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<RoleAclInfo> roleAclInfos_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DescribeStoreConfigRequest();
~DescribeStoreConfigRequest();
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_;
};

View File

@@ -35,6 +35,8 @@ 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;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
void setUserStoreCode(const std::string& userStoreCode);
private:
std::string extraParams_;
std::string storeName_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeUserLogRequest();
~DescribeUserLogRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getUserId()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
void setLogId(const std::string& logId);
private:
std::string extraParams_;
std::string storeId_;
std::string userId_;
int pageNumber_;

View File

@@ -35,22 +35,25 @@ namespace AlibabaCloud
DescribeUsersRequest();
~DescribeUsersRequest();
std::string getUserType()const;
void setUserType(const std::string& userType);
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 userType_;
std::string extraParams_;
std::string userId_;
int pageNumber_;
int pageSize_;
std::string userType_;
std::string userName_;
};

View File

@@ -34,9 +34,17 @@ namespace AlibabaCloud
public:
struct UserInfo
{
struct DingTalkInfo
{
std::string dingTalkCompanyId;
std::string dingTalkUserId;
};
std::string userName;
std::string ownerId;
std::string userId;
std::vector<UserInfo::DingTalkInfo> dingTalkInfos;
std::string stores;
std::string bid;
std::string userType;
};

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DissociatePlanogramRailRequest();
~DissociatePlanogramRailRequest();
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);
private:
std::string extraParams_;
std::string storeId_;
std::string railCode_;

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
GetUserRequest();
~GetUserRequest();
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_;
};

View File

@@ -34,9 +34,17 @@ namespace AlibabaCloud
public:
struct User
{
struct DingTalkInfo
{
std::string dingTalkCompanyId;
std::string dingTalkUserId;
};
std::string userName;
std::string ownerId;
std::string userId;
std::vector<DingTalkInfo> dingTalkInfos;
std::string stores;
std::string bid;
std::string userType;
};

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
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_;
};

View File

@@ -35,26 +35,29 @@ namespace AlibabaCloud
UnbindEslDeviceRequest();
~UnbindEslDeviceRequest();
std::string getColumn()const;
void setColumn(const std::string& column);
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 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 column_;
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string eslBarCode_;
std::string itemBarCode_;
std::string column_;
std::string shelf_;
};
}

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
UpdateEslDeviceLightRequest();
~UpdateEslDeviceLightRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
int getLightUpTime()const;
void setLightUpTime(int lightUpTime);
std::string getStoreId()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setItemBarCode(const std::string& itemBarCode);
private:
std::string extraParams_;
int lightUpTime_;
std::string storeId_;
std::string frequency_;

View File

@@ -35,19 +35,22 @@ namespace AlibabaCloud
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 getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getNotificationSilentTimes()const;
void setNotificationSilentTimes(const std::string& notificationSilentTimes);
private:
std::string extraParams_;
std::string storeId_;
bool enableNotification_;
std::string notificationWebHook_;
std::string storeId_;
std::string notificationSilentTimes_;
};

View File

@@ -35,20 +35,23 @@ namespace AlibabaCloud
UpdateStoreRequest();
~UpdateStoreRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getPhone()const;
void setPhone(const std::string& phone);
std::string getUserStoreCode()const;
void setUserStoreCode(const std::string& userStoreCode);
std::string getPhone()const;
void setPhone(const std::string& phone);
private:
std::string extraParams_;
std::string storeName_;
std::string storeId_;
std::string phone_;
std::string userStoreCode_;
std::string phone_;
};
}

View File

@@ -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_UPDATEUSERREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
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_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserResult : public ServiceResult
{
public:
UpdateUserResult();
explicit UpdateUserResult(const std::string &payload);
~UpdateUserResult();
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_

View File

@@ -159,6 +159,42 @@ CloudeslClient::AddPlanogramShelfOutcomeCallable CloudeslClient::addPlanogramShe
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<const AsyncCallerContext>& 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<std::packaged_task<AddRoleActionsOutcome()>>(
[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();
@@ -483,6 +519,42 @@ CloudeslClient::DeletePlanogramShelfOutcomeCallable CloudeslClient::deletePlanog
return task->get_future();
}
CloudeslClient::DeleteRoleActionsOutcome CloudeslClient::deleteRoleActions(const DeleteRoleActionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteRoleActionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteRoleActionsOutcome(DeleteRoleActionsResult(outcome.result()));
else
return DeleteRoleActionsOutcome(outcome.error());
}
void CloudeslClient::deleteRoleActionsAsync(const DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteRoleActions(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::DeleteRoleActionsOutcomeCallable CloudeslClient::deleteRoleActionsCallable(const DeleteRoleActionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteRoleActionsOutcome()>>(
[this, request]()
{
return this->deleteRoleActions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::DeleteStoreOutcome CloudeslClient::deleteStore(const DeleteStoreRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -663,6 +735,42 @@ CloudeslClient::DescribeBindersOutcomeCallable CloudeslClient::describeBindersCa
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<const AsyncCallerContext>& 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<std::packaged_task<DescribeClientPackageOutcome()>>(
[this, request]()
{
return this->describeClientPackage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::DescribeEslDevicesOutcome CloudeslClient::describeEslDevices(const DescribeEslDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +987,42 @@ CloudeslClient::DescribePlanogramShelvesOutcomeCallable CloudeslClient::describe
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<const AsyncCallerContext>& 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<std::packaged_task<DescribeRoleActionsOutcome()>>(
[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();
@@ -1275,3 +1419,39 @@ CloudeslClient::UpdateStoreConfigOutcomeCallable CloudeslClient::updateStoreConf
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<const AsyncCallerContext>& 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<std::packaged_task<UpdateUserOutcome()>>(
[this, request]()
{
return this->updateUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -27,6 +27,17 @@ ActivateApDeviceRequest::ActivateApDeviceRequest() :
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_;

View File

@@ -27,6 +27,28 @@ AddApDeviceRequest::AddApDeviceRequest() :
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_;

View File

@@ -27,6 +27,28 @@ AddPlanogramShelfRequest::AddPlanogramShelfRequest() :
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_;
@@ -49,6 +71,17 @@ void AddPlanogramShelfRequest::setStoreId(const std::string& 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_;
@@ -60,3 +93,14 @@ void AddPlanogramShelfRequest::setShelf(const std::string& shelf)
setBodyParameter("Shelf", shelf);
}
std::string AddPlanogramShelfRequest::getCategory()const
{
return category_;
}
void AddPlanogramShelfRequest::setCategory(const std::string& category)
{
category_ = category;
setBodyParameter("Category", category);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/AddRoleActionsRequest.h>
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);
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/AddRoleActionsResult.h>
#include <json/json.h>
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_;
}

View File

@@ -27,6 +27,28 @@ AddUserRequest::AddUserRequest() :
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_;

View File

@@ -27,6 +27,17 @@ AssignUserRequest::AssignUserRequest() :
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_;

View File

@@ -27,6 +27,17 @@ AssociatePlanogramRailRequest::AssociatePlanogramRailRequest() :
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_;

View File

@@ -27,6 +27,17 @@ 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_;

View File

@@ -27,15 +27,15 @@ BindEslDeviceRequest::BindEslDeviceRequest() :
BindEslDeviceRequest::~BindEslDeviceRequest()
{}
std::string BindEslDeviceRequest::getColumn()const
std::string BindEslDeviceRequest::getExtraParams()const
{
return column_;
return extraParams_;
}
void BindEslDeviceRequest::setColumn(const std::string& column)
void BindEslDeviceRequest::setExtraParams(const std::string& extraParams)
{
column_ = column;
setBodyParameter("Column", column);
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string BindEslDeviceRequest::getStoreId()const
@@ -60,17 +60,6 @@ void BindEslDeviceRequest::setLayer(int layer)
setBodyParameter("Layer", std::to_string(layer));
}
std::string BindEslDeviceRequest::getShelf()const
{
return shelf_;
}
void BindEslDeviceRequest::setShelf(const std::string& shelf)
{
shelf_ = shelf;
setBodyParameter("Shelf", shelf);
}
std::string BindEslDeviceRequest::getEslBarCode()const
{
return eslBarCode_;
@@ -93,3 +82,25 @@ void BindEslDeviceRequest::setItemBarCode(const std::string& 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);
}

View File

@@ -38,15 +38,15 @@ void ComposePlanogramPositionsRequest::setActionType(const std::string& actionTy
setBodyParameter("ActionType", actionType);
}
bool ComposePlanogramPositionsRequest::getBeAutoRefresh()const
std::string ComposePlanogramPositionsRequest::getExtraParams()const
{
return beAutoRefresh_;
return extraParams_;
}
void ComposePlanogramPositionsRequest::setBeAutoRefresh(bool beAutoRefresh)
void ComposePlanogramPositionsRequest::setExtraParams(const std::string& extraParams)
{
beAutoRefresh_ = beAutoRefresh;
setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false");
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string ComposePlanogramPositionsRequest::getStoreId()const
@@ -71,17 +71,6 @@ void ComposePlanogramPositionsRequest::setLayer(int layer)
setBodyParameter("Layer", std::to_string(layer));
}
std::string ComposePlanogramPositionsRequest::getShelf()const
{
return shelf_;
}
void ComposePlanogramPositionsRequest::setShelf(const std::string& shelf)
{
shelf_ = shelf;
setBodyParameter("Shelf", shelf);
}
std::string ComposePlanogramPositionsRequest::getLayerOrigin()const
{
return layerOrigin_;
@@ -93,6 +82,28 @@ void ComposePlanogramPositionsRequest::setLayerOrigin(const std::string& layerOr
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::ShelfPositionInfo> ComposePlanogramPositionsRequest::getShelfPositionInfo()const
{
return shelfPositionInfo_;

View File

@@ -27,6 +27,28 @@ 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_;
@@ -49,17 +71,6 @@ void CreateStoreRequest::setParentId(const std::string& parentId)
setBodyParameter("ParentId", parentId);
}
std::string CreateStoreRequest::getPhone()const
{
return phone_;
}
void CreateStoreRequest::setPhone(const std::string& phone)
{
phone_ = phone;
setBodyParameter("Phone", phone);
}
std::string CreateStoreRequest::getUserStoreCode()const
{
return userStoreCode_;
@@ -71,3 +82,14 @@ void CreateStoreRequest::setUserStoreCode(const std::string& userStoreCode)
setBodyParameter("UserStoreCode", userStoreCode);
}
std::string CreateStoreRequest::getPhone()const
{
return phone_;
}
void CreateStoreRequest::setPhone(const std::string& phone)
{
phone_ = phone;
setBodyParameter("Phone", phone);
}

View File

@@ -27,6 +27,17 @@ DeleteApDeviceRequest::DeleteApDeviceRequest() :
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_;

View File

@@ -27,6 +27,17 @@ DeletePlanogramShelfRequest::DeletePlanogramShelfRequest() :
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_;

View File

@@ -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 <alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h>
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);
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/DeleteRoleActionsResult.h>
#include <json/json.h>
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_;
}

View File

@@ -27,6 +27,17 @@ 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_;

View File

@@ -27,6 +27,17 @@ DeleteUserRequest::DeleteUserRequest() :
DeleteUserRequest::~DeleteUserRequest()
{}
std::string DeleteUserRequest::getExtraParams()const
{
return extraParams_;
}
void DeleteUserRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string DeleteUserRequest::getUserId()const
{
return userId_;

View File

@@ -27,6 +27,17 @@ 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_;

View File

@@ -27,6 +27,17 @@ DescribeApDevicesRequest::DescribeApDevicesRequest() :
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_;

View File

@@ -27,15 +27,15 @@ DescribeBindersRequest::DescribeBindersRequest() :
DescribeBindersRequest::~DescribeBindersRequest()
{}
std::string DescribeBindersRequest::getItemTitle()const
std::string DescribeBindersRequest::getExtraParams()const
{
return itemTitle_;
return extraParams_;
}
void DescribeBindersRequest::setItemTitle(const std::string& itemTitle)
void DescribeBindersRequest::setExtraParams(const std::string& extraParams)
{
itemTitle_ = itemTitle;
setBodyParameter("ItemTitle", itemTitle);
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string DescribeBindersRequest::getStoreId()const
@@ -93,3 +93,14 @@ void DescribeBindersRequest::setItemBarCode(const std::string& itemBarCode)
setBodyParameter("ItemBarCode", itemBarCode);
}
std::string DescribeBindersRequest::getItemTitle()const
{
return itemTitle_;
}
void DescribeBindersRequest::setItemTitle(const std::string& itemTitle)
{
itemTitle_ = itemTitle;
setBodyParameter("ItemTitle", itemTitle);
}

View File

@@ -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 <alibabacloud/cloudesl/model/DescribeClientPackageRequest.h>
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);
}

View File

@@ -0,0 +1,121 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/DescribeClientPackageResult.h>
#include <json/json.h>
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_;
}

View File

@@ -27,6 +27,17 @@ DescribeEslDevicesRequest::DescribeEslDevicesRequest() :
DescribeEslDevicesRequest::~DescribeEslDevicesRequest()
{}
std::string DescribeEslDevicesRequest::getExtraParams()const
{
return extraParams_;
}
void DescribeEslDevicesRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string DescribeEslDevicesRequest::getType()const
{
return type_;

View File

@@ -27,6 +27,17 @@ 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_;

View File

@@ -143,6 +143,10 @@ void DescribeItemsResult::parse(const std::string &payload)
itemsObject.itemId = valueItemsItemInfo["ItemId"].asString();
if(!valueItemsItemInfo["PromotionStart"].isNull())
itemsObject.promotionStart = valueItemsItemInfo["PromotionStart"].asString();
if(!valueItemsItemInfo["GmtCreate"].isNull())
itemsObject.gmtCreate = valueItemsItemInfo["GmtCreate"].asString();
if(!valueItemsItemInfo["GmtModified"].isNull())
itemsObject.gmtModified = valueItemsItemInfo["GmtModified"].asString();
items_.push_back(itemsObject);
}
if(!value["ErrorMessage"].isNull())

View File

@@ -27,6 +27,17 @@ DescribePlanogramEslDevicesRequest::DescribePlanogramEslDevicesRequest() :
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_;
@@ -49,6 +60,17 @@ void DescribePlanogramEslDevicesRequest::setLayer(int 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_;

View File

@@ -27,6 +27,17 @@ DescribePlanogramPositionsRequest::DescribePlanogramPositionsRequest() :
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_;

View File

@@ -47,6 +47,8 @@ void DescribePlanogramPositionsResult::parse(const std::string &payload)
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)
{
@@ -87,6 +89,8 @@ void DescribePlanogramPositionsResult::parse(const std::string &payload)
storeId_ = value["StoreId"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ShelfType"].isNull())
shelfType_ = value["ShelfType"].asString();
}
@@ -100,6 +104,11 @@ std::string DescribePlanogramPositionsResult::getStoreId()const
return storeId_;
}
std::string DescribePlanogramPositionsResult::getShelfType()const
{
return shelfType_;
}
std::string DescribePlanogramPositionsResult::getShelf()const
{
return shelf_;

View File

@@ -27,6 +27,17 @@ DescribePlanogramRailsRequest::DescribePlanogramRailsRequest() :
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_;
@@ -60,6 +71,17 @@ void DescribePlanogramRailsRequest::setPageNumber(int 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_;
@@ -82,14 +104,3 @@ void DescribePlanogramRailsRequest::setRailCode(const std::string& railCode)
setBodyParameter("RailCode", railCode);
}
int DescribePlanogramRailsRequest::getPageSize()const
{
return pageSize_;
}
void DescribePlanogramRailsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -27,6 +27,17 @@ DescribePlanogramShelvesRequest::DescribePlanogramShelvesRequest() :
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_;
@@ -38,3 +49,25 @@ void DescribePlanogramShelvesRequest::setStoreId(const std::string& 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));
}

View File

@@ -45,6 +45,14 @@ void DescribePlanogramShelvesResult::parse(const std::string &payload)
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)
{
@@ -71,6 +79,12 @@ void DescribePlanogramShelvesResult::parse(const std::string &payload)
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());
}
@@ -79,6 +93,11 @@ std::vector<DescribePlanogramShelvesResult::ShelfInfo> DescribePlanogramShelvesR
return shelfInfos_;
}
int DescribePlanogramShelvesResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribePlanogramShelvesResult::getMessage()const
{
return message_;
@@ -89,6 +108,16 @@ 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_;

View File

@@ -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 <alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h>
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);
}

View File

@@ -0,0 +1,116 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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 <alibabacloud/cloudesl/model/DescribeRoleActionsResult.h>
#include <json/json.h>
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::RoleAclInfo> 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_;
}

View File

@@ -27,6 +27,17 @@ DescribeStoreConfigRequest::DescribeStoreConfigRequest() :
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_;

View File

@@ -27,6 +27,17 @@ 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_;

View File

@@ -27,6 +27,17 @@ DescribeUserLogRequest::DescribeUserLogRequest() :
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_;

View File

@@ -27,15 +27,15 @@ DescribeUsersRequest::DescribeUsersRequest() :
DescribeUsersRequest::~DescribeUsersRequest()
{}
std::string DescribeUsersRequest::getUserType()const
std::string DescribeUsersRequest::getExtraParams()const
{
return userType_;
return extraParams_;
}
void DescribeUsersRequest::setUserType(const std::string& userType)
void DescribeUsersRequest::setExtraParams(const std::string& extraParams)
{
userType_ = userType;
setBodyParameter("UserType", userType);
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string DescribeUsersRequest::getUserId()const
@@ -71,6 +71,17 @@ void DescribeUsersRequest::setPageSize(int 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_;

View File

@@ -51,6 +51,20 @@ void DescribeUsersResult::parse(const std::string &payload)
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())

View File

@@ -27,6 +27,17 @@ DissociatePlanogramRailRequest::DissociatePlanogramRailRequest() :
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_;

View File

@@ -27,6 +27,17 @@ GetUserRequest::GetUserRequest() :
GetUserRequest::~GetUserRequest()
{}
std::string GetUserRequest::getExtraParams()const
{
return extraParams_;
}
void GetUserRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string GetUserRequest::getUserId()const
{
return userId_;

View File

@@ -48,6 +48,20 @@ void GetUserResult::parse(const std::string &payload)
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())

View File

@@ -27,6 +27,17 @@ UnassignUserRequest::UnassignUserRequest() :
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_;

View File

@@ -27,15 +27,15 @@ UnbindEslDeviceRequest::UnbindEslDeviceRequest() :
UnbindEslDeviceRequest::~UnbindEslDeviceRequest()
{}
std::string UnbindEslDeviceRequest::getColumn()const
std::string UnbindEslDeviceRequest::getExtraParams()const
{
return column_;
return extraParams_;
}
void UnbindEslDeviceRequest::setColumn(const std::string& column)
void UnbindEslDeviceRequest::setExtraParams(const std::string& extraParams)
{
column_ = column;
setBodyParameter("Column", column);
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string UnbindEslDeviceRequest::getStoreId()const
@@ -60,17 +60,6 @@ void UnbindEslDeviceRequest::setLayer(int layer)
setBodyParameter("Layer", std::to_string(layer));
}
std::string UnbindEslDeviceRequest::getShelf()const
{
return shelf_;
}
void UnbindEslDeviceRequest::setShelf(const std::string& shelf)
{
shelf_ = shelf;
setBodyParameter("Shelf", shelf);
}
std::string UnbindEslDeviceRequest::getEslBarCode()const
{
return eslBarCode_;
@@ -93,3 +82,25 @@ void UnbindEslDeviceRequest::setItemBarCode(const std::string& 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);
}

View File

@@ -27,6 +27,17 @@ UpdateEslDeviceLightRequest::UpdateEslDeviceLightRequest() :
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_;

View File

@@ -27,6 +27,28 @@ UpdateStoreConfigRequest::UpdateStoreConfigRequest() :
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_;
@@ -49,17 +71,6 @@ void UpdateStoreConfigRequest::setNotificationWebHook(const std::string& notific
setBodyParameter("NotificationWebHook", notificationWebHook);
}
std::string UpdateStoreConfigRequest::getStoreId()const
{
return storeId_;
}
void UpdateStoreConfigRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", storeId);
}
std::string UpdateStoreConfigRequest::getNotificationSilentTimes()const
{
return notificationSilentTimes_;

View File

@@ -27,6 +27,17 @@ UpdateStoreRequest::UpdateStoreRequest() :
UpdateStoreRequest::~UpdateStoreRequest()
{}
std::string UpdateStoreRequest::getExtraParams()const
{
return extraParams_;
}
void UpdateStoreRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string UpdateStoreRequest::getStoreName()const
{
return storeName_;
@@ -49,17 +60,6 @@ void UpdateStoreRequest::setStoreId(const std::string& storeId)
setBodyParameter("StoreId", storeId);
}
std::string UpdateStoreRequest::getPhone()const
{
return phone_;
}
void UpdateStoreRequest::setPhone(const std::string& phone)
{
phone_ = phone;
setBodyParameter("Phone", phone);
}
std::string UpdateStoreRequest::getUserStoreCode()const
{
return userStoreCode_;
@@ -71,3 +71,14 @@ void UpdateStoreRequest::setUserStoreCode(const std::string& userStoreCode)
setBodyParameter("UserStoreCode", userStoreCode);
}
std::string UpdateStoreRequest::getPhone()const
{
return phone_;
}
void UpdateStoreRequest::setPhone(const std::string& phone)
{
phone_ = phone;
setBodyParameter("Phone", phone);
}

Some files were not shown because too many files have changed in this diff Show More