Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string tableName;
|
||||
std::string tableGuid;
|
||||
std::string databaseName;
|
||||
long createTimestamp;
|
||||
};
|
||||
std::vector<DataEntityListItem> dataEntityList;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user