Generated 2020-05-18 for dataworks-public.

This commit is contained in:
sdk-team
2020-12-28 10:33:54 +00:00
parent 3387ef3a68
commit 34b35e8f02
7 changed files with 37 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-12-28 Version: patch
- Generated 2020-05-18 for `dataworks-public`.
2020-12-28 Version: patch
- Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo.

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string columnGuid;
std::string columnType;
bool isPartitionColumn;
int position;
bool isForeignKey;
std::string caption;
bool isPrimaryKey;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string columnGuid;
std::string columnType;
bool isPartitionColumn;
int position;
bool isForeignKey;
std::string caption;
bool isPrimaryKey;

View File

@@ -37,11 +37,17 @@ namespace AlibabaCloud
std::string getDataSourceType()const;
void setDataSourceType(const std::string& dataSourceType);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNum()const;
void setPageNum(int pageNum);
long getProjectId()const;
void setProjectId(long projectId);
private:
std::string dataSourceType_;
int pageSize_;
int pageNum_;
long projectId_;
};

View File

@@ -66,6 +66,8 @@ void GetMetaTableColumnResult::parse(const std::string &payload)
columnListItemObject.isForeignKey = dataNodeColumnListColumnListItem["IsForeignKey"].asString() == "true";
if(!dataNodeColumnListColumnListItem["Caption"].isNull())
columnListItemObject.caption = dataNodeColumnListColumnListItem["Caption"].asString();
if(!dataNodeColumnListColumnListItem["Position"].isNull())
columnListItemObject.position = std::stoi(dataNodeColumnListColumnListItem["Position"].asString());
data_.columnList.push_back(columnListItemObject);
}
if(!value["ErrorCode"].isNull())

View File

@@ -100,6 +100,8 @@ void GetMetaTableFullInfoResult::parse(const std::string &payload)
columnListItemObject.isForeignKey = dataNodeColumnListColumnListItem["IsForeignKey"].asString() == "true";
if(!dataNodeColumnListColumnListItem["Caption"].isNull())
columnListItemObject.caption = dataNodeColumnListColumnListItem["Caption"].asString();
if(!dataNodeColumnListColumnListItem["Position"].isNull())
columnListItemObject.position = std::stoi(dataNodeColumnListColumnListItem["Position"].asString());
data_.columnList.push_back(columnListItemObject);
}
if(!value["ErrorCode"].isNull())

View File

@@ -38,6 +38,28 @@ void ListMetaDBRequest::setDataSourceType(const std::string& dataSourceType)
setParameter("DataSourceType", dataSourceType);
}
int ListMetaDBRequest::getPageSize()const
{
return pageSize_;
}
void ListMetaDBRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int ListMetaDBRequest::getPageNum()const
{
return pageNum_;
}
void ListMetaDBRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
long ListMetaDBRequest::getProjectId()const
{
return projectId_;