Просмотр исходного кода

Generated 2020-05-18 for dataworks-public.

sdk-team 3 лет назад
Родитель
Сommit
0a7dacccb5

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1476
+1.36.1477

+ 1 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h

@@ -38,6 +38,7 @@ namespace AlibabaCloud
 					{
 						std::string tableName;
 						std::string tableGuid;
+						std::string databaseName;
 						long createTimestamp;
 					};
 					std::vector<DataEntityListItem> dataEntityList;

+ 2 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeResult.h

@@ -38,6 +38,7 @@ namespace AlibabaCloud
 					std::string description;
 					std::string resGroupName;
 					std::string nodeName;
+					std::string resGroupIdentifier;
 					int priority;
 					int dqcType;
 					std::string paramValues;
@@ -48,6 +49,7 @@ namespace AlibabaCloud
 					std::string cronExpress;
 					std::string repeatability;
 					std::string ownerId;
+					int fileType;
 					std::string dqcDescription;
 					long nodeId;
 					std::string programType;

+ 2 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesResult.h

@@ -40,6 +40,7 @@ namespace AlibabaCloud
 						std::string description;
 						std::string resGroupName;
 						std::string nodeName;
+						std::string resGroupIdentifier;
 						int priority;
 						int dqcType;
 						std::string paramValues;
@@ -50,6 +51,7 @@ namespace AlibabaCloud
 						std::string cronExpress;
 						bool repeatability;
 						std::string ownerId;
+						int fileType;
 						std::string dqcDescription;
 						long nodeId;
 						std::string programType;

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/MountDirectoryRequest.h

@@ -34,10 +34,13 @@ public:
 	void setTargetType(const std::string &targetType);
 	std::string getTargetId() const;
 	void setTargetId(const std::string &targetId);
+	std::string getTargetUserId() const;
+	void setTargetUserId(const std::string &targetUserId);
 
 private:
 	std::string targetType_;
 	std::string targetId_;
+	std::string targetUserId_;
 };
 } // namespace Model
 } // namespace Dataworks_public

+ 3 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/UmountDirectoryRequest.h

@@ -34,10 +34,13 @@ public:
 	void setTargetType(const std::string &targetType);
 	std::string getTargetId() const;
 	void setTargetId(const std::string &targetId);
+	std::string getTargetUserId() const;
+	void setTargetUserId(const std::string &targetUserId);
 
 private:
 	std::string targetType_;
 	std::string targetId_;
+	std::string targetUserId_;
 };
 } // namespace Model
 } // namespace Dataworks_public

+ 2 - 0
dataworks-public/src/model/GetMetaTableLineageResult.cc

@@ -54,6 +54,8 @@ void GetMetaTableLineageResult::parse(const std::string &payload)
 			dataEntityListItemObject.tableGuid = dataNodeDataEntityListDataEntityListItem["TableGuid"].asString();
 		if(!dataNodeDataEntityListDataEntityListItem["CreateTimestamp"].isNull())
 			dataEntityListItemObject.createTimestamp = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTimestamp"].asString());
+		if(!dataNodeDataEntityListDataEntityListItem["DatabaseName"].isNull())
+			dataEntityListItemObject.databaseName = dataNodeDataEntityListDataEntityListItem["DatabaseName"].asString();
 		data_.dataEntityList.push_back(dataEntityListItemObject);
 	}
 	if(!value["HttpStatusCode"].isNull())

+ 4 - 0
dataworks-public/src/model/GetNodeResult.cc

@@ -78,6 +78,10 @@ void GetNodeResult::parse(const std::string &payload)
 		data_.cronExpress = dataNode["CronExpress"].asString();
 	if(!dataNode["NodeId"].isNull())
 		data_.nodeId = std::stol(dataNode["NodeId"].asString());
+	if(!dataNode["ResGroupIdentifier"].isNull())
+		data_.resGroupIdentifier = dataNode["ResGroupIdentifier"].asString();
+	if(!dataNode["FileType"].isNull())
+		data_.fileType = std::stoi(dataNode["FileType"].asString());
 	if(!value["HttpStatusCode"].isNull())
 		httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
 	if(!value["ErrorMessage"].isNull())

+ 4 - 0
dataworks-public/src/model/ListNodesResult.cc

@@ -88,6 +88,10 @@ void ListNodesResult::parse(const std::string &payload)
 			nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString();
 		if(!dataNodeNodesNodesItem["NodeId"].isNull())
 			nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString());
+		if(!dataNodeNodesNodesItem["ResGroupIdentifier"].isNull())
+			nodesItemObject.resGroupIdentifier = dataNodeNodesNodesItem["ResGroupIdentifier"].asString();
+		if(!dataNodeNodesNodesItem["FileType"].isNull())
+			nodesItemObject.fileType = std::stoi(dataNodeNodesNodesItem["FileType"].asString());
 		data_.nodes.push_back(nodesItemObject);
 	}
 	if(!value["HttpStatusCode"].isNull())

+ 9 - 0
dataworks-public/src/model/MountDirectoryRequest.cc

@@ -43,3 +43,12 @@ void MountDirectoryRequest::setTargetId(const std::string &targetId) {
   setBodyParameter(std::string("TargetId"), targetId);
 }
 
+std::string MountDirectoryRequest::getTargetUserId() const {
+  return targetUserId_;
+}
+
+void MountDirectoryRequest::setTargetUserId(const std::string &targetUserId) {
+  targetUserId_ = targetUserId;
+  setBodyParameter(std::string("TargetUserId"), targetUserId);
+}
+

+ 9 - 0
dataworks-public/src/model/UmountDirectoryRequest.cc

@@ -43,3 +43,12 @@ void UmountDirectoryRequest::setTargetId(const std::string &targetId) {
   setBodyParameter(std::string("TargetId"), targetId);
 }
 
+std::string UmountDirectoryRequest::getTargetUserId() const {
+  return targetUserId_;
+}
+
+void UmountDirectoryRequest::setTargetUserId(const std::string &targetUserId) {
+  targetUserId_ = targetUserId;
+  setBodyParameter(std::string("TargetUserId"), targetUserId);
+}
+