From 72138b276a67316f56bcc7fdd0e45fb39900802c Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 7 Apr 2025 12:32:14 +0000 Subject: [PATCH] Generated 2020-05-18 for dataworks-public. --- VERSION | 2 +- .../dataworks-public/model/ListFilesRequest.h | 3 +++ dataworks-public/src/model/ListFilesRequest.cc | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index ad9eb654c..da9164288 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2057 \ No newline at end of file +1.36.2058 \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h index 2742e2666..0fad78bdf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h @@ -36,6 +36,8 @@ public: void setFileTypes(const std::string &fileTypes); bool getNeedContent() const; void setNeedContent(bool needContent); + int getCommitStatus() const; + void setCommitStatus(int commitStatus); bool getNeedAbsoluteFolderPath() const; void setNeedAbsoluteFolderPath(bool needAbsoluteFolderPath); std::string getProjectIdentifier() const; @@ -65,6 +67,7 @@ private: std::string owner_; std::string fileTypes_; bool needContent_; + int commitStatus_; bool needAbsoluteFolderPath_; std::string projectIdentifier_; int pageNumber_; diff --git a/dataworks-public/src/model/ListFilesRequest.cc b/dataworks-public/src/model/ListFilesRequest.cc index b5943e0d6..dbf303a56 100644 --- a/dataworks-public/src/model/ListFilesRequest.cc +++ b/dataworks-public/src/model/ListFilesRequest.cc @@ -52,6 +52,15 @@ void ListFilesRequest::setNeedContent(bool needContent) { setBodyParameter(std::string("NeedContent"), needContent ? "true" : "false"); } +int ListFilesRequest::getCommitStatus() const { + return commitStatus_; +} + +void ListFilesRequest::setCommitStatus(int commitStatus) { + commitStatus_ = commitStatus; + setBodyParameter(std::string("CommitStatus"), std::to_string(commitStatus)); +} + bool ListFilesRequest::getNeedAbsoluteFolderPath() const { return needAbsoluteFolderPath_; }