Browse Source

Group, Plugin support tag authentication.

sdk-team 7 years ago
parent
commit
1f20945851
24 changed files with 278 additions and 1 deletions
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 8 0
      cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h
  4. 2 0
      cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h
  5. 8 0
      cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h
  6. 2 0
      cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h
  7. 8 0
      cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h
  8. 8 0
      cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h
  9. 11 0
      cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h
  10. 11 0
      cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h
  11. 3 0
      cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h
  12. 11 0
      cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h
  13. 8 0
      cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h
  14. 17 0
      cloudapi/src/model/CreateApiGroupRequest.cc
  15. 7 0
      cloudapi/src/model/CreateApiGroupResult.cc
  16. 17 0
      cloudapi/src/model/CreateAppRequest.cc
  17. 7 0
      cloudapi/src/model/CreateAppResult.cc
  18. 17 0
      cloudapi/src/model/DeleteApiGroupRequest.cc
  19. 17 0
      cloudapi/src/model/DescribeApiGroupRequest.cc
  20. 28 0
      cloudapi/src/model/DescribeApiGroupsRequest.cc
  21. 28 0
      cloudapi/src/model/DescribeApisRequest.cc
  22. 11 0
      cloudapi/src/model/DescribeAppAttributesRequest.cc
  23. 28 0
      cloudapi/src/model/DescribeDeployedApisRequest.cc
  24. 17 0
      cloudapi/src/model/ModifyApiGroupRequest.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-08-08 Version 1.36.82
+- Group, Plugin support tag authentication.
+
 2019-08-06 Version 1.36.81
 2019-08-06 Version 1.36.81
 - Supported GetMediaMeta for IMM.
 - Supported GetMediaMeta for IMM.
 
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.81
+1.36.82

+ 8 - 0
cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiGroupRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiGroupRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				CreateApiGroupRequest();
 				CreateApiGroupRequest();
@@ -43,6 +48,8 @@ namespace AlibabaCloud
 				void setDescription(const std::string& description);
 				void setDescription(const std::string& description);
 				std::string getSource()const;
 				std::string getSource()const;
 				void setSource(const std::string& source);
 				void setSource(const std::string& source);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
 				std::string getGroupName()const;
 				std::string getGroupName()const;
 				void setGroupName(const std::string& groupName);
 				void setGroupName(const std::string& groupName);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
@@ -53,6 +60,7 @@ namespace AlibabaCloud
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string description_;
 				std::string description_;
 				std::string source_;
 				std::string source_;
+				std::vector<Tag> tag_;
 				std::string groupName_;
 				std::string groupName_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 

+ 2 - 0
cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h

@@ -41,6 +41,7 @@ namespace AlibabaCloud
 				std::string getSubDomain()const;
 				std::string getSubDomain()const;
 				std::string getDescription()const;
 				std::string getDescription()const;
 				std::string getInstanceId()const;
 				std::string getInstanceId()const;
+				bool getTagStatus()const;
 				std::string getInstanceType()const;
 				std::string getInstanceType()const;
 				std::string getGroupId()const;
 				std::string getGroupId()const;
 
 
@@ -51,6 +52,7 @@ namespace AlibabaCloud
 				std::string subDomain_;
 				std::string subDomain_;
 				std::string description_;
 				std::string description_;
 				std::string instanceId_;
 				std::string instanceId_;
+				bool tagStatus_;
 				std::string instanceType_;
 				std::string instanceType_;
 				std::string groupId_;
 				std::string groupId_;
 
 

+ 8 - 0
cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT CreateAppRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT CreateAppRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				CreateAppRequest();
 				CreateAppRequest();
@@ -41,6 +46,8 @@ namespace AlibabaCloud
 				void setSecurityToken(const std::string& securityToken);
 				void setSecurityToken(const std::string& securityToken);
 				std::string getDescription()const;
 				std::string getDescription()const;
 				void setDescription(const std::string& description);
 				void setDescription(const std::string& description);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
 				void setAccessKeyId(const std::string& accessKeyId);
 
 
@@ -48,6 +55,7 @@ namespace AlibabaCloud
 				std::string appName_;
 				std::string appName_;
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string description_;
 				std::string description_;
+				std::vector<Tag> tag_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 
 			};
 			};

