Browse Source

Add GetRepositoryTagV2 and DeleteRepositoryTagV2 API.

sdk-team 5 years ago
parent
commit
b38385d35f
70 changed files with 699 additions and 0 deletions
  1. 3 0
      CHANGELOG
  2. 0 0
      codeup/2020-04-14/AcceptMergeRequest.xml
  3. 0 0
      codeup/2020-04-14/AddGroupMember.xml
  4. 0 0
      codeup/2020-04-14/AddRepositoryMember.xml
  5. 0 0
      codeup/2020-04-14/AddWebhook.xml
  6. 0 0
      codeup/2020-04-14/CreateBranch.xml
  7. 0 0
      codeup/2020-04-14/CreateFile.xml
  8. 0 0
      codeup/2020-04-14/CreateMergeRequest.xml
  9. 0 0
      codeup/2020-04-14/CreateMergeRequestComment.xml
  10. 0 0
      codeup/2020-04-14/CreateRepository.xml
  11. 0 0
      codeup/2020-04-14/CreateRepositoryDeployKey.xml
  12. 0 0
      codeup/2020-04-14/CreateRepositoryGroup.xml
  13. 0 0
      codeup/2020-04-14/CreateRepositoryProtectedBranch.xml
  14. 0 0
      codeup/2020-04-14/CreateTag.xml
  15. 0 0
      codeup/2020-04-14/DeleteBranch.xml
  16. 0 0
      codeup/2020-04-14/DeleteFile.xml
  17. 0 0
      codeup/2020-04-14/DeleteGroupMember.xml
  18. 0 0
      codeup/2020-04-14/DeleteRepository.xml
  19. 0 0
      codeup/2020-04-14/DeleteRepositoryGroup.xml
  20. 0 0
      codeup/2020-04-14/DeleteRepositoryMember.xml
  21. 0 0
      codeup/2020-04-14/DeleteRepositoryProtectedBranch.xml
  22. 0 0
      codeup/2020-04-14/DeleteRepositoryTag.xml
  23. 0 0
      codeup/2020-04-14/DeleteRepositoryTagV2.xml
  24. 0 0
      codeup/2020-04-14/DeleteRepositoryWebhook.xml
  25. 0 0
      codeup/2020-04-14/EnableRepositoryDeployKey.xml
  26. 0 0
      codeup/2020-04-14/GetBranchInfo.xml
  27. 0 0
      codeup/2020-04-14/GetCodeupOrganization.xml
  28. 0 0
      codeup/2020-04-14/GetFileBlobs.xml
  29. 0 0
      codeup/2020-04-14/GetGroupDetail.xml
  30. 0 0
      codeup/2020-04-14/GetMergeRequestApproveStatus.xml
  31. 0 0
      codeup/2020-04-14/GetMergeRequestDetail.xml
  32. 0 0
      codeup/2020-04-14/GetMergeRequestSetting.xml
  33. 0 0
      codeup/2020-04-14/GetProjectMember.xml
  34. 0 0
      codeup/2020-04-14/GetRepositoryInfo.xml
  35. 0 0
      codeup/2020-04-14/GetRepositoryTag.xml
  36. 0 0
      codeup/2020-04-14/GetRepositoryTagV2.xml
  37. 0 0
      codeup/2020-04-14/GetUserInfo.xml
  38. 0 0
      codeup/2020-04-14/ListGroupMember.xml
  39. 0 0
      codeup/2020-04-14/ListGroupRepositories.xml
  40. 0 0
      codeup/2020-04-14/ListGroups.xml
  41. 0 0
      codeup/2020-04-14/ListMergeRequestComments.xml
  42. 0 0
      codeup/2020-04-14/ListMergeRequests.xml
  43. 0 0
      codeup/2020-04-14/ListOrganizations.xml
  44. 0 0
      codeup/2020-04-14/ListRepositories.xml
  45. 0 0
      codeup/2020-04-14/ListRepositoryBranches.xml
  46. 0 0
      codeup/2020-04-14/ListRepositoryCommits.xml
  47. 0 0
      codeup/2020-04-14/ListRepositoryMember.xml
  48. 0 0
      codeup/2020-04-14/ListRepositoryTags.xml
  49. 0 0
      codeup/2020-04-14/ListRepositoryTree.xml
  50. 0 0
      codeup/2020-04-14/ListRepositoryWebhook.xml
  51. 0 0
      codeup/2020-04-14/MergeMergeRequest.xml
  52. 0 0
      codeup/2020-04-14/UpdateFile.xml
  53. 0 0
      codeup/2020-04-14/UpdateGroupMember.xml
  54. 0 0
      codeup/2020-04-14/UpdateMergeRequest.xml
  55. 0 0
      codeup/2020-04-14/UpdateMergeRequestComment.xml
  56. 0 0
      codeup/2020-04-14/UpdateMergeRequestSetting.xml
  57. 0 0
      codeup/2020-04-14/UpdateRepository.xml
  58. 0 0
      codeup/2020-04-14/UpdateRepositoryMember.xml
  59. 8 0
      codeup/CMakeLists.txt
  60. 16 0
      codeup/include/alibabacloud/codeup/CodeupClient.h
  61. 57 0
      codeup/include/alibabacloud/codeup/model/DeleteRepositoryTagV2Request.h
  62. 61 0
      codeup/include/alibabacloud/codeup/model/DeleteRepositoryTagV2Result.h
  63. 57 0
      codeup/include/alibabacloud/codeup/model/GetRepositoryTagV2Request.h
  64. 91 0
      codeup/include/alibabacloud/codeup/model/GetRepositoryTagV2Result.h
  65. 72 0
      codeup/src/CodeupClient.cc
  66. 74 0
      codeup/src/model/DeleteRepositoryTagV2Request.cc
  67. 73 0
      codeup/src/model/DeleteRepositoryTagV2Result.cc
  68. 74 0
      codeup/src/model/GetRepositoryTagV2Request.cc
  69. 113 0
      codeup/src/model/GetRepositoryTagV2Result.cc
  70. 0 0
      codeup/version-2020-04-14.xml

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-03-03 Version: patch
+- Add GetRepositoryTagV2 and DeleteRepositoryTagV2 API.
+
 2021-03-03 Version: patch
 - Update Compareface.
 

File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/AcceptMergeRequest.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/AddGroupMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/AddRepositoryMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/AddWebhook.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateBranch.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateFile.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateMergeRequest.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateMergeRequestComment.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateRepository.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateRepositoryDeployKey.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateRepositoryGroup.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateRepositoryProtectedBranch.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/CreateTag.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteBranch.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteFile.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteGroupMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepository.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryGroup.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryProtectedBranch.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryTag.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryTagV2.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/DeleteRepositoryWebhook.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/EnableRepositoryDeployKey.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetBranchInfo.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetCodeupOrganization.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetFileBlobs.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetGroupDetail.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetMergeRequestApproveStatus.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetMergeRequestDetail.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetMergeRequestSetting.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetProjectMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetRepositoryInfo.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetRepositoryTag.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetRepositoryTagV2.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/GetUserInfo.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListGroupMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListGroupRepositories.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListGroups.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListMergeRequestComments.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListMergeRequests.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListOrganizations.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositories.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryBranches.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryCommits.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryTags.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryTree.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/ListRepositoryWebhook.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/MergeMergeRequest.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateFile.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateGroupMember.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateMergeRequest.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateMergeRequestComment.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateMergeRequestSetting.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateRepository.xml


File diff suppressed because it is too large
+ 0 - 0
codeup/2020-04-14/UpdateRepositoryMember.xml


+ 8 - 0
codeup/CMakeLists.txt

