Compare commits

..

22 Commits

Author SHA1 Message Date
sdk-team
17022a6777 Supported TAG APIs. 2020-10-15 09:07:42 +00:00
sdk-team
62a9619911 Add SaveTraceAppConfig api. 2020-10-15 09:04:02 +00:00
sdk-team
4da74afbab Generated 2018-06-01 for dataworks-public. 2020-10-15 07:28:15 +00:00
sdk-team
5c2b2e4afc Generated 2018-06-01 for dataworks-public. 2020-10-15 07:22:03 +00:00
sdk-team
72d59ded68 Generated 2014-05-26 for Ecs. 2020-10-14 14:41:31 +00:00
sdk-team
b5c0b83b02 ListActionData add parameters. 2020-10-13 08:48:43 +00:00
sdk-team
1abc39e9d1 Generated 2018-01-11 for rtc. 2020-10-13 07:49:47 +00:00
sdk-team
65262923e4 Release DetectSkinDisease RunMedQA. 2020-10-13 03:06:51 +00:00
sdk-team
4830e8821e Generated 2016-11-01 for live. 2020-10-13 03:06:08 +00:00
sdk-team
1a9c4d4d9c Generated 2018-01-11 for rtc. 2020-10-13 03:04:16 +00:00
sdk-team
c707baa95b Generated 2018-12-12 for vs. 2020-10-13 03:03:11 +00:00
sdk-team
5d7d320deb Release PedestrianDetectAttribute. 2020-10-13 03:01:48 +00:00
sdk-team
96b3defcc9 Release GenerateDynamicImage. 2020-10-13 02:45:13 +00:00
sdk-team
134828d83c Generated 2019-01-01 for Cassandra. 2020-10-13 02:40:57 +00:00
sdk-team
2f33b44e80 Release SegmentSkin. 2020-10-13 02:12:54 +00:00
sdk-team
90802f9197 Support add webhook, get repository info via id or path. 2020-10-12 10:08:08 +00:00
sdk-team
f5fe7fb428 Public beta version. 2020-10-12 08:50:53 +00:00
wb-hx510875
f5057db511 doc : add Troubleshoot 2020-10-12 16:39:22 +08:00
sdk-team
897ff18471 Public beta version. 2020-10-12 07:55:48 +00:00
sdk-team
a15ee90c20 Supported ApproveOrder to add comment message. 2020-10-12 07:07:42 +00:00
sdk-team
11024b7871 Add list Organizations. 2020-10-12 05:19:10 +00:00
sdk-team
37fea59cb0 Init. 2020-10-12 02:41:02 +00:00
685 changed files with 16661 additions and 37471 deletions

View File

@@ -1,3 +1,69 @@
2020-10-15 Version: patch
- Supported TAG APIs.
2020-10-15 Version: patch
- Add SaveTraceAppConfig api.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-14 Version: patch
- Generated 2014-05-26 for `Ecs`.
2020-10-13 Version: patch
- ListActionData add parameters.
- PullActionData add parameters.
2020-10-13 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-10-13 Version: patch
- Release DetectSkinDisease RunMedQA.
2020-10-13 Version: patch
- Generated 2016-11-01 for `live`.
2020-10-13 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-10-13 Version: patch
- Generated 2018-12-12 for `vs`.
2020-10-13 Version: patch
- Release PedestrianDetectAttribute.
2020-10-13 Version: patch
- Release GenerateDynamicImage.
2020-10-13 Version: patch
- Generated 2019-01-01 for `Cassandra`.
2020-10-13 Version: patch
- Release SegmentSkin.
2020-10-12 Version: patch
- Support add webhook, get repository info via id or path.
2020-10-12 Version: patch
- Public beta version.
- Add Api Overseas.
2020-10-12 Version: patch
- Public beta version.
- Add Api Overseas.
2020-10-12 Version: patch
- Supported ApproveOrder to add comment message.
2020-10-12 Version: patch
- Add list Organizations.
2020-10-12 Version: patch
- Init.
2020-10-12 Version: patch
- ChatApp third version.
- Add contack check api.

View File

@@ -15,6 +15,9 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
## 使用诊断
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) 提供 OpenAPI 使用诊断服务,通过 `RequestID``报错信息` ,帮助开发者快速定位,为开发者提供解决方案。
## 环境要求
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:

View File