+ 2 - 0
cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h

@@ -38,11 +38,13 @@ namespace AlibabaCloud
 				explicit CreateAppResult(const std::string &payload);
 				explicit CreateAppResult(const std::string &payload);
 				~CreateAppResult();
 				~CreateAppResult();
 				long getAppId()const;
 				long getAppId()const;
+				bool getTagStatus()const;
 
 
 			protected:
 			protected:
 				void parse(const std::string &payload);
 				void parse(const std::string &payload);
 			private:
 			private:
 				long appId_;
 				long appId_;
+				bool tagStatus_;
 
 
 			};
 			};
 		}
 		}

+ 8 - 0
cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiGroupRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiGroupRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				DeleteApiGroupRequest();
 				DeleteApiGroupRequest();
@@ -39,12 +44,15 @@ namespace AlibabaCloud
 				void setSecurityToken(const std::string& securityToken);
 				void setSecurityToken(const std::string& securityToken);
 				std::string getGroupId()const;
 				std::string getGroupId()const;
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
 				void setAccessKeyId(const std::string& accessKeyId);
 
 
             private:
             private:
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
+				std::vector<Tag> tag_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 
 			};
 			};

+ 8 - 0
cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				DescribeApiGroupRequest();
 				DescribeApiGroupRequest();
@@ -39,12 +44,15 @@ namespace AlibabaCloud
 				void setSecurityToken(const std::string& securityToken);
 				void setSecurityToken(const std::string& securityToken);
 				std::string getGroupId()const;
 				std::string getGroupId()const;
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
 				void setAccessKeyId(const std::string& accessKeyId);
 
 
             private:
             private:
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
+				std::vector<Tag> tag_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 
 			};
 			};

+ 11 - 0
cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupsRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupsRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				DescribeApiGroupsRequest();
 				DescribeApiGroupsRequest();
@@ -41,6 +46,10 @@ namespace AlibabaCloud
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
 				int getPageSize()const;
 				int getPageSize()const;
 				void setPageSize(int pageSize);
 				void setPageSize(int pageSize);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
+				bool getEnableTagAuth()const;
+				void setEnableTagAuth(bool enableTagAuth);
 				std::string getGroupName()const;
 				std::string getGroupName()const;
 				void setGroupName(const std::string& groupName);
 				void setGroupName(const std::string& groupName);
 				int getPageNumber()const;
 				int getPageNumber()const;
@@ -52,6 +61,8 @@ namespace AlibabaCloud
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
 				int pageSize_;
 				int pageSize_;
+				std::vector<Tag> tag_;
+				bool enableTagAuth_;
 				std::string groupName_;
 				std::string groupName_;
 				int pageNumber_;
 				int pageNumber_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;

+ 11 - 0
cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				DescribeApisRequest();
 				DescribeApisRequest();
@@ -47,6 +52,10 @@ namespace AlibabaCloud
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
 				int getPageSize()const;
 				int getPageSize()const;
 				void setPageSize(int pageSize);
 				void setPageSize(int pageSize);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
+				bool getEnableTagAuth()const;
+				void setEnableTagAuth(bool enableTagAuth);
 				std::string getApiId()const;
 				std::string getApiId()const;
 				void setApiId(const std::string& apiId);
 				void setApiId(const std::string& apiId);
 				int getPageNumber()const;
 				int getPageNumber()const;
@@ -61,6 +70,8 @@ namespace AlibabaCloud
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
 				int pageSize_;
 				int pageSize_;
+				std::vector<Tag> tag_;
+				bool enableTagAuth_;
 				std::string apiId_;
 				std::string apiId_;
 				int pageNumber_;
 				int pageNumber_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;

+ 3 - 0
cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h

@@ -50,6 +50,8 @@ namespace AlibabaCloud
 				void setPageSize(int pageSize);
 				void setPageSize(int pageSize);
 				std::vector<Tag> getTag()const;
 				std::vector<Tag> getTag()const;
 				void setTag(const std::vector<Tag>& tag);
 				void setTag(const std::vector<Tag>& tag);
