Browse Source

Support name.

sdk-team 5 years ago
parent
commit
79b5e173b0

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-06-03 Version: 1.36.763
+- Support name.
+
 2021-06-02 Version: 1.36.762
 - Support key deletion protection.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.762
+1.36.763

+ 1 - 0
devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h

@@ -36,6 +36,7 @@ namespace AlibabaCloud
 				{
 					std::string type;
 					std::string id;
+					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, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
 }
 
 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, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
 }
 
 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, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.9.6");
 }
 
 Devops_rdcClient::~Devops_rdcClient()

+ 2 - 0
devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc

@@ -47,6 +47,8 @@ void ListDevopsScenarioFieldConfigResult::parse(const std::string &payload)
 			objectObject.id = valueObjectScenarioFieldConfig["Id"].asString();
 		if(!valueObjectScenarioFieldConfig["Type"].isNull())
 			objectObject.type = valueObjectScenarioFieldConfig["Type"].asString();
+		if(!valueObjectScenarioFieldConfig["Name"].isNull())
+			objectObject.name = valueObjectScenarioFieldConfig["Name"].asString();
 		object_.push_back(objectObject);
 	}
 	if(!value["Successful"].isNull())