Procházet zdrojové kódy

Generated 2020-05-18 for dataworks-public.

sdk-team před 4 roky
rodič
revize
c6fe210221
34 změnil soubory, kde provedl 448 přidání a 376 odebrání
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 8 8
      dataworks-public/CMakeLists.txt
  4. 16 16
      dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h
  5. 3 3
      dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h
  6. 3 0
      dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h
  7. 3 0
      dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h
  8. 1 0
      dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h
  9. 1 0
      dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h
  10. 12 12
      dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftPersonnelsRequest.h
  11. 13 11
      dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftPersonnelsResult.h
  12. 12 12
      dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h
  13. 11 13
      dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h
  14. 3 0
      dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h
  15. 1 0
      dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h
  16. 3 0
      dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h
  17. 3 0
      dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h
  18. 72 72
      dataworks-public/src/Dataworks-publicClient.cc
  19. 9 9
      dataworks-public/src/model/CreateDataSourceRequest.cc
  20. 9 0
      dataworks-public/src/model/CreateTableRequest.cc
  21. 9 0
      dataworks-public/src/model/DeleteTableRequest.cc
  22. 0 72
      dataworks-public/src/model/GetDutyRosterRequest.cc
  23. 0 70
      dataworks-public/src/model/GetDutyRosterResult.cc
  24. 2 0
      dataworks-public/src/model/GetMetaTableBasicInfoResult.cc
  25. 2 0
      dataworks-public/src/model/GetMetaTableFullInfoResult.cc
  26. 0 63
      dataworks-public/src/model/ListDutyRostersRequest.cc
  27. 72 0
      dataworks-public/src/model/ListShiftPersonnelsRequest.cc
  28. 70 0
      dataworks-public/src/model/ListShiftPersonnelsResult.cc
  29. 63 0
      dataworks-public/src/model/ListShiftSchedulesRequest.cc
  30. 14 14
      dataworks-public/src/model/ListShiftSchedulesResult.cc
  31. 9 0
      dataworks-public/src/model/SearchMetaTablesRequest.cc
  32. 2 0
      dataworks-public/src/model/SearchMetaTablesResult.cc
  33. 9 0
      dataworks-public/src/model/UpdateMetaTableRequest.cc
  34. 9 0
      dataworks-public/src/model/UpdateTableRequest.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2022-07-19 Version: 1.36.1187
+- Generated 2020-05-18 for `dataworks-public`.
+
 2022-07-19 Version: 1.36.1186
 - Support MatchAddressType in RouteMap API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1186
+1.36.1187

+ 8 - 8
dataworks-public/CMakeLists.txt