+				bool getEnableTagAuth()const;
+				void setEnableTagAuth(bool enableTagAuth);
 				int getPageNumber()const;
 				int getPageNumber()const;
 				void setPageNumber(int pageNumber);
 				void setPageNumber(int pageNumber);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
 				long appId_;
 				long appId_;
 				int pageSize_;
 				int pageSize_;
 				std::vector<Tag> tag_;
 				std::vector<Tag> tag_;
+				bool enableTagAuth_;
 				int pageNumber_;
 				int pageNumber_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 

+ 11 - 0
cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApisRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApisRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				DescribeDeployedApisRequest();
 				DescribeDeployedApisRequest();
@@ -45,6 +50,10 @@ namespace AlibabaCloud
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
 				int getPageSize()const;
 				int getPageSize()const;
 				void setPageSize(int pageSize);
 				void setPageSize(int pageSize);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
+				bool getEnableTagAuth()const;
+				void setEnableTagAuth(bool enableTagAuth);
 				std::string getApiId()const;
 				std::string getApiId()const;
 				void setApiId(const std::string& apiId);
 				void setApiId(const std::string& apiId);
 				int getPageNumber()const;
 				int getPageNumber()const;
@@ -58,6 +67,8 @@ namespace AlibabaCloud
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
 				int pageSize_;
 				int pageSize_;
+				std::vector<Tag> tag_;
+				bool enableTagAuth_;
 				std::string apiId_;
 				std::string apiId_;
 				int pageNumber_;
 				int pageNumber_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;

+ 8 - 0
cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h

@@ -30,6 +30,11 @@ namespace AlibabaCloud
 		{
 		{
 			class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiGroupRequest : public RpcServiceRequest
 			class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiGroupRequest : public RpcServiceRequest
 			{
 			{
+				struct Tag
+				{
+					std::string value;
+					std::string key;
+				};
 
 
 			public:
 			public:
 				ModifyApiGroupRequest();
 				ModifyApiGroupRequest();
@@ -41,6 +46,8 @@ namespace AlibabaCloud
 				void setGroupId(const std::string& groupId);
 				void setGroupId(const std::string& groupId);
 				std::string getDescription()const;
 				std::string getDescription()const;
 				void setDescription(const std::string& description);
 				void setDescription(const std::string& description);
+				std::vector<Tag> getTag()const;
+				void setTag(const std::vector<Tag>& tag);
 				std::string getGroupName()const;
 				std::string getGroupName()const;
 				void setGroupName(const std::string& groupName);
 				void setGroupName(const std::string& groupName);
 				std::string getAccessKeyId()const;
 				std::string getAccessKeyId()const;
@@ -50,6 +57,7 @@ namespace AlibabaCloud
 				std::string securityToken_;
 				std::string securityToken_;
 				std::string groupId_;
 				std::string groupId_;
 				std::string description_;
 				std::string description_;
+				std::vector<Tag> tag_;
 				std::string groupName_;
 				std::string groupName_;
 				std::string accessKeyId_;
 				std::string accessKeyId_;
 
 

+ 17 - 0
cloudapi/src/model/CreateApiGroupRequest.cc

@@ -69,6 +69,23 @@ void CreateApiGroupRequest::setSource(const std::string& source)
 	setCoreParameter("Source", source);
 	setCoreParameter("Source", source);
 }
 }
 
 
+std::vector<CreateApiGroupRequest::Tag> CreateApiGroupRequest::getTag()const
+{
+	return tag_;
+}
+
+void CreateApiGroupRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
 std::string CreateApiGroupRequest::getGroupName()const
 std::string CreateApiGroupRequest::getGroupName()const
 {
 {
 	return groupName_;
 	return groupName_;

+ 7 - 0
cloudapi/src/model/CreateApiGroupResult.cc

@@ -52,6 +52,8 @@ void CreateApiGroupResult::parse(const std::string &payload)
 		instanceId_ = value["InstanceId"].asString();
 		instanceId_ = value["InstanceId"].asString();
 	if(!value["InstanceType"].isNull())
 	if(!value["InstanceType"].isNull())
 		instanceType_ = value["InstanceType"].asString();
 		instanceType_ = value["InstanceType"].asString();
+	if(!value["TagStatus"].isNull())
+		tagStatus_ = value["TagStatus"].asString() == "true";
 
 
 }
 }
 
 
@@ -75,6 +77,11 @@ std::string CreateApiGroupResult::getInstanceId()const
 	return instanceId_;
 	return instanceId_;
 }
 }
 
 
