Add pipeline status api.
This commit is contained in:
158
devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h
Normal file
158
devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h
Normal file
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_DEVOPS_RDCCLIENT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_DEVOPS_RDCCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "Devops_rdcExport.h"
|
||||
#include "model/CancelPipelineRequest.h"
|
||||
#include "model/CancelPipelineResult.h"
|
||||
#include "model/CreateCredentialRequest.h"
|
||||
#include "model/CreateCredentialResult.h"
|
||||
#include "model/CreatePipelineRequest.h"
|
||||
#include "model/CreatePipelineResult.h"
|
||||
#include "model/CreateServiceConnectionRequest.h"
|
||||
#include "model/CreateServiceConnectionResult.h"
|
||||
#include "model/ExecutePipelineRequest.h"
|
||||
#include "model/ExecutePipelineResult.h"
|
||||
#include "model/GetPipelineInstanceBuildNumberStatusRequest.h"
|
||||
#include "model/GetPipelineInstanceBuildNumberStatusResult.h"
|
||||
#include "model/GetPipelineInstanceGroupStatusRequest.h"
|
||||
#include "model/GetPipelineInstanceGroupStatusResult.h"
|
||||
#include "model/GetPipelineInstanceInfoRequest.h"
|
||||
#include "model/GetPipelineInstanceInfoResult.h"
|
||||
#include "model/GetPipelineInstanceStatusRequest.h"
|
||||
#include "model/GetPipelineInstanceStatusResult.h"
|
||||
#include "model/GetPipelineLogRequest.h"
|
||||
#include "model/GetPipelineLogResult.h"
|
||||
#include "model/GetPipleineLatestInstanceStatusRequest.h"
|
||||
#include "model/GetPipleineLatestInstanceStatusResult.h"
|
||||
#include "model/ListCredentialsRequest.h"
|
||||
#include "model/ListCredentialsResult.h"
|
||||
#include "model/ListPipelinesRequest.h"
|
||||
#include "model/ListPipelinesResult.h"
|
||||
#include "model/ListServiceConnectionsRequest.h"
|
||||
#include "model/ListServiceConnectionsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT Devops_rdcClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CancelPipelineResult> CancelPipelineOutcome;
|
||||
typedef std::future<CancelPipelineOutcome> CancelPipelineOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::CancelPipelineRequest&, const CancelPipelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPipelineAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCredentialResult> CreateCredentialOutcome;
|
||||
typedef std::future<CreateCredentialOutcome> CreateCredentialOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::CreateCredentialRequest&, const CreateCredentialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCredentialAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePipelineResult> CreatePipelineOutcome;
|
||||
typedef std::future<CreatePipelineOutcome> CreatePipelineOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::CreatePipelineRequest&, const CreatePipelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePipelineAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceConnectionResult> CreateServiceConnectionOutcome;
|
||||
typedef std::future<CreateServiceConnectionOutcome> CreateServiceConnectionOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::CreateServiceConnectionRequest&, const CreateServiceConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExecutePipelineResult> ExecutePipelineOutcome;
|
||||
typedef std::future<ExecutePipelineOutcome> ExecutePipelineOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ExecutePipelineRequest&, const ExecutePipelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecutePipelineAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineInstanceBuildNumberStatusResult> GetPipelineInstanceBuildNumberStatusOutcome;
|
||||
typedef std::future<GetPipelineInstanceBuildNumberStatusOutcome> GetPipelineInstanceBuildNumberStatusOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineInstanceBuildNumberStatusRequest&, const GetPipelineInstanceBuildNumberStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineInstanceBuildNumberStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineInstanceGroupStatusResult> GetPipelineInstanceGroupStatusOutcome;
|
||||
typedef std::future<GetPipelineInstanceGroupStatusOutcome> GetPipelineInstanceGroupStatusOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineInstanceGroupStatusRequest&, const GetPipelineInstanceGroupStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineInstanceGroupStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineInstanceInfoResult> GetPipelineInstanceInfoOutcome;
|
||||
typedef std::future<GetPipelineInstanceInfoOutcome> GetPipelineInstanceInfoOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineInstanceInfoRequest&, const GetPipelineInstanceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineInstanceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineInstanceStatusResult> GetPipelineInstanceStatusOutcome;
|
||||
typedef std::future<GetPipelineInstanceStatusOutcome> GetPipelineInstanceStatusOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineInstanceStatusRequest&, const GetPipelineInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineInstanceStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineLogResult> GetPipelineLogOutcome;
|
||||
typedef std::future<GetPipelineLogOutcome> GetPipelineLogOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineLogRequest&, const GetPipelineLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipleineLatestInstanceStatusResult> GetPipleineLatestInstanceStatusOutcome;
|
||||
typedef std::future<GetPipleineLatestInstanceStatusOutcome> GetPipleineLatestInstanceStatusOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipleineLatestInstanceStatusRequest&, const GetPipleineLatestInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipleineLatestInstanceStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCredentialsResult> ListCredentialsOutcome;
|
||||
typedef std::future<ListCredentialsOutcome> ListCredentialsOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListCredentialsRequest&, const ListCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCredentialsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPipelinesResult> ListPipelinesOutcome;
|
||||
typedef std::future<ListPipelinesOutcome> ListPipelinesOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListPipelinesRequest&, const ListPipelinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPipelinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListServiceConnectionsResult> ListServiceConnectionsOutcome;
|
||||
typedef std::future<ListServiceConnectionsOutcome> ListServiceConnectionsOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListServiceConnectionsRequest&, const ListServiceConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceConnectionsAsyncHandler;
|
||||
|
||||
Devops_rdcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
Devops_rdcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
Devops_rdcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~Devops_rdcClient();
|
||||
CancelPipelineOutcome cancelPipeline(const Model::CancelPipelineRequest &request)const;
|
||||
void cancelPipelineAsync(const Model::CancelPipelineRequest& request, const CancelPipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelPipelineOutcomeCallable cancelPipelineCallable(const Model::CancelPipelineRequest& request) const;
|
||||
CreateCredentialOutcome createCredential(const Model::CreateCredentialRequest &request)const;
|
||||
void createCredentialAsync(const Model::CreateCredentialRequest& request, const CreateCredentialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCredentialOutcomeCallable createCredentialCallable(const Model::CreateCredentialRequest& request) const;
|
||||
CreatePipelineOutcome createPipeline(const Model::CreatePipelineRequest &request)const;
|
||||
void createPipelineAsync(const Model::CreatePipelineRequest& request, const CreatePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePipelineOutcomeCallable createPipelineCallable(const Model::CreatePipelineRequest& request) const;
|
||||
CreateServiceConnectionOutcome createServiceConnection(const Model::CreateServiceConnectionRequest &request)const;
|
||||
void createServiceConnectionAsync(const Model::CreateServiceConnectionRequest& request, const CreateServiceConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceConnectionOutcomeCallable createServiceConnectionCallable(const Model::CreateServiceConnectionRequest& request) const;
|
||||
ExecutePipelineOutcome executePipeline(const Model::ExecutePipelineRequest &request)const;
|
||||
void executePipelineAsync(const Model::ExecutePipelineRequest& request, const ExecutePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExecutePipelineOutcomeCallable executePipelineCallable(const Model::ExecutePipelineRequest& request) const;
|
||||
GetPipelineInstanceBuildNumberStatusOutcome getPipelineInstanceBuildNumberStatus(const Model::GetPipelineInstanceBuildNumberStatusRequest &request)const;
|
||||
void getPipelineInstanceBuildNumberStatusAsync(const Model::GetPipelineInstanceBuildNumberStatusRequest& request, const GetPipelineInstanceBuildNumberStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineInstanceBuildNumberStatusOutcomeCallable getPipelineInstanceBuildNumberStatusCallable(const Model::GetPipelineInstanceBuildNumberStatusRequest& request) const;
|
||||
GetPipelineInstanceGroupStatusOutcome getPipelineInstanceGroupStatus(const Model::GetPipelineInstanceGroupStatusRequest &request)const;
|
||||
void getPipelineInstanceGroupStatusAsync(const Model::GetPipelineInstanceGroupStatusRequest& request, const GetPipelineInstanceGroupStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineInstanceGroupStatusOutcomeCallable getPipelineInstanceGroupStatusCallable(const Model::GetPipelineInstanceGroupStatusRequest& request) const;
|
||||
GetPipelineInstanceInfoOutcome getPipelineInstanceInfo(const Model::GetPipelineInstanceInfoRequest &request)const;
|
||||
void getPipelineInstanceInfoAsync(const Model::GetPipelineInstanceInfoRequest& request, const GetPipelineInstanceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineInstanceInfoOutcomeCallable getPipelineInstanceInfoCallable(const Model::GetPipelineInstanceInfoRequest& request) const;
|
||||
GetPipelineInstanceStatusOutcome getPipelineInstanceStatus(const Model::GetPipelineInstanceStatusRequest &request)const;
|
||||
void getPipelineInstanceStatusAsync(const Model::GetPipelineInstanceStatusRequest& request, const GetPipelineInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineInstanceStatusOutcomeCallable getPipelineInstanceStatusCallable(const Model::GetPipelineInstanceStatusRequest& request) const;
|
||||
GetPipelineLogOutcome getPipelineLog(const Model::GetPipelineLogRequest &request)const;
|
||||
void getPipelineLogAsync(const Model::GetPipelineLogRequest& request, const GetPipelineLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineLogOutcomeCallable getPipelineLogCallable(const Model::GetPipelineLogRequest& request) const;
|
||||
GetPipleineLatestInstanceStatusOutcome getPipleineLatestInstanceStatus(const Model::GetPipleineLatestInstanceStatusRequest &request)const;
|
||||
void getPipleineLatestInstanceStatusAsync(const Model::GetPipleineLatestInstanceStatusRequest& request, const GetPipleineLatestInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipleineLatestInstanceStatusOutcomeCallable getPipleineLatestInstanceStatusCallable(const Model::GetPipleineLatestInstanceStatusRequest& request) const;
|
||||
ListCredentialsOutcome listCredentials(const Model::ListCredentialsRequest &request)const;
|
||||
void listCredentialsAsync(const Model::ListCredentialsRequest& request, const ListCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCredentialsOutcomeCallable listCredentialsCallable(const Model::ListCredentialsRequest& request) const;
|
||||
ListPipelinesOutcome listPipelines(const Model::ListPipelinesRequest &request)const;
|
||||
void listPipelinesAsync(const Model::ListPipelinesRequest& request, const ListPipelinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPipelinesOutcomeCallable listPipelinesCallable(const Model::ListPipelinesRequest& request) const;
|
||||
ListServiceConnectionsOutcome listServiceConnections(const Model::ListServiceConnectionsRequest &request)const;
|
||||
void listServiceConnectionsAsync(const Model::ListServiceConnectionsRequest& request, const ListServiceConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListServiceConnectionsOutcomeCallable listServiceConnectionsCallable(const Model::ListServiceConnectionsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_DEVOPS_RDCCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_DEVOPS_RDCEXPORT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_DEVOPS_RDCEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DEVOPS_RDC_LIBRARY)
|
||||
# define ALIBABACLOUD_DEVOPS_RDC_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DEVOPS_RDC_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DEVOPS_RDC_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_DEVOPS_RDCEXPORT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CancelPipelineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelPipelineRequest();
|
||||
~CancelPipelineRequest();
|
||||
|
||||
long getFlowInstanceId()const;
|
||||
void setFlowInstanceId(long flowInstanceId);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
long flowInstanceId_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINERESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CancelPipelineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelPipelineResult();
|
||||
explicit CancelPipelineResult(const std::string &payload);
|
||||
~CancelPipelineResult();
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINERESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCredentialRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCredentialRequest();
|
||||
~CreateCredentialRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
std::string password_;
|
||||
std::string name_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCredentialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCredentialResult();
|
||||
explicit CreateCredentialResult(const std::string &payload);
|
||||
~CreateCredentialResult();
|
||||
long getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALRESULT_H_
|
||||
@@ -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_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePipelineRequest();
|
||||
~CreatePipelineRequest();
|
||||
|
||||
std::string getPipeline()const;
|
||||
void setPipeline(const std::string& pipeline);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string pipeline_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINERESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePipelineResult();
|
||||
explicit CreatePipelineResult(const std::string &payload);
|
||||
~CreatePipelineResult();
|
||||
long getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINERESULT_H_
|
||||
@@ -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_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateServiceConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateServiceConnectionRequest();
|
||||
~CreateServiceConnectionRequest();
|
||||
|
||||
std::string getServiceConnectionType()const;
|
||||
void setServiceConnectionType(const std::string& serviceConnectionType);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string serviceConnectionType_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateServiceConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceConnectionResult();
|
||||
explicit CreateServiceConnectionResult(const std::string &payload);
|
||||
~CreateServiceConnectionResult();
|
||||
long getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ExecutePipelineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExecutePipelineRequest();
|
||||
~ExecutePipelineRequest();
|
||||
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
std::string parameters_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINERESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ExecutePipelineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExecutePipelineResult();
|
||||
explicit ExecutePipelineResult(const std::string &payload);
|
||||
~ExecutePipelineResult();
|
||||
long getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceBuildNumberStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipelineInstanceBuildNumberStatusRequest();
|
||||
~GetPipelineInstanceBuildNumberStatusRequest();
|
||||
|
||||
long getBuildNum()const;
|
||||
void setBuildNum(long buildNum);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
long buildNum_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceBuildNumberStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct Group
|
||||
{
|
||||
struct Stage
|
||||
{
|
||||
struct Component
|
||||
{
|
||||
std::string status;
|
||||
long jobId;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Stage::Component> components;
|
||||
std::string status;
|
||||
std::string sign;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group::Stage> stages;
|
||||
std::string name;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group> groups;
|
||||
};
|
||||
|
||||
|
||||
GetPipelineInstanceBuildNumberStatusResult();
|
||||
explicit GetPipelineInstanceBuildNumberStatusResult(const std::string &payload);
|
||||
~GetPipelineInstanceBuildNumberStatusResult();
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceGroupStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipelineInstanceGroupStatusRequest();
|
||||
~GetPipelineInstanceGroupStatusRequest();
|
||||
|
||||
long getFlowInstanceId()const;
|
||||
void setFlowInstanceId(long flowInstanceId);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
long flowInstanceId_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceGroupStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct Group
|
||||
{
|
||||
struct Stage
|
||||
{
|
||||
struct Component
|
||||
{
|
||||
std::string status;
|
||||
std::string jobId;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Stage::Component> components;
|
||||
std::string status;
|
||||
std::string sign;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group::Stage> stages;
|
||||
std::string name;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group> groups;
|
||||
};
|
||||
|
||||
|
||||
GetPipelineInstanceGroupStatusResult();
|
||||
explicit GetPipelineInstanceGroupStatusResult(const std::string &payload);
|
||||
~GetPipelineInstanceGroupStatusResult();
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipelineInstanceInfoRequest();
|
||||
~GetPipelineInstanceInfoRequest();
|
||||
|
||||
std::string getFlowInstanceId()const;
|
||||
void setFlowInstanceId(const std::string& flowInstanceId);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
std::string flowInstanceId_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFORESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
std::string status;
|
||||
long endTime;
|
||||
std::vector<std::string> packageDownloadUrls;
|
||||
long startTime;
|
||||
std::string employeeId;
|
||||
std::string sources;
|
||||
std::vector<std::string> dockerImages;
|
||||
};
|
||||
|
||||
|
||||
GetPipelineInstanceInfoResult();
|
||||
explicit GetPipelineInstanceInfoResult(const std::string &payload);
|
||||
~GetPipelineInstanceInfoResult();
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFORESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipelineInstanceStatusRequest();
|
||||
~GetPipelineInstanceStatusRequest();
|
||||
|
||||
long getFlowInstanceId()const;
|
||||
void setFlowInstanceId(long flowInstanceId);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
long flowInstanceId_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetPipelineInstanceStatusResult();
|
||||
explicit GetPipelineInstanceStatusResult(const std::string &payload);
|
||||
~GetPipelineInstanceStatusResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipelineLogRequest();
|
||||
~GetPipelineLogRequest();
|
||||
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
long getJobId()const;
|
||||
void setJobId(long jobId);
|
||||
|
||||
private:
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
long jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_GETPIPELINELOGRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct BuildProcessNode
|
||||
{
|
||||
std::string status;
|
||||
std::string nodeName;
|
||||
int nodeIndex;
|
||||
};
|
||||
std::string actionName;
|
||||
std::string startTime;
|
||||
std::vector<Job::BuildProcessNode> buildProcessNodes;
|
||||
long jobId;
|
||||
};
|
||||
|
||||
|
||||
GetPipelineLogResult();
|
||||
explicit GetPipelineLogResult(const std::string &payload);
|
||||
~GetPipelineLogResult();
|
||||
std::vector<Job> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Job> object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGRESULT_H_
|
||||
@@ -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_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipleineLatestInstanceStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPipleineLatestInstanceStatusRequest();
|
||||
~GetPipleineLatestInstanceStatusRequest();
|
||||
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getPipelineId()const;
|
||||
void setPipelineId(long pipelineId);
|
||||
|
||||
private:
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
long pipelineId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipleineLatestInstanceStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct Group
|
||||
{
|
||||
struct Stage
|
||||
{
|
||||
struct Component
|
||||
{
|
||||
std::string status;
|
||||
long jobId;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Stage::Component> components;
|
||||
std::string status;
|
||||
std::string sign;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group::Stage> stages;
|
||||
std::string name;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Group> groups;
|
||||
};
|
||||
|
||||
|
||||
GetPipleineLatestInstanceStatusResult();
|
||||
explicit GetPipleineLatestInstanceStatusResult(const std::string &payload);
|
||||
~GetPipleineLatestInstanceStatusResult();
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSRESULT_H_
|
||||
@@ -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_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCredentialsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCredentialsRequest();
|
||||
~ListCredentialsRequest();
|
||||
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCredentialsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListCredentialsResult();
|
||||
explicit ListCredentialsResult(const std::string &payload);
|
||||
~ListCredentialsResult();
|
||||
std::vector<std::string> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPipelinesRequest();
|
||||
~ListPipelinesRequest();
|
||||
|
||||
std::string getPipelineName()const;
|
||||
void setPipelineName(const std::string& pipelineName);
|
||||
std::string getResultStatusList()const;
|
||||
void setResultStatusList(const std::string& resultStatusList);
|
||||
std::string getCreators()const;
|
||||
void setCreators(const std::string& creators);
|
||||
std::string getExecuteEndTime()const;
|
||||
void setExecuteEndTime(const std::string& executeEndTime);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
std::string getCreateStartTime()const;
|
||||
void setCreateStartTime(const std::string& createStartTime);
|
||||
std::string getOperators()const;
|
||||
void setOperators(const std::string& operators);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getExecuteStartTime()const;
|
||||
void setExecuteStartTime(const std::string& executeStartTime);
|
||||
int getPageStart()const;
|
||||
void setPageStart(int pageStart);
|
||||
std::string getCreateEndTime()const;
|
||||
void setCreateEndTime(const std::string& createEndTime);
|
||||
|
||||
private:
|
||||
std::string pipelineName_;
|
||||
std::string resultStatusList_;
|
||||
std::string creators_;
|
||||
std::string executeEndTime_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
std::string createStartTime_;
|
||||
std::string operators_;
|
||||
int pageSize_;
|
||||
std::string executeStartTime_;
|
||||
int pageStart_;
|
||||
std::string createEndTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListPipelinesResult();
|
||||
explicit ListPipelinesResult(const std::string &payload);
|
||||
~ListPipelinesResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESRESULT_H_
|
||||
@@ -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_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListServiceConnectionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListServiceConnectionsRequest();
|
||||
~ListServiceConnectionsRequest();
|
||||
|
||||
std::string getScType()const;
|
||||
void setScType(const std::string& scType);
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string scType_;
|
||||
std::string userPk_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListServiceConnectionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListServiceConnectionsResult();
|
||||
explicit ListServiceConnectionsResult(const std::string &payload);
|
||||
~ListServiceConnectionsResult();
|
||||
std::vector<std::string> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSRESULT_H_
|
||||
Reference in New Issue
Block a user