소스 검색

Add Api ReadSchedulerxDesignateDetail.

sdk-team 1 년 전
부모
커밋
9f1edb0b33
38개의 변경된 파일1712개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 1
      VERSION
  2. 20 0
      schedulerx2/CMakeLists.txt
  3. 40 0
      schedulerx2/include/alibabacloud/schedulerx2/Schedulerx2Client.h
  4. 3 0
      schedulerx2/include/alibabacloud/schedulerx2/model/CreateJobRequest.h
  5. 48 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteNamespaceRequest.h
  6. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteNamespaceResult.h
  7. 2 0
      schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupResult.h
  8. 3 0
      schedulerx2/include/alibabacloud/schedulerx2/model/GetWorkFlowResult.h
  9. 3 3
      schedulerx2/include/alibabacloud/schedulerx2/model/GrantPermissionRequest.h
  10. 1 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ListGroupsResult.h
  11. 54 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ListJobScriptHistoryRequest.h
  12. 68 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ListJobScriptHistoryResult.h
  13. 57 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailRequest.h
  14. 100 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailResult.h
  15. 6 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h
  16. 3 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobRequest.h
  17. 60 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobScriptRequest.h
  18. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobScriptResult.h
  19. 54 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateNamespaceRequest.h
  20. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateNamespaceResult.h
  21. 180 0
      schedulerx2/src/Schedulerx2Client.cc
  22. 9 0
      schedulerx2/src/model/CreateJobRequest.cc
  23. 54 0
      schedulerx2/src/model/DeleteNamespaceRequest.cc
  24. 65 0
      schedulerx2/src/model/DeleteNamespaceResult.cc
  25. 4 0
      schedulerx2/src/model/GetAppGroupResult.cc
  26. 6 0
      schedulerx2/src/model/GetWorkFlowResult.cc
  27. 9 9
      schedulerx2/src/model/GrantPermissionRequest.cc
  28. 2 0
      schedulerx2/src/model/ListGroupsResult.cc
  29. 72 0
      schedulerx2/src/model/ListJobScriptHistoryRequest.cc
  30. 85 0
      schedulerx2/src/model/ListJobScriptHistoryResult.cc
  31. 81 0
      schedulerx2/src/model/ReadSchedulerxDesignateDetailRequest.cc
  32. 138 0
      schedulerx2/src/model/ReadSchedulerxDesignateDetailResult.cc
  33. 18 0
      schedulerx2/src/model/UpdateAppGroupRequest.cc
  34. 9 0
      schedulerx2/src/model/UpdateJobRequest.cc
  35. 90 0
      schedulerx2/src/model/UpdateJobScriptRequest.cc
  36. 65 0
      schedulerx2/src/model/UpdateJobScriptResult.cc
  37. 72 0
      schedulerx2/src/model/UpdateNamespaceRequest.cc
  38. 65 0
      schedulerx2/src/model/UpdateNamespaceResult.cc

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.2065
+1.36.2066

+ 20 - 0
schedulerx2/CMakeLists.txt

@@ -43,6 +43,8 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/DeleteAppGroupResult.h
 	include/alibabacloud/schedulerx2/model/DeleteJobRequest.h
 	include/alibabacloud/schedulerx2/model/DeleteJobResult.h
+	include/alibabacloud/schedulerx2/model/DeleteNamespaceRequest.h
+	include/alibabacloud/schedulerx2/model/DeleteNamespaceResult.h
 	include/alibabacloud/schedulerx2/model/DeleteRouteStrategyRequest.h
 	include/alibabacloud/schedulerx2/model/DeleteRouteStrategyResult.h
 	include/alibabacloud/schedulerx2/model/DeleteWorkflowRequest.h
@@ -85,12 +87,16 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/GrantPermissionResult.h
 	include/alibabacloud/schedulerx2/model/ListGroupsRequest.h
 	include/alibabacloud/schedulerx2/model/ListGroupsResult.h
+	include/alibabacloud/schedulerx2/model/ListJobScriptHistoryRequest.h
+	include/alibabacloud/schedulerx2/model/ListJobScriptHistoryResult.h
 	include/alibabacloud/schedulerx2/model/ListJobsRequest.h
 	include/alibabacloud/schedulerx2/model/ListJobsResult.h
 	include/alibabacloud/schedulerx2/model/ListNamespacesRequest.h
 	include/alibabacloud/schedulerx2/model/ListNamespacesResult.h
 	include/alibabacloud/schedulerx2/model/ListWorkflowInstanceRequest.h
 	include/alibabacloud/schedulerx2/model/ListWorkflowInstanceResult.h
+	include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailRequest.h
+	include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailResult.h
 	include/alibabacloud/schedulerx2/model/RerunJobRequest.h
 	include/alibabacloud/schedulerx2/model/RerunJobResult.h
 	include/alibabacloud/schedulerx2/model/RetryJobInstanceRequest.h
@@ -107,6 +113,10 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/UpdateAppGroupResult.h
 	include/alibabacloud/schedulerx2/model/UpdateJobRequest.h
 	include/alibabacloud/schedulerx2/model/UpdateJobResult.h
+	include/alibabacloud/schedulerx2/model/UpdateJobScriptRequest.h
+	include/alibabacloud/schedulerx2/model/UpdateJobScriptResult.h
+	include/alibabacloud/schedulerx2/model/UpdateNamespaceRequest.h
+	include/alibabacloud/schedulerx2/model/UpdateNamespaceResult.h
 	include/alibabacloud/schedulerx2/model/UpdateWorkflowRequest.h
 	include/alibabacloud/schedulerx2/model/UpdateWorkflowResult.h
 	include/alibabacloud/schedulerx2/model/UpdateWorkflowDagRequest.h
