Jelajahi Sumber

Support Tag.

sdk-team 5 tahun lalu
induk
melakukan
9b9e034594

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-04-20 Version: 1.36.692
+- Support Tag.
+
 2021-04-20 Version: 1.36.691
 - Export predictive dialer API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.691
+1.36.692

File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/CreateOfficeConversionTask.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/CreateStoryJob.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/CreateVideoCompressTask.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/DeleteImage.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/FindStories.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/GetDRMLicense.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/GetMediaMeta.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/GetVideoTask.xml


File diff ditekan karena terlalu besar
+ 0 - 0
imm/2017-09-06/ListFaceGroups.xml


+ 3 - 0
imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h

@@ -45,6 +45,8 @@ namespace AlibabaCloud
 				void setPdfVector(bool pdfVector);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getUserData()const;
+				void setUserData(const std::string& userData);
 				std::string getPassword()const;
 				void setPassword(const std::string& password);
 				long getStartPage()const;
@@ -92,6 +94,7 @@ namespace AlibabaCloud
 				std::string idempotentToken_;
 				bool pdfVector_;
 				std::string accessKeyId_;
+				std::string userData_;
 				std::string password_;
 				long startPage_;
 				std::string notifyEndpoint_;

+ 3 - 0
imm/include/alibabacloud/imm/model/CreateVideoCompressTaskRequest.h

@@ -51,6 +51,8 @@ namespace AlibabaCloud
 				void setTargetList(const std::string& targetList);
 				std::string getVideoUri()const;
 				void setVideoUri(const std::string& videoUri);
+				std::string getTargetSegment()const;
+				void setTargetSegment(const std::string& targetSegment);
 
             private:
 				std::string project_;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
 				std::string notifyTopicName_;
 				std::string targetList_;
 				std::string videoUri_;
+				std::string targetSegment_;
 
 			};
 		}

+ 5 - 3
imm/include/alibabacloud/imm/model/ListFaceGroupsResult.h

@@ -45,24 +45,26 @@ namespace AlibabaCloud
 						};
 						std::string faceId;
 						FaceBoundary faceBoundary;
+						long imageHeight;
+						long imageWidth;
 						std::string externalId;
 						std::string imageUri;
 					};
 					GroupCoverFace groupCoverFace;
 					std::string groupName;
 					std::string modifyTime;
-					std::string createTime;
 					std::string externalId;
+					std::string createTime;
 					float maxAge;
 					std::string gender;
-					std::string remarksA;
 					float averageAge;
+					std::string remarksA;
 					std::string remarksB;
 					std::string groupId;
 					std::string remarksArrayB;
-					std::string remarksC;
 					int imageCount;
 					float minAge;
+					std::string remarksC;
 					std::string remarksD;
 					std::string remarksArrayA;
 					int faceCount;

+ 11 - 0
imm/src/model/CreateOfficeConversionTaskRequest.cc

@@ -82,6 +82,17 @@ void CreateOfficeConversionTaskRequest::setAccessKeyId(const std::string& access
 	setParameter("AccessKeyId", accessKeyId);
 }
 
+std::string CreateOfficeConversionTaskRequest::getUserData()const
+{
+	return userData_;
+}
+
+void CreateOfficeConversionTaskRequest::setUserData(const std::string& userData)
+{
+	userData_ = userData;
+	setParameter("UserData", userData);
+}
+
 std::string CreateOfficeConversionTaskRequest::getPassword()const
 {
 	return password_;

+ 4 - 4
imm/src/model/CreateOfficeConversionTaskResult.cc

@@ -39,16 +39,16 @@ void CreateOfficeConversionTaskResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
+	if(!value["Status"].isNull())
+		status_ = value["Status"].asString();
 	if(!value["TaskId"].isNull())
 		taskId_ = value["TaskId"].asString();
+	if(!value["Percent"].isNull())
+		percent_ = std::stoi(value["Percent"].asString());
 	if(!value["TgtLoc"].isNull())
 		tgtLoc_ = value["TgtLoc"].asString();
-	if(!value["Status"].isNull())
-		status_ = value["Status"].asString();
 	if(!value["CreateTime"].isNull())
 		createTime_ = value["CreateTime"].asString();
-	if(!value["Percent"].isNull())
-		percent_ = std::stoi(value["Percent"].asString());
 
 }
 

+ 11 - 0
imm/src/model/CreateVideoCompressTaskRequest.cc

@@ -115,3 +115,14 @@ void CreateVideoCompressTaskRequest::setVideoUri(const std::string& videoUri)
 	setParameter("VideoUri", videoUri);
 }
 
+std::string CreateVideoCompressTaskRequest::getTargetSegment()const
+{
+	return targetSegment_;
+}
+
+void CreateVideoCompressTaskRequest::setTargetSegment(const std::string& targetSegment)
+{
+	targetSegment_ = targetSegment;
+	setParameter("TargetSegment", targetSegment);
+}
+

+ 2 - 2
imm/src/model/GetDRMLicenseResult.cc