@@ -175,8 +175,6 @@ set(dataworks-public_public_header_model
 	include/alibabacloud/dataworks-public/model/GetDataSourceMetaResult.h
 	include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h
 	include/alibabacloud/dataworks-public/model/GetDeploymentResult.h
-	include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h
-	include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h
 	include/alibabacloud/dataworks-public/model/GetExtensionRequest.h
 	include/alibabacloud/dataworks-public/model/GetExtensionResult.h
 	include/alibabacloud/dataworks-public/model/GetFileRequest.h
@@ -319,8 +317,6 @@ set(dataworks-public_public_header_model
 	include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h
 	include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h
 	include/alibabacloud/dataworks-public/model/ListDeploymentsResult.h
-	include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h
-	include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h
 	include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h
 	include/alibabacloud/dataworks-public/model/ListExtensionsResult.h
 	include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h
@@ -377,6 +373,10 @@ set(dataworks-public_public_header_model
 	include/alibabacloud/dataworks-public/model/ListRemindsResult.h
 	include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h
 	include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h
+	include/alibabacloud/dataworks-public/model/ListShiftPersonnelsRequest.h
+	include/alibabacloud/dataworks-public/model/ListShiftPersonnelsResult.h
+	include/alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h
+	include/alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h
 	include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h
 	include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h
 	include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h
@@ -648,8 +648,6 @@ set(dataworks-public_src
 	src/model/GetDataSourceMetaResult.cc
 	src/model/GetDeploymentRequest.cc
 	src/model/GetDeploymentResult.cc
-	src/model/GetDutyRosterRequest.cc
-	src/model/GetDutyRosterResult.cc
 	src/model/GetExtensionRequest.cc
 	src/model/GetExtensionResult.cc
 	src/model/GetFileRequest.cc
@@ -792,8 +790,6 @@ set(dataworks-public_src
 	src/model/ListDataSourcesResult.cc
 	src/model/ListDeploymentsRequest.cc
 	src/model/ListDeploymentsResult.cc
-	src/model/ListDutyRostersRequest.cc
-	src/model/ListDutyRostersResult.cc
 	src/model/ListExtensionsRequest.cc
 	src/model/ListExtensionsResult.cc
 	src/model/ListFileTypeRequest.cc
@@ -850,6 +846,10 @@ set(dataworks-public_src
 	src/model/ListRemindsResult.cc
 	src/model/ListResourceGroupsRequest.cc
 	src/model/ListResourceGroupsResult.cc
+	src/model/ListShiftPersonnelsRequest.cc
+	src/model/ListShiftPersonnelsResult.cc
+	src/model/ListShiftSchedulesRequest.cc
+	src/model/ListShiftSchedulesResult.cc
 	src/model/ListSuccessInstanceAmountRequest.cc
 	src/model/ListSuccessInstanceAmountResult.cc
 	src/model/ListTableLevelRequest.cc

+ 16 - 16
dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h

@@ -176,8 +176,6 @@
 #include "model/GetDataSourceMetaResult.h"
 #include "model/GetDeploymentRequest.h"
 #include "model/GetDeploymentResult.h"
-#include "model/GetDutyRosterRequest.h"
-#include "model/GetDutyRosterResult.h"
 #include "model/GetExtensionRequest.h"
 #include "model/GetExtensionResult.h"
 #include "model/GetFileRequest.h"
@@ -320,8 +318,6 @@
 #include "model/ListDataSourcesResult.h"
 #include "model/ListDeploymentsRequest.h"
 #include "model/ListDeploymentsResult.h"
-#include "model/ListDutyRostersRequest.h"
-#include "model/ListDutyRostersResult.h"
 #include "model/ListExtensionsRequest.h"
 #include "model/ListExtensionsResult.h"
 #include "model/ListFileTypeRequest.h"
@@ -378,6 +374,10 @@
 #include "model/ListRemindsResult.h"
 #include "model/ListResourceGroupsRequest.h"
 #include "model/ListResourceGroupsResult.h"
+#include "model/ListShiftPersonnelsRequest.h"
+#include "model/ListShiftPersonnelsResult.h"
+#include "model/ListShiftSchedulesRequest.h"
+#include "model/ListShiftSchedulesResult.h"
 #include "model/ListSuccessInstanceAmountRequest.h"
 #include "model/ListSuccessInstanceAmountResult.h"
 #include "model/ListTableLevelRequest.h"
@@ -732,9 +732,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::GetDeploymentResult> GetDeploymentOutcome;
 			typedef std::future<GetDeploymentOutcome> GetDeploymentOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::GetDeploymentRequest&, const GetDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeploymentAsyncHandler;
-			typedef Outcome<Error, Model::GetDutyRosterResult> GetDutyRosterOutcome;
-			typedef std::future<GetDutyRosterOutcome> GetDutyRosterOutcomeCallable;
-			typedef std::function<void(const Dataworks_publicClient*, const Model::GetDutyRosterRequest&, const GetDutyRosterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDutyRosterAsyncHandler;
 			typedef Outcome<Error, Model::GetExtensionResult> GetExtensionOutcome;
 			typedef std::future<GetExtensionOutcome> GetExtensionOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::GetExtensionRequest&, const GetExtensionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExtensionAsyncHandler;
@@ -948,9 +945,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListDeploymentsResult> ListDeploymentsOutcome;
 			typedef std::future<ListDeploymentsOutcome> ListDeploymentsOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::ListDeploymentsRequest&, const ListDeploymentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeploymentsAsyncHandler;
-			typedef Outcome<Error, Model::ListDutyRostersResult> ListDutyRostersOutcome;
-			typedef std::future<ListDutyRostersOutcome> ListDutyRostersOutcomeCallable;
-			typedef std::function<void(const Dataworks_publicClient*, const Model::ListDutyRostersRequest&, const ListDutyRostersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDutyRostersAsyncHandler;
 			typedef Outcome<Error, Model::ListExtensionsResult> ListExtensionsOutcome;
 			typedef std::future<ListExtensionsOutcome> ListExtensionsOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::ListExtensionsRequest&, const ListExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExtensionsAsyncHandler;
@@ -1035,6 +1029,12 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListResourceGroupsResult> ListResourceGroupsOutcome;
 			typedef std::future<ListResourceGroupsOutcome> ListResourceGroupsOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::ListResourceGroupsRequest&, const ListResourceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceGroupsAsyncHandler;
+			typedef Outcome<Error, Model::ListShiftPersonnelsResult> ListShiftPersonnelsOutcome;
+			typedef std::future<ListShiftPersonnelsOutcome> ListShiftPersonnelsOutcomeCallable;
+			typedef std::function<void(const Dataworks_publicClient*, const Model::ListShiftPersonnelsRequest&, const ListShiftPersonnelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListShiftPersonnelsAsyncHandler;
+			typedef Outcome<Error, Model::ListShiftSchedulesResult> ListShiftSchedulesOutcome;
+			typedef std::future<ListShiftSchedulesOutcome> ListShiftSchedulesOutcomeCallable;
+			typedef std::function<void(const Dataworks_publicClient*, const Model::ListShiftSchedulesRequest&, const ListShiftSchedulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListShiftSchedulesAsyncHandler;
 			typedef Outcome<Error, Model::ListSuccessInstanceAmountResult> ListSuccessInstanceAmountOutcome;
 			typedef std::future<ListSuccessInstanceAmountOutcome> ListSuccessInstanceAmountOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::ListSuccessInstanceAmountRequest&, const ListSuccessInstanceAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSuccessInstanceAmountAsyncHandler;
@@ -1442,9 +1442,6 @@ namespace AlibabaCloud
 			GetDeploymentOutcome getDeployment(const Model::GetDeploymentRequest &request)const;
 			void getDeploymentAsync(const Model::GetDeploymentRequest& request, const GetDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetDeploymentOutcomeCallable getDeploymentCallable(const Model::GetDeploymentRequest& request) const;
-			GetDutyRosterOutcome getDutyRoster(const Model::GetDutyRosterRequest &request)const;
-			void getDutyRosterAsync(const Model::GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			GetDutyRosterOutcomeCallable getDutyRosterCallable(const Model::GetDutyRosterRequest& request) const;
 			GetExtensionOutcome getExtension(const Model::GetExtensionRequest &request)const;
 			void getExtensionAsync(const Model::GetExtensionRequest& request, const GetExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetExtensionOutcomeCallable getExtensionCallable(const Model::GetExtensionRequest& request) const;
@@ -1658,9 +1655,6 @@ namespace AlibabaCloud
 			ListDeploymentsOutcome listDeployments(const Model::ListDeploymentsRequest &request)const;
 			void listDeploymentsAsync(const Model::ListDeploymentsRequest& request, const ListDeploymentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListDeploymentsOutcomeCallable listDeploymentsCallable(const Model::ListDeploymentsRequest& request) const;
-			ListDutyRostersOutcome listDutyRosters(const Model::ListDutyRostersRequest &request)const;
-			void listDutyRostersAsync(const Model::ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			ListDutyRostersOutcomeCallable listDutyRostersCallable(const Model::ListDutyRostersRequest& request) const;
 			ListExtensionsOutcome listExtensions(const Model::ListExtensionsRequest &request)const;
 			void listExtensionsAsync(const Model::ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListExtensionsOutcomeCallable listExtensionsCallable(const Model::ListExtensionsRequest& request) const;
@@ -1745,6 +1739,12 @@ namespace AlibabaCloud
 			ListResourceGroupsOutcome listResourceGroups(const Model::ListResourceGroupsRequest &request)const;
 			void listResourceGroupsAsync(const Model::ListResourceGroupsRequest& request, const ListResourceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListResourceGroupsOutcomeCallable listResourceGroupsCallable(const Model::ListResourceGroupsRequest& request) const;
+			ListShiftPersonnelsOutcome listShiftPersonnels(const Model::ListShiftPersonnelsRequest &request)const;
+			void listShiftPersonnelsAsync(const Model::ListShiftPersonnelsRequest& request, const ListShiftPersonnelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ListShiftPersonnelsOutcomeCallable listShiftPersonnelsCallable(const Model::ListShiftPersonnelsRequest& request) const;
+			ListShiftSchedulesOutcome listShiftSchedules(const Model::ListShiftSchedulesRequest &request)const;
+			void listShiftSchedulesAsync(const Model::ListShiftSchedulesRequest& request, const ListShiftSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ListShiftSchedulesOutcomeCallable listShiftSchedulesCallable(const Model::ListShiftSchedulesRequest& request) const;
 			ListSuccessInstanceAmountOutcome listSuccessInstanceAmount(const Model::ListSuccessInstanceAmountRequest &request)const;
 			void listSuccessInstanceAmountAsync(const Model::ListSuccessInstanceAmountRequest& request, const ListSuccessInstanceAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListSuccessInstanceAmountOutcomeCallable listSuccessInstanceAmountCallable(const Model::ListSuccessInstanceAmountRequest& request) const;

+ 3 - 3
dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h

@@ -38,21 +38,21 @@ public:
 	void setContent(const std::string &content);
 	std::string getSubType() const;
 	void setSubType(const std::string &subType);
-	std::string getName() const;
-	void setName(const std::string &name);
 	int getEnvType() const;
 	void setEnvType(int envType);
 	long getProjectId() const;
 	void setProjectId(long projectId);
+	std::string getName() const;
+	void setName(const std::string &name);
 
 private:
 	std::string dataSourceType_;
 	std::string description_;
 	std::string content_;
 	std::string subType_;
-	std::string name_;
 	int envType_;
 	long projectId_;
+	std::string name_;
 };
 } // namespace Model
 } // namespace Dataworks_public

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h

@@ -43,6 +43,8 @@ public:
 	};
 	CreateTableRequest();
 	~CreateTableRequest();
+	std::string getSchema() const;
+	void setSchema(const std::string &schema);
 	std::string getClientToken() const;
 	void setClientToken(const std::string &clientToken);
 	std::vector<Columns> getColumns() const;
@@ -83,6 +85,7 @@ public:
 	void setComment(const std::string &comment);
 
 private:
+	std::string schema_;
 	std::string clientToken_;
 	std::vector<Columns> columns_;
 	int lifeCycle_;

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h

@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServic
 public:
 	DeleteTableRequest();
 	~DeleteTableRequest();
+	std::string getSchema() const;
+	void setSchema(const std::string &schema);
 	int getEnvType() const;
 	void setEnvType(int envType);
 	std::string getTableName() const;
@@ -40,6 +42,7 @@ public:
 	void setProjectId(long projectId);
 
 private:
+	std::string schema_;
 	int envType_;
 	std::string tableName_;
 	std::string appGuid_;

+ 1 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h

@@ -38,6 +38,7 @@ namespace AlibabaCloud
 					int lifeCycle;
 					bool isPartitionTable;
 					std::string projectName;
+					std::string schema;
 					long lastAccessTime;
 					long lastModifyTime;
 					int envType;

+ 1 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h

@@ -53,6 +53,7 @@ namespace AlibabaCloud
 					long lastDdlTime;
 					long createTime;
 					long totalColumnCount;
+					std::string schema;
 					long projectId;
 					std::string databaseName;
 					long lastAccessTime;

+ 12 - 12
dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h → dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftPersonnelsRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
-#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_
 
 #include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
 #include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,29 +26,29 @@
 namespace AlibabaCloud {
 namespace Dataworks_public {
 namespace Model {
-class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterRequest : public RpcServiceRequest {
+class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftPersonnelsRequest : public RpcServiceRequest {
 public:
-	GetDutyRosterRequest();
-	~GetDutyRosterRequest();
-	std::string getDutyRosterIdentifier() const;
-	void setDutyRosterIdentifier(const std::string &dutyRosterIdentifier);
-	std::string getWatchkeeper() const;
-	void setWatchkeeper(const std::string &watchkeeper);
+	ListShiftPersonnelsRequest();
+	~ListShiftPersonnelsRequest();
+	std::string getShiftPersonUID() const;
+	void setShiftPersonUID(const std::string &shiftPersonUID);
 	std::string getUserType() const;
 	void setUserType(const std::string &userType);
 	long getEndTime() const;
 	void setEndTime(long endTime);
 	long getBeginTime() const;
 	void setBeginTime(long beginTime);
+	std::string getShiftScheduleIdentifier() const;
+	void setShiftScheduleIdentifier(const std::string &shiftScheduleIdentifier);
 
 private:
-	std::string dutyRosterIdentifier_;
-	std::string watchkeeper_;
+	std::string shiftPersonUID_;
 	std::string userType_;
 	long endTime_;
 	long beginTime_;
+	std::string shiftScheduleIdentifier_;
 };
 } // namespace Model
 } // namespace Dataworks_public
 } // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_

+ 13 - 11
dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h → dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftPersonnelsResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
-#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,26 +29,28 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersResult : public ServiceResult
+			class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftPersonnelsResult : public ServiceResult
 			{
 			public:
 				struct Paging
 				{
-					struct DutyRostersItem
+					struct ShiftPersonsItem
 					{
-						std::string dutyRosterName;
-						std::string dutyRosterIdentifier;
+						std::string shiftPersonName;
+						long endTime;
+						long beginTime;
+						std::string shiftPersonUID;
 					};
 					int totalCount;
 					int pageSize;
 					int pageNumber;
-					std::vector<DutyRostersItem> dutyRosters;
+					std::vector<ShiftPersonsItem> shiftPersons;
 				};
 
 
-				ListDutyRostersResult();
-				explicit ListDutyRostersResult(const std::string &payload);
-				~ListDutyRostersResult();
+				ListShiftPersonnelsResult();
+				explicit ListShiftPersonnelsResult(const std::string &payload);
+				~ListShiftPersonnelsResult();
 				Paging getPaging()const;
 
 			protected:
@@ -60,4 +62,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_

+ 12 - 12
dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h → dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
-#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_
 
 #include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
 #include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,26 +26,26 @@
 namespace AlibabaCloud {
 namespace Dataworks_public {
 namespace Model {
-class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersRequest : public RpcServiceRequest {
+class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftSchedulesRequest : public RpcServiceRequest {
 public:
-	ListDutyRostersRequest();
-	~ListDutyRostersRequest();
-	std::string getDutyRosterOwner() const;
-	void setDutyRosterOwner(const std::string &dutyRosterOwner);
-	std::string getDutyRosterName() const;
-	void setDutyRosterName(const std::string &dutyRosterName);
+	ListShiftSchedulesRequest();
+	~ListShiftSchedulesRequest();
+	std::string getOwner() const;
+	void setOwner(const std::string &owner);
 	int getPageSize() const;
 	void setPageSize(int pageSize);
+	std::string getShiftScheduleName() const;
+	void setShiftScheduleName(const std::string &shiftScheduleName);
 	int getPageNumber() const;
 	void setPageNumber(int pageNumber);
 
 private:
-	std::string dutyRosterOwner_;
-	std::string dutyRosterName_;
+	std::string owner_;
 	int pageSize_;
+	std::string shiftScheduleName_;
 	int pageNumber_;
 };
 } // namespace Model
 } // namespace Dataworks_public
 } // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_

+ 11 - 13
dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h → dataworks-public/include/alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
-#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,28 +29,26 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterResult : public ServiceResult
+			class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftSchedulesResult : public ServiceResult
 			{
 			public:
 				struct Paging
 				{
-					struct DutyRosterItem
+					struct ShiftSchedulesItem
 					{
-						std::string watchkeeperName;
-						std::string watchkeeper;
-						long startLong;
-						long endLong;
+						std::string shiftScheduleIdentifier;
+						std::string shiftScheduleName;
 					};
 					int totalCount;
-					std::vector<DutyRosterItem> dutyRoster;
 					int pageSize;
 					int pageNumber;
+					std::vector<ShiftSchedulesItem> shiftSchedules;
 				};
 
 
-				GetDutyRosterResult();
-				explicit GetDutyRosterResult(const std::string &payload);
-				~GetDutyRosterResult();
+				ListShiftSchedulesResult();
+				explicit ListShiftSchedulesResult(const std::string &payload);
+				~ListShiftSchedulesResult();
 				Paging getPaging()const;
 
 			protected:
@@ -62,4 +60,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h

@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesRequest : public RpcS
 public:
 	SearchMetaTablesRequest();
 	~SearchMetaTablesRequest();
+	std::string getSchema() const;
+	void setSchema(const std::string &schema);
 	std::string getDataSourceType() const;
 	void setDataSourceType(const std::string &dataSourceType);
 	std::string getClusterId() const;
@@ -46,6 +48,7 @@ public:
 	void setKeyword(const std::string &keyword);
 
 private:
+	std::string schema_;
 	std::string dataSourceType_;
 	std::string clusterId_;
 	int pageNumber_;

+ 1 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h

@@ -43,6 +43,7 @@ namespace AlibabaCloud
 						std::string ownerId;
 						std::string projectName;
 						std::string clusterId;
+						std::string schema;
 						std::string databaseName;
 						long projectId;
 						int envType;

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h

@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableRequest : public RpcSe
 public:
 	UpdateMetaTableRequest();
 	~UpdateMetaTableRequest();
+	std::string getSchema() const;
+	void setSchema(const std::string &schema);
 	int getVisibility() const;
 	void setVisibility(int visibility);
 	std::string getCaption() const;
@@ -52,6 +54,7 @@ public:
 	void setCategoryId(long categoryId);
 
 private:
+	std::string schema_;
 	int visibility_;
 	std::string caption_;
 	std::string newOwnerId_;

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h

@@ -43,6 +43,8 @@ public:
 	};
 	UpdateTableRequest();
 	~UpdateTableRequest();
+	std::string getSchema() const;
+	void setSchema(const std::string &schema);
 	std::vector<Columns> getColumns() const;
 	void setColumns(const std::vector<Columns> &columns);
 	int getLifeCycle() const;
@@ -83,6 +85,7 @@ public:
 	void setCreateIfNotExists(bool createIfNotExists);
 
 private:
+	std::string schema_;
 	std::vector<Columns> columns_;
 	int lifeCycle_;
 	std::vector<Themes> themes_;

+ 72 - 72
dataworks-public/src/Dataworks-publicClient.cc

@@ -2823,42 +2823,6 @@ Dataworks_publicClient::GetDeploymentOutcomeCallable Dataworks_publicClient::get
 	return task->get_future();
 }
 
-Dataworks_publicClient::GetDutyRosterOutcome Dataworks_publicClient::getDutyRoster(const GetDutyRosterRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return GetDutyRosterOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return GetDutyRosterOutcome(GetDutyRosterResult(outcome.result()));
-	else
-		return GetDutyRosterOutcome(outcome.error());
-}
-
-void Dataworks_publicClient::getDutyRosterAsync(const GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, getDutyRoster(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-Dataworks_publicClient::GetDutyRosterOutcomeCallable Dataworks_publicClient::getDutyRosterCallable(const GetDutyRosterRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<GetDutyRosterOutcome()>>(
-			[this, request]()
-			{
-			return this->getDutyRoster(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 Dataworks_publicClient::GetExtensionOutcome Dataworks_publicClient::getExtension(const GetExtensionRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5415,42 +5379,6 @@ Dataworks_publicClient::ListDeploymentsOutcomeCallable Dataworks_publicClient::l
 	return task->get_future();
 }
 
-Dataworks_publicClient::ListDutyRostersOutcome Dataworks_publicClient::listDutyRosters(const ListDutyRostersRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return ListDutyRostersOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return ListDutyRostersOutcome(ListDutyRostersResult(outcome.result()));
-	else
-		return ListDutyRostersOutcome(outcome.error());
-}
-
-void Dataworks_publicClient::listDutyRostersAsync(const ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, listDutyRosters(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-Dataworks_publicClient::ListDutyRostersOutcomeCallable Dataworks_publicClient::listDutyRostersCallable(const ListDutyRostersRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<ListDutyRostersOutcome()>>(
-			[this, request]()
-			{
-			return this->listDutyRosters(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 Dataworks_publicClient::ListExtensionsOutcome Dataworks_publicClient::listExtensions(const ListExtensionsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6459,6 +6387,78 @@ Dataworks_publicClient::ListResourceGroupsOutcomeCallable Dataworks_publicClient
 	return task->get_future();
 }
 
+Dataworks_publicClient::ListShiftPersonnelsOutcome Dataworks_publicClient::listShiftPersonnels(const ListShiftPersonnelsRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ListShiftPersonnelsOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ListShiftPersonnelsOutcome(ListShiftPersonnelsResult(outcome.result()));
+	else
+		return ListShiftPersonnelsOutcome(outcome.error());
+}
+
+void Dataworks_publicClient::listShiftPersonnelsAsync(const ListShiftPersonnelsRequest& request, const ListShiftPersonnelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, listShiftPersonnels(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Dataworks_publicClient::ListShiftPersonnelsOutcomeCallable Dataworks_publicClient::listShiftPersonnelsCallable(const ListShiftPersonnelsRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ListShiftPersonnelsOutcome()>>(
+			[this, request]()
+			{
+			return this->listShiftPersonnels(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+Dataworks_publicClient::ListShiftSchedulesOutcome Dataworks_publicClient::listShiftSchedules(const ListShiftSchedulesRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ListShiftSchedulesOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ListShiftSchedulesOutcome(ListShiftSchedulesResult(outcome.result()));
+	else
+		return ListShiftSchedulesOutcome(outcome.error());
+}
+
+void Dataworks_publicClient::listShiftSchedulesAsync(const ListShiftSchedulesRequest& request, const ListShiftSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, listShiftSchedules(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Dataworks_publicClient::ListShiftSchedulesOutcomeCallable Dataworks_publicClient::listShiftSchedulesCallable(const ListShiftSchedulesRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ListShiftSchedulesOutcome()>>(
+			[this, request]()
+			{
+			return this->listShiftSchedules(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Dataworks_publicClient::ListSuccessInstanceAmountOutcome Dataworks_publicClient::listSuccessInstanceAmount(const ListSuccessInstanceAmountRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 9 - 9
dataworks-public/src/model/CreateDataSourceRequest.cc

@@ -61,15 +61,6 @@ void CreateDataSourceRequest::setSubType(const std::string &subType) {
   setParameter(std::string("SubType"), subType);
 }
 
-std::string CreateDataSourceRequest::getName() const {
-  return name_;
-}
-
-void CreateDataSourceRequest::setName(const std::string &name) {
-  name_ = name;
-  setParameter(std::string("Name"), name);
-}
-
 int CreateDataSourceRequest::getEnvType() const {
   return envType_;
 }
@@ -88,3 +79,12 @@ void CreateDataSourceRequest::setProjectId(long projectId) {
   setParameter(std::string("ProjectId"), std::to_string(projectId));
 }
 
+std::string CreateDataSourceRequest::getName() const {
+  return name_;
+}
+
+void CreateDataSourceRequest::setName(const std::string &name) {
+  name_ = name;
+  setParameter(std::string("Name"), name);
+}
+

+ 9 - 0
dataworks-public/src/model/CreateTableRequest.cc

@@ -25,6 +25,15 @@ CreateTableRequest::CreateTableRequest()
 
 CreateTableRequest::~CreateTableRequest() {}
 
+std::string CreateTableRequest::getSchema() const {
+  return schema_;
+}
+
+void CreateTableRequest::setSchema(const std::string &schema) {
+  schema_ = schema;
+  setParameter(std::string("Schema"), schema);
+}
+
 std::string CreateTableRequest::getClientToken() const {
   return clientToken_;
 }

+ 9 - 0
dataworks-public/src/model/DeleteTableRequest.cc

@@ -25,6 +25,15 @@ DeleteTableRequest::DeleteTableRequest()
 
 DeleteTableRequest::~DeleteTableRequest() {}
 
+std::string DeleteTableRequest::getSchema() const {
+  return schema_;
+}
+
+void DeleteTableRequest::setSchema(const std::string &schema) {
+  schema_ = schema;
+  setParameter(std::string("Schema"), schema);
+}
+
 int DeleteTableRequest::getEnvType() const {
   return envType_;
 }

+ 0 - 72
dataworks-public/src/model/GetDutyRosterRequest.cc

@@ -1,72 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dataworks-public/model/GetDutyRosterRequest.h>
-
-using AlibabaCloud::Dataworks_public::Model::GetDutyRosterRequest;
-
-GetDutyRosterRequest::GetDutyRosterRequest()
-    : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDutyRoster") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-GetDutyRosterRequest::~GetDutyRosterRequest() {}
-
-std::string GetDutyRosterRequest::getDutyRosterIdentifier() const {
-  return dutyRosterIdentifier_;
-}
-
-void GetDutyRosterRequest::setDutyRosterIdentifier(const std::string &dutyRosterIdentifier) {
-  dutyRosterIdentifier_ = dutyRosterIdentifier;
-  setBodyParameter(std::string("DutyRosterIdentifier"), dutyRosterIdentifier);
-}
-
-std::string GetDutyRosterRequest::getWatchkeeper() const {
-  return watchkeeper_;
-}
-
-void GetDutyRosterRequest::setWatchkeeper(const std::string &watchkeeper) {
-  watchkeeper_ = watchkeeper;
-  setBodyParameter(std::string("Watchkeeper"), watchkeeper);
-}
-
-std::string GetDutyRosterRequest::getUserType() const {
-  return userType_;
-}
-
-void GetDutyRosterRequest::setUserType(const std::string &userType) {
-  userType_ = userType;
-  setBodyParameter(std::string("UserType"), userType);
-}
-
-long GetDutyRosterRequest::getEndTime() const {
-  return endTime_;
-}
-
-void GetDutyRosterRequest::setEndTime(long endTime) {
-  endTime_ = endTime;
-  setBodyParameter(std::string("EndTime"), std::to_string(endTime));
-}
-
-long GetDutyRosterRequest::getBeginTime() const {
-  return beginTime_;
-}
-
-void GetDutyRosterRequest::setBeginTime(long beginTime) {
-  beginTime_ = beginTime;
-  setBodyParameter(std::string("BeginTime"), std::to_string(beginTime));
-}
-

+ 0 - 70
dataworks-public/src/model/GetDutyRosterResult.cc

@@ -1,70 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dataworks-public/model/GetDutyRosterResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Dataworks_public;
-using namespace AlibabaCloud::Dataworks_public::Model;
-
-GetDutyRosterResult::GetDutyRosterResult() :
-	ServiceResult()
-{}
-
-GetDutyRosterResult::GetDutyRosterResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-GetDutyRosterResult::~GetDutyRosterResult()
-{}
-
-void GetDutyRosterResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto pagingNode = value["Paging"];
-	if(!pagingNode["PageNumber"].isNull())
-		paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString());
-	if(!pagingNode["PageSize"].isNull())
-		paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
-	if(!pagingNode["TotalCount"].isNull())
-		paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
-	auto allDutyRosterNode = pagingNode["DutyRoster"]["DutyRosterItem"];
-	for (auto pagingNodeDutyRosterDutyRosterItem : allDutyRosterNode)
-	{
-		Paging::DutyRosterItem dutyRosterItemObject;
-		if(!pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].isNull())
-			dutyRosterItemObject.watchkeeper = pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].asString();
-		if(!pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].isNull())
-			dutyRosterItemObject.watchkeeperName = pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].asString();
-		if(!pagingNodeDutyRosterDutyRosterItem["StartLong"].isNull())
-			dutyRosterItemObject.startLong = std::stol(pagingNodeDutyRosterDutyRosterItem["StartLong"].asString());
-		if(!pagingNodeDutyRosterDutyRosterItem["EndLong"].isNull())
-			dutyRosterItemObject.endLong = std::stol(pagingNodeDutyRosterDutyRosterItem["EndLong"].asString());
-		paging_.dutyRoster.push_back(dutyRosterItemObject);
-	}
-
-}
-
-GetDutyRosterResult::Paging GetDutyRosterResult::getPaging()const
-{
-	return paging_;
-}
-

+ 2 - 0
dataworks-public/src/model/GetMetaTableBasicInfoResult.cc

@@ -92,6 +92,8 @@ void GetMetaTableBasicInfoResult::parse(const std::string &payload)
 		data_.caption = dataNode["Caption"].asString();
 	if(!dataNode["TenantId"].isNull())
 		data_.tenantId = std::stol(dataNode["TenantId"].asString());
+	if(!dataNode["Schema"].isNull())
+		data_.schema = dataNode["Schema"].asString();
 	if(!value["HttpStatusCode"].isNull())
 		httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
 	if(!value["ErrorMessage"].isNull())

+ 2 - 0
dataworks-public/src/model/GetMetaTableFullInfoResult.cc

@@ -80,6 +80,8 @@ void GetMetaTableFullInfoResult::parse(const std::string &payload)
 		data_.clusterId = dataNode["ClusterId"].asString();
 	if(!dataNode["TenantId"].isNull())
 		data_.tenantId = std::stol(dataNode["TenantId"].asString());
+	if(!dataNode["Schema"].isNull())
+		data_.schema = dataNode["Schema"].asString();
 	auto allColumnListNode = dataNode["ColumnList"]["ColumnListItem"];
 	for (auto dataNodeColumnListColumnListItem : allColumnListNode)
 	{

+ 0 - 63
dataworks-public/src/model/ListDutyRostersRequest.cc

@@ -1,63 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dataworks-public/model/ListDutyRostersRequest.h>
-
-using AlibabaCloud::Dataworks_public::Model::ListDutyRostersRequest;
-
-ListDutyRostersRequest::ListDutyRostersRequest()
-    : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDutyRosters") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-ListDutyRostersRequest::~ListDutyRostersRequest() {}
-
-std::string ListDutyRostersRequest::getDutyRosterOwner() const {
-  return dutyRosterOwner_;
-}
-
-void ListDutyRostersRequest::setDutyRosterOwner(const std::string &dutyRosterOwner) {
-  dutyRosterOwner_ = dutyRosterOwner;
-  setBodyParameter(std::string("DutyRosterOwner"), dutyRosterOwner);
-}
-
-std::string ListDutyRostersRequest::getDutyRosterName() const {
-  return dutyRosterName_;
-}
-
-void ListDutyRostersRequest::setDutyRosterName(const std::string &dutyRosterName) {
-  dutyRosterName_ = dutyRosterName;
-  setBodyParameter(std::string("DutyRosterName"), dutyRosterName);
-}
-
-int ListDutyRostersRequest::getPageSize() const {
-  return pageSize_;
-}
-
-void ListDutyRostersRequest::setPageSize(int pageSize) {
-  pageSize_ = pageSize;
-  setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
-}
-
-int ListDutyRostersRequest::getPageNumber() const {
-  return pageNumber_;
-}
-
-void ListDutyRostersRequest::setPageNumber(int pageNumber) {
-  pageNumber_ = pageNumber;
-  setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
-}
-

+ 72 - 0
dataworks-public/src/model/ListShiftPersonnelsRequest.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/dataworks-public/model/ListShiftPersonnelsRequest.h>
+
+using AlibabaCloud::Dataworks_public::Model::ListShiftPersonnelsRequest;
+
+ListShiftPersonnelsRequest::ListShiftPersonnelsRequest()
+    : RpcServiceRequest("dataworks-public", "2020-05-18", "ListShiftPersonnels") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ListShiftPersonnelsRequest::~ListShiftPersonnelsRequest() {}
+
+std::string ListShiftPersonnelsRequest::getShiftPersonUID() const {
+  return shiftPersonUID_;
+}
+
+void ListShiftPersonnelsRequest::setShiftPersonUID(const std::string &shiftPersonUID) {
+  shiftPersonUID_ = shiftPersonUID;
+  setBodyParameter(std::string("ShiftPersonUID"), shiftPersonUID);
+}
+
+std::string ListShiftPersonnelsRequest::getUserType() const {
+  return userType_;
+}
+
+void ListShiftPersonnelsRequest::setUserType(const std::string &userType) {
+  userType_ = userType;
+  setBodyParameter(std::string("UserType"), userType);
+}
+
+long ListShiftPersonnelsRequest::getEndTime() const {
+  return endTime_;
+}
+
+void ListShiftPersonnelsRequest::setEndTime(long endTime) {
+  endTime_ = endTime;
+  setBodyParameter(std::string("EndTime"), std::to_string(endTime));
+}
+
+long ListShiftPersonnelsRequest::getBeginTime() const {
+  return beginTime_;
+}
+
+void ListShiftPersonnelsRequest::setBeginTime(long beginTime) {
+  beginTime_ = beginTime;
+  setBodyParameter(std::string("BeginTime"), std::to_string(beginTime));
+}
+
+std::string ListShiftPersonnelsRequest::getShiftScheduleIdentifier() const {
+  return shiftScheduleIdentifier_;
+}
+
+void ListShiftPersonnelsRequest::setShiftScheduleIdentifier(const std::string &shiftScheduleIdentifier) {
+  shiftScheduleIdentifier_ = shiftScheduleIdentifier;
+  setBodyParameter(std::string("ShiftScheduleIdentifier"), shiftScheduleIdentifier);
+}
+

+ 70 - 0
dataworks-public/src/model/ListShiftPersonnelsResult.cc

@@ -0,0 +1,70 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/dataworks-public/model/ListShiftPersonnelsResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Dataworks_public;
+using namespace AlibabaCloud::Dataworks_public::Model;
+
+ListShiftPersonnelsResult::ListShiftPersonnelsResult() :
+	ServiceResult()
+{}
+
+ListShiftPersonnelsResult::ListShiftPersonnelsResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ListShiftPersonnelsResult::~ListShiftPersonnelsResult()
+{}
+
+void ListShiftPersonnelsResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto pagingNode = value["Paging"];
+	if(!pagingNode["PageNumber"].isNull())
+		paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString());
+	if(!pagingNode["PageSize"].isNull())
+		paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
+	if(!pagingNode["TotalCount"].isNull())
+		paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
+	auto allShiftPersonsNode = pagingNode["ShiftPersons"]["ShiftPersonsItem"];
+	for (auto pagingNodeShiftPersonsShiftPersonsItem : allShiftPersonsNode)
+	{
+		Paging::ShiftPersonsItem shiftPersonsItemObject;
+		if(!pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonUID"].isNull())
+			shiftPersonsItemObject.shiftPersonUID = pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonUID"].asString();
+		if(!pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonName"].isNull())
+			shiftPersonsItemObject.shiftPersonName = pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonName"].asString();
+		if(!pagingNodeShiftPersonsShiftPersonsItem["BeginTime"].isNull())
+			shiftPersonsItemObject.beginTime = std::stol(pagingNodeShiftPersonsShiftPersonsItem["BeginTime"].asString());
+		if(!pagingNodeShiftPersonsShiftPersonsItem["EndTime"].isNull())
+			shiftPersonsItemObject.endTime = std::stol(pagingNodeShiftPersonsShiftPersonsItem["EndTime"].asString());
+		paging_.shiftPersons.push_back(shiftPersonsItemObject);
+	}
+
+}
+
+ListShiftPersonnelsResult::Paging ListShiftPersonnelsResult::getPaging()const
+{
+	return paging_;
+}
+

+ 63 - 0
dataworks-public/src/model/ListShiftSchedulesRequest.cc

@@ -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.
+ */
+
+#include <alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h>
+
+using AlibabaCloud::Dataworks_public::Model::ListShiftSchedulesRequest;
+
+ListShiftSchedulesRequest::ListShiftSchedulesRequest()
+    : RpcServiceRequest("dataworks-public", "2020-05-18", "ListShiftSchedules") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ListShiftSchedulesRequest::~ListShiftSchedulesRequest() {}
+
+std::string ListShiftSchedulesRequest::getOwner() const {
+  return owner_;
+}
+
+void ListShiftSchedulesRequest::setOwner(const std::string &owner) {
+  owner_ = owner;
+  setBodyParameter(std::string("Owner"), owner);
+}
+
+int ListShiftSchedulesRequest::getPageSize() const {
+  return pageSize_;
+}
+
+void ListShiftSchedulesRequest::setPageSize(int pageSize) {
+  pageSize_ = pageSize;
+  setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
+}
+
+std::string ListShiftSchedulesRequest::getShiftScheduleName() const {
+  return shiftScheduleName_;
+}
+
+void ListShiftSchedulesRequest::setShiftScheduleName(const std::string &shiftScheduleName) {
+  shiftScheduleName_ = shiftScheduleName;
+  setBodyParameter(std::string("ShiftScheduleName"), shiftScheduleName);
+}
+
+int ListShiftSchedulesRequest::getPageNumber() const {
+  return pageNumber_;
+}
+
+void ListShiftSchedulesRequest::setPageNumber(int pageNumber) {
+  pageNumber_ = pageNumber;
+  setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
+}
+

+ 14 - 14
dataworks-public/src/model/ListDutyRostersResult.cc → dataworks-public/src/model/ListShiftSchedulesResult.cc

@@ -14,26 +14,26 @@
  * limitations under the License.
  */
 
-#include <alibabacloud/dataworks-public/model/ListDutyRostersResult.h>
+#include <alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h>
 #include <json/json.h>
 
 using namespace AlibabaCloud::Dataworks_public;
 using namespace AlibabaCloud::Dataworks_public::Model;
 
-ListDutyRostersResult::ListDutyRostersResult() :
+ListShiftSchedulesResult::ListShiftSchedulesResult() :
 	ServiceResult()
 {}
 
-ListDutyRostersResult::ListDutyRostersResult(const std::string &payload) :
+ListShiftSchedulesResult::ListShiftSchedulesResult(const std::string &payload) :
 	ServiceResult()
 {
 	parse(payload);
 }
 
-ListDutyRostersResult::~ListDutyRostersResult()
+ListShiftSchedulesResult::~ListShiftSchedulesResult()
 {}
 
-void ListDutyRostersResult::parse(const std::string &payload)
+void ListShiftSchedulesResult::parse(const std::string &payload)
 {
 	Json::Reader reader;
 	Json::Value value;
@@ -46,20 +46,20 @@ void ListDutyRostersResult::parse(const std::string &payload)
 		paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
 	if(!pagingNode["TotalCount"].isNull())
 		paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
-	auto allDutyRostersNode = pagingNode["DutyRosters"]["DutyRostersItem"];
-	for (auto pagingNodeDutyRostersDutyRostersItem : allDutyRostersNode)
+	auto allShiftSchedulesNode = pagingNode["ShiftSchedules"]["ShiftSchedulesItem"];
+	for (auto pagingNodeShiftSchedulesShiftSchedulesItem : allShiftSchedulesNode)
 	{
-		Paging::DutyRostersItem dutyRostersItemObject;
-		if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].isNull())
-			dutyRostersItemObject.dutyRosterIdentifier = pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].asString();
-		if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].isNull())
-			dutyRostersItemObject.dutyRosterName = pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].asString();
-		paging_.dutyRosters.push_back(dutyRostersItemObject);
+		Paging::ShiftSchedulesItem shiftSchedulesItemObject;
+		if(!pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleIdentifier"].isNull())
+			shiftSchedulesItemObject.shiftScheduleIdentifier = pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleIdentifier"].asString();
+		if(!pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleName"].isNull())
+			shiftSchedulesItemObject.shiftScheduleName = pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleName"].asString();
+		paging_.shiftSchedules.push_back(shiftSchedulesItemObject);
 	}
 
 }
 
-ListDutyRostersResult::Paging ListDutyRostersResult::getPaging()const
+ListShiftSchedulesResult::Paging ListShiftSchedulesResult::getPaging()const
 {
 	return paging_;
 }

+ 9 - 0
dataworks-public/src/model/SearchMetaTablesRequest.cc

@@ -25,6 +25,15 @@ SearchMetaTablesRequest::SearchMetaTablesRequest()
 
 SearchMetaTablesRequest::~SearchMetaTablesRequest() {}
 
+std::string SearchMetaTablesRequest::getSchema() const {
+  return schema_;
+}
+
+void SearchMetaTablesRequest::setSchema(const std::string &schema) {
+  schema_ = schema;
+  setParameter(std::string("Schema"), schema);
+}
+
 std::string SearchMetaTablesRequest::getDataSourceType() const {
   return dataSourceType_;
 }

+ 2 - 0
dataworks-public/src/model/SearchMetaTablesResult.cc

@@ -70,6 +70,8 @@ void SearchMetaTablesResult::parse(const std::string &payload)
 			dataEntityListItemObject.envType = std::stoi(dataNodeDataEntityListDataEntityListItem["EnvType"].asString());
 		if(!dataNodeDataEntityListDataEntityListItem["TenantId"].isNull())
 			dataEntityListItemObject.tenantId = std::stol(dataNodeDataEntityListDataEntityListItem["TenantId"].asString());
+		if(!dataNodeDataEntityListDataEntityListItem["Schema"].isNull())
+			dataEntityListItemObject.schema = dataNodeDataEntityListDataEntityListItem["Schema"].asString();
 		data_.dataEntityList.push_back(dataEntityListItemObject);
 	}
 	if(!value["HttpStatusCode"].isNull())

+ 9 - 0
dataworks-public/src/model/UpdateMetaTableRequest.cc

@@ -25,6 +25,15 @@ UpdateMetaTableRequest::UpdateMetaTableRequest()
 
 UpdateMetaTableRequest::~UpdateMetaTableRequest() {}
 
+std::string UpdateMetaTableRequest::getSchema() const {
+  return schema_;
+}
+
+void UpdateMetaTableRequest::setSchema(const std::string &schema) {
+  schema_ = schema;
+  setParameter(std::string("Schema"), schema);
+}
+
 int UpdateMetaTableRequest::getVisibility() const {
   return visibility_;
 }

+ 9 - 0
dataworks-public/src/model/UpdateTableRequest.cc

@@ -25,6 +25,15 @@ UpdateTableRequest::UpdateTableRequest()
 
 UpdateTableRequest::~UpdateTableRequest() {}
 
+std::string UpdateTableRequest::getSchema() const {
+  return schema_;
+}
+
+void UpdateTableRequest::setSchema(const std::string &schema) {
+  schema_ = schema;
+  setParameter(std::string("Schema"), schema);
+}
+
 std::vector<UpdateTableRequest::Columns> UpdateTableRequest::getColumns() const {
   return columns_;
 }