@@ -17,6 +17,9 @@ This document introduces how to obtain and call this SDK.
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
## Troubleshoot
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through `RequestID` or `error message`.
## Requirements
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesResult : public ServiceResult
{
public:
struct Data
struct ConferencesDatas
{
struct Data
{
@@ -57,16 +57,16 @@ namespace AlibabaCloud
ListConferenceDevicesResult();
explicit ListConferenceDevicesResult(const std::string &payload);
~ListConferenceDevicesResult();
ConferencesDatas getConferencesDatas()const;
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
ConferencesDatas conferencesDatas_;
std::string message_;
Data data_;
int errorCode_;
bool success_;

View File

@@ -39,38 +39,38 @@ void ListConferenceDevicesResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Total"].isNull())
data_.total = std::stoi(dataNode["Total"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allConferencesNode = dataNode["Conferences"]["data"];
for (auto dataNodeConferencesdata : allConferencesNode)
auto conferencesDatasNode = value["ConferencesDatas"];
if(!conferencesDatasNode["Total"].isNull())
conferencesDatas_.total = std::stoi(conferencesDatasNode["Total"].asString());
if(!conferencesDatasNode["PageSize"].isNull())
conferencesDatas_.pageSize = std::stoi(conferencesDatasNode["PageSize"].asString());
if(!conferencesDatasNode["PageNumber"].isNull())
conferencesDatas_.pageNumber = std::stoi(conferencesDatasNode["PageNumber"].asString());
auto allConferencesNode = conferencesDatasNode["Conferences"]["data"];
for (auto conferencesDatasNodeConferencesdata : allConferencesNode)
{
Data::Data dataObject;
if(!dataNodeConferencesdata["ActivationCode"].isNull())
dataObject.activationCode = dataNodeConferencesdata["ActivationCode"].asString();
if(!dataNodeConferencesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = dataNodeConferencesdata["ConferenceCode"].asString();
if(!dataNodeConferencesdata["ConferenceName"].isNull())
dataObject.conferenceName = dataNodeConferencesdata["ConferenceName"].asString();
if(!dataNodeConferencesdata["CreateTime"].isNull())
dataObject.createTime = dataNodeConferencesdata["CreateTime"].asString();
if(!dataNodeConferencesdata["DeviceModel"].isNull())
dataObject.deviceModel = dataNodeConferencesdata["DeviceModel"].asString();
if(!dataNodeConferencesdata["Manufacturer"].isNull())
dataObject.manufacturer = dataNodeConferencesdata["Manufacturer"].asString();
if(!dataNodeConferencesdata["PictureUrl"].isNull())
dataObject.pictureUrl = dataNodeConferencesdata["PictureUrl"].asString();
if(!dataNodeConferencesdata["SN"].isNull())
dataObject.sN = dataNodeConferencesdata["SN"].asString();
if(!dataNodeConferencesdata["Status"].isNull())
dataObject.status = dataNodeConferencesdata["Status"].asString();
if(!dataNodeConferencesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = dataNodeConferencesdata["CastScreenCode"].asString();
data_.conferences.push_back(dataObject);
ConferencesDatas::Data dataObject;
if(!conferencesDatasNodeConferencesdata["ActivationCode"].isNull())
dataObject.activationCode = conferencesDatasNodeConferencesdata["ActivationCode"].asString();
if(!conferencesDatasNodeConferencesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = conferencesDatasNodeConferencesdata["ConferenceCode"].asString();
if(!conferencesDatasNodeConferencesdata["ConferenceName"].isNull())
dataObject.conferenceName = conferencesDatasNodeConferencesdata["ConferenceName"].asString();
if(!conferencesDatasNodeConferencesdata["CreateTime"].isNull())
dataObject.createTime = conferencesDatasNodeConferencesdata["CreateTime"].asString();
if(!conferencesDatasNodeConferencesdata["DeviceModel"].isNull())
dataObject.deviceModel = conferencesDatasNodeConferencesdata["DeviceModel"].asString();
if(!conferencesDatasNodeConferencesdata["Manufacturer"].isNull())
dataObject.manufacturer = conferencesDatasNodeConferencesdata["Manufacturer"].asString();
if(!conferencesDatasNodeConferencesdata["PictureUrl"].isNull())
dataObject.pictureUrl = conferencesDatasNodeConferencesdata["PictureUrl"].asString();
if(!conferencesDatasNodeConferencesdata["SN"].isNull())
dataObject.sN = conferencesDatasNodeConferencesdata["SN"].asString();
if(!conferencesDatasNodeConferencesdata["Status"].isNull())
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
conferencesDatas_.conferences.push_back(dataObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
@@ -81,16 +81,16 @@ void ListConferenceDevicesResult::parse(const std::string &payload)
}
ListConferenceDevicesResult::ConferencesDatas ListConferenceDevicesResult::getConferencesDatas()const
{
return conferencesDatas_;
}
std::string ListConferenceDevicesResult::getMessage()const
{
return message_;
}
ListConferenceDevicesResult::Data ListConferenceDevicesResult::getData()const
{
return data_;
}
int ListConferenceDevicesResult::getErrorCode()const
{
return errorCode_;

View File

@@ -37,6 +37,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/CreateAlertContactGroupResult.h
include/alibabacloud/arms/model/CreateRetcodeAppRequest.h
include/alibabacloud/arms/model/CreateRetcodeAppResult.h
include/alibabacloud/arms/model/CreateWehookRequest.h
include/alibabacloud/arms/model/CreateWehookResult.h
include/alibabacloud/arms/model/DeleteAlertContactRequest.h
include/alibabacloud/arms/model/DeleteAlertContactResult.h
include/alibabacloud/arms/model/DeleteAlertContactGroupRequest.h
@@ -87,6 +89,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/QueryMetricResult.h
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
include/alibabacloud/arms/model/QueryMetricByPageResult.h
include/alibabacloud/arms/model/SaveTraceAppConfigRequest.h
include/alibabacloud/arms/model/SaveTraceAppConfigResult.h
include/alibabacloud/arms/model/SearchAlertContactRequest.h
include/alibabacloud/arms/model/SearchAlertContactResult.h
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
@@ -118,7 +122,9 @@ set(arms_public_header_model
include/alibabacloud/arms/model/UpdateAlertContactGroupRequest.h
include/alibabacloud/arms/model/UpdateAlertContactGroupResult.h
include/alibabacloud/arms/model/UpdateAlertRuleRequest.h
include/alibabacloud/arms/model/UpdateAlertRuleResult.h )
include/alibabacloud/arms/model/UpdateAlertRuleResult.h
include/alibabacloud/arms/model/UpdateWebhookRequest.h
include/alibabacloud/arms/model/UpdateWebhookResult.h )
set(arms_src
src/ARMSClient.cc
@@ -138,6 +144,8 @@ set(arms_src
src/model/CreateAlertContactGroupResult.cc
src/model/CreateRetcodeAppRequest.cc
src/model/CreateRetcodeAppResult.cc
src/model/CreateWehookRequest.cc
src/model/CreateWehookResult.cc
src/model/DeleteAlertContactRequest.cc
src/model/DeleteAlertContactResult.cc
src/model/DeleteAlertContactGroupRequest.cc
@@ -188,6 +196,8 @@ set(arms_src
src/model/QueryMetricResult.cc
src/model/QueryMetricByPageRequest.cc
src/model/QueryMetricByPageResult.cc
src/model/SaveTraceAppConfigRequest.cc
src/model/SaveTraceAppConfigResult.cc
src/model/SearchAlertContactRequest.cc
src/model/SearchAlertContactResult.cc
src/model/SearchAlertContactGroupRequest.cc
@@ -219,7 +229,9 @@ set(arms_src
src/model/UpdateAlertContactGroupRequest.cc
src/model/UpdateAlertContactGroupResult.cc
src/model/UpdateAlertRuleRequest.cc
src/model/UpdateAlertRuleResult.cc )
src/model/UpdateAlertRuleResult.cc
src/model/UpdateWebhookRequest.cc
src/model/UpdateWebhookResult.cc )
add_library(arms ${LIB_TYPE}
${arms_public_header}

View File

@@ -38,6 +38,8 @@
#include "model/CreateAlertContactGroupResult.h"
#include "model/CreateRetcodeAppRequest.h"
#include "model/CreateRetcodeAppResult.h"
#include "model/CreateWehookRequest.h"
#include "model/CreateWehookResult.h"
#include "model/DeleteAlertContactRequest.h"
#include "model/DeleteAlertContactResult.h"
#include "model/DeleteAlertContactGroupRequest.h"
@@ -88,6 +90,8 @@
#include "model/QueryMetricResult.h"
#include "model/QueryMetricByPageRequest.h"
#include "model/QueryMetricByPageResult.h"
#include "model/SaveTraceAppConfigRequest.h"
#include "model/SaveTraceAppConfigResult.h"
#include "model/SearchAlertContactRequest.h"
#include "model/SearchAlertContactResult.h"
#include "model/SearchAlertContactGroupRequest.h"
@@ -120,6 +124,8 @@
#include "model/UpdateAlertContactGroupResult.h"
#include "model/UpdateAlertRuleRequest.h"
#include "model/UpdateAlertRuleResult.h"
#include "model/UpdateWebhookRequest.h"
#include "model/UpdateWebhookResult.h"
namespace AlibabaCloud
@@ -153,6 +159,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::CreateWehookResult> CreateWehookOutcome;
typedef std::future<CreateWehookOutcome> CreateWehookOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CreateWehookRequest&, const CreateWehookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWehookAsyncHandler;
typedef Outcome<Error, Model::DeleteAlertContactResult> DeleteAlertContactOutcome;
typedef std::future<DeleteAlertContactOutcome> DeleteAlertContactOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactRequest&, const DeleteAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactAsyncHandler;
@@ -228,6 +237,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
typedef Outcome<Error, Model::SaveTraceAppConfigResult> SaveTraceAppConfigOutcome;
typedef std::future<SaveTraceAppConfigOutcome> SaveTraceAppConfigOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SaveTraceAppConfigRequest&, const SaveTraceAppConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveTraceAppConfigAsyncHandler;
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
@@ -276,6 +288,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
typedef Outcome<Error, Model::UpdateWebhookResult> UpdateWebhookOutcome;
typedef std::future<UpdateWebhookOutcome> UpdateWebhookOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::UpdateWebhookRequest&, const UpdateWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWebhookAsyncHandler;
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -305,6 +320,9 @@ namespace AlibabaCloud
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
CreateWehookOutcome createWehook(const Model::CreateWehookRequest &request)const;
void createWehookAsync(const Model::CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateWehookOutcomeCallable createWehookCallable(const Model::CreateWehookRequest& request) const;
DeleteAlertContactOutcome deleteAlertContact(const Model::DeleteAlertContactRequest &request)const;
void deleteAlertContactAsync(const Model::DeleteAlertContactRequest& request, const DeleteAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAlertContactOutcomeCallable deleteAlertContactCallable(const Model::DeleteAlertContactRequest& request) const;
@@ -380,6 +398,9 @@ namespace AlibabaCloud
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
SaveTraceAppConfigOutcome saveTraceAppConfig(const Model::SaveTraceAppConfigRequest &request)const;
void saveTraceAppConfigAsync(const Model::SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveTraceAppConfigOutcomeCallable saveTraceAppConfigCallable(const Model::SaveTraceAppConfigRequest& request) const;
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
@@ -428,6 +449,9 @@ namespace AlibabaCloud
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
UpdateWebhookOutcome updateWebhook(const Model::UpdateWebhookRequest &request)const;
void updateWebhookAsync(const Model::UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateWebhookOutcomeCallable updateWebhookCallable(const Model::UpdateWebhookRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -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_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT CreateWehookRequest : public RpcServiceRequest
{
public:
CreateWehookRequest();
~CreateWehookRequest();
std::string getHeaders()const;
void setHeaders(const std::string& headers);
std::string getMethod()const;
void setMethod(const std::string& method);
std::string getParams()const;
void setParams(const std::string& params);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getBody()const;
void setBody(const std::string& body);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string headers_;
std::string method_;
std::string params_;
std::string proxyUserId_;
std::string body_;
std::string url_;
std::string contactName_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_

View File

@@ -14,36 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT CreateWehookResult : public ServiceResult
{
public:
AddProjectMemberToRoleResult();
explicit AddProjectMemberToRoleResult(const std::string &payload);
~AddProjectMemberToRoleResult();
CreateWehookResult();
explicit CreateWehookResult(const std::string &payload);
~CreateWehookResult();
std::string getContactId()const;
protected:
void parse(const std::string &payload);
private:
std::string contactId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_

View File

@@ -14,38 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigRequest : public RpcServiceRequest
{
public:
struct Settings
{
std::string value;
std::string key;
};
public:
CheckMetaPartitionRequest();
~CheckMetaPartitionRequest();
SaveTraceAppConfigRequest();
~SaveTraceAppConfigRequest();
std::string getPartition()const;
void setPartition(const std::string& partition);
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
std::vector<Settings> getSettings()const;
void setSettings(const std::vector<Settings>& settings);
std::string getPid()const;
void setPid(const std::string& pid);
private:
std::string partition_;
std::string tableGuid_;
std::vector<Settings> settings_;
std::string pid_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_

View File

@@ -14,36 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigResult : public ServiceResult
{
public:
RemoveProjectMemberFromRoleResult();
explicit RemoveProjectMemberFromRoleResult(const std::string &payload);
~RemoveProjectMemberFromRoleResult();
SaveTraceAppConfigResult();
explicit SaveTraceAppConfigResult(const std::string &payload);
~SaveTraceAppConfigResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_

View File

@@ -35,23 +35,29 @@ namespace AlibabaCloud
SearchAlertContactGroupRequest();
~SearchAlertContactGroupRequest();
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getContactId()const;
void setContactId(long contactId);
bool getIsDetail()const;
void setIsDetail(bool isDetail);
std::string getContactGroupName()const;
void setContactGroupName(const std::string& contactGroupName);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getContactGroupIds()const;
void setContactGroupIds(const std::string& contactGroupIds);
private:
std::string contactName_;
std::string regionId_;
long contactId_;
bool isDetail_;
std::string contactGroupName_;
std::string proxyUserId_;
std::string contactName_;
std::string regionId_;
std::string contactGroupIds_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setCurrentPage(const std::string& currentPage);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getContactIds()const;
void setContactIds(const std::string& contactIds);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getPhone()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
private:
std::string currentPage_;
std::string proxyUserId_;
std::string contactIds_;
std::string contactName_;
std::string phone_;
std::string regionId_;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string userId;
long createTime;
long updateTime;
std::string webhook;
long contactId;
std::string dingRobot;
std::string contactName;

View File

@@ -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_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT UpdateWebhookRequest : public RpcServiceRequest
{
public:
UpdateWebhookRequest();
~UpdateWebhookRequest();
std::string getHeaders()const;
void setHeaders(const std::string& headers);
std::string getMethod()const;
void setMethod(const std::string& method);
long getContactId()const;
void setContactId(long contactId);
std::string getParams()const;
void setParams(const std::string& params);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getBody()const;
void setBody(const std::string& body);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string headers_;
std::string method_;
long contactId_;
std::string params_;
std::string proxyUserId_;
std::string body_;
std::string url_;
std::string contactName_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_

View File

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

View File

@@ -339,6 +339,42 @@ ARMSClient::CreateRetcodeAppOutcomeCallable ARMSClient::createRetcodeAppCallable
return task->get_future();
}
ARMSClient::CreateWehookOutcome ARMSClient::createWehook(const CreateWehookRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateWehookOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateWehookOutcome(CreateWehookResult(outcome.result()));
else
return CreateWehookOutcome(outcome.error());
}
void ARMSClient::createWehookAsync(const CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createWehook(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::CreateWehookOutcomeCallable ARMSClient::createWehookCallable(const CreateWehookRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateWehookOutcome()>>(
[this, request]()
{
return this->createWehook(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DeleteAlertContactOutcome ARMSClient::deleteAlertContact(const DeleteAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1275,42 @@ ARMSClient::QueryMetricByPageOutcomeCallable ARMSClient::queryMetricByPageCallab
return task->get_future();
}
ARMSClient::SaveTraceAppConfigOutcome ARMSClient::saveTraceAppConfig(const SaveTraceAppConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SaveTraceAppConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SaveTraceAppConfigOutcome(SaveTraceAppConfigResult(outcome.result()));
else
return SaveTraceAppConfigOutcome(outcome.error());
}
void ARMSClient::saveTraceAppConfigAsync(const SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, saveTraceAppConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SaveTraceAppConfigOutcomeCallable ARMSClient::saveTraceAppConfigCallable(const SaveTraceAppConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SaveTraceAppConfigOutcome()>>(
[this, request]()
{
return this->saveTraceAppConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1815,3 +1887,39 @@ ARMSClient::UpdateAlertRuleOutcomeCallable ARMSClient::updateAlertRuleCallable(c
return task->get_future();
}
ARMSClient::UpdateWebhookOutcome ARMSClient::updateWebhook(const UpdateWebhookRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateWebhookOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateWebhookOutcome(UpdateWebhookResult(outcome.result()));
else
return UpdateWebhookOutcome(outcome.error());
}
void ARMSClient::updateWebhookAsync(const UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateWebhook(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::UpdateWebhookOutcomeCallable ARMSClient::updateWebhookCallable(const UpdateWebhookRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateWebhookOutcome()>>(
[this, request]()
{
return this->updateWebhook(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,117 @@
/*
* 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/arms/model/CreateWehookRequest.h>
using AlibabaCloud::ARMS::Model::CreateWehookRequest;
CreateWehookRequest::CreateWehookRequest() :
RpcServiceRequest("arms", "2019-08-08", "CreateWehook")
{
setMethod(HttpRequest::Method::Post);
}
CreateWehookRequest::~CreateWehookRequest()
{}
std::string CreateWehookRequest::getHeaders()const
{
return headers_;
}
void CreateWehookRequest::setHeaders(const std::string& headers)
{
headers_ = headers;
setParameter("Headers", headers);
}
std::string CreateWehookRequest::getMethod()const
{
return method_;
}
void CreateWehookRequest::setMethod(const std::string& method)
{
method_ = method;
setParameter("Method", method);
}
std::string CreateWehookRequest::getParams()const
{
return params_;
}
void CreateWehookRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
}
std::string CreateWehookRequest::getProxyUserId()const
{
return proxyUserId_;
}
void CreateWehookRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::string CreateWehookRequest::getBody()const
{
return body_;
}
void CreateWehookRequest::setBody(const std::string& body)
{
body_ = body;
setParameter("Body", body);
}
std::string CreateWehookRequest::getUrl()const
{
return url_;
}
void CreateWehookRequest::setUrl(const std::string& url)
{
url_ = url;
setParameter("Url", url);
}
std::string CreateWehookRequest::getContactName()const
{
return contactName_;
}
void CreateWehookRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string CreateWehookRequest::getRegionId()const
{
return regionId_;
}
void CreateWehookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

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

View File

@@ -0,0 +1,56 @@
/*
* 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/arms/model/SaveTraceAppConfigRequest.h>
using AlibabaCloud::ARMS::Model::SaveTraceAppConfigRequest;
SaveTraceAppConfigRequest::SaveTraceAppConfigRequest() :
RpcServiceRequest("arms", "2019-08-08", "SaveTraceAppConfig")
{
setMethod(HttpRequest::Method::Post);
}
SaveTraceAppConfigRequest::~SaveTraceAppConfigRequest()
{}
std::vector<SaveTraceAppConfigRequest::Settings> SaveTraceAppConfigRequest::getSettings()const
{
return settings_;
}
void SaveTraceAppConfigRequest::setSettings(const std::vector<Settings>& settings)
{
settings_ = settings;
for(int dep1 = 0; dep1!= settings.size(); dep1++) {
auto settingsObj = settings.at(dep1);
std::string settingsObjStr = "Settings." + std::to_string(dep1 + 1);
setParameter(settingsObjStr + ".Value", settingsObj.value);
setParameter(settingsObjStr + ".Key", settingsObj.key);
}
}
std::string SaveTraceAppConfigRequest::getPid()const
{
return pid_;
}
void SaveTraceAppConfigRequest::setPid(const std::string& pid)
{
pid_ = pid;
setParameter("Pid", pid);
}

View File

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

View File

@@ -27,28 +27,6 @@ SearchAlertContactGroupRequest::SearchAlertContactGroupRequest() :
SearchAlertContactGroupRequest::~SearchAlertContactGroupRequest()
{}
std::string SearchAlertContactGroupRequest::getContactName()const
{
return contactName_;
}
void SearchAlertContactGroupRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string SearchAlertContactGroupRequest::getRegionId()const
{
return regionId_;
}
void SearchAlertContactGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long SearchAlertContactGroupRequest::getContactId()const
{
return contactId_;
@@ -60,6 +38,17 @@ void SearchAlertContactGroupRequest::setContactId(long contactId)
setParameter("ContactId", std::to_string(contactId));
}
bool SearchAlertContactGroupRequest::getIsDetail()const
{
return isDetail_;
}
void SearchAlertContactGroupRequest::setIsDetail(bool isDetail)
{
isDetail_ = isDetail;
setParameter("IsDetail", isDetail ? "true" : "false");
}
std::string SearchAlertContactGroupRequest::getContactGroupName()const
{
return contactGroupName_;
@@ -82,3 +71,36 @@ void SearchAlertContactGroupRequest::setProxyUserId(const std::string& proxyUser
setParameter("ProxyUserId", proxyUserId);
}
std::string SearchAlertContactGroupRequest::getContactName()const
{
return contactName_;
}
void SearchAlertContactGroupRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string SearchAlertContactGroupRequest::getRegionId()const
{
return regionId_;
}
void SearchAlertContactGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchAlertContactGroupRequest::getContactGroupIds()const
{
return contactGroupIds_;
}
void SearchAlertContactGroupRequest::setContactGroupIds(const std::string& contactGroupIds)
{
contactGroupIds_ = contactGroupIds;
setParameter("ContactGroupIds", contactGroupIds);
}

View File

@@ -49,6 +49,17 @@ void SearchAlertContactRequest::setProxyUserId(const std::string& proxyUserId)
setParameter("ProxyUserId", proxyUserId);
}
std::string SearchAlertContactRequest::getContactIds()const
{
return contactIds_;
}
void SearchAlertContactRequest::setContactIds(const std::string& contactIds)
{
contactIds_ = contactIds;
setParameter("ContactIds", contactIds);
}
std::string SearchAlertContactRequest::getContactName()const
{
return contactName_;

View File

@@ -68,6 +68,8 @@ void SearchAlertContactResult::parse(const std::string &payload)
contactObject.updateTime = std::stol(pageBeanNodeContactsContact["UpdateTime"].asString());
if(!pageBeanNodeContactsContact["SystemNoc"].isNull())
contactObject.systemNoc = pageBeanNodeContactsContact["SystemNoc"].asString() == "true";
if(!pageBeanNodeContactsContact["Webhook"].isNull())
contactObject.webhook = pageBeanNodeContactsContact["Webhook"].asString();
pageBean_.contacts.push_back(contactObject);
}

View File

@@ -0,0 +1,128 @@
/*
* 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/arms/model/UpdateWebhookRequest.h>
using AlibabaCloud::ARMS::Model::UpdateWebhookRequest;
UpdateWebhookRequest::UpdateWebhookRequest() :
RpcServiceRequest("arms", "2019-08-08", "UpdateWebhook")
{
setMethod(HttpRequest::Method::Post);
}
UpdateWebhookRequest::~UpdateWebhookRequest()
{}
std::string UpdateWebhookRequest::getHeaders()const
{
return headers_;
}
void UpdateWebhookRequest::setHeaders(const std::string& headers)
{
headers_ = headers;
setParameter("Headers", headers);
}
std::string UpdateWebhookRequest::getMethod()const
{
return method_;
}
void UpdateWebhookRequest::setMethod(const std::string& method)
{
method_ = method;
setParameter("Method", method);
}
long UpdateWebhookRequest::getContactId()const
{
return contactId_;
}
void UpdateWebhookRequest::setContactId(long contactId)
{
contactId_ = contactId;
setParameter("ContactId", std::to_string(contactId));
}
std::string UpdateWebhookRequest::getParams()const
{
return params_;
}
void UpdateWebhookRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
}
std::string UpdateWebhookRequest::getProxyUserId()const
{
return proxyUserId_;
}
void UpdateWebhookRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::string UpdateWebhookRequest::getBody()const
{
return body_;
}
void UpdateWebhookRequest::setBody(const std::string& body)
{
body_ = body;
setParameter("Body", body);
}
std::string UpdateWebhookRequest::getUrl()const
{
return url_;
}
void UpdateWebhookRequest::setUrl(const std::string& url)
{
url_ = url;
setParameter("Url", url);
}
std::string UpdateWebhookRequest::getContactName()const
{
return contactName_;
}
void UpdateWebhookRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string UpdateWebhookRequest::getRegionId()const
{
return regionId_;
}
void UpdateWebhookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

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

View File

@@ -71,6 +71,8 @@ set(cassandra_public_header_model
include/alibabacloud/cassandra/model/DescribeIpWhitelistGroupsResult.h
include/alibabacloud/cassandra/model/DescribeNodeToolExecutionHistoriesRequest.h
include/alibabacloud/cassandra/model/DescribeNodeToolExecutionHistoriesResult.h
include/alibabacloud/cassandra/model/DescribeNodeToolExecutionHistoryRequest.h
include/alibabacloud/cassandra/model/DescribeNodeToolExecutionHistoryResult.h
include/alibabacloud/cassandra/model/DescribeParameterModificationHistoriesRequest.h
include/alibabacloud/cassandra/model/DescribeParameterModificationHistoriesResult.h
include/alibabacloud/cassandra/model/DescribeParametersRequest.h
@@ -176,6 +178,8 @@ set(cassandra_src
src/model/DescribeIpWhitelistGroupsResult.cc
src/model/DescribeNodeToolExecutionHistoriesRequest.cc
src/model/DescribeNodeToolExecutionHistoriesResult.cc
src/model/DescribeNodeToolExecutionHistoryRequest.cc
src/model/DescribeNodeToolExecutionHistoryResult.cc
src/model/DescribeParameterModificationHistoriesRequest.cc
src/model/DescribeParameterModificationHistoriesResult.cc
src/model/DescribeParametersRequest.cc

View File

@@ -72,6 +72,8 @@
#include "model/DescribeIpWhitelistGroupsResult.h"
#include "model/DescribeNodeToolExecutionHistoriesRequest.h"
#include "model/DescribeNodeToolExecutionHistoriesResult.h"
#include "model/DescribeNodeToolExecutionHistoryRequest.h"
#include "model/DescribeNodeToolExecutionHistoryResult.h"
#include "model/DescribeParameterModificationHistoriesRequest.h"
#include "model/DescribeParameterModificationHistoriesResult.h"
#include "model/DescribeParametersRequest.h"
@@ -208,6 +210,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeNodeToolExecutionHistoriesResult> DescribeNodeToolExecutionHistoriesOutcome;
typedef std::future<DescribeNodeToolExecutionHistoriesOutcome> DescribeNodeToolExecutionHistoriesOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::DescribeNodeToolExecutionHistoriesRequest&, const DescribeNodeToolExecutionHistoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeToolExecutionHistoriesAsyncHandler;
typedef Outcome<Error, Model::DescribeNodeToolExecutionHistoryResult> DescribeNodeToolExecutionHistoryOutcome;
typedef std::future<DescribeNodeToolExecutionHistoryOutcome> DescribeNodeToolExecutionHistoryOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::DescribeNodeToolExecutionHistoryRequest&, const DescribeNodeToolExecutionHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeToolExecutionHistoryAsyncHandler;
typedef Outcome<Error, Model::DescribeParameterModificationHistoriesResult> DescribeParameterModificationHistoriesOutcome;
typedef std::future<DescribeParameterModificationHistoriesOutcome> DescribeParameterModificationHistoriesOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::DescribeParameterModificationHistoriesRequest&, const DescribeParameterModificationHistoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterModificationHistoriesAsyncHandler;
@@ -366,6 +371,9 @@ namespace AlibabaCloud
DescribeNodeToolExecutionHistoriesOutcome describeNodeToolExecutionHistories(const Model::DescribeNodeToolExecutionHistoriesRequest &request)const;
void describeNodeToolExecutionHistoriesAsync(const Model::DescribeNodeToolExecutionHistoriesRequest& request, const DescribeNodeToolExecutionHistoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNodeToolExecutionHistoriesOutcomeCallable describeNodeToolExecutionHistoriesCallable(const Model::DescribeNodeToolExecutionHistoriesRequest& request) const;
DescribeNodeToolExecutionHistoryOutcome describeNodeToolExecutionHistory(const Model::DescribeNodeToolExecutionHistoryRequest &request)const;
void describeNodeToolExecutionHistoryAsync(const Model::DescribeNodeToolExecutionHistoryRequest& request, const DescribeNodeToolExecutionHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNodeToolExecutionHistoryOutcomeCallable describeNodeToolExecutionHistoryCallable(const Model::DescribeNodeToolExecutionHistoryRequest& request) const;
DescribeParameterModificationHistoriesOutcome describeParameterModificationHistories(const Model::DescribeParameterModificationHistoriesRequest &request)const;
void describeParameterModificationHistoriesAsync(const Model::DescribeParameterModificationHistoriesRequest& request, const DescribeParameterModificationHistoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeParameterModificationHistoriesOutcomeCallable describeParameterModificationHistoriesCallable(const Model::DescribeParameterModificationHistoriesRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* 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_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYREQUEST_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT DescribeNodeToolExecutionHistoryRequest : public RpcServiceRequest
{
public:
DescribeNodeToolExecutionHistoryRequest();
~DescribeNodeToolExecutionHistoryRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getDcId()const;
void setDcId(const std::string& dcId);
private:
std::string clusterId_;
std::string jobId_;
std::string dcId_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYRESULT_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT DescribeNodeToolExecutionHistoryResult : public ServiceResult
{
public:
DescribeNodeToolExecutionHistoryResult();
explicit DescribeNodeToolExecutionHistoryResult(const std::string &payload);
~DescribeNodeToolExecutionHistoryResult();
long getModifyTime()const;
std::string getDataCenterId()const;
bool getIsEnded()const;
std::string getCommand()const;
long getCreateTime()const;
std::string getArguments()const;
std::string getRegionId()const;
std::string getErrorMessage()const;
std::string getJobId()const;
std::string getNodes()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
long modifyTime_;
std::string dataCenterId_;
bool isEnded_;
std::string command_;
long createTime_;
std::string arguments_;
std::string regionId_;
std::string errorMessage_;
std::string jobId_;
std::string nodes_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBENODETOOLEXECUTIONHISTORYRESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
ExecuteNodeToolRequest();
~ExecuteNodeToolRequest();
std::string getExecuteNodes()const;
void setExecuteNodes(const std::string& executeNodes);
std::string getDataCenterId()const;
void setDataCenterId(const std::string& dataCenterId);
std::string getClusterId()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setArguments(const std::string& arguments);
private:
std::string executeNodes_;
std::string dataCenterId_;
std::string clusterId_;
std::string command_;

View File

@@ -951,6 +951,42 @@ CassandraClient::DescribeNodeToolExecutionHistoriesOutcomeCallable CassandraClie
return task->get_future();
}
CassandraClient::DescribeNodeToolExecutionHistoryOutcome CassandraClient::describeNodeToolExecutionHistory(const DescribeNodeToolExecutionHistoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeNodeToolExecutionHistoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeNodeToolExecutionHistoryOutcome(DescribeNodeToolExecutionHistoryResult(outcome.result()));
else
return DescribeNodeToolExecutionHistoryOutcome(outcome.error());
}
void CassandraClient::describeNodeToolExecutionHistoryAsync(const DescribeNodeToolExecutionHistoryRequest& request, const DescribeNodeToolExecutionHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeNodeToolExecutionHistory(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::DescribeNodeToolExecutionHistoryOutcomeCallable CassandraClient::describeNodeToolExecutionHistoryCallable(const DescribeNodeToolExecutionHistoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeNodeToolExecutionHistoryOutcome()>>(
[this, request]()
{
return this->describeNodeToolExecutionHistory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::DescribeParameterModificationHistoriesOutcome CassandraClient::describeParameterModificationHistories(const DescribeParameterModificationHistoriesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,62 @@
/*
* 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/cassandra/model/DescribeNodeToolExecutionHistoryRequest.h>
using AlibabaCloud::Cassandra::Model::DescribeNodeToolExecutionHistoryRequest;
DescribeNodeToolExecutionHistoryRequest::DescribeNodeToolExecutionHistoryRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "DescribeNodeToolExecutionHistory")
{
setMethod(HttpRequest::Method::Post);
}
DescribeNodeToolExecutionHistoryRequest::~DescribeNodeToolExecutionHistoryRequest()
{}
std::string DescribeNodeToolExecutionHistoryRequest::getClusterId()const
{
return clusterId_;
}
void DescribeNodeToolExecutionHistoryRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string DescribeNodeToolExecutionHistoryRequest::getJobId()const
{
return jobId_;
}
void DescribeNodeToolExecutionHistoryRequest::setJobId(const std::string& jobId)
{
jobId_ = jobId;
setParameter("JobId", jobId);
}
std::string DescribeNodeToolExecutionHistoryRequest::getDcId()const
{
return dcId_;
}
void DescribeNodeToolExecutionHistoryRequest::setDcId(const std::string& dcId)
{
dcId_ = dcId;
setParameter("DcId", dcId);
}

View File

@@ -0,0 +1,121 @@
/*
* 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/cassandra/model/DescribeNodeToolExecutionHistoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
DescribeNodeToolExecutionHistoryResult::DescribeNodeToolExecutionHistoryResult() :
ServiceResult()
{}
DescribeNodeToolExecutionHistoryResult::DescribeNodeToolExecutionHistoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeNodeToolExecutionHistoryResult::~DescribeNodeToolExecutionHistoryResult()
{}
void DescribeNodeToolExecutionHistoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["Command"].isNull())
command_ = value["Command"].asString();
if(!value["Nodes"].isNull())
nodes_ = value["Nodes"].asString();
if(!value["ModifyTime"].isNull())
modifyTime_ = std::stol(value["ModifyTime"].asString());
if(!value["CreateTime"].isNull())
createTime_ = std::stol(value["CreateTime"].asString());
if(!value["RegionId"].isNull())
regionId_ = value["RegionId"].asString();
if(!value["IsEnded"].isNull())
isEnded_ = value["IsEnded"].asString() == "true";
if(!value["Arguments"].isNull())
arguments_ = value["Arguments"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["DataCenterId"].isNull())
dataCenterId_ = value["DataCenterId"].asString();
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
long DescribeNodeToolExecutionHistoryResult::getModifyTime()const
{
return modifyTime_;
}
std::string DescribeNodeToolExecutionHistoryResult::getDataCenterId()const
{
return dataCenterId_;
}
bool DescribeNodeToolExecutionHistoryResult::getIsEnded()const
{
return isEnded_;
}
std::string DescribeNodeToolExecutionHistoryResult::getCommand()const
{
return command_;
}
long DescribeNodeToolExecutionHistoryResult::getCreateTime()const
{
return createTime_;
}
std::string DescribeNodeToolExecutionHistoryResult::getArguments()const
{
return arguments_;
}
std::string DescribeNodeToolExecutionHistoryResult::getRegionId()const
{
return regionId_;
}
std::string DescribeNodeToolExecutionHistoryResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DescribeNodeToolExecutionHistoryResult::getJobId()const
{
return jobId_;
}
std::string DescribeNodeToolExecutionHistoryResult::getNodes()const
{
return nodes_;
}
std::string DescribeNodeToolExecutionHistoryResult::getResult()const
{
return result_;
}

View File

@@ -27,6 +27,17 @@ ExecuteNodeToolRequest::ExecuteNodeToolRequest() :
ExecuteNodeToolRequest::~ExecuteNodeToolRequest()
{}
std::string ExecuteNodeToolRequest::getExecuteNodes()const
{
return executeNodes_;
}
void ExecuteNodeToolRequest::setExecuteNodes(const std::string& executeNodes)
{
executeNodes_ = executeNodes;
setParameter("ExecuteNodes", executeNodes);
}
std::string ExecuteNodeToolRequest::getDataCenterId()const
{
return dataCenterId_;

View File

@@ -25,12 +25,22 @@ set(codeup_public_header_model
include/alibabacloud/codeup/model/AddGroupMemberResult.h
include/alibabacloud/codeup/model/AddRepositoryMemberRequest.h
include/alibabacloud/codeup/model/AddRepositoryMemberResult.h
include/alibabacloud/codeup/model/AddWebhookRequest.h
include/alibabacloud/codeup/model/AddWebhookResult.h
include/alibabacloud/codeup/model/CreateBranchRequest.h
include/alibabacloud/codeup/model/CreateBranchResult.h
include/alibabacloud/codeup/model/CreateFileRequest.h
include/alibabacloud/codeup/model/CreateFileResult.h
include/alibabacloud/codeup/model/CreateMergeRequestRequest.h
include/alibabacloud/codeup/model/CreateMergeRequestResult.h
include/alibabacloud/codeup/model/CreateRepositoryRequest.h
include/alibabacloud/codeup/model/CreateRepositoryResult.h
include/alibabacloud/codeup/model/CreateRepositoryGroupRequest.h
include/alibabacloud/codeup/model/CreateRepositoryGroupResult.h
include/alibabacloud/codeup/model/CreateTagRequest.h
include/alibabacloud/codeup/model/CreateTagResult.h
include/alibabacloud/codeup/model/DeleteBranchRequest.h
include/alibabacloud/codeup/model/DeleteBranchResult.h
include/alibabacloud/codeup/model/DeleteFileRequest.h
include/alibabacloud/codeup/model/DeleteFileResult.h
include/alibabacloud/codeup/model/DeleteGroupMemberRequest.h
@@ -41,16 +51,28 @@ set(codeup_public_header_model
include/alibabacloud/codeup/model/DeleteRepositoryGroupResult.h
include/alibabacloud/codeup/model/DeleteRepositoryMemberRequest.h
include/alibabacloud/codeup/model/DeleteRepositoryMemberResult.h
include/alibabacloud/codeup/model/GetBranchInfoRequest.h
include/alibabacloud/codeup/model/GetBranchInfoResult.h
include/alibabacloud/codeup/model/GetCodeupOrganizationRequest.h
include/alibabacloud/codeup/model/GetCodeupOrganizationResult.h
include/alibabacloud/codeup/model/GetFileBlobsRequest.h
include/alibabacloud/codeup/model/GetFileBlobsResult.h
include/alibabacloud/codeup/model/GetProjectMemberRequest.h
include/alibabacloud/codeup/model/GetProjectMemberResult.h
include/alibabacloud/codeup/model/GetRepositoryInfoRequest.h
include/alibabacloud/codeup/model/GetRepositoryInfoResult.h
include/alibabacloud/codeup/model/ListGroupMemberRequest.h
include/alibabacloud/codeup/model/ListGroupMemberResult.h
include/alibabacloud/codeup/model/ListGroupRepositoriesRequest.h
include/alibabacloud/codeup/model/ListGroupRepositoriesResult.h
include/alibabacloud/codeup/model/ListGroupsRequest.h
include/alibabacloud/codeup/model/ListGroupsResult.h
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
include/alibabacloud/codeup/model/ListRepositoryMemberResult.h
include/alibabacloud/codeup/model/ListRepositoryTreeRequest.h
include/alibabacloud/codeup/model/ListRepositoryTreeResult.h
include/alibabacloud/codeup/model/MergeMergeRequestRequest.h
include/alibabacloud/codeup/model/MergeMergeRequestResult.h
include/alibabacloud/codeup/model/UpdateFileRequest.h
include/alibabacloud/codeup/model/UpdateFileResult.h
include/alibabacloud/codeup/model/UpdateGroupMemberRequest.h
@@ -64,12 +86,22 @@ set(codeup_src
src/model/AddGroupMemberResult.cc
src/model/AddRepositoryMemberRequest.cc
src/model/AddRepositoryMemberResult.cc
src/model/AddWebhookRequest.cc
src/model/AddWebhookResult.cc
src/model/CreateBranchRequest.cc
src/model/CreateBranchResult.cc
src/model/CreateFileRequest.cc
src/model/CreateFileResult.cc
src/model/CreateMergeRequestRequest.cc
src/model/CreateMergeRequestResult.cc
src/model/CreateRepositoryRequest.cc
src/model/CreateRepositoryResult.cc
src/model/CreateRepositoryGroupRequest.cc
src/model/CreateRepositoryGroupResult.cc
src/model/CreateTagRequest.cc
src/model/CreateTagResult.cc
src/model/DeleteBranchRequest.cc
src/model/DeleteBranchResult.cc
src/model/DeleteFileRequest.cc
src/model/DeleteFileResult.cc
src/model/DeleteGroupMemberRequest.cc
@@ -80,16 +112,28 @@ set(codeup_src
src/model/DeleteRepositoryGroupResult.cc
src/model/DeleteRepositoryMemberRequest.cc
src/model/DeleteRepositoryMemberResult.cc
src/model/GetBranchInfoRequest.cc
src/model/GetBranchInfoResult.cc
src/model/GetCodeupOrganizationRequest.cc
src/model/GetCodeupOrganizationResult.cc
src/model/GetFileBlobsRequest.cc
src/model/GetFileBlobsResult.cc
src/model/GetProjectMemberRequest.cc
src/model/GetProjectMemberResult.cc
src/model/GetRepositoryInfoRequest.cc
src/model/GetRepositoryInfoResult.cc
src/model/ListGroupMemberRequest.cc
src/model/ListGroupMemberResult.cc
src/model/ListGroupRepositoriesRequest.cc
src/model/ListGroupRepositoriesResult.cc
src/model/ListGroupsRequest.cc
src/model/ListGroupsResult.cc
src/model/ListRepositoryMemberRequest.cc
src/model/ListRepositoryMemberResult.cc
src/model/ListRepositoryTreeRequest.cc
src/model/ListRepositoryTreeResult.cc
src/model/MergeMergeRequestRequest.cc
src/model/MergeMergeRequestResult.cc
src/model/UpdateFileRequest.cc
src/model/UpdateFileResult.cc
src/model/UpdateGroupMemberRequest.cc

View File

@@ -26,12 +26,22 @@
#include "model/AddGroupMemberResult.h"
#include "model/AddRepositoryMemberRequest.h"
#include "model/AddRepositoryMemberResult.h"
#include "model/AddWebhookRequest.h"
#include "model/AddWebhookResult.h"
#include "model/CreateBranchRequest.h"
#include "model/CreateBranchResult.h"
#include "model/CreateFileRequest.h"
#include "model/CreateFileResult.h"
#include "model/CreateMergeRequestRequest.h"
#include "model/CreateMergeRequestResult.h"
#include "model/CreateRepositoryRequest.h"
#include "model/CreateRepositoryResult.h"
#include "model/CreateRepositoryGroupRequest.h"
#include "model/CreateRepositoryGroupResult.h"
#include "model/CreateTagRequest.h"
#include "model/CreateTagResult.h"
#include "model/DeleteBranchRequest.h"
#include "model/DeleteBranchResult.h"
#include "model/DeleteFileRequest.h"
#include "model/DeleteFileResult.h"
#include "model/DeleteGroupMemberRequest.h"
@@ -42,16 +52,28 @@
#include "model/DeleteRepositoryGroupResult.h"
#include "model/DeleteRepositoryMemberRequest.h"
#include "model/DeleteRepositoryMemberResult.h"
#include "model/GetBranchInfoRequest.h"
#include "model/GetBranchInfoResult.h"
#include "model/GetCodeupOrganizationRequest.h"
#include "model/GetCodeupOrganizationResult.h"
#include "model/GetFileBlobsRequest.h"
#include "model/GetFileBlobsResult.h"
#include "model/GetProjectMemberRequest.h"
#include "model/GetProjectMemberResult.h"
#include "model/GetRepositoryInfoRequest.h"
#include "model/GetRepositoryInfoResult.h"
#include "model/ListGroupMemberRequest.h"
#include "model/ListGroupMemberResult.h"
#include "model/ListGroupRepositoriesRequest.h"
#include "model/ListGroupRepositoriesResult.h"
#include "model/ListGroupsRequest.h"
#include "model/ListGroupsResult.h"
#include "model/ListRepositoryMemberRequest.h"
#include "model/ListRepositoryMemberResult.h"
#include "model/ListRepositoryTreeRequest.h"
#include "model/ListRepositoryTreeResult.h"
#include "model/MergeMergeRequestRequest.h"
#include "model/MergeMergeRequestResult.h"
#include "model/UpdateFileRequest.h"
#include "model/UpdateFileResult.h"
#include "model/UpdateGroupMemberRequest.h"
@@ -73,15 +95,30 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddRepositoryMemberResult> AddRepositoryMemberOutcome;
typedef std::future<AddRepositoryMemberOutcome> AddRepositoryMemberOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::AddRepositoryMemberRequest&, const AddRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRepositoryMemberAsyncHandler;
typedef Outcome<Error, Model::AddWebhookResult> AddWebhookOutcome;
typedef std::future<AddWebhookOutcome> AddWebhookOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::AddWebhookRequest&, const AddWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddWebhookAsyncHandler;
typedef Outcome<Error, Model::CreateBranchResult> CreateBranchOutcome;
typedef std::future<CreateBranchOutcome> CreateBranchOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateBranchRequest&, const CreateBranchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBranchAsyncHandler;
typedef Outcome<Error, Model::CreateFileResult> CreateFileOutcome;
typedef std::future<CreateFileOutcome> CreateFileOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateFileRequest&, const CreateFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFileAsyncHandler;
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::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;
typedef Outcome<Error, Model::CreateRepositoryGroupResult> CreateRepositoryGroupOutcome;
typedef std::future<CreateRepositoryGroupOutcome> CreateRepositoryGroupOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateRepositoryGroupRequest&, const CreateRepositoryGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRepositoryGroupAsyncHandler;
typedef Outcome<Error, Model::CreateTagResult> CreateTagOutcome;
typedef std::future<CreateTagOutcome> CreateTagOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateTagRequest&, const CreateTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagAsyncHandler;
typedef Outcome<Error, Model::DeleteBranchResult> DeleteBranchOutcome;
typedef std::future<DeleteBranchOutcome> DeleteBranchOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::DeleteBranchRequest&, const DeleteBranchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBranchAsyncHandler;
typedef Outcome<Error, Model::DeleteFileResult> DeleteFileOutcome;
typedef std::future<DeleteFileOutcome> DeleteFileOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::DeleteFileRequest&, const DeleteFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFileAsyncHandler;
@@ -97,21 +134,39 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRepositoryMemberResult> DeleteRepositoryMemberOutcome;
typedef std::future<DeleteRepositoryMemberOutcome> DeleteRepositoryMemberOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryMemberRequest&, const DeleteRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryMemberAsyncHandler;
typedef Outcome<Error, Model::GetBranchInfoResult> GetBranchInfoOutcome;
typedef std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::GetBranchInfoRequest&, const GetBranchInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBranchInfoAsyncHandler;
typedef Outcome<Error, Model::GetCodeupOrganizationResult> GetCodeupOrganizationOutcome;
typedef std::future<GetCodeupOrganizationOutcome> GetCodeupOrganizationOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::GetCodeupOrganizationRequest&, const GetCodeupOrganizationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCodeupOrganizationAsyncHandler;
typedef Outcome<Error, Model::GetFileBlobsResult> GetFileBlobsOutcome;
typedef std::future<GetFileBlobsOutcome> GetFileBlobsOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::GetFileBlobsRequest&, const GetFileBlobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFileBlobsAsyncHandler;
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;
typedef Outcome<Error, Model::GetRepositoryInfoResult> GetRepositoryInfoOutcome;
typedef std::future<GetRepositoryInfoOutcome> GetRepositoryInfoOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::GetRepositoryInfoRequest&, const GetRepositoryInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryInfoAsyncHandler;
typedef Outcome<Error, Model::ListGroupMemberResult> ListGroupMemberOutcome;
typedef std::future<ListGroupMemberOutcome> ListGroupMemberOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::ListGroupMemberRequest&, const ListGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupMemberAsyncHandler;
typedef Outcome<Error, Model::ListGroupRepositoriesResult> ListGroupRepositoriesOutcome;
typedef std::future<ListGroupRepositoriesOutcome> ListGroupRepositoriesOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::ListGroupRepositoriesRequest&, const ListGroupRepositoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupRepositoriesAsyncHandler;
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::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;
typedef Outcome<Error, Model::ListRepositoryTreeResult> ListRepositoryTreeOutcome;
typedef std::future<ListRepositoryTreeOutcome> ListRepositoryTreeOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTreeRequest&, const ListRepositoryTreeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTreeAsyncHandler;
typedef Outcome<Error, Model::MergeMergeRequestResult> MergeMergeRequestOutcome;
typedef std::future<MergeMergeRequestOutcome> MergeMergeRequestOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::MergeMergeRequestRequest&, const MergeMergeRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeMergeRequestAsyncHandler;
typedef Outcome<Error, Model::UpdateFileResult> UpdateFileOutcome;
typedef std::future<UpdateFileOutcome> UpdateFileOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::UpdateFileRequest&, const UpdateFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFileAsyncHandler;
@@ -132,15 +187,30 @@ namespace AlibabaCloud
AddRepositoryMemberOutcome addRepositoryMember(const Model::AddRepositoryMemberRequest &request)const;
void addRepositoryMemberAsync(const Model::AddRepositoryMemberRequest& request, const AddRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddRepositoryMemberOutcomeCallable addRepositoryMemberCallable(const Model::AddRepositoryMemberRequest& request) const;
AddWebhookOutcome addWebhook(const Model::AddWebhookRequest &request)const;
void addWebhookAsync(const Model::AddWebhookRequest& request, const AddWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddWebhookOutcomeCallable addWebhookCallable(const Model::AddWebhookRequest& request) const;
CreateBranchOutcome createBranch(const Model::CreateBranchRequest &request)const;
void createBranchAsync(const Model::CreateBranchRequest& request, const CreateBranchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBranchOutcomeCallable createBranchCallable(const Model::CreateBranchRequest& request) const;
CreateFileOutcome createFile(const Model::CreateFileRequest &request)const;
void createFileAsync(const Model::CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFileOutcomeCallable createFileCallable(const Model::CreateFileRequest& request) const;
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;
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;
CreateRepositoryGroupOutcome createRepositoryGroup(const Model::CreateRepositoryGroupRequest &request)const;
void createRepositoryGroupAsync(const Model::CreateRepositoryGroupRequest& request, const CreateRepositoryGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRepositoryGroupOutcomeCallable createRepositoryGroupCallable(const Model::CreateRepositoryGroupRequest& request) const;
CreateTagOutcome createTag(const Model::CreateTagRequest &request)const;
void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const;
DeleteBranchOutcome deleteBranch(const Model::DeleteBranchRequest &request)const;
void deleteBranchAsync(const Model::DeleteBranchRequest& request, const DeleteBranchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBranchOutcomeCallable deleteBranchCallable(const Model::DeleteBranchRequest& request) const;
DeleteFileOutcome deleteFile(const Model::DeleteFileRequest &request)const;
void deleteFileAsync(const Model::DeleteFileRequest& request, const DeleteFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFileOutcomeCallable deleteFileCallable(const Model::DeleteFileRequest& request) const;
@@ -156,21 +226,39 @@ namespace AlibabaCloud
DeleteRepositoryMemberOutcome deleteRepositoryMember(const Model::DeleteRepositoryMemberRequest &request)const;
void deleteRepositoryMemberAsync(const Model::DeleteRepositoryMemberRequest& request, const DeleteRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRepositoryMemberOutcomeCallable deleteRepositoryMemberCallable(const Model::DeleteRepositoryMemberRequest& request) const;
GetBranchInfoOutcome getBranchInfo(const Model::GetBranchInfoRequest &request)const;
void getBranchInfoAsync(const Model::GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBranchInfoOutcomeCallable getBranchInfoCallable(const Model::GetBranchInfoRequest& request) const;
GetCodeupOrganizationOutcome getCodeupOrganization(const Model::GetCodeupOrganizationRequest &request)const;
void getCodeupOrganizationAsync(const Model::GetCodeupOrganizationRequest& request, const GetCodeupOrganizationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCodeupOrganizationOutcomeCallable getCodeupOrganizationCallable(const Model::GetCodeupOrganizationRequest& request) const;
GetFileBlobsOutcome getFileBlobs(const Model::GetFileBlobsRequest &request)const;
void getFileBlobsAsync(const Model::GetFileBlobsRequest& request, const GetFileBlobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFileBlobsOutcomeCallable getFileBlobsCallable(const Model::GetFileBlobsRequest& 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;
GetRepositoryInfoOutcome getRepositoryInfo(const Model::GetRepositoryInfoRequest &request)const;
void getRepositoryInfoAsync(const Model::GetRepositoryInfoRequest& request, const GetRepositoryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRepositoryInfoOutcomeCallable getRepositoryInfoCallable(const Model::GetRepositoryInfoRequest& request) const;
ListGroupMemberOutcome listGroupMember(const Model::ListGroupMemberRequest &request)const;
void listGroupMemberAsync(const Model::ListGroupMemberRequest& request, const ListGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListGroupMemberOutcomeCallable listGroupMemberCallable(const Model::ListGroupMemberRequest& request) const;
ListGroupRepositoriesOutcome listGroupRepositories(const Model::ListGroupRepositoriesRequest &request)const;
void listGroupRepositoriesAsync(const Model::ListGroupRepositoriesRequest& request, const ListGroupRepositoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListGroupRepositoriesOutcomeCallable listGroupRepositoriesCallable(const Model::ListGroupRepositoriesRequest& request) const;
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;
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;
ListRepositoryTreeOutcome listRepositoryTree(const Model::ListRepositoryTreeRequest &request)const;
void listRepositoryTreeAsync(const Model::ListRepositoryTreeRequest& request, const ListRepositoryTreeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRepositoryTreeOutcomeCallable listRepositoryTreeCallable(const Model::ListRepositoryTreeRequest& request) const;
MergeMergeRequestOutcome mergeMergeRequest(const Model::MergeMergeRequestRequest &request)const;
void mergeMergeRequestAsync(const Model::MergeMergeRequestRequest& request, const MergeMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MergeMergeRequestOutcomeCallable mergeMergeRequestCallable(const Model::MergeMergeRequestRequest& request) const;
UpdateFileOutcome updateFile(const Model::UpdateFileRequest &request)const;
void updateFileAsync(const Model::UpdateFileRequest& request, const UpdateFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFileOutcomeCallable updateFileCallable(const Model::UpdateFileRequest& request) const;

View File

@@ -14,35 +14,41 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKREQUEST_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 ListProjectRolesRequest : public RpcServiceRequest
class ALIBABACLOUD_CODEUP_EXPORT AddWebhookRequest : public RoaServiceRequest
{
public:
ListProjectRolesRequest();
~ListProjectRolesRequest();
AddWebhookRequest();
~AddWebhookRequest();
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);
private:
std::string organizationId_;
std::string accessToken_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKREQUEST_H_

View File

@@ -14,55 +14,60 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSRESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKRESULT_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 AddWebhookResult : public ServiceResult
{
public:
struct Data
struct Result
{
std::string owner;
std::string description;
std::string businessName;
std::string useType;
std::string projectId;
long businessId;
bool pushEvents;
std::string createdAt;
long projectId;
bool issuesEvents;
bool tagPushEvents;
bool mergeRequestsEvents;
std::string url;
bool buildEvents;
std::string lastTestResult;
long id;
bool enableSslVerification;
bool noteEvents;
};
GetBusinessResult();
explicit GetBusinessResult(const std::string &payload);
~GetBusinessResult();
int getHttpStatusCode()const;
Data getData()const;
AddWebhookResult();
explicit AddWebhookResult(const std::string &payload);
~AddWebhookResult();
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_GETBUSINESSRESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_ADDWEBHOOKRESULT_H_

View File

@@ -14,41 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATEBRANCHREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATEBRANCHREQUEST_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 CreateBranchRequest : public RoaServiceRequest
{
public:
CreateFolderRequest();
~CreateFolderRequest();
CreateBranchRequest();
~CreateBranchRequest();
std::string getFolderPath()const;
void setFolderPath(const std::string& folderPath);
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
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 subUserId_;
std::string accessToken_;
long projectId_;
std::string projectIdentifier_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATEBRANCHREQUEST_H_

View File

@@ -14,46 +14,65 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERRESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATEBRANCHRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATEBRANCHRESULT_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 CreateBranchResult : public ServiceResult
{
public:
struct Result
{
struct CommitInfo
{
std::string authorName;
std::string message;
std::string authorDate;
std::string committedDate;
std::string committerEmail;
std::vector<std::string> parentIds;
std::string createdAt;
std::string shortId;
std::string title;
std::string id;
std::string authorEmail;
std::string committerName;
};
bool protectedBranch;
CommitInfo commitInfo;
std::string branchName;
};
CreateFolderResult();
explicit CreateFolderResult(const std::string &payload);
~CreateFolderResult();
int getHttpStatusCode()const;
std::string getData()const;
CreateBranchResult();
explicit CreateBranchResult(const std::string &payload);
~CreateBranchResult();
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_CREATEBRANCHRESULT_H_

View File

@@ -14,41 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTREQUEST_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 DeleteDataServiceApiRequest : public RpcServiceRequest
class ALIBABACLOUD_CODEUP_EXPORT CreateMergeRequestRequest : public RoaServiceRequest
{
public:
DeleteDataServiceApiRequest();
~DeleteDataServiceApiRequest();
CreateMergeRequestRequest();
~CreateMergeRequestRequest();
long getTenantId()const;
void setTenantId(long tenantId);
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
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 subUserId_;
std::string accessToken_;
long projectId_;
long apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTREQUEST_H_

View File

@@ -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_CREATEMERGEREQUESTRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATEMERGEREQUESTRESULT_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 CreateMergeRequestResult : public ServiceResult
{
public:
struct Result
{
struct Author
{
std::string avatarUrl;
std::string externUserId;
long id;
std::string name;
};
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 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 title;
std::string webUrl;
std::string mergeError;
std::string nameWithNamespace;
std::string updatedAt;
std::string mergedRevision;
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;
};
CreateMergeRequestResult();
explicit CreateMergeRequestResult(const std::string &payload);
~CreateMergeRequestResult();
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_CREATEMERGEREQUESTRESULT_H_

View File

@@ -14,41 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATETAGREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATETAGREQUEST_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 CreateTagRequest : public RoaServiceRequest
{
public:
AbolishDataServiceApiRequest();
~AbolishDataServiceApiRequest();
CreateTagRequest();
~CreateTagRequest();
long getTenantId()const;
void setTenantId(long tenantId);
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
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 subUserId_;
std::string accessToken_;
long projectId_;
long apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATETAGREQUEST_H_

View File

@@ -14,67 +14,71 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESRESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATETAGRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATETAGRESULT_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 ListNodesResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT CreateTagResult : public ServiceResult
{
public:
struct Data
struct Result
{
struct NodesItem
struct CommitInfo
{
bool repeatability;
std::string description;
std::string resGroupName;
std::string ownerId;
std::string nodeName;
std::string paramValues;
long nodeId;
long projectId;
std::string schedulerType;
std::string programType;
std::string cronExpress;
std::string authoredDate;
std::string authorName;
std::string committedDate;
std::string committerEmail;
std::string message;
std::vector<std::string> parentIds;
std::string createdAt;
std::string shortId;
std::string title;
std::string id;
std::string authorEmail;
std::string committerName;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<NodesItem> nodes;
struct Release
{
std::string description;
std::string tagName;
};
std::string message;
CommitInfo commitInfo;
Release release;
std::string name;
};
ListNodesResult();
explicit ListNodesResult(const std::string &payload);
~ListNodesResult();
int getHttpStatusCode()const;
Data getData()const;
CreateTagResult();
explicit CreateTagResult(const std::string &payload);
~CreateTagResult();
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_LISTNODESRESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATETAGRESULT_H_

View File

@@ -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_DELETEBRANCHREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_DELETEBRANCHREQUEST_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 DeleteBranchRequest : public RoaServiceRequest
{
public:
DeleteBranchRequest();
~DeleteBranchRequest();
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
long getProjectId()const;
void setProjectId(long projectId);
std::string getBranchName()const;
void setBranchName(const std::string& branchName);
private:
std::string organizationId_;
std::string subUserId_;
std::string accessToken_;
long projectId_;
std::string branchName_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEBRANCHREQUEST_H_

View File

@@ -14,44 +14,48 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_DELETEBRANCHRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_DELETEBRANCHRESULT_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 UpdateFileResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT DeleteBranchResult : public ServiceResult
{
public:
struct Result
{
std::string branchName;
};
UpdateFileResult();
explicit UpdateFileResult(const std::string &payload);
~UpdateFileResult();
int getHttpStatusCode()const;
DeleteBranchResult();
explicit DeleteBranchResult(const std::string &payload);
~DeleteBranchResult();
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 errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILERESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEBRANCHRESULT_H_

View File

@@ -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_GETBRANCHINFOREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETBRANCHINFOREQUEST_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 GetBranchInfoRequest : public RoaServiceRequest
{
public:
GetBranchInfoRequest();
~GetBranchInfoRequest();
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
long getProjectId()const;
void setProjectId(long projectId);
std::string getBranchName()const;
void setBranchName(const std::string& branchName);
private:
std::string organizationId_;
std::string subUserId_;
std::string accessToken_;
long projectId_;
std::string branchName_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETBRANCHINFOREQUEST_H_

View File

@@ -14,46 +14,65 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETBRANCHINFORESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETBRANCHINFORESULT_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 DeleteQualityRelativeNodeResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT GetBranchInfoResult : public ServiceResult
{
public:
struct Result
{
struct CommitInfo
{
std::string authorName;
std::string message;
std::string authorDate;
std::string committedDate;
std::string committerEmail;
std::vector<std::string> parentIds;
std::string createdAt;
std::string shortId;
std::string title;
std::string id;
std::string authorEmail;
std::string committerName;
};
bool protectedBranch;
CommitInfo commitInfo;
std::string branchName;
};
DeleteQualityRelativeNodeResult();
explicit DeleteQualityRelativeNodeResult(const std::string &payload);
~DeleteQualityRelativeNodeResult();
int getHttpStatusCode()const;
bool getData()const;
GetBranchInfoResult();
explicit GetBranchInfoResult(const std::string &payload);
~GetBranchInfoResult();
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_DELETEQUALITYRELATIVENODERESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETBRANCHINFORESULT_H_

View File

@@ -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_GETPROJECTMEMBERREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETPROJECTMEMBERREQUEST_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 GetProjectMemberRequest : public RoaServiceRequest
{
public:
GetProjectMemberRequest();
~GetProjectMemberRequest();
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
long getProjectId()const;
void setProjectId(long projectId);
long getUserId()const;
void setUserId(long userId);
private:
std::string organizationId_;
std::string subUserId_;
std::string accessToken_;
long projectId_;
long userId_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETPROJECTMEMBERREQUEST_H_

View File

@@ -14,51 +14,52 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERRESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETPROJECTMEMBERRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETPROJECTMEMBERRESULT_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 GetFolderResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT GetProjectMemberResult : public ServiceResult
{
public:
struct Data
struct Result
{
std::string folderPath;
std::string folderId;
std::string avatarUrl;
std::string externUserId;
long id;
int accessLevel;
std::string name;
};
GetFolderResult();
explicit GetFolderResult(const std::string &payload);
~GetFolderResult();
int getHttpStatusCode()const;
Data getData()const;
GetProjectMemberResult();
explicit GetProjectMemberResult(const std::string &payload);
~GetProjectMemberResult();
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_GETFOLDERRESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETPROJECTMEMBERRESULT_H_

View File

@@ -14,41 +14,41 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANOPTIMIZEDREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANOPTIMIZEDREQUEST_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYINFOREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/codeup/CodeupExport.h>
namespace AlibabaCloud
{
namespace Facebody
namespace Codeup
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectIPCPedestrianOptimizedRequest : public RoaServiceRequest
class ALIBABACLOUD_CODEUP_EXPORT GetRepositoryInfoRequest : public RoaServiceRequest
{
public:
DetectIPCPedestrianOptimizedRequest();
~DetectIPCPedestrianOptimizedRequest();
GetRepositoryInfoRequest();
~GetRepositoryInfoRequest();
std::string getImageData()const;
void setImageData(const std::string& imageData);
long getWidth()const;
void setWidth(long width);
long getHeight()const;
void setHeight(long height);
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getIdentity()const;
void setIdentity(const std::string& identity);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
private:
std::string imageData_;
long width_;
long height_;
std::string organizationId_;
std::string identity_;
std::string accessToken_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANOPTIMIZEDREQUEST_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYINFOREQUEST_H_

View File

@@ -0,0 +1,112 @@
/*
* 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_GETREPOSITORYINFORESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYINFORESULT_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 GetRepositoryInfoResult : public ServiceResult
{
public:
struct Result
{
struct _Namespace
{
std::string path;
std::string description;
long ownerId;
std::string state;
std::string createdAt;
bool _public;
std::string visibilityLevel;
long id;
std::string updatedAt;
std::string avatar;
std::string name;
};
struct Permissions
{
struct ProjectAccess
{
int accessLevel;
};
struct GroupAccess
{
int accessLevel;
};
GroupAccess groupAccess;
ProjectAccess projectAccess;
};
std::string httpUrlToRepo;
std::string description;
bool archive;
std::string createdAt;
std::string visibilityLevel;
std::string name;
std::string avatarUrl;
bool demoProjectStatus;
Permissions permissions;
std::vector<std::string> tagList;
std::string defaultBranch;
std::string path;
std::string pathWithNamespace;
std::string lastActivityAt;
long creatorId;
std::string webUrl;
std::string nameWithNamespace;
_Namespace _namespace;
int accessLevel;
std::string importUrl;
std::string sshUrlToRepo;
std::string importStatus;
bool importFromSubversion;
bool _public;
long id;
};
GetRepositoryInfoResult();
explicit GetRepositoryInfoResult(const std::string &payload);
~GetRepositoryInfoResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYINFORESULT_H_

View File

@@ -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_CODEUP_MODEL_LISTGROUPREPOSITORIESREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_LISTGROUPREPOSITORIESREQUEST_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 ListGroupRepositoriesRequest : public RoaServiceRequest
{
public:
ListGroupRepositoriesRequest();
~ListGroupRepositoriesRequest();
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
bool getIsMember()const;
void setIsMember(bool isMember);
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSearch()const;
void setSearch(const std::string& search);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
std::string getIdentity()const;
void setIdentity(const std::string& identity);
long getPageSize()const;
void setPageSize(long pageSize);
long getPage()const;
void setPage(long page);
private:
std::string accessToken_;
bool isMember_;
std::string organizationId_;
std::string search_;
std::string subUserId_;
std::string identity_;
long pageSize_;
long page_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTGROUPREPOSITORIESREQUEST_H_

View File

@@ -14,64 +14,63 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTGROUPREPOSITORIESRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_LISTGROUPREPOSITORIESRESULT_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 GetInstanceResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT ListGroupRepositoriesResult : public ServiceResult
{
public:
struct Data
struct ResultItem
{
std::string status;
long modifyTime;
long instanceId;
std::string dagType;
std::string nodeName;
std::string paramValues;
long createTime;
long cycTime;
long beginWaitTimeTime;
long dagId;
long bizdate;
long beginRunningTime;
long finishTime;
long nodeId;
long beginWaitResTime;
std::string lastActivityAt;
std::string path;
std::string pathWithNamespace;
bool archive;
long creatorId;
std::string createdAt;
std::string nameWithNamespace;
std::string webUrl;
int visibilityLevel;
std::string updatedAt;
std::string name;
std::string importStatus;
long id;
long namespaceId;
std::string httpCloneUrl;
std::string sshCloneUrl;
};
GetInstanceResult();
explicit GetInstanceResult(const std::string &payload);
~GetInstanceResult();
int getHttpStatusCode()const;
Data getData()const;
ListGroupRepositoriesResult();
explicit ListGroupRepositoriesResult(const std::string &payload);
~ListGroupRepositoriesResult();
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_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCERESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTGROUPREPOSITORIESRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_LISTGROUPSREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_LISTGROUPSREQUEST_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 ListGroupsRequest : public RoaServiceRequest
{
public:
ListGroupsRequest();
~ListGroupsRequest();
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
bool getIncludePersonal()const;
void setIncludePersonal(bool includePersonal);
std::string getSearch()const;
void setSearch(const std::string& search);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
long getPage()const;
void setPage(long page);
private:
std::string organizationId_;
bool includePersonal_;
std::string search_;
std::string subUserId_;
long pageSize_;
std::string accessToken_;
long page_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTGROUPSREQUEST_H_

View File

@@ -14,55 +14,61 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERRESULT_H_
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTGROUPSRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_LISTGROUPSRESULT_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 GetQualityFollowerResult : public ServiceResult
class ALIBABACLOUD_CODEUP_EXPORT ListGroupsResult : public ServiceResult
{
public:
struct Follower
struct ResultItem
{
std::string entityId;
std::string tableName;
std::string projectName;
std::string follower;
long parentId;
std::string path;
std::string pathWithNamespace;
std::string description;
std::string createdAt;
std::string nameWithNamespace;
std::string webUrl;
std::string visibilityLevel;
std::string updatedAt;
int accessLevel;
std::string name;
std::string type;
long ownerId;
long id;
int alarmMode;
};
GetQualityFollowerResult();
explicit GetQualityFollowerResult(const std::string &payload);
~GetQualityFollowerResult();
int getHttpStatusCode()const;
std::vector<Follower> getData()const;
ListGroupsResult();
explicit ListGroupsResult(const std::string &payload);
~ListGroupsResult();
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_;
std::vector<Follower> data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERRESULT_H_
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTGROUPSRESULT_H_

View File

@@ -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_MERGEMERGEREQUESTREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_MERGEMERGEREQUESTREQUEST_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 MergeMergeRequestRequest : public RoaServiceRequest
{
public:
MergeMergeRequestRequest();
~MergeMergeRequestRequest();
std::string getOrganizationId()const;
void setOrganizationId(const std::string& organizationId);
std::string getSubUserId()const;
void setSubUserId(const std::string& subUserId);
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_;
std::string subUserId_;
long mergeRequestId_;
std::string accessToken_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_MERGEMERGEREQUESTREQUEST_H_

View File

@@ -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_MERGEMERGEREQUESTRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_MERGEMERGEREQUESTRESULT_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 MergeMergeRequestResult : public ServiceResult
{
public:
struct Result
{
struct Author
{
std::string avatarUrl;
std::string externUserId;
long id;
std::string name;
};
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 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 title;
std::string webUrl;
std::string mergeError;
std::string nameWithNamespace;
std::string updatedAt;
std::string mergedRevision;
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;
};
MergeMergeRequestResult();
explicit MergeMergeRequestResult(const std::string &payload);
~MergeMergeRequestResult();
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_MERGEMERGEREQUESTRESULT_H_

View File

@@ -123,6 +123,78 @@ CodeupClient::AddRepositoryMemberOutcomeCallable CodeupClient::addRepositoryMemb
return task->get_future();
}
CodeupClient::AddWebhookOutcome CodeupClient::addWebhook(const AddWebhookRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddWebhookOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddWebhookOutcome(AddWebhookResult(outcome.result()));
else
return AddWebhookOutcome(outcome.error());
}
void CodeupClient::addWebhookAsync(const AddWebhookRequest& request, const AddWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addWebhook(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::AddWebhookOutcomeCallable CodeupClient::addWebhookCallable(const AddWebhookRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddWebhookOutcome()>>(
[this, request]()
{
return this->addWebhook(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::CreateBranchOutcome CodeupClient::createBranch(const CreateBranchRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateBranchOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateBranchOutcome(CreateBranchResult(outcome.result()));
else
return CreateBranchOutcome(outcome.error());
}
void CodeupClient::createBranchAsync(const CreateBranchRequest& request, const CreateBranchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createBranch(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::CreateBranchOutcomeCallable CodeupClient::createBranchCallable(const CreateBranchRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateBranchOutcome()>>(
[this, request]()
{
return this->createBranch(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::CreateFileOutcome CodeupClient::createFile(const CreateFileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -159,6 +231,42 @@ CodeupClient::CreateFileOutcomeCallable CodeupClient::createFileCallable(const C
return task->get_future();
}
CodeupClient::CreateMergeRequestOutcome CodeupClient::createMergeRequest(const CreateMergeRequestRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateMergeRequestOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateMergeRequestOutcome(CreateMergeRequestResult(outcome.result()));
else
return CreateMergeRequestOutcome(outcome.error());
}
void CodeupClient::createMergeRequestAsync(const CreateMergeRequestRequest& request, const CreateMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createMergeRequest(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::CreateMergeRequestOutcomeCallable CodeupClient::createMergeRequestCallable(const CreateMergeRequestRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateMergeRequestOutcome()>>(
[this, request]()
{
return this->createMergeRequest(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::CreateRepositoryOutcome CodeupClient::createRepository(const CreateRepositoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +339,78 @@ CodeupClient::CreateRepositoryGroupOutcomeCallable CodeupClient::createRepositor
return task->get_future();
}
CodeupClient::CreateTagOutcome CodeupClient::createTag(const CreateTagRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateTagOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateTagOutcome(CreateTagResult(outcome.result()));
else
return CreateTagOutcome(outcome.error());
}
void CodeupClient::createTagAsync(const CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createTag(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::CreateTagOutcomeCallable CodeupClient::createTagCallable(const CreateTagRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateTagOutcome()>>(
[this, request]()
{
return this->createTag(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::DeleteBranchOutcome CodeupClient::deleteBranch(const DeleteBranchRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteBranchOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteBranchOutcome(DeleteBranchResult(outcome.result()));
else
return DeleteBranchOutcome(outcome.error());
}
void CodeupClient::deleteBranchAsync(const DeleteBranchRequest& request, const DeleteBranchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteBranch(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::DeleteBranchOutcomeCallable CodeupClient::deleteBranchCallable(const DeleteBranchRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteBranchOutcome()>>(
[this, request]()
{
return this->deleteBranch(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::DeleteFileOutcome CodeupClient::deleteFile(const DeleteFileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -411,6 +591,42 @@ CodeupClient::DeleteRepositoryMemberOutcomeCallable CodeupClient::deleteReposito
return task->get_future();
}
CodeupClient::GetBranchInfoOutcome CodeupClient::getBranchInfo(const GetBranchInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetBranchInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetBranchInfoOutcome(GetBranchInfoResult(outcome.result()));
else
return GetBranchInfoOutcome(outcome.error());
}
void CodeupClient::getBranchInfoAsync(const GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getBranchInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::GetBranchInfoOutcomeCallable CodeupClient::getBranchInfoCallable(const GetBranchInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetBranchInfoOutcome()>>(
[this, request]()
{
return this->getBranchInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::GetCodeupOrganizationOutcome CodeupClient::getCodeupOrganization(const GetCodeupOrganizationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +699,78 @@ CodeupClient::GetFileBlobsOutcomeCallable CodeupClient::getFileBlobsCallable(con
return task->get_future();
}
CodeupClient::GetProjectMemberOutcome CodeupClient::getProjectMember(const GetProjectMemberRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetProjectMemberOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetProjectMemberOutcome(GetProjectMemberResult(outcome.result()));
else
return GetProjectMemberOutcome(outcome.error());
}
void CodeupClient::getProjectMemberAsync(const GetProjectMemberRequest& request, const GetProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getProjectMember(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::GetProjectMemberOutcomeCallable CodeupClient::getProjectMemberCallable(const GetProjectMemberRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetProjectMemberOutcome()>>(
[this, request]()
{
return this->getProjectMember(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::GetRepositoryInfoOutcome CodeupClient::getRepositoryInfo(const GetRepositoryInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetRepositoryInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetRepositoryInfoOutcome(GetRepositoryInfoResult(outcome.result()));
else
return GetRepositoryInfoOutcome(outcome.error());
}
void CodeupClient::getRepositoryInfoAsync(const GetRepositoryInfoRequest& request, const GetRepositoryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getRepositoryInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::GetRepositoryInfoOutcomeCallable CodeupClient::getRepositoryInfoCallable(const GetRepositoryInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetRepositoryInfoOutcome()>>(
[this, request]()
{
return this->getRepositoryInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::ListGroupMemberOutcome CodeupClient::listGroupMember(const ListGroupMemberRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,6 +807,78 @@ CodeupClient::ListGroupMemberOutcomeCallable CodeupClient::listGroupMemberCallab
return task->get_future();
}
CodeupClient::ListGroupRepositoriesOutcome CodeupClient::listGroupRepositories(const ListGroupRepositoriesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListGroupRepositoriesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListGroupRepositoriesOutcome(ListGroupRepositoriesResult(outcome.result()));
else
return ListGroupRepositoriesOutcome(outcome.error());
}
void CodeupClient::listGroupRepositoriesAsync(const ListGroupRepositoriesRequest& request, const ListGroupRepositoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listGroupRepositories(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::ListGroupRepositoriesOutcomeCallable CodeupClient::listGroupRepositoriesCallable(const ListGroupRepositoriesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListGroupRepositoriesOutcome()>>(
[this, request]()
{
return this->listGroupRepositories(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::ListGroupsOutcome CodeupClient::listGroups(const ListGroupsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListGroupsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListGroupsOutcome(ListGroupsResult(outcome.result()));
else
return ListGroupsOutcome(outcome.error());
}
void CodeupClient::listGroupsAsync(const ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listGroups(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::ListGroupsOutcomeCallable CodeupClient::listGroupsCallable(const ListGroupsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListGroupsOutcome()>>(
[this, request]()
{
return this->listGroups(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::ListRepositoryMemberOutcome CodeupClient::listRepositoryMember(const ListRepositoryMemberRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +951,42 @@ CodeupClient::ListRepositoryTreeOutcomeCallable CodeupClient::listRepositoryTree
return task->get_future();
}
CodeupClient::MergeMergeRequestOutcome CodeupClient::mergeMergeRequest(const MergeMergeRequestRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MergeMergeRequestOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MergeMergeRequestOutcome(MergeMergeRequestResult(outcome.result()));
else
return MergeMergeRequestOutcome(outcome.error());
}
void CodeupClient::mergeMergeRequestAsync(const MergeMergeRequestRequest& request, const MergeMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, mergeMergeRequest(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::MergeMergeRequestOutcomeCallable CodeupClient::mergeMergeRequestCallable(const MergeMergeRequestRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MergeMergeRequestOutcome()>>(
[this, request]()
{
return this->mergeMergeRequest(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::UpdateFileOutcome CodeupClient::updateFile(const UpdateFileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View 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/AddWebhookRequest.h>
using AlibabaCloud::Codeup::Model::AddWebhookRequest;
AddWebhookRequest::AddWebhookRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/hooks");
setMethod(HttpRequest::Method::Post);
}
AddWebhookRequest::~AddWebhookRequest()
{}
std::string AddWebhookRequest::getOrganizationId()const
{
return organizationId_;
}
void AddWebhookRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string AddWebhookRequest::getAccessToken()const
{
return accessToken_;
}
void AddWebhookRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long AddWebhookRequest::getProjectId()const
{
return projectId_;
}
void AddWebhookRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}

View File

@@ -0,0 +1,97 @@
/*
* 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/AddWebhookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
AddWebhookResult::AddWebhookResult() :
ServiceResult()
{}
AddWebhookResult::AddWebhookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddWebhookResult::~AddWebhookResult()
{}
void AddWebhookResult::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["Url"].isNull())
result_.url = resultNode["Url"].asString();
if(!resultNode["CreatedAt"].isNull())
result_.createdAt = resultNode["CreatedAt"].asString();
if(!resultNode["ProjectId"].isNull())
result_.projectId = std::stol(resultNode["ProjectId"].asString());
if(!resultNode["PushEvents"].isNull())
result_.pushEvents = resultNode["PushEvents"].asString() == "true";
if(!resultNode["IssuesEvents"].isNull())
result_.issuesEvents = resultNode["IssuesEvents"].asString() == "true";
if(!resultNode["MergeRequestsEvents"].isNull())
result_.mergeRequestsEvents = resultNode["MergeRequestsEvents"].asString() == "true";
if(!resultNode["TagPushEvents"].isNull())
result_.tagPushEvents = resultNode["TagPushEvents"].asString() == "true";
if(!resultNode["BuildEvents"].isNull())
result_.buildEvents = resultNode["BuildEvents"].asString() == "true";
if(!resultNode["NoteEvents"].isNull())
result_.noteEvents = resultNode["NoteEvents"].asString() == "true";
if(!resultNode["EnableSslVerification"].isNull())
result_.enableSslVerification = resultNode["EnableSslVerification"].asString() == "true";
if(!resultNode["LastTestResult"].isNull())
result_.lastTestResult = resultNode["LastTestResult"].asString();
if(!resultNode["Description"].isNull())
result_.description = resultNode["Description"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string AddWebhookResult::getErrorCode()const
{
return errorCode_;
}
std::string AddWebhookResult::getErrorMessage()const
{
return errorMessage_;
}
bool AddWebhookResult::getSuccess()const
{
return success_;
}
AddWebhookResult::Result AddWebhookResult::getResult()const
{
return result_;
}

View 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/CreateBranchRequest.h>
using AlibabaCloud::Codeup::Model::CreateBranchRequest;
CreateBranchRequest::CreateBranchRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/repository/branches");
setMethod(HttpRequest::Method::Post);
}
CreateBranchRequest::~CreateBranchRequest()
{}
std::string CreateBranchRequest::getOrganizationId()const
{
return organizationId_;
}
void CreateBranchRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string CreateBranchRequest::getSubUserId()const
{
return subUserId_;
}
void CreateBranchRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string CreateBranchRequest::getAccessToken()const
{
return accessToken_;
}
void CreateBranchRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long CreateBranchRequest::getProjectId()const
{
return projectId_;
}
void CreateBranchRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}

View File

@@ -0,0 +1,101 @@
/*
* 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/CreateBranchResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
CreateBranchResult::CreateBranchResult() :
ServiceResult()
{}
CreateBranchResult::CreateBranchResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateBranchResult::~CreateBranchResult()
{}
void CreateBranchResult::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["BranchName"].isNull())
result_.branchName = resultNode["BranchName"].asString();
if(!resultNode["ProtectedBranch"].isNull())
result_.protectedBranch = resultNode["ProtectedBranch"].asString() == "true";
auto commitInfoNode = resultNode["CommitInfo"];
if(!commitInfoNode["Id"].isNull())
result_.commitInfo.id = commitInfoNode["Id"].asString();
if(!commitInfoNode["ShortId"].isNull())
result_.commitInfo.shortId = commitInfoNode["ShortId"].asString();
if(!commitInfoNode["Title"].isNull())
result_.commitInfo.title = commitInfoNode["Title"].asString();
if(!commitInfoNode["AuthorName"].isNull())
result_.commitInfo.authorName = commitInfoNode["AuthorName"].asString();
if(!commitInfoNode["AuthorEmail"].isNull())
result_.commitInfo.authorEmail = commitInfoNode["AuthorEmail"].asString();
if(!commitInfoNode["CreatedAt"].isNull())
result_.commitInfo.createdAt = commitInfoNode["CreatedAt"].asString();
if(!commitInfoNode["Message"].isNull())
result_.commitInfo.message = commitInfoNode["Message"].asString();
if(!commitInfoNode["AuthorDate"].isNull())
result_.commitInfo.authorDate = commitInfoNode["AuthorDate"].asString();
if(!commitInfoNode["CommittedDate"].isNull())
result_.commitInfo.committedDate = commitInfoNode["CommittedDate"].asString();
if(!commitInfoNode["CommitterEmail"].isNull())
result_.commitInfo.committerEmail = commitInfoNode["CommitterEmail"].asString();
if(!commitInfoNode["CommitterName"].isNull())
result_.commitInfo.committerName = commitInfoNode["CommitterName"].asString();
auto allParentIds = commitInfoNode["ParentIds"]["ParentIds"];
for (auto value : allParentIds)
result_.commitInfo.parentIds.push_back(value.asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string CreateBranchResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateBranchResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateBranchResult::getSuccess()const
{
return success_;
}
CreateBranchResult::Result CreateBranchResult::getResult()const
{
return result_;
}

View 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/CreateMergeRequestRequest.h>
using AlibabaCloud::Codeup::Model::CreateMergeRequestRequest;
CreateMergeRequestRequest::CreateMergeRequestRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v4/projects/[ProjectId]/merge_requests");
setMethod(HttpRequest::Method::Post);
}
CreateMergeRequestRequest::~CreateMergeRequestRequest()
{}
std::string CreateMergeRequestRequest::getOrganizationId()const
{
return organizationId_;
}
void CreateMergeRequestRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string CreateMergeRequestRequest::getSubUserId()const
{
return subUserId_;
}
void CreateMergeRequestRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string CreateMergeRequestRequest::getAccessToken()const
{
return accessToken_;
}
void CreateMergeRequestRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long CreateMergeRequestRequest::getProjectId()const
{
return projectId_;
}
void CreateMergeRequestRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}

View 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/CreateMergeRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
CreateMergeRequestResult::CreateMergeRequestResult() :
ServiceResult()
{}
CreateMergeRequestResult::CreateMergeRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMergeRequestResult::~CreateMergeRequestResult()
{}
void CreateMergeRequestResult::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["ProjectId"].isNull())
result_.projectId = std::stol(resultNode["ProjectId"].asString());
if(!resultNode["Title"].isNull())
result_.title = resultNode["Title"].asString();
if(!resultNode["Description"].isNull())
result_.description = resultNode["Description"].asString();
if(!resultNode["State"].isNull())
result_.state = resultNode["State"].asString();
if(!resultNode["MergeStatus"].isNull())
result_.mergeStatus = resultNode["MergeStatus"].asString();
if(!resultNode["CreatedAt"].isNull())
result_.createdAt = resultNode["CreatedAt"].asString();
if(!resultNode["UpdatedAt"].isNull())
result_.updatedAt = resultNode["UpdatedAt"].asString();
if(!resultNode["TargetBranch"].isNull())
result_.targetBranch = resultNode["TargetBranch"].asString();
if(!resultNode["SourceBranch"].isNull())
result_.sourceBranch = resultNode["SourceBranch"].asString();
if(!resultNode["WebUrl"].isNull())
result_.webUrl = resultNode["WebUrl"].asString();
if(!resultNode["AcceptedRevision"].isNull())
result_.acceptedRevision = resultNode["AcceptedRevision"].asString();
if(!resultNode["MergeError"].isNull())
result_.mergeError = resultNode["MergeError"].asString();
if(!resultNode["MergedRevision"].isNull())
result_.mergedRevision = resultNode["MergedRevision"].asString();
if(!resultNode["NameWithNamespace"].isNull())
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
if(!resultNode["MergeType"].isNull())
result_.mergeType = resultNode["MergeType"].asString();
if(!resultNode["AheadCommitCount"].isNull())
result_.aheadCommitCount = std::stoi(resultNode["AheadCommitCount"].asString());
if(!resultNode["BehindCommitCount"].isNull())
result_.behindCommitCount = std::stoi(resultNode["BehindCommitCount"].asString());
auto allAssigneeListNode = resultNode["AssigneeList"]["AssigneeListItem"];
for (auto resultNodeAssigneeListAssigneeListItem : allAssigneeListNode)
{
Result::AssigneeListItem assigneeListItemObject;
if(!resultNodeAssigneeListAssigneeListItem["Id"].isNull())
assigneeListItemObject.id = resultNodeAssigneeListAssigneeListItem["Id"].asString();
if(!resultNodeAssigneeListAssigneeListItem["ExternUserId"].isNull())
assigneeListItemObject.externUserId = resultNodeAssigneeListAssigneeListItem["ExternUserId"].asString();
if(!resultNodeAssigneeListAssigneeListItem["AvatarUrl"].isNull())
assigneeListItemObject.avatarUrl = resultNodeAssigneeListAssigneeListItem["AvatarUrl"].asString();
if(!resultNodeAssigneeListAssigneeListItem["Name"].isNull())
assigneeListItemObject.name = resultNodeAssigneeListAssigneeListItem["Name"].asString();
result_.assigneeList.push_back(assigneeListItemObject);
}
auto authorNode = resultNode["Author"];
if(!authorNode["Id"].isNull())
result_.author.id = std::stol(authorNode["Id"].asString());
if(!authorNode["ExternUserId"].isNull())
result_.author.externUserId = authorNode["ExternUserId"].asString();
if(!authorNode["AvatarUrl"].isNull())
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
if(!authorNode["Name"].isNull())
result_.author.name = authorNode["Name"].asString();
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["CheckStatus"].isNull())
satisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].asString();
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].isNull())
satisfiedCheckResultsItemObject.checkName = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].asString();
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].isNull())
satisfiedCheckResultsItemObject.checkType = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].asString();
auto allExtraUsersNode = allSatisfiedCheckResultsNode["ExtraUsers"]["ExtraUsersItem"];
for (auto allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem : allExtraUsersNode)
{
Result::ApproveCheckResult::SatisfiedCheckResultsItem::ExtraUsersItem extraUsersObject;
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].isNull())
extraUsersObject.id = std::stol(allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].asString());
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].isNull())
extraUsersObject.externUserId = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].asString();
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].isNull())
extraUsersObject.avatarUrl = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].asString();
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Name"].isNull())
extraUsersObject.name = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["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["CheckStatus"].isNull())
unsatisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].asString();
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].isNull())
unsatisfiedCheckResultsItemObject.checkName = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].asString();
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].isNull())
unsatisfiedCheckResultsItemObject.checkType = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].asString();
auto allExtraUsers3Node = allUnsatisfiedCheckResultsNode["ExtraUsers"]["ExtraUsersItem"];
for (auto allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem : allExtraUsers3Node)
{
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem::ExtraUsersItem4 extraUsers3Object;
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].isNull())
extraUsers3Object.id = std::stol(allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].asString());
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].isNull())
extraUsers3Object.externUserId = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].asString();
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].isNull())
extraUsers3Object.avatarUrl = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].asString();
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Name"].isNull())
extraUsers3Object.name = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["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);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string CreateMergeRequestResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateMergeRequestResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateMergeRequestResult::getSuccess()const
{
return success_;
}
CreateMergeRequestResult::Result CreateMergeRequestResult::getResult()const
{
return result_;
}

View 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/CreateTagRequest.h>
using AlibabaCloud::Codeup::Model::CreateTagRequest;
CreateTagRequest::CreateTagRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/repository/tags");
setMethod(HttpRequest::Method::Post);
}
CreateTagRequest::~CreateTagRequest()
{}
std::string CreateTagRequest::getOrganizationId()const
{
return organizationId_;
}
void CreateTagRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string CreateTagRequest::getSubUserId()const
{
return subUserId_;
}
void CreateTagRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string CreateTagRequest::getAccessToken()const
{
return accessToken_;
}
void CreateTagRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long CreateTagRequest::getProjectId()const
{
return projectId_;
}
void CreateTagRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}

View File

@@ -0,0 +1,106 @@
/*
* 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/CreateTagResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
CreateTagResult::CreateTagResult() :
ServiceResult()
{}
CreateTagResult::CreateTagResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTagResult::~CreateTagResult()
{}
void CreateTagResult::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["Name"].isNull())
result_.name = resultNode["Name"].asString();
if(!resultNode["Message"].isNull())
result_.message = resultNode["Message"].asString();
auto commitInfoNode = resultNode["CommitInfo"];
if(!commitInfoNode["Id"].isNull())
result_.commitInfo.id = commitInfoNode["Id"].asString();
if(!commitInfoNode["ShortId"].isNull())
result_.commitInfo.shortId = commitInfoNode["ShortId"].asString();
if(!commitInfoNode["Title"].isNull())
result_.commitInfo.title = commitInfoNode["Title"].asString();
if(!commitInfoNode["AuthorName"].isNull())
result_.commitInfo.authorName = commitInfoNode["AuthorName"].asString();
if(!commitInfoNode["AuthorEmail"].isNull())
result_.commitInfo.authorEmail = commitInfoNode["AuthorEmail"].asString();
if(!commitInfoNode["AuthoredDate"].isNull())
result_.commitInfo.authoredDate = commitInfoNode["AuthoredDate"].asString();
if(!commitInfoNode["CommittedDate"].isNull())
result_.commitInfo.committedDate = commitInfoNode["CommittedDate"].asString();
if(!commitInfoNode["CommitterEmail"].isNull())
result_.commitInfo.committerEmail = commitInfoNode["CommitterEmail"].asString();
if(!commitInfoNode["CommitterName"].isNull())
result_.commitInfo.committerName = commitInfoNode["CommitterName"].asString();
if(!commitInfoNode["CreatedAt"].isNull())
result_.commitInfo.createdAt = commitInfoNode["CreatedAt"].asString();
if(!commitInfoNode["Message"].isNull())
result_.commitInfo.message = commitInfoNode["Message"].asString();
auto allParentIds = commitInfoNode["ParentIds"]["ParentIds"];
for (auto value : allParentIds)
result_.commitInfo.parentIds.push_back(value.asString());
auto releaseNode = resultNode["Release"];
if(!releaseNode["TagName"].isNull())
result_.release.tagName = releaseNode["TagName"].asString();
if(!releaseNode["Description"].isNull())
result_.release.description = releaseNode["Description"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string CreateTagResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateTagResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateTagResult::getSuccess()const
{
return success_;
}
CreateTagResult::Result CreateTagResult::getResult()const
{
return result_;
}

View 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/DeleteBranchRequest.h>
using AlibabaCloud::Codeup::Model::DeleteBranchRequest;
DeleteBranchRequest::DeleteBranchRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/repository/branches/[BranchName]");
setMethod(HttpRequest::Method::Delete);
}
DeleteBranchRequest::~DeleteBranchRequest()
{}
std::string DeleteBranchRequest::getOrganizationId()const
{
return organizationId_;
}
void DeleteBranchRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string DeleteBranchRequest::getSubUserId()const
{
return subUserId_;
}
void DeleteBranchRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string DeleteBranchRequest::getAccessToken()const
{
return accessToken_;
}
void DeleteBranchRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long DeleteBranchRequest::getProjectId()const
{
return projectId_;
}
void DeleteBranchRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}
std::string DeleteBranchRequest::getBranchName()const
{
return branchName_;
}
void DeleteBranchRequest::setBranchName(const std::string& branchName)
{
branchName_ = branchName;
setParameter("BranchName", branchName);
}

View File

@@ -14,59 +14,60 @@
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/UpdateFolderResult.h>
#include <alibabacloud/codeup/model/DeleteBranchResult.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;
UpdateFolderResult::UpdateFolderResult() :
DeleteBranchResult::DeleteBranchResult() :
ServiceResult()
{}
UpdateFolderResult::UpdateFolderResult(const std::string &payload) :
DeleteBranchResult::DeleteBranchResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateFolderResult::~UpdateFolderResult()
DeleteBranchResult::~DeleteBranchResult()
{}
void UpdateFolderResult::parse(const std::string &payload)
void DeleteBranchResult::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["BranchName"].isNull())
result_.branchName = resultNode["BranchName"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
int UpdateFolderResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string UpdateFolderResult::getErrorCode()const
std::string DeleteBranchResult::getErrorCode()const
{
return errorCode_;
}
std::string UpdateFolderResult::getErrorMessage()const
std::string DeleteBranchResult::getErrorMessage()const
{
return errorMessage_;
}
bool UpdateFolderResult::getSuccess()const
bool DeleteBranchResult::getSuccess()const
{
return success_;
}
DeleteBranchResult::Result DeleteBranchResult::getResult()const
{
return result_;
}

View File

@@ -21,8 +21,8 @@ using AlibabaCloud::Codeup::Model::DeleteRepositoryGroupRequest;
DeleteRepositoryGroupRequest::DeleteRepositoryGroupRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/groups/[GroupId]");
setMethod(HttpRequest::Method::Delete);
setResourcePath("/api/v3/groups/[GroupId]/remove");
setMethod(HttpRequest::Method::Post);
}
DeleteRepositoryGroupRequest::~DeleteRepositoryGroupRequest()

View File

@@ -22,7 +22,7 @@ DeleteRepositoryRequest::DeleteRepositoryRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/remove");
setMethod(HttpRequest::Method::Delete);
setMethod(HttpRequest::Method::Post);
}
DeleteRepositoryRequest::~DeleteRepositoryRequest()

View 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/GetBranchInfoRequest.h>
using AlibabaCloud::Codeup::Model::GetBranchInfoRequest;
GetBranchInfoRequest::GetBranchInfoRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/repository/branches/[BranchName]");
setMethod(HttpRequest::Method::Get);
}
GetBranchInfoRequest::~GetBranchInfoRequest()
{}
std::string GetBranchInfoRequest::getOrganizationId()const
{
return organizationId_;
}
void GetBranchInfoRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string GetBranchInfoRequest::getSubUserId()const
{
return subUserId_;
}
void GetBranchInfoRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string GetBranchInfoRequest::getAccessToken()const
{
return accessToken_;
}
void GetBranchInfoRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long GetBranchInfoRequest::getProjectId()const
{
return projectId_;
}
void GetBranchInfoRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}
std::string GetBranchInfoRequest::getBranchName()const
{
return branchName_;
}
void GetBranchInfoRequest::setBranchName(const std::string& branchName)
{
branchName_ = branchName;
setParameter("BranchName", branchName);
}

View File

@@ -0,0 +1,101 @@
/*
* 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/GetBranchInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
GetBranchInfoResult::GetBranchInfoResult() :
ServiceResult()
{}
GetBranchInfoResult::GetBranchInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetBranchInfoResult::~GetBranchInfoResult()
{}
void GetBranchInfoResult::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["BranchName"].isNull())
result_.branchName = resultNode["BranchName"].asString();
if(!resultNode["ProtectedBranch"].isNull())
result_.protectedBranch = resultNode["ProtectedBranch"].asString() == "true";
auto commitInfoNode = resultNode["CommitInfo"];
if(!commitInfoNode["Id"].isNull())
result_.commitInfo.id = commitInfoNode["Id"].asString();
if(!commitInfoNode["ShortId"].isNull())
result_.commitInfo.shortId = commitInfoNode["ShortId"].asString();
if(!commitInfoNode["Title"].isNull())
result_.commitInfo.title = commitInfoNode["Title"].asString();
if(!commitInfoNode["AuthorName"].isNull())
result_.commitInfo.authorName = commitInfoNode["AuthorName"].asString();
if(!commitInfoNode["AuthorEmail"].isNull())
result_.commitInfo.authorEmail = commitInfoNode["AuthorEmail"].asString();
if(!commitInfoNode["CreatedAt"].isNull())
result_.commitInfo.createdAt = commitInfoNode["CreatedAt"].asString();
if(!commitInfoNode["Message"].isNull())
result_.commitInfo.message = commitInfoNode["Message"].asString();
if(!commitInfoNode["AuthorDate"].isNull())
result_.commitInfo.authorDate = commitInfoNode["AuthorDate"].asString();
if(!commitInfoNode["CommittedDate"].isNull())
result_.commitInfo.committedDate = commitInfoNode["CommittedDate"].asString();
if(!commitInfoNode["CommitterEmail"].isNull())
result_.commitInfo.committerEmail = commitInfoNode["CommitterEmail"].asString();
if(!commitInfoNode["CommitterName"].isNull())
result_.commitInfo.committerName = commitInfoNode["CommitterName"].asString();
auto allParentIds = commitInfoNode["ParentIds"]["ParentIds"];
for (auto value : allParentIds)
result_.commitInfo.parentIds.push_back(value.asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string GetBranchInfoResult::getErrorCode()const
{
return errorCode_;
}
std::string GetBranchInfoResult::getErrorMessage()const
{
return errorMessage_;
}
bool GetBranchInfoResult::getSuccess()const
{
return success_;
}
GetBranchInfoResult::Result GetBranchInfoResult::getResult()const
{
return result_;
}

View 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/GetProjectMemberRequest.h>
using AlibabaCloud::Codeup::Model::GetProjectMemberRequest;
GetProjectMemberRequest::GetProjectMemberRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/members/[UserId]");
setMethod(HttpRequest::Method::Get);
}
GetProjectMemberRequest::~GetProjectMemberRequest()
{}
std::string GetProjectMemberRequest::getOrganizationId()const
{
return organizationId_;
}
void GetProjectMemberRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string GetProjectMemberRequest::getSubUserId()const
{
return subUserId_;
}
void GetProjectMemberRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string GetProjectMemberRequest::getAccessToken()const
{
return accessToken_;
}
void GetProjectMemberRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long GetProjectMemberRequest::getProjectId()const
{
return projectId_;
}
void GetProjectMemberRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}
long GetProjectMemberRequest::getUserId()const
{
return userId_;
}
void GetProjectMemberRequest::setUserId(long userId)
{
userId_ = userId;
setParameter("UserId", std::to_string(userId));
}

View File

@@ -14,67 +14,68 @@
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h>
#include <alibabacloud/codeup/model/GetProjectMemberResult.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() :
GetProjectMemberResult::GetProjectMemberResult() :
ServiceResult()
{}
CreateMetaCategoryResult::CreateMetaCategoryResult(const std::string &payload) :
GetProjectMemberResult::GetProjectMemberResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMetaCategoryResult::~CreateMetaCategoryResult()
GetProjectMemberResult::~GetProjectMemberResult()
{}
void CreateMetaCategoryResult::parse(const std::string &payload)
void GetProjectMemberResult::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["Id"].isNull())
result_.id = std::stol(resultNode["Id"].asString());
if(!resultNode["ExternUserId"].isNull())
result_.externUserId = resultNode["ExternUserId"].asString();
if(!resultNode["AvatarUrl"].isNull())
result_.avatarUrl = resultNode["AvatarUrl"].asString();
if(!resultNode["Name"].isNull())
result_.name = resultNode["Name"].asString();
if(!resultNode["AccessLevel"].isNull())
result_.accessLevel = std::stoi(resultNode["AccessLevel"].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["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
int CreateMetaCategoryResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
CreateMetaCategoryResult::Data CreateMetaCategoryResult::getData()const
{
return data_;
}
std::string CreateMetaCategoryResult::getErrorCode()const
std::string GetProjectMemberResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateMetaCategoryResult::getErrorMessage()const
std::string GetProjectMemberResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateMetaCategoryResult::getSuccess()const
bool GetProjectMemberResult::getSuccess()const
{
return success_;
}
GetProjectMemberResult::Result GetProjectMemberResult::getResult()const
{
return result_;
}

View 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/GetRepositoryInfoRequest.h>
using AlibabaCloud::Codeup::Model::GetRepositoryInfoRequest;
GetRepositoryInfoRequest::GetRepositoryInfoRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/info");
setMethod(HttpRequest::Method::Get);
}
GetRepositoryInfoRequest::~GetRepositoryInfoRequest()
{}
std::string GetRepositoryInfoRequest::getOrganizationId()const
{
return organizationId_;
}
void GetRepositoryInfoRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string GetRepositoryInfoRequest::getIdentity()const
{
return identity_;
}
void GetRepositoryInfoRequest::setIdentity(const std::string& identity)
{
identity_ = identity;
setParameter("Identity", identity);
}
std::string GetRepositoryInfoRequest::getAccessToken()const
{
return accessToken_;
}
void GetRepositoryInfoRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}

View File

@@ -0,0 +1,148 @@
/*
* 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/GetRepositoryInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
GetRepositoryInfoResult::GetRepositoryInfoResult() :
ServiceResult()
{}
GetRepositoryInfoResult::GetRepositoryInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepositoryInfoResult::~GetRepositoryInfoResult()
{}
void GetRepositoryInfoResult::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["SshUrlToRepo"].isNull())
result_.sshUrlToRepo = resultNode["SshUrlToRepo"].asString();
if(!resultNode["Description"].isNull())
result_.description = resultNode["Description"].asString();
if(!resultNode["DefaultBranch"].isNull())
result_.defaultBranch = resultNode["DefaultBranch"].asString();
if(!resultNode["Public"].isNull())
result_._public = resultNode["Public"].asString() == "true";
if(!resultNode["VisibilityLevel"].isNull())
result_.visibilityLevel = resultNode["VisibilityLevel"].asString();
if(!resultNode["HttpUrlToRepo"].isNull())
result_.httpUrlToRepo = resultNode["HttpUrlToRepo"].asString();
if(!resultNode["WebUrl"].isNull())
result_.webUrl = resultNode["WebUrl"].asString();
if(!resultNode["Name"].isNull())
result_.name = resultNode["Name"].asString();
if(!resultNode["NameWithNamespace"].isNull())
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
if(!resultNode["Path"].isNull())
result_.path = resultNode["Path"].asString();
if(!resultNode["PathWithNamespace"].isNull())
result_.pathWithNamespace = resultNode["PathWithNamespace"].asString();
if(!resultNode["CreatedAt"].isNull())
result_.createdAt = resultNode["CreatedAt"].asString();
if(!resultNode["LastActivityAt"].isNull())
result_.lastActivityAt = resultNode["LastActivityAt"].asString();
if(!resultNode["CreatorId"].isNull())
result_.creatorId = std::stol(resultNode["CreatorId"].asString());
if(!resultNode["Archive"].isNull())
result_.archive = resultNode["Archive"].asString() == "true";
if(!resultNode["AvatarUrl"].isNull())
result_.avatarUrl = resultNode["AvatarUrl"].asString();
if(!resultNode["DemoProjectStatus"].isNull())
result_.demoProjectStatus = resultNode["DemoProjectStatus"].asString() == "true";
if(!resultNode["AccessLevel"].isNull())
result_.accessLevel = std::stoi(resultNode["AccessLevel"].asString());
if(!resultNode["ImportStatus"].isNull())
result_.importStatus = resultNode["ImportStatus"].asString();
if(!resultNode["ImportUrl"].isNull())
result_.importUrl = resultNode["ImportUrl"].asString();
if(!resultNode["ImportFromSubversion"].isNull())
result_.importFromSubversion = resultNode["ImportFromSubversion"].asString() == "true";
auto _namespaceNode = resultNode["Namespace"];
if(!_namespaceNode["Id"].isNull())
result_._namespace.id = std::stol(_namespaceNode["Id"].asString());
if(!_namespaceNode["Name"].isNull())
result_._namespace.name = _namespaceNode["Name"].asString();
if(!_namespaceNode["Path"].isNull())
result_._namespace.path = _namespaceNode["Path"].asString();
if(!_namespaceNode["OwnerId"].isNull())
result_._namespace.ownerId = std::stol(_namespaceNode["OwnerId"].asString());
if(!_namespaceNode["CreatedAt"].isNull())
result_._namespace.createdAt = _namespaceNode["CreatedAt"].asString();
if(!_namespaceNode["UpdatedAt"].isNull())
result_._namespace.updatedAt = _namespaceNode["UpdatedAt"].asString();
if(!_namespaceNode["Description"].isNull())
result_._namespace.description = _namespaceNode["Description"].asString();
if(!_namespaceNode["State"].isNull())
result_._namespace.state = _namespaceNode["State"].asString();
if(!_namespaceNode["Avatar"].isNull())
result_._namespace.avatar = _namespaceNode["Avatar"].asString();
if(!_namespaceNode["Public"].isNull())
result_._namespace._public = _namespaceNode["Public"].asString() == "true";
if(!_namespaceNode["VisibilityLevel"].isNull())
result_._namespace.visibilityLevel = _namespaceNode["VisibilityLevel"].asString();
auto permissionsNode = resultNode["Permissions"];
auto projectAccessNode = permissionsNode["ProjectAccess"];
if(!projectAccessNode["AccessLevel"].isNull())
result_.permissions.projectAccess.accessLevel = std::stoi(projectAccessNode["AccessLevel"].asString());
auto groupAccessNode = permissionsNode["GroupAccess"];
if(!groupAccessNode["AccessLevel"].isNull())
result_.permissions.groupAccess.accessLevel = std::stoi(groupAccessNode["AccessLevel"].asString());
auto allTagList = resultNode["TagList"]["TagList"];
for (auto value : allTagList)
result_.tagList.push_back(value.asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
int GetRepositoryInfoResult::getErrorCode()const
{
return errorCode_;
}
std::string GetRepositoryInfoResult::getErrorMessage()const
{
return errorMessage_;
}
bool GetRepositoryInfoResult::getSuccess()const
{
return success_;
}
GetRepositoryInfoResult::Result GetRepositoryInfoResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,118 @@
/*
* 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/ListGroupRepositoriesRequest.h>
using AlibabaCloud::Codeup::Model::ListGroupRepositoriesRequest;
ListGroupRepositoriesRequest::ListGroupRepositoriesRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/groups/[Identity]/projects");
setMethod(HttpRequest::Method::Get);
}
ListGroupRepositoriesRequest::~ListGroupRepositoriesRequest()
{}
std::string ListGroupRepositoriesRequest::getAccessToken()const
{
return accessToken_;
}
void ListGroupRepositoriesRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
bool ListGroupRepositoriesRequest::getIsMember()const
{
return isMember_;
}
void ListGroupRepositoriesRequest::setIsMember(bool isMember)
{
isMember_ = isMember;
setParameter("IsMember", isMember ? "true" : "false");
}
std::string ListGroupRepositoriesRequest::getOrganizationId()const
{
return organizationId_;
}
void ListGroupRepositoriesRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string ListGroupRepositoriesRequest::getSearch()const
{
return search_;
}
void ListGroupRepositoriesRequest::setSearch(const std::string& search)
{
search_ = search;
setParameter("Search", search);
}
std::string ListGroupRepositoriesRequest::getSubUserId()const
{
return subUserId_;
}
void ListGroupRepositoriesRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
std::string ListGroupRepositoriesRequest::getIdentity()const
{
return identity_;
}
void ListGroupRepositoriesRequest::setIdentity(const std::string& identity)
{
identity_ = identity;
setParameter("Identity", identity);
}
long ListGroupRepositoriesRequest::getPageSize()const
{
return pageSize_;
}
void ListGroupRepositoriesRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
long ListGroupRepositoriesRequest::getPage()const
{
return page_;
}
void ListGroupRepositoriesRequest::setPage(long page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

View 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/ListGroupRepositoriesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
ListGroupRepositoriesResult::ListGroupRepositoriesResult() :
ServiceResult()
{}
ListGroupRepositoriesResult::ListGroupRepositoriesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListGroupRepositoriesResult::~ListGroupRepositoriesResult()
{}
void ListGroupRepositoriesResult::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["Archive"].isNull())
resultObject.archive = valueResultResultItem["Archive"].asString() == "true";
if(!valueResultResultItem["CreatedAt"].isNull())
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
if(!valueResultResultItem["UpdatedAt"].isNull())
resultObject.updatedAt = valueResultResultItem["UpdatedAt"].asString();
if(!valueResultResultItem["LastActivityAt"].isNull())
resultObject.lastActivityAt = valueResultResultItem["LastActivityAt"].asString();
if(!valueResultResultItem["Id"].isNull())
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
if(!valueResultResultItem["CreatorId"].isNull())
resultObject.creatorId = std::stol(valueResultResultItem["CreatorId"].asString());
if(!valueResultResultItem["Name"].isNull())
resultObject.name = valueResultResultItem["Name"].asString();
if(!valueResultResultItem["NameWithNamespace"].isNull())
resultObject.nameWithNamespace = valueResultResultItem["NameWithNamespace"].asString();
if(!valueResultResultItem["Path"].isNull())
resultObject.path = valueResultResultItem["Path"].asString();
if(!valueResultResultItem["PathWithNamespace"].isNull())
resultObject.pathWithNamespace = valueResultResultItem["PathWithNamespace"].asString();
if(!valueResultResultItem["NamespaceId"].isNull())
resultObject.namespaceId = std::stol(valueResultResultItem["NamespaceId"].asString());
if(!valueResultResultItem["HttpCloneUrl"].isNull())
resultObject.httpCloneUrl = valueResultResultItem["HttpCloneUrl"].asString();
if(!valueResultResultItem["SshCloneUrl"].isNull())
resultObject.sshCloneUrl = valueResultResultItem["SshCloneUrl"].asString();
if(!valueResultResultItem["VisibilityLevel"].isNull())
resultObject.visibilityLevel = std::stoi(valueResultResultItem["VisibilityLevel"].asString());
if(!valueResultResultItem["WebUrl"].isNull())
resultObject.webUrl = valueResultResultItem["WebUrl"].asString();
if(!valueResultResultItem["ImportStatus"].isNull())
resultObject.importStatus = valueResultResultItem["ImportStatus"].asString();
result_.push_back(resultObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string ListGroupRepositoriesResult::getErrorCode()const
{
return errorCode_;
}
std::string ListGroupRepositoriesResult::getErrorMessage()const
{
return errorMessage_;
}
bool ListGroupRepositoriesResult::getSuccess()const
{
return success_;
}
std::vector<ListGroupRepositoriesResult::ResultItem> ListGroupRepositoriesResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,107 @@
/*
* 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/ListGroupsRequest.h>
using AlibabaCloud::Codeup::Model::ListGroupsRequest;
ListGroupsRequest::ListGroupsRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/groups/all");
setMethod(HttpRequest::Method::Get);
}
ListGroupsRequest::~ListGroupsRequest()
{}
std::string ListGroupsRequest::getOrganizationId()const
{
return organizationId_;
}
void ListGroupsRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
bool ListGroupsRequest::getIncludePersonal()const
{
return includePersonal_;
}
void ListGroupsRequest::setIncludePersonal(bool includePersonal)
{
includePersonal_ = includePersonal;
setParameter("IncludePersonal", includePersonal ? "true" : "false");
}
std::string ListGroupsRequest::getSearch()const
{
return search_;
}
void ListGroupsRequest::setSearch(const std::string& search)
{
search_ = search;
setParameter("Search", search);
}
std::string ListGroupsRequest::getSubUserId()const
{
return subUserId_;
}
void ListGroupsRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
long ListGroupsRequest::getPageSize()const
{
return pageSize_;
}
void ListGroupsRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListGroupsRequest::getAccessToken()const
{
return accessToken_;
}
void ListGroupsRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long ListGroupsRequest::getPage()const
{
return page_;
}
void ListGroupsRequest::setPage(long page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

View File

@@ -0,0 +1,104 @@
/*
* 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/ListGroupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
ListGroupsResult::ListGroupsResult() :
ServiceResult()
{}
ListGroupsResult::ListGroupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListGroupsResult::~ListGroupsResult()
{}
void ListGroupsResult::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["Id"].isNull())
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
if(!valueResultResultItem["CreatedAt"].isNull())
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
if(!valueResultResultItem["UpdatedAt"].isNull())
resultObject.updatedAt = valueResultResultItem["UpdatedAt"].asString();
if(!valueResultResultItem["AccessLevel"].isNull())
resultObject.accessLevel = std::stoi(valueResultResultItem["AccessLevel"].asString());
if(!valueResultResultItem["Description"].isNull())
resultObject.description = valueResultResultItem["Description"].asString();
if(!valueResultResultItem["Name"].isNull())
resultObject.name = valueResultResultItem["Name"].asString();
if(!valueResultResultItem["NameWithNamespace"].isNull())
resultObject.nameWithNamespace = valueResultResultItem["NameWithNamespace"].asString();
if(!valueResultResultItem["OwnerId"].isNull())
resultObject.ownerId = std::stol(valueResultResultItem["OwnerId"].asString());
if(!valueResultResultItem["ParentId"].isNull())
resultObject.parentId = std::stol(valueResultResultItem["ParentId"].asString());
if(!valueResultResultItem["Path"].isNull())
resultObject.path = valueResultResultItem["Path"].asString();
if(!valueResultResultItem["PathWithNamespace"].isNull())
resultObject.pathWithNamespace = valueResultResultItem["PathWithNamespace"].asString();
if(!valueResultResultItem["Type"].isNull())
resultObject.type = valueResultResultItem["Type"].asString();
if(!valueResultResultItem["VisibilityLevel"].isNull())
resultObject.visibilityLevel = valueResultResultItem["VisibilityLevel"].asString();
if(!valueResultResultItem["WebUrl"].isNull())
resultObject.webUrl = valueResultResultItem["WebUrl"].asString();
result_.push_back(resultObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string ListGroupsResult::getErrorCode()const
{
return errorCode_;
}
std::string ListGroupsResult::getErrorMessage()const
{
return errorMessage_;
}
bool ListGroupsResult::getSuccess()const
{
return success_;
}
std::vector<ListGroupsResult::ResultItem> ListGroupsResult::getResult()const
{
return result_;
}

View 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/MergeMergeRequestRequest.h>
using AlibabaCloud::Codeup::Model::MergeMergeRequestRequest;
MergeMergeRequestRequest::MergeMergeRequestRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/merge");
setMethod(HttpRequest::Method::Put);
}
MergeMergeRequestRequest::~MergeMergeRequestRequest()
{}
std::string MergeMergeRequestRequest::getOrganizationId()const
{
return organizationId_;
}
void MergeMergeRequestRequest::setOrganizationId(const std::string& organizationId)
{
organizationId_ = organizationId;
setParameter("OrganizationId", organizationId);
}
std::string MergeMergeRequestRequest::getSubUserId()const
{
return subUserId_;
}
void MergeMergeRequestRequest::setSubUserId(const std::string& subUserId)
{
subUserId_ = subUserId;
setParameter("SubUserId", subUserId);
}
long MergeMergeRequestRequest::getMergeRequestId()const
{
return mergeRequestId_;
}
void MergeMergeRequestRequest::setMergeRequestId(long mergeRequestId)
{
mergeRequestId_ = mergeRequestId;
setParameter("MergeRequestId", std::to_string(mergeRequestId));
}
std::string MergeMergeRequestRequest::getAccessToken()const
{
return accessToken_;
}
void MergeMergeRequestRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}
long MergeMergeRequestRequest::getProjectId()const
{
return projectId_;
}
void MergeMergeRequestRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
}

View 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/MergeMergeRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
MergeMergeRequestResult::MergeMergeRequestResult() :
ServiceResult()
{}
MergeMergeRequestResult::MergeMergeRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
MergeMergeRequestResult::~MergeMergeRequestResult()
{}
void MergeMergeRequestResult::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["ProjectId"].isNull())
result_.projectId = std::stol(resultNode["ProjectId"].asString());
if(!resultNode["Title"].isNull())
result_.title = resultNode["Title"].asString();
if(!resultNode["Description"].isNull())
result_.description = resultNode["Description"].asString();
if(!resultNode["State"].isNull())
result_.state = resultNode["State"].asString();
if(!resultNode["MergeStatus"].isNull())
result_.mergeStatus = resultNode["MergeStatus"].asString();
if(!resultNode["CreatedAt"].isNull())
result_.createdAt = resultNode["CreatedAt"].asString();
if(!resultNode["UpdatedAt"].isNull())
result_.updatedAt = resultNode["UpdatedAt"].asString();
if(!resultNode["TargetBranch"].isNull())
result_.targetBranch = resultNode["TargetBranch"].asString();
if(!resultNode["SourceBranch"].isNull())
result_.sourceBranch = resultNode["SourceBranch"].asString();
if(!resultNode["WebUrl"].isNull())
result_.webUrl = resultNode["WebUrl"].asString();
if(!resultNode["AcceptedRevision"].isNull())
result_.acceptedRevision = resultNode["AcceptedRevision"].asString();
if(!resultNode["MergeError"].isNull())
result_.mergeError = resultNode["MergeError"].asString();
if(!resultNode["MergedRevision"].isNull())
result_.mergedRevision = resultNode["MergedRevision"].asString();
if(!resultNode["NameWithNamespace"].isNull())
result_.nameWithNamespace = resultNode["NameWithNamespace"].asString();
if(!resultNode["MergeType"].isNull())
result_.mergeType = resultNode["MergeType"].asString();
if(!resultNode["AheadCommitCount"].isNull())
result_.aheadCommitCount = std::stoi(resultNode["AheadCommitCount"].asString());
if(!resultNode["BehindCommitCount"].isNull())
result_.behindCommitCount = std::stoi(resultNode["BehindCommitCount"].asString());
auto allAssigneeListNode = resultNode["AssigneeList"]["AssigneeListItem"];
for (auto resultNodeAssigneeListAssigneeListItem : allAssigneeListNode)
{
Result::AssigneeListItem assigneeListItemObject;
if(!resultNodeAssigneeListAssigneeListItem["Id"].isNull())
assigneeListItemObject.id = resultNodeAssigneeListAssigneeListItem["Id"].asString();
if(!resultNodeAssigneeListAssigneeListItem["ExternUserId"].isNull())
assigneeListItemObject.externUserId = resultNodeAssigneeListAssigneeListItem["ExternUserId"].asString();
if(!resultNodeAssigneeListAssigneeListItem["AvatarUrl"].isNull())
assigneeListItemObject.avatarUrl = resultNodeAssigneeListAssigneeListItem["AvatarUrl"].asString();
if(!resultNodeAssigneeListAssigneeListItem["Name"].isNull())
assigneeListItemObject.name = resultNodeAssigneeListAssigneeListItem["Name"].asString();
result_.assigneeList.push_back(assigneeListItemObject);
}
auto authorNode = resultNode["Author"];
if(!authorNode["Id"].isNull())
result_.author.id = std::stol(authorNode["Id"].asString());
if(!authorNode["ExternUserId"].isNull())
result_.author.externUserId = authorNode["ExternUserId"].asString();
if(!authorNode["AvatarUrl"].isNull())
result_.author.avatarUrl = authorNode["AvatarUrl"].asString();
if(!authorNode["Name"].isNull())
result_.author.name = authorNode["Name"].asString();
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["CheckStatus"].isNull())
satisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckStatus"].asString();
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].isNull())
satisfiedCheckResultsItemObject.checkName = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckName"].asString();
if(!approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].isNull())
satisfiedCheckResultsItemObject.checkType = approveCheckResultNodeSatisfiedCheckResultsSatisfiedCheckResultsItem["CheckType"].asString();
auto allExtraUsersNode = allSatisfiedCheckResultsNode["ExtraUsers"]["ExtraUsersItem"];
for (auto allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem : allExtraUsersNode)
{
Result::ApproveCheckResult::SatisfiedCheckResultsItem::ExtraUsersItem extraUsersObject;
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].isNull())
extraUsersObject.id = std::stol(allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].asString());
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].isNull())
extraUsersObject.externUserId = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].asString();
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].isNull())
extraUsersObject.avatarUrl = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].asString();
if(!allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Name"].isNull())
extraUsersObject.name = allSatisfiedCheckResultsNodeExtraUsersExtraUsersItem["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["CheckStatus"].isNull())
unsatisfiedCheckResultsItemObject.checkStatus = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckStatus"].asString();
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].isNull())
unsatisfiedCheckResultsItemObject.checkName = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckName"].asString();
if(!approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].isNull())
unsatisfiedCheckResultsItemObject.checkType = approveCheckResultNodeUnsatisfiedCheckResultsUnsatisfiedCheckResultsItem["CheckType"].asString();
auto allExtraUsers3Node = allUnsatisfiedCheckResultsNode["ExtraUsers"]["ExtraUsersItem"];
for (auto allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem : allExtraUsers3Node)
{
Result::ApproveCheckResult::UnsatisfiedCheckResultsItem::ExtraUsersItem4 extraUsers3Object;
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].isNull())
extraUsers3Object.id = std::stol(allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Id"].asString());
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].isNull())
extraUsers3Object.externUserId = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["ExternUserId"].asString();
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].isNull())
extraUsers3Object.avatarUrl = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["AvatarUrl"].asString();
if(!allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["Name"].isNull())
extraUsers3Object.name = allUnsatisfiedCheckResultsNodeExtraUsersExtraUsersItem["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);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
}
std::string MergeMergeRequestResult::getErrorCode()const
{
return errorCode_;
}
std::string MergeMergeRequestResult::getErrorMessage()const
{
return errorMessage_;
}
bool MergeMergeRequestResult::getSuccess()const
{
return success_;
}
MergeMergeRequestResult::Result MergeMergeRequestResult::getResult()const
{
return result_;
}

View File

@@ -21,461 +21,53 @@ 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/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/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/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/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/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/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/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/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/GetInstanceLogRequest.h
include/alibabacloud/dataworks-public/model/GetInstanceLogResult.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/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/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/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/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/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/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/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/SearchMetaTablesRequest.h
include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.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/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/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/SearchManualDagNodeInstanceRequest.h
include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.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/CreateFileRequest.cc
src/model/CreateFileResult.cc
src/model/CreateFolderRequest.cc
src/model/CreateFolderResult.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/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/CheckCallbackRequest.cc
src/model/CheckCallbackResult.cc
src/model/CreateManualDagRequest.cc
src/model/CreateManualDagResult.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/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/GetDataServiceApiRequest.cc
src/model/GetDataServiceApiResult.cc
src/model/GetDataServiceApplicationRequest.cc
src/model/GetDataServiceApplicationResult.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/GetInstanceLogRequest.cc
src/model/GetInstanceLogResult.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/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/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/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/ListNodeIORequest.cc
src/model/ListNodeIOResult.cc
src/model/ListNodesRequest.cc
src/model/ListNodesResult.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/ListQualityRulesRequest.cc
src/model/ListQualityRulesResult.cc
src/model/ListRemindsRequest.cc
src/model/ListRemindsResult.cc
src/model/ListResourceGroupsRequest.cc
src/model/ListResourceGroupsResult.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/SearchMetaTablesRequest.cc
src/model/SearchMetaTablesResult.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/UpdateQualityFollowerRequest.cc
src/model/UpdateQualityFollowerResult.cc
src/model/UpdateQualityRuleRequest.cc
src/model/UpdateQualityRuleResult.cc
src/model/UpdateRemindRequest.cc
src/model/UpdateRemindResult.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/SearchManualDagNodeInstanceRequest.cc
src/model/SearchManualDagNodeInstanceResult.cc )
add_library(dataworks-public ${LIB_TYPE}
${dataworks-public_public_header}

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_ADDTOMETACATEGORYRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_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 AddToMetaCategoryResult : public ServiceResult
{
public:
AddToMetaCategoryResult();
explicit AddToMetaCategoryResult(const std::string &payload);
~AddToMetaCategoryResult();
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_ADDTOMETACATEGORYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_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 GetMetaDBInfoRequest : public RpcServiceRequest
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest
{
public:
GetMetaDBInfoRequest();
~GetMetaDBInfoRequest();
CheckCallbackRequest();
~CheckCallbackRequest();
std::string getAppGuid()const;
void setAppGuid(const std::string& appGuid);
std::string getCallbackResultString()const;
void setCallbackResultString(const std::string& callbackResultString);
private:
std::string appGuid_;
std::string callbackResultString_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberResult : public ServiceResult
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult
{
public:
DeleteProjectMemberResult();
explicit DeleteProjectMemberResult(const std::string &payload);
~DeleteProjectMemberResult();
CheckCallbackResult();
explicit CheckCallbackResult(const std::string &payload);
~CheckCallbackResult();
std::string getReturnCode()const;
bool getReturnValue()const;
protected:
void parse(const std::string &payload);
private:
std::string returnCode_;
bool returnValue_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_

View File

@@ -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_

View File

@@ -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_CHECKMETATABLERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLERESULT_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 CheckMetaTableResult : public ServiceResult
{
public:
CheckMetaTableResult();
explicit CheckMetaTableResult(const std::string &payload);
~CheckMetaTableResult();
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_CHECKMETATABLERESULT_H_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_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);
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_;
std::string registrationDetails_;
std::string apiName_;
long tenantId_;
std::string protocols_;
long projectId_;
int responseContentType_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_

View File

@@ -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_

Some files were not shown because too many files have changed in this diff Show More