@@ -136,6 +146,8 @@ set(schedulerx2_src
 	src/model/DeleteAppGroupResult.cc
 	src/model/DeleteJobRequest.cc
 	src/model/DeleteJobResult.cc
+	src/model/DeleteNamespaceRequest.cc
+	src/model/DeleteNamespaceResult.cc
 	src/model/DeleteRouteStrategyRequest.cc
 	src/model/DeleteRouteStrategyResult.cc
 	src/model/DeleteWorkflowRequest.cc
@@ -178,12 +190,16 @@ set(schedulerx2_src
 	src/model/GrantPermissionResult.cc
 	src/model/ListGroupsRequest.cc
 	src/model/ListGroupsResult.cc
+	src/model/ListJobScriptHistoryRequest.cc
+	src/model/ListJobScriptHistoryResult.cc
 	src/model/ListJobsRequest.cc
 	src/model/ListJobsResult.cc
 	src/model/ListNamespacesRequest.cc
 	src/model/ListNamespacesResult.cc
 	src/model/ListWorkflowInstanceRequest.cc
 	src/model/ListWorkflowInstanceResult.cc
+	src/model/ReadSchedulerxDesignateDetailRequest.cc
+	src/model/ReadSchedulerxDesignateDetailResult.cc
 	src/model/RerunJobRequest.cc
 	src/model/RerunJobResult.cc
 	src/model/RetryJobInstanceRequest.cc
@@ -200,6 +216,10 @@ set(schedulerx2_src
 	src/model/UpdateAppGroupResult.cc
 	src/model/UpdateJobRequest.cc
 	src/model/UpdateJobResult.cc
+	src/model/UpdateJobScriptRequest.cc
+	src/model/UpdateJobScriptResult.cc
+	src/model/UpdateNamespaceRequest.cc
+	src/model/UpdateNamespaceResult.cc
 	src/model/UpdateWorkflowRequest.cc
 	src/model/UpdateWorkflowResult.cc
 	src/model/UpdateWorkflowDagRequest.cc

+ 40 - 0
schedulerx2/include/alibabacloud/schedulerx2/Schedulerx2Client.h

@@ -44,6 +44,8 @@
 #include "model/DeleteAppGroupResult.h"
 #include "model/DeleteJobRequest.h"
 #include "model/DeleteJobResult.h"
+#include "model/DeleteNamespaceRequest.h"
+#include "model/DeleteNamespaceResult.h"
 #include "model/DeleteRouteStrategyRequest.h"
 #include "model/DeleteRouteStrategyResult.h"
 #include "model/DeleteWorkflowRequest.h"
@@ -86,12 +88,16 @@
 #include "model/GrantPermissionResult.h"
 #include "model/ListGroupsRequest.h"
 #include "model/ListGroupsResult.h"
+#include "model/ListJobScriptHistoryRequest.h"
+#include "model/ListJobScriptHistoryResult.h"
 #include "model/ListJobsRequest.h"
 #include "model/ListJobsResult.h"
 #include "model/ListNamespacesRequest.h"
 #include "model/ListNamespacesResult.h"
 #include "model/ListWorkflowInstanceRequest.h"
 #include "model/ListWorkflowInstanceResult.h"
+#include "model/ReadSchedulerxDesignateDetailRequest.h"
+#include "model/ReadSchedulerxDesignateDetailResult.h"
 #include "model/RerunJobRequest.h"
 #include "model/RerunJobResult.h"
 #include "model/RetryJobInstanceRequest.h"
@@ -108,6 +114,10 @@
 #include "model/UpdateAppGroupResult.h"
 #include "model/UpdateJobRequest.h"
 #include "model/UpdateJobResult.h"
+#include "model/UpdateJobScriptRequest.h"
+#include "model/UpdateJobScriptResult.h"
+#include "model/UpdateNamespaceRequest.h"
+#include "model/UpdateNamespaceResult.h"
 #include "model/UpdateWorkflowRequest.h"
 #include "model/UpdateWorkflowResult.h"
 #include "model/UpdateWorkflowDagRequest.h"
@@ -154,6 +164,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DeleteJobResult> DeleteJobOutcome;
 			typedef std::future<DeleteJobOutcome> DeleteJobOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteJobRequest&, const DeleteJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobAsyncHandler;
+			typedef Outcome<Error, Model::DeleteNamespaceResult> DeleteNamespaceOutcome;
+			typedef std::future<DeleteNamespaceOutcome> DeleteNamespaceOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteNamespaceRequest&, const DeleteNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNamespaceAsyncHandler;
 			typedef Outcome<Error, Model::DeleteRouteStrategyResult> DeleteRouteStrategyOutcome;
 			typedef std::future<DeleteRouteStrategyOutcome> DeleteRouteStrategyOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteRouteStrategyRequest&, const DeleteRouteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteStrategyAsyncHandler;
@@ -217,6 +230,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
 			typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
+			typedef Outcome<Error, Model::ListJobScriptHistoryResult> ListJobScriptHistoryOutcome;
+			typedef std::future<ListJobScriptHistoryOutcome> ListJobScriptHistoryOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::ListJobScriptHistoryRequest&, const ListJobScriptHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobScriptHistoryAsyncHandler;
 			typedef Outcome<Error, Model::ListJobsResult> ListJobsOutcome;
 			typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::ListJobsRequest&, const ListJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsAsyncHandler;
@@ -226,6 +242,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListWorkflowInstanceResult> ListWorkflowInstanceOutcome;
 			typedef std::future<ListWorkflowInstanceOutcome> ListWorkflowInstanceOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::ListWorkflowInstanceRequest&, const ListWorkflowInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWorkflowInstanceAsyncHandler;
+			typedef Outcome<Error, Model::ReadSchedulerxDesignateDetailResult> ReadSchedulerxDesignateDetailOutcome;
+			typedef std::future<ReadSchedulerxDesignateDetailOutcome> ReadSchedulerxDesignateDetailOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::ReadSchedulerxDesignateDetailRequest&, const ReadSchedulerxDesignateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReadSchedulerxDesignateDetailAsyncHandler;
 			typedef Outcome<Error, Model::RerunJobResult> RerunJobOutcome;
 			typedef std::future<RerunJobOutcome> RerunJobOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::RerunJobRequest&, const RerunJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RerunJobAsyncHandler;
@@ -250,6 +269,12 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::UpdateJobResult> UpdateJobOutcome;
 			typedef std::future<UpdateJobOutcome> UpdateJobOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateJobRequest&, const UpdateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateJobAsyncHandler;
+			typedef Outcome<Error, Model::UpdateJobScriptResult> UpdateJobScriptOutcome;
+			typedef std::future<UpdateJobScriptOutcome> UpdateJobScriptOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateJobScriptRequest&, const UpdateJobScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateJobScriptAsyncHandler;
+			typedef Outcome<Error, Model::UpdateNamespaceResult> UpdateNamespaceOutcome;
+			typedef std::future<UpdateNamespaceOutcome> UpdateNamespaceOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateNamespaceRequest&, const UpdateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceAsyncHandler;
 			typedef Outcome<Error, Model::UpdateWorkflowResult> UpdateWorkflowOutcome;
 			typedef std::future<UpdateWorkflowOutcome> UpdateWorkflowOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateWorkflowRequest&, const UpdateWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWorkflowAsyncHandler;
@@ -294,6 +319,9 @@ namespace AlibabaCloud
 			DeleteJobOutcome deleteJob(const Model::DeleteJobRequest &request)const;
 			void deleteJobAsync(const Model::DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteJobOutcomeCallable deleteJobCallable(const Model::DeleteJobRequest& request) const;
+			DeleteNamespaceOutcome deleteNamespace(const Model::DeleteNamespaceRequest &request)const;
+			void deleteNamespaceAsync(const Model::DeleteNamespaceRequest& request, const DeleteNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteNamespaceOutcomeCallable deleteNamespaceCallable(const Model::DeleteNamespaceRequest& request) const;
 			DeleteRouteStrategyOutcome deleteRouteStrategy(const Model::DeleteRouteStrategyRequest &request)const;
 			void deleteRouteStrategyAsync(const Model::DeleteRouteStrategyRequest& request, const DeleteRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteRouteStrategyOutcomeCallable deleteRouteStrategyCallable(const Model::DeleteRouteStrategyRequest& request) const;
@@ -357,6 +385,9 @@ namespace AlibabaCloud
 			ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
 			void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
+			ListJobScriptHistoryOutcome listJobScriptHistory(const Model::ListJobScriptHistoryRequest &request)const;
+			void listJobScriptHistoryAsync(const Model::ListJobScriptHistoryRequest& request, const ListJobScriptHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ListJobScriptHistoryOutcomeCallable listJobScriptHistoryCallable(const Model::ListJobScriptHistoryRequest& request) const;
 			ListJobsOutcome listJobs(const Model::ListJobsRequest &request)const;
 			void listJobsAsync(const Model::ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListJobsOutcomeCallable listJobsCallable(const Model::ListJobsRequest& request) const;
@@ -366,6 +397,9 @@ namespace AlibabaCloud
 			ListWorkflowInstanceOutcome listWorkflowInstance(const Model::ListWorkflowInstanceRequest &request)const;
 			void listWorkflowInstanceAsync(const Model::ListWorkflowInstanceRequest& request, const ListWorkflowInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListWorkflowInstanceOutcomeCallable listWorkflowInstanceCallable(const Model::ListWorkflowInstanceRequest& request) const;
+			ReadSchedulerxDesignateDetailOutcome readSchedulerxDesignateDetail(const Model::ReadSchedulerxDesignateDetailRequest &request)const;
+			void readSchedulerxDesignateDetailAsync(const Model::ReadSchedulerxDesignateDetailRequest& request, const ReadSchedulerxDesignateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ReadSchedulerxDesignateDetailOutcomeCallable readSchedulerxDesignateDetailCallable(const Model::ReadSchedulerxDesignateDetailRequest& request) const;
 			RerunJobOutcome rerunJob(const Model::RerunJobRequest &request)const;
 			void rerunJobAsync(const Model::RerunJobRequest& request, const RerunJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			RerunJobOutcomeCallable rerunJobCallable(const Model::RerunJobRequest& request) const;
@@ -390,6 +424,12 @@ namespace AlibabaCloud
 			UpdateJobOutcome updateJob(const Model::UpdateJobRequest &request)const;
 			void updateJobAsync(const Model::UpdateJobRequest& request, const UpdateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			UpdateJobOutcomeCallable updateJobCallable(const Model::UpdateJobRequest& request) const;
+			UpdateJobScriptOutcome updateJobScript(const Model::UpdateJobScriptRequest &request)const;
+			void updateJobScriptAsync(const Model::UpdateJobScriptRequest& request, const UpdateJobScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			UpdateJobScriptOutcomeCallable updateJobScriptCallable(const Model::UpdateJobScriptRequest& request) const;
+			UpdateNamespaceOutcome updateNamespace(const Model::UpdateNamespaceRequest &request)const;
+			void updateNamespaceAsync(const Model::UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			UpdateNamespaceOutcomeCallable updateNamespaceCallable(const Model::UpdateNamespaceRequest& request) const;
 			UpdateWorkflowOutcome updateWorkflow(const Model::UpdateWorkflowRequest &request)const;
 			void updateWorkflowAsync(const Model::UpdateWorkflowRequest& request, const UpdateWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			UpdateWorkflowOutcomeCallable updateWorkflowCallable(const Model::UpdateWorkflowRequest& request) const;

+ 3 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/CreateJobRequest.h

@@ -52,6 +52,8 @@ public:
 	void setTaskMaxAttempt(int taskMaxAttempt);
 	int getDispatcherSize() const;
 	void setDispatcherSize(int dispatcherSize);
+	int getPriority() const;
+	void setPriority(int priority);
 	std::string getJobType() const;
 	void setJobType(const std::string &jobType);
 	int getTaskAttemptInterval() const;
@@ -120,6 +122,7 @@ private:
 	int dataOffset_;
 	int taskMaxAttempt_;
 	int dispatcherSize_;
+	int priority_;
 	std::string jobType_;
 	int taskAttemptInterval_;
 	std::string executeMode_;

+ 48 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteNamespaceRequest.h

@@ -0,0 +1,48 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACEREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACEREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteNamespaceRequest : public RpcServiceRequest {
+public:
+	DeleteNamespaceRequest();
+	~DeleteNamespaceRequest();
+	std::string getNamespaceSource() const;
+	void setNamespaceSource(const std::string &namespaceSource);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string namespaceSource_;
+	std::string regionId_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACEREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteNamespaceResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACERESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteNamespaceResult : public ServiceResult
+			{
+			public:
+
+
+				DeleteNamespaceResult();
+				explicit DeleteNamespaceResult(const std::string &payload);
+				~DeleteNamespaceResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETENAMESPACERESULT_H_

+ 2 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupResult.h

@@ -37,6 +37,8 @@ namespace AlibabaCloud
 					std::string description;
 					int curJobs;
 					int maxConcurrency;
+					std::string _namespace;
+					std::string monitorContactsJson;
 					std::string appName;
 					std::string groupId;
 					std::string appVersion;

+ 3 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/GetWorkFlowResult.h

@@ -38,10 +38,13 @@ namespace AlibabaCloud
 					{
 						std::string status;
 						std::string description;
+						std::string maxConcurrency;
 						std::string timeExpression;
+						std::string _namespace;
 						long workflowId;
 						std::string name;
 						std::string timeType;
+						std::string groupId;
 					};
 					struct WorkFlowNodeInfo
 					{

+ 3 - 3
schedulerx2/include/alibabacloud/schedulerx2/model/GrantPermissionRequest.h

@@ -32,14 +32,14 @@ public:
 	~GrantPermissionRequest();
 	std::string getNamespaceSource() const;
 	void setNamespaceSource(const std::string &namespaceSource);
-	std::string getGroupId() const;
-	void setGroupId(const std::string &groupId);
 	std::string getUserId() const;
 	void setUserId(const std::string &userId);
 	bool getGrantOption() const;
 	void setGrantOption(bool grantOption);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
 	std::string get_Namespace() const;
 	void set_Namespace(const std::string &_namespace);
 	std::string getUserName() const;
@@ -47,10 +47,10 @@ public:
 
 private:
 	std::string namespaceSource_;
-	std::string groupId_;
 	std::string userId_;
 	bool grantOption_;
 	std::string regionId_;
+	std::string groupId_;
 	std::string _namespace_;
 	std::string userName_;
 };

+ 1 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ListGroupsResult.h

@@ -40,6 +40,7 @@ namespace AlibabaCloud
 						std::string description;
 						long appGroupId;
 						std::string appKey;
+						std::string _namespace;
 						std::string xattrs;
 						std::string appName;
 						std::string groupId;

+ 54 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ListJobScriptHistoryRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT ListJobScriptHistoryRequest : public RpcServiceRequest {
+public:
+	ListJobScriptHistoryRequest();
+	~ListJobScriptHistoryRequest();
+	std::string getNamespaceSource() const;
+	void setNamespaceSource(const std::string &namespaceSource);
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	long getJobId() const;
+	void setJobId(long jobId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string namespaceSource_;
+	std::string groupId_;
+	long jobId_;
+	std::string regionId_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYREQUEST_H_

+ 68 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ListJobScriptHistoryResult.h

@@ -0,0 +1,68 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT ListJobScriptHistoryResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct JobScriptHistoryInfo
+					{
+						std::string scriptContent;
+						std::string createTime;
+						std::string versionesDescription;
+						std::string creator;
+					};
+					std::vector<JobScriptHistoryInfo> jobScriptHistoryInfos;
+				};
+
+
+				ListJobScriptHistoryResult();
+				explicit ListJobScriptHistoryResult(const std::string &payload);
+				~ListJobScriptHistoryResult();
+				std::string getMessage()const;
+				Data getData()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_LISTJOBSCRIPTHISTORYRESULT_H_

+ 57 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailRequest.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_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT ReadSchedulerxDesignateDetailRequest : public RpcServiceRequest {
+public:
+	ReadSchedulerxDesignateDetailRequest();
+	~ReadSchedulerxDesignateDetailRequest();
+	std::string getNamespaceSource() const;
+	void setNamespaceSource(const std::string &namespaceSource);
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	int getDesignateType() const;
+	void setDesignateType(int designateType);
+	long getJobId() const;
+	void setJobId(long jobId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string namespaceSource_;
+	std::string groupId_;
+	int designateType_;
+	long jobId_;
+	std::string regionId_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILREQUEST_H_

+ 100 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailResult.h

@@ -0,0 +1,100 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT ReadSchedulerxDesignateDetailResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct DesignateDetailVo
+					{
+						struct Metrics
+						{
+							int sharePoolAvailableSize;
+							double heap1Usage;
+							double diskUsage;
+							int cpuProcessors;
+							double heap1Used;
+							double cpuLoad1;
+							double cpuLoad5;
+							long execCount;
+							int sharePoolQueueSize;
+							int heapMax;
+							int diskUsed;
+							int diskMax;
+							double heap5Usage;
+						};
+						bool checked;
+						Metrics metrics;
+						std::string version;
+						int size;
+						std::string busy;
+						bool offline;
+						std::string starter;
+						std::string key;
+					};
+					std::vector<DesignateDetailVo> designateDetailVos;
+				};
+				struct AccessDeniedDetail
+				{
+					std::string policyType;
+					std::string authPrincipalOwnerId;
+					std::string encodedDiagnosticMessage;
+					std::string authPrincipalType;
+					std::string authPrincipalDisplayName;
+					std::string noPermissionType;
+					std::string authAction;
+				};
+
+
+				ReadSchedulerxDesignateDetailResult();
+				explicit ReadSchedulerxDesignateDetailResult(const std::string &payload);
+				~ReadSchedulerxDesignateDetailResult();
+				AccessDeniedDetail getAccessDeniedDetail()const;
+				std::string getMessage()const;
+				Data getData()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				AccessDeniedDetail accessDeniedDetail_;
+				std::string message_;
+				Data data_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_READSCHEDULERXDESIGNATEDETAILRESULT_H_

+ 6 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h

@@ -36,6 +36,8 @@ public:
 	void setRegionId(const std::string &regionId);
 	std::string getAlarmJson() const;
 	void setAlarmJson(const std::string &alarmJson);
+	std::string getMonitorContactsJson() const;
+	void setMonitorContactsJson(const std::string &monitorContactsJson);
 	long getAppGroupId() const;
 	void setAppGroupId(long appGroupId);
 	int getMaxJobs() const;
@@ -46,6 +48,8 @@ public:
 	void setGroupId(const std::string &groupId);
 	int getAppVersion() const;
 	void setAppVersion(int appVersion);
+	std::string getMonitorConfigJson() const;
+	void setMonitorConfigJson(const std::string &monitorConfigJson);
 	std::string get_Namespace() const;
 	void set_Namespace(const std::string &_namespace);
 	std::string getXattrs() const;
@@ -57,11 +61,13 @@ private:
 	std::string description_;
 	std::string regionId_;
 	std::string alarmJson_;
+	std::string monitorContactsJson_;
 	long appGroupId_;
 	int maxJobs_;
 	std::string metricsThresholdJson_;
 	std::string groupId_;
 	int appVersion_;
+	std::string monitorConfigJson_;
 	std::string _namespace_;
 	std::string xattrs_;
 	int maxConcurrency_;

+ 3 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobRequest.h

@@ -54,6 +54,8 @@ public:
 	void setDataOffset(int dataOffset);
 	int getDispatcherSize() const;
 	void setDispatcherSize(int dispatcherSize);
+	int getPriority() const;
+	void setPriority(int priority);
 	int getTaskAttemptInterval() const;
 	void setTaskAttemptInterval(int taskAttemptInterval);
 	std::string getExecuteMode() const;
@@ -123,6 +125,7 @@ private:
 	int taskMaxAttempt_;
 	int dataOffset_;
 	int dispatcherSize_;
+	int priority_;
 	int taskAttemptInterval_;
 	std::string executeMode_;
 	std::string timeExpression_;

+ 60 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobScriptRequest.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_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateJobScriptRequest : public RpcServiceRequest {
+public:
+	UpdateJobScriptRequest();
+	~UpdateJobScriptRequest();
+	std::string getNamespaceSource() const;
+	void setNamespaceSource(const std::string &namespaceSource);
+	long getJobId() const;
+	void setJobId(long jobId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+	std::string getScriptContent() const;
+	void setScriptContent(const std::string &scriptContent);
+	std::string getVersionDescription() const;
+	void setVersionDescription(const std::string &versionDescription);
+
+private:
+	std::string namespaceSource_;
+	long jobId_;
+	std::string regionId_;
+	std::string groupId_;
+	std::string _namespace_;
+	std::string scriptContent_;
+	std::string versionDescription_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobScriptResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateJobScriptResult : public ServiceResult
+			{
+			public:
+
+
+				UpdateJobScriptResult();
+				explicit UpdateJobScriptResult(const std::string &payload);
+				~UpdateJobScriptResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEJOBSCRIPTRESULT_H_

+ 54 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateNamespaceRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACEREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACEREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateNamespaceRequest : public RpcServiceRequest {
+public:
+	UpdateNamespaceRequest();
+	~UpdateNamespaceRequest();
+	std::string getNamespaceName() const;
+	void setNamespaceName(const std::string &namespaceName);
+	std::string getNamespaceSource() const;
+	void setNamespaceSource(const std::string &namespaceSource);
+	std::string getDescription() const;
+	void setDescription(const std::string &description);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string namespaceName_;
+	std::string namespaceSource_;
+	std::string description_;
+	std::string regionId_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACEREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateNamespaceResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACERESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateNamespaceResult : public ServiceResult
+			{
+			public:
+
+
+				UpdateNamespaceResult();
+				explicit UpdateNamespaceResult(const std::string &payload);
+				~UpdateNamespaceResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATENAMESPACERESULT_H_

+ 180 - 0
schedulerx2/src/Schedulerx2Client.cc

@@ -447,6 +447,42 @@ Schedulerx2Client::DeleteJobOutcomeCallable Schedulerx2Client::deleteJobCallable
 	return task->get_future();
 }
 
+Schedulerx2Client::DeleteNamespaceOutcome Schedulerx2Client::deleteNamespace(const DeleteNamespaceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteNamespaceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteNamespaceOutcome(DeleteNamespaceResult(outcome.result()));
+	else
+		return DeleteNamespaceOutcome(outcome.error());
+}
+
+void Schedulerx2Client::deleteNamespaceAsync(const DeleteNamespaceRequest& request, const DeleteNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteNamespace(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::DeleteNamespaceOutcomeCallable Schedulerx2Client::deleteNamespaceCallable(const DeleteNamespaceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteNamespaceOutcome()>>(
+			[this, request]()
+			{
+			return this->deleteNamespace(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::DeleteRouteStrategyOutcome Schedulerx2Client::deleteRouteStrategy(const DeleteRouteStrategyRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1203,6 +1239,42 @@ Schedulerx2Client::ListGroupsOutcomeCallable Schedulerx2Client::listGroupsCallab
 	return task->get_future();
 }
 
+Schedulerx2Client::ListJobScriptHistoryOutcome Schedulerx2Client::listJobScriptHistory(const ListJobScriptHistoryRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ListJobScriptHistoryOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ListJobScriptHistoryOutcome(ListJobScriptHistoryResult(outcome.result()));
+	else
+		return ListJobScriptHistoryOutcome(outcome.error());
+}
+
+void Schedulerx2Client::listJobScriptHistoryAsync(const ListJobScriptHistoryRequest& request, const ListJobScriptHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, listJobScriptHistory(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::ListJobScriptHistoryOutcomeCallable Schedulerx2Client::listJobScriptHistoryCallable(const ListJobScriptHistoryRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ListJobScriptHistoryOutcome()>>(
+			[this, request]()
+			{
+			return this->listJobScriptHistory(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::ListJobsOutcome Schedulerx2Client::listJobs(const ListJobsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1383,42 @@ Schedulerx2Client::ListWorkflowInstanceOutcomeCallable Schedulerx2Client::listWo
 	return task->get_future();
 }
 
+Schedulerx2Client::ReadSchedulerxDesignateDetailOutcome Schedulerx2Client::readSchedulerxDesignateDetail(const ReadSchedulerxDesignateDetailRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ReadSchedulerxDesignateDetailOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ReadSchedulerxDesignateDetailOutcome(ReadSchedulerxDesignateDetailResult(outcome.result()));
+	else
+		return ReadSchedulerxDesignateDetailOutcome(outcome.error());
+}
+
+void Schedulerx2Client::readSchedulerxDesignateDetailAsync(const ReadSchedulerxDesignateDetailRequest& request, const ReadSchedulerxDesignateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, readSchedulerxDesignateDetail(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::ReadSchedulerxDesignateDetailOutcomeCallable Schedulerx2Client::readSchedulerxDesignateDetailCallable(const ReadSchedulerxDesignateDetailRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ReadSchedulerxDesignateDetailOutcome()>>(
+			[this, request]()
+			{
+			return this->readSchedulerxDesignateDetail(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::RerunJobOutcome Schedulerx2Client::rerunJob(const RerunJobRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1599,6 +1707,78 @@ Schedulerx2Client::UpdateJobOutcomeCallable Schedulerx2Client::updateJobCallable
 	return task->get_future();
 }
 
+Schedulerx2Client::UpdateJobScriptOutcome Schedulerx2Client::updateJobScript(const UpdateJobScriptRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return UpdateJobScriptOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return UpdateJobScriptOutcome(UpdateJobScriptResult(outcome.result()));
+	else
+		return UpdateJobScriptOutcome(outcome.error());
+}
+
+void Schedulerx2Client::updateJobScriptAsync(const UpdateJobScriptRequest& request, const UpdateJobScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, updateJobScript(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::UpdateJobScriptOutcomeCallable Schedulerx2Client::updateJobScriptCallable(const UpdateJobScriptRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<UpdateJobScriptOutcome()>>(
+			[this, request]()
+			{
+			return this->updateJobScript(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+Schedulerx2Client::UpdateNamespaceOutcome Schedulerx2Client::updateNamespace(const UpdateNamespaceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return UpdateNamespaceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return UpdateNamespaceOutcome(UpdateNamespaceResult(outcome.result()));
+	else
+		return UpdateNamespaceOutcome(outcome.error());
+}
+
+void Schedulerx2Client::updateNamespaceAsync(const UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, updateNamespace(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::UpdateNamespaceOutcomeCallable Schedulerx2Client::updateNamespaceCallable(const UpdateNamespaceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<UpdateNamespaceOutcome()>>(
+			[this, request]()
+			{
+			return this->updateNamespace(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::UpdateWorkflowOutcome Schedulerx2Client::updateWorkflow(const UpdateWorkflowRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 9 - 0
schedulerx2/src/model/CreateJobRequest.cc

@@ -97,6 +97,15 @@ void CreateJobRequest::setDispatcherSize(int dispatcherSize) {
   setBodyParameter(std::string("DispatcherSize"), std::to_string(dispatcherSize));
 }
 
+int CreateJobRequest::getPriority() const {
+  return priority_;
+}
+
+void CreateJobRequest::setPriority(int priority) {
+  priority_ = priority;
+  setParameter(std::string("Priority"), std::to_string(priority));
+}
+
 std::string CreateJobRequest::getJobType() const {
   return jobType_;
 }

+ 54 - 0
schedulerx2/src/model/DeleteNamespaceRequest.cc

@@ -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.
+ */
+
+#include <alibabacloud/schedulerx2/model/DeleteNamespaceRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::DeleteNamespaceRequest;
+
+DeleteNamespaceRequest::DeleteNamespaceRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "DeleteNamespace") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DeleteNamespaceRequest::~DeleteNamespaceRequest() {}
+
+std::string DeleteNamespaceRequest::getNamespaceSource() const {
+  return namespaceSource_;
+}
+
+void DeleteNamespaceRequest::setNamespaceSource(const std::string &namespaceSource) {
+  namespaceSource_ = namespaceSource;
+  setParameter(std::string("NamespaceSource"), namespaceSource);
+}
+
+std::string DeleteNamespaceRequest::getRegionId() const {
+  return regionId_;
+}
+
+void DeleteNamespaceRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string DeleteNamespaceRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void DeleteNamespaceRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 65 - 0
schedulerx2/src/model/DeleteNamespaceResult.cc

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

+ 4 - 0
schedulerx2/src/model/GetAppGroupResult.cc

@@ -70,6 +70,10 @@ void GetAppGroupResult::parse(const std::string &payload)
 		data_.xattrs = dataNode["Xattrs"].asString();
 	if(!dataNode["AppVersion"].isNull())
 		data_.appVersion = dataNode["AppVersion"].asString();
+	if(!dataNode["Namespace"].isNull())
+		data_._namespace = dataNode["Namespace"].asString();
+	if(!dataNode["MonitorContactsJson"].isNull())
+		data_.monitorContactsJson = dataNode["MonitorContactsJson"].asString();
 	if(!value["Code"].isNull())
 		code_ = std::stoi(value["Code"].asString());
 	if(!value["Message"].isNull())

+ 6 - 0
schedulerx2/src/model/GetWorkFlowResult.cc

@@ -53,6 +53,12 @@ void GetWorkFlowResult::parse(const std::string &payload)
 		data_.workFlowInfo.timeType = workFlowInfoNode["TimeType"].asString();
 	if(!workFlowInfoNode["TimeExpression"].isNull())
 		data_.workFlowInfo.timeExpression = workFlowInfoNode["TimeExpression"].asString();
+	if(!workFlowInfoNode["GroupId"].isNull())
+		data_.workFlowInfo.groupId = workFlowInfoNode["GroupId"].asString();
+	if(!workFlowInfoNode["Namespace"].isNull())
+		data_.workFlowInfo._namespace = workFlowInfoNode["Namespace"].asString();
+	if(!workFlowInfoNode["MaxConcurrency"].isNull())
+		data_.workFlowInfo.maxConcurrency = workFlowInfoNode["MaxConcurrency"].asString();
 	auto workFlowNodeInfoNode = dataNode["WorkFlowNodeInfo"];
 	auto allNodesNode = workFlowNodeInfoNode["Nodes"]["Node"];
 	for (auto workFlowNodeInfoNodeNodesNode : allNodesNode)

+ 9 - 9
schedulerx2/src/model/GrantPermissionRequest.cc

@@ -34,15 +34,6 @@ void GrantPermissionRequest::setNamespaceSource(const std::string &namespaceSour
   setParameter(std::string("NamespaceSource"), namespaceSource);
 }
 
-std::string GrantPermissionRequest::getGroupId() const {
-  return groupId_;
-}
-
-void GrantPermissionRequest::setGroupId(const std::string &groupId) {
-  groupId_ = groupId;
-  setParameter(std::string("GroupId"), groupId);
-}
-
 std::string GrantPermissionRequest::getUserId() const {
   return userId_;
 }
@@ -70,6 +61,15 @@ void GrantPermissionRequest::setRegionId(const std::string &regionId) {
   setParameter(std::string("RegionId"), regionId);
 }
 
+std::string GrantPermissionRequest::getGroupId() const {
+  return groupId_;
+}
+
+void GrantPermissionRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
 std::string GrantPermissionRequest::get_Namespace() const {
   return _namespace_;
 }

+ 2 - 0
schedulerx2/src/model/ListGroupsResult.cc

@@ -58,6 +58,8 @@ void ListGroupsResult::parse(const std::string &payload)
 			appGroupObject.xattrs = dataNodeAppGroupsAppGroup["Xattrs"].asString();
 		if(!dataNodeAppGroupsAppGroup["AppVersion"].isNull())
 			appGroupObject.appVersion = std::stoi(dataNodeAppGroupsAppGroup["AppVersion"].asString());
+		if(!dataNodeAppGroupsAppGroup["Namespace"].isNull())
+			appGroupObject._namespace = dataNodeAppGroupsAppGroup["Namespace"].asString();
 		data_.appGroups.push_back(appGroupObject);
 	}
 	if(!value["Code"].isNull())

+ 72 - 0
schedulerx2/src/model/ListJobScriptHistoryRequest.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/schedulerx2/model/ListJobScriptHistoryRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::ListJobScriptHistoryRequest;
+
+ListJobScriptHistoryRequest::ListJobScriptHistoryRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "ListJobScriptHistory") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ListJobScriptHistoryRequest::~ListJobScriptHistoryRequest() {}
+
+std::string ListJobScriptHistoryRequest::getNamespaceSource() const {
+  return namespaceSource_;
+}
+
+void ListJobScriptHistoryRequest::setNamespaceSource(const std::string &namespaceSource) {
+  namespaceSource_ = namespaceSource;
+  setParameter(std::string("NamespaceSource"), namespaceSource);
+}
+
+std::string ListJobScriptHistoryRequest::getGroupId() const {
+  return groupId_;
+}
+
+void ListJobScriptHistoryRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+long ListJobScriptHistoryRequest::getJobId() const {
+  return jobId_;
+}
+
+void ListJobScriptHistoryRequest::setJobId(long jobId) {
+  jobId_ = jobId;
+  setParameter(std::string("JobId"), std::to_string(jobId));
+}
+
+std::string ListJobScriptHistoryRequest::getRegionId() const {
+  return regionId_;
+}
+
+void ListJobScriptHistoryRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string ListJobScriptHistoryRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void ListJobScriptHistoryRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 85 - 0
schedulerx2/src/model/ListJobScriptHistoryResult.cc

@@ -0,0 +1,85 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/ListJobScriptHistoryResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+ListJobScriptHistoryResult::ListJobScriptHistoryResult() :
+	ServiceResult()
+{}
+
+ListJobScriptHistoryResult::ListJobScriptHistoryResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ListJobScriptHistoryResult::~ListJobScriptHistoryResult()
+{}
+
+void ListJobScriptHistoryResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	auto allJobScriptHistoryInfosNode = dataNode["JobScriptHistoryInfos"]["JobScriptHistoryInfo"];
+	for (auto dataNodeJobScriptHistoryInfosJobScriptHistoryInfo : allJobScriptHistoryInfosNode)
+	{
+		Data::JobScriptHistoryInfo jobScriptHistoryInfoObject;
+		if(!dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["VersionesDescription"].isNull())
+			jobScriptHistoryInfoObject.versionesDescription = dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["VersionesDescription"].asString();
+		if(!dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["Creator"].isNull())
+			jobScriptHistoryInfoObject.creator = dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["Creator"].asString();
+		if(!dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["CreateTime"].isNull())
+			jobScriptHistoryInfoObject.createTime = dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["CreateTime"].asString();
+		if(!dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["ScriptContent"].isNull())
+			jobScriptHistoryInfoObject.scriptContent = dataNodeJobScriptHistoryInfosJobScriptHistoryInfo["ScriptContent"].asString();
+		data_.jobScriptHistoryInfos.push_back(jobScriptHistoryInfoObject);
+	}
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string ListJobScriptHistoryResult::getMessage()const
+{
+	return message_;
+}
+
+ListJobScriptHistoryResult::Data ListJobScriptHistoryResult::getData()const
+{
+	return data_;
+}
+
+int ListJobScriptHistoryResult::getCode()const
+{
+	return code_;
+}
+
+bool ListJobScriptHistoryResult::getSuccess()const
+{
+	return success_;
+}
+

+ 81 - 0
schedulerx2/src/model/ReadSchedulerxDesignateDetailRequest.cc

@@ -0,0 +1,81 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/ReadSchedulerxDesignateDetailRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::ReadSchedulerxDesignateDetailRequest;
+
+ReadSchedulerxDesignateDetailRequest::ReadSchedulerxDesignateDetailRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "ReadSchedulerxDesignateDetail") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ReadSchedulerxDesignateDetailRequest::~ReadSchedulerxDesignateDetailRequest() {}
+
+std::string ReadSchedulerxDesignateDetailRequest::getNamespaceSource() const {
+  return namespaceSource_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::setNamespaceSource(const std::string &namespaceSource) {
+  namespaceSource_ = namespaceSource;
+  setParameter(std::string("NamespaceSource"), namespaceSource);
+}
+
+std::string ReadSchedulerxDesignateDetailRequest::getGroupId() const {
+  return groupId_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+int ReadSchedulerxDesignateDetailRequest::getDesignateType() const {
+  return designateType_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::setDesignateType(int designateType) {
+  designateType_ = designateType;
+  setParameter(std::string("DesignateType"), std::to_string(designateType));
+}
+
+long ReadSchedulerxDesignateDetailRequest::getJobId() const {
+  return jobId_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::setJobId(long jobId) {
+  jobId_ = jobId;
+  setParameter(std::string("JobId"), std::to_string(jobId));
+}
+
+std::string ReadSchedulerxDesignateDetailRequest::getRegionId() const {
+  return regionId_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string ReadSchedulerxDesignateDetailRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void ReadSchedulerxDesignateDetailRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 138 - 0
schedulerx2/src/model/ReadSchedulerxDesignateDetailResult.cc

@@ -0,0 +1,138 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/schedulerx2/model/ReadSchedulerxDesignateDetailResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+ReadSchedulerxDesignateDetailResult::ReadSchedulerxDesignateDetailResult() :
+	ServiceResult()
+{}
+
+ReadSchedulerxDesignateDetailResult::ReadSchedulerxDesignateDetailResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ReadSchedulerxDesignateDetailResult::~ReadSchedulerxDesignateDetailResult()
+{}
+
+void ReadSchedulerxDesignateDetailResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	auto allDesignateDetailVosNode = dataNode["DesignateDetailVos"]["designateDetailVo"];
+	for (auto dataNodeDesignateDetailVosdesignateDetailVo : allDesignateDetailVosNode)
+	{
+		Data::DesignateDetailVo designateDetailVoObject;
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Offline"].isNull())
+			designateDetailVoObject.offline = dataNodeDesignateDetailVosdesignateDetailVo["Offline"].asString() == "true";
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Size"].isNull())
+			designateDetailVoObject.size = std::stoi(dataNodeDesignateDetailVosdesignateDetailVo["Size"].asString());
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Starter"].isNull())
+			designateDetailVoObject.starter = dataNodeDesignateDetailVosdesignateDetailVo["Starter"].asString();
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Busy"].isNull())
+			designateDetailVoObject.busy = dataNodeDesignateDetailVosdesignateDetailVo["Busy"].asString();
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Checked"].isNull())
+			designateDetailVoObject.checked = dataNodeDesignateDetailVosdesignateDetailVo["Checked"].asString() == "true";
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Version"].isNull())
+			designateDetailVoObject.version = dataNodeDesignateDetailVosdesignateDetailVo["Version"].asString();
+		if(!dataNodeDesignateDetailVosdesignateDetailVo["Key"].isNull())
+			designateDetailVoObject.key = dataNodeDesignateDetailVosdesignateDetailVo["Key"].asString();
+		auto metricsNode = value["Metrics"];
+		if(!metricsNode["CpuLoad1"].isNull())
+			designateDetailVoObject.metrics.cpuLoad1 = metricsNode["CpuLoad1"].asString();
+		if(!metricsNode["CpuLoad5"].isNull())
+			designateDetailVoObject.metrics.cpuLoad5 = metricsNode["CpuLoad5"].asString();
+		if(!metricsNode["CpuProcessors"].isNull())
+			designateDetailVoObject.metrics.cpuProcessors = std::stoi(metricsNode["CpuProcessors"].asString());
+		if(!metricsNode["Heap1Usage"].isNull())
+			designateDetailVoObject.metrics.heap1Usage = metricsNode["Heap1Usage"].asString();
+		if(!metricsNode["Heap5Usage"].isNull())
+			designateDetailVoObject.metrics.heap5Usage = metricsNode["Heap5Usage"].asString();
+		if(!metricsNode["Heap1Used"].isNull())
+			designateDetailVoObject.metrics.heap1Used = metricsNode["Heap1Used"].asString();
+		if(!metricsNode["HeapMax"].isNull())
+			designateDetailVoObject.metrics.heapMax = std::stoi(metricsNode["HeapMax"].asString());
+		if(!metricsNode["DiskUsage"].isNull())
+			designateDetailVoObject.metrics.diskUsage = metricsNode["DiskUsage"].asString();
+		if(!metricsNode["DiskUsed"].isNull())
+			designateDetailVoObject.metrics.diskUsed = std::stoi(metricsNode["DiskUsed"].asString());
+		if(!metricsNode["DiskMax"].isNull())
+			designateDetailVoObject.metrics.diskMax = std::stoi(metricsNode["DiskMax"].asString());
+		if(!metricsNode["SharePoolQueueSize"].isNull())
+			designateDetailVoObject.metrics.sharePoolQueueSize = std::stoi(metricsNode["SharePoolQueueSize"].asString());
+		if(!metricsNode["SharePoolAvailableSize"].isNull())
+			designateDetailVoObject.metrics.sharePoolAvailableSize = std::stoi(metricsNode["SharePoolAvailableSize"].asString());
+		if(!metricsNode["ExecCount"].isNull())
+			designateDetailVoObject.metrics.execCount = std::stol(metricsNode["ExecCount"].asString());
+		data_.designateDetailVos.push_back(designateDetailVoObject);
+	}
+	auto accessDeniedDetailNode = value["AccessDeniedDetail"];
+	if(!accessDeniedDetailNode["AuthAction"].isNull())
+		accessDeniedDetail_.authAction = accessDeniedDetailNode["AuthAction"].asString();
+	if(!accessDeniedDetailNode["AuthPrincipalDisplayName"].isNull())
+		accessDeniedDetail_.authPrincipalDisplayName = accessDeniedDetailNode["AuthPrincipalDisplayName"].asString();
+	if(!accessDeniedDetailNode["AuthPrincipalOwnerId"].isNull())
+		accessDeniedDetail_.authPrincipalOwnerId = accessDeniedDetailNode["AuthPrincipalOwnerId"].asString();
+	if(!accessDeniedDetailNode["AuthPrincipalType"].isNull())
+		accessDeniedDetail_.authPrincipalType = accessDeniedDetailNode["AuthPrincipalType"].asString();
+	if(!accessDeniedDetailNode["EncodedDiagnosticMessage"].isNull())
+		accessDeniedDetail_.encodedDiagnosticMessage = accessDeniedDetailNode["EncodedDiagnosticMessage"].asString();
+	if(!accessDeniedDetailNode["NoPermissionType"].isNull())
+		accessDeniedDetail_.noPermissionType = accessDeniedDetailNode["NoPermissionType"].asString();
+	if(!accessDeniedDetailNode["PolicyType"].isNull())
+		accessDeniedDetail_.policyType = accessDeniedDetailNode["PolicyType"].asString();
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+ReadSchedulerxDesignateDetailResult::AccessDeniedDetail ReadSchedulerxDesignateDetailResult::getAccessDeniedDetail()const
+{
+	return accessDeniedDetail_;
+}
+
+std::string ReadSchedulerxDesignateDetailResult::getMessage()const
+{
+	return message_;
+}
+
+ReadSchedulerxDesignateDetailResult::Data ReadSchedulerxDesignateDetailResult::getData()const
+{
+	return data_;
+}
+
+int ReadSchedulerxDesignateDetailResult::getCode()const
+{
+	return code_;
+}
+
+bool ReadSchedulerxDesignateDetailResult::getSuccess()const
+{
+	return success_;
+}
+

+ 18 - 0
schedulerx2/src/model/UpdateAppGroupRequest.cc

@@ -52,6 +52,15 @@ void UpdateAppGroupRequest::setAlarmJson(const std::string &alarmJson) {
   setParameter(std::string("AlarmJson"), alarmJson);
 }
 
+std::string UpdateAppGroupRequest::getMonitorContactsJson() const {
+  return monitorContactsJson_;
+}
+
+void UpdateAppGroupRequest::setMonitorContactsJson(const std::string &monitorContactsJson) {
+  monitorContactsJson_ = monitorContactsJson;
+  setParameter(std::string("MonitorContactsJson"), monitorContactsJson);
+}
+
 long UpdateAppGroupRequest::getAppGroupId() const {
   return appGroupId_;
 }
@@ -97,6 +106,15 @@ void UpdateAppGroupRequest::setAppVersion(int appVersion) {
   setParameter(std::string("AppVersion"), std::to_string(appVersion));
 }
 
+std::string UpdateAppGroupRequest::getMonitorConfigJson() const {
+  return monitorConfigJson_;
+}
+
+void UpdateAppGroupRequest::setMonitorConfigJson(const std::string &monitorConfigJson) {
+  monitorConfigJson_ = monitorConfigJson;
+  setParameter(std::string("MonitorConfigJson"), monitorConfigJson);
+}
+
 std::string UpdateAppGroupRequest::get_Namespace() const {
   return _namespace_;
 }

+ 9 - 0
schedulerx2/src/model/UpdateJobRequest.cc

@@ -106,6 +106,15 @@ void UpdateJobRequest::setDispatcherSize(int dispatcherSize) {
   setBodyParameter(std::string("DispatcherSize"), std::to_string(dispatcherSize));
 }
 
+int UpdateJobRequest::getPriority() const {
+  return priority_;
+}
+
+void UpdateJobRequest::setPriority(int priority) {
+  priority_ = priority;
+  setParameter(std::string("Priority"), std::to_string(priority));
+}
+
 int UpdateJobRequest::getTaskAttemptInterval() const {
   return taskAttemptInterval_;
 }

+ 90 - 0
schedulerx2/src/model/UpdateJobScriptRequest.cc

@@ -0,0 +1,90 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/schedulerx2/model/UpdateJobScriptRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::UpdateJobScriptRequest;
+
+UpdateJobScriptRequest::UpdateJobScriptRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "UpdateJobScript") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+UpdateJobScriptRequest::~UpdateJobScriptRequest() {}
+
+std::string UpdateJobScriptRequest::getNamespaceSource() const {
+  return namespaceSource_;
+}
+
+void UpdateJobScriptRequest::setNamespaceSource(const std::string &namespaceSource) {
+  namespaceSource_ = namespaceSource;
+  setBodyParameter(std::string("NamespaceSource"), namespaceSource);
+}
+
+long UpdateJobScriptRequest::getJobId() const {
+  return jobId_;
+}
+
+void UpdateJobScriptRequest::setJobId(long jobId) {
+  jobId_ = jobId;
+  setBodyParameter(std::string("JobId"), std::to_string(jobId));
+}
+
+std::string UpdateJobScriptRequest::getRegionId() const {
+  return regionId_;
+}
+
+void UpdateJobScriptRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setBodyParameter(std::string("RegionId"), regionId);
+}
+
+std::string UpdateJobScriptRequest::getGroupId() const {
+  return groupId_;
+}
+
+void UpdateJobScriptRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setBodyParameter(std::string("GroupId"), groupId);
+}
+
+std::string UpdateJobScriptRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void UpdateJobScriptRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setBodyParameter(std::string("Namespace"), _namespace);
+}
+
+std::string UpdateJobScriptRequest::getScriptContent() const {
+  return scriptContent_;
+}
+
+void UpdateJobScriptRequest::setScriptContent(const std::string &scriptContent) {
+  scriptContent_ = scriptContent;
+  setBodyParameter(std::string("ScriptContent"), scriptContent);
+}
+
+std::string UpdateJobScriptRequest::getVersionDescription() const {
+  return versionDescription_;
+}
+
+void UpdateJobScriptRequest::setVersionDescription(const std::string &versionDescription) {
+  versionDescription_ = versionDescription;
+  setBodyParameter(std::string("VersionDescription"), versionDescription);
+}
+

+ 65 - 0
schedulerx2/src/model/UpdateJobScriptResult.cc

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

+ 72 - 0
schedulerx2/src/model/UpdateNamespaceRequest.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/schedulerx2/model/UpdateNamespaceRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::UpdateNamespaceRequest;
+
+UpdateNamespaceRequest::UpdateNamespaceRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "UpdateNamespace") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+UpdateNamespaceRequest::~UpdateNamespaceRequest() {}
+
+std::string UpdateNamespaceRequest::getNamespaceName() const {
+  return namespaceName_;
+}
+
+void UpdateNamespaceRequest::setNamespaceName(const std::string &namespaceName) {
+  namespaceName_ = namespaceName;
+  setParameter(std::string("NamespaceName"), namespaceName);
+}
+
+std::string UpdateNamespaceRequest::getNamespaceSource() const {
+  return namespaceSource_;
+}
+
+void UpdateNamespaceRequest::setNamespaceSource(const std::string &namespaceSource) {
+  namespaceSource_ = namespaceSource;
+  setParameter(std::string("NamespaceSource"), namespaceSource);
+}
+
+std::string UpdateNamespaceRequest::getDescription() const {
+  return description_;
+}
+
+void UpdateNamespaceRequest::setDescription(const std::string &description) {
+  description_ = description;
+  setParameter(std::string("Description"), description);
+}
+
+std::string UpdateNamespaceRequest::getRegionId() const {
+  return regionId_;
+}
+
+void UpdateNamespaceRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string UpdateNamespaceRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void UpdateNamespaceRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 65 - 0
schedulerx2/src/model/UpdateNamespaceResult.cc

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