@@ -39,10 +39,10 @@ void GetDRMLicenseResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
-	if(!value["DRMData"].isNull())
-		dRMData_ = value["DRMData"].asString();
 	if(!value["DeviceInfo"].isNull())
 		deviceInfo_ = value["DeviceInfo"].asString();
+	if(!value["DRMData"].isNull())
+		dRMData_ = value["DRMData"].asString();
 
 }
 

+ 14 - 14
imm/src/model/GetVideoTaskResult.cc

@@ -39,28 +39,28 @@ void GetVideoTaskResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
+	if(!value["Status"].isNull())
+		status_ = value["Status"].asString();
+	if(!value["NotifyEndpoint"].isNull())
+		notifyEndpoint_ = value["NotifyEndpoint"].asString();
+	if(!value["Progress"].isNull())
+		progress_ = std::stoi(value["Progress"].asString());
 	if(!value["TaskId"].isNull())
 		taskId_ = value["TaskId"].asString();
-	if(!value["TaskType"].isNull())
-		taskType_ = value["TaskType"].asString();
 	if(!value["Parameters"].isNull())
 		parameters_ = value["Parameters"].asString();
-	if(!value["Result"].isNull())
-		result_ = value["Result"].asString();
-	if(!value["Status"].isNull())
-		status_ = value["Status"].asString();
-	if(!value["StartTime"].isNull())
-		startTime_ = value["StartTime"].asString();
 	if(!value["EndTime"].isNull())
 		endTime_ = value["EndTime"].asString();
-	if(!value["ErrorMessage"].isNull())
-		errorMessage_ = value["ErrorMessage"].asString();
-	if(!value["NotifyEndpoint"].isNull())
-		notifyEndpoint_ = value["NotifyEndpoint"].asString();
+	if(!value["TaskType"].isNull())
+		taskType_ = value["TaskType"].asString();
+	if(!value["StartTime"].isNull())
+		startTime_ = value["StartTime"].asString();
 	if(!value["NotifyTopicName"].isNull())
 		notifyTopicName_ = value["NotifyTopicName"].asString();
-	if(!value["Progress"].isNull())
-		progress_ = std::stoi(value["Progress"].asString());
+	if(!value["ErrorMessage"].isNull())
+		errorMessage_ = value["ErrorMessage"].asString();
+	if(!value["Result"].isNull())
+		result_ = value["Result"].asString();
 
 }
 

+ 28 - 24
imm/src/model/ListFaceGroupsResult.cc