+bool CreateApiGroupResult::getTagStatus()const
+{
+	return tagStatus_;
+}
+
 std::string CreateApiGroupResult::getInstanceType()const
 std::string CreateApiGroupResult::getInstanceType()const
 {
 {
 	return instanceType_;
 	return instanceType_;

+ 17 - 0
cloudapi/src/model/CreateAppRequest.cc

@@ -58,6 +58,23 @@ void CreateAppRequest::setDescription(const std::string& description)
 	setCoreParameter("Description", description);
 	setCoreParameter("Description", description);
 }
 }
 
 
+std::vector<CreateAppRequest::Tag> CreateAppRequest::getTag()const
+{
+	return tag_;
+}
+
+void CreateAppRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
 std::string CreateAppRequest::getAccessKeyId()const
 std::string CreateAppRequest::getAccessKeyId()const
 {
 {
 	return accessKeyId_;
 	return accessKeyId_;

+ 7 - 0
cloudapi/src/model/CreateAppResult.cc

@@ -42,6 +42,8 @@ void CreateAppResult::parse(const std::string &payload)
 	setRequestId(value["RequestId"].asString());
 	setRequestId(value["RequestId"].asString());
 	if(!value["AppId"].isNull())
 	if(!value["AppId"].isNull())
 		appId_ = std::stol(value["AppId"].asString());
 		appId_ = std::stol(value["AppId"].asString());
+	if(!value["TagStatus"].isNull())
+		tagStatus_ = value["TagStatus"].asString() == "true";
 
 
 }
 }
 
 
@@ -50,3 +52,8 @@ long CreateAppResult::getAppId()const
 	return appId_;
 	return appId_;
 }
 }
 
 
+bool CreateAppResult::getTagStatus()const
+{
+	return tagStatus_;
+}
+

+ 17 - 0
cloudapi/src/model/DeleteApiGroupRequest.cc

@@ -47,6 +47,23 @@ void DeleteApiGroupRequest::setGroupId(const std::string& groupId)
 	setCoreParameter("GroupId", groupId);
 	setCoreParameter("GroupId", groupId);
 }
 }
 
 
+std::vector<DeleteApiGroupRequest::Tag> DeleteApiGroupRequest::getTag()const
+{
+	return tag_;
+}
+
+void DeleteApiGroupRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
 std::string DeleteApiGroupRequest::getAccessKeyId()const
 std::string DeleteApiGroupRequest::getAccessKeyId()const
 {
 {
 	return accessKeyId_;
 	return accessKeyId_;

+ 17 - 0
cloudapi/src/model/DescribeApiGroupRequest.cc

@@ -47,6 +47,23 @@ void DescribeApiGroupRequest::setGroupId(const std::string& groupId)
 	setCoreParameter("GroupId", groupId);
 	setCoreParameter("GroupId", groupId);
 }
 }
 
 
+std::vector<DescribeApiGroupRequest::Tag> DescribeApiGroupRequest::getTag()const
+{
+	return tag_;
+}
+
+void DescribeApiGroupRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
 std::string DescribeApiGroupRequest::getAccessKeyId()const
 std::string DescribeApiGroupRequest::getAccessKeyId()const
 {
 {
 	return accessKeyId_;
 	return accessKeyId_;

+ 28 - 0
cloudapi/src/model/DescribeApiGroupsRequest.cc

@@ -58,6 +58,34 @@ void DescribeApiGroupsRequest::setPageSize(int pageSize)
 	setCoreParameter("PageSize", std::to_string(pageSize));
 	setCoreParameter("PageSize", std::to_string(pageSize));
 }
 }
 
 
+std::vector<DescribeApiGroupsRequest::Tag> DescribeApiGroupsRequest::getTag()const
+{
+	return tag_;
+}
+
+void DescribeApiGroupsRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
+bool DescribeApiGroupsRequest::getEnableTagAuth()const
+{
+	return enableTagAuth_;
+}
+
+void DescribeApiGroupsRequest::setEnableTagAuth(bool enableTagAuth)
+{
+	enableTagAuth_ = enableTagAuth;
+	setCoreParameter("EnableTagAuth", enableTagAuth ? "true" : "false");
+}
+
 std::string DescribeApiGroupsRequest::getGroupName()const
 std::string DescribeApiGroupsRequest::getGroupName()const
 {
 {
 	return groupName_;
 	return groupName_;

+ 28 - 0
cloudapi/src/model/DescribeApisRequest.cc

@@ -91,6 +91,34 @@ void DescribeApisRequest::setPageSize(int pageSize)
 	setCoreParameter("PageSize", std::to_string(pageSize));
 	setCoreParameter("PageSize", std::to_string(pageSize));
 }
 }
 
 
