Add.
This commit is contained in:
@@ -70,6 +70,8 @@
|
||||
#include "model/GetDevopsProjectSprintInfoResult.h"
|
||||
#include "model/GetDevopsProjectTaskInfoRequest.h"
|
||||
#include "model/GetDevopsProjectTaskInfoResult.h"
|
||||
#include "model/GetLastWorkspaceRequest.h"
|
||||
#include "model/GetLastWorkspaceResult.h"
|
||||
#include "model/GetPipelineInstHistoryRequest.h"
|
||||
#include "model/GetPipelineInstHistoryResult.h"
|
||||
#include "model/GetPipelineInstanceBuildNumberStatusRequest.h"
|
||||
@@ -225,6 +227,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDevopsProjectTaskInfoResult> GetDevopsProjectTaskInfoOutcome;
|
||||
typedef std::future<GetDevopsProjectTaskInfoOutcome> GetDevopsProjectTaskInfoOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetDevopsProjectTaskInfoRequest&, const GetDevopsProjectTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDevopsProjectTaskInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLastWorkspaceResult> GetLastWorkspaceOutcome;
|
||||
typedef std::future<GetLastWorkspaceOutcome> GetLastWorkspaceOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetLastWorkspaceRequest&, const GetLastWorkspaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLastWorkspaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPipelineInstHistoryResult> GetPipelineInstHistoryOutcome;
|
||||
typedef std::future<GetPipelineInstHistoryOutcome> GetPipelineInstHistoryOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::GetPipelineInstHistoryRequest&, const GetPipelineInstHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPipelineInstHistoryAsyncHandler;
|
||||
@@ -413,6 +418,9 @@ namespace AlibabaCloud
|
||||
GetDevopsProjectTaskInfoOutcome getDevopsProjectTaskInfo(const Model::GetDevopsProjectTaskInfoRequest &request)const;
|
||||
void getDevopsProjectTaskInfoAsync(const Model::GetDevopsProjectTaskInfoRequest& request, const GetDevopsProjectTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDevopsProjectTaskInfoOutcomeCallable getDevopsProjectTaskInfoCallable(const Model::GetDevopsProjectTaskInfoRequest& request) const;
|
||||
GetLastWorkspaceOutcome getLastWorkspace(const Model::GetLastWorkspaceRequest &request)const;
|
||||
void getLastWorkspaceAsync(const Model::GetLastWorkspaceRequest& request, const GetLastWorkspaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLastWorkspaceOutcomeCallable getLastWorkspaceCallable(const Model::GetLastWorkspaceRequest& request) const;
|
||||
GetPipelineInstHistoryOutcome getPipelineInstHistory(const Model::GetPipelineInstHistoryRequest &request)const;
|
||||
void getPipelineInstHistoryAsync(const Model::GetPipelineInstHistoryRequest& request, const GetPipelineInstHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPipelineInstHistoryOutcomeCallable getPipelineInstHistoryCallable(const Model::GetPipelineInstHistoryRequest& request) const;
|
||||
|
||||
@@ -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_GETLASTWORKSPACEREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_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 GetLastWorkspaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetLastWorkspaceRequest();
|
||||
~GetLastWorkspaceRequest();
|
||||
|
||||
std::string getRealPk()const;
|
||||
void setRealPk(const std::string& realPk);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string realPk_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_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_GETLASTWORKSPACERESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACERESULT_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 GetLastWorkspaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetLastWorkspaceResult();
|
||||
explicit GetLastWorkspaceResult(const std::string &payload);
|
||||
~GetLastWorkspaceResult();
|
||||
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_GETLASTWORKSPACERESULT_H_
|
||||
@@ -32,12 +32,17 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListUserOrganizationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Organization
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListUserOrganizationResult();
|
||||
explicit ListUserOrganizationResult(const std::string &payload);
|
||||
~ListUserOrganizationResult();
|
||||
std::string getObject()const;
|
||||
std::vector<Organization> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +50,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::vector<Organization> object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
Reference in New Issue
Block a user