Browse Source

Add name.

sdk-team 5 years ago
parent
commit
9e1db6ede8

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-06-03 Version: 1.36.764
+- Add name.
+
 2021-06-03 Version: 1.36.763
 - Support name.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.763
+1.36.764

+ 2 - 0
devops-rdc/include/alibabacloud/devops-rdc/model/GetProjectOptionResult.h

@@ -34,6 +34,8 @@ namespace AlibabaCloud
 			public:
 				struct Option
 				{
+					std::string scopeName;
+					std::string kind;
 					std::string value;
 					std::string name;
 				};

+ 3 - 3
devops-rdc/src/Devops-rdcClient.cc

@@ -31,21 +31,21 @@ Devops_rdcClient::Devops_rdcClient(const Credentials &credentials, const ClientC
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 Devops_rdcClient::Devops_rdcClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 Devops_rdcClient::Devops_rdcClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 Devops_rdcClient::~Devops_rdcClient()

+ 4 - 0
devops-rdc/src/model/GetProjectOptionResult.cc

@@ -47,6 +47,10 @@ void GetProjectOptionResult::parse(const std::string &payload)
 			objectObject.name = valueObjectOption["Name"].asString();
 		if(!valueObjectOption["Value"].isNull())
 			objectObject.value = valueObjectOption["Value"].asString();
+		if(!valueObjectOption["Kind"].isNull())
+			objectObject.kind = valueObjectOption["Kind"].asString();
+		if(!valueObjectOption["ScopeName"].isNull())
+			objectObject.scopeName = valueObjectOption["ScopeName"].asString();
 		object_.push_back(objectObject);
 	}
 	if(!value["Successful"].isNull())