瀏覽代碼

Generated 2020-05-18 for dataworks-public.

sdk-team 3 年之前
父節點
當前提交
045dcc9fa9

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1659
+1.36.1660

+ 4 - 0
dataworks-public/CMakeLists.txt

@@ -89,6 +89,8 @@ set(dataworks-public_public_header_model
 	include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h
 	include/alibabacloud/dataworks-public/model/CreateRemindRequest.h
 	include/alibabacloud/dataworks-public/model/CreateRemindResult.h
+	include/alibabacloud/dataworks-public/model/CreateResourceFileRequest.h
+	include/alibabacloud/dataworks-public/model/CreateResourceFileResult.h
 	include/alibabacloud/dataworks-public/model/CreateTableRequest.h
 	include/alibabacloud/dataworks-public/model/CreateTableResult.h
 	include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h
@@ -604,6 +606,8 @@ set(dataworks-public_src
 	src/model/CreateQualityRuleResult.cc
 	src/model/CreateRemindRequest.cc
 	src/model/CreateRemindResult.cc
+	src/model/CreateResourceFileRequest.cc
+	src/model/CreateResourceFileResult.cc
 	src/model/CreateTableRequest.cc
 	src/model/CreateTableResult.cc
 	src/model/CreateTableLevelRequest.cc

+ 8 - 0
dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h

@@ -90,6 +90,8 @@
 #include "model/CreateQualityRuleResult.h"
 #include "model/CreateRemindRequest.h"
 #include "model/CreateRemindResult.h"
+#include "model/CreateResourceFileRequest.h"
+#include "model/CreateResourceFileResult.h"
 #include "model/CreateTableRequest.h"
 #include "model/CreateTableResult.h"
 #include "model/CreateTableLevelRequest.h"
@@ -645,6 +647,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::CreateRemindResult> CreateRemindOutcome;
 			typedef std::future<CreateRemindOutcome> CreateRemindOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::CreateRemindRequest&, const CreateRemindOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRemindAsyncHandler;
+			typedef Outcome<Error, Model::CreateResourceFileResult> CreateResourceFileOutcome;
+			typedef std::future<CreateResourceFileOutcome> CreateResourceFileOutcomeCallable;
+			typedef std::function<void(const Dataworks_publicClient*, const Model::CreateResourceFileRequest&, const CreateResourceFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourceFileAsyncHandler;
 			typedef Outcome<Error, Model::CreateTableResult> CreateTableOutcome;
 			typedef std::future<CreateTableOutcome> CreateTableOutcomeCallable;
 			typedef std::function<void(const Dataworks_publicClient*, const Model::CreateTableRequest&, const CreateTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTableAsyncHandler;
@@ -1418,6 +1423,9 @@ namespace AlibabaCloud
 			CreateRemindOutcome createRemind(const Model::CreateRemindRequest &request)const;
 			void createRemindAsync(const Model::CreateRemindRequest& request, const CreateRemindAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateRemindOutcomeCallable createRemindCallable(const Model::CreateRemindRequest& request) const;
+			CreateResourceFileOutcome createResourceFile(const Model::CreateResourceFileRequest &request)const;
+			void createResourceFileAsync(const Model::CreateResourceFileRequest& request, const CreateResourceFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			CreateResourceFileOutcomeCallable createResourceFileCallable(const Model::CreateResourceFileRequest& request) const;
 			CreateTableOutcome createTable(const Model::CreateTableRequest &request)const;
 			void createTableAsync(const Model::CreateTableRequest& request, const CreateTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateTableOutcomeCallable createTableCallable(const Model::CreateTableRequest& request) const;

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

@@ -56,6 +56,8 @@ public:
 	void setAutoRerunIntervalMillis(int autoRerunIntervalMillis);
 	std::string getInputList() const;
 	void setInputList(const std::string &inputList);
+	bool getCreateFolderIfNotExists() const;
+	void setCreateFolderIfNotExists(bool createFolderIfNotExists);
 	std::string getRerunMode() const;
 	void setRerunMode(const std::string &rerunMode);
 	std::string getConnectionName() const;
@@ -105,6 +107,7 @@ private:
 	std::string owner_;
 	int autoRerunIntervalMillis_;
 	std::string inputList_;
+	bool createFolderIfNotExists_;
 	std::string rerunMode_;
 	std::string connectionName_;
 	std::string outputParameters_;

+ 75 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/CreateResourceFileRequest.h

@@ -0,0 +1,75 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILEREQUEST_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILEREQUEST_H_
+
+#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Dataworks_public {
+namespace Model {
+class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateResourceFileRequest : public RpcServiceRequest {
+public:
+	CreateResourceFileRequest();
+	~CreateResourceFileRequest();
+	int getFileType() const;
+	void setFileType(int fileType);
+	std::string getContent() const;
+	void setContent(const std::string &content);
+	std::string getResourceFile() const;
+	void setResourceFile(const std::string &resourceFile);
+	std::string getOriginResourceName() const;
+	void setOriginResourceName(const std::string &originResourceName);
+	long getProjectId() const;
+	void setProjectId(long projectId);
+	std::string getStorageURL() const;
+	void setStorageURL(const std::string &storageURL);
+	std::string getOwner() const;
+	void setOwner(const std::string &owner);
+	bool getRegisterToCalcEngine() const;
+	void setRegisterToCalcEngine(bool registerToCalcEngine);
+	bool getUploadMode() const;
+	void setUploadMode(bool uploadMode);
+	std::string getFileName() const;
+	void setFileName(const std::string &fileName);
+	std::string getFileFolderPath() const;
+	void setFileFolderPath(const std::string &fileFolderPath);
+	std::string getFileDescription() const;
+	void setFileDescription(const std::string &fileDescription);
+
+private:
+	int fileType_;
+	std::string content_;
+	std::string resourceFile_;
+	std::string originResourceName_;
+	long projectId_;
+	std::string storageURL_;
+	std::string owner_;
+	bool registerToCalcEngine_;
+	bool uploadMode_;
+	std::string fileName_;
+	std::string fileFolderPath_;
+	std::string fileDescription_;
+};
+} // namespace Model
+} // namespace Dataworks_public
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILEREQUEST_H_

+ 51 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/CreateResourceFileResult.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_H_
+#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Dataworks_public
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateResourceFileResult : public ServiceResult
+			{
+			public:
+
+
+				CreateResourceFileResult();
+				explicit CreateResourceFileResult(const std::string &payload);
+				~CreateResourceFileResult();
+				long getData()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				long data_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_H_

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

@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServ
 public:
 	CreateUdfFileRequest();
 	~CreateUdfFileRequest();
+	bool getCreateFolderIfNotExists() const;
+	void setCreateFolderIfNotExists(bool createFolderIfNotExists);
 	std::string getReturnValue() const;
 	void setReturnValue(const std::string &returnValue);
 	std::string getResources() const;
@@ -56,6 +58,7 @@ public:
 	void setProjectId(long projectId);
 
 private:
+	bool createFolderIfNotExists_;
 	std::string returnValue_;
 	std::string resources_;
 	std::string functionType_;

+ 12 - 0
dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h

@@ -34,14 +34,22 @@ public:
 	void setOwner(const std::string &owner);
 	std::string getFileTypes() const;
 	void setFileTypes(const std::string &fileTypes);
+	bool getNeedContent() const;
+	void setNeedContent(bool needContent);
+	bool getNeedAbsoluteFolderPath() const;
+	void setNeedAbsoluteFolderPath(bool needAbsoluteFolderPath);
 	std::string getProjectIdentifier() const;
 	void setProjectIdentifier(const std::string &projectIdentifier);
 	int getPageNumber() const;
 	void setPageNumber(int pageNumber);
+	std::string getFileIdIn() const;
+	void setFileIdIn(const std::string &fileIdIn);
 	std::string getFileFolderPath() const;
 	void setFileFolderPath(const std::string &fileFolderPath);
 	int getPageSize() const;
 	void setPageSize(int pageSize);
+	std::string getExactFileName() const;
+	void setExactFileName(const std::string &exactFileName);
 	std::string getKeyword() const;
 	void setKeyword(const std::string &keyword);
 	long getProjectId() const;
@@ -54,10 +62,14 @@ public:
 private:
 	std::string owner_;
 	std::string fileTypes_;
+	bool needContent_;
+	bool needAbsoluteFolderPath_;
 	std::string projectIdentifier_;
 	int pageNumber_;
+	std::string fileIdIn_;
 	std::string fileFolderPath_;
 	int pageSize_;
+	std::string exactFileName_;
 	std::string keyword_;
 	long projectId_;
 	std::string useType_;

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

@@ -50,6 +50,7 @@ namespace AlibabaCloud
 						int fileType;
 						std::string lastEditUser;
 						std::string content;
+						std::string absoluteFolderPath;
 						int commitStatus;
 						long nodeId;
 						bool autoParsing;

+ 36 - 0
dataworks-public/src/Dataworks-publicClient.cc

@@ -1275,6 +1275,42 @@ Dataworks_publicClient::CreateRemindOutcomeCallable Dataworks_publicClient::crea
 	return task->get_future();
 }
 
+Dataworks_publicClient::CreateResourceFileOutcome Dataworks_publicClient::createResourceFile(const CreateResourceFileRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return CreateResourceFileOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return CreateResourceFileOutcome(CreateResourceFileResult(outcome.result()));
+	else
+		return CreateResourceFileOutcome(outcome.error());
+}
+
+void Dataworks_publicClient::createResourceFileAsync(const CreateResourceFileRequest& request, const CreateResourceFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, createResourceFile(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Dataworks_publicClient::CreateResourceFileOutcomeCallable Dataworks_publicClient::createResourceFileCallable(const CreateResourceFileRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<CreateResourceFileOutcome()>>(
+			[this, request]()
+			{
+			return this->createResourceFile(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Dataworks_publicClient::CreateTableOutcome Dataworks_publicClient::createTable(const CreateTableRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

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

@@ -142,6 +142,15 @@ void CreateFileRequest::setInputList(const std::string &inputList) {
   setBodyParameter(std::string("InputList"), inputList);
 }
 
+bool CreateFileRequest::getCreateFolderIfNotExists() const {
+  return createFolderIfNotExists_;
+}
+
+void CreateFileRequest::setCreateFolderIfNotExists(bool createFolderIfNotExists) {
+  createFolderIfNotExists_ = createFolderIfNotExists;
+  setBodyParameter(std::string("CreateFolderIfNotExists"), createFolderIfNotExists ? "true" : "false");
+}
+
 std::string CreateFileRequest::getRerunMode() const {
   return rerunMode_;
 }

+ 135 - 0
dataworks-public/src/model/CreateResourceFileRequest.cc

@@ -0,0 +1,135 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/dataworks-public/model/CreateResourceFileRequest.h>
+
+using AlibabaCloud::Dataworks_public::Model::CreateResourceFileRequest;
+
+CreateResourceFileRequest::CreateResourceFileRequest()
+    : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateResourceFile") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+CreateResourceFileRequest::~CreateResourceFileRequest() {}
+
+int CreateResourceFileRequest::getFileType() const {
+  return fileType_;
+}
+
+void CreateResourceFileRequest::setFileType(int fileType) {
+  fileType_ = fileType;
+  setBodyParameter(std::string("FileType"), std::to_string(fileType));
+}
+
+std::string CreateResourceFileRequest::getContent() const {
+  return content_;
+}
+
+void CreateResourceFileRequest::setContent(const std::string &content) {
+  content_ = content;
+  setBodyParameter(std::string("Content"), content);
+}
+
+std::string CreateResourceFileRequest::getResourceFile() const {
+  return resourceFile_;
+}
+
+void CreateResourceFileRequest::setResourceFile(const std::string &resourceFile) {
+  resourceFile_ = resourceFile;
+  setBodyParameter(std::string("ResourceFile"), resourceFile);
+}
+
+std::string CreateResourceFileRequest::getOriginResourceName() const {
+  return originResourceName_;
+}
+
+void CreateResourceFileRequest::setOriginResourceName(const std::string &originResourceName) {
+  originResourceName_ = originResourceName;
+  setBodyParameter(std::string("OriginResourceName"), originResourceName);
+}
+
+long CreateResourceFileRequest::getProjectId() const {
+  return projectId_;
+}
+
+void CreateResourceFileRequest::setProjectId(long projectId) {
+  projectId_ = projectId;
+  setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
+}
+
+std::string CreateResourceFileRequest::getStorageURL() const {
+  return storageURL_;
+}
+
+void CreateResourceFileRequest::setStorageURL(const std::string &storageURL) {
+  storageURL_ = storageURL;
+  setBodyParameter(std::string("StorageURL"), storageURL);
+}
+
+std::string CreateResourceFileRequest::getOwner() const {
+  return owner_;
+}
+
+void CreateResourceFileRequest::setOwner(const std::string &owner) {
+  owner_ = owner;
+  setBodyParameter(std::string("Owner"), owner);
+}
+
+bool CreateResourceFileRequest::getRegisterToCalcEngine() const {
+  return registerToCalcEngine_;
+}
+
+void CreateResourceFileRequest::setRegisterToCalcEngine(bool registerToCalcEngine) {
+  registerToCalcEngine_ = registerToCalcEngine;
+  setBodyParameter(std::string("RegisterToCalcEngine"), registerToCalcEngine ? "true" : "false");
+}
+
+bool CreateResourceFileRequest::getUploadMode() const {
+  return uploadMode_;
+}
+
+void CreateResourceFileRequest::setUploadMode(bool uploadMode) {
+  uploadMode_ = uploadMode;
+  setBodyParameter(std::string("UploadMode"), uploadMode ? "true" : "false");
+}
+
+std::string CreateResourceFileRequest::getFileName() const {
+  return fileName_;
+}
+
+void CreateResourceFileRequest::setFileName(const std::string &fileName) {
+  fileName_ = fileName;
+  setBodyParameter(std::string("FileName"), fileName);
+}
+
+std::string CreateResourceFileRequest::getFileFolderPath() const {
+  return fileFolderPath_;
+}
+
+void CreateResourceFileRequest::setFileFolderPath(const std::string &fileFolderPath) {
+  fileFolderPath_ = fileFolderPath;
+  setBodyParameter(std::string("FileFolderPath"), fileFolderPath);
+}
+
+std::string CreateResourceFileRequest::getFileDescription() const {
+  return fileDescription_;
+}
+
+void CreateResourceFileRequest::setFileDescription(const std::string &fileDescription) {
+  fileDescription_ = fileDescription;
+  setBodyParameter(std::string("FileDescription"), fileDescription);
+}
+

+ 51 - 0
dataworks-public/src/model/CreateResourceFileResult.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/dataworks-public/model/CreateResourceFileResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Dataworks_public;
+using namespace AlibabaCloud::Dataworks_public::Model;
+
+CreateResourceFileResult::CreateResourceFileResult() :
+	ServiceResult()
+{}
+
+CreateResourceFileResult::CreateResourceFileResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+CreateResourceFileResult::~CreateResourceFileResult()
+{}
+
+void CreateResourceFileResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Data"].isNull())
+		data_ = std::stol(value["Data"].asString());
+
+}
+
+long CreateResourceFileResult::getData()const
+{
+	return data_;
+}
+

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

@@ -25,6 +25,15 @@ CreateUdfFileRequest::CreateUdfFileRequest()
 
 CreateUdfFileRequest::~CreateUdfFileRequest() {}
 
+bool CreateUdfFileRequest::getCreateFolderIfNotExists() const {
+  return createFolderIfNotExists_;
+}
+
+void CreateUdfFileRequest::setCreateFolderIfNotExists(bool createFolderIfNotExists) {
+  createFolderIfNotExists_ = createFolderIfNotExists;
+  setBodyParameter(std::string("CreateFolderIfNotExists"), createFolderIfNotExists ? "true" : "false");
+}
+
 std::string CreateUdfFileRequest::getReturnValue() const {
   return returnValue_;
 }

+ 36 - 0
dataworks-public/src/model/ListFilesRequest.cc

@@ -43,6 +43,24 @@ void ListFilesRequest::setFileTypes(const std::string &fileTypes) {
   setBodyParameter(std::string("FileTypes"), fileTypes);
 }
 
+bool ListFilesRequest::getNeedContent() const {
+  return needContent_;
+}
+
+void ListFilesRequest::setNeedContent(bool needContent) {
+  needContent_ = needContent;
+  setBodyParameter(std::string("NeedContent"), needContent ? "true" : "false");
+}
+
+bool ListFilesRequest::getNeedAbsoluteFolderPath() const {
+  return needAbsoluteFolderPath_;
+}
+
+void ListFilesRequest::setNeedAbsoluteFolderPath(bool needAbsoluteFolderPath) {
+  needAbsoluteFolderPath_ = needAbsoluteFolderPath;
+  setBodyParameter(std::string("NeedAbsoluteFolderPath"), needAbsoluteFolderPath ? "true" : "false");
+}
+
 std::string ListFilesRequest::getProjectIdentifier() const {
   return projectIdentifier_;
 }
@@ -61,6 +79,15 @@ void ListFilesRequest::setPageNumber(int pageNumber) {
   setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
 }
 
+std::string ListFilesRequest::getFileIdIn() const {
+  return fileIdIn_;
+}
+
+void ListFilesRequest::setFileIdIn(const std::string &fileIdIn) {
+  fileIdIn_ = fileIdIn;
+  setBodyParameter(std::string("FileIdIn"), fileIdIn);
+}
+
 std::string ListFilesRequest::getFileFolderPath() const {
   return fileFolderPath_;
 }
@@ -79,6 +106,15 @@ void ListFilesRequest::setPageSize(int pageSize) {
   setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
 }
 
+std::string ListFilesRequest::getExactFileName() const {
+  return exactFileName_;
+}
+
+void ListFilesRequest::setExactFileName(const std::string &exactFileName) {
+  exactFileName_ = exactFileName;
+  setBodyParameter(std::string("ExactFileName"), exactFileName);
+}
+
 std::string ListFilesRequest::getKeyword() const {
   return keyword_;
 }

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

@@ -92,6 +92,8 @@ void ListFilesResult::parse(const std::string &payload)
 			fileObject.content = dataNodeFilesFile["Content"].asString();
 		if(!dataNodeFilesFile["NodeId"].isNull())
 			fileObject.nodeId = std::stol(dataNodeFilesFile["NodeId"].asString());
+		if(!dataNodeFilesFile["AbsoluteFolderPath"].isNull())
+			fileObject.absoluteFolderPath = dataNodeFilesFile["AbsoluteFolderPath"].asString();
 		data_.files.push_back(fileObject);
 	}
 	if(!value["HttpStatusCode"].isNull())