+std::vector<DescribeApisRequest::Tag> DescribeApisRequest::getTag()const
+{
+	return tag_;
+}
+
+void DescribeApisRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
+bool DescribeApisRequest::getEnableTagAuth()const
+{
+	return enableTagAuth_;
+}
+
+void DescribeApisRequest::setEnableTagAuth(bool enableTagAuth)
+{
+	enableTagAuth_ = enableTagAuth;
+	setCoreParameter("EnableTagAuth", enableTagAuth ? "true" : "false");
+}
+
 std::string DescribeApisRequest::getApiId()const
 std::string DescribeApisRequest::getApiId()const
 {
 {
 	return apiId_;
 	return apiId_;

+ 11 - 0
cloudapi/src/model/DescribeAppAttributesRequest.cc

@@ -86,6 +86,17 @@ void DescribeAppAttributesRequest::setTag(const std::vector<Tag>& tag)
 	}
 	}
 }
 }
 
 
+bool DescribeAppAttributesRequest::getEnableTagAuth()const
+{
+	return enableTagAuth_;
+}
+
+void DescribeAppAttributesRequest::setEnableTagAuth(bool enableTagAuth)
+{
+	enableTagAuth_ = enableTagAuth;
+	setCoreParameter("EnableTagAuth", enableTagAuth ? "true" : "false");
+}
+
 int DescribeAppAttributesRequest::getPageNumber()const
 int DescribeAppAttributesRequest::getPageNumber()const
 {
 {
 	return pageNumber_;
 	return pageNumber_;

+ 28 - 0
cloudapi/src/model/DescribeDeployedApisRequest.cc

@@ -80,6 +80,34 @@ void DescribeDeployedApisRequest::setPageSize(int pageSize)
 	setCoreParameter("PageSize", std::to_string(pageSize));
 	setCoreParameter("PageSize", std::to_string(pageSize));
 }
 }
 
 
+std::vector<DescribeDeployedApisRequest::Tag> DescribeDeployedApisRequest::getTag()const
+{
+	return tag_;
+}
+
+void DescribeDeployedApisRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
+bool DescribeDeployedApisRequest::getEnableTagAuth()const
+{
+	return enableTagAuth_;
+}
+
+void DescribeDeployedApisRequest::setEnableTagAuth(bool enableTagAuth)
+{
+	enableTagAuth_ = enableTagAuth;
+	setCoreParameter("EnableTagAuth", enableTagAuth ? "true" : "false");
+}
+
 std::string DescribeDeployedApisRequest::getApiId()const
 std::string DescribeDeployedApisRequest::getApiId()const
 {
 {
 	return apiId_;
 	return apiId_;

+ 17 - 0
cloudapi/src/model/ModifyApiGroupRequest.cc

@@ -58,6 +58,23 @@ void ModifyApiGroupRequest::setDescription(const std::string& description)
 	setCoreParameter("Description", description);
 	setCoreParameter("Description", description);
 }
 }
 
 
+std::vector<ModifyApiGroupRequest::Tag> ModifyApiGroupRequest::getTag()const
+{
+	return tag_;
+}
+
+void ModifyApiGroupRequest::setTag(const std::vector<Tag>& tag)
+{
+	tag_ = tag;
+	int i = 0;
+	for(int i = 0; i!= tag.size(); i++)	{
+		auto obj = tag.at(i);
+		std::string str ="Tag."+ std::to_string(i);
+		setCoreParameter(str + ".Value", obj.value);
+		setCoreParameter(str + ".Key", obj.key);
+	}
+}
+
 std::string ModifyApiGroupRequest::getGroupName()const
 std::string ModifyApiGroupRequest::getGroupName()const
 {
 {
 	return groupName_;
 	return groupName_;