Jelajahi Sumber

ALIMT SDK Auto Released By xulei.xl,Version:1.33.4

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 tahun lalu
induk
melakukan
012634c7ea

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2018-11-22 Version: 1.33.4
+1, Increase the scene field
+
 2018-11-22 Version: 1.33.3
 1, Add parameter DeletionProtection when creating instance and modifying instance attribute
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.33.3
+1.33.4

+ 3 - 0
alimt/include/alibabacloud/alimt/model/TranslateECommerceRequest.h

@@ -43,12 +43,15 @@ namespace AlibabaCloud
 				void setFormatType(const std::string& formatType);
 				std::string getTargetLanguage()const;
 				void setTargetLanguage(const std::string& targetLanguage);
+				std::string getScene()const;
+				void setScene(const std::string& scene);
 
             private:
 				std::string sourceLanguage_;
 				std::string sourceText_;
 				std::string formatType_;
 				std::string targetLanguage_;
+				std::string scene_;
 
 			};
 		}

+ 3 - 0
alimt/include/alibabacloud/alimt/model/TranslateGeneralRequest.h

@@ -43,12 +43,15 @@ namespace AlibabaCloud
 				void setFormatType(const std::string& formatType);
 				std::string getTargetLanguage()const;
 				void setTargetLanguage(const std::string& targetLanguage);
+				std::string getScene()const;
+				void setScene(const std::string& scene);
 
             private:
 				std::string sourceLanguage_;
 				std::string sourceText_;
 				std::string formatType_;
 				std::string targetLanguage_;
+				std::string scene_;
 
 			};
 		}

+ 11 - 0
alimt/src/model/TranslateECommerceRequest.cc

@@ -69,3 +69,14 @@ void TranslateECommerceRequest::setTargetLanguage(const std::string& targetLangu
 	setParameter("TargetLanguage", targetLanguage);
 }
 
+std::string TranslateECommerceRequest::getScene()const
+{
+	return scene_;
+}
+
+void TranslateECommerceRequest::setScene(const std::string& scene)
+{
+	scene_ = scene;
+	setParameter("Scene", scene);
+}
+

+ 11 - 0
alimt/src/model/TranslateGeneralRequest.cc

@@ -69,3 +69,14 @@ void TranslateGeneralRequest::setTargetLanguage(const std::string& targetLanguag
 	setParameter("TargetLanguage", targetLanguage);
 }
 
+std::string TranslateGeneralRequest::getScene()const
+{
+	return scene_;
+}
+
+void TranslateGeneralRequest::setScene(const std::string& scene)
+{
+	scene_ = scene;
+	setParameter("Scene", scene);
+}
+