Browse Source

Update Nlp Automl SDK.

sdk-team 6 years ago
parent
commit
acd143c294

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-11-20 Version 1.36.191
+- Update Nlp Automl SDK.
+
 2019-11-20 Version 1.36.190
 - Add new OpenAPI.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.190
+1.36.191

+ 0 - 6
nlp-automl/include/alibabacloud/nlp-automl/model/GetPredictResultResult.h

@@ -37,18 +37,12 @@ namespace AlibabaCloud
 				GetPredictResultResult();
 				explicit GetPredictResultResult(const std::string &payload);
 				~GetPredictResultResult();
-				std::string getMessage()const;
 				std::string getContent()const;
-				int getCode()const;
-				bool getSuccess()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string message_;
 				std::string content_;
-				int code_;
-				bool success_;
 
 			};
 		}

+ 0 - 21
nlp-automl/src/model/GetPredictResultResult.cc

@@ -41,32 +41,11 @@ void GetPredictResultResult::parse(const std::string &payload)
 	setRequestId(value["RequestId"].asString());
 	if(!value["Content"].isNull())
 		content_ = value["Content"].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 GetPredictResultResult::getMessage()const
-{
-	return message_;
-}
-
 std::string GetPredictResultResult::getContent()const
 {
 	return content_;
 }
 
-int GetPredictResultResult::getCode()const
-{
-	return code_;
-}
-
-bool GetPredictResultResult::getSuccess()const
-{
-	return success_;
-}
-