@@ -63,6 +63,8 @@ set(codeup_public_header_model
 	include/alibabacloud/codeup/model/DeleteRepositoryProtectedBranchResult.h
 	include/alibabacloud/codeup/model/DeleteRepositoryTagRequest.h
 	include/alibabacloud/codeup/model/DeleteRepositoryTagResult.h
+	include/alibabacloud/codeup/model/DeleteRepositoryTagV2Request.h
+	include/alibabacloud/codeup/model/DeleteRepositoryTagV2Result.h
 	include/alibabacloud/codeup/model/DeleteRepositoryWebhookRequest.h
 	include/alibabacloud/codeup/model/DeleteRepositoryWebhookResult.h
 	include/alibabacloud/codeup/model/EnableRepositoryDeployKeyRequest.h
@@ -87,6 +89,8 @@ set(codeup_public_header_model
 	include/alibabacloud/codeup/model/GetRepositoryInfoResult.h
 	include/alibabacloud/codeup/model/GetRepositoryTagRequest.h
 	include/alibabacloud/codeup/model/GetRepositoryTagResult.h
+	include/alibabacloud/codeup/model/GetRepositoryTagV2Request.h
+	include/alibabacloud/codeup/model/GetRepositoryTagV2Result.h
 	include/alibabacloud/codeup/model/GetUserInfoRequest.h
 	include/alibabacloud/codeup/model/GetUserInfoResult.h
 	include/alibabacloud/codeup/model/ListGroupMemberRequest.h
@@ -176,6 +180,8 @@ set(codeup_src
 	src/model/DeleteRepositoryProtectedBranchResult.cc
 	src/model/DeleteRepositoryTagRequest.cc
 	src/model/DeleteRepositoryTagResult.cc
+	src/model/DeleteRepositoryTagV2Request.cc
+	src/model/DeleteRepositoryTagV2Result.cc
 	src/model/DeleteRepositoryWebhookRequest.cc
 	src/model/DeleteRepositoryWebhookResult.cc
 	src/model/EnableRepositoryDeployKeyRequest.cc
@@ -200,6 +206,8 @@ set(codeup_src
 	src/model/GetRepositoryInfoResult.cc
 	src/model/GetRepositoryTagRequest.cc
 	src/model/GetRepositoryTagResult.cc
+	src/model/GetRepositoryTagV2Request.cc
+	src/model/GetRepositoryTagV2Result.cc
 	src/model/GetUserInfoRequest.cc
 	src/model/GetUserInfoResult.cc
 	src/model/ListGroupMemberRequest.cc

+ 16 - 0
codeup/include/alibabacloud/codeup/CodeupClient.h

@@ -64,6 +64,8 @@
 #include "model/DeleteRepositoryProtectedBranchResult.h"
 #include "model/DeleteRepositoryTagRequest.h"
 #include "model/DeleteRepositoryTagResult.h"
+#include "model/DeleteRepositoryTagV2Request.h"
+#include "model/DeleteRepositoryTagV2Result.h"
 #include "model/DeleteRepositoryWebhookRequest.h"
 #include "model/DeleteRepositoryWebhookResult.h"
 #include "model/EnableRepositoryDeployKeyRequest.h"
@@ -88,6 +90,8 @@
 #include "model/GetRepositoryInfoResult.h"
 #include "model/GetRepositoryTagRequest.h"
 #include "model/GetRepositoryTagResult.h"
+#include "model/GetRepositoryTagV2Request.h"
+#include "model/GetRepositoryTagV2Result.h"
 #include "model/GetUserInfoRequest.h"
 #include "model/GetUserInfoResult.h"
 #include "model/ListGroupMemberRequest.h"
@@ -204,6 +208,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DeleteRepositoryTagResult> DeleteRepositoryTagOutcome;
 			typedef std::future<DeleteRepositoryTagOutcome> DeleteRepositoryTagOutcomeCallable;
 			typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryTagRequest&, const DeleteRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryTagAsyncHandler;
+			typedef Outcome<Error, Model::DeleteRepositoryTagV2Result> DeleteRepositoryTagV2Outcome;
+			typedef std::future<DeleteRepositoryTagV2Outcome> DeleteRepositoryTagV2OutcomeCallable;
+			typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryTagV2Request&, const DeleteRepositoryTagV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryTagV2AsyncHandler;
 			typedef Outcome<Error, Model::DeleteRepositoryWebhookResult> DeleteRepositoryWebhookOutcome;
 			typedef std::future<DeleteRepositoryWebhookOutcome> DeleteRepositoryWebhookOutcomeCallable;
 			typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryWebhookRequest&, const DeleteRepositoryWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryWebhookAsyncHandler;
@@ -240,6 +247,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::GetRepositoryTagResult> GetRepositoryTagOutcome;
 			typedef std::future<GetRepositoryTagOutcome> GetRepositoryTagOutcomeCallable;
 			typedef std::function<void(const CodeupClient*, const Model::GetRepositoryTagRequest&, const GetRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryTagAsyncHandler;
+			typedef Outcome<Error, Model::GetRepositoryTagV2Result> GetRepositoryTagV2Outcome;
+			typedef std::future<GetRepositoryTagV2Outcome> GetRepositoryTagV2OutcomeCallable;
+			typedef std::function<void(const CodeupClient*, const Model::GetRepositoryTagV2Request&, const GetRepositoryTagV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryTagV2AsyncHandler;
 			typedef Outcome<Error, Model::GetUserInfoResult> GetUserInfoOutcome;
 			typedef std::future<GetUserInfoOutcome> GetUserInfoOutcomeCallable;
 			typedef std::function<void(const CodeupClient*, const Model::GetUserInfoRequest&, const GetUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfoAsyncHandler;
@@ -374,6 +384,9 @@ namespace AlibabaCloud
 			DeleteRepositoryTagOutcome deleteRepositoryTag(const Model::DeleteRepositoryTagRequest &request)const;
 			void deleteRepositoryTagAsync(const Model::DeleteRepositoryTagRequest& request, const DeleteRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteRepositoryTagOutcomeCallable deleteRepositoryTagCallable(const Model::DeleteRepositoryTagRequest& request) const;
+			DeleteRepositoryTagV2Outcome deleteRepositoryTagV2(const Model::DeleteRepositoryTagV2Request &request)const;
+			void deleteRepositoryTagV2Async(const Model::DeleteRepositoryTagV2Request& request, const DeleteRepositoryTagV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteRepositoryTagV2OutcomeCallable deleteRepositoryTagV2Callable(const Model::DeleteRepositoryTagV2Request& request) const;
 			DeleteRepositoryWebhookOutcome deleteRepositoryWebhook(const Model::DeleteRepositoryWebhookRequest &request)const;
 			void deleteRepositoryWebhookAsync(const Model::DeleteRepositoryWebhookRequest& request, const DeleteRepositoryWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteRepositoryWebhookOutcomeCallable deleteRepositoryWebhookCallable(const Model::DeleteRepositoryWebhookRequest& request) const;
@@ -410,6 +423,9 @@ namespace AlibabaCloud
 			GetRepositoryTagOutcome getRepositoryTag(const Model::GetRepositoryTagRequest &request)const;
 			void getRepositoryTagAsync(const Model::GetRepositoryTagRequest& request, const GetRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetRepositoryTagOutcomeCallable getRepositoryTagCallable(const Model::GetRepositoryTagRequest& request) const;
+			GetRepositoryTagV2Outcome getRepositoryTagV2(const Model::GetRepositoryTagV2Request &request)const;
+			void getRepositoryTagV2Async(const Model::GetRepositoryTagV2Request& request, const GetRepositoryTagV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetRepositoryTagV2OutcomeCallable getRepositoryTagV2Callable(const Model::GetRepositoryTagV2Request& request) const;
 			GetUserInfoOutcome getUserInfo(const Model::GetUserInfoRequest &request)const;
 			void getUserInfoAsync(const Model::GetUserInfoRequest& request, const GetUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetUserInfoOutcomeCallable getUserInfoCallable(const Model::GetUserInfoRequest& request) const;

+ 57 - 0
codeup/include/alibabacloud/codeup/model/DeleteRepositoryTagV2Request.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_CODEUP_MODEL_DELETEREPOSITORYTAGV2REQUEST_H_
+#define ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGV2REQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RoaServiceRequest.h>
+#include <alibabacloud/codeup/CodeupExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Codeup
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CODEUP_EXPORT DeleteRepositoryTagV2Request : public RoaServiceRequest
+			{
+
+			public:
+				DeleteRepositoryTagV2Request();
+				~DeleteRepositoryTagV2Request();
+
+				std::string getOrganizationId()const;
+				void setOrganizationId(const std::string& organizationId);
+				std::string getTagName()const;
+				void setTagName(const std::string& tagName);
+				std::string getAccessToken()const;
+				void setAccessToken(const std::string& accessToken);
+				long getProjectId()const;
+				void setProjectId(long projectId);
+
+            private:
+				std::string organizationId_;
+				std::string tagName_;
+				std::string accessToken_;
+				long projectId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGV2REQUEST_H_

+ 61 - 0
codeup/include/alibabacloud/codeup/model/DeleteRepositoryTagV2Result.h

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

+ 57 - 0
codeup/include/alibabacloud/codeup/model/GetRepositoryTagV2Request.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_CODEUP_MODEL_GETREPOSITORYTAGV2REQUEST_H_
+#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGV2REQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RoaServiceRequest.h>
+#include <alibabacloud/codeup/CodeupExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Codeup
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CODEUP_EXPORT GetRepositoryTagV2Request : public RoaServiceRequest
+			{
+
+			public:
+				GetRepositoryTagV2Request();
+				~GetRepositoryTagV2Request();
+
+				std::string getOrganizationId()const;
+				void setOrganizationId(const std::string& organizationId);
+				std::string getTagName()const;
+				void setTagName(const std::string& tagName);
+				std::string getAccessToken()const;
+				void setAccessToken(const std::string& accessToken);
+				long getProjectId()const;
+				void setProjectId(long projectId);
+
+            private:
+				std::string organizationId_;
+				std::string tagName_;
+				std::string accessToken_;
+				long projectId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGV2REQUEST_H_

+ 91 - 0
codeup/include/alibabacloud/codeup/model/GetRepositoryTagV2Result.h

@@ -0,0 +1,91 @@
+/*
+ * 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_CODEUP_MODEL_GETREPOSITORYTAGV2RESULT_H_
+#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGV2RESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/codeup/CodeupExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Codeup
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CODEUP_EXPORT GetRepositoryTagV2Result : public ServiceResult
+			{
+			public:
+				struct Result
+				{
+					struct Commit
+					{
+						struct Signature1
+						{
+							std::string verificationStatus;
+							std::string gpgKeyId;
+						};
+						std::string authoredDate;
+						std::string authorName;
+						std::string message;
+						std::string createdAt;
+						std::string title;
+						std::string authorEmail;
+						std::string committedDate;
+						std::string committerEmail;
+						std::vector<std::string> parentIds;
+						std::string shortId;
+						std::string id;
+						std::string committerName;
+						Signature1 signature1;
+					};
+					struct Signature
+					{
+						std::string verificationStatus;
+						std::string gpgKeyId;
+					};
+					Commit commit;
+					std::string message;
+					Signature signature;
+					std::string id;
+					std::string name;
+				};
+
+
+				GetRepositoryTagV2Result();
+				explicit GetRepositoryTagV2Result(const std::string &payload);
+				~GetRepositoryTagV2Result();
+				std::string getErrorCode()const;
+				std::string getErrorMessage()const;
+				bool getSuccess()const;
+				Result getResult()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string errorCode_;
+				std::string errorMessage_;
+				bool success_;
+				Result result_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGV2RESULT_H_

+ 72 - 0
codeup/src/CodeupClient.cc

@@ -807,6 +807,42 @@ CodeupClient::DeleteRepositoryTagOutcomeCallable CodeupClient::deleteRepositoryT
 	return task->get_future();
 }
 
+CodeupClient::DeleteRepositoryTagV2Outcome CodeupClient::deleteRepositoryTagV2(const DeleteRepositoryTagV2Request &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteRepositoryTagV2Outcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteRepositoryTagV2Outcome(DeleteRepositoryTagV2Result(outcome.result()));
+	else
+		return DeleteRepositoryTagV2Outcome(outcome.error());
+}
+
+void CodeupClient::deleteRepositoryTagV2Async(const DeleteRepositoryTagV2Request& request, const DeleteRepositoryTagV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteRepositoryTagV2(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CodeupClient::DeleteRepositoryTagV2OutcomeCallable CodeupClient::deleteRepositoryTagV2Callable(const DeleteRepositoryTagV2Request &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteRepositoryTagV2Outcome()>>(
+			[this, request]()
+			{
+			return this->deleteRepositoryTagV2(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CodeupClient::DeleteRepositoryWebhookOutcome CodeupClient::deleteRepositoryWebhook(const DeleteRepositoryWebhookRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1275,42 @@ CodeupClient::GetRepositoryTagOutcomeCallable CodeupClient::getRepositoryTagCall
 	return task->get_future();
 }
 
+CodeupClient::GetRepositoryTagV2Outcome CodeupClient::getRepositoryTagV2(const GetRepositoryTagV2Request &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetRepositoryTagV2Outcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetRepositoryTagV2Outcome(GetRepositoryTagV2Result(outcome.result()));
+	else
+		return GetRepositoryTagV2Outcome(outcome.error());
+}
+
+void CodeupClient::getRepositoryTagV2Async(const GetRepositoryTagV2Request& request, const GetRepositoryTagV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getRepositoryTagV2(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CodeupClient::GetRepositoryTagV2OutcomeCallable CodeupClient::getRepositoryTagV2Callable(const GetRepositoryTagV2Request &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetRepositoryTagV2Outcome()>>(
+			[this, request]()
+			{
+			return this->getRepositoryTagV2(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CodeupClient::GetUserInfoOutcome CodeupClient::getUserInfo(const GetUserInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 74 - 0
codeup/src/model/DeleteRepositoryTagV2Request.cc

@@ -0,0 +1,74 @@
+/*
+ * 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/codeup/model/DeleteRepositoryTagV2Request.h>
+
+using AlibabaCloud::Codeup::Model::DeleteRepositoryTagV2Request;
+
+DeleteRepositoryTagV2Request::DeleteRepositoryTagV2Request() :
+	RoaServiceRequest("codeup", "2020-04-14")
+{
+	setResourcePath("/api/v3/projects/[ProjectId]/repository/tag/delete");
+	setMethod(HttpRequest::Method::Delete);
+}
+
+DeleteRepositoryTagV2Request::~DeleteRepositoryTagV2Request()
+{}
+
+std::string DeleteRepositoryTagV2Request::getOrganizationId()const
+{
+	return organizationId_;
+}
+
+void DeleteRepositoryTagV2Request::setOrganizationId(const std::string& organizationId)
+{
+	organizationId_ = organizationId;
+	setParameter("OrganizationId", organizationId);
+}
+
+std::string DeleteRepositoryTagV2Request::getTagName()const
+{
+	return tagName_;
+}
+
+void DeleteRepositoryTagV2Request::setTagName(const std::string& tagName)
+{
+	tagName_ = tagName;
+	setParameter("TagName", tagName);
+}
+
+std::string DeleteRepositoryTagV2Request::getAccessToken()const
+{
+	return accessToken_;
+}
+
+void DeleteRepositoryTagV2Request::setAccessToken(const std::string& accessToken)
+{
+	accessToken_ = accessToken;
+	setParameter("AccessToken", accessToken);
+}
+
+long DeleteRepositoryTagV2Request::getProjectId()const
+{
+	return projectId_;
+}
+
+void DeleteRepositoryTagV2Request::setProjectId(long projectId)
+{
+	projectId_ = projectId;
+	setParameter("ProjectId", std::to_string(projectId));
+}
+

+ 73 - 0
codeup/src/model/DeleteRepositoryTagV2Result.cc

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

+ 74 - 0
codeup/src/model/GetRepositoryTagV2Request.cc

@@ -0,0 +1,74 @@
+/*
+ * 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/codeup/model/GetRepositoryTagV2Request.h>
+
+using AlibabaCloud::Codeup::Model::GetRepositoryTagV2Request;
+
+GetRepositoryTagV2Request::GetRepositoryTagV2Request() :
+	RoaServiceRequest("codeup", "2020-04-14")
+{
+	setResourcePath("/api/v3/projects/[ProjectId]/repository/tag/info");
+	setMethod(HttpRequest::Method::Get);
+}
+
+GetRepositoryTagV2Request::~GetRepositoryTagV2Request()
+{}
+
+std::string GetRepositoryTagV2Request::getOrganizationId()const
+{
+	return organizationId_;
+}
+
+void GetRepositoryTagV2Request::setOrganizationId(const std::string& organizationId)
+{
+	organizationId_ = organizationId;
+	setParameter("OrganizationId", organizationId);
+}
+
+std::string GetRepositoryTagV2Request::getTagName()const
+{
+	return tagName_;
+}
+
+void GetRepositoryTagV2Request::setTagName(const std::string& tagName)
+{
+	tagName_ = tagName;
+	setParameter("TagName", tagName);
+}
+
+std::string GetRepositoryTagV2Request::getAccessToken()const
+{
+	return accessToken_;
+}
+
+void GetRepositoryTagV2Request::setAccessToken(const std::string& accessToken)
+{
+	accessToken_ = accessToken;
+	setParameter("AccessToken", accessToken);
+}
+
+long GetRepositoryTagV2Request::getProjectId()const
+{
+	return projectId_;
+}
+
+void GetRepositoryTagV2Request::setProjectId(long projectId)
+{
+	projectId_ = projectId;
+	setParameter("ProjectId", std::to_string(projectId));
+}
+

+ 113 - 0
codeup/src/model/GetRepositoryTagV2Result.cc

@@ -0,0 +1,113 @@
+/*
+ * 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/codeup/model/GetRepositoryTagV2Result.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Codeup;
+using namespace AlibabaCloud::Codeup::Model;
+
+GetRepositoryTagV2Result::GetRepositoryTagV2Result() :
+	ServiceResult()
+{}
+
+GetRepositoryTagV2Result::GetRepositoryTagV2Result(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetRepositoryTagV2Result::~GetRepositoryTagV2Result()
+{}
+
+void GetRepositoryTagV2Result::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto resultNode = value["Result"];
+	if(!resultNode["Id"].isNull())
+		result_.id = resultNode["Id"].asString();
+	if(!resultNode["Message"].isNull())
+		result_.message = resultNode["Message"].asString();
+	if(!resultNode["Name"].isNull())
+		result_.name = resultNode["Name"].asString();
+	auto commitNode = resultNode["Commit"];
+	if(!commitNode["AuthorEmail"].isNull())
+		result_.commit.authorEmail = commitNode["AuthorEmail"].asString();
+	if(!commitNode["AuthorName"].isNull())
+		result_.commit.authorName = commitNode["AuthorName"].asString();
+	if(!commitNode["AuthoredDate"].isNull())
+		result_.commit.authoredDate = commitNode["AuthoredDate"].asString();
+	if(!commitNode["CommittedDate"].isNull())
+		result_.commit.committedDate = commitNode["CommittedDate"].asString();
+	if(!commitNode["CommitterEmail"].isNull())
+		result_.commit.committerEmail = commitNode["CommitterEmail"].asString();
+	if(!commitNode["CommitterName"].isNull())
+		result_.commit.committerName = commitNode["CommitterName"].asString();
+	if(!commitNode["CreatedAt"].isNull())
+		result_.commit.createdAt = commitNode["CreatedAt"].asString();
+	if(!commitNode["Id"].isNull())
+		result_.commit.id = commitNode["Id"].asString();
+	if(!commitNode["Message"].isNull())
+		result_.commit.message = commitNode["Message"].asString();
+	if(!commitNode["ShortId"].isNull())
+		result_.commit.shortId = commitNode["ShortId"].asString();
+	if(!commitNode["Title"].isNull())
+		result_.commit.title = commitNode["Title"].asString();
+	auto signature1Node = commitNode["Signature"];
+	if(!signature1Node["GpgKeyId"].isNull())
+		result_.commit.signature1.gpgKeyId = signature1Node["GpgKeyId"].asString();
+	if(!signature1Node["VerificationStatus"].isNull())
+		result_.commit.signature1.verificationStatus = signature1Node["VerificationStatus"].asString();
+		auto allParentIds = commitNode["ParentIds"]["ParentIds"];
+		for (auto value : allParentIds)
+			result_.commit.parentIds.push_back(value.asString());
+	auto signatureNode = resultNode["Signature"];
+	if(!signatureNode["GpgKeyId"].isNull())
+		result_.signature.gpgKeyId = signatureNode["GpgKeyId"].asString();
+	if(!signatureNode["VerificationStatus"].isNull())
+		result_.signature.verificationStatus = signatureNode["VerificationStatus"].asString();
+	if(!value["ErrorCode"].isNull())
+		errorCode_ = value["ErrorCode"].asString();
+	if(!value["ErrorMessage"].isNull())
+		errorMessage_ = value["ErrorMessage"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string GetRepositoryTagV2Result::getErrorCode()const
+{
+	return errorCode_;
+}
+
+std::string GetRepositoryTagV2Result::getErrorMessage()const
+{
+	return errorMessage_;
+}
+
+bool GetRepositoryTagV2Result::getSuccess()const
+{
+	return success_;
+}
+
+GetRepositoryTagV2Result::Result GetRepositoryTagV2Result::getResult()const
+{
+	return result_;
+}
+

File diff suppressed because it is too large
+ 0 - 0
codeup/version-2020-04-14.xml


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