Explorar o código

Generated 2020-02-01 for cloudesl.

sdk-team %!s(int64=5) %!d(string=hai) anos
pai
achega
bdb663548a

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-10-15 Version: 1.36.897
+- Generated 2020-02-01 for `cloudesl`.
+
 2021-10-14 Version: 1.36.896
 - Add API for predictive dialer.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.896
+1.36.897

+ 8 - 0
cloudesl/CMakeLists.txt

@@ -33,6 +33,8 @@ set(cloudesl_public_header_model
 	include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
 	include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
 	include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
+	include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h
+	include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h
 	include/alibabacloud/cloudesl/model/CreateStoreRequest.h
 	include/alibabacloud/cloudesl/model/CreateStoreResult.h
 	include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h
@@ -49,6 +51,8 @@ set(cloudesl_public_header_model
 	include/alibabacloud/cloudesl/model/DescribeBindersResult.h
 	include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h
 	include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h
+	include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h
+	include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h
 	include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h
 	include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
 	include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
@@ -88,6 +92,8 @@ set(cloudesl_src
 	src/model/BatchInsertItemsResult.cc
 	src/model/BindEslDeviceRequest.cc
 	src/model/BindEslDeviceResult.cc
+	src/model/ConfirmServerLocationRequest.cc
+	src/model/ConfirmServerLocationResult.cc
 	src/model/CreateStoreRequest.cc
 	src/model/CreateStoreResult.cc
 	src/model/DeleteApDeviceRequest.cc
@@ -104,6 +110,8 @@ set(cloudesl_src
 	src/model/DescribeBindersResult.cc
 	src/model/DescribeClientPackageRequest.cc
 	src/model/DescribeClientPackageResult.cc
+	src/model/DescribeEslDeviceRequest.cc
+	src/model/DescribeEslDeviceResult.cc
 	src/model/DescribeEslDevicesRequest.cc
 	src/model/DescribeEslDevicesResult.cc
 	src/model/DescribeItemsRequest.cc

+ 16 - 0
cloudesl/include/alibabacloud/cloudesl/CloudeslClient.h

@@ -34,6 +34,8 @@
 #include "model/BatchInsertItemsResult.h"
 #include "model/BindEslDeviceRequest.h"
 #include "model/BindEslDeviceResult.h"
+#include "model/ConfirmServerLocationRequest.h"
+#include "model/ConfirmServerLocationResult.h"
 #include "model/CreateStoreRequest.h"
 #include "model/CreateStoreResult.h"
 #include "model/DeleteApDeviceRequest.h"
@@ -50,6 +52,8 @@
 #include "model/DescribeBindersResult.h"
 #include "model/DescribeClientPackageRequest.h"
 #include "model/DescribeClientPackageResult.h"
+#include "model/DescribeEslDeviceRequest.h"
+#include "model/DescribeEslDeviceResult.h"
 #include "model/DescribeEslDevicesRequest.h"
 #include "model/DescribeEslDevicesResult.h"
 #include "model/DescribeItemsRequest.h"
@@ -101,6 +105,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::BindEslDeviceResult> BindEslDeviceOutcome;
 			typedef std::future<BindEslDeviceOutcome> BindEslDeviceOutcomeCallable;
 			typedef std::function<void(const CloudeslClient*, const Model::BindEslDeviceRequest&, const BindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindEslDeviceAsyncHandler;
+			typedef Outcome<Error, Model::ConfirmServerLocationResult> ConfirmServerLocationOutcome;
+			typedef std::future<ConfirmServerLocationOutcome> ConfirmServerLocationOutcomeCallable;
+			typedef std::function<void(const CloudeslClient*, const Model::ConfirmServerLocationRequest&, const ConfirmServerLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmServerLocationAsyncHandler;
 			typedef Outcome<Error, Model::CreateStoreResult> CreateStoreOutcome;
 			typedef std::future<CreateStoreOutcome> CreateStoreOutcomeCallable;
 			typedef std::function<void(const CloudeslClient*, const Model::CreateStoreRequest&, const CreateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStoreAsyncHandler;
@@ -125,6 +132,9 @@ namespace AlibabaCloud
 			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::DescribeEslDeviceResult> DescribeEslDeviceOutcome;
+			typedef std::future<DescribeEslDeviceOutcome> DescribeEslDeviceOutcomeCallable;
+			typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDeviceRequest&, const DescribeEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDeviceAsyncHandler;
 			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;
@@ -184,6 +194,9 @@ namespace AlibabaCloud
 			BindEslDeviceOutcome bindEslDevice(const Model::BindEslDeviceRequest &request)const;
 			void bindEslDeviceAsync(const Model::BindEslDeviceRequest& request, const BindEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			BindEslDeviceOutcomeCallable bindEslDeviceCallable(const Model::BindEslDeviceRequest& request) const;
+			ConfirmServerLocationOutcome confirmServerLocation(const Model::ConfirmServerLocationRequest &request)const;
+			void confirmServerLocationAsync(const Model::ConfirmServerLocationRequest& request, const ConfirmServerLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ConfirmServerLocationOutcomeCallable confirmServerLocationCallable(const Model::ConfirmServerLocationRequest& request) const;
 			CreateStoreOutcome createStore(const Model::CreateStoreRequest &request)const;
 			void createStoreAsync(const Model::CreateStoreRequest& request, const CreateStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateStoreOutcomeCallable createStoreCallable(const Model::CreateStoreRequest& request) const;
@@ -208,6 +221,9 @@ namespace AlibabaCloud
 			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;
+			DescribeEslDeviceOutcome describeEslDevice(const Model::DescribeEslDeviceRequest &request)const;
+			void describeEslDeviceAsync(const Model::DescribeEslDeviceRequest& request, const DescribeEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeEslDeviceOutcomeCallable describeEslDeviceCallable(const Model::DescribeEslDeviceRequest& 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;

+ 45 - 0
cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h

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

+ 57 - 0
cloudesl/include/alibabacloud/cloudesl/model/ConfirmServerLocationResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_
+#define ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_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 ConfirmServerLocationResult : public ServiceResult
+			{
+			public:
+
+
+				ConfirmServerLocationResult();
+				explicit ConfirmServerLocationResult(const std::string &payload);
+				~ConfirmServerLocationResult();
+				std::string getMessage()const;
+				std::string getErrorCode()const;
+				std::string getErrorMessage()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				std::string errorCode_;
+				std::string errorMessage_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_

+ 3 - 0
cloudesl/include/alibabacloud/cloudesl/model/CreateStoreRequest.h

@@ -39,6 +39,8 @@ namespace AlibabaCloud
 				void setExtraParams(const std::string& extraParams);
 				std::string getClientToken()const;
 				void setClientToken(const std::string& clientToken);
+				std::string getTimeZone()const;
+				void setTimeZone(const std::string& timeZone);
 				std::string getStoreName()const;
 				void setStoreName(const std::string& storeName);
 				std::string getParentId()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
             private:
 				std::string extraParams_;
 				std::string clientToken_;
+				std::string timeZone_;
 				std::string storeName_;
 				std::string parentId_;
 				std::string userStoreCode_;

+ 60 - 0
cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h

@@ -0,0 +1,60 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_
+#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_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 DescribeEslDeviceRequest : public RpcServiceRequest
+			{
+
+			public:
+				DescribeEslDeviceRequest();
+				~DescribeEslDeviceRequest();
+
+				std::string getStoreId()const;
+				void setStoreId(const std::string& storeId);
+				long getPageNumber()const;
+				void setPageNumber(long pageNumber);
+				std::string getFromDate()const;
+				void setFromDate(const std::string& fromDate);
+				std::string getToDate()const;
+				void setToDate(const std::string& toDate);
+				long getPageSize()const;
+				void setPageSize(long pageSize);
+
+            private:
+				std::string storeId_;
+				long pageNumber_;
+				std::string fromDate_;
+				std::string toDate_;
+				long pageSize_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_

+ 69 - 0
cloudesl/include/alibabacloud/cloudesl/model/DescribeEslDeviceResult.h

@@ -0,0 +1,69 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_
+#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_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 DescribeEslDeviceResult : public ServiceResult
+			{
+			public:
+				struct EslDetailsItem
+				{
+					std::string status;
+					std::string eslBarCode;
+					std::string itemShortTitle;
+					std::string storeId;
+					std::string lastUpdateTime;
+					long itemBarCode;
+					long itemId;
+				};
+
+
+				DescribeEslDeviceResult();
+				explicit DescribeEslDeviceResult(const std::string &payload);
+				~DescribeEslDeviceResult();
+				long getTotalCount()const;
+				long getPageSize()const;
+				long getPageNumber()const;
+				std::vector<EslDetailsItem> getEslDetails()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				long totalCount_;
+				long pageSize_;
+				long pageNumber_;
+				std::vector<EslDetailsItem> eslDetails_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_

+ 1 - 0
cloudesl/include/alibabacloud/cloudesl/model/DescribeStoresResult.h

@@ -37,6 +37,7 @@ namespace AlibabaCloud
 					std::string parentId;
 					std::string gmtCreate;
 					std::string userStoreCode;
+					std::string timeZone;
 					std::string storeName;
 					std::string storeId;
 					std::string phone;

+ 3 - 0
cloudesl/include/alibabacloud/cloudesl/model/UpdateStoreRequest.h

@@ -37,6 +37,8 @@ namespace AlibabaCloud
 
 				std::string getExtraParams()const;
 				void setExtraParams(const std::string& extraParams);
+				std::string getTimezone()const;
+				void setTimezone(const std::string& timezone);
 				std::string getStoreName()const;
 				void setStoreName(const std::string& storeName);
 				std::string getStoreId()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
 
             private:
 				std::string extraParams_;
+				std::string timezone_;
 				std::string storeName_;
 				std::string storeId_;
 				std::string templateVersion_;

+ 72 - 0
cloudesl/src/CloudeslClient.cc

@@ -267,6 +267,42 @@ CloudeslClient::BindEslDeviceOutcomeCallable CloudeslClient::bindEslDeviceCallab
 	return task->get_future();
 }
 
+CloudeslClient::ConfirmServerLocationOutcome CloudeslClient::confirmServerLocation(const ConfirmServerLocationRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ConfirmServerLocationOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ConfirmServerLocationOutcome(ConfirmServerLocationResult(outcome.result()));
+	else
+		return ConfirmServerLocationOutcome(outcome.error());
+}
+
+void CloudeslClient::confirmServerLocationAsync(const ConfirmServerLocationRequest& request, const ConfirmServerLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, confirmServerLocation(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudeslClient::ConfirmServerLocationOutcomeCallable CloudeslClient::confirmServerLocationCallable(const ConfirmServerLocationRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ConfirmServerLocationOutcome()>>(
+			[this, request]()
+			{
+			return this->confirmServerLocation(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CloudeslClient::CreateStoreOutcome CloudeslClient::createStore(const CreateStoreRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +591,42 @@ CloudeslClient::DescribeClientPackageOutcomeCallable CloudeslClient::describeCli
 	return task->get_future();
 }
 
+CloudeslClient::DescribeEslDeviceOutcome CloudeslClient::describeEslDevice(const DescribeEslDeviceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeEslDeviceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeEslDeviceOutcome(DescribeEslDeviceResult(outcome.result()));
+	else
+		return DescribeEslDeviceOutcome(outcome.error());
+}
+
+void CloudeslClient::describeEslDeviceAsync(const DescribeEslDeviceRequest& request, const DescribeEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeEslDevice(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudeslClient::DescribeEslDeviceOutcomeCallable CloudeslClient::describeEslDeviceCallable(const DescribeEslDeviceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeEslDeviceOutcome()>>(
+			[this, request]()
+			{
+			return this->describeEslDevice(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CloudeslClient::DescribeEslDevicesOutcome CloudeslClient::describeEslDevices(const DescribeEslDevicesRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 29 - 0
cloudesl/src/model/ConfirmServerLocationRequest.cc

@@ -0,0 +1,29 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudesl/model/ConfirmServerLocationRequest.h>
+
+using AlibabaCloud::Cloudesl::Model::ConfirmServerLocationRequest;
+
+ConfirmServerLocationRequest::ConfirmServerLocationRequest() :
+	RpcServiceRequest("cloudesl", "2020-02-01", "ConfirmServerLocation")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+ConfirmServerLocationRequest::~ConfirmServerLocationRequest()
+{}
+

+ 72 - 0
cloudesl/src/model/ConfirmServerLocationResult.cc

@@ -0,0 +1,72 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudesl/model/ConfirmServerLocationResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudesl;
+using namespace AlibabaCloud::Cloudesl::Model;
+
+ConfirmServerLocationResult::ConfirmServerLocationResult() :
+	ServiceResult()
+{}
+
+ConfirmServerLocationResult::ConfirmServerLocationResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ConfirmServerLocationResult::~ConfirmServerLocationResult()
+{}
+
+void ConfirmServerLocationResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["ErrorCode"].isNull())
+		errorCode_ = value["ErrorCode"].asString();
+	if(!value["ErrorMessage"].isNull())
+		errorMessage_ = value["ErrorMessage"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string ConfirmServerLocationResult::getMessage()const
+{
+	return message_;
+}
+
+std::string ConfirmServerLocationResult::getErrorCode()const
+{
+	return errorCode_;
+}
+
+std::string ConfirmServerLocationResult::getErrorMessage()const
+{
+	return errorMessage_;
+}
+
+bool ConfirmServerLocationResult::getSuccess()const
+{
+	return success_;
+}
+

+ 11 - 0
cloudesl/src/model/CreateStoreRequest.cc

@@ -49,6 +49,17 @@ void CreateStoreRequest::setClientToken(const std::string& clientToken)
 	setBodyParameter("ClientToken", clientToken);
 }
 
+std::string CreateStoreRequest::getTimeZone()const
+{
+	return timeZone_;
+}
+
+void CreateStoreRequest::setTimeZone(const std::string& timeZone)
+{
+	timeZone_ = timeZone;
+	setBodyParameter("TimeZone", timeZone);
+}
+
 std::string CreateStoreRequest::getStoreName()const
 {
 	return storeName_;

+ 84 - 0
cloudesl/src/model/DescribeEslDeviceRequest.cc

@@ -0,0 +1,84 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudesl/model/DescribeEslDeviceRequest.h>
+
+using AlibabaCloud::Cloudesl::Model::DescribeEslDeviceRequest;
+
+DescribeEslDeviceRequest::DescribeEslDeviceRequest() :
+	RpcServiceRequest("cloudesl", "2020-02-01", "DescribeEslDevice")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeEslDeviceRequest::~DescribeEslDeviceRequest()
+{}
+
+std::string DescribeEslDeviceRequest::getStoreId()const
+{
+	return storeId_;
+}
+
+void DescribeEslDeviceRequest::setStoreId(const std::string& storeId)
+{
+	storeId_ = storeId;
+	setBodyParameter("StoreId", storeId);
+}
+
+long DescribeEslDeviceRequest::getPageNumber()const
+{
+	return pageNumber_;
+}
+
+void DescribeEslDeviceRequest::setPageNumber(long pageNumber)
+{
+	pageNumber_ = pageNumber;
+	setBodyParameter("PageNumber", std::to_string(pageNumber));
+}
+
+std::string DescribeEslDeviceRequest::getFromDate()const
+{
+	return fromDate_;
+}
+
+void DescribeEslDeviceRequest::setFromDate(const std::string& fromDate)
+{
+	fromDate_ = fromDate;
+	setBodyParameter("FromDate", fromDate);
+}
+
+std::string DescribeEslDeviceRequest::getToDate()const
+{
+	return toDate_;
+}
+
+void DescribeEslDeviceRequest::setToDate(const std::string& toDate)
+{
+	toDate_ = toDate;
+	setBodyParameter("ToDate", toDate);
+}
+
+long DescribeEslDeviceRequest::getPageSize()const
+{
+	return pageSize_;
+}
+
+void DescribeEslDeviceRequest::setPageSize(long pageSize)
+{
+	pageSize_ = pageSize;
+	setBodyParameter("PageSize", std::to_string(pageSize));
+}
+

+ 97 - 0
cloudesl/src/model/DescribeEslDeviceResult.cc

@@ -0,0 +1,97 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/DescribeEslDeviceResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudesl;
+using namespace AlibabaCloud::Cloudesl::Model;
+
+DescribeEslDeviceResult::DescribeEslDeviceResult() :
+	ServiceResult()
+{}
+
+DescribeEslDeviceResult::DescribeEslDeviceResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeEslDeviceResult::~DescribeEslDeviceResult()
+{}
+
+void DescribeEslDeviceResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allEslDetailsNode = value["EslDetails"]["eslDetailsItem"];
+	for (auto valueEslDetailseslDetailsItem : allEslDetailsNode)
+	{
+		EslDetailsItem eslDetailsObject;
+		if(!valueEslDetailseslDetailsItem["EslBarCode"].isNull())
+			eslDetailsObject.eslBarCode = valueEslDetailseslDetailsItem["EslBarCode"].asString();
+		if(!valueEslDetailseslDetailsItem["LastUpdateTime"].isNull())
+			eslDetailsObject.lastUpdateTime = valueEslDetailseslDetailsItem["LastUpdateTime"].asString();
+		if(!valueEslDetailseslDetailsItem["ItemBarCode"].isNull())
+			eslDetailsObject.itemBarCode = std::stol(valueEslDetailseslDetailsItem["ItemBarCode"].asString());
+		if(!valueEslDetailseslDetailsItem["ItemId"].isNull())
+			eslDetailsObject.itemId = std::stol(valueEslDetailseslDetailsItem["ItemId"].asString());
+		if(!valueEslDetailseslDetailsItem["ItemShortTitle"].isNull())
+			eslDetailsObject.itemShortTitle = valueEslDetailseslDetailsItem["ItemShortTitle"].asString();
+		if(!valueEslDetailseslDetailsItem["Status"].isNull())
+			eslDetailsObject.status = valueEslDetailseslDetailsItem["Status"].asString();
+		if(!valueEslDetailseslDetailsItem["StoreId"].isNull())
+			eslDetailsObject.storeId = valueEslDetailseslDetailsItem["StoreId"].asString();
+		eslDetails_.push_back(eslDetailsObject);
+	}
+	if(!value["TotalCount"].isNull())
+		totalCount_ = std::stol(value["TotalCount"].asString());
+	if(!value["PageSize"].isNull())
+		pageSize_ = std::stol(value["PageSize"].asString());
+	if(!value["PageNumber"].isNull())
+		pageNumber_ = std::stol(value["PageNumber"].asString());
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+long DescribeEslDeviceResult::getTotalCount()const
+{
+	return totalCount_;
+}
+
+long DescribeEslDeviceResult::getPageSize()const
+{
+	return pageSize_;
+}
+
+long DescribeEslDeviceResult::getPageNumber()const
+{
+	return pageNumber_;
+}
+
+std::vector<DescribeEslDeviceResult::EslDetailsItem> DescribeEslDeviceResult::getEslDetails()const
+{
+	return eslDetails_;
+}
+
+bool DescribeEslDeviceResult::getSuccess()const
+{
+	return success_;
+}
+

+ 2 - 0
cloudesl/src/model/DescribeStoresResult.cc

@@ -61,6 +61,8 @@ void DescribeStoresResult::parse(const std::string &payload)
 			storesObject.level = valueStoresStoreInfo["Level"].asString();
 		if(!valueStoresStoreInfo["TemplateVersion"].isNull())
 			storesObject.templateVersion = valueStoresStoreInfo["TemplateVersion"].asString();
+		if(!valueStoresStoreInfo["TimeZone"].isNull())
+			storesObject.timeZone = valueStoresStoreInfo["TimeZone"].asString();
 		stores_.push_back(storesObject);
 	}
 	if(!value["ErrorMessage"].isNull())

+ 11 - 0
cloudesl/src/model/UpdateStoreRequest.cc

@@ -38,6 +38,17 @@ void UpdateStoreRequest::setExtraParams(const std::string& extraParams)
 	setBodyParameter("ExtraParams", extraParams);
 }
 
+std::string UpdateStoreRequest::getTimezone()const
+{
+	return timezone_;
+}
+
+void UpdateStoreRequest::setTimezone(const std::string& timezone)
+{
+	timezone_ = timezone;
+	setBodyParameter("Timezone", timezone);
+}
+
 std::string UpdateStoreRequest::getStoreName()const
 {
 	return storeName_;