Add task api.

This commit is contained in:
sdk-team
2020-12-01 11:55:57 +00:00
parent ea23aa89b7
commit c867781e78
44 changed files with 4038 additions and 0 deletions

View File

@@ -28,6 +28,8 @@
#include "model/CancelPipelineResult.h"
#include "model/CheckAliyunAccountExistsRequest.h"
#include "model/CheckAliyunAccountExistsResult.h"
#include "model/CreateCommonGroupRequest.h"
#include "model/CreateCommonGroupResult.h"
#include "model/CreateCredentialRequest.h"
#include "model/CreateCredentialResult.h"
#include "model/CreateDevopsOrganizationRequest.h"
@@ -42,6 +44,8 @@
#include "model/CreatePipelineResult.h"
#include "model/CreateServiceConnectionRequest.h"
#include "model/CreateServiceConnectionResult.h"
#include "model/DeleteCommonGroupRequest.h"
#include "model/DeleteCommonGroupResult.h"
#include "model/DeleteDevopsOrganizationMembersRequest.h"
#include "model/DeleteDevopsOrganizationMembersResult.h"
#include "model/DeleteDevopsProjectRequest.h"
@@ -78,14 +82,26 @@
#include "model/GetPipelineLogResult.h"
#include "model/GetPipleineLatestInstanceStatusRequest.h"
#include "model/GetPipleineLatestInstanceStatusResult.h"
#include "model/GetProjectOptionRequest.h"
#include "model/GetProjectOptionResult.h"
#include "model/GetTaskDetailActivityRequest.h"
#include "model/GetTaskDetailActivityResult.h"
#include "model/GetTaskDetailBaseRequest.h"
#include "model/GetTaskDetailBaseResult.h"
#include "model/GetTaskListFilterRequest.h"
#include "model/GetTaskListFilterResult.h"
#include "model/GetUserByAliyunUidRequest.h"
#include "model/GetUserByAliyunUidResult.h"
#include "model/GetUserNameRequest.h"
#include "model/GetUserNameResult.h"
#include "model/InsertDevopsUserRequest.h"
#include "model/InsertDevopsUserResult.h"
#include "model/InsertPipelineMemberRequest.h"
#include "model/InsertPipelineMemberResult.h"
#include "model/InsertProjectMembersRequest.h"
#include "model/InsertProjectMembersResult.h"
#include "model/ListCommonGroupRequest.h"
#include "model/ListCommonGroupResult.h"
#include "model/ListCredentialsRequest.h"
#include "model/ListCredentialsResult.h"
#include "model/ListDevopsProjectSprintsRequest.h"
@@ -104,10 +120,14 @@
#include "model/ListPipelinesResult.h"
#include "model/ListServiceConnectionsRequest.h"
#include "model/ListServiceConnectionsResult.h"
#include "model/ListSmartGroupRequest.h"
#include "model/ListSmartGroupResult.h"
#include "model/ListUserOrganizationRequest.h"
#include "model/ListUserOrganizationResult.h"
#include "model/TransferPipelineOwnerRequest.h"
#include "model/TransferPipelineOwnerResult.h"
#include "model/UpdateCommonGroupRequest.h"
#include "model/UpdateCommonGroupResult.h"
#include "model/UpdateDevopsProjectRequest.h"
#include "model/UpdateDevopsProjectResult.h"
#include "model/UpdateDevopsProjectSprintRequest.h"
@@ -134,6 +154,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CheckAliyunAccountExistsResult> CheckAliyunAccountExistsOutcome;
typedef std::future<CheckAliyunAccountExistsOutcome> CheckAliyunAccountExistsOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::CheckAliyunAccountExistsRequest&, const CheckAliyunAccountExistsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckAliyunAccountExistsAsyncHandler;
typedef Outcome<Error, Model::CreateCommonGroupResult> CreateCommonGroupOutcome;
typedef std::future<CreateCommonGroupOutcome> CreateCommonGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::CreateCommonGroupRequest&, const CreateCommonGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCommonGroupAsyncHandler;
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;
@@ -155,6 +178,9 @@ namespace AlibabaCloud
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::DeleteCommonGroupResult> DeleteCommonGroupOutcome;
typedef std::future<DeleteCommonGroupOutcome> DeleteCommonGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::DeleteCommonGroupRequest&, const DeleteCommonGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCommonGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteDevopsOrganizationMembersResult> DeleteDevopsOrganizationMembersOutcome;
typedef std::future<DeleteDevopsOrganizationMembersOutcome> DeleteDevopsOrganizationMembersOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::DeleteDevopsOrganizationMembersRequest&, const DeleteDevopsOrganizationMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDevopsOrganizationMembersAsyncHandler;
@@ -209,9 +235,24 @@ namespace AlibabaCloud
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::GetProjectOptionResult> GetProjectOptionOutcome;
typedef std::future<GetProjectOptionOutcome> GetProjectOptionOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetProjectOptionRequest&, const GetProjectOptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectOptionAsyncHandler;
typedef Outcome<Error, Model::GetTaskDetailActivityResult> GetTaskDetailActivityOutcome;
typedef std::future<GetTaskDetailActivityOutcome> GetTaskDetailActivityOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetTaskDetailActivityRequest&, const GetTaskDetailActivityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskDetailActivityAsyncHandler;
typedef Outcome<Error, Model::GetTaskDetailBaseResult> GetTaskDetailBaseOutcome;
typedef std::future<GetTaskDetailBaseOutcome> GetTaskDetailBaseOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetTaskDetailBaseRequest&, const GetTaskDetailBaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskDetailBaseAsyncHandler;
typedef Outcome<Error, Model::GetTaskListFilterResult> GetTaskListFilterOutcome;
typedef std::future<GetTaskListFilterOutcome> GetTaskListFilterOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetTaskListFilterRequest&, const GetTaskListFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskListFilterAsyncHandler;
typedef Outcome<Error, Model::GetUserByAliyunUidResult> GetUserByAliyunUidOutcome;
typedef std::future<GetUserByAliyunUidOutcome> GetUserByAliyunUidOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetUserByAliyunUidRequest&, const GetUserByAliyunUidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserByAliyunUidAsyncHandler;
typedef Outcome<Error, Model::GetUserNameResult> GetUserNameOutcome;
typedef std::future<GetUserNameOutcome> GetUserNameOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::GetUserNameRequest&, const GetUserNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserNameAsyncHandler;
typedef Outcome<Error, Model::InsertDevopsUserResult> InsertDevopsUserOutcome;
typedef std::future<InsertDevopsUserOutcome> InsertDevopsUserOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::InsertDevopsUserRequest&, const InsertDevopsUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertDevopsUserAsyncHandler;
@@ -221,6 +262,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InsertProjectMembersResult> InsertProjectMembersOutcome;
typedef std::future<InsertProjectMembersOutcome> InsertProjectMembersOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::InsertProjectMembersRequest&, const InsertProjectMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertProjectMembersAsyncHandler;
typedef Outcome<Error, Model::ListCommonGroupResult> ListCommonGroupOutcome;
typedef std::future<ListCommonGroupOutcome> ListCommonGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListCommonGroupRequest&, const ListCommonGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommonGroupAsyncHandler;
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;
@@ -248,12 +292,18 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::ListSmartGroupResult> ListSmartGroupOutcome;
typedef std::future<ListSmartGroupOutcome> ListSmartGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListSmartGroupRequest&, const ListSmartGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSmartGroupAsyncHandler;
typedef Outcome<Error, Model::ListUserOrganizationResult> ListUserOrganizationOutcome;
typedef std::future<ListUserOrganizationOutcome> ListUserOrganizationOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListUserOrganizationRequest&, const ListUserOrganizationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserOrganizationAsyncHandler;
typedef Outcome<Error, Model::TransferPipelineOwnerResult> TransferPipelineOwnerOutcome;
typedef std::future<TransferPipelineOwnerOutcome> TransferPipelineOwnerOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::TransferPipelineOwnerRequest&, const TransferPipelineOwnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferPipelineOwnerAsyncHandler;
typedef Outcome<Error, Model::UpdateCommonGroupResult> UpdateCommonGroupOutcome;
typedef std::future<UpdateCommonGroupOutcome> UpdateCommonGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::UpdateCommonGroupRequest&, const UpdateCommonGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCommonGroupAsyncHandler;
typedef Outcome<Error, Model::UpdateDevopsProjectResult> UpdateDevopsProjectOutcome;
typedef std::future<UpdateDevopsProjectOutcome> UpdateDevopsProjectOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::UpdateDevopsProjectRequest&, const UpdateDevopsProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDevopsProjectAsyncHandler;
@@ -280,6 +330,9 @@ namespace AlibabaCloud
CheckAliyunAccountExistsOutcome checkAliyunAccountExists(const Model::CheckAliyunAccountExistsRequest &request)const;
void checkAliyunAccountExistsAsync(const Model::CheckAliyunAccountExistsRequest& request, const CheckAliyunAccountExistsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckAliyunAccountExistsOutcomeCallable checkAliyunAccountExistsCallable(const Model::CheckAliyunAccountExistsRequest& request) const;
CreateCommonGroupOutcome createCommonGroup(const Model::CreateCommonGroupRequest &request)const;
void createCommonGroupAsync(const Model::CreateCommonGroupRequest& request, const CreateCommonGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCommonGroupOutcomeCallable createCommonGroupCallable(const Model::CreateCommonGroupRequest& 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;
@@ -301,6 +354,9 @@ namespace AlibabaCloud
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;
DeleteCommonGroupOutcome deleteCommonGroup(const Model::DeleteCommonGroupRequest &request)const;
void deleteCommonGroupAsync(const Model::DeleteCommonGroupRequest& request, const DeleteCommonGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCommonGroupOutcomeCallable deleteCommonGroupCallable(const Model::DeleteCommonGroupRequest& request) const;
DeleteDevopsOrganizationMembersOutcome deleteDevopsOrganizationMembers(const Model::DeleteDevopsOrganizationMembersRequest &request)const;
void deleteDevopsOrganizationMembersAsync(const Model::DeleteDevopsOrganizationMembersRequest& request, const DeleteDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDevopsOrganizationMembersOutcomeCallable deleteDevopsOrganizationMembersCallable(const Model::DeleteDevopsOrganizationMembersRequest& request) const;
@@ -355,9 +411,24 @@ namespace AlibabaCloud
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;
GetProjectOptionOutcome getProjectOption(const Model::GetProjectOptionRequest &request)const;
void getProjectOptionAsync(const Model::GetProjectOptionRequest& request, const GetProjectOptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProjectOptionOutcomeCallable getProjectOptionCallable(const Model::GetProjectOptionRequest& request) const;
GetTaskDetailActivityOutcome getTaskDetailActivity(const Model::GetTaskDetailActivityRequest &request)const;
void getTaskDetailActivityAsync(const Model::GetTaskDetailActivityRequest& request, const GetTaskDetailActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTaskDetailActivityOutcomeCallable getTaskDetailActivityCallable(const Model::GetTaskDetailActivityRequest& request) const;
GetTaskDetailBaseOutcome getTaskDetailBase(const Model::GetTaskDetailBaseRequest &request)const;
void getTaskDetailBaseAsync(const Model::GetTaskDetailBaseRequest& request, const GetTaskDetailBaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTaskDetailBaseOutcomeCallable getTaskDetailBaseCallable(const Model::GetTaskDetailBaseRequest& request) const;
GetTaskListFilterOutcome getTaskListFilter(const Model::GetTaskListFilterRequest &request)const;
void getTaskListFilterAsync(const Model::GetTaskListFilterRequest& request, const GetTaskListFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTaskListFilterOutcomeCallable getTaskListFilterCallable(const Model::GetTaskListFilterRequest& request) const;
GetUserByAliyunUidOutcome getUserByAliyunUid(const Model::GetUserByAliyunUidRequest &request)const;
void getUserByAliyunUidAsync(const Model::GetUserByAliyunUidRequest& request, const GetUserByAliyunUidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserByAliyunUidOutcomeCallable getUserByAliyunUidCallable(const Model::GetUserByAliyunUidRequest& request) const;
GetUserNameOutcome getUserName(const Model::GetUserNameRequest &request)const;
void getUserNameAsync(const Model::GetUserNameRequest& request, const GetUserNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserNameOutcomeCallable getUserNameCallable(const Model::GetUserNameRequest& request) const;
InsertDevopsUserOutcome insertDevopsUser(const Model::InsertDevopsUserRequest &request)const;
void insertDevopsUserAsync(const Model::InsertDevopsUserRequest& request, const InsertDevopsUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InsertDevopsUserOutcomeCallable insertDevopsUserCallable(const Model::InsertDevopsUserRequest& request) const;
@@ -367,6 +438,9 @@ namespace AlibabaCloud
InsertProjectMembersOutcome insertProjectMembers(const Model::InsertProjectMembersRequest &request)const;
void insertProjectMembersAsync(const Model::InsertProjectMembersRequest& request, const InsertProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InsertProjectMembersOutcomeCallable insertProjectMembersCallable(const Model::InsertProjectMembersRequest& request) const;
ListCommonGroupOutcome listCommonGroup(const Model::ListCommonGroupRequest &request)const;
void listCommonGroupAsync(const Model::ListCommonGroupRequest& request, const ListCommonGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCommonGroupOutcomeCallable listCommonGroupCallable(const Model::ListCommonGroupRequest& 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;
@@ -394,12 +468,18 @@ namespace AlibabaCloud
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;
ListSmartGroupOutcome listSmartGroup(const Model::ListSmartGroupRequest &request)const;
void listSmartGroupAsync(const Model::ListSmartGroupRequest& request, const ListSmartGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSmartGroupOutcomeCallable listSmartGroupCallable(const Model::ListSmartGroupRequest& request) const;
ListUserOrganizationOutcome listUserOrganization(const Model::ListUserOrganizationRequest &request)const;
void listUserOrganizationAsync(const Model::ListUserOrganizationRequest& request, const ListUserOrganizationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserOrganizationOutcomeCallable listUserOrganizationCallable(const Model::ListUserOrganizationRequest& request) const;
TransferPipelineOwnerOutcome transferPipelineOwner(const Model::TransferPipelineOwnerRequest &request)const;
void transferPipelineOwnerAsync(const Model::TransferPipelineOwnerRequest& request, const TransferPipelineOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransferPipelineOwnerOutcomeCallable transferPipelineOwnerCallable(const Model::TransferPipelineOwnerRequest& request) const;
UpdateCommonGroupOutcome updateCommonGroup(const Model::UpdateCommonGroupRequest &request)const;
void updateCommonGroupAsync(const Model::UpdateCommonGroupRequest& request, const UpdateCommonGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCommonGroupOutcomeCallable updateCommonGroupCallable(const Model::UpdateCommonGroupRequest& request) const;
UpdateDevopsProjectOutcome updateDevopsProject(const Model::UpdateDevopsProjectRequest &request)const;
void updateDevopsProjectAsync(const Model::UpdateDevopsProjectRequest& request, const UpdateDevopsProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDevopsProjectOutcomeCallable updateDevopsProjectCallable(const Model::UpdateDevopsProjectRequest& request) const;

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_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_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 CreateCommonGroupRequest : public RpcServiceRequest
{
public:
CreateCommonGroupRequest();
~CreateCommonGroupRequest();
std::string getSmartGroupId()const;
void setSmartGroupId(const std::string& smartGroupId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string smartGroupId_;
std::string name_;
std::string description_;
std::string projectId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_CREATECOMMONGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPRESULT_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 CreateCommonGroupResult : public ServiceResult
{
public:
struct Object
{
std::string id;
};
CreateCommonGroupResult();
explicit CreateCommonGroupResult(const std::string &payload);
~CreateCommonGroupResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPRESULT_H_

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_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_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 DeleteCommonGroupRequest : public RpcServiceRequest
{
public:
DeleteCommonGroupRequest();
~DeleteCommonGroupRequest();
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getCommonGroupId()const;
void setCommonGroupId(const std::string& commonGroupId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string projectId_;
std::string commonGroupId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DELETECOMMONGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPRESULT_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 DeleteCommonGroupResult : public ServiceResult
{
public:
struct Object
{
std::string id;
};
DeleteCommonGroupResult();
explicit DeleteCommonGroupResult(const std::string &payload);
~DeleteCommonGroupResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPRESULT_H_

View File

@@ -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_GETPROJECTOPTIONREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_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 GetProjectOptionRequest : public RpcServiceRequest
{
public:
GetProjectOptionRequest();
~GetProjectOptionRequest();
std::string getQuery()const;
void setQuery(const std::string& query);
std::string getType()const;
void setType(const std::string& type);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string query_;
std::string type_;
std::string projectId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONRESULT_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 GetProjectOptionResult : public ServiceResult
{
public:
struct Option
{
std::string value;
std::string name;
};
GetProjectOptionResult();
explicit GetProjectOptionResult(const std::string &payload);
~GetProjectOptionResult();
std::string getErrorMsg()const;
std::vector<Option> getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
std::vector<Option> object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONRESULT_H_

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_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_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 GetTaskDetailActivityRequest : public RpcServiceRequest
{
public:
GetTaskDetailActivityRequest();
~GetTaskDetailActivityRequest();
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string projectId_;
std::string orgId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_

View File

@@ -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_GETTASKDETAILACTIVITYRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYRESULT_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 GetTaskDetailActivityResult : public ServiceResult
{
public:
struct Activity
{
std::string action;
std::string updated;
std::string content;
std::string title;
std::string created;
};
GetTaskDetailActivityResult();
explicit GetTaskDetailActivityResult(const std::string &payload);
~GetTaskDetailActivityResult();
std::string getErrorMsg()const;
int getHttpStatusCode()const;
std::vector<Activity> getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
int httpStatusCode_;
std::vector<Activity> object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYRESULT_H_

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_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_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 GetTaskDetailBaseRequest : public RpcServiceRequest
{
public:
GetTaskDetailBaseRequest();
~GetTaskDetailBaseRequest();
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string projectId_;
std::string orgId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_

View File

@@ -0,0 +1,205 @@
/*
* 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_GETTASKDETAILBASERESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASERESULT_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 GetTaskDetailBaseResult : public ServiceResult
{
public:
struct Object
{
struct Scenariofieldconfig
{
std::string icon;
std::string id;
std::string proTemplateConfigType;
std::string name;
};
struct Executor
{
std::string avatarUrl;
std::string id;
std::string name;
};
struct Tasklist
{
std::string title;
std::string id;
};
struct Taskflowstatus
{
std::string taskflowId;
std::string kind;
std::string id;
std::string name;
};
struct Creator
{
std::string id;
std::string name;
};
struct Reminder
{
std::string type;
std::string creatorId;
std::string method;
std::vector<std::string> memberRoles;
std::vector<std::string> rules;
std::string date;
std::vector<std::string> members;
};
struct SubtaskCount
{
int done;
int total;
};
struct WorkTime
{
int usedTime;
int totalTime;
std::string unit;
};
struct Badges
{
int likesCount;
int commentsCount;
int objectlinksCount;
int attachmentsCount;
};
struct Stage
{
std::string id;
std::string name;
};
struct Customfield
{
struct ValueInfo
{
std::string title;
std::string id;
};
std::string customfieldId;
std::string type;
std::vector<Customfield::ValueInfo> value;
std::vector<std::string> values;
};
struct Subtask
{
std::string content;
std::string id;
};
struct Involver
{
std::string id;
std::string name;
};
std::string untilDate;
std::string recurrence;
std::string sourceDate;
std::vector<std::string> tagIds;
std::string stageId;
std::vector<std::string> involveMembers;
Creator creator;
std::string startDate;
std::string executorId;
Stage stage;
SubtaskCount subtaskCount;
std::vector<std::string> divisions;
int likesCount;
int uniqueId;
std::string updated;
int priority;
int shareStatus;
std::vector<std::string> labels;
std::string storyPoint;
bool isFavorite;
Tasklist tasklist;
std::string content;
std::string note;
std::vector<Customfield> customfields;
std::string scenariofieldconfigId;
std::string sprint;
std::string id;
std::string accomplished;
std::string taskId;
std::string organization;
std::string parent;
int rating;
std::string sourceId;
std::string sprintId;
std::string organizationId;
std::string source;
std::string created;
std::string objectType;
Executor executor;
std::string visible;
std::vector<std::string> ancestorIds;
std::string dueDate;
Taskflowstatus taskflowstatus;
int progress;
Reminder reminder;
std::string creatorId;
std::vector<Subtask> subtasks;
std::string projectId;
std::vector<Involver> involvers;
std::string taskflowstatusId;
bool isDone;
std::vector<std::string> ancestors;
int attachmentsCount;
WorkTime workTime;
bool isArchived;
bool isTopInProject;
Badges badges;
int commentsCount;
Scenariofieldconfig scenariofieldconfig;
int objectlinksCount;
};
GetTaskDetailBaseResult();
explicit GetTaskDetailBaseResult(const std::string &payload);
~GetTaskDetailBaseResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASERESULT_H_

View File

@@ -0,0 +1,105 @@
/*
* 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_GETTASKLISTFILTERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_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 GetTaskListFilterRequest : public RpcServiceRequest
{
public:
GetTaskListFilterRequest();
~GetTaskListFilterRequest();
std::string getInvolveMembers()const;
void setInvolveMembers(const std::string& involveMembers);
std::string getExecutorId()const;
void setExecutorId(const std::string& executorId);
std::string getOrderCondition()const;
void setOrderCondition(const std::string& orderCondition);
std::string getSprintId()const;
void setSprintId(const std::string& sprintId);
std::string getExtra()const;
void setExtra(const std::string& extra);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getScenarioFieldConfigId()const;
void setScenarioFieldConfigId(const std::string& scenarioFieldConfigId);
bool getIsDone()const;
void setIsDone(bool isDone);
std::string getObjectType()const;
void setObjectType(const std::string& objectType);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getPageToken()const;
void setPageToken(const std::string& pageToken);
std::string getOrder()const;
void setOrder(const std::string& order);
std::string getTagId()const;
void setTagId(const std::string& tagId);
std::string getTaskFlowStatusId()const;
void setTaskFlowStatusId(const std::string& taskFlowStatusId);
std::string getDueDateStart()const;
void setDueDateStart(const std::string& dueDateStart);
std::string getCreatorId()const;
void setCreatorId(const std::string& creatorId);
std::string getPriority()const;
void setPriority(const std::string& priority);
std::string getDueDateEnd()const;
void setDueDateEnd(const std::string& dueDateEnd);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string involveMembers_;
std::string executorId_;
std::string orderCondition_;
std::string sprintId_;
std::string extra_;
int pageSize_;
std::string scenarioFieldConfigId_;
bool isDone_;
std::string objectType_;
std::string projectId_;
std::string pageToken_;
std::string order_;
std::string tagId_;
std::string taskFlowStatusId_;
std::string dueDateStart_;
std::string creatorId_;
std::string priority_;
std::string dueDateEnd_;
std::string orgId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_

View File

@@ -0,0 +1,185 @@
/*
* 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_GETTASKLISTFILTERRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERRESULT_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 GetTaskListFilterResult : public ServiceResult
{
public:
struct Object
{
struct Task
{
struct WorkTime
{
int totalTime;
int usedTime;
std::string unit;
};
struct Badges
{
int likesCount;
int commentsCount;
int objectlinksCount;
int attachmentsCount;
};
struct SubtaskCount
{
int done;
int total;
};
struct Reminder
{
std::string type;
std::string creatorId;
std::vector<std::string> rules;
std::string date;
std::vector<std::string> members;
};
struct Creator
{
std::string avatarUrl;
std::string id;
std::string name;
};
struct Stage
{
std::string id;
std::string name;
};
struct Executor
{
std::string avatarUrl;
std::string id;
std::string name;
};
struct TaskFlowStatus
{
int pos;
std::string kind;
std::string id;
std::string taskFlowId;
std::string name;
};
struct Customfield
{
struct ValueItem
{
std::string title;
std::string id;
};
std::string customfieldId;
std::string type;
std::vector<Customfield::ValueItem> value;
std::string values;
};
std::string untilDate;
std::string recurrence;
std::string sourceDate;
std::vector<std::string> tagIds;
std::string stageId;
std::vector<std::string> involveMembers;
Creator creator;
std::string startDate;
std::string executorId;
Stage stage;
SubtaskCount subtaskCount;
std::vector<std::string> divisions;
int likesCount;
int uniqueId;
std::string updated;
int priority;
int shareStatus;
std::vector<std::string> labels;
std::string storyPoint;
bool isFavorite;
int pos;
std::string content;
std::string note;
std::vector<Task::Customfield> customfields;
std::string id;
std::string sprint;
std::string accomplished;
std::string taskId;
std::string parent;
std::string sourceId;
int rating;
std::string taskListId;
std::string sprintId;
std::string organizationId;
std::string source;
std::string created;
std::string taskFlowStatusId;
std::string objectType;
Executor executor;
std::string visible;
std::vector<std::string> ancestorIds;
TaskFlowStatus taskFlowStatus;
std::string dueDate;
int progress;
Reminder reminder;
std::string scenariofFeldConfigId;
std::string creatorId;
std::string projectId;
bool isDone;
int attachmentsCount;
WorkTime workTime;
bool isArchived;
bool isTopInProject;
Badges badges;
int commentsCount;
int objectlinksCount;
};
std::string nextPageToken;
int totalSize;
std::vector<Task> result;
};
GetTaskListFilterResult();
explicit GetTaskListFilterResult(const std::string &payload);
~GetTaskListFilterResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
std::string getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
std::string successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERRESULT_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_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_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 GetUserNameRequest : public RpcServiceRequest
{
public:
GetUserNameRequest();
~GetUserNameRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string userId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_

View File

@@ -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_GETUSERNAMERESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMERESULT_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 GetUserNameResult : public ServiceResult
{
public:
GetUserNameResult();
explicit GetUserNameResult(const std::string &payload);
~GetUserNameResult();
std::string getErrorMsg()const;
std::string getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
std::string object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMERESULT_H_

View File

@@ -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_LISTCOMMONGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_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 ListCommonGroupRequest : public RpcServiceRequest
{
public:
ListCommonGroupRequest();
~ListCommonGroupRequest();
bool getAll()const;
void setAll(bool all);
std::string getSmartGroupId()const;
void setSmartGroupId(const std::string& smartGroupId);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
bool all_;
std::string smartGroupId_;
std::string projectId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_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_DEVOPS_RDC_MODEL_LISTCOMMONGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPRESULT_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 ListCommonGroupResult : public ServiceResult
{
public:
struct CommonGroup
{
bool isRoot;
int pos;
std::string smartGroupId;
std::string pinyin;
std::string creatorId;
int resourceCount;
std::string projectId;
std::string id;
std::string name;
};
ListCommonGroupResult();
explicit ListCommonGroupResult(const std::string &payload);
~ListCommonGroupResult();
std::string getErrorMsg()const;
std::vector<CommonGroup> getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
std::vector<CommonGroup> object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPRESULT_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_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_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 ListSmartGroupRequest : public RpcServiceRequest
{
public:
ListSmartGroupRequest();
~ListSmartGroupRequest();
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string projectId_;
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPRESULT_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 ListSmartGroupResult : public ServiceResult
{
public:
struct SmartGroup
{
std::string type;
std::string id;
};
ListSmartGroupResult();
explicit ListSmartGroupResult(const std::string &payload);
~ListSmartGroupResult();
std::string getErrorMsg()const;
std::vector<SmartGroup> getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
std::vector<SmartGroup> object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_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 UpdateCommonGroupRequest : public RpcServiceRequest
{
public:
UpdateCommonGroupRequest();
~UpdateCommonGroupRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getCommonGroupId()const;
void setCommonGroupId(const std::string& commonGroupId);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
std::string getSmartGroupId()const;
void setSmartGroupId(const std::string& smartGroupId);
std::string getName()const;
void setName(const std::string& name);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
private:
std::string description_;
std::string commonGroupId_;
std::string orgId_;
std::string smartGroupId_;
std::string name_;
std::string projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_UPDATECOMMONGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPRESULT_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 UpdateCommonGroupResult : public ServiceResult
{
public:
struct Object
{
std::string id;
};
UpdateCommonGroupResult();
explicit UpdateCommonGroupResult(const std::string &payload);
~UpdateCommonGroupResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPRESULT_H_