Compare commits
40 Commits
videoseg-p
...
schedulerx
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bde7a21f4 | ||
|
|
e912c2adc5 | ||
|
|
82cfdabb16 | ||
|
|
a009cbcc4f | ||
|
|
3338987506 | ||
|
|
ef67947d20 | ||
|
|
42440e1078 | ||
|
|
44de17f30a | ||
|
|
1f7ee9ecc1 | ||
|
|
b5cb1df9e3 | ||
|
|
03b5f7b37b | ||
|
|
9bf214bc2c | ||
|
|
9bdc7d4fa5 | ||
|
|
80f230d35a | ||
|
|
0faf3e6ffa | ||
|
|
3dcd83a4f3 | ||
|
|
052017ee0a | ||
|
|
cbf2412b29 | ||
|
|
9fd09665ff | ||
|
|
7964674af1 | ||
|
|
38db21928a | ||
|
|
4899593377 | ||
|
|
ecf3cb4bb0 | ||
|
|
7b2178ef7c | ||
|
|
de338b6bec | ||
|
|
272a1c1466 | ||
|
|
ee902a7f28 | ||
|
|
fb12252d2d | ||
|
|
6e4fea5ea2 | ||
|
|
1b54ddd725 | ||
|
|
6e5ba8761d | ||
|
|
e71ef9a243 | ||
|
|
17af8569c4 | ||
|
|
4c3be7ed7c | ||
|
|
3303c6120d | ||
|
|
d0e1cd8792 | ||
|
|
7859e7446f | ||
|
|
8296e36314 | ||
|
|
0af9554cab | ||
|
|
5590f7808b |
128
CHANGELOG
128
CHANGELOG
@@ -1,3 +1,131 @@
|
||||
2021-02-23 Version: patch
|
||||
- Supported List Namespaces.
|
||||
- Supported List Groups.
|
||||
- Supported List Jobs.
|
||||
|
||||
2021-02-22 Version: patch
|
||||
- Support input parameter DeploymentSetId for CreateAutoProvisioningGroup.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Generated 2020-01-11 for `servicemesh`.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Add new API for recording.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Add API OpenOnsService which can active ons service.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Generated 2018-06-01 for `dataworks-public`.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Update SegmentBody.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- DescribeAvailableResource support list available resource for modify instance.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Update SetVideoSeekConfig.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Release InterpolateVideoFrame.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Create TSDB Open api.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Add.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Supported API for GTM.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Support CPP and Go and PHP.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Support some MergeRequest API.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Fix IoT Studio BatchBindDevicesIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchBindProductsIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectDevices API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectProducts API return datatype.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Add username for RunCommand and InvokeCommand.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Update PedestrianDetectAttribute.
|
||||
|
||||
2021-02-07 Version: patch
|
||||
- Add IoT Studio BatchBindDevicesIntoProject API.
|
||||
- Add IoT Studio BatchBindProductsIntoProject API.
|
||||
- Add IoT Studio BatchUnbindProjectDevices API.
|
||||
- Add IoT Studio BatchUnbindProjectProducts API.
|
||||
|
||||
2021-02-07 Version: patch
|
||||
- Support patch manager apis.
|
||||
|
||||
2021-02-07 Version: patch
|
||||
- Support some MergeRequest API.
|
||||
|
||||
2021-02-05 Version: patch
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-02-05 Version: patch
|
||||
- Update Open API.
|
||||
|
||||
2021-02-05 Version: patch
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Update DetectVehicleIllegalParking DetectVehicleICongestion.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Supported scheduler for outbound call.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Supported console.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Supported console.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Update TaggingImage.
|
||||
|
||||
2021-02-03 Version: patch
|
||||
- After normalizing the API group name, regenerate the SDK.
|
||||
|
||||
2021-02-03 Version: patch
|
||||
- Add ModifyAuditLogConfig API.
|
||||
|
||||
2021-02-02 Version: patch
|
||||
- Add.
|
||||
|
||||
2021-02-02 Version: patch
|
||||
- CreateShardingDBInstance add ReadOnlyReplicas in ReplicaSet.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Support device credential for mqtt.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Add.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Release RecognizeFood.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Release UnderstandVideoContent.
|
||||
|
||||
2021-02-01 Version: patch
|
||||
- Release SegmentGreenScreenVideo.
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeDNSSLBSubDomainsRequest();
|
||||
~DescribeDNSSLBSubDomainsRequest();
|
||||
|
||||
std::string getRr()const;
|
||||
void setRr(const std::string& rr);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getPageNumber()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string rr_;
|
||||
std::string domainName_;
|
||||
long pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SlbSubDomain
|
||||
{
|
||||
struct LineAlgorithm
|
||||
{
|
||||
std::string line;
|
||||
bool open;
|
||||
};
|
||||
std::string subDomain;
|
||||
std::string type;
|
||||
std::vector<SlbSubDomain::LineAlgorithm> lineAlgorithms;
|
||||
long recordCount;
|
||||
bool open;
|
||||
};
|
||||
|
||||
@@ -65,8 +65,11 @@ namespace AlibabaCloud
|
||||
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
||||
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
|
||||
std::vector<DomainAddrPool> getDomainAddrPools()const;
|
||||
std::vector<std::string> getSelectedDomainLines()const;
|
||||
std::vector<std::string> getSelectedIpv4Lines()const;
|
||||
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
|
||||
std::vector<Line> getLines()const;
|
||||
std::vector<std::string> getSelectedIpv6Lines()const;
|
||||
bool getSuggestSetDefaultLine()const;
|
||||
|
||||
protected:
|
||||
@@ -74,8 +77,11 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<Ipv4AddrPool> ipv4AddrPools_;
|
||||
std::vector<DomainAddrPool> domainAddrPools_;
|
||||
std::vector<std::string> selectedDomainLines_;
|
||||
std::vector<std::string> selectedIpv4Lines_;
|
||||
std::vector<Ipv6AddrPool> ipv6AddrPools_;
|
||||
std::vector<Line> lines_;
|
||||
std::vector<std::string> selectedIpv6Lines_;
|
||||
bool suggestSetDefaultLine_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
SetDNSSLBStatusRequest();
|
||||
~SetDNSSLBStatusRequest();
|
||||
|
||||
std::string getLine()const;
|
||||
void setLine(const std::string& line);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getType()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
void setOpen(bool open);
|
||||
|
||||
private:
|
||||
std::string line_;
|
||||
std::string domainName_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() :
|
||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getRr()const
|
||||
{
|
||||
return rr_;
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setRr(const std::string& rr)
|
||||
{
|
||||
rr_ = rr;
|
||||
setParameter("Rr", rr);
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -51,6 +51,16 @@ void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload)
|
||||
slbSubDomainsObject.open = valueSlbSubDomainsSlbSubDomain["Open"].asString() == "true";
|
||||
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
||||
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
||||
auto allLineAlgorithmsNode = valueSlbSubDomainsSlbSubDomain["LineAlgorithms"]["LineAlgorithm"];
|
||||
for (auto valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm : allLineAlgorithmsNode)
|
||||
{
|
||||
SlbSubDomain::LineAlgorithm lineAlgorithmsObject;
|
||||
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].isNull())
|
||||
lineAlgorithmsObject.line = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].asString();
|
||||
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].isNull())
|
||||
lineAlgorithmsObject.open = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].asString() == "true";
|
||||
slbSubDomainsObject.lineAlgorithms.push_back(lineAlgorithmsObject);
|
||||
}
|
||||
slbSubDomains_.push_back(slbSubDomainsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -91,6 +91,15 @@ void DescribeDnsGtmAccessStrategyAvailableConfigResult::parse(const std::string
|
||||
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
||||
domainAddrPools_.push_back(domainAddrPoolsObject);
|
||||
}
|
||||
auto allSelectedIpv4Lines = value["SelectedIpv4Lines"]["SelectedIpv4Line"];
|
||||
for (const auto &item : allSelectedIpv4Lines)
|
||||
selectedIpv4Lines_.push_back(item.asString());
|
||||
auto allSelectedIpv6Lines = value["SelectedIpv6Lines"]["SelectedIpv6Line"];
|
||||
for (const auto &item : allSelectedIpv6Lines)
|
||||
selectedIpv6Lines_.push_back(item.asString());
|
||||
auto allSelectedDomainLines = value["SelectedDomainLines"]["SelectedDomainLine"];
|
||||
for (const auto &item : allSelectedDomainLines)
|
||||
selectedDomainLines_.push_back(item.asString());
|
||||
if(!value["SuggestSetDefaultLine"].isNull())
|
||||
suggestSetDefaultLine_ = value["SuggestSetDefaultLine"].asString() == "true";
|
||||
|
||||
@@ -106,6 +115,16 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::DomainAddrPool> D
|
||||
return domainAddrPools_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedDomainLines()const
|
||||
{
|
||||
return selectedDomainLines_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv4Lines()const
|
||||
{
|
||||
return selectedIpv4Lines_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv6AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv6AddrPools()const
|
||||
{
|
||||
return ipv6AddrPools_;
|
||||
@@ -116,6 +135,11 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Line> DescribeDns
|
||||
return lines_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv6Lines()const
|
||||
{
|
||||
return selectedIpv6Lines_;
|
||||
}
|
||||
|
||||
bool DescribeDnsGtmAccessStrategyAvailableConfigResult::getSuggestSetDefaultLine()const
|
||||
{
|
||||
return suggestSetDefaultLine_;
|
||||
|
||||
@@ -27,6 +27,17 @@ SetDNSSLBStatusRequest::SetDNSSLBStatusRequest() :
|
||||
SetDNSSLBStatusRequest::~SetDNSSLBStatusRequest()
|
||||
{}
|
||||
|
||||
std::string SetDNSSLBStatusRequest::getLine()const
|
||||
{
|
||||
return line_;
|
||||
}
|
||||
|
||||
void SetDNSSLBStatusRequest::setLine(const std::string& line)
|
||||
{
|
||||
line_ = line;
|
||||
setParameter("Line", line);
|
||||
}
|
||||
|
||||
std::string SetDNSSLBStatusRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -48,16 +48,16 @@ void DescribeClusterDashboardResult::parse(const std::string &payload)
|
||||
Dashboard::DataCenter dataCenterObject;
|
||||
if(!dashboardNodeDataCentersDataCenter["DataCenterId"].isNull())
|
||||
dataCenterObject.dataCenterId = dashboardNodeDataCentersDataCenter["DataCenterId"].asString();
|
||||
auto allNodesNode = allDataCentersNode["Nodes"]["Node"];
|
||||
for (auto allDataCentersNodeNodesNode : allNodesNode)
|
||||
auto allNodesNode = dashboardNodeDataCentersDataCenter["Nodes"]["Node"];
|
||||
for (auto dashboardNodeDataCentersDataCenterNodesNode : allNodesNode)
|
||||
{
|
||||
Dashboard::DataCenter::Node nodesObject;
|
||||
if(!allDataCentersNodeNodesNode["Address"].isNull())
|
||||
nodesObject.address = allDataCentersNodeNodesNode["Address"].asString();
|
||||
if(!allDataCentersNodeNodesNode["Status"].isNull())
|
||||
nodesObject.status = allDataCentersNodeNodesNode["Status"].asString();
|
||||
if(!allDataCentersNodeNodesNode["Load"].isNull())
|
||||
nodesObject.load = allDataCentersNodeNodesNode["Load"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Address"].isNull())
|
||||
nodesObject.address = dashboardNodeDataCentersDataCenterNodesNode["Address"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Status"].isNull())
|
||||
nodesObject.status = dashboardNodeDataCentersDataCenterNodesNode["Status"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Load"].isNull())
|
||||
nodesObject.load = dashboardNodeDataCentersDataCenterNodesNode["Load"].asString();
|
||||
dataCenterObject.nodes.push_back(nodesObject);
|
||||
}
|
||||
dashboard_.dataCenters.push_back(dataCenterObject);
|
||||
|
||||
@@ -67,14 +67,14 @@ void DescribeClustersResult::parse(const std::string &payload)
|
||||
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
|
||||
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
|
||||
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
|
||||
auto allTagsNode = allClustersNode["Tags"]["Tag"];
|
||||
for (auto allClustersNodeTagsTag : allTagsNode)
|
||||
auto allTagsNode = valueClustersCluster["Tags"]["Tag"];
|
||||
for (auto valueClustersClusterTagsTag : allTagsNode)
|
||||
{
|
||||
Cluster::Tag tagsObject;
|
||||
if(!allClustersNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allClustersNodeTagsTag["Key"].asString();
|
||||
if(!allClustersNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allClustersNodeTagsTag["Value"].asString();
|
||||
if(!valueClustersClusterTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueClustersClusterTagsTag["Key"].asString();
|
||||
if(!valueClustersClusterTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueClustersClusterTagsTag["Value"].asString();
|
||||
clustersObject.tags.push_back(tagsObject);
|
||||
}
|
||||
clusters_.push_back(clustersObject);
|
||||
|
||||
@@ -49,12 +49,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
||||
auto allZonesNode = valueRegionsRegion["Zones"]["Zone"];
|
||||
for (auto valueRegionsRegionZonesZone : allZonesNode)
|
||||
{
|
||||
Region::Zone zonesObject;
|
||||
if(!allRegionsNodeZonesZone["Id"].isNull())
|
||||
zonesObject.id = allRegionsNodeZonesZone["Id"].asString();
|
||||
if(!valueRegionsRegionZonesZone["Id"].isNull())
|
||||
zonesObject.id = valueRegionsRegionZonesZone["Id"].asString();
|
||||
regionsObject.zones.push_back(zonesObject);
|
||||
}
|
||||
regions_.push_back(regionsObject);
|
||||
|
||||
@@ -21,6 +21,8 @@ set(codeup_public_header
|
||||
include/alibabacloud/codeup/CodeupExport.h )
|
||||
|
||||
set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/AcceptMergeRequestRequest.h
|
||||
include/alibabacloud/codeup/model/AcceptMergeRequestResult.h
|
||||
include/alibabacloud/codeup/model/AddGroupMemberRequest.h
|
||||
include/alibabacloud/codeup/model/AddGroupMemberResult.h
|
||||
include/alibabacloud/codeup/model/AddRepositoryMemberRequest.h
|
||||
@@ -33,6 +35,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/CreateFileResult.h
|
||||
include/alibabacloud/codeup/model/CreateMergeRequestRequest.h
|
||||
include/alibabacloud/codeup/model/CreateMergeRequestResult.h
|
||||
include/alibabacloud/codeup/model/CreateMergeRequestCommentRequest.h
|
||||
include/alibabacloud/codeup/model/CreateMergeRequestCommentResult.h
|
||||
include/alibabacloud/codeup/model/CreateRepositoryRequest.h
|
||||
include/alibabacloud/codeup/model/CreateRepositoryResult.h
|
||||
include/alibabacloud/codeup/model/CreateRepositoryDeployKeyRequest.h
|
||||
@@ -71,6 +75,12 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/GetFileBlobsResult.h
|
||||
include/alibabacloud/codeup/model/GetGroupDetailRequest.h
|
||||
include/alibabacloud/codeup/model/GetGroupDetailResult.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestApproveStatusRequest.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestApproveStatusResult.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestDetailRequest.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestDetailResult.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestSettingRequest.h
|
||||
include/alibabacloud/codeup/model/GetMergeRequestSettingResult.h
|
||||
include/alibabacloud/codeup/model/GetProjectMemberRequest.h
|
||||
include/alibabacloud/codeup/model/GetProjectMemberResult.h
|
||||
include/alibabacloud/codeup/model/GetRepositoryInfoRequest.h
|
||||
@@ -85,6 +95,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/ListGroupRepositoriesResult.h
|
||||
include/alibabacloud/codeup/model/ListGroupsRequest.h
|
||||
include/alibabacloud/codeup/model/ListGroupsResult.h
|
||||
include/alibabacloud/codeup/model/ListMergeRequestCommentsRequest.h
|
||||
include/alibabacloud/codeup/model/ListMergeRequestCommentsResult.h
|
||||
include/alibabacloud/codeup/model/ListMergeRequestsRequest.h
|
||||
include/alibabacloud/codeup/model/ListMergeRequestsResult.h
|
||||
include/alibabacloud/codeup/model/ListOrganizationsRequest.h
|
||||
@@ -93,6 +105,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/ListRepositoriesResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryBranchesRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryBranchesResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryCommitsRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryCommitsResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTagsRequest.h
|
||||
@@ -107,6 +121,12 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/UpdateFileResult.h
|
||||
include/alibabacloud/codeup/model/UpdateGroupMemberRequest.h
|
||||
include/alibabacloud/codeup/model/UpdateGroupMemberResult.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestRequest.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestResult.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestCommentRequest.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestCommentResult.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestSettingRequest.h
|
||||
include/alibabacloud/codeup/model/UpdateMergeRequestSettingResult.h
|
||||
include/alibabacloud/codeup/model/UpdateRepositoryRequest.h
|
||||
include/alibabacloud/codeup/model/UpdateRepositoryResult.h
|
||||
include/alibabacloud/codeup/model/UpdateRepositoryMemberRequest.h
|
||||
@@ -114,6 +134,8 @@ set(codeup_public_header_model
|
||||
|
||||
set(codeup_src
|
||||
src/CodeupClient.cc
|
||||
src/model/AcceptMergeRequestRequest.cc
|
||||
src/model/AcceptMergeRequestResult.cc
|
||||
src/model/AddGroupMemberRequest.cc
|
||||
src/model/AddGroupMemberResult.cc
|
||||
src/model/AddRepositoryMemberRequest.cc
|
||||
@@ -126,6 +148,8 @@ set(codeup_src
|
||||
src/model/CreateFileResult.cc
|
||||
src/model/CreateMergeRequestRequest.cc
|
||||
src/model/CreateMergeRequestResult.cc
|
||||
src/model/CreateMergeRequestCommentRequest.cc
|
||||
src/model/CreateMergeRequestCommentResult.cc
|
||||
src/model/CreateRepositoryRequest.cc
|
||||
src/model/CreateRepositoryResult.cc
|
||||
src/model/CreateRepositoryDeployKeyRequest.cc
|
||||
@@ -164,6 +188,12 @@ set(codeup_src
|
||||
src/model/GetFileBlobsResult.cc
|
||||
src/model/GetGroupDetailRequest.cc
|
||||
src/model/GetGroupDetailResult.cc
|
||||
src/model/GetMergeRequestApproveStatusRequest.cc
|
||||
src/model/GetMergeRequestApproveStatusResult.cc
|
||||
src/model/GetMergeRequestDetailRequest.cc
|
||||
src/model/GetMergeRequestDetailResult.cc
|
||||
src/model/GetMergeRequestSettingRequest.cc
|
||||
src/model/GetMergeRequestSettingResult.cc
|
||||
src/model/GetProjectMemberRequest.cc
|
||||
src/model/GetProjectMemberResult.cc
|
||||
src/model/GetRepositoryInfoRequest.cc
|
||||
@@ -178,6 +208,8 @@ set(codeup_src
|
||||
src/model/ListGroupRepositoriesResult.cc
|
||||
src/model/ListGroupsRequest.cc
|
||||
src/model/ListGroupsResult.cc
|
||||
src/model/ListMergeRequestCommentsRequest.cc
|
||||
src/model/ListMergeRequestCommentsResult.cc
|
||||
src/model/ListMergeRequestsRequest.cc
|
||||
src/model/ListMergeRequestsResult.cc
|
||||
src/model/ListOrganizationsRequest.cc
|
||||
@@ -186,6 +218,8 @@ set(codeup_src
|
||||
src/model/ListRepositoriesResult.cc
|
||||
src/model/ListRepositoryBranchesRequest.cc
|
||||
src/model/ListRepositoryBranchesResult.cc
|
||||
src/model/ListRepositoryCommitsRequest.cc
|
||||
src/model/ListRepositoryCommitsResult.cc
|
||||
src/model/ListRepositoryMemberRequest.cc
|
||||
src/model/ListRepositoryMemberResult.cc
|
||||
src/model/ListRepositoryTagsRequest.cc
|
||||
@@ -200,6 +234,12 @@ set(codeup_src
|
||||
src/model/UpdateFileResult.cc
|
||||
src/model/UpdateGroupMemberRequest.cc
|
||||
src/model/UpdateGroupMemberResult.cc
|
||||
src/model/UpdateMergeRequestRequest.cc
|
||||
src/model/UpdateMergeRequestResult.cc
|
||||
src/model/UpdateMergeRequestCommentRequest.cc
|
||||
src/model/UpdateMergeRequestCommentResult.cc
|
||||
src/model/UpdateMergeRequestSettingRequest.cc
|
||||
src/model/UpdateMergeRequestSettingResult.cc
|
||||
src/model/UpdateRepositoryRequest.cc
|
||||
src/model/UpdateRepositoryResult.cc
|
||||
src/model/UpdateRepositoryMemberRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "CodeupExport.h"
|
||||
#include "model/AcceptMergeRequestRequest.h"
|
||||
#include "model/AcceptMergeRequestResult.h"
|
||||
#include "model/AddGroupMemberRequest.h"
|
||||
#include "model/AddGroupMemberResult.h"
|
||||
#include "model/AddRepositoryMemberRequest.h"
|
||||
@@ -34,6 +36,8 @@
|
||||
#include "model/CreateFileResult.h"
|
||||
#include "model/CreateMergeRequestRequest.h"
|
||||
#include "model/CreateMergeRequestResult.h"
|
||||
#include "model/CreateMergeRequestCommentRequest.h"
|
||||
#include "model/CreateMergeRequestCommentResult.h"
|
||||
#include "model/CreateRepositoryRequest.h"
|
||||
#include "model/CreateRepositoryResult.h"
|
||||
#include "model/CreateRepositoryDeployKeyRequest.h"
|
||||
@@ -72,6 +76,12 @@
|
||||
#include "model/GetFileBlobsResult.h"
|
||||
#include "model/GetGroupDetailRequest.h"
|
||||
#include "model/GetGroupDetailResult.h"
|
||||
#include "model/GetMergeRequestApproveStatusRequest.h"
|
||||
#include "model/GetMergeRequestApproveStatusResult.h"
|
||||
#include "model/GetMergeRequestDetailRequest.h"
|
||||
#include "model/GetMergeRequestDetailResult.h"
|
||||
#include "model/GetMergeRequestSettingRequest.h"
|
||||
#include "model/GetMergeRequestSettingResult.h"
|
||||
#include "model/GetProjectMemberRequest.h"
|
||||
#include "model/GetProjectMemberResult.h"
|
||||
#include "model/GetRepositoryInfoRequest.h"
|
||||
@@ -86,6 +96,8 @@
|
||||
#include "model/ListGroupRepositoriesResult.h"
|
||||
#include "model/ListGroupsRequest.h"
|
||||
#include "model/ListGroupsResult.h"
|
||||
#include "model/ListMergeRequestCommentsRequest.h"
|
||||
#include "model/ListMergeRequestCommentsResult.h"
|
||||
#include "model/ListMergeRequestsRequest.h"
|
||||
#include "model/ListMergeRequestsResult.h"
|
||||
#include "model/ListOrganizationsRequest.h"
|
||||
@@ -94,6 +106,8 @@
|
||||
#include "model/ListRepositoriesResult.h"
|
||||
#include "model/ListRepositoryBranchesRequest.h"
|
||||
#include "model/ListRepositoryBranchesResult.h"
|
||||
#include "model/ListRepositoryCommitsRequest.h"
|
||||
#include "model/ListRepositoryCommitsResult.h"
|
||||
#include "model/ListRepositoryMemberRequest.h"
|
||||
#include "model/ListRepositoryMemberResult.h"
|
||||
#include "model/ListRepositoryTagsRequest.h"
|
||||
@@ -108,6 +122,12 @@
|
||||
#include "model/UpdateFileResult.h"
|
||||
#include "model/UpdateGroupMemberRequest.h"
|
||||
#include "model/UpdateGroupMemberResult.h"
|
||||
#include "model/UpdateMergeRequestRequest.h"
|
||||
#include "model/UpdateMergeRequestResult.h"
|
||||
#include "model/UpdateMergeRequestCommentRequest.h"
|
||||
#include "model/UpdateMergeRequestCommentResult.h"
|
||||
#include "model/UpdateMergeRequestSettingRequest.h"
|
||||
#include "model/UpdateMergeRequestSettingResult.h"
|
||||
#include "model/UpdateRepositoryRequest.h"
|
||||
#include "model/UpdateRepositoryResult.h"
|
||||
#include "model/UpdateRepositoryMemberRequest.h"
|
||||
@@ -121,6 +141,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CODEUP_EXPORT CodeupClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AcceptMergeRequestResult> AcceptMergeRequestOutcome;
|
||||
typedef std::future<AcceptMergeRequestOutcome> AcceptMergeRequestOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::AcceptMergeRequestRequest&, const AcceptMergeRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AcceptMergeRequestAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddGroupMemberResult> AddGroupMemberOutcome;
|
||||
typedef std::future<AddGroupMemberOutcome> AddGroupMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::AddGroupMemberRequest&, const AddGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGroupMemberAsyncHandler;
|
||||
@@ -139,6 +162,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMergeRequestResult> CreateMergeRequestOutcome;
|
||||
typedef std::future<CreateMergeRequestOutcome> CreateMergeRequestOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::CreateMergeRequestRequest&, const CreateMergeRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMergeRequestAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMergeRequestCommentResult> CreateMergeRequestCommentOutcome;
|
||||
typedef std::future<CreateMergeRequestCommentOutcome> CreateMergeRequestCommentOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::CreateMergeRequestCommentRequest&, const CreateMergeRequestCommentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMergeRequestCommentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRepositoryResult> CreateRepositoryOutcome;
|
||||
typedef std::future<CreateRepositoryOutcome> CreateRepositoryOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::CreateRepositoryRequest&, const CreateRepositoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRepositoryAsyncHandler;
|
||||
@@ -196,6 +222,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetGroupDetailResult> GetGroupDetailOutcome;
|
||||
typedef std::future<GetGroupDetailOutcome> GetGroupDetailOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetGroupDetailRequest&, const GetGroupDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetGroupDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMergeRequestApproveStatusResult> GetMergeRequestApproveStatusOutcome;
|
||||
typedef std::future<GetMergeRequestApproveStatusOutcome> GetMergeRequestApproveStatusOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetMergeRequestApproveStatusRequest&, const GetMergeRequestApproveStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMergeRequestApproveStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMergeRequestDetailResult> GetMergeRequestDetailOutcome;
|
||||
typedef std::future<GetMergeRequestDetailOutcome> GetMergeRequestDetailOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetMergeRequestDetailRequest&, const GetMergeRequestDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMergeRequestDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMergeRequestSettingResult> GetMergeRequestSettingOutcome;
|
||||
typedef std::future<GetMergeRequestSettingOutcome> GetMergeRequestSettingOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetMergeRequestSettingRequest&, const GetMergeRequestSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMergeRequestSettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectMemberResult> GetProjectMemberOutcome;
|
||||
typedef std::future<GetProjectMemberOutcome> GetProjectMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetProjectMemberRequest&, const GetProjectMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectMemberAsyncHandler;
|
||||
@@ -217,6 +252,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
|
||||
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMergeRequestCommentsResult> ListMergeRequestCommentsOutcome;
|
||||
typedef std::future<ListMergeRequestCommentsOutcome> ListMergeRequestCommentsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListMergeRequestCommentsRequest&, const ListMergeRequestCommentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMergeRequestCommentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMergeRequestsResult> ListMergeRequestsOutcome;
|
||||
typedef std::future<ListMergeRequestsOutcome> ListMergeRequestsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListMergeRequestsRequest&, const ListMergeRequestsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMergeRequestsAsyncHandler;
|
||||
@@ -229,6 +267,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListRepositoryBranchesResult> ListRepositoryBranchesOutcome;
|
||||
typedef std::future<ListRepositoryBranchesOutcome> ListRepositoryBranchesOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryBranchesRequest&, const ListRepositoryBranchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryBranchesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryCommitsResult> ListRepositoryCommitsOutcome;
|
||||
typedef std::future<ListRepositoryCommitsOutcome> ListRepositoryCommitsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryCommitsRequest&, const ListRepositoryCommitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryCommitsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryMemberResult> ListRepositoryMemberOutcome;
|
||||
typedef std::future<ListRepositoryMemberOutcome> ListRepositoryMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryMemberRequest&, const ListRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryMemberAsyncHandler;
|
||||
@@ -250,6 +291,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateGroupMemberResult> UpdateGroupMemberOutcome;
|
||||
typedef std::future<UpdateGroupMemberOutcome> UpdateGroupMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::UpdateGroupMemberRequest&, const UpdateGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGroupMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMergeRequestResult> UpdateMergeRequestOutcome;
|
||||
typedef std::future<UpdateMergeRequestOutcome> UpdateMergeRequestOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::UpdateMergeRequestRequest&, const UpdateMergeRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMergeRequestAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMergeRequestCommentResult> UpdateMergeRequestCommentOutcome;
|
||||
typedef std::future<UpdateMergeRequestCommentOutcome> UpdateMergeRequestCommentOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::UpdateMergeRequestCommentRequest&, const UpdateMergeRequestCommentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMergeRequestCommentAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMergeRequestSettingResult> UpdateMergeRequestSettingOutcome;
|
||||
typedef std::future<UpdateMergeRequestSettingOutcome> UpdateMergeRequestSettingOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::UpdateMergeRequestSettingRequest&, const UpdateMergeRequestSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMergeRequestSettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRepositoryResult> UpdateRepositoryOutcome;
|
||||
typedef std::future<UpdateRepositoryOutcome> UpdateRepositoryOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::UpdateRepositoryRequest&, const UpdateRepositoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRepositoryAsyncHandler;
|
||||
@@ -261,6 +311,9 @@ namespace AlibabaCloud
|
||||
CodeupClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CodeupClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CodeupClient();
|
||||
AcceptMergeRequestOutcome acceptMergeRequest(const Model::AcceptMergeRequestRequest &request)const;
|
||||
void acceptMergeRequestAsync(const Model::AcceptMergeRequestRequest& request, const AcceptMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AcceptMergeRequestOutcomeCallable acceptMergeRequestCallable(const Model::AcceptMergeRequestRequest& request) const;
|
||||
AddGroupMemberOutcome addGroupMember(const Model::AddGroupMemberRequest &request)const;
|
||||
void addGroupMemberAsync(const Model::AddGroupMemberRequest& request, const AddGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddGroupMemberOutcomeCallable addGroupMemberCallable(const Model::AddGroupMemberRequest& request) const;
|
||||
@@ -279,6 +332,9 @@ namespace AlibabaCloud
|
||||
CreateMergeRequestOutcome createMergeRequest(const Model::CreateMergeRequestRequest &request)const;
|
||||
void createMergeRequestAsync(const Model::CreateMergeRequestRequest& request, const CreateMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMergeRequestOutcomeCallable createMergeRequestCallable(const Model::CreateMergeRequestRequest& request) const;
|
||||
CreateMergeRequestCommentOutcome createMergeRequestComment(const Model::CreateMergeRequestCommentRequest &request)const;
|
||||
void createMergeRequestCommentAsync(const Model::CreateMergeRequestCommentRequest& request, const CreateMergeRequestCommentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMergeRequestCommentOutcomeCallable createMergeRequestCommentCallable(const Model::CreateMergeRequestCommentRequest& request) const;
|
||||
CreateRepositoryOutcome createRepository(const Model::CreateRepositoryRequest &request)const;
|
||||
void createRepositoryAsync(const Model::CreateRepositoryRequest& request, const CreateRepositoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRepositoryOutcomeCallable createRepositoryCallable(const Model::CreateRepositoryRequest& request) const;
|
||||
@@ -336,6 +392,15 @@ namespace AlibabaCloud
|
||||
GetGroupDetailOutcome getGroupDetail(const Model::GetGroupDetailRequest &request)const;
|
||||
void getGroupDetailAsync(const Model::GetGroupDetailRequest& request, const GetGroupDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetGroupDetailOutcomeCallable getGroupDetailCallable(const Model::GetGroupDetailRequest& request) const;
|
||||
GetMergeRequestApproveStatusOutcome getMergeRequestApproveStatus(const Model::GetMergeRequestApproveStatusRequest &request)const;
|
||||
void getMergeRequestApproveStatusAsync(const Model::GetMergeRequestApproveStatusRequest& request, const GetMergeRequestApproveStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMergeRequestApproveStatusOutcomeCallable getMergeRequestApproveStatusCallable(const Model::GetMergeRequestApproveStatusRequest& request) const;
|
||||
GetMergeRequestDetailOutcome getMergeRequestDetail(const Model::GetMergeRequestDetailRequest &request)const;
|
||||
void getMergeRequestDetailAsync(const Model::GetMergeRequestDetailRequest& request, const GetMergeRequestDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMergeRequestDetailOutcomeCallable getMergeRequestDetailCallable(const Model::GetMergeRequestDetailRequest& request) const;
|
||||
GetMergeRequestSettingOutcome getMergeRequestSetting(const Model::GetMergeRequestSettingRequest &request)const;
|
||||
void getMergeRequestSettingAsync(const Model::GetMergeRequestSettingRequest& request, const GetMergeRequestSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMergeRequestSettingOutcomeCallable getMergeRequestSettingCallable(const Model::GetMergeRequestSettingRequest& request) const;
|
||||
GetProjectMemberOutcome getProjectMember(const Model::GetProjectMemberRequest &request)const;
|
||||
void getProjectMemberAsync(const Model::GetProjectMemberRequest& request, const GetProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectMemberOutcomeCallable getProjectMemberCallable(const Model::GetProjectMemberRequest& request) const;
|
||||
@@ -357,6 +422,9 @@ namespace AlibabaCloud
|
||||
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
|
||||
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
|
||||
ListMergeRequestCommentsOutcome listMergeRequestComments(const Model::ListMergeRequestCommentsRequest &request)const;
|
||||
void listMergeRequestCommentsAsync(const Model::ListMergeRequestCommentsRequest& request, const ListMergeRequestCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMergeRequestCommentsOutcomeCallable listMergeRequestCommentsCallable(const Model::ListMergeRequestCommentsRequest& request) const;
|
||||
ListMergeRequestsOutcome listMergeRequests(const Model::ListMergeRequestsRequest &request)const;
|
||||
void listMergeRequestsAsync(const Model::ListMergeRequestsRequest& request, const ListMergeRequestsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMergeRequestsOutcomeCallable listMergeRequestsCallable(const Model::ListMergeRequestsRequest& request) const;
|
||||
@@ -369,6 +437,9 @@ namespace AlibabaCloud
|
||||
ListRepositoryBranchesOutcome listRepositoryBranches(const Model::ListRepositoryBranchesRequest &request)const;
|
||||
void listRepositoryBranchesAsync(const Model::ListRepositoryBranchesRequest& request, const ListRepositoryBranchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryBranchesOutcomeCallable listRepositoryBranchesCallable(const Model::ListRepositoryBranchesRequest& request) const;
|
||||
ListRepositoryCommitsOutcome listRepositoryCommits(const Model::ListRepositoryCommitsRequest &request)const;
|
||||
void listRepositoryCommitsAsync(const Model::ListRepositoryCommitsRequest& request, const ListRepositoryCommitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryCommitsOutcomeCallable listRepositoryCommitsCallable(const Model::ListRepositoryCommitsRequest& request) const;
|
||||
ListRepositoryMemberOutcome listRepositoryMember(const Model::ListRepositoryMemberRequest &request)const;
|
||||
void listRepositoryMemberAsync(const Model::ListRepositoryMemberRequest& request, const ListRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryMemberOutcomeCallable listRepositoryMemberCallable(const Model::ListRepositoryMemberRequest& request) const;
|
||||
@@ -390,6 +461,15 @@ namespace AlibabaCloud
|
||||
UpdateGroupMemberOutcome updateGroupMember(const Model::UpdateGroupMemberRequest &request)const;
|
||||
void updateGroupMemberAsync(const Model::UpdateGroupMemberRequest& request, const UpdateGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateGroupMemberOutcomeCallable updateGroupMemberCallable(const Model::UpdateGroupMemberRequest& request) const;
|
||||
UpdateMergeRequestOutcome updateMergeRequest(const Model::UpdateMergeRequestRequest &request)const;
|
||||
void updateMergeRequestAsync(const Model::UpdateMergeRequestRequest& request, const UpdateMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMergeRequestOutcomeCallable updateMergeRequestCallable(const Model::UpdateMergeRequestRequest& request) const;
|
||||
UpdateMergeRequestCommentOutcome updateMergeRequestComment(const Model::UpdateMergeRequestCommentRequest &request)const;
|
||||
void updateMergeRequestCommentAsync(const Model::UpdateMergeRequestCommentRequest& request, const UpdateMergeRequestCommentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMergeRequestCommentOutcomeCallable updateMergeRequestCommentCallable(const Model::UpdateMergeRequestCommentRequest& request) const;
|
||||
UpdateMergeRequestSettingOutcome updateMergeRequestSetting(const Model::UpdateMergeRequestSettingRequest &request)const;
|
||||
void updateMergeRequestSettingAsync(const Model::UpdateMergeRequestSettingRequest& request, const UpdateMergeRequestSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMergeRequestSettingOutcomeCallable updateMergeRequestSettingCallable(const Model::UpdateMergeRequestSettingRequest& request) const;
|
||||
UpdateRepositoryOutcome updateRepository(const Model::UpdateRepositoryRequest &request)const;
|
||||
void updateRepositoryAsync(const Model::UpdateRepositoryRequest& request, const UpdateRepositoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRepositoryOutcomeCallable updateRepositoryCallable(const Model::UpdateRepositoryRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_ACCEPTMERGEREQUESTREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_ACCEPTMERGEREQUESTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT AcceptMergeRequestRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AcceptMergeRequestRequest();
|
||||
~AcceptMergeRequestRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_ACCEPTMERGEREQUESTREQUEST_H_
|
||||
@@ -0,0 +1,133 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_ACCEPTMERGEREQUESTRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_ACCEPTMERGEREQUESTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT AcceptMergeRequestResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
struct ApproveCheckResult
|
||||
{
|
||||
struct SatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::string checkName;
|
||||
std::vector<std::string> satisfiedItems;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<std::string> unsatisfiedItems;
|
||||
std::vector<SatisfiedCheckResultsItem::ExtraUsersItem> extraUsers;
|
||||
};
|
||||
struct UnsatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem4
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<std::string> satisfiedItems1;
|
||||
std::string checkName;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<UnsatisfiedCheckResultsItem::ExtraUsersItem4> extraUsers3;
|
||||
std::vector<std::string> unsatisfiedItems2;
|
||||
};
|
||||
std::vector<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
|
||||
std::vector<SatisfiedCheckResultsItem> satisfiedCheckResults;
|
||||
std::string totalCheckResult;
|
||||
};
|
||||
struct Author
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct AssigneeListItem
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
ApproveCheckResult approveCheckResult;
|
||||
int behindCommitCount;
|
||||
std::string description;
|
||||
int aheadCommitCount;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
std::string mergeError;
|
||||
std::string nameWithNamespace;
|
||||
std::string title;
|
||||
std::string webUrl;
|
||||
std::string mergedRevision;
|
||||
std::string updatedAt;
|
||||
std::string acceptedRevision;
|
||||
std::string state;
|
||||
std::vector<AssigneeListItem> assigneeList;
|
||||
std::string mergeStatus;
|
||||
std::string sourceBranch;
|
||||
Author author;
|
||||
long id;
|
||||
std::string mergeType;
|
||||
std::string targetBranch;
|
||||
};
|
||||
|
||||
|
||||
AcceptMergeRequestResult();
|
||||
explicit AcceptMergeRequestResult(const std::string &payload);
|
||||
~AcceptMergeRequestResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_ACCEPTMERGEREQUESTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT CreateMergeRequestCommentRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMergeRequestCommentRequest();
|
||||
~CreateMergeRequestCommentRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
@@ -14,65 +14,69 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaCategoryResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT CreateMergeRequestCommentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct Result
|
||||
{
|
||||
struct DataEntityListItem
|
||||
struct Author
|
||||
{
|
||||
long categoryId;
|
||||
std::string comment;
|
||||
long modifiedTime;
|
||||
std::string ownerId;
|
||||
std::string lastOperatorId;
|
||||
long createTime;
|
||||
long parentCategoryId;
|
||||
int depth;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
long totalCount;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
std::vector<DataEntityListItem> dataEntityList;
|
||||
bool isDraft;
|
||||
std::string path;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
std::string updatedAt;
|
||||
long line;
|
||||
std::string side;
|
||||
int closed;
|
||||
std::string note;
|
||||
long parentNoteId;
|
||||
Author author;
|
||||
long id;
|
||||
bool outDated;
|
||||
std::string rangeContext;
|
||||
};
|
||||
|
||||
|
||||
GetMetaCategoryResult();
|
||||
explicit GetMetaCategoryResult(const std::string &payload);
|
||||
~GetMetaCategoryResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
CreateMergeRequestCommentResult();
|
||||
explicit CreateMergeRequestCommentResult(const std::string &payload);
|
||||
~CreateMergeRequestCommentResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
@@ -14,41 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestApproveStatusRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectMembersRequest();
|
||||
~ListProjectMembersRequest();
|
||||
GetMergeRequestApproveStatusRequest();
|
||||
~GetMergeRequestApproveStatusRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSREQUEST_H_
|
||||
@@ -14,50 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestApproveStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct Result
|
||||
{
|
||||
long categoryId;
|
||||
std::string approveStatus;
|
||||
std::string message;
|
||||
};
|
||||
|
||||
|
||||
CreateMetaCategoryResult();
|
||||
explicit CreateMetaCategoryResult(const std::string &payload);
|
||||
~CreateMetaCategoryResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
GetMergeRequestApproveStatusResult();
|
||||
explicit GetMergeRequestApproveStatusResult(const std::string &payload);
|
||||
~GetMergeRequestApproveStatusResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTAPPROVESTATUSRESULT_H_
|
||||
@@ -14,44 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestDetailRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTableRequest();
|
||||
~DeleteTableRequest();
|
||||
GetMergeRequestDetailRequest();
|
||||
~GetMergeRequestDetailRequest();
|
||||
|
||||
int getEnvType()const;
|
||||
void setEnvType(int envType);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getAppGuid()const;
|
||||
void setAppGuid(const std::string& appGuid);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
int envType_;
|
||||
std::string tableName_;
|
||||
std::string appGuid_;
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTDETAILREQUEST_H_
|
||||
@@ -0,0 +1,136 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_GETMERGEREQUESTDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
struct ApproveCheckResult
|
||||
{
|
||||
struct SatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::string checkName;
|
||||
std::vector<std::string> satisfiedItems;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<std::string> unsatisfiedItems;
|
||||
std::vector<SatisfiedCheckResultsItem::ExtraUsersItem> extraUsers;
|
||||
};
|
||||
struct UnsatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem4
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<std::string> satisfiedItems1;
|
||||
std::string checkName;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<UnsatisfiedCheckResultsItem::ExtraUsersItem4> extraUsers3;
|
||||
std::vector<std::string> unsatisfiedItems2;
|
||||
};
|
||||
std::vector<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
|
||||
std::vector<SatisfiedCheckResultsItem> satisfiedCheckResults;
|
||||
std::string totalCheckResult;
|
||||
};
|
||||
struct Author
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct AssigneeListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string externUserId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
ApproveCheckResult approveCheckResult;
|
||||
int behindCommitCount;
|
||||
bool isSupportMerge;
|
||||
std::string description;
|
||||
int aheadCommitCount;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
std::string mergeError;
|
||||
std::string nameWithNamespace;
|
||||
std::string title;
|
||||
std::string webUrl;
|
||||
std::string mergedRevision;
|
||||
std::string updatedAt;
|
||||
std::string acceptedRevision;
|
||||
std::string state;
|
||||
std::vector<AssigneeListItem> assigneeList;
|
||||
std::string mergeStatus;
|
||||
std::string sourceBranch;
|
||||
Author author;
|
||||
long id;
|
||||
std::string mergeType;
|
||||
std::string targetBranch;
|
||||
};
|
||||
|
||||
|
||||
GetMergeRequestDetailResult();
|
||||
explicit GetMergeRequestDetailResult(const std::string &payload);
|
||||
~GetMergeRequestDetailResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTDETAILRESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestSettingRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFolderRequest();
|
||||
~CreateFolderRequest();
|
||||
GetMergeRequestSettingRequest();
|
||||
~GetMergeRequestSettingRequest();
|
||||
|
||||
std::string getFolderPath()const;
|
||||
void setFolderPath(const std::string& folderPath);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getProjectIdentifier()const;
|
||||
void setProjectIdentifier(const std::string& projectIdentifier);
|
||||
|
||||
private:
|
||||
std::string folderPath_;
|
||||
std::string organizationId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
std::string projectIdentifier_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGREQUEST_H_
|
||||
@@ -14,46 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFolderResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetMergeRequestSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
bool isEnableSmartCodeReview;
|
||||
std::vector<std::string> mergeTypes;
|
||||
};
|
||||
|
||||
|
||||
CreateFolderResult();
|
||||
explicit CreateFolderResult(const std::string &payload);
|
||||
~CreateFolderResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
GetMergeRequestSettingResult();
|
||||
explicit GetMergeRequestSettingResult(const std::string &payload);
|
||||
~GetMergeRequestSettingResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETMERGEREQUESTSETTINGRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListMergeRequestCommentsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListMergeRequestCommentsRequest();
|
||||
~ListMergeRequestCommentsRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getFromCommit()const;
|
||||
void setFromCommit(const std::string& fromCommit);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
std::string getToCommit()const;
|
||||
void setToCommit(const std::string& toCommit);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string fromCommit_;
|
||||
std::string accessToken_;
|
||||
std::string toCommit_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSREQUEST_H_
|
||||
@@ -14,61 +14,71 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListMergeRequestCommentsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct ResultItem
|
||||
{
|
||||
struct ThemeListItem
|
||||
struct Author
|
||||
{
|
||||
long parentId;
|
||||
long themeId;
|
||||
long projectId;
|
||||
int level;
|
||||
std::string creator;
|
||||
long createTimeStamp;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<ThemeListItem> themeList;
|
||||
long totalCount;
|
||||
bool isDraft;
|
||||
std::string path;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
std::string updatedAt;
|
||||
long line;
|
||||
std::string side;
|
||||
int closed;
|
||||
std::string note;
|
||||
long parentNoteId;
|
||||
Author author;
|
||||
long id;
|
||||
bool outDated;
|
||||
std::string rangeContext;
|
||||
};
|
||||
|
||||
|
||||
ListTableThemeResult();
|
||||
explicit ListTableThemeResult(const std::string &payload);
|
||||
~ListTableThemeResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
ListMergeRequestCommentsResult();
|
||||
explicit ListMergeRequestCommentsResult(const std::string &payload);
|
||||
~ListMergeRequestCommentsResult();
|
||||
long getTotal()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
long total_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTMERGEREQUESTCOMMENTSRESULT_H_
|
||||
@@ -81,13 +81,16 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct AssigneeListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string externUserId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
ApproveCheckResult approveCheckResult;
|
||||
int behindCommitCount;
|
||||
bool isSupportMerge;
|
||||
std::string description;
|
||||
int aheadCommitCount;
|
||||
std::string createdAt;
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_LISTREPOSITORYCOMMITSREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYCOMMITSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryCommitsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRepositoryCommitsRequest();
|
||||
~ListRepositoryCommitsRequest();
|
||||
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
bool getShowSignature()const;
|
||||
void setShowSignature(bool showSignature);
|
||||
std::string getRefName()const;
|
||||
void setRefName(const std::string& refName);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getSearch()const;
|
||||
void setSearch(const std::string& search);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPage()const;
|
||||
void setPage(long page);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string accessToken_;
|
||||
bool showSignature_;
|
||||
std::string refName_;
|
||||
std::string organizationId_;
|
||||
std::string path_;
|
||||
std::string search_;
|
||||
long pageSize_;
|
||||
long page_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYCOMMITSREQUEST_H_
|
||||
@@ -14,55 +14,67 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYCOMMITSRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYCOMMITSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryCommitsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct ResultItem
|
||||
{
|
||||
std::string owner;
|
||||
std::string description;
|
||||
std::string businessName;
|
||||
std::string useType;
|
||||
std::string projectId;
|
||||
long businessId;
|
||||
struct Signature
|
||||
{
|
||||
std::string verificationStatus;
|
||||
std::string gpgKeyId;
|
||||
};
|
||||
std::string authorName;
|
||||
std::string message;
|
||||
std::string createdAt;
|
||||
std::string title;
|
||||
std::string authorEmail;
|
||||
std::string authorDate;
|
||||
std::string committedDate;
|
||||
std::string committerEmail;
|
||||
std::vector<std::string> parentIds;
|
||||
Signature signature;
|
||||
std::string shortId;
|
||||
std::string id;
|
||||
std::string committerName;
|
||||
};
|
||||
|
||||
|
||||
GetBusinessResult();
|
||||
explicit GetBusinessResult(const std::string &payload);
|
||||
~GetBusinessResult();
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
ListRepositoryCommitsResult();
|
||||
explicit ListRepositoryCommitsResult(const std::string &payload);
|
||||
~ListRepositoryCommitsResult();
|
||||
long getTotal()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
long total_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYCOMMITSRESULT_H_
|
||||
@@ -36,10 +36,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string username;
|
||||
std::string state;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
int accessLevel;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestCommentRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateMergeRequestCommentRequest();
|
||||
~UpdateMergeRequestCommentRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getNoteId()const;
|
||||
void setNoteId(long noteId);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long noteId_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTREQUEST_H_
|
||||
@@ -14,46 +14,48 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestCommentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
bool result;
|
||||
};
|
||||
|
||||
|
||||
RestartInstanceResult();
|
||||
explicit RestartInstanceResult(const std::string &payload);
|
||||
~RestartInstanceResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
UpdateMergeRequestCommentResult();
|
||||
explicit UpdateMergeRequestCommentResult(const std::string &payload);
|
||||
~UpdateMergeRequestCommentResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTCOMMENTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_UPDATEMERGEREQUESTREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateMergeRequestRequest();
|
||||
~UpdateMergeRequestRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getMergeRequestId()const;
|
||||
void setMergeRequestId(long mergeRequestId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long mergeRequestId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTREQUEST_H_
|
||||
@@ -0,0 +1,133 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_UPDATEMERGEREQUESTRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
struct ApproveCheckResult
|
||||
{
|
||||
struct SatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::string checkName;
|
||||
std::vector<std::string> satisfiedItems;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<std::string> unsatisfiedItems;
|
||||
std::vector<SatisfiedCheckResultsItem::ExtraUsersItem> extraUsers;
|
||||
};
|
||||
struct UnsatisfiedCheckResultsItem
|
||||
{
|
||||
struct ExtraUsersItem4
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<std::string> satisfiedItems1;
|
||||
std::string checkName;
|
||||
std::string checkType;
|
||||
std::string checkStatus;
|
||||
std::vector<UnsatisfiedCheckResultsItem::ExtraUsersItem4> extraUsers3;
|
||||
std::vector<std::string> unsatisfiedItems2;
|
||||
};
|
||||
std::vector<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
|
||||
std::vector<SatisfiedCheckResultsItem> satisfiedCheckResults;
|
||||
std::string totalCheckResult;
|
||||
};
|
||||
struct Author
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct AssigneeListItem
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string externUserId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
ApproveCheckResult approveCheckResult;
|
||||
int behindCommitCount;
|
||||
std::string description;
|
||||
int aheadCommitCount;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
std::string mergeError;
|
||||
std::string nameWithNamespace;
|
||||
std::string title;
|
||||
std::string webUrl;
|
||||
std::string mergedRevision;
|
||||
std::string updatedAt;
|
||||
std::string acceptedRevision;
|
||||
std::string state;
|
||||
std::vector<AssigneeListItem> assigneeList;
|
||||
std::string mergeStatus;
|
||||
std::string sourceBranch;
|
||||
Author author;
|
||||
long id;
|
||||
std::string mergeType;
|
||||
std::string targetBranch;
|
||||
};
|
||||
|
||||
|
||||
UpdateMergeRequestResult();
|
||||
explicit UpdateMergeRequestResult(const std::string &payload);
|
||||
~UpdateMergeRequestResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTRESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AbolishDataServiceApiRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestSettingRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AbolishDataServiceApiRequest();
|
||||
~AbolishDataServiceApiRequest();
|
||||
UpdateMergeRequestSettingRequest();
|
||||
~UpdateMergeRequestSettingRequest();
|
||||
|
||||
long getTenantId()const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
long getApiId()const;
|
||||
void setApiId(long apiId);
|
||||
|
||||
private:
|
||||
long tenantId_;
|
||||
std::string organizationId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
long apiId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGREQUEST_H_
|
||||
@@ -14,46 +14,48 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SuspendInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT UpdateMergeRequestSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
bool result;
|
||||
};
|
||||
|
||||
|
||||
SuspendInstanceResult();
|
||||
explicit SuspendInstanceResult(const std::string &payload);
|
||||
~SuspendInstanceResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
UpdateMergeRequestSettingResult();
|
||||
explicit UpdateMergeRequestSettingResult(const std::string &payload);
|
||||
~UpdateMergeRequestSettingResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_UPDATEMERGEREQUESTSETTINGRESULT_H_
|
||||
@@ -51,6 +51,42 @@ CodeupClient::CodeupClient(const std::string & accessKeyId, const std::string &
|
||||
CodeupClient::~CodeupClient()
|
||||
{}
|
||||
|
||||
CodeupClient::AcceptMergeRequestOutcome CodeupClient::acceptMergeRequest(const AcceptMergeRequestRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AcceptMergeRequestOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AcceptMergeRequestOutcome(AcceptMergeRequestResult(outcome.result()));
|
||||
else
|
||||
return AcceptMergeRequestOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::acceptMergeRequestAsync(const AcceptMergeRequestRequest& request, const AcceptMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, acceptMergeRequest(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::AcceptMergeRequestOutcomeCallable CodeupClient::acceptMergeRequestCallable(const AcceptMergeRequestRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AcceptMergeRequestOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->acceptMergeRequest(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::AddGroupMemberOutcome CodeupClient::addGroupMember(const AddGroupMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +303,42 @@ CodeupClient::CreateMergeRequestOutcomeCallable CodeupClient::createMergeRequest
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::CreateMergeRequestCommentOutcome CodeupClient::createMergeRequestComment(const CreateMergeRequestCommentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMergeRequestCommentOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMergeRequestCommentOutcome(CreateMergeRequestCommentResult(outcome.result()));
|
||||
else
|
||||
return CreateMergeRequestCommentOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::createMergeRequestCommentAsync(const CreateMergeRequestCommentRequest& request, const CreateMergeRequestCommentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMergeRequestComment(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::CreateMergeRequestCommentOutcomeCallable CodeupClient::createMergeRequestCommentCallable(const CreateMergeRequestCommentRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMergeRequestCommentOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMergeRequestComment(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::CreateRepositoryOutcome CodeupClient::createRepository(const CreateRepositoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1023,114 @@ CodeupClient::GetGroupDetailOutcomeCallable CodeupClient::getGroupDetailCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestApproveStatusOutcome CodeupClient::getMergeRequestApproveStatus(const GetMergeRequestApproveStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMergeRequestApproveStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMergeRequestApproveStatusOutcome(GetMergeRequestApproveStatusResult(outcome.result()));
|
||||
else
|
||||
return GetMergeRequestApproveStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::getMergeRequestApproveStatusAsync(const GetMergeRequestApproveStatusRequest& request, const GetMergeRequestApproveStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMergeRequestApproveStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestApproveStatusOutcomeCallable CodeupClient::getMergeRequestApproveStatusCallable(const GetMergeRequestApproveStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMergeRequestApproveStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMergeRequestApproveStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestDetailOutcome CodeupClient::getMergeRequestDetail(const GetMergeRequestDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMergeRequestDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMergeRequestDetailOutcome(GetMergeRequestDetailResult(outcome.result()));
|
||||
else
|
||||
return GetMergeRequestDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::getMergeRequestDetailAsync(const GetMergeRequestDetailRequest& request, const GetMergeRequestDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMergeRequestDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestDetailOutcomeCallable CodeupClient::getMergeRequestDetailCallable(const GetMergeRequestDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMergeRequestDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMergeRequestDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestSettingOutcome CodeupClient::getMergeRequestSetting(const GetMergeRequestSettingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMergeRequestSettingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMergeRequestSettingOutcome(GetMergeRequestSettingResult(outcome.result()));
|
||||
else
|
||||
return GetMergeRequestSettingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::getMergeRequestSettingAsync(const GetMergeRequestSettingRequest& request, const GetMergeRequestSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMergeRequestSetting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::GetMergeRequestSettingOutcomeCallable CodeupClient::getMergeRequestSettingCallable(const GetMergeRequestSettingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMergeRequestSettingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMergeRequestSetting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetProjectMemberOutcome CodeupClient::getProjectMember(const GetProjectMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1383,42 @@ CodeupClient::ListGroupsOutcomeCallable CodeupClient::listGroupsCallable(const L
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListMergeRequestCommentsOutcome CodeupClient::listMergeRequestComments(const ListMergeRequestCommentsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMergeRequestCommentsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMergeRequestCommentsOutcome(ListMergeRequestCommentsResult(outcome.result()));
|
||||
else
|
||||
return ListMergeRequestCommentsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listMergeRequestCommentsAsync(const ListMergeRequestCommentsRequest& request, const ListMergeRequestCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMergeRequestComments(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListMergeRequestCommentsOutcomeCallable CodeupClient::listMergeRequestCommentsCallable(const ListMergeRequestCommentsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMergeRequestCommentsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMergeRequestComments(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListMergeRequestsOutcome CodeupClient::listMergeRequests(const ListMergeRequestsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1563,42 @@ CodeupClient::ListRepositoryBranchesOutcomeCallable CodeupClient::listRepository
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryCommitsOutcome CodeupClient::listRepositoryCommits(const ListRepositoryCommitsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListRepositoryCommitsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListRepositoryCommitsOutcome(ListRepositoryCommitsResult(outcome.result()));
|
||||
else
|
||||
return ListRepositoryCommitsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listRepositoryCommitsAsync(const ListRepositoryCommitsRequest& request, const ListRepositoryCommitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listRepositoryCommits(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryCommitsOutcomeCallable CodeupClient::listRepositoryCommitsCallable(const ListRepositoryCommitsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListRepositoryCommitsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listRepositoryCommits(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryMemberOutcome CodeupClient::listRepositoryMember(const ListRepositoryMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1599,6 +1851,114 @@ CodeupClient::UpdateGroupMemberOutcomeCallable CodeupClient::updateGroupMemberCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestOutcome CodeupClient::updateMergeRequest(const UpdateMergeRequestRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateMergeRequestOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateMergeRequestOutcome(UpdateMergeRequestResult(outcome.result()));
|
||||
else
|
||||
return UpdateMergeRequestOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::updateMergeRequestAsync(const UpdateMergeRequestRequest& request, const UpdateMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateMergeRequest(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestOutcomeCallable CodeupClient::updateMergeRequestCallable(const UpdateMergeRequestRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateMergeRequestOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateMergeRequest(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestCommentOutcome CodeupClient::updateMergeRequestComment(const UpdateMergeRequestCommentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateMergeRequestCommentOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateMergeRequestCommentOutcome(UpdateMergeRequestCommentResult(outcome.result()));
|
||||
else
|
||||
return UpdateMergeRequestCommentOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::updateMergeRequestCommentAsync(const UpdateMergeRequestCommentRequest& request, const UpdateMergeRequestCommentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateMergeRequestComment(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestCommentOutcomeCallable CodeupClient::updateMergeRequestCommentCallable(const UpdateMergeRequestCommentRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateMergeRequestCommentOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateMergeRequestComment(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestSettingOutcome CodeupClient::updateMergeRequestSetting(const UpdateMergeRequestSettingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateMergeRequestSettingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateMergeRequestSettingOutcome(UpdateMergeRequestSettingResult(outcome.result()));
|
||||
else
|
||||
return UpdateMergeRequestSettingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::updateMergeRequestSettingAsync(const UpdateMergeRequestSettingRequest& request, const UpdateMergeRequestSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateMergeRequestSetting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::UpdateMergeRequestSettingOutcomeCallable CodeupClient::updateMergeRequestSettingCallable(const UpdateMergeRequestSettingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateMergeRequestSettingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateMergeRequestSetting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::UpdateRepositoryOutcome CodeupClient::updateRepository(const UpdateRepositoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
74
codeup/src/model/AcceptMergeRequestRequest.cc
Normal file
74
codeup/src/model/AcceptMergeRequestRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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/codeup/model/AcceptMergeRequestRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::AcceptMergeRequestRequest;
|
||||
|
||||
AcceptMergeRequestRequest::AcceptMergeRequestRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/accept");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
AcceptMergeRequestRequest::~AcceptMergeRequestRequest()
|
||||
{}
|
||||
|
||||
std::string AcceptMergeRequestRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void AcceptMergeRequestRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long AcceptMergeRequestRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void AcceptMergeRequestRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string AcceptMergeRequestRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void AcceptMergeRequestRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long AcceptMergeRequestRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void AcceptMergeRequestRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
197
codeup/src/model/AcceptMergeRequestResult.cc
Normal file
197
codeup/src/model/AcceptMergeRequestResult.cc
Normal file
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
* 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/codeup/model/AcceptMergeRequestResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
AcceptMergeRequestResult::AcceptMergeRequestResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AcceptMergeRequestResult::AcceptMergeRequestResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AcceptMergeRequestResult::~AcceptMergeRequestResult()
|
||||
{}
|
||||
|
||||
void AcceptMergeRequestResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["AcceptedRevision"].isNull())
|
||||
result_.acceptedRevision = resultNode["AcceptedRevision"].asString();
|
||||
if(!resultNode["AheadCommitCount"].isNull())
|
||||
result_.aheadCommitCount = std::stoi(resultNode["AheadCommitCount"].asString());
|
||||
if(!resultNode["BehindCommitCount"].isNull())
|
||||
result_.behindCommitCount = std::stoi(resultNode["BehindCommitCount"].asString());
|
||||
if(!resultNode["CreatedAt"].isNull())
|
||||
result_.createdAt = resultNode["CreatedAt"].asString();
|
||||
if(!resultNode["Description"].isNull())
|
||||
result_.description = resultNode["Description"].asString();
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["MergeError"].isNull())
|
||||
result_.mergeError = resultNode["MergeError"].asString();
|
||||
if(!resultNode["MergeStatus"].isNull())
|
||||
result_.mergeStatus = resultNode["MergeStatus"].asString();
|
||||
if(!resultNode["MergeType"].isNull())
|
||||
result_.mergeType = resultNode["MergeType"].asString();
|
||||
if(!resultNode["MergedRevision"].isNull())
|
||||
result_.mergedRevision = resultNode["MergedRevision"].asString();
|
||||
if(!resultNode["NameWithNamespace"].isNull())
|
||||
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
|
||||
if(!resultNode["ProjectId"].isNull())
|
||||
result_.projectId = std::stol(resultNode["ProjectId"].asString());
|
||||
if(!resultNode["SourceBranch"].isNull())
|
||||
result_.sourceBranch = resultNode["SourceBranch"].asString();
|
||||
if(!resultNode["State"].isNull())
|
||||
result_.state = resultNode["State"].asString();
|
||||
if(!resultNode["TargetBranch"].isNull())
|
||||
result_.targetBranch = resultNode["TargetBranch"].asString();
|
||||
if(!resultNode["Title"].isNull())
|
||||
result_.title = resultNode["Title"].asString();
|
||||
if(!resultNode["UpdatedAt"].isNull())
|
||||
result_.updatedAt = resultNode["UpdatedAt"].asString();
|
||||
if(!resultNode["WebUrl"].isNull())
|
||||
result_.webUrl = resultNode["WebUrl"].asString();
|
||||
auto allAssigneeListNode = resultNode["AssigneeList"]["AssigneeListItem"];
|
||||
for (auto resultNodeAssigneeListAssigneeListItem : allAssigneeListNode)
|
||||
{
|
||||
Result::AssigneeListItem assigneeListItemObject;
|
||||
if(!resultNodeAssigneeListAssigneeListItem["AvatarUrl"].isNull())
|
||||
assigneeListItemObject.avatarUrl = resultNodeAssigneeListAssigneeListItem["AvatarUrl"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["ExternUserId"].isNull())
|
||||
assigneeListItemObject.externUserId = resultNodeAssigneeListAssigneeListItem["ExternUserId"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Id"].isNull())
|
||||
assigneeListItemObject.id = resultNodeAssigneeListAssigneeListItem["Id"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Name"].isNull())
|
||||
assigneeListItemObject.name = resultNodeAssigneeListAssigneeListItem["Name"].asString();
|
||||
result_.assigneeList.push_back(assigneeListItemObject);
|
||||
}
|
||||
auto approveCheckResultNode = resultNode["ApproveCheckResult"];
|
||||
if(!approveCheckResultNode["TotalCheckResult"].isNull())
|
||||
result_.approveCheckResult.totalCheckResult = approveCheckResultNode["TotalCheckResult"].asString();
|
||||
auto allSatisfiedCheckResultsNode = approveCheckResultNode["SatisfiedCheckResults"]["SatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem : allSatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem satisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkName = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkType = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsersNode = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsersNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem::ExtraUsersItem extraUsersObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsersObject.avatarUrl = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsersObject.externUserId = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsersObject.id = std::stol(approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsersObject.name = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
satisfiedCheckResultsItemObject.extraUsers.push_back(extraUsersObject);
|
||||
}
|
||||
auto allSatisfiedItems = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.satisfiedItems.push_back(value.asString());
|
||||
auto allUnsatisfiedItems = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.unsatisfiedItems.push_back(value.asString());
|
||||
result_.approveCheckResult.satisfiedCheckResults.push_back(satisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto allUnsatisfiedCheckResultsNode = approveCheckResultNode["UnsatisfiedCheckResults"]["UnsatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem : allUnsatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkName = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkType = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsers3Node = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsers3Node)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem::ExtraUsersItem4 extraUsers3Object;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsers3Object.avatarUrl = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsers3Object.externUserId = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsers3Object.id = std::stol(approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsers3Object.name = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
unsatisfiedCheckResultsItemObject.extraUsers3.push_back(extraUsers3Object);
|
||||
}
|
||||
auto allSatisfiedItems1 = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems1)
|
||||
unsatisfiedCheckResultsItemObject.satisfiedItems1.push_back(value.asString());
|
||||
auto allUnsatisfiedItems2 = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems2)
|
||||
unsatisfiedCheckResultsItemObject.unsatisfiedItems2.push_back(value.asString());
|
||||
result_.approveCheckResult.unsatisfiedCheckResults.push_back(unsatisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto authorNode = resultNode["Author"];
|
||||
if(!authorNode["AvatarUrl"].isNull())
|
||||
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
|
||||
if(!authorNode["ExternUserId"].isNull())
|
||||
result_.author.externUserId = authorNode["ExternUserId"].asString();
|
||||
if(!authorNode["Id"].isNull())
|
||||
result_.author.id = std::stol(authorNode["Id"].asString());
|
||||
if(!authorNode["Name"].isNull())
|
||||
result_.author.name = authorNode["Name"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string AcceptMergeRequestResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AcceptMergeRequestResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool AcceptMergeRequestResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
AcceptMergeRequestResult::Result AcceptMergeRequestResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
74
codeup/src/model/CreateMergeRequestCommentRequest.cc
Normal file
74
codeup/src/model/CreateMergeRequestCommentRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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/codeup/model/CreateMergeRequestCommentRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::CreateMergeRequestCommentRequest;
|
||||
|
||||
CreateMergeRequestCommentRequest::CreateMergeRequestCommentRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/comments");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMergeRequestCommentRequest::~CreateMergeRequestCommentRequest()
|
||||
{}
|
||||
|
||||
std::string CreateMergeRequestCommentRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void CreateMergeRequestCommentRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long CreateMergeRequestCommentRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void CreateMergeRequestCommentRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string CreateMergeRequestCommentRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void CreateMergeRequestCommentRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long CreateMergeRequestCommentRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateMergeRequestCommentRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
108
codeup/src/model/CreateMergeRequestCommentResult.cc
Normal file
108
codeup/src/model/CreateMergeRequestCommentResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* 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/codeup/model/CreateMergeRequestCommentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
CreateMergeRequestCommentResult::CreateMergeRequestCommentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMergeRequestCommentResult::CreateMergeRequestCommentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMergeRequestCommentResult::~CreateMergeRequestCommentResult()
|
||||
{}
|
||||
|
||||
void CreateMergeRequestCommentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["Note"].isNull())
|
||||
result_.note = resultNode["Note"].asString();
|
||||
if(!resultNode["CreatedAt"].isNull())
|
||||
result_.createdAt = resultNode["CreatedAt"].asString();
|
||||
if(!resultNode["UpdatedAt"].isNull())
|
||||
result_.updatedAt = resultNode["UpdatedAt"].asString();
|
||||
if(!resultNode["ProjectId"].isNull())
|
||||
result_.projectId = std::stol(resultNode["ProjectId"].asString());
|
||||
if(!resultNode["IsDraft"].isNull())
|
||||
result_.isDraft = resultNode["IsDraft"].asString() == "true";
|
||||
if(!resultNode["ParentNoteId"].isNull())
|
||||
result_.parentNoteId = std::stol(resultNode["ParentNoteId"].asString());
|
||||
if(!resultNode["Line"].isNull())
|
||||
result_.line = std::stol(resultNode["Line"].asString());
|
||||
if(!resultNode["Side"].isNull())
|
||||
result_.side = resultNode["Side"].asString();
|
||||
if(!resultNode["Path"].isNull())
|
||||
result_.path = resultNode["Path"].asString();
|
||||
if(!resultNode["RangeContext"].isNull())
|
||||
result_.rangeContext = resultNode["RangeContext"].asString();
|
||||
if(!resultNode["OutDated"].isNull())
|
||||
result_.outDated = resultNode["OutDated"].asString() == "true";
|
||||
if(!resultNode["Closed"].isNull())
|
||||
result_.closed = std::stoi(resultNode["Closed"].asString());
|
||||
auto authorNode = resultNode["Author"];
|
||||
if(!authorNode["Id"].isNull())
|
||||
result_.author.id = std::stol(authorNode["Id"].asString());
|
||||
if(!authorNode["AvatarUrl"].isNull())
|
||||
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
|
||||
if(!authorNode["ExternUserId"].isNull())
|
||||
result_.author.externUserId = authorNode["ExternUserId"].asString();
|
||||
if(!authorNode["Name"].isNull())
|
||||
result_.author.name = authorNode["Name"].asString();
|
||||
if(!authorNode["Email"].isNull())
|
||||
result_.author.email = authorNode["Email"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string CreateMergeRequestCommentResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateMergeRequestCommentResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateMergeRequestCommentResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
CreateMergeRequestCommentResult::Result CreateMergeRequestCommentResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
74
codeup/src/model/GetMergeRequestApproveStatusRequest.cc
Normal file
74
codeup/src/model/GetMergeRequestApproveStatusRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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/codeup/model/GetMergeRequestApproveStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::GetMergeRequestApproveStatusRequest;
|
||||
|
||||
GetMergeRequestApproveStatusRequest::GetMergeRequestApproveStatusRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/approve_status");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetMergeRequestApproveStatusRequest::~GetMergeRequestApproveStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetMergeRequestApproveStatusRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestApproveStatusRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long GetMergeRequestApproveStatusRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestApproveStatusRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string GetMergeRequestApproveStatusRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void GetMergeRequestApproveStatusRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long GetMergeRequestApproveStatusRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestApproveStatusRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -14,67 +14,62 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h>
|
||||
#include <alibabacloud/codeup/model/GetMergeRequestApproveStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
CreateMetaCategoryResult::CreateMetaCategoryResult() :
|
||||
GetMergeRequestApproveStatusResult::GetMergeRequestApproveStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMetaCategoryResult::CreateMetaCategoryResult(const std::string &payload) :
|
||||
GetMergeRequestApproveStatusResult::GetMergeRequestApproveStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMetaCategoryResult::~CreateMetaCategoryResult()
|
||||
GetMergeRequestApproveStatusResult::~GetMergeRequestApproveStatusResult()
|
||||
{}
|
||||
|
||||
void CreateMetaCategoryResult::parse(const std::string &payload)
|
||||
void GetMergeRequestApproveStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["CategoryId"].isNull())
|
||||
data_.categoryId = std::stol(dataNode["CategoryId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["ApproveStatus"].isNull())
|
||||
result_.approveStatus = resultNode["ApproveStatus"].asString();
|
||||
if(!resultNode["Message"].isNull())
|
||||
result_.message = resultNode["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
CreateMetaCategoryResult::Data CreateMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryResult::getErrorCode()const
|
||||
std::string GetMergeRequestApproveStatusResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryResult::getErrorMessage()const
|
||||
std::string GetMergeRequestApproveStatusResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateMetaCategoryResult::getSuccess()const
|
||||
bool GetMergeRequestApproveStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetMergeRequestApproveStatusResult::Result GetMergeRequestApproveStatusResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
74
codeup/src/model/GetMergeRequestDetailRequest.cc
Normal file
74
codeup/src/model/GetMergeRequestDetailRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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/codeup/model/GetMergeRequestDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::GetMergeRequestDetailRequest;
|
||||
|
||||
GetMergeRequestDetailRequest::GetMergeRequestDetailRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetMergeRequestDetailRequest::~GetMergeRequestDetailRequest()
|
||||
{}
|
||||
|
||||
std::string GetMergeRequestDetailRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestDetailRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long GetMergeRequestDetailRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestDetailRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string GetMergeRequestDetailRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void GetMergeRequestDetailRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long GetMergeRequestDetailRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestDetailRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
203
codeup/src/model/GetMergeRequestDetailResult.cc
Normal file
203
codeup/src/model/GetMergeRequestDetailResult.cc
Normal file
@@ -0,0 +1,203 @@
|
||||
/*
|
||||
* 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/codeup/model/GetMergeRequestDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
GetMergeRequestDetailResult::GetMergeRequestDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMergeRequestDetailResult::GetMergeRequestDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMergeRequestDetailResult::~GetMergeRequestDetailResult()
|
||||
{}
|
||||
|
||||
void GetMergeRequestDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["AcceptedRevision"].isNull())
|
||||
result_.acceptedRevision = resultNode["AcceptedRevision"].asString();
|
||||
if(!resultNode["AheadCommitCount"].isNull())
|
||||
result_.aheadCommitCount = std::stoi(resultNode["AheadCommitCount"].asString());
|
||||
if(!resultNode["BehindCommitCount"].isNull())
|
||||
result_.behindCommitCount = std::stoi(resultNode["BehindCommitCount"].asString());
|
||||
if(!resultNode["CreatedAt"].isNull())
|
||||
result_.createdAt = resultNode["CreatedAt"].asString();
|
||||
if(!resultNode["Description"].isNull())
|
||||
result_.description = resultNode["Description"].asString();
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["MergeError"].isNull())
|
||||
result_.mergeError = resultNode["MergeError"].asString();
|
||||
if(!resultNode["MergeStatus"].isNull())
|
||||
result_.mergeStatus = resultNode["MergeStatus"].asString();
|
||||
if(!resultNode["MergeType"].isNull())
|
||||
result_.mergeType = resultNode["MergeType"].asString();
|
||||
if(!resultNode["MergedRevision"].isNull())
|
||||
result_.mergedRevision = resultNode["MergedRevision"].asString();
|
||||
if(!resultNode["NameWithNamespace"].isNull())
|
||||
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
|
||||
if(!resultNode["ProjectId"].isNull())
|
||||
result_.projectId = std::stol(resultNode["ProjectId"].asString());
|
||||
if(!resultNode["SourceBranch"].isNull())
|
||||
result_.sourceBranch = resultNode["SourceBranch"].asString();
|
||||
if(!resultNode["State"].isNull())
|
||||
result_.state = resultNode["State"].asString();
|
||||
if(!resultNode["TargetBranch"].isNull())
|
||||
result_.targetBranch = resultNode["TargetBranch"].asString();
|
||||
if(!resultNode["Title"].isNull())
|
||||
result_.title = resultNode["Title"].asString();
|
||||
if(!resultNode["UpdatedAt"].isNull())
|
||||
result_.updatedAt = resultNode["UpdatedAt"].asString();
|
||||
if(!resultNode["WebUrl"].isNull())
|
||||
result_.webUrl = resultNode["WebUrl"].asString();
|
||||
if(!resultNode["IsSupportMerge"].isNull())
|
||||
result_.isSupportMerge = resultNode["IsSupportMerge"].asString() == "true";
|
||||
auto allAssigneeListNode = resultNode["AssigneeList"]["AssigneeListItem"];
|
||||
for (auto resultNodeAssigneeListAssigneeListItem : allAssigneeListNode)
|
||||
{
|
||||
Result::AssigneeListItem assigneeListItemObject;
|
||||
if(!resultNodeAssigneeListAssigneeListItem["AvatarUrl"].isNull())
|
||||
assigneeListItemObject.avatarUrl = resultNodeAssigneeListAssigneeListItem["AvatarUrl"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["ExternUserId"].isNull())
|
||||
assigneeListItemObject.externUserId = resultNodeAssigneeListAssigneeListItem["ExternUserId"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Id"].isNull())
|
||||
assigneeListItemObject.id = resultNodeAssigneeListAssigneeListItem["Id"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Name"].isNull())
|
||||
assigneeListItemObject.name = resultNodeAssigneeListAssigneeListItem["Name"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Status"].isNull())
|
||||
assigneeListItemObject.status = resultNodeAssigneeListAssigneeListItem["Status"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Email"].isNull())
|
||||
assigneeListItemObject.email = resultNodeAssigneeListAssigneeListItem["Email"].asString();
|
||||
result_.assigneeList.push_back(assigneeListItemObject);
|
||||
}
|
||||
auto approveCheckResultNode = resultNode["ApproveCheckResult"];
|
||||
if(!approveCheckResultNode["TotalCheckResult"].isNull())
|
||||
result_.approveCheckResult.totalCheckResult = approveCheckResultNode["TotalCheckResult"].asString();
|
||||
auto allSatisfiedCheckResultsNode = approveCheckResultNode["SatisfiedCheckResults"]["SatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem : allSatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem satisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkName = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkType = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsersNode = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsersNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem::ExtraUsersItem extraUsersObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsersObject.avatarUrl = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsersObject.externUserId = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsersObject.id = std::stol(approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsersObject.name = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
satisfiedCheckResultsItemObject.extraUsers.push_back(extraUsersObject);
|
||||
}
|
||||
auto allSatisfiedItems = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.satisfiedItems.push_back(value.asString());
|
||||
auto allUnsatisfiedItems = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.unsatisfiedItems.push_back(value.asString());
|
||||
result_.approveCheckResult.satisfiedCheckResults.push_back(satisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto allUnsatisfiedCheckResultsNode = approveCheckResultNode["UnsatisfiedCheckResults"]["UnsatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem : allUnsatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkName = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkType = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsers3Node = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsers3Node)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem::ExtraUsersItem4 extraUsers3Object;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsers3Object.avatarUrl = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsers3Object.externUserId = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsers3Object.id = std::stol(approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsers3Object.name = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
unsatisfiedCheckResultsItemObject.extraUsers3.push_back(extraUsers3Object);
|
||||
}
|
||||
auto allSatisfiedItems1 = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems1)
|
||||
unsatisfiedCheckResultsItemObject.satisfiedItems1.push_back(value.asString());
|
||||
auto allUnsatisfiedItems2 = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems2)
|
||||
unsatisfiedCheckResultsItemObject.unsatisfiedItems2.push_back(value.asString());
|
||||
result_.approveCheckResult.unsatisfiedCheckResults.push_back(unsatisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto authorNode = resultNode["Author"];
|
||||
if(!authorNode["AvatarUrl"].isNull())
|
||||
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
|
||||
if(!authorNode["ExternUserId"].isNull())
|
||||
result_.author.externUserId = authorNode["ExternUserId"].asString();
|
||||
if(!authorNode["Id"].isNull())
|
||||
result_.author.id = std::stol(authorNode["Id"].asString());
|
||||
if(!authorNode["Name"].isNull())
|
||||
result_.author.name = authorNode["Name"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetMergeRequestDetailResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetMergeRequestDetailResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetMergeRequestDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetMergeRequestDetailResult::Result GetMergeRequestDetailResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
63
codeup/src/model/GetMergeRequestSettingRequest.cc
Normal file
63
codeup/src/model/GetMergeRequestSettingRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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/codeup/model/GetMergeRequestSettingRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::GetMergeRequestSettingRequest;
|
||||
|
||||
GetMergeRequestSettingRequest::GetMergeRequestSettingRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/settings/merge_requests");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetMergeRequestSettingRequest::~GetMergeRequestSettingRequest()
|
||||
{}
|
||||
|
||||
std::string GetMergeRequestSettingRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestSettingRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
std::string GetMergeRequestSettingRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void GetMergeRequestSettingRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long GetMergeRequestSettingRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetMergeRequestSettingRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -14,66 +14,63 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h>
|
||||
#include <alibabacloud/codeup/model/GetMergeRequestSettingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult() :
|
||||
GetMergeRequestSettingResult::GetMergeRequestSettingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult(const std::string &payload) :
|
||||
GetMergeRequestSettingResult::GetMergeRequestSettingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteFromMetaCategoryResult::~DeleteFromMetaCategoryResult()
|
||||
GetMergeRequestSettingResult::~GetMergeRequestSettingResult()
|
||||
{}
|
||||
|
||||
void DeleteFromMetaCategoryResult::parse(const std::string &payload)
|
||||
void GetMergeRequestSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["IsEnableSmartCodeReview"].isNull())
|
||||
result_.isEnableSmartCodeReview = resultNode["IsEnableSmartCodeReview"].asString() == "true";
|
||||
auto allMergeTypes = resultNode["MergeTypes"]["MergeTypes"];
|
||||
for (auto value : allMergeTypes)
|
||||
result_.mergeTypes.push_back(value.asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteFromMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteFromMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteFromMetaCategoryResult::getErrorCode()const
|
||||
std::string GetMergeRequestSettingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteFromMetaCategoryResult::getErrorMessage()const
|
||||
std::string GetMergeRequestSettingResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteFromMetaCategoryResult::getSuccess()const
|
||||
bool GetMergeRequestSettingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetMergeRequestSettingResult::Result GetMergeRequestSettingResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
96
codeup/src/model/ListMergeRequestCommentsRequest.cc
Normal file
96
codeup/src/model/ListMergeRequestCommentsRequest.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* 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/codeup/model/ListMergeRequestCommentsRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListMergeRequestCommentsRequest;
|
||||
|
||||
ListMergeRequestCommentsRequest::ListMergeRequestCommentsRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/comments");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListMergeRequestCommentsRequest::~ListMergeRequestCommentsRequest()
|
||||
{}
|
||||
|
||||
std::string ListMergeRequestCommentsRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long ListMergeRequestCommentsRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string ListMergeRequestCommentsRequest::getFromCommit()const
|
||||
{
|
||||
return fromCommit_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setFromCommit(const std::string& fromCommit)
|
||||
{
|
||||
fromCommit_ = fromCommit;
|
||||
setParameter("FromCommit", fromCommit);
|
||||
}
|
||||
|
||||
std::string ListMergeRequestCommentsRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
std::string ListMergeRequestCommentsRequest::getToCommit()const
|
||||
{
|
||||
return toCommit_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setToCommit(const std::string& toCommit)
|
||||
{
|
||||
toCommit_ = toCommit;
|
||||
setParameter("ToCommit", toCommit);
|
||||
}
|
||||
|
||||
long ListMergeRequestCommentsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListMergeRequestCommentsRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
120
codeup/src/model/ListMergeRequestCommentsResult.cc
Normal file
120
codeup/src/model/ListMergeRequestCommentsResult.cc
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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/codeup/model/ListMergeRequestCommentsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListMergeRequestCommentsResult::ListMergeRequestCommentsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListMergeRequestCommentsResult::ListMergeRequestCommentsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListMergeRequestCommentsResult::~ListMergeRequestCommentsResult()
|
||||
{}
|
||||
|
||||
void ListMergeRequestCommentsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["Closed"].isNull())
|
||||
resultObject.closed = std::stoi(valueResultResultItem["Closed"].asString());
|
||||
if(!valueResultResultItem["CreatedAt"].isNull())
|
||||
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
|
||||
if(!valueResultResultItem["Id"].isNull())
|
||||
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
|
||||
if(!valueResultResultItem["IsDraft"].isNull())
|
||||
resultObject.isDraft = valueResultResultItem["IsDraft"].asString() == "true";
|
||||
if(!valueResultResultItem["Line"].isNull())
|
||||
resultObject.line = std::stol(valueResultResultItem["Line"].asString());
|
||||
if(!valueResultResultItem["Note"].isNull())
|
||||
resultObject.note = valueResultResultItem["Note"].asString();
|
||||
if(!valueResultResultItem["OutDated"].isNull())
|
||||
resultObject.outDated = valueResultResultItem["OutDated"].asString() == "true";
|
||||
if(!valueResultResultItem["ParentNoteId"].isNull())
|
||||
resultObject.parentNoteId = std::stol(valueResultResultItem["ParentNoteId"].asString());
|
||||
if(!valueResultResultItem["Path"].isNull())
|
||||
resultObject.path = valueResultResultItem["Path"].asString();
|
||||
if(!valueResultResultItem["ProjectId"].isNull())
|
||||
resultObject.projectId = std::stol(valueResultResultItem["ProjectId"].asString());
|
||||
if(!valueResultResultItem["RangeContext"].isNull())
|
||||
resultObject.rangeContext = valueResultResultItem["RangeContext"].asString();
|
||||
if(!valueResultResultItem["Side"].isNull())
|
||||
resultObject.side = valueResultResultItem["Side"].asString();
|
||||
if(!valueResultResultItem["UpdatedAt"].isNull())
|
||||
resultObject.updatedAt = valueResultResultItem["UpdatedAt"].asString();
|
||||
auto authorNode = value["Author"];
|
||||
if(!authorNode["AvatarUrl"].isNull())
|
||||
resultObject.author.avatarUrl = authorNode["AvatarUrl"].asString();
|
||||
if(!authorNode["Email"].isNull())
|
||||
resultObject.author.email = authorNode["Email"].asString();
|
||||
if(!authorNode["ExternUserId"].isNull())
|
||||
resultObject.author.externUserId = authorNode["ExternUserId"].asString();
|
||||
if(!authorNode["Id"].isNull())
|
||||
resultObject.author.id = std::stol(authorNode["Id"].asString());
|
||||
if(!authorNode["Name"].isNull())
|
||||
resultObject.author.name = authorNode["Name"].asString();
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stol(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListMergeRequestCommentsResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::string ListMergeRequestCommentsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListMergeRequestCommentsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListMergeRequestCommentsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListMergeRequestCommentsResult::ResultItem> ListMergeRequestCommentsResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,8 @@ void ListMergeRequestsResult::parse(const std::string &payload)
|
||||
resultObject.updatedAt = valueResultResultItem["UpdatedAt"].asString();
|
||||
if(!valueResultResultItem["WebUrl"].isNull())
|
||||
resultObject.webUrl = valueResultResultItem["WebUrl"].asString();
|
||||
if(!valueResultResultItem["IsSupportMerge"].isNull())
|
||||
resultObject.isSupportMerge = valueResultResultItem["IsSupportMerge"].asString() == "true";
|
||||
auto allAssigneeListNode = valueResultResultItem["AssigneeList"]["AssigneeListItem"];
|
||||
for (auto valueResultResultItemAssigneeListAssigneeListItem : allAssigneeListNode)
|
||||
{
|
||||
@@ -91,6 +93,10 @@ void ListMergeRequestsResult::parse(const std::string &payload)
|
||||
assigneeListObject.id = valueResultResultItemAssigneeListAssigneeListItem["Id"].asString();
|
||||
if(!valueResultResultItemAssigneeListAssigneeListItem["Name"].isNull())
|
||||
assigneeListObject.name = valueResultResultItemAssigneeListAssigneeListItem["Name"].asString();
|
||||
if(!valueResultResultItemAssigneeListAssigneeListItem["Status"].isNull())
|
||||
assigneeListObject.status = valueResultResultItemAssigneeListAssigneeListItem["Status"].asString();
|
||||
if(!valueResultResultItemAssigneeListAssigneeListItem["Email"].isNull())
|
||||
assigneeListObject.email = valueResultResultItemAssigneeListAssigneeListItem["Email"].asString();
|
||||
resultObject.assigneeList.push_back(assigneeListObject);
|
||||
}
|
||||
auto approveCheckResultNode = value["ApproveCheckResult"];
|
||||
|
||||
129
codeup/src/model/ListRepositoryCommitsRequest.cc
Normal file
129
codeup/src/model/ListRepositoryCommitsRequest.cc
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* 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/codeup/model/ListRepositoryCommitsRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListRepositoryCommitsRequest;
|
||||
|
||||
ListRepositoryCommitsRequest::ListRepositoryCommitsRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/repository/commits");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListRepositoryCommitsRequest::~ListRepositoryCommitsRequest()
|
||||
{}
|
||||
|
||||
std::string ListRepositoryCommitsRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
bool ListRepositoryCommitsRequest::getShowSignature()const
|
||||
{
|
||||
return showSignature_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setShowSignature(bool showSignature)
|
||||
{
|
||||
showSignature_ = showSignature;
|
||||
setParameter("ShowSignature", showSignature ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsRequest::getRefName()const
|
||||
{
|
||||
return refName_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setRefName(const std::string& refName)
|
||||
{
|
||||
refName_ = refName;
|
||||
setParameter("RefName", refName);
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsRequest::getPath()const
|
||||
{
|
||||
return path_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setPath(const std::string& path)
|
||||
{
|
||||
path_ = path;
|
||||
setParameter("Path", path);
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsRequest::getSearch()const
|
||||
{
|
||||
return search_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setSearch(const std::string& search)
|
||||
{
|
||||
search_ = search;
|
||||
setParameter("Search", search);
|
||||
}
|
||||
|
||||
long ListRepositoryCommitsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListRepositoryCommitsRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setPage(long page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
long ListRepositoryCommitsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListRepositoryCommitsRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
113
codeup/src/model/ListRepositoryCommitsResult.cc
Normal file
113
codeup/src/model/ListRepositoryCommitsResult.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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/codeup/model/ListRepositoryCommitsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListRepositoryCommitsResult::ListRepositoryCommitsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListRepositoryCommitsResult::ListRepositoryCommitsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListRepositoryCommitsResult::~ListRepositoryCommitsResult()
|
||||
{}
|
||||
|
||||
void ListRepositoryCommitsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["AuthorDate"].isNull())
|
||||
resultObject.authorDate = valueResultResultItem["AuthorDate"].asString();
|
||||
if(!valueResultResultItem["AuthorEmail"].isNull())
|
||||
resultObject.authorEmail = valueResultResultItem["AuthorEmail"].asString();
|
||||
if(!valueResultResultItem["AuthorName"].isNull())
|
||||
resultObject.authorName = valueResultResultItem["AuthorName"].asString();
|
||||
if(!valueResultResultItem["CommittedDate"].isNull())
|
||||
resultObject.committedDate = valueResultResultItem["CommittedDate"].asString();
|
||||
if(!valueResultResultItem["CommitterEmail"].isNull())
|
||||
resultObject.committerEmail = valueResultResultItem["CommitterEmail"].asString();
|
||||
if(!valueResultResultItem["CommitterName"].isNull())
|
||||
resultObject.committerName = valueResultResultItem["CommitterName"].asString();
|
||||
if(!valueResultResultItem["CreatedAt"].isNull())
|
||||
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
|
||||
if(!valueResultResultItem["Id"].isNull())
|
||||
resultObject.id = valueResultResultItem["Id"].asString();
|
||||
if(!valueResultResultItem["Message"].isNull())
|
||||
resultObject.message = valueResultResultItem["Message"].asString();
|
||||
if(!valueResultResultItem["ShortId"].isNull())
|
||||
resultObject.shortId = valueResultResultItem["ShortId"].asString();
|
||||
if(!valueResultResultItem["Title"].isNull())
|
||||
resultObject.title = valueResultResultItem["Title"].asString();
|
||||
auto signatureNode = value["Signature"];
|
||||
if(!signatureNode["GpgKeyId"].isNull())
|
||||
resultObject.signature.gpgKeyId = signatureNode["GpgKeyId"].asString();
|
||||
if(!signatureNode["VerificationStatus"].isNull())
|
||||
resultObject.signature.verificationStatus = signatureNode["VerificationStatus"].asString();
|
||||
auto allParentIds = value["ParentIds"]["ParentIds"];
|
||||
for (auto value : allParentIds)
|
||||
resultObject.parentIds.push_back(value.asString());
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stol(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListRepositoryCommitsResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListRepositoryCommitsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListRepositoryCommitsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListRepositoryCommitsResult::ResultItem> ListRepositoryCommitsResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -55,6 +55,10 @@ void ListRepositoryMemberResult::parse(const std::string &payload)
|
||||
resultObject.avatarUrl = valueResultResultItem["AvatarUrl"].asString();
|
||||
if(!valueResultResultItem["Email"].isNull())
|
||||
resultObject.email = valueResultResultItem["Email"].asString();
|
||||
if(!valueResultResultItem["Name"].isNull())
|
||||
resultObject.name = valueResultResultItem["Name"].asString();
|
||||
if(!valueResultResultItem["Username"].isNull())
|
||||
resultObject.username = valueResultResultItem["Username"].asString();
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
85
codeup/src/model/UpdateMergeRequestCommentRequest.cc
Normal file
85
codeup/src/model/UpdateMergeRequestCommentRequest.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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/codeup/model/UpdateMergeRequestCommentRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::UpdateMergeRequestCommentRequest;
|
||||
|
||||
UpdateMergeRequestCommentRequest::UpdateMergeRequestCommentRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/[ProjectId]/merge_requests/[MergeRequestId]/notes/[NoteId]");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
UpdateMergeRequestCommentRequest::~UpdateMergeRequestCommentRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateMergeRequestCommentRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestCommentRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long UpdateMergeRequestCommentRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestCommentRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string UpdateMergeRequestCommentRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestCommentRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long UpdateMergeRequestCommentRequest::getNoteId()const
|
||||
{
|
||||
return noteId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestCommentRequest::setNoteId(long noteId)
|
||||
{
|
||||
noteId_ = noteId;
|
||||
setParameter("NoteId", std::to_string(noteId));
|
||||
}
|
||||
|
||||
long UpdateMergeRequestCommentRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestCommentRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -14,59 +14,60 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateFileResult.h>
|
||||
#include <alibabacloud/codeup/model/UpdateMergeRequestCommentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
UpdateFileResult::UpdateFileResult() :
|
||||
UpdateMergeRequestCommentResult::UpdateMergeRequestCommentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateFileResult::UpdateFileResult(const std::string &payload) :
|
||||
UpdateMergeRequestCommentResult::UpdateMergeRequestCommentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateFileResult::~UpdateFileResult()
|
||||
UpdateMergeRequestCommentResult::~UpdateMergeRequestCommentResult()
|
||||
{}
|
||||
|
||||
void UpdateFileResult::parse(const std::string &payload)
|
||||
void UpdateMergeRequestCommentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Result"].isNull())
|
||||
result_.result = resultNode["Result"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int UpdateFileResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string UpdateFileResult::getErrorCode()const
|
||||
std::string UpdateMergeRequestCommentResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string UpdateFileResult::getErrorMessage()const
|
||||
std::string UpdateMergeRequestCommentResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool UpdateFileResult::getSuccess()const
|
||||
bool UpdateMergeRequestCommentResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
UpdateMergeRequestCommentResult::Result UpdateMergeRequestCommentResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
74
codeup/src/model/UpdateMergeRequestRequest.cc
Normal file
74
codeup/src/model/UpdateMergeRequestRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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/codeup/model/UpdateMergeRequestRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::UpdateMergeRequestRequest;
|
||||
|
||||
UpdateMergeRequestRequest::UpdateMergeRequestRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
UpdateMergeRequestRequest::~UpdateMergeRequestRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateMergeRequestRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long UpdateMergeRequestRequest::getMergeRequestId()const
|
||||
{
|
||||
return mergeRequestId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestRequest::setMergeRequestId(long mergeRequestId)
|
||||
{
|
||||
mergeRequestId_ = mergeRequestId;
|
||||
setParameter("MergeRequestId", std::to_string(mergeRequestId));
|
||||
}
|
||||
|
||||
std::string UpdateMergeRequestRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long UpdateMergeRequestRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
197
codeup/src/model/UpdateMergeRequestResult.cc
Normal file
197
codeup/src/model/UpdateMergeRequestResult.cc
Normal file
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
* 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/codeup/model/UpdateMergeRequestResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
UpdateMergeRequestResult::UpdateMergeRequestResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateMergeRequestResult::UpdateMergeRequestResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateMergeRequestResult::~UpdateMergeRequestResult()
|
||||
{}
|
||||
|
||||
void UpdateMergeRequestResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["AcceptedRevision"].isNull())
|
||||
result_.acceptedRevision = resultNode["AcceptedRevision"].asString();
|
||||
if(!resultNode["AheadCommitCount"].isNull())
|
||||
result_.aheadCommitCount = std::stoi(resultNode["AheadCommitCount"].asString());
|
||||
if(!resultNode["BehindCommitCount"].isNull())
|
||||
result_.behindCommitCount = std::stoi(resultNode["BehindCommitCount"].asString());
|
||||
if(!resultNode["CreatedAt"].isNull())
|
||||
result_.createdAt = resultNode["CreatedAt"].asString();
|
||||
if(!resultNode["Description"].isNull())
|
||||
result_.description = resultNode["Description"].asString();
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["MergeError"].isNull())
|
||||
result_.mergeError = resultNode["MergeError"].asString();
|
||||
if(!resultNode["MergeStatus"].isNull())
|
||||
result_.mergeStatus = resultNode["MergeStatus"].asString();
|
||||
if(!resultNode["MergeType"].isNull())
|
||||
result_.mergeType = resultNode["MergeType"].asString();
|
||||
if(!resultNode["MergedRevision"].isNull())
|
||||
result_.mergedRevision = resultNode["MergedRevision"].asString();
|
||||
if(!resultNode["NameWithNamespace"].isNull())
|
||||
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
|
||||
if(!resultNode["ProjectId"].isNull())
|
||||
result_.projectId = std::stol(resultNode["ProjectId"].asString());
|
||||
if(!resultNode["SourceBranch"].isNull())
|
||||
result_.sourceBranch = resultNode["SourceBranch"].asString();
|
||||
if(!resultNode["State"].isNull())
|
||||
result_.state = resultNode["State"].asString();
|
||||
if(!resultNode["TargetBranch"].isNull())
|
||||
result_.targetBranch = resultNode["TargetBranch"].asString();
|
||||
if(!resultNode["Title"].isNull())
|
||||
result_.title = resultNode["Title"].asString();
|
||||
if(!resultNode["UpdatedAt"].isNull())
|
||||
result_.updatedAt = resultNode["UpdatedAt"].asString();
|
||||
if(!resultNode["WebUrl"].isNull())
|
||||
result_.webUrl = resultNode["WebUrl"].asString();
|
||||
auto allAssigneeListNode = resultNode["AssigneeList"]["AssigneeListItem"];
|
||||
for (auto resultNodeAssigneeListAssigneeListItem : allAssigneeListNode)
|
||||
{
|
||||
Result::AssigneeListItem assigneeListItemObject;
|
||||
if(!resultNodeAssigneeListAssigneeListItem["AvatarUrl"].isNull())
|
||||
assigneeListItemObject.avatarUrl = resultNodeAssigneeListAssigneeListItem["AvatarUrl"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["ExternUserId"].isNull())
|
||||
assigneeListItemObject.externUserId = resultNodeAssigneeListAssigneeListItem["ExternUserId"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Id"].isNull())
|
||||
assigneeListItemObject.id = resultNodeAssigneeListAssigneeListItem["Id"].asString();
|
||||
if(!resultNodeAssigneeListAssigneeListItem["Name"].isNull())
|
||||
assigneeListItemObject.name = resultNodeAssigneeListAssigneeListItem["Name"].asString();
|
||||
result_.assigneeList.push_back(assigneeListItemObject);
|
||||
}
|
||||
auto approveCheckResultNode = resultNode["ApproveCheckResult"];
|
||||
if(!approveCheckResultNode["TotalCheckResult"].isNull())
|
||||
result_.approveCheckResult.totalCheckResult = approveCheckResultNode["TotalCheckResult"].asString();
|
||||
auto allSatisfiedCheckResultsNode = approveCheckResultNode["SatisfiedCheckResults"]["SatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem : allSatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem satisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkName = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
satisfiedCheckResultsItemObject.checkType = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsersNode = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsersNode)
|
||||
{
|
||||
Result::ApproveCheckResult::SatisfiedCheckResultsItem::ExtraUsersItem extraUsersObject;
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsersObject.avatarUrl = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsersObject.externUserId = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsersObject.id = std::stol(approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsersObject.name = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
satisfiedCheckResultsItemObject.extraUsers.push_back(extraUsersObject);
|
||||
}
|
||||
auto allSatisfiedItems = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.satisfiedItems.push_back(value.asString());
|
||||
auto allUnsatisfiedItems = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems)
|
||||
satisfiedCheckResultsItemObject.unsatisfiedItems.push_back(value.asString());
|
||||
result_.approveCheckResult.satisfiedCheckResults.push_back(satisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto allUnsatisfiedCheckResultsNode = approveCheckResultNode["UnsatisfiedCheckResults"]["UnsatisfiedCheckResultsItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem : allUnsatisfiedCheckResultsNode)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItemObject;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkName = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].isNull())
|
||||
unsatisfiedCheckResultsItemObject.checkType = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].asString();
|
||||
auto allExtraUsers3Node = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["ExtraUsers"]["ExtraUsersItem"];
|
||||
for (auto approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem : allExtraUsers3Node)
|
||||
{
|
||||
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem::ExtraUsersItem4 extraUsers3Object;
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].isNull())
|
||||
extraUsers3Object.avatarUrl = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["AvatarUrl"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].isNull())
|
||||
extraUsers3Object.externUserId = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["ExternUserId"].asString();
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].isNull())
|
||||
extraUsers3Object.id = std::stol(approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Id"].asString());
|
||||
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].isNull())
|
||||
extraUsers3Object.name = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItemExtraUsersExtraUsersItem["Name"].asString();
|
||||
unsatisfiedCheckResultsItemObject.extraUsers3.push_back(extraUsers3Object);
|
||||
}
|
||||
auto allSatisfiedItems1 = value["SatisfiedItems"]["SatisfiedItems"];
|
||||
for (auto value : allSatisfiedItems1)
|
||||
unsatisfiedCheckResultsItemObject.satisfiedItems1.push_back(value.asString());
|
||||
auto allUnsatisfiedItems2 = value["UnsatisfiedItems"]["UnsatisfiedItems"];
|
||||
for (auto value : allUnsatisfiedItems2)
|
||||
unsatisfiedCheckResultsItemObject.unsatisfiedItems2.push_back(value.asString());
|
||||
result_.approveCheckResult.unsatisfiedCheckResults.push_back(unsatisfiedCheckResultsItemObject);
|
||||
}
|
||||
auto authorNode = resultNode["Author"];
|
||||
if(!authorNode["AvatarUrl"].isNull())
|
||||
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
|
||||
if(!authorNode["ExternUserId"].isNull())
|
||||
result_.author.externUserId = authorNode["ExternUserId"].asString();
|
||||
if(!authorNode["Id"].isNull())
|
||||
result_.author.id = std::stol(authorNode["Id"].asString());
|
||||
if(!authorNode["Name"].isNull())
|
||||
result_.author.name = authorNode["Name"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateMergeRequestResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string UpdateMergeRequestResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool UpdateMergeRequestResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
UpdateMergeRequestResult::Result UpdateMergeRequestResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
63
codeup/src/model/UpdateMergeRequestSettingRequest.cc
Normal file
63
codeup/src/model/UpdateMergeRequestSettingRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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/codeup/model/UpdateMergeRequestSettingRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::UpdateMergeRequestSettingRequest;
|
||||
|
||||
UpdateMergeRequestSettingRequest::UpdateMergeRequestSettingRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/settings/merge_requests");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
UpdateMergeRequestSettingRequest::~UpdateMergeRequestSettingRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateMergeRequestSettingRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestSettingRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
std::string UpdateMergeRequestSettingRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestSettingRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long UpdateMergeRequestSettingRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void UpdateMergeRequestSettingRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -14,66 +14,60 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/RestartInstanceResult.h>
|
||||
#include <alibabacloud/codeup/model/UpdateMergeRequestSettingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
RestartInstanceResult::RestartInstanceResult() :
|
||||
UpdateMergeRequestSettingResult::UpdateMergeRequestSettingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RestartInstanceResult::RestartInstanceResult(const std::string &payload) :
|
||||
UpdateMergeRequestSettingResult::UpdateMergeRequestSettingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RestartInstanceResult::~RestartInstanceResult()
|
||||
UpdateMergeRequestSettingResult::~UpdateMergeRequestSettingResult()
|
||||
{}
|
||||
|
||||
void RestartInstanceResult::parse(const std::string &payload)
|
||||
void UpdateMergeRequestSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Result"].isNull())
|
||||
result_.result = resultNode["Result"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int RestartInstanceResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool RestartInstanceResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string RestartInstanceResult::getErrorCode()const
|
||||
std::string UpdateMergeRequestSettingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string RestartInstanceResult::getErrorMessage()const
|
||||
std::string UpdateMergeRequestSettingResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool RestartInstanceResult::getSuccess()const
|
||||
bool UpdateMergeRequestSettingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
UpdateMergeRequestSettingResult::Result UpdateMergeRequestSettingResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -21,613 +21,77 @@ set(dataworks-public_public_header
|
||||
include/alibabacloud/dataworks-public/Dataworks_publicExport.h )
|
||||
|
||||
set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDagTestResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CheckCallbackResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateManualDagResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h
|
||||
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/CreateTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableLevelResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteRemindResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableLevelResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeployFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeployFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDagRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDagResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDeploymentResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetFileVersionResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceCountTrendResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceErrorRankResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetInstanceStatusCountResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetManualDagInstancesResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetRemindRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetRemindResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetTopicRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetTopicResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceFoldersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFilesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListFilesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFoldersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListFoldersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListInstancesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListInstancesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListMetaDBResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodeIORequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodeIOResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProgramTypeCountResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListRemindsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListRemindsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTableLevelResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsResult.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RunTriggerNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h
|
||||
include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SearchNodesByOutputResult.h
|
||||
include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/StopInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/StopInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/SubmitFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SubmitFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateRemindResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableLevelResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableModelInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h )
|
||||
include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusRequest.h
|
||||
include/alibabacloud/dataworks-public/model/QueryRealTimeProcessStatusResult.h
|
||||
include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackRequest.h
|
||||
include/alibabacloud/dataworks-public/model/SendTaskMetaCallbackResult.h
|
||||
include/alibabacloud/dataworks-public/model/TagResourcesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/TagResourcesResult.h
|
||||
include/alibabacloud/dataworks-public/model/UnTagResourcesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UnTagResourcesResult.h )
|
||||
|
||||
set(dataworks-public_src
|
||||
src/Dataworks-publicClient.cc
|
||||
src/model/AbolishDataServiceApiRequest.cc
|
||||
src/model/AbolishDataServiceApiResult.cc
|
||||
src/model/AddProjectMemberToRoleRequest.cc
|
||||
src/model/AddProjectMemberToRoleResult.cc
|
||||
src/model/AddToMetaCategoryRequest.cc
|
||||
src/model/AddToMetaCategoryResult.cc
|
||||
src/model/CheckMetaPartitionRequest.cc
|
||||
src/model/CheckMetaPartitionResult.cc
|
||||
src/model/CheckMetaTableRequest.cc
|
||||
src/model/CheckMetaTableResult.cc
|
||||
src/model/CreateConnectionRequest.cc
|
||||
src/model/CreateConnectionResult.cc
|
||||
src/model/CreateDagComplementRequest.cc
|
||||
src/model/CreateDagComplementResult.cc
|
||||
src/model/CreateDagTestRequest.cc
|
||||
src/model/CreateDagTestResult.cc
|
||||
src/model/CreateDataServiceApiRequest.cc
|
||||
src/model/CreateDataServiceApiResult.cc
|
||||
src/model/CreateDataServiceApiAuthorityRequest.cc
|
||||
src/model/CreateDataServiceApiAuthorityResult.cc
|
||||
src/model/CreateDataServiceFolderRequest.cc
|
||||
src/model/CreateDataServiceFolderResult.cc
|
||||
src/model/CreateDataServiceGroupRequest.cc
|
||||
src/model/CreateDataServiceGroupResult.cc
|
||||
src/model/CreateFileRequest.cc
|
||||
src/model/CreateFileResult.cc
|
||||
src/model/CreateFolderRequest.cc
|
||||
src/model/CreateFolderResult.cc
|
||||
src/model/CheckCallbackRequest.cc
|
||||
src/model/CheckCallbackResult.cc
|
||||
src/model/CreateManualDagRequest.cc
|
||||
src/model/CreateManualDagResult.cc
|
||||
src/model/CreateMetaCategoryRequest.cc
|
||||
src/model/CreateMetaCategoryResult.cc
|
||||
src/model/CreateProjectMemberRequest.cc
|
||||
src/model/CreateProjectMemberResult.cc
|
||||
src/model/CreateQualityEntityRequest.cc
|
||||
src/model/CreateQualityEntityResult.cc
|
||||
src/model/CreateQualityFollowerRequest.cc
|
||||
src/model/CreateQualityFollowerResult.cc
|
||||
src/model/CreateQualityRelativeNodeRequest.cc
|
||||
src/model/CreateQualityRelativeNodeResult.cc
|
||||
src/model/CreateQualityRuleRequest.cc
|
||||
src/model/CreateQualityRuleResult.cc
|
||||
src/model/CreateRemindRequest.cc
|
||||
src/model/CreateRemindResult.cc
|
||||
src/model/CreateTableRequest.cc
|
||||
src/model/CreateTableResult.cc
|
||||
src/model/CreateTableLevelRequest.cc
|
||||
src/model/CreateTableLevelResult.cc
|
||||
src/model/CreateTableThemeRequest.cc
|
||||
src/model/CreateTableThemeResult.cc
|
||||
src/model/CreateUdfFileRequest.cc
|
||||
src/model/CreateUdfFileResult.cc
|
||||
src/model/DeleteBusinessRequest.cc
|
||||
src/model/DeleteBusinessResult.cc
|
||||
src/model/DeleteConnectionRequest.cc
|
||||
src/model/DeleteConnectionResult.cc
|
||||
src/model/DeleteDataServiceApiRequest.cc
|
||||
src/model/DeleteDataServiceApiResult.cc
|
||||
src/model/DeleteDataServiceApiAuthorityRequest.cc
|
||||
src/model/DeleteDataServiceApiAuthorityResult.cc
|
||||
src/model/CreateRealTimeProcessRequest.cc
|
||||
src/model/CreateRealTimeProcessResult.cc
|
||||
src/model/DeleteFileRequest.cc
|
||||
src/model/DeleteFileResult.cc
|
||||
src/model/DeleteFolderRequest.cc
|
||||
src/model/DeleteFolderResult.cc
|
||||
src/model/DeleteFromMetaCategoryRequest.cc
|
||||
src/model/DeleteFromMetaCategoryResult.cc
|
||||
src/model/DeleteMetaCategoryRequest.cc
|
||||
src/model/DeleteMetaCategoryResult.cc
|
||||
src/model/DeleteProjectMemberRequest.cc
|
||||
src/model/DeleteProjectMemberResult.cc
|
||||
src/model/DeleteQualityEntityRequest.cc
|
||||
src/model/DeleteQualityEntityResult.cc
|
||||
src/model/DeleteQualityFollowerRequest.cc
|
||||
src/model/DeleteQualityFollowerResult.cc
|
||||
src/model/DeleteQualityRelativeNodeRequest.cc
|
||||
src/model/DeleteQualityRelativeNodeResult.cc
|
||||
src/model/DeleteQualityRuleRequest.cc
|
||||
src/model/DeleteQualityRuleResult.cc
|
||||
src/model/DeleteRemindRequest.cc
|
||||
src/model/DeleteRemindResult.cc
|
||||
src/model/DeleteTableRequest.cc
|
||||
src/model/DeleteTableResult.cc
|
||||
src/model/DeleteTableLevelRequest.cc
|
||||
src/model/DeleteTableLevelResult.cc
|
||||
src/model/DeleteTableThemeRequest.cc
|
||||
src/model/DeleteTableThemeResult.cc
|
||||
src/model/DeployFileRequest.cc
|
||||
src/model/DeployFileResult.cc
|
||||
src/model/EstablishRelationTableToBusinessRequest.cc
|
||||
src/model/EstablishRelationTableToBusinessResult.cc
|
||||
src/model/GetBaselineConfigRequest.cc
|
||||
src/model/GetBaselineConfigResult.cc
|
||||
src/model/GetBaselineKeyPathRequest.cc
|
||||
src/model/GetBaselineKeyPathResult.cc
|
||||
src/model/GetBaselineStatusRequest.cc
|
||||
src/model/GetBaselineStatusResult.cc
|
||||
src/model/GetBusinessRequest.cc
|
||||
src/model/GetBusinessResult.cc
|
||||
src/model/GetDDLJobStatusRequest.cc
|
||||
src/model/GetDDLJobStatusResult.cc
|
||||
src/model/GetDagRequest.cc
|
||||
src/model/GetDagResult.cc
|
||||
src/model/GetDataServiceApiRequest.cc
|
||||
src/model/GetDataServiceApiResult.cc
|
||||
src/model/GetDataServiceApplicationRequest.cc
|
||||
src/model/GetDataServiceApplicationResult.cc
|
||||
src/model/GetDataServiceFolderRequest.cc
|
||||
src/model/GetDataServiceFolderResult.cc
|
||||
src/model/GetDataServiceGroupRequest.cc
|
||||
src/model/GetDataServiceGroupResult.cc
|
||||
src/model/GetDataServicePublishedApiRequest.cc
|
||||
src/model/GetDataServicePublishedApiResult.cc
|
||||
src/model/GetDeploymentRequest.cc
|
||||
src/model/GetDeploymentResult.cc
|
||||
src/model/GetFileRequest.cc
|
||||
src/model/GetFileResult.cc
|
||||
src/model/GetFileVersionRequest.cc
|
||||
src/model/GetFileVersionResult.cc
|
||||
src/model/GetFolderRequest.cc
|
||||
src/model/GetFolderResult.cc
|
||||
src/model/GetInstanceRequest.cc
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/GetInstanceConsumeTimeRankRequest.cc
|
||||
src/model/GetInstanceConsumeTimeRankResult.cc
|
||||
src/model/GetInstanceCountTrendRequest.cc
|
||||
src/model/GetInstanceCountTrendResult.cc
|
||||
src/model/GetInstanceErrorRankRequest.cc
|
||||
src/model/GetInstanceErrorRankResult.cc
|
||||
src/model/GetInstanceLogRequest.cc
|
||||
src/model/GetInstanceLogResult.cc
|
||||
src/model/GetInstanceStatusCountRequest.cc
|
||||
src/model/GetInstanceStatusCountResult.cc
|
||||
src/model/GetManualDagInstancesRequest.cc
|
||||
src/model/GetManualDagInstancesResult.cc
|
||||
src/model/GetMetaCategoryRequest.cc
|
||||
src/model/GetMetaCategoryResult.cc
|
||||
src/model/GetMetaColumnLineageRequest.cc
|
||||
src/model/GetMetaColumnLineageResult.cc
|
||||
src/model/GetMetaDBInfoRequest.cc
|
||||
src/model/GetMetaDBInfoResult.cc
|
||||
src/model/GetMetaDBTableListRequest.cc
|
||||
src/model/GetMetaDBTableListResult.cc
|
||||
src/model/GetMetaTableBasicInfoRequest.cc
|
||||
src/model/GetMetaTableBasicInfoResult.cc
|
||||
src/model/GetMetaTableChangeLogRequest.cc
|
||||
src/model/GetMetaTableChangeLogResult.cc
|
||||
src/model/GetMetaTableColumnRequest.cc
|
||||
src/model/GetMetaTableColumnResult.cc
|
||||
src/model/GetMetaTableFullInfoRequest.cc
|
||||
src/model/GetMetaTableFullInfoResult.cc
|
||||
src/model/GetMetaTableIntroWikiRequest.cc
|
||||
src/model/GetMetaTableIntroWikiResult.cc
|
||||
src/model/GetMetaTableLineageRequest.cc
|
||||
src/model/GetMetaTableLineageResult.cc
|
||||
src/model/GetMetaTableListByCategoryRequest.cc
|
||||
src/model/GetMetaTableListByCategoryResult.cc
|
||||
src/model/GetMetaTableOutputRequest.cc
|
||||
src/model/GetMetaTableOutputResult.cc
|
||||
src/model/GetMetaTablePartitionRequest.cc
|
||||
src/model/GetMetaTablePartitionResult.cc
|
||||
src/model/GetNodeRequest.cc
|
||||
src/model/GetNodeResult.cc
|
||||
src/model/GetNodeCodeRequest.cc
|
||||
src/model/GetNodeCodeResult.cc
|
||||
src/model/GetNodeOnBaselineRequest.cc
|
||||
src/model/GetNodeOnBaselineResult.cc
|
||||
src/model/GetNodeTypeListInfoRequest.cc
|
||||
src/model/GetNodeTypeListInfoResult.cc
|
||||
src/model/GetProjectDetailRequest.cc
|
||||
src/model/GetProjectDetailResult.cc
|
||||
src/model/GetQualityEntityRequest.cc
|
||||
src/model/GetQualityEntityResult.cc
|
||||
src/model/GetQualityFollowerRequest.cc
|
||||
src/model/GetQualityFollowerResult.cc
|
||||
src/model/GetQualityRuleRequest.cc
|
||||
src/model/GetQualityRuleResult.cc
|
||||
src/model/GetRemindRequest.cc
|
||||
src/model/GetRemindResult.cc
|
||||
src/model/GetSuccessInstanceTrendRequest.cc
|
||||
src/model/GetSuccessInstanceTrendResult.cc
|
||||
src/model/GetTopicRequest.cc
|
||||
src/model/GetTopicResult.cc
|
||||
src/model/GetTopicInfluenceRequest.cc
|
||||
src/model/GetTopicInfluenceResult.cc
|
||||
src/model/ListAlertMessagesRequest.cc
|
||||
src/model/ListAlertMessagesResult.cc
|
||||
src/model/ListBaselineConfigsRequest.cc
|
||||
src/model/ListBaselineConfigsResult.cc
|
||||
src/model/ListBaselineStatusesRequest.cc
|
||||
src/model/ListBaselineStatusesResult.cc
|
||||
src/model/ListBusinessRequest.cc
|
||||
src/model/ListBusinessResult.cc
|
||||
src/model/ListCalcEnginesRequest.cc
|
||||
src/model/ListCalcEnginesResult.cc
|
||||
src/model/ListConnectionsRequest.cc
|
||||
src/model/ListConnectionsResult.cc
|
||||
src/model/ListDataServiceApiAuthoritiesRequest.cc
|
||||
src/model/ListDataServiceApiAuthoritiesResult.cc
|
||||
src/model/ListDataServiceApisRequest.cc
|
||||
src/model/ListDataServiceApisResult.cc
|
||||
src/model/ListDataServiceApplicationsRequest.cc
|
||||
src/model/ListDataServiceApplicationsResult.cc
|
||||
src/model/ListDataServiceAuthorizedApisRequest.cc
|
||||
src/model/ListDataServiceAuthorizedApisResult.cc
|
||||
src/model/ListDataServiceFoldersRequest.cc
|
||||
src/model/ListDataServiceFoldersResult.cc
|
||||
src/model/ListDataServiceGroupsRequest.cc
|
||||
src/model/ListDataServiceGroupsResult.cc
|
||||
src/model/ListDataServicePublishedApisRequest.cc
|
||||
src/model/ListDataServicePublishedApisResult.cc
|
||||
src/model/ListFileVersionsRequest.cc
|
||||
src/model/ListFileVersionsResult.cc
|
||||
src/model/ListFilesRequest.cc
|
||||
src/model/ListFilesResult.cc
|
||||
src/model/ListFoldersRequest.cc
|
||||
src/model/ListFoldersResult.cc
|
||||
src/model/ListInstancesRequest.cc
|
||||
src/model/ListInstancesResult.cc
|
||||
src/model/ListMetaDBRequest.cc
|
||||
src/model/ListMetaDBResult.cc
|
||||
src/model/ListNodeIORequest.cc
|
||||
src/model/ListNodeIOResult.cc
|
||||
src/model/ListNodesRequest.cc
|
||||
src/model/ListNodesResult.cc
|
||||
src/model/ListProgramTypeCountRequest.cc
|
||||
src/model/ListProgramTypeCountResult.cc
|
||||
src/model/ListProjectMembersRequest.cc
|
||||
src/model/ListProjectMembersResult.cc
|
||||
src/model/ListProjectRolesRequest.cc
|
||||
src/model/ListProjectRolesResult.cc
|
||||
src/model/ListProjectsRequest.cc
|
||||
src/model/ListProjectsResult.cc
|
||||
src/model/ListQualityResultsByEntityRequest.cc
|
||||
src/model/ListQualityResultsByEntityResult.cc
|
||||
src/model/ListQualityResultsByRuleRequest.cc
|
||||
src/model/ListQualityResultsByRuleResult.cc
|
||||
src/model/ListQualityRulesRequest.cc
|
||||
src/model/ListQualityRulesResult.cc
|
||||
src/model/ListRemindsRequest.cc
|
||||
src/model/ListRemindsResult.cc
|
||||
src/model/ListResourceGroupsRequest.cc
|
||||
src/model/ListResourceGroupsResult.cc
|
||||
src/model/ListTableLevelRequest.cc
|
||||
src/model/ListTableLevelResult.cc
|
||||
src/model/ListTableThemeRequest.cc
|
||||
src/model/ListTableThemeResult.cc
|
||||
src/model/ListTopicsRequest.cc
|
||||
src/model/ListTopicsResult.cc
|
||||
src/model/PublishDataServiceApiRequest.cc
|
||||
src/model/PublishDataServiceApiResult.cc
|
||||
src/model/RemoveProjectMemberFromRoleRequest.cc
|
||||
src/model/RemoveProjectMemberFromRoleResult.cc
|
||||
src/model/RestartInstanceRequest.cc
|
||||
src/model/RestartInstanceResult.cc
|
||||
src/model/ResumeInstanceRequest.cc
|
||||
src/model/ResumeInstanceResult.cc
|
||||
src/model/RunTriggerNodeRequest.cc
|
||||
src/model/RunTriggerNodeResult.cc
|
||||
src/model/SearchMetaTablesRequest.cc
|
||||
src/model/SearchMetaTablesResult.cc
|
||||
src/model/SearchNodesByOutputRequest.cc
|
||||
src/model/SearchNodesByOutputResult.cc
|
||||
src/model/SetSuccessInstanceRequest.cc
|
||||
src/model/SetSuccessInstanceResult.cc
|
||||
src/model/StopInstanceRequest.cc
|
||||
src/model/StopInstanceResult.cc
|
||||
src/model/SubmitFileRequest.cc
|
||||
src/model/SubmitFileResult.cc
|
||||
src/model/SuspendInstanceRequest.cc
|
||||
src/model/SuspendInstanceResult.cc
|
||||
src/model/UpdateBusinessRequest.cc
|
||||
src/model/UpdateBusinessResult.cc
|
||||
src/model/UpdateConnectionRequest.cc
|
||||
src/model/UpdateConnectionResult.cc
|
||||
src/model/UpdateDataServiceApiRequest.cc
|
||||
src/model/UpdateDataServiceApiResult.cc
|
||||
src/model/UpdateFileRequest.cc
|
||||
src/model/UpdateFileResult.cc
|
||||
src/model/UpdateFolderRequest.cc
|
||||
src/model/UpdateFolderResult.cc
|
||||
src/model/UpdateMetaCategoryRequest.cc
|
||||
src/model/UpdateMetaCategoryResult.cc
|
||||
src/model/UpdateMetaTableRequest.cc
|
||||
src/model/UpdateMetaTableResult.cc
|
||||
src/model/UpdateMetaTableIntroWikiRequest.cc
|
||||
src/model/UpdateMetaTableIntroWikiResult.cc
|
||||
src/model/UpdateQualityFollowerRequest.cc
|
||||
src/model/UpdateQualityFollowerResult.cc
|
||||
src/model/UpdateQualityRuleRequest.cc
|
||||
src/model/UpdateQualityRuleResult.cc
|
||||
src/model/UpdateRemindRequest.cc
|
||||
src/model/UpdateRemindResult.cc
|
||||
src/model/UpdateTableRequest.cc
|
||||
src/model/UpdateTableResult.cc
|
||||
src/model/UpdateTableLevelRequest.cc
|
||||
src/model/UpdateTableLevelResult.cc
|
||||
src/model/UpdateTableModelInfoRequest.cc
|
||||
src/model/UpdateTableModelInfoResult.cc
|
||||
src/model/UpdateTableThemeRequest.cc
|
||||
src/model/UpdateTableThemeResult.cc
|
||||
src/model/UpdateUdfFileRequest.cc
|
||||
src/model/UpdateUdfFileResult.cc )
|
||||
src/model/DescribeEmrHiveTableRequest.cc
|
||||
src/model/DescribeEmrHiveTableResult.cc
|
||||
src/model/ListEmrHiveAuditLogsRequest.cc
|
||||
src/model/ListEmrHiveAuditLogsResult.cc
|
||||
src/model/ListEmrHiveDatabasesRequest.cc
|
||||
src/model/ListEmrHiveDatabasesResult.cc
|
||||
src/model/ListEmrHiveTablesRequest.cc
|
||||
src/model/ListEmrHiveTablesResult.cc
|
||||
src/model/ListHiveColumnLineagesRequest.cc
|
||||
src/model/ListHiveColumnLineagesResult.cc
|
||||
src/model/ListHiveTableLineagesRequest.cc
|
||||
src/model/ListHiveTableLineagesResult.cc
|
||||
src/model/ListTablePartitionsRequest.cc
|
||||
src/model/ListTablePartitionsResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/QueryRealTimeProcessStatusRequest.cc
|
||||
src/model/QueryRealTimeProcessStatusResult.cc
|
||||
src/model/SearchManualDagNodeInstanceRequest.cc
|
||||
src/model/SearchManualDagNodeInstanceResult.cc
|
||||
src/model/SendTaskMetaCallbackRequest.cc
|
||||
src/model/SendTaskMetaCallbackResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UnTagResourcesRequest.cc
|
||||
src/model/UnTagResourcesResult.cc )
|
||||
|
||||
add_library(dataworks-public ${LIB_TYPE}
|
||||
${dataworks-public_public_header}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_ABOLISHDATASERVICEAPIRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_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 AbolishDataServiceApiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AbolishDataServiceApiResult();
|
||||
explicit AbolishDataServiceApiResult(const std::string &payload);
|
||||
~AbolishDataServiceApiResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* 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_ADDPROJECTMEMBERTOROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddProjectMemberToRoleRequest();
|
||||
~AddProjectMemberToRoleRequest();
|
||||
|
||||
std::string getRoleCode()const;
|
||||
void setRoleCode(const std::string& roleCode);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string roleCode_;
|
||||
std::string clientToken_;
|
||||
long projectId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMetaCategoryRequest();
|
||||
~DeleteMetaCategoryRequest();
|
||||
CheckCallbackRequest();
|
||||
~CheckCallbackRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
std::string getCallbackResultString()const;
|
||||
void setCallbackResultString(const std::string& callbackResultString);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
std::string callbackResultString_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,25 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDataServiceFolderResult();
|
||||
explicit CreateDataServiceFolderResult(const std::string &payload);
|
||||
~CreateDataServiceFolderResult();
|
||||
long getFolderId()const;
|
||||
CheckCallbackResult();
|
||||
explicit CheckCallbackResult(const std::string &payload);
|
||||
~CheckCallbackResult();
|
||||
std::string getReturnCode()const;
|
||||
bool getReturnValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long folderId_;
|
||||
std::string returnCode_;
|
||||
bool returnValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* 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_CHECKMETAPARTITIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckMetaPartitionRequest();
|
||||
~CheckMetaPartitionRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::string getPartition()const;
|
||||
void setPartition(const std::string& partition);
|
||||
std::string getTableGuid()const;
|
||||
void setTableGuid(const std::string& tableGuid);
|
||||
std::string getDatabaseName()const;
|
||||
void setDatabaseName(const std::string& databaseName);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string partition_;
|
||||
std::string tableGuid_;
|
||||
std::string databaseName_;
|
||||
std::string clusterId_;
|
||||
std::string tableName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CHECKMETAPARTITIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_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 CheckMetaPartitionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckMetaPartitionResult();
|
||||
explicit CheckMetaPartitionResult(const std::string &payload);
|
||||
~CheckMetaPartitionResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* 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_CREATECONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateConnectionRequest();
|
||||
~CreateConnectionRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getSubType()const;
|
||||
void setSubType(const std::string& subType);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getEnvType()const;
|
||||
void setEnvType(int envType);
|
||||
std::string getConnectionType()const;
|
||||
void setConnectionType(const std::string& connectionType);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string content_;
|
||||
std::string subType_;
|
||||
std::string name_;
|
||||
int envType_;
|
||||
std::string connectionType_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* 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_CREATECONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_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 CreateConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateConnectionResult();
|
||||
explicit CreateConnectionResult(const std::string &payload);
|
||||
~CreateConnectionResult();
|
||||
std::string getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string httpStatusCode_;
|
||||
long data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONRESULT_H_
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDAGCOMPLEMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDagComplementRequest();
|
||||
~CreateDagComplementRequest();
|
||||
|
||||
std::string getProjectEnv()const;
|
||||
void setProjectEnv(const std::string& projectEnv);
|
||||
std::string getStartBizDate()const;
|
||||
void setStartBizDate(const std::string& startBizDate);
|
||||
bool getParallelism()const;
|
||||
void setParallelism(bool parallelism);
|
||||
long getRootNodeId()const;
|
||||
void setRootNodeId(long rootNodeId);
|
||||
std::string getBizBeginTime()const;
|
||||
void setBizBeginTime(const std::string& bizBeginTime);
|
||||
std::string getEndBizDate()const;
|
||||
void setEndBizDate(const std::string& endBizDate);
|
||||
std::string getIncludeNodeIds()const;
|
||||
void setIncludeNodeIds(const std::string& includeNodeIds);
|
||||
std::string getBizEndTime()const;
|
||||
void setBizEndTime(const std::string& bizEndTime);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getExcludeNodeIds()const;
|
||||
void setExcludeNodeIds(const std::string& excludeNodeIds);
|
||||
std::string getNodeParams()const;
|
||||
void setNodeParams(const std::string& nodeParams);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
std::string startBizDate_;
|
||||
bool parallelism_;
|
||||
long rootNodeId_;
|
||||
std::string bizBeginTime_;
|
||||
std::string endBizDate_;
|
||||
std::string includeNodeIds_;
|
||||
std::string bizEndTime_;
|
||||
std::string name_;
|
||||
std::string excludeNodeIds_;
|
||||
std::string nodeParams_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDAGCOMPLEMENTRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_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 CreateDagComplementResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDagComplementResult();
|
||||
explicit CreateDagComplementResult(const std::string &payload);
|
||||
~CreateDagComplementResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDAGTESTREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDagTestRequest();
|
||||
~CreateDagTestRequest();
|
||||
|
||||
std::string getProjectEnv()const;
|
||||
void setProjectEnv(const std::string& projectEnv);
|
||||
std::string getBizdate()const;
|
||||
void setBizdate(const std::string& bizdate);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getNodeParams()const;
|
||||
void setNodeParams(const std::string& nodeParams);
|
||||
long getNodeId()const;
|
||||
void setNodeId(long nodeId);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
std::string bizdate_;
|
||||
std::string name_;
|
||||
std::string nodeParams_;
|
||||
long nodeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDAGTESTRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_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 CreateDagTestResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDagTestResult();
|
||||
explicit CreateDagTestResult(const std::string &payload);
|
||||
~CreateDagTestResult();
|
||||
int getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
long data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiAuthorityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDataServiceApiAuthorityRequest();
|
||||
~CreateDataServiceApiAuthorityRequest();
|
||||
|
||||
long getAuthorizedProjectId()const;
|
||||
void setAuthorizedProjectId(long authorizedProjectId);
|
||||
long getTenantId()const;
|
||||
void setTenantId(long tenantId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
long getApiId()const;
|
||||
void setApiId(long apiId);
|
||||
|
||||
private:
|
||||
long authorizedProjectId_;
|
||||
long tenantId_;
|
||||
long endTime_;
|
||||
long projectId_;
|
||||
long apiId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEAPIAUTHORITYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYRESULT_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 CreateDataServiceApiAuthorityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDataServiceApiAuthorityResult();
|
||||
explicit CreateDataServiceApiAuthorityResult(const std::string &payload);
|
||||
~CreateDataServiceApiAuthorityResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYRESULT_H_
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEAPIREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDataServiceApiRequest();
|
||||
~CreateDataServiceApiRequest();
|
||||
|
||||
std::string getScriptDetails()const;
|
||||
void setScriptDetails(const std::string& scriptDetails);
|
||||
int getRequestMethod()const;
|
||||
void setRequestMethod(int requestMethod);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getApiPath()const;
|
||||
void setApiPath(const std::string& apiPath);
|
||||
std::string getWizardDetails()const;
|
||||
void setWizardDetails(const std::string& wizardDetails);
|
||||
int getApiMode()const;
|
||||
void setApiMode(int apiMode);
|
||||
int getVisibleRange()const;
|
||||
void setVisibleRange(int visibleRange);
|
||||
std::string getApiDescription()const;
|
||||
void setApiDescription(const std::string& apiDescription);
|
||||
int getTimeout()const;
|
||||
void setTimeout(int timeout);
|
||||
long getFolderId()const;
|
||||
void setFolderId(long folderId);
|
||||
std::string getRegistrationDetails()const;
|
||||
void setRegistrationDetails(const std::string& registrationDetails);
|
||||
std::string getApiName()const;
|
||||
void setApiName(const std::string& apiName);
|
||||
long getTenantId()const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getProtocols()const;
|
||||
void setProtocols(const std::string& protocols);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
int getResponseContentType()const;
|
||||
void setResponseContentType(int responseContentType);
|
||||
|
||||
private:
|
||||
std::string scriptDetails_;
|
||||
int requestMethod_;
|
||||
std::string groupId_;
|
||||
std::string apiPath_;
|
||||
std::string wizardDetails_;
|
||||
int apiMode_;
|
||||
int visibleRange_;
|
||||
std::string apiDescription_;
|
||||
int timeout_;
|
||||
long folderId_;
|
||||
std::string registrationDetails_;
|
||||
std::string apiName_;
|
||||
long tenantId_;
|
||||
std::string protocols_;
|
||||
long projectId_;
|
||||
int responseContentType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEAPIRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_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 CreateDataServiceApiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDataServiceApiResult();
|
||||
explicit CreateDataServiceApiResult(const std::string &payload);
|
||||
~CreateDataServiceApiResult();
|
||||
int getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
long data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDataServiceFolderRequest();
|
||||
~CreateDataServiceFolderRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getTenantId()const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getFolderName()const;
|
||||
void setFolderName(const std::string& folderName);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
long getParentId()const;
|
||||
void setParentId(long parentId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long tenantId_;
|
||||
std::string folderName_;
|
||||
long projectId_;
|
||||
long parentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEDATASERVICEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDataServiceGroupRequest();
|
||||
~CreateDataServiceGroupRequest();
|
||||
|
||||
std::string getApiGatewayGroupId()const;
|
||||
void setApiGatewayGroupId(const std::string& apiGatewayGroupId);
|
||||
long getTenantId()const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string apiGatewayGroupId_;
|
||||
long tenantId_;
|
||||
std::string description_;
|
||||
long projectId_;
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_
|
||||
@@ -1,114 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFileRequest();
|
||||
~CreateFileRequest();
|
||||
|
||||
int getFileType()const;
|
||||
void setFileType(int fileType);
|
||||
std::string getDependentNodeIdList()const;
|
||||
void setDependentNodeIdList(const std::string& dependentNodeIdList);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getProjectIdentifier()const;
|
||||
void setProjectIdentifier(const std::string& projectIdentifier);
|
||||
long getResourceGroupId()const;
|
||||
void setResourceGroupId(long resourceGroupId);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
long getStartEffectDate()const;
|
||||
void setStartEffectDate(long startEffectDate);
|
||||
std::string getCycleType()const;
|
||||
void setCycleType(const std::string& cycleType);
|
||||
std::string getOwner()const;
|
||||
void setOwner(const std::string& owner);
|
||||
int getAutoRerunIntervalMillis()const;
|
||||
void setAutoRerunIntervalMillis(int autoRerunIntervalMillis);
|
||||
std::string getInputList()const;
|
||||
void setInputList(const std::string& inputList);
|
||||
std::string getRerunMode()const;
|
||||
void setRerunMode(const std::string& rerunMode);
|
||||
std::string getConnectionName()const;
|
||||
void setConnectionName(const std::string& connectionName);
|
||||
std::string getParaValue()const;
|
||||
void setParaValue(const std::string& paraValue);
|
||||
std::string getResourceGroupIdentifier()const;
|
||||
void setResourceGroupIdentifier(const std::string& resourceGroupIdentifier);
|
||||
int getAutoRerunTimes()const;
|
||||
void setAutoRerunTimes(int autoRerunTimes);
|
||||
std::string getCronExpress()const;
|
||||
void setCronExpress(const std::string& cronExpress);
|
||||
long getEndEffectDate()const;
|
||||
void setEndEffectDate(long endEffectDate);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
bool getStop()const;
|
||||
void setStop(bool stop);
|
||||
std::string getDependentType()const;
|
||||
void setDependentType(const std::string& dependentType);
|
||||
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 dependentNodeIdList_;
|
||||
std::string content_;
|
||||
std::string projectIdentifier_;
|
||||
long resourceGroupId_;
|
||||
long projectId_;
|
||||
long startEffectDate_;
|
||||
std::string cycleType_;
|
||||
std::string owner_;
|
||||
int autoRerunIntervalMillis_;
|
||||
std::string inputList_;
|
||||
std::string rerunMode_;
|
||||
std::string connectionName_;
|
||||
std::string paraValue_;
|
||||
std::string resourceGroupIdentifier_;
|
||||
int autoRerunTimes_;
|
||||
std::string cronExpress_;
|
||||
long endEffectDate_;
|
||||
std::string fileName_;
|
||||
bool stop_;
|
||||
std::string dependentType_;
|
||||
std::string fileFolderPath_;
|
||||
std::string fileDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_
|
||||
@@ -35,26 +35,23 @@ namespace AlibabaCloud
|
||||
CreateManualDagRequest();
|
||||
~CreateManualDagRequest();
|
||||
|
||||
std::string getProjectEnv()const;
|
||||
void setProjectEnv(const std::string& projectEnv);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getBizDate()const;
|
||||
void setBizDate(const std::string& bizDate);
|
||||
std::string getBizdate()const;
|
||||
void setBizdate(const std::string& bizdate);
|
||||
std::string getFlowName()const;
|
||||
void setFlowName(const std::string& flowName);
|
||||
std::string getDagParameters()const;
|
||||
void setDagParameters(const std::string& dagParameters);
|
||||
std::string getNodeParameters()const;
|
||||
void setNodeParameters(const std::string& nodeParameters);
|
||||
std::string getDagPara()const;
|
||||
void setDagPara(const std::string& dagPara);
|
||||
std::string getNodePara()const;
|
||||
void setNodePara(const std::string& nodePara);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
std::string projectName_;
|
||||
std::string bizDate_;
|
||||
std::string bizdate_;
|
||||
std::string flowName_;
|
||||
std::string dagParameters_;
|
||||
std::string nodeParameters_;
|
||||
std::string dagPara_;
|
||||
std::string nodePara_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
CreateManualDagResult();
|
||||
explicit CreateManualDagResult(const std::string &payload);
|
||||
~CreateManualDagResult();
|
||||
long getDagId()const;
|
||||
std::string getReturnErrorSolution()const;
|
||||
std::string getReturnCode()const;
|
||||
std::string getReturnMessage()const;
|
||||
long getReturnValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long dagId_;
|
||||
std::string returnErrorSolution_;
|
||||
std::string returnCode_;
|
||||
std::string returnMessage_;
|
||||
long returnValue_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEMETACATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMetaCategoryRequest();
|
||||
~CreateMetaCategoryRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getComment()const;
|
||||
void setComment(const std::string& comment);
|
||||
long getParentId()const;
|
||||
void setParentId(long parentId);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
std::string comment_;
|
||||
long parentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateQualityEntityRequest();
|
||||
~CreateQualityEntityRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
int getEntityLevel()const;
|
||||
void setEntityLevel(int entityLevel);
|
||||
std::string getMatchExpression()const;
|
||||
void setMatchExpression(const std::string& matchExpression);
|
||||
std::string getEnvType()const;
|
||||
void setEnvType(const std::string& envType);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
int entityLevel_;
|
||||
std::string matchExpression_;
|
||||
std::string envType_;
|
||||
std::string tableName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_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 CreateQualityEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateQualityEntityResult();
|
||||
explicit CreateQualityEntityResult(const std::string &payload);
|
||||
~CreateQualityEntityResult();
|
||||
int getHttpStatusCode()const;
|
||||
int getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
int data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYFOLLOWERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateQualityFollowerRequest();
|
||||
~CreateQualityFollowerRequest();
|
||||
|
||||
int getAlarmMode()const;
|
||||
void setAlarmMode(int alarmMode);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getFollower()const;
|
||||
void setFollower(const std::string& follower);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
int alarmMode_;
|
||||
std::string projectName_;
|
||||
std::string follower_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYFOLLOWERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_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 CreateQualityFollowerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateQualityFollowerResult();
|
||||
explicit CreateQualityFollowerResult(const std::string &payload);
|
||||
~CreateQualityFollowerResult();
|
||||
int getHttpStatusCode()const;
|
||||
int getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
int data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYRELATIVENODEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateQualityRelativeNodeRequest();
|
||||
~CreateQualityRelativeNodeRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getTargetNodeProjectId()const;
|
||||
void setTargetNodeProjectId(long targetNodeProjectId);
|
||||
std::string getMatchExpression()const;
|
||||
void setMatchExpression(const std::string& matchExpression);
|
||||
std::string getEnvType()const;
|
||||
void setEnvType(const std::string& envType);
|
||||
std::string getTargetNodeProjectName()const;
|
||||
void setTargetNodeProjectName(const std::string& targetNodeProjectName);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
long getNodeId()const;
|
||||
void setNodeId(long nodeId);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long targetNodeProjectId_;
|
||||
std::string matchExpression_;
|
||||
std::string envType_;
|
||||
std::string targetNodeProjectName_;
|
||||
std::string tableName_;
|
||||
long nodeId_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYRELATIVENODERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_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 CreateQualityRelativeNodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateQualityRelativeNodeResult();
|
||||
explicit CreateQualityRelativeNodeResult(const std::string &payload);
|
||||
~CreateQualityRelativeNodeResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODERESULT_H_
|
||||
@@ -1,99 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateQualityRuleRequest();
|
||||
~CreateQualityRuleRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getTrend()const;
|
||||
void setTrend(const std::string& trend);
|
||||
int getRuleType()const;
|
||||
void setRuleType(int ruleType);
|
||||
int getBlockType()const;
|
||||
void setBlockType(int blockType);
|
||||
std::string getPropertyType()const;
|
||||
void setPropertyType(const std::string& propertyType);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
int getChecker()const;
|
||||
void setChecker(int checker);
|
||||
int getTemplateId()const;
|
||||
void setTemplateId(int templateId);
|
||||
std::string getExpectValue()const;
|
||||
void setExpectValue(const std::string& expectValue);
|
||||
std::string get_Operator()const;
|
||||
void set_Operator(const std::string& _operator);
|
||||
std::string getWhereCondition()const;
|
||||
void setWhereCondition(const std::string& whereCondition);
|
||||
std::string getCriticalThreshold()const;
|
||||
void setCriticalThreshold(const std::string& criticalThreshold);
|
||||
std::string getProperty()const;
|
||||
void setProperty(const std::string& property);
|
||||
std::string getComment()const;
|
||||
void setComment(const std::string& comment);
|
||||
int getPredictType()const;
|
||||
void setPredictType(int predictType);
|
||||
std::string getWarningThreshold()const;
|
||||
void setWarningThreshold(const std::string& warningThreshold);
|
||||
std::string getMethodName()const;
|
||||
void setMethodName(const std::string& methodName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string trend_;
|
||||
int ruleType_;
|
||||
int blockType_;
|
||||
std::string propertyType_;
|
||||
long entityId_;
|
||||
std::string ruleName_;
|
||||
int checker_;
|
||||
int templateId_;
|
||||
std::string expectValue_;
|
||||
std::string _operator_;
|
||||
std::string whereCondition_;
|
||||
std::string criticalThreshold_;
|
||||
std::string property_;
|
||||
std::string comment_;
|
||||
int predictType_;
|
||||
std::string warningThreshold_;
|
||||
std::string methodName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEQUALITYRULERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_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 CreateQualityRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateQualityRuleResult();
|
||||
explicit CreateQualityRuleResult(const std::string &payload);
|
||||
~CreateQualityRuleResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_CREATEREALTIMEPROCESSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRealTimeProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRealTimeProcessRequest();
|
||||
~CreateRealTimeProcessRequest();
|
||||
|
||||
std::string getUid()const;
|
||||
void setUid(const std::string& uid);
|
||||
std::string getTables()const;
|
||||
void setTables(const std::string& tables);
|
||||
std::string getJobConfig()const;
|
||||
void setJobConfig(const std::string& jobConfig);
|
||||
std::string getDataSource()const;
|
||||
void setDataSource(const std::string& dataSource);
|
||||
bool getCreateResGroup()const;
|
||||
void setCreateResGroup(bool createResGroup);
|
||||
std::string getDataworksVersion()const;
|
||||
void setDataworksVersion(const std::string& dataworksVersion);
|
||||
std::string getResourceSpec()const;
|
||||
void setResourceSpec(const std::string& resourceSpec);
|
||||
std::string getTableRule()const;
|
||||
void setTableRule(const std::string& tableRule);
|
||||
|
||||
private:
|
||||
std::string uid_;
|
||||
std::string tables_;
|
||||
std::string jobConfig_;
|
||||
std::string dataSource_;
|
||||
bool createResGroup_;
|
||||
std::string dataworksVersion_;
|
||||
std::string resourceSpec_;
|
||||
std::string tableRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,30 +29,31 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRealTimeProcessResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
std::string taskId;
|
||||
std::string content;
|
||||
std::string nextTaskId;
|
||||
};
|
||||
|
||||
|
||||
GetDDLJobStatusResult();
|
||||
explicit GetDDLJobStatusResult(const std::string &payload);
|
||||
~GetDDLJobStatusResult();
|
||||
CreateRealTimeProcessResult();
|
||||
explicit CreateRealTimeProcessResult(const std::string &payload);
|
||||
~CreateRealTimeProcessResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREALTIMEPROCESSRESULT_H_
|
||||
@@ -1,90 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEREMINDREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRemindRequest();
|
||||
~CreateRemindRequest();
|
||||
|
||||
std::string getDndEnd()const;
|
||||
void setDndEnd(const std::string& dndEnd);
|
||||
std::string getAlertUnit()const;
|
||||
void setAlertUnit(const std::string& alertUnit);
|
||||
std::string getRemindUnit()const;
|
||||
void setRemindUnit(const std::string& remindUnit);
|
||||
int getAlertInterval()const;
|
||||
void setAlertInterval(int alertInterval);
|
||||
std::string getAlertMethods()const;
|
||||
void setAlertMethods(const std::string& alertMethods);
|
||||
std::string getRobotUrls()const;
|
||||
void setRobotUrls(const std::string& robotUrls);
|
||||
int getMaxAlertTimes()const;
|
||||
void setMaxAlertTimes(int maxAlertTimes);
|
||||
std::string getBizProcessIds()const;
|
||||
void setBizProcessIds(const std::string& bizProcessIds);
|
||||
std::string getRemindType()const;
|
||||
void setRemindType(const std::string& remindType);
|
||||
std::string getAlertTargets()const;
|
||||
void setAlertTargets(const std::string& alertTargets);
|
||||
std::string getBaselineIds()const;
|
||||
void setBaselineIds(const std::string& baselineIds);
|
||||
std::string getDetail()const;
|
||||
void setDetail(const std::string& detail);
|
||||
std::string getRemindName()const;
|
||||
void setRemindName(const std::string& remindName);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getNodeIds()const;
|
||||
void setNodeIds(const std::string& nodeIds);
|
||||
|
||||
private:
|
||||
std::string dndEnd_;
|
||||
std::string alertUnit_;
|
||||
std::string remindUnit_;
|
||||
int alertInterval_;
|
||||
std::string alertMethods_;
|
||||
std::string robotUrls_;
|
||||
int maxAlertTimes_;
|
||||
std::string bizProcessIds_;
|
||||
std::string remindType_;
|
||||
std::string alertTargets_;
|
||||
std::string baselineIds_;
|
||||
std::string detail_;
|
||||
std::string remindName_;
|
||||
long projectId_;
|
||||
std::string nodeIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEREMINDRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_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 CreateRemindResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateRemindResult();
|
||||
explicit CreateRemindResult(const std::string &payload);
|
||||
~CreateRemindResult();
|
||||
int getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
long data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDRESULT_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATETABLELEVELRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELRESULT_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 CreateTableLevelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTableLevelResult();
|
||||
explicit CreateTableLevelResult(const std::string &payload);
|
||||
~CreateTableLevelResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getLevelId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long levelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELRESULT_H_
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* 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_CREATETABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Columns
|
||||
{
|
||||
int seqNumber;
|
||||
int isPartitionCol;
|
||||
std::string columnNameCn;
|
||||
int length;
|
||||
int isNullable;
|
||||
std::string comment;
|
||||
int isPrimaryKey;
|
||||
std::string columnName;
|
||||
std::string columnType;
|
||||
};
|
||||
struct Themes
|
||||
{
|
||||
int themeLevel;
|
||||
long themeId;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateTableRequest();
|
||||
~CreateTableRequest();
|
||||
|
||||
int getVisibility()const;
|
||||
void setVisibility(int visibility);
|
||||
long getPhysicsLevelId()const;
|
||||
void setPhysicsLevelId(long physicsLevelId);
|
||||
std::vector<Columns> getColumns()const;
|
||||
void setColumns(const std::vector<Columns>& columns);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getLifeCycle()const;
|
||||
void setLifeCycle(int lifeCycle);
|
||||
std::vector<Themes> getThemes()const;
|
||||
void setThemes(const std::vector<Themes>& themes);
|
||||
long getLogicalLevelId()const;
|
||||
void setLogicalLevelId(long logicalLevelId);
|
||||
std::string getEndpoint()const;
|
||||
void setEndpoint(const std::string& endpoint);
|
||||
int getIsView()const;
|
||||
void setIsView(int isView);
|
||||
std::string getExternalTableType()const;
|
||||
void setExternalTableType(const std::string& externalTableType);
|
||||
int getEnvType()const;
|
||||
void setEnvType(int envType);
|
||||
int getHasPart()const;
|
||||
void setHasPart(int hasPart);
|
||||
std::string getLocation()const;
|
||||
void setLocation(const std::string& location);
|
||||
std::string getComment()const;
|
||||
void setComment(const std::string& comment);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getAppGuid()const;
|
||||
void setAppGuid(const std::string& appGuid);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
int visibility_;
|
||||
long physicsLevelId_;
|
||||
std::vector<Columns> columns_;
|
||||
std::string ownerId_;
|
||||
int lifeCycle_;
|
||||
std::vector<Themes> themes_;
|
||||
long logicalLevelId_;
|
||||
std::string endpoint_;
|
||||
int isView_;
|
||||
std::string externalTableType_;
|
||||
int envType_;
|
||||
int hasPart_;
|
||||
std::string location_;
|
||||
std::string comment_;
|
||||
std::string tableName_;
|
||||
std::string appGuid_;
|
||||
long projectId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATETABLETHEMERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMERESULT_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 CreateTableThemeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTableThemeResult();
|
||||
explicit CreateTableThemeResult(const std::string &payload);
|
||||
~CreateTableThemeResult();
|
||||
long getThemeId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long themeId_;
|
||||
int httpStatusCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMERESULT_H_
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEUDFFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUdfFileRequest();
|
||||
~CreateUdfFileRequest();
|
||||
|
||||
std::string getReturnValue()const;
|
||||
void setReturnValue(const std::string& returnValue);
|
||||
std::string getResources()const;
|
||||
void setResources(const std::string& resources);
|
||||
std::string getFunctionType()const;
|
||||
void setFunctionType(const std::string& functionType);
|
||||
std::string getCmdDescription()const;
|
||||
void setCmdDescription(const std::string& cmdDescription);
|
||||
std::string getUdfDescription()const;
|
||||
void setUdfDescription(const std::string& udfDescription);
|
||||
std::string getParameterDescription()const;
|
||||
void setParameterDescription(const std::string& parameterDescription);
|
||||
std::string getProjectIdentifier()const;
|
||||
void setProjectIdentifier(const std::string& projectIdentifier);
|
||||
std::string getExample()const;
|
||||
void setExample(const std::string& example);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getClassName()const;
|
||||
void setClassName(const std::string& className);
|
||||
std::string getFileFolderPath()const;
|
||||
void setFileFolderPath(const std::string& fileFolderPath);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string returnValue_;
|
||||
std::string resources_;
|
||||
std::string functionType_;
|
||||
std::string cmdDescription_;
|
||||
std::string udfDescription_;
|
||||
std::string parameterDescription_;
|
||||
std::string projectIdentifier_;
|
||||
std::string example_;
|
||||
std::string fileName_;
|
||||
std::string className_;
|
||||
std::string fileFolderPath_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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_CREATEUDFFILERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_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 CreateUdfFileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUdfFileResult();
|
||||
explicit CreateUdfFileResult(const std::string &payload);
|
||||
~CreateUdfFileResult();
|
||||
int getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
long data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILERESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user