@@ -43,56 +43,60 @@ void ListFaceGroupsResult::parse(const std::string &payload)
 	for (auto valueFaceGroupsFaceGroupsItem : allFaceGroupsNode)
 	{
 		FaceGroupsItem faceGroupsObject;
-		if(!valueFaceGroupsFaceGroupsItem["GroupId"].isNull())
-			faceGroupsObject.groupId = valueFaceGroupsFaceGroupsItem["GroupId"].asString();
 		if(!valueFaceGroupsFaceGroupsItem["GroupName"].isNull())
 			faceGroupsObject.groupName = valueFaceGroupsFaceGroupsItem["GroupName"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["FaceCount"].isNull())
-			faceGroupsObject.faceCount = std::stoi(valueFaceGroupsFaceGroupsItem["FaceCount"].asString());
-		if(!valueFaceGroupsFaceGroupsItem["CreateTime"].isNull())
-			faceGroupsObject.createTime = valueFaceGroupsFaceGroupsItem["CreateTime"].asString();
 		if(!valueFaceGroupsFaceGroupsItem["ModifyTime"].isNull())
 			faceGroupsObject.modifyTime = valueFaceGroupsFaceGroupsItem["ModifyTime"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["ExternalId"].isNull())
+			faceGroupsObject.externalId = valueFaceGroupsFaceGroupsItem["ExternalId"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["CreateTime"].isNull())
+			faceGroupsObject.createTime = valueFaceGroupsFaceGroupsItem["CreateTime"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["MaxAge"].isNull())
+			faceGroupsObject.maxAge = std::stof(valueFaceGroupsFaceGroupsItem["MaxAge"].asString());
+		if(!valueFaceGroupsFaceGroupsItem["Gender"].isNull())
+			faceGroupsObject.gender = valueFaceGroupsFaceGroupsItem["Gender"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["AverageAge"].isNull())
+			faceGroupsObject.averageAge = std::stof(valueFaceGroupsFaceGroupsItem["AverageAge"].asString());
 		if(!valueFaceGroupsFaceGroupsItem["RemarksA"].isNull())
 			faceGroupsObject.remarksA = valueFaceGroupsFaceGroupsItem["RemarksA"].asString();
 		if(!valueFaceGroupsFaceGroupsItem["RemarksB"].isNull())
 			faceGroupsObject.remarksB = valueFaceGroupsFaceGroupsItem["RemarksB"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["RemarksC"].isNull())
-			faceGroupsObject.remarksC = valueFaceGroupsFaceGroupsItem["RemarksC"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["RemarksD"].isNull())
-			faceGroupsObject.remarksD = valueFaceGroupsFaceGroupsItem["RemarksD"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["RemarksArrayA"].isNull())
-			faceGroupsObject.remarksArrayA = valueFaceGroupsFaceGroupsItem["RemarksArrayA"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["GroupId"].isNull())
+			faceGroupsObject.groupId = valueFaceGroupsFaceGroupsItem["GroupId"].asString();
 		if(!valueFaceGroupsFaceGroupsItem["RemarksArrayB"].isNull())
 			faceGroupsObject.remarksArrayB = valueFaceGroupsFaceGroupsItem["RemarksArrayB"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["ExternalId"].isNull())
-			faceGroupsObject.externalId = valueFaceGroupsFaceGroupsItem["ExternalId"].asString();
 		if(!valueFaceGroupsFaceGroupsItem["ImageCount"].isNull())
 			faceGroupsObject.imageCount = std::stoi(valueFaceGroupsFaceGroupsItem["ImageCount"].asString());
-		if(!valueFaceGroupsFaceGroupsItem["Gender"].isNull())
-			faceGroupsObject.gender = valueFaceGroupsFaceGroupsItem["Gender"].asString();
-		if(!valueFaceGroupsFaceGroupsItem["MaxAge"].isNull())
-			faceGroupsObject.maxAge = std::stof(valueFaceGroupsFaceGroupsItem["MaxAge"].asString());
-		if(!valueFaceGroupsFaceGroupsItem["AverageAge"].isNull())
-			faceGroupsObject.averageAge = std::stof(valueFaceGroupsFaceGroupsItem["AverageAge"].asString());
 		if(!valueFaceGroupsFaceGroupsItem["MinAge"].isNull())
 			faceGroupsObject.minAge = std::stof(valueFaceGroupsFaceGroupsItem["MinAge"].asString());
+		if(!valueFaceGroupsFaceGroupsItem["RemarksC"].isNull())
+			faceGroupsObject.remarksC = valueFaceGroupsFaceGroupsItem["RemarksC"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["RemarksD"].isNull())
+			faceGroupsObject.remarksD = valueFaceGroupsFaceGroupsItem["RemarksD"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["RemarksArrayA"].isNull())
+			faceGroupsObject.remarksArrayA = valueFaceGroupsFaceGroupsItem["RemarksArrayA"].asString();
+		if(!valueFaceGroupsFaceGroupsItem["FaceCount"].isNull())
+			faceGroupsObject.faceCount = std::stoi(valueFaceGroupsFaceGroupsItem["FaceCount"].asString());
 		auto groupCoverFaceNode = value["GroupCoverFace"];
 		if(!groupCoverFaceNode["FaceId"].isNull())
 			faceGroupsObject.groupCoverFace.faceId = groupCoverFaceNode["FaceId"].asString();
-		if(!groupCoverFaceNode["ImageUri"].isNull())
-			faceGroupsObject.groupCoverFace.imageUri = groupCoverFaceNode["ImageUri"].asString();
+		if(!groupCoverFaceNode["ImageHeight"].isNull())
+			faceGroupsObject.groupCoverFace.imageHeight = std::stol(groupCoverFaceNode["ImageHeight"].asString());
+		if(!groupCoverFaceNode["ImageWidth"].isNull())
+			faceGroupsObject.groupCoverFace.imageWidth = std::stol(groupCoverFaceNode["ImageWidth"].asString());
 		if(!groupCoverFaceNode["ExternalId"].isNull())
 			faceGroupsObject.groupCoverFace.externalId = groupCoverFaceNode["ExternalId"].asString();
+		if(!groupCoverFaceNode["ImageUri"].isNull())
+			faceGroupsObject.groupCoverFace.imageUri = groupCoverFaceNode["ImageUri"].asString();
 		auto faceBoundaryNode = groupCoverFaceNode["FaceBoundary"];
 		if(!faceBoundaryNode["Left"].isNull())
 			faceGroupsObject.groupCoverFace.faceBoundary.left = std::stoi(faceBoundaryNode["Left"].asString());
 		if(!faceBoundaryNode["Top"].isNull())
 			faceGroupsObject.groupCoverFace.faceBoundary.top = std::stoi(faceBoundaryNode["Top"].asString());
-		if(!faceBoundaryNode["Width"].isNull())
-			faceGroupsObject.groupCoverFace.faceBoundary.width = std::stoi(faceBoundaryNode["Width"].asString());
 		if(!faceBoundaryNode["Height"].isNull())
 			faceGroupsObject.groupCoverFace.faceBoundary.height = std::stoi(faceBoundaryNode["Height"].asString());
+		if(!faceBoundaryNode["Width"].isNull())
+			faceGroupsObject.groupCoverFace.faceBoundary.width = std::stoi(faceBoundaryNode["Width"].asString());
 		faceGroups_.push_back(faceGroupsObject);
 	}
 	if(!value["NextMarker"].isNull())

File diff ditekan karena terlalu besar
+ 0 - 0
imm/version-2017-09-06.xml


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini