From 8c27cbdc14820536d98d23ab6a15f03e690df92e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 24 Aug 2020 16:16:02 +0800 Subject: [PATCH] Add project api. --- CHANGELOG | 3 + VERSION | 2 +- devops-rdc/CMakeLists.txt | 112 +- .../devops-rdc/Devops_rdcClient.h | 216 ++++ .../model/BatchInsertMembersRequest.h | 54 + .../model/BatchInsertMembersResult.h | 57 + .../model/CheckAliyunAccountExistsRequest.h | 48 + .../model/CheckAliyunAccountExistsResult.h | 57 + .../model/CreateDevopsOrganizationRequest.h | 57 + .../model/CreateDevopsOrganizationResult.h | 57 + .../model/CreateDevopsProjectRequest.h | 54 + .../model/CreateDevopsProjectResult.h | 57 + .../model/CreateDevopsProjectSprintRequest.h | 66 ++ .../model/CreateDevopsProjectSprintResult.h | 80 ++ .../model/CreateDevopsProjectTaskRequest.h | 87 ++ .../model/CreateDevopsProjectTaskResult.h | 85 ++ .../DeleteDevopsOrganizationMembersRequest.h | 54 + .../DeleteDevopsOrganizationMembersResult.h | 57 + .../model/DeleteDevopsProjectMembersRequest.h | 54 + .../model/DeleteDevopsProjectMembersResult.h | 57 + .../model/DeleteDevopsProjectRequest.h | 51 + .../model/DeleteDevopsProjectResult.h | 57 + .../model/DeleteDevopsProjectSprintRequest.h | 51 + .../model/DeleteDevopsProjectSprintResult.h | 57 + .../model/DeleteDevopsProjectTaskRequest.h | 51 + .../model/DeleteDevopsProjectTaskResult.h | 57 + .../GetDevopsOrganizationMembersRequest.h | 48 + .../GetDevopsOrganizationMembersResult.h | 67 ++ .../model/GetDevopsProjectInfoRequest.h | 51 + .../model/GetDevopsProjectInfoResult.h | 89 ++ .../model/GetDevopsProjectMembersRequest.h | 51 + .../model/GetDevopsProjectMembersResult.h | 67 ++ .../model/GetDevopsProjectSprintInfoRequest.h | 51 + .../model/GetDevopsProjectSprintInfoResult.h | 78 ++ .../model/GetDevopsProjectTaskInfoRequest.h | 51 + .../model/GetDevopsProjectTaskInfoResult.h | 82 ++ .../model/GetUserByAliyunUidRequest.h | 51 + .../model/GetUserByAliyunUidResult.h | 66 ++ .../model/InsertDevopsUserRequest.h | 57 + .../devops-rdc/model/InsertDevopsUserResult.h | 57 + .../model/InsertProjectMembersRequest.h | 54 + .../model/InsertProjectMembersResult.h | 57 + .../model/ListDevopsProjectSprintsRequest.h | 51 + .../model/ListDevopsProjectSprintsResult.h | 78 ++ .../model/ListDevopsProjectTaskFlowRequest.h | 51 + .../model/ListDevopsProjectTaskFlowResult.h | 62 ++ .../ListDevopsProjectTaskFlowStatusRequest.h | 51 + .../ListDevopsProjectTaskFlowStatusResult.h | 70 ++ .../model/ListDevopsProjectTasksRequest.h | 51 + .../model/ListDevopsProjectTasksResult.h | 69 ++ .../ListDevopsScenarioFieldConfigRequest.h | 51 + .../ListDevopsScenarioFieldConfigResult.h | 62 ++ .../model/UpdateDevopsProjectRequest.h | 57 + .../model/UpdateDevopsProjectResult.h | 57 + .../model/UpdateDevopsProjectSprintRequest.h | 69 ++ .../model/UpdateDevopsProjectSprintResult.h | 57 + .../model/UpdateDevopsProjectTaskRequest.h | 87 ++ .../model/UpdateDevopsProjectTaskResult.h | 57 + devops-rdc/src/Devops-rdcClient.cc | 972 ++++++++++++++++++ .../src/model/BatchInsertMembersRequest.cc | 62 ++ .../src/model/BatchInsertMembersResult.cc | 72 ++ .../model/CheckAliyunAccountExistsRequest.cc | 40 + .../model/CheckAliyunAccountExistsResult.cc | 72 ++ .../model/CreateDevopsOrganizationRequest.cc | 73 ++ .../model/CreateDevopsOrganizationResult.cc | 72 ++ .../src/model/CreateDevopsProjectRequest.cc | 62 ++ .../src/model/CreateDevopsProjectResult.cc | 72 ++ .../model/CreateDevopsProjectSprintRequest.cc | 106 ++ .../model/CreateDevopsProjectSprintResult.cc | 104 ++ .../model/CreateDevopsProjectTaskRequest.cc | 183 ++++ .../model/CreateDevopsProjectTaskResult.cc | 121 +++ .../DeleteDevopsOrganizationMembersRequest.cc | 62 ++ .../DeleteDevopsOrganizationMembersResult.cc | 72 ++ .../DeleteDevopsProjectMembersRequest.cc | 62 ++ .../model/DeleteDevopsProjectMembersResult.cc | 72 ++ .../src/model/DeleteDevopsProjectRequest.cc | 51 + .../src/model/DeleteDevopsProjectResult.cc | 72 ++ .../model/DeleteDevopsProjectSprintRequest.cc | 51 + .../model/DeleteDevopsProjectSprintResult.cc | 72 ++ .../model/DeleteDevopsProjectTaskRequest.cc | 51 + .../model/DeleteDevopsProjectTaskResult.cc | 72 ++ .../GetDevopsOrganizationMembersRequest.cc | 40 + .../GetDevopsOrganizationMembersResult.cc | 90 ++ .../src/model/GetDevopsProjectInfoRequest.cc | 51 + .../src/model/GetDevopsProjectInfoResult.cc | 129 +++ .../model/GetDevopsProjectMembersRequest.cc | 51 + .../model/GetDevopsProjectMembersResult.cc | 90 ++ .../GetDevopsProjectSprintInfoRequest.cc | 51 + .../model/GetDevopsProjectSprintInfoResult.cc | 100 ++ .../model/GetDevopsProjectTaskInfoRequest.cc | 51 + .../model/GetDevopsProjectTaskInfoResult.cc | 116 +++ .../src/model/GetUserByAliyunUidRequest.cc | 51 + .../src/model/GetUserByAliyunUidResult.cc | 83 ++ .../src/model/InsertDevopsUserRequest.cc | 73 ++ .../src/model/InsertDevopsUserResult.cc | 72 ++ .../src/model/InsertProjectMembersRequest.cc | 62 ++ .../src/model/InsertProjectMembersResult.cc | 72 ++ .../model/ListDevopsProjectSprintsRequest.cc | 51 + .../model/ListDevopsProjectSprintsResult.cc | 105 ++ .../model/ListDevopsProjectTaskFlowRequest.cc | 51 + .../model/ListDevopsProjectTaskFlowResult.cc | 80 ++ .../ListDevopsProjectTaskFlowStatusRequest.cc | 51 + .../ListDevopsProjectTaskFlowStatusResult.cc | 96 ++ .../model/ListDevopsProjectTasksRequest.cc | 51 + .../src/model/ListDevopsProjectTasksResult.cc | 94 ++ .../ListDevopsScenarioFieldConfigRequest.cc | 51 + .../ListDevopsScenarioFieldConfigResult.cc | 80 ++ .../src/model/UpdateDevopsProjectRequest.cc | 73 ++ .../src/model/UpdateDevopsProjectResult.cc | 72 ++ .../model/UpdateDevopsProjectSprintRequest.cc | 117 +++ .../model/UpdateDevopsProjectSprintResult.cc | 72 ++ .../model/UpdateDevopsProjectTaskRequest.cc | 183 ++++ .../model/UpdateDevopsProjectTaskResult.cc | 72 ++ 113 files changed, 8721 insertions(+), 3 deletions(-) create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.h create mode 100644 devops-rdc/src/model/BatchInsertMembersRequest.cc create mode 100644 devops-rdc/src/model/BatchInsertMembersResult.cc create mode 100644 devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc create mode 100644 devops-rdc/src/model/CheckAliyunAccountExistsResult.cc create mode 100644 devops-rdc/src/model/CreateDevopsOrganizationRequest.cc create mode 100644 devops-rdc/src/model/CreateDevopsOrganizationResult.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectRequest.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectResult.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectSprintResult.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc create mode 100644 devops-rdc/src/model/CreateDevopsProjectTaskResult.cc create mode 100644 devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc create mode 100644 devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectRequest.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectResult.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc create mode 100644 devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc create mode 100644 devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc create mode 100644 devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectInfoRequest.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectInfoResult.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectMembersRequest.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectMembersResult.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc create mode 100644 devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc create mode 100644 devops-rdc/src/model/GetUserByAliyunUidRequest.cc create mode 100644 devops-rdc/src/model/GetUserByAliyunUidResult.cc create mode 100644 devops-rdc/src/model/InsertDevopsUserRequest.cc create mode 100644 devops-rdc/src/model/InsertDevopsUserResult.cc create mode 100644 devops-rdc/src/model/InsertProjectMembersRequest.cc create mode 100644 devops-rdc/src/model/InsertProjectMembersResult.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectSprintsResult.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTasksRequest.cc create mode 100644 devops-rdc/src/model/ListDevopsProjectTasksResult.cc create mode 100644 devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc create mode 100644 devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectRequest.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectResult.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc create mode 100644 devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc diff --git a/CHANGELOG b/CHANGELOG index 89c6d8bf1..8c25ceae8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-08-24 Version: 1.36.606 +- Add project api. + 2020-08-24 Version: 1.36.605 - Edit QueryMetricByPage api. diff --git a/VERSION b/VERSION index 6aa33167b..2b60372b9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.605 \ No newline at end of file +1.36.606 \ No newline at end of file diff --git a/devops-rdc/CMakeLists.txt b/devops-rdc/CMakeLists.txt index df2a81b91..cb2806098 100644 --- a/devops-rdc/CMakeLists.txt +++ b/devops-rdc/CMakeLists.txt @@ -21,16 +21,48 @@ set(devops-rdc_public_header include/alibabacloud/devops-rdc/Devops_rdcExport.h ) set(devops-rdc_public_header_model + include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h + include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.h include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h include/alibabacloud/devops-rdc/model/CancelPipelineResult.h + include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h + include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsResult.h include/alibabacloud/devops-rdc/model/CreateCredentialRequest.h include/alibabacloud/devops-rdc/model/CreateCredentialResult.h + include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h + include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationResult.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectResult.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintResult.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h + include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h include/alibabacloud/devops-rdc/model/CreatePipelineRequest.h include/alibabacloud/devops-rdc/model/CreatePipelineResult.h include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h include/alibabacloud/devops-rdc/model/CreateServiceConnectionResult.h + include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h + include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersResult.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectResult.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersResult.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintResult.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h + include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskResult.h include/alibabacloud/devops-rdc/model/ExecutePipelineRequest.h include/alibabacloud/devops-rdc/model/ExecutePipelineResult.h + include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h + include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h + include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusRequest.h include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusResult.h include/alibabacloud/devops-rdc/model/GetPipelineInstanceGroupStatusRequest.h @@ -43,25 +75,79 @@ set(devops-rdc_public_header_model include/alibabacloud/devops-rdc/model/GetPipelineLogResult.h include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusRequest.h include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusResult.h + include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h + include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h + include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h + include/alibabacloud/devops-rdc/model/InsertDevopsUserResult.h + include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h + include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.h include/alibabacloud/devops-rdc/model/ListCredentialsRequest.h include/alibabacloud/devops-rdc/model/ListCredentialsResult.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h + include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h + include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h + include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h include/alibabacloud/devops-rdc/model/ListPipelinesResult.h include/alibabacloud/devops-rdc/model/ListServiceConnectionsRequest.h - include/alibabacloud/devops-rdc/model/ListServiceConnectionsResult.h ) + include/alibabacloud/devops-rdc/model/ListServiceConnectionsResult.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectResult.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h + include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.h ) set(devops-rdc_src src/Devops-rdcClient.cc + src/model/BatchInsertMembersRequest.cc + src/model/BatchInsertMembersResult.cc src/model/CancelPipelineRequest.cc src/model/CancelPipelineResult.cc + src/model/CheckAliyunAccountExistsRequest.cc + src/model/CheckAliyunAccountExistsResult.cc src/model/CreateCredentialRequest.cc src/model/CreateCredentialResult.cc + src/model/CreateDevopsOrganizationRequest.cc + src/model/CreateDevopsOrganizationResult.cc + src/model/CreateDevopsProjectRequest.cc + src/model/CreateDevopsProjectResult.cc + src/model/CreateDevopsProjectSprintRequest.cc + src/model/CreateDevopsProjectSprintResult.cc + src/model/CreateDevopsProjectTaskRequest.cc + src/model/CreateDevopsProjectTaskResult.cc src/model/CreatePipelineRequest.cc src/model/CreatePipelineResult.cc src/model/CreateServiceConnectionRequest.cc src/model/CreateServiceConnectionResult.cc + src/model/DeleteDevopsOrganizationMembersRequest.cc + src/model/DeleteDevopsOrganizationMembersResult.cc + src/model/DeleteDevopsProjectRequest.cc + src/model/DeleteDevopsProjectResult.cc + src/model/DeleteDevopsProjectMembersRequest.cc + src/model/DeleteDevopsProjectMembersResult.cc + src/model/DeleteDevopsProjectSprintRequest.cc + src/model/DeleteDevopsProjectSprintResult.cc + src/model/DeleteDevopsProjectTaskRequest.cc + src/model/DeleteDevopsProjectTaskResult.cc src/model/ExecutePipelineRequest.cc src/model/ExecutePipelineResult.cc + src/model/GetDevopsOrganizationMembersRequest.cc + src/model/GetDevopsOrganizationMembersResult.cc + src/model/GetDevopsProjectInfoRequest.cc + src/model/GetDevopsProjectInfoResult.cc + src/model/GetDevopsProjectMembersRequest.cc + src/model/GetDevopsProjectMembersResult.cc + src/model/GetDevopsProjectSprintInfoRequest.cc + src/model/GetDevopsProjectSprintInfoResult.cc + src/model/GetDevopsProjectTaskInfoRequest.cc + src/model/GetDevopsProjectTaskInfoResult.cc src/model/GetPipelineInstanceBuildNumberStatusRequest.cc src/model/GetPipelineInstanceBuildNumberStatusResult.cc src/model/GetPipelineInstanceGroupStatusRequest.cc @@ -74,12 +160,34 @@ set(devops-rdc_src src/model/GetPipelineLogResult.cc src/model/GetPipleineLatestInstanceStatusRequest.cc src/model/GetPipleineLatestInstanceStatusResult.cc + src/model/GetUserByAliyunUidRequest.cc + src/model/GetUserByAliyunUidResult.cc + src/model/InsertDevopsUserRequest.cc + src/model/InsertDevopsUserResult.cc + src/model/InsertProjectMembersRequest.cc + src/model/InsertProjectMembersResult.cc src/model/ListCredentialsRequest.cc src/model/ListCredentialsResult.cc + src/model/ListDevopsProjectSprintsRequest.cc + src/model/ListDevopsProjectSprintsResult.cc + src/model/ListDevopsProjectTaskFlowRequest.cc + src/model/ListDevopsProjectTaskFlowResult.cc + src/model/ListDevopsProjectTaskFlowStatusRequest.cc + src/model/ListDevopsProjectTaskFlowStatusResult.cc + src/model/ListDevopsProjectTasksRequest.cc + src/model/ListDevopsProjectTasksResult.cc + src/model/ListDevopsScenarioFieldConfigRequest.cc + src/model/ListDevopsScenarioFieldConfigResult.cc src/model/ListPipelinesRequest.cc src/model/ListPipelinesResult.cc src/model/ListServiceConnectionsRequest.cc - src/model/ListServiceConnectionsResult.cc ) + src/model/ListServiceConnectionsResult.cc + src/model/UpdateDevopsProjectRequest.cc + src/model/UpdateDevopsProjectResult.cc + src/model/UpdateDevopsProjectSprintRequest.cc + src/model/UpdateDevopsProjectSprintResult.cc + src/model/UpdateDevopsProjectTaskRequest.cc + src/model/UpdateDevopsProjectTaskResult.cc ) add_library(devops-rdc ${LIB_TYPE} ${devops-rdc_public_header} diff --git a/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h b/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h index 810b168a8..bccd4f39e 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h @@ -22,16 +22,48 @@ #include #include #include "Devops_rdcExport.h" +#include "model/BatchInsertMembersRequest.h" +#include "model/BatchInsertMembersResult.h" #include "model/CancelPipelineRequest.h" #include "model/CancelPipelineResult.h" +#include "model/CheckAliyunAccountExistsRequest.h" +#include "model/CheckAliyunAccountExistsResult.h" #include "model/CreateCredentialRequest.h" #include "model/CreateCredentialResult.h" +#include "model/CreateDevopsOrganizationRequest.h" +#include "model/CreateDevopsOrganizationResult.h" +#include "model/CreateDevopsProjectRequest.h" +#include "model/CreateDevopsProjectResult.h" +#include "model/CreateDevopsProjectSprintRequest.h" +#include "model/CreateDevopsProjectSprintResult.h" +#include "model/CreateDevopsProjectTaskRequest.h" +#include "model/CreateDevopsProjectTaskResult.h" #include "model/CreatePipelineRequest.h" #include "model/CreatePipelineResult.h" #include "model/CreateServiceConnectionRequest.h" #include "model/CreateServiceConnectionResult.h" +#include "model/DeleteDevopsOrganizationMembersRequest.h" +#include "model/DeleteDevopsOrganizationMembersResult.h" +#include "model/DeleteDevopsProjectRequest.h" +#include "model/DeleteDevopsProjectResult.h" +#include "model/DeleteDevopsProjectMembersRequest.h" +#include "model/DeleteDevopsProjectMembersResult.h" +#include "model/DeleteDevopsProjectSprintRequest.h" +#include "model/DeleteDevopsProjectSprintResult.h" +#include "model/DeleteDevopsProjectTaskRequest.h" +#include "model/DeleteDevopsProjectTaskResult.h" #include "model/ExecutePipelineRequest.h" #include "model/ExecutePipelineResult.h" +#include "model/GetDevopsOrganizationMembersRequest.h" +#include "model/GetDevopsOrganizationMembersResult.h" +#include "model/GetDevopsProjectInfoRequest.h" +#include "model/GetDevopsProjectInfoResult.h" +#include "model/GetDevopsProjectMembersRequest.h" +#include "model/GetDevopsProjectMembersResult.h" +#include "model/GetDevopsProjectSprintInfoRequest.h" +#include "model/GetDevopsProjectSprintInfoResult.h" +#include "model/GetDevopsProjectTaskInfoRequest.h" +#include "model/GetDevopsProjectTaskInfoResult.h" #include "model/GetPipelineInstanceBuildNumberStatusRequest.h" #include "model/GetPipelineInstanceBuildNumberStatusResult.h" #include "model/GetPipelineInstanceGroupStatusRequest.h" @@ -44,12 +76,34 @@ #include "model/GetPipelineLogResult.h" #include "model/GetPipleineLatestInstanceStatusRequest.h" #include "model/GetPipleineLatestInstanceStatusResult.h" +#include "model/GetUserByAliyunUidRequest.h" +#include "model/GetUserByAliyunUidResult.h" +#include "model/InsertDevopsUserRequest.h" +#include "model/InsertDevopsUserResult.h" +#include "model/InsertProjectMembersRequest.h" +#include "model/InsertProjectMembersResult.h" #include "model/ListCredentialsRequest.h" #include "model/ListCredentialsResult.h" +#include "model/ListDevopsProjectSprintsRequest.h" +#include "model/ListDevopsProjectSprintsResult.h" +#include "model/ListDevopsProjectTaskFlowRequest.h" +#include "model/ListDevopsProjectTaskFlowResult.h" +#include "model/ListDevopsProjectTaskFlowStatusRequest.h" +#include "model/ListDevopsProjectTaskFlowStatusResult.h" +#include "model/ListDevopsProjectTasksRequest.h" +#include "model/ListDevopsProjectTasksResult.h" +#include "model/ListDevopsScenarioFieldConfigRequest.h" +#include "model/ListDevopsScenarioFieldConfigResult.h" #include "model/ListPipelinesRequest.h" #include "model/ListPipelinesResult.h" #include "model/ListServiceConnectionsRequest.h" #include "model/ListServiceConnectionsResult.h" +#include "model/UpdateDevopsProjectRequest.h" +#include "model/UpdateDevopsProjectResult.h" +#include "model/UpdateDevopsProjectSprintRequest.h" +#include "model/UpdateDevopsProjectSprintResult.h" +#include "model/UpdateDevopsProjectTaskRequest.h" +#include "model/UpdateDevopsProjectTaskResult.h" namespace AlibabaCloud @@ -59,21 +113,69 @@ namespace AlibabaCloud class ALIBABACLOUD_DEVOPS_RDC_EXPORT Devops_rdcClient : public RpcServiceClient { public: + typedef Outcome BatchInsertMembersOutcome; + typedef std::future BatchInsertMembersOutcomeCallable; + typedef std::function&)> BatchInsertMembersAsyncHandler; typedef Outcome CancelPipelineOutcome; typedef std::future CancelPipelineOutcomeCallable; typedef std::function&)> CancelPipelineAsyncHandler; + typedef Outcome CheckAliyunAccountExistsOutcome; + typedef std::future CheckAliyunAccountExistsOutcomeCallable; + typedef std::function&)> CheckAliyunAccountExistsAsyncHandler; typedef Outcome CreateCredentialOutcome; typedef std::future CreateCredentialOutcomeCallable; typedef std::function&)> CreateCredentialAsyncHandler; + typedef Outcome CreateDevopsOrganizationOutcome; + typedef std::future CreateDevopsOrganizationOutcomeCallable; + typedef std::function&)> CreateDevopsOrganizationAsyncHandler; + typedef Outcome CreateDevopsProjectOutcome; + typedef std::future CreateDevopsProjectOutcomeCallable; + typedef std::function&)> CreateDevopsProjectAsyncHandler; + typedef Outcome CreateDevopsProjectSprintOutcome; + typedef std::future CreateDevopsProjectSprintOutcomeCallable; + typedef std::function&)> CreateDevopsProjectSprintAsyncHandler; + typedef Outcome CreateDevopsProjectTaskOutcome; + typedef std::future CreateDevopsProjectTaskOutcomeCallable; + typedef std::function&)> CreateDevopsProjectTaskAsyncHandler; typedef Outcome CreatePipelineOutcome; typedef std::future CreatePipelineOutcomeCallable; typedef std::function&)> CreatePipelineAsyncHandler; typedef Outcome CreateServiceConnectionOutcome; typedef std::future CreateServiceConnectionOutcomeCallable; typedef std::function&)> CreateServiceConnectionAsyncHandler; + typedef Outcome DeleteDevopsOrganizationMembersOutcome; + typedef std::future DeleteDevopsOrganizationMembersOutcomeCallable; + typedef std::function&)> DeleteDevopsOrganizationMembersAsyncHandler; + typedef Outcome DeleteDevopsProjectOutcome; + typedef std::future DeleteDevopsProjectOutcomeCallable; + typedef std::function&)> DeleteDevopsProjectAsyncHandler; + typedef Outcome DeleteDevopsProjectMembersOutcome; + typedef std::future DeleteDevopsProjectMembersOutcomeCallable; + typedef std::function&)> DeleteDevopsProjectMembersAsyncHandler; + typedef Outcome DeleteDevopsProjectSprintOutcome; + typedef std::future DeleteDevopsProjectSprintOutcomeCallable; + typedef std::function&)> DeleteDevopsProjectSprintAsyncHandler; + typedef Outcome DeleteDevopsProjectTaskOutcome; + typedef std::future DeleteDevopsProjectTaskOutcomeCallable; + typedef std::function&)> DeleteDevopsProjectTaskAsyncHandler; typedef Outcome ExecutePipelineOutcome; typedef std::future ExecutePipelineOutcomeCallable; typedef std::function&)> ExecutePipelineAsyncHandler; + typedef Outcome GetDevopsOrganizationMembersOutcome; + typedef std::future GetDevopsOrganizationMembersOutcomeCallable; + typedef std::function&)> GetDevopsOrganizationMembersAsyncHandler; + typedef Outcome GetDevopsProjectInfoOutcome; + typedef std::future GetDevopsProjectInfoOutcomeCallable; + typedef std::function&)> GetDevopsProjectInfoAsyncHandler; + typedef Outcome GetDevopsProjectMembersOutcome; + typedef std::future GetDevopsProjectMembersOutcomeCallable; + typedef std::function&)> GetDevopsProjectMembersAsyncHandler; + typedef Outcome GetDevopsProjectSprintInfoOutcome; + typedef std::future GetDevopsProjectSprintInfoOutcomeCallable; + typedef std::function&)> GetDevopsProjectSprintInfoAsyncHandler; + typedef Outcome GetDevopsProjectTaskInfoOutcome; + typedef std::future GetDevopsProjectTaskInfoOutcomeCallable; + typedef std::function&)> GetDevopsProjectTaskInfoAsyncHandler; typedef Outcome GetPipelineInstanceBuildNumberStatusOutcome; typedef std::future GetPipelineInstanceBuildNumberStatusOutcomeCallable; typedef std::function&)> GetPipelineInstanceBuildNumberStatusAsyncHandler; @@ -92,35 +194,116 @@ namespace AlibabaCloud typedef Outcome GetPipleineLatestInstanceStatusOutcome; typedef std::future GetPipleineLatestInstanceStatusOutcomeCallable; typedef std::function&)> GetPipleineLatestInstanceStatusAsyncHandler; + typedef Outcome GetUserByAliyunUidOutcome; + typedef std::future GetUserByAliyunUidOutcomeCallable; + typedef std::function&)> GetUserByAliyunUidAsyncHandler; + typedef Outcome InsertDevopsUserOutcome; + typedef std::future InsertDevopsUserOutcomeCallable; + typedef std::function&)> InsertDevopsUserAsyncHandler; + typedef Outcome InsertProjectMembersOutcome; + typedef std::future InsertProjectMembersOutcomeCallable; + typedef std::function&)> InsertProjectMembersAsyncHandler; typedef Outcome ListCredentialsOutcome; typedef std::future ListCredentialsOutcomeCallable; typedef std::function&)> ListCredentialsAsyncHandler; + typedef Outcome ListDevopsProjectSprintsOutcome; + typedef std::future ListDevopsProjectSprintsOutcomeCallable; + typedef std::function&)> ListDevopsProjectSprintsAsyncHandler; + typedef Outcome ListDevopsProjectTaskFlowOutcome; + typedef std::future ListDevopsProjectTaskFlowOutcomeCallable; + typedef std::function&)> ListDevopsProjectTaskFlowAsyncHandler; + typedef Outcome ListDevopsProjectTaskFlowStatusOutcome; + typedef std::future ListDevopsProjectTaskFlowStatusOutcomeCallable; + typedef std::function&)> ListDevopsProjectTaskFlowStatusAsyncHandler; + typedef Outcome ListDevopsProjectTasksOutcome; + typedef std::future ListDevopsProjectTasksOutcomeCallable; + typedef std::function&)> ListDevopsProjectTasksAsyncHandler; + typedef Outcome ListDevopsScenarioFieldConfigOutcome; + typedef std::future ListDevopsScenarioFieldConfigOutcomeCallable; + typedef std::function&)> ListDevopsScenarioFieldConfigAsyncHandler; typedef Outcome ListPipelinesOutcome; typedef std::future ListPipelinesOutcomeCallable; typedef std::function&)> ListPipelinesAsyncHandler; typedef Outcome ListServiceConnectionsOutcome; typedef std::future ListServiceConnectionsOutcomeCallable; typedef std::function&)> ListServiceConnectionsAsyncHandler; + typedef Outcome UpdateDevopsProjectOutcome; + typedef std::future UpdateDevopsProjectOutcomeCallable; + typedef std::function&)> UpdateDevopsProjectAsyncHandler; + typedef Outcome UpdateDevopsProjectSprintOutcome; + typedef std::future UpdateDevopsProjectSprintOutcomeCallable; + typedef std::function&)> UpdateDevopsProjectSprintAsyncHandler; + typedef Outcome UpdateDevopsProjectTaskOutcome; + typedef std::future UpdateDevopsProjectTaskOutcomeCallable; + typedef std::function&)> UpdateDevopsProjectTaskAsyncHandler; Devops_rdcClient(const Credentials &credentials, const ClientConfiguration &configuration); Devops_rdcClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); Devops_rdcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~Devops_rdcClient(); + BatchInsertMembersOutcome batchInsertMembers(const Model::BatchInsertMembersRequest &request)const; + void batchInsertMembersAsync(const Model::BatchInsertMembersRequest& request, const BatchInsertMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchInsertMembersOutcomeCallable batchInsertMembersCallable(const Model::BatchInsertMembersRequest& request) const; CancelPipelineOutcome cancelPipeline(const Model::CancelPipelineRequest &request)const; void cancelPipelineAsync(const Model::CancelPipelineRequest& request, const CancelPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelPipelineOutcomeCallable cancelPipelineCallable(const Model::CancelPipelineRequest& request) const; + CheckAliyunAccountExistsOutcome checkAliyunAccountExists(const Model::CheckAliyunAccountExistsRequest &request)const; + void checkAliyunAccountExistsAsync(const Model::CheckAliyunAccountExistsRequest& request, const CheckAliyunAccountExistsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckAliyunAccountExistsOutcomeCallable checkAliyunAccountExistsCallable(const Model::CheckAliyunAccountExistsRequest& request) const; CreateCredentialOutcome createCredential(const Model::CreateCredentialRequest &request)const; void createCredentialAsync(const Model::CreateCredentialRequest& request, const CreateCredentialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCredentialOutcomeCallable createCredentialCallable(const Model::CreateCredentialRequest& request) const; + CreateDevopsOrganizationOutcome createDevopsOrganization(const Model::CreateDevopsOrganizationRequest &request)const; + void createDevopsOrganizationAsync(const Model::CreateDevopsOrganizationRequest& request, const CreateDevopsOrganizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDevopsOrganizationOutcomeCallable createDevopsOrganizationCallable(const Model::CreateDevopsOrganizationRequest& request) const; + CreateDevopsProjectOutcome createDevopsProject(const Model::CreateDevopsProjectRequest &request)const; + void createDevopsProjectAsync(const Model::CreateDevopsProjectRequest& request, const CreateDevopsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDevopsProjectOutcomeCallable createDevopsProjectCallable(const Model::CreateDevopsProjectRequest& request) const; + CreateDevopsProjectSprintOutcome createDevopsProjectSprint(const Model::CreateDevopsProjectSprintRequest &request)const; + void createDevopsProjectSprintAsync(const Model::CreateDevopsProjectSprintRequest& request, const CreateDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDevopsProjectSprintOutcomeCallable createDevopsProjectSprintCallable(const Model::CreateDevopsProjectSprintRequest& request) const; + CreateDevopsProjectTaskOutcome createDevopsProjectTask(const Model::CreateDevopsProjectTaskRequest &request)const; + void createDevopsProjectTaskAsync(const Model::CreateDevopsProjectTaskRequest& request, const CreateDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDevopsProjectTaskOutcomeCallable createDevopsProjectTaskCallable(const Model::CreateDevopsProjectTaskRequest& request) const; CreatePipelineOutcome createPipeline(const Model::CreatePipelineRequest &request)const; void createPipelineAsync(const Model::CreatePipelineRequest& request, const CreatePipelineAsyncHandler& handler, const std::shared_ptr& 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& context = nullptr) const; CreateServiceConnectionOutcomeCallable createServiceConnectionCallable(const Model::CreateServiceConnectionRequest& request) const; + DeleteDevopsOrganizationMembersOutcome deleteDevopsOrganizationMembers(const Model::DeleteDevopsOrganizationMembersRequest &request)const; + void deleteDevopsOrganizationMembersAsync(const Model::DeleteDevopsOrganizationMembersRequest& request, const DeleteDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevopsOrganizationMembersOutcomeCallable deleteDevopsOrganizationMembersCallable(const Model::DeleteDevopsOrganizationMembersRequest& request) const; + DeleteDevopsProjectOutcome deleteDevopsProject(const Model::DeleteDevopsProjectRequest &request)const; + void deleteDevopsProjectAsync(const Model::DeleteDevopsProjectRequest& request, const DeleteDevopsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevopsProjectOutcomeCallable deleteDevopsProjectCallable(const Model::DeleteDevopsProjectRequest& request) const; + DeleteDevopsProjectMembersOutcome deleteDevopsProjectMembers(const Model::DeleteDevopsProjectMembersRequest &request)const; + void deleteDevopsProjectMembersAsync(const Model::DeleteDevopsProjectMembersRequest& request, const DeleteDevopsProjectMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevopsProjectMembersOutcomeCallable deleteDevopsProjectMembersCallable(const Model::DeleteDevopsProjectMembersRequest& request) const; + DeleteDevopsProjectSprintOutcome deleteDevopsProjectSprint(const Model::DeleteDevopsProjectSprintRequest &request)const; + void deleteDevopsProjectSprintAsync(const Model::DeleteDevopsProjectSprintRequest& request, const DeleteDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevopsProjectSprintOutcomeCallable deleteDevopsProjectSprintCallable(const Model::DeleteDevopsProjectSprintRequest& request) const; + DeleteDevopsProjectTaskOutcome deleteDevopsProjectTask(const Model::DeleteDevopsProjectTaskRequest &request)const; + void deleteDevopsProjectTaskAsync(const Model::DeleteDevopsProjectTaskRequest& request, const DeleteDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevopsProjectTaskOutcomeCallable deleteDevopsProjectTaskCallable(const Model::DeleteDevopsProjectTaskRequest& request) const; ExecutePipelineOutcome executePipeline(const Model::ExecutePipelineRequest &request)const; void executePipelineAsync(const Model::ExecutePipelineRequest& request, const ExecutePipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ExecutePipelineOutcomeCallable executePipelineCallable(const Model::ExecutePipelineRequest& request) const; + GetDevopsOrganizationMembersOutcome getDevopsOrganizationMembers(const Model::GetDevopsOrganizationMembersRequest &request)const; + void getDevopsOrganizationMembersAsync(const Model::GetDevopsOrganizationMembersRequest& request, const GetDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDevopsOrganizationMembersOutcomeCallable getDevopsOrganizationMembersCallable(const Model::GetDevopsOrganizationMembersRequest& request) const; + GetDevopsProjectInfoOutcome getDevopsProjectInfo(const Model::GetDevopsProjectInfoRequest &request)const; + void getDevopsProjectInfoAsync(const Model::GetDevopsProjectInfoRequest& request, const GetDevopsProjectInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDevopsProjectInfoOutcomeCallable getDevopsProjectInfoCallable(const Model::GetDevopsProjectInfoRequest& request) const; + GetDevopsProjectMembersOutcome getDevopsProjectMembers(const Model::GetDevopsProjectMembersRequest &request)const; + void getDevopsProjectMembersAsync(const Model::GetDevopsProjectMembersRequest& request, const GetDevopsProjectMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDevopsProjectMembersOutcomeCallable getDevopsProjectMembersCallable(const Model::GetDevopsProjectMembersRequest& request) const; + GetDevopsProjectSprintInfoOutcome getDevopsProjectSprintInfo(const Model::GetDevopsProjectSprintInfoRequest &request)const; + void getDevopsProjectSprintInfoAsync(const Model::GetDevopsProjectSprintInfoRequest& request, const GetDevopsProjectSprintInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDevopsProjectSprintInfoOutcomeCallable getDevopsProjectSprintInfoCallable(const Model::GetDevopsProjectSprintInfoRequest& request) const; + GetDevopsProjectTaskInfoOutcome getDevopsProjectTaskInfo(const Model::GetDevopsProjectTaskInfoRequest &request)const; + void getDevopsProjectTaskInfoAsync(const Model::GetDevopsProjectTaskInfoRequest& request, const GetDevopsProjectTaskInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDevopsProjectTaskInfoOutcomeCallable getDevopsProjectTaskInfoCallable(const Model::GetDevopsProjectTaskInfoRequest& request) const; GetPipelineInstanceBuildNumberStatusOutcome getPipelineInstanceBuildNumberStatus(const Model::GetPipelineInstanceBuildNumberStatusRequest &request)const; void getPipelineInstanceBuildNumberStatusAsync(const Model::GetPipelineInstanceBuildNumberStatusRequest& request, const GetPipelineInstanceBuildNumberStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPipelineInstanceBuildNumberStatusOutcomeCallable getPipelineInstanceBuildNumberStatusCallable(const Model::GetPipelineInstanceBuildNumberStatusRequest& request) const; @@ -139,15 +322,48 @@ namespace AlibabaCloud GetPipleineLatestInstanceStatusOutcome getPipleineLatestInstanceStatus(const Model::GetPipleineLatestInstanceStatusRequest &request)const; void getPipleineLatestInstanceStatusAsync(const Model::GetPipleineLatestInstanceStatusRequest& request, const GetPipleineLatestInstanceStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPipleineLatestInstanceStatusOutcomeCallable getPipleineLatestInstanceStatusCallable(const Model::GetPipleineLatestInstanceStatusRequest& request) const; + GetUserByAliyunUidOutcome getUserByAliyunUid(const Model::GetUserByAliyunUidRequest &request)const; + void getUserByAliyunUidAsync(const Model::GetUserByAliyunUidRequest& request, const GetUserByAliyunUidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetUserByAliyunUidOutcomeCallable getUserByAliyunUidCallable(const Model::GetUserByAliyunUidRequest& request) const; + InsertDevopsUserOutcome insertDevopsUser(const Model::InsertDevopsUserRequest &request)const; + void insertDevopsUserAsync(const Model::InsertDevopsUserRequest& request, const InsertDevopsUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertDevopsUserOutcomeCallable insertDevopsUserCallable(const Model::InsertDevopsUserRequest& request) const; + InsertProjectMembersOutcome insertProjectMembers(const Model::InsertProjectMembersRequest &request)const; + void insertProjectMembersAsync(const Model::InsertProjectMembersRequest& request, const InsertProjectMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertProjectMembersOutcomeCallable insertProjectMembersCallable(const Model::InsertProjectMembersRequest& request) const; ListCredentialsOutcome listCredentials(const Model::ListCredentialsRequest &request)const; void listCredentialsAsync(const Model::ListCredentialsRequest& request, const ListCredentialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListCredentialsOutcomeCallable listCredentialsCallable(const Model::ListCredentialsRequest& request) const; + ListDevopsProjectSprintsOutcome listDevopsProjectSprints(const Model::ListDevopsProjectSprintsRequest &request)const; + void listDevopsProjectSprintsAsync(const Model::ListDevopsProjectSprintsRequest& request, const ListDevopsProjectSprintsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevopsProjectSprintsOutcomeCallable listDevopsProjectSprintsCallable(const Model::ListDevopsProjectSprintsRequest& request) const; + ListDevopsProjectTaskFlowOutcome listDevopsProjectTaskFlow(const Model::ListDevopsProjectTaskFlowRequest &request)const; + void listDevopsProjectTaskFlowAsync(const Model::ListDevopsProjectTaskFlowRequest& request, const ListDevopsProjectTaskFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevopsProjectTaskFlowOutcomeCallable listDevopsProjectTaskFlowCallable(const Model::ListDevopsProjectTaskFlowRequest& request) const; + ListDevopsProjectTaskFlowStatusOutcome listDevopsProjectTaskFlowStatus(const Model::ListDevopsProjectTaskFlowStatusRequest &request)const; + void listDevopsProjectTaskFlowStatusAsync(const Model::ListDevopsProjectTaskFlowStatusRequest& request, const ListDevopsProjectTaskFlowStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevopsProjectTaskFlowStatusOutcomeCallable listDevopsProjectTaskFlowStatusCallable(const Model::ListDevopsProjectTaskFlowStatusRequest& request) const; + ListDevopsProjectTasksOutcome listDevopsProjectTasks(const Model::ListDevopsProjectTasksRequest &request)const; + void listDevopsProjectTasksAsync(const Model::ListDevopsProjectTasksRequest& request, const ListDevopsProjectTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevopsProjectTasksOutcomeCallable listDevopsProjectTasksCallable(const Model::ListDevopsProjectTasksRequest& request) const; + ListDevopsScenarioFieldConfigOutcome listDevopsScenarioFieldConfig(const Model::ListDevopsScenarioFieldConfigRequest &request)const; + void listDevopsScenarioFieldConfigAsync(const Model::ListDevopsScenarioFieldConfigRequest& request, const ListDevopsScenarioFieldConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevopsScenarioFieldConfigOutcomeCallable listDevopsScenarioFieldConfigCallable(const Model::ListDevopsScenarioFieldConfigRequest& request) const; ListPipelinesOutcome listPipelines(const Model::ListPipelinesRequest &request)const; void listPipelinesAsync(const Model::ListPipelinesRequest& request, const ListPipelinesAsyncHandler& handler, const std::shared_ptr& 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& context = nullptr) const; ListServiceConnectionsOutcomeCallable listServiceConnectionsCallable(const Model::ListServiceConnectionsRequest& request) const; + UpdateDevopsProjectOutcome updateDevopsProject(const Model::UpdateDevopsProjectRequest &request)const; + void updateDevopsProjectAsync(const Model::UpdateDevopsProjectRequest& request, const UpdateDevopsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDevopsProjectOutcomeCallable updateDevopsProjectCallable(const Model::UpdateDevopsProjectRequest& request) const; + UpdateDevopsProjectSprintOutcome updateDevopsProjectSprint(const Model::UpdateDevopsProjectSprintRequest &request)const; + void updateDevopsProjectSprintAsync(const Model::UpdateDevopsProjectSprintRequest& request, const UpdateDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDevopsProjectSprintOutcomeCallable updateDevopsProjectSprintCallable(const Model::UpdateDevopsProjectSprintRequest& request) const; + UpdateDevopsProjectTaskOutcome updateDevopsProjectTask(const Model::UpdateDevopsProjectTaskRequest &request)const; + void updateDevopsProjectTaskAsync(const Model::UpdateDevopsProjectTaskRequest& request, const UpdateDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDevopsProjectTaskOutcomeCallable updateDevopsProjectTaskCallable(const Model::UpdateDevopsProjectTaskRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h new file mode 100644 index 000000000..331e70635 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.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_BATCHINSERTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT BatchInsertMembersRequest : public RpcServiceRequest + { + + public: + BatchInsertMembersRequest(); + ~BatchInsertMembersRequest(); + + std::string getMembers()const; + void setMembers(const std::string& members); + std::string getRealPk()const; + void setRealPk(const std::string& realPk); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string members_; + std::string realPk_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.h new file mode 100644 index 000000000..a2940aa5d --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.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_BATCHINSERTMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT BatchInsertMembersResult : public ServiceResult + { + public: + + + BatchInsertMembersResult(); + explicit BatchInsertMembersResult(const std::string &payload); + ~BatchInsertMembersResult(); + 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_BATCHINSERTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h new file mode 100644 index 000000000..0ec817f25 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h @@ -0,0 +1,48 @@ +/* + * 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_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CheckAliyunAccountExistsRequest : public RpcServiceRequest + { + + public: + CheckAliyunAccountExistsRequest(); + ~CheckAliyunAccountExistsRequest(); + + std::string getUserPk()const; + void setUserPk(const std::string& userPk); + + private: + std::string userPk_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsResult.h new file mode 100644 index 000000000..54391cbca --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsResult.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_CHECKALIYUNACCOUNTEXISTSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CheckAliyunAccountExistsResult : public ServiceResult + { + public: + + + CheckAliyunAccountExistsResult(); + explicit CheckAliyunAccountExistsResult(const std::string &payload); + ~CheckAliyunAccountExistsResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h new file mode 100644 index 000000000..524f2ef81 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.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_CREATEDEVOPSORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsOrganizationRequest : public RpcServiceRequest + { + + public: + CreateDevopsOrganizationRequest(); + ~CreateDevopsOrganizationRequest(); + + std::string getOrgName()const; + void setOrgName(const std::string& orgName); + std::string getSource()const; + void setSource(const std::string& source); + std::string getRealPk()const; + void setRealPk(const std::string& realPk); + int getDesiredMemberCount()const; + void setDesiredMemberCount(int desiredMemberCount); + + private: + std::string orgName_; + std::string source_; + std::string realPk_; + int desiredMemberCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationResult.h new file mode 100644 index 000000000..944fa3def --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationResult.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_CREATEDEVOPSORGANIZATIONRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsOrganizationResult : public ServiceResult + { + public: + + + CreateDevopsOrganizationResult(); + explicit CreateDevopsOrganizationResult(const std::string &payload); + ~CreateDevopsOrganizationResult(); + 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_CREATEDEVOPSORGANIZATIONRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h new file mode 100644 index 000000000..4317b4a16 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.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_CREATEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectRequest : public RpcServiceRequest + { + + public: + CreateDevopsProjectRequest(); + ~CreateDevopsProjectRequest(); + + std::string getName()const; + void setName(const std::string& name); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string name_; + std::string description_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectResult.h new file mode 100644 index 000000000..84f5d91c7 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectResult.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_CREATEDEVOPSPROJECTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectResult : public ServiceResult + { + public: + + + CreateDevopsProjectResult(); + explicit CreateDevopsProjectResult(const std::string &payload); + ~CreateDevopsProjectResult(); + 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_CREATEDEVOPSPROJECTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h new file mode 100644 index 000000000..eda252cf0 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectSprintRequest : public RpcServiceRequest + { + + public: + CreateDevopsProjectSprintRequest(); + ~CreateDevopsProjectSprintRequest(); + + std::string getExecutorId()const; + void setExecutorId(const std::string& executorId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getDueDate()const; + void setDueDate(const std::string& dueDate); + std::string getName()const; + void setName(const std::string& name); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + + private: + std::string executorId_; + std::string description_; + std::string startDate_; + std::string orgId_; + std::string dueDate_; + std::string name_; + std::string projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintResult.h new file mode 100644 index 000000000..6365c98b9 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintResult.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_CREATEDEVOPSPROJECTSPRINTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectSprintResult : public ServiceResult + { + public: + struct Object + { + struct PlanToDo + { + int tasks; + int workTimes; + int storyPoints; + }; + std::string status; + bool isDeleted; + std::string description; + std::string accomplished; + std::string updated; + std::string creatorId; + std::string projectId; + std::string created; + std::string name; + std::string startDate; + std::string executor; + PlanToDo planToDo; + std::string id; + std::string dueDate; + }; + + + CreateDevopsProjectSprintResult(); + explicit CreateDevopsProjectSprintResult(const std::string &payload); + ~CreateDevopsProjectSprintResult(); + 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_CREATEDEVOPSPROJECTSPRINTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h new file mode 100644 index 000000000..2bc44060b --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h @@ -0,0 +1,87 @@ +/* + * 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_CREATEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectTaskRequest : public RpcServiceRequest + { + + public: + CreateDevopsProjectTaskRequest(); + ~CreateDevopsProjectTaskRequest(); + + std::string getNote()const; + void setNote(const std::string& note); + std::string getVisible()const; + void setVisible(const std::string& visible); + std::string getExecutorId()const; + void setExecutorId(const std::string& executorId); + std::string getTaskFlowStatusId()const; + void setTaskFlowStatusId(const std::string& taskFlowStatusId); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + int getPriority()const; + void setPriority(int priority); + std::string getParentTaskId()const; + void setParentTaskId(const std::string& parentTaskId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getContent()const; + void setContent(const std::string& content); + std::string getSprintId()const; + void setSprintId(const std::string& sprintId); + std::string getDueDate()const; + void setDueDate(const std::string& dueDate); + std::string getScenarioFieldConfigId()const; + void setScenarioFieldConfigId(const std::string& scenarioFieldConfigId); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + std::string getTaskListId()const; + void setTaskListId(const std::string& taskListId); + + private: + std::string note_; + std::string visible_; + std::string executorId_; + std::string taskFlowStatusId_; + std::string startDate_; + int priority_; + std::string parentTaskId_; + std::string orgId_; + std::string content_; + std::string sprintId_; + std::string dueDate_; + std::string scenarioFieldConfigId_; + std::string projectId_; + std::string taskListId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h new file mode 100644 index 000000000..df9a65257 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateDevopsProjectTaskResult : public ServiceResult + { + public: + struct Object + { + int rating; + std::string sprintId; + std::string organizationId; + std::string tasklistId; + std::string source; + std::string created; + std::string startDate; + std::string executorId; + std::string taskType; + std::string ancestorIds; + std::string visible; + std::string dueDate; + int uniqueId; + std::string updated; + std::string creatorId; + int priority; + std::string projectId; + std::string taskflowstatusId; + bool isDone; + std::string storyPoint; + int pos; + std::string content; + std::string note; + std::string id; + std::string scenarioFieldConfigId; + }; + + + CreateDevopsProjectTaskResult(); + explicit CreateDevopsProjectTaskResult(const std::string &payload); + ~CreateDevopsProjectTaskResult(); + 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_CREATEDEVOPSPROJECTTASKRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h new file mode 100644 index 000000000..5e4b6137d --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.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_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationMembersRequest : public RpcServiceRequest + { + + public: + DeleteDevopsOrganizationMembersRequest(); + ~DeleteDevopsOrganizationMembersRequest(); + + std::string getRealPk()const; + void setRealPk(const std::string& realPk); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string realPk_; + std::string userId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersResult.h new file mode 100644 index 000000000..74bb97739 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersResult.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_DELETEDEVOPSORGANIZATIONMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationMembersResult : public ServiceResult + { + public: + + + DeleteDevopsOrganizationMembersResult(); + explicit DeleteDevopsOrganizationMembersResult(const std::string &payload); + ~DeleteDevopsOrganizationMembersResult(); + 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_DELETEDEVOPSORGANIZATIONMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h new file mode 100644 index 000000000..ad6cf0a87 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.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_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectMembersRequest : public RpcServiceRequest + { + + public: + DeleteDevopsProjectMembersRequest(); + ~DeleteDevopsProjectMembersRequest(); + + std::string getUserIds()const; + void setUserIds(const std::string& userIds); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string userIds_; + std::string projectId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersResult.h new file mode 100644 index 000000000..307a1feaf --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersResult.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_DELETEDEVOPSPROJECTMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectMembersResult : public ServiceResult + { + public: + + + DeleteDevopsProjectMembersResult(); + explicit DeleteDevopsProjectMembersResult(const std::string &payload); + ~DeleteDevopsProjectMembersResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h new file mode 100644 index 000000000..d7369c9d4 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.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_DELETEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectRequest : public RpcServiceRequest + { + + public: + DeleteDevopsProjectRequest(); + ~DeleteDevopsProjectRequest(); + + 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_DELETEDEVOPSPROJECTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectResult.h new file mode 100644 index 000000000..b4c60ea9f --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectResult.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_DELETEDEVOPSPROJECTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectResult : public ServiceResult + { + public: + + + DeleteDevopsProjectResult(); + explicit DeleteDevopsProjectResult(const std::string &payload); + ~DeleteDevopsProjectResult(); + 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_DELETEDEVOPSPROJECTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h new file mode 100644 index 000000000..c2d8a0305 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.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_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectSprintRequest : public RpcServiceRequest + { + + public: + DeleteDevopsProjectSprintRequest(); + ~DeleteDevopsProjectSprintRequest(); + + std::string getSprintId()const; + void setSprintId(const std::string& sprintId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string sprintId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintResult.h new file mode 100644 index 000000000..23b22d675 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintResult.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_DELETEDEVOPSPROJECTSPRINTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectSprintResult : public ServiceResult + { + public: + + + DeleteDevopsProjectSprintResult(); + explicit DeleteDevopsProjectSprintResult(const std::string &payload); + ~DeleteDevopsProjectSprintResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h new file mode 100644 index 000000000..2a45e3df2 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.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_DELETEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectTaskRequest : public RpcServiceRequest + { + + public: + DeleteDevopsProjectTaskRequest(); + ~DeleteDevopsProjectTaskRequest(); + + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + std::string orgId_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskResult.h new file mode 100644 index 000000000..c1822691e --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskResult.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_DELETEDEVOPSPROJECTTASKRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsProjectTaskResult : public ServiceResult + { + public: + + + DeleteDevopsProjectTaskResult(); + explicit DeleteDevopsProjectTaskResult(const std::string &payload); + ~DeleteDevopsProjectTaskResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h new file mode 100644 index 000000000..0fa60ddad --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h @@ -0,0 +1,48 @@ +/* + * 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_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsOrganizationMembersRequest : public RpcServiceRequest + { + + public: + GetDevopsOrganizationMembersRequest(); + ~GetDevopsOrganizationMembersRequest(); + + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h new file mode 100644 index 000000000..a9ae69968 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.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_GETDEVOPSORGANIZATIONMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsOrganizationMembersResult : public ServiceResult + { + public: + struct Member + { + int role; + std::string memberId; + std::string avatarUrl; + std::string email; + std::string userId; + std::string phone; + std::string name; + }; + + + GetDevopsOrganizationMembersResult(); + explicit GetDevopsOrganizationMembersResult(const std::string &payload); + ~GetDevopsOrganizationMembersResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h new file mode 100644 index 000000000..e49b3b088 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.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_GETDEVOPSPROJECTINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectInfoRequest : public RpcServiceRequest + { + + public: + GetDevopsProjectInfoRequest(); + ~GetDevopsProjectInfoRequest(); + + 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_GETDEVOPSPROJECTINFOREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h new file mode 100644 index 000000000..41f82198e --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h @@ -0,0 +1,89 @@ +/* + * 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_GETDEVOPSPROJECTINFORESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectInfoResult : public ServiceResult + { + public: + struct Object + { + std::string sortMethod; + std::string description; + std::string category; + std::string sourceId; + std::string sourceType; + int nextTaskUniqueId; + std::string organizationId; + std::string rootCollectionId; + std::string created; + std::string name; + std::string startDate; + std::string defaultCollectionId; + std::string normalType; + std::string defaultRoleId; + std::string modifierId; + bool isTemplate; + bool isDeleted; + std::string updated; + std::string creatorId; + std::string py; + std::string endDate; + bool isSuspended; + std::string logo; + bool isArchived; + std::string uniqueIdPrefix; + std::string pinyin; + std::string customfields; + std::string visibility; + std::string id; + }; + + + GetDevopsProjectInfoResult(); + explicit GetDevopsProjectInfoResult(const std::string &payload); + ~GetDevopsProjectInfoResult(); + 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_GETDEVOPSPROJECTINFORESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h new file mode 100644 index 000000000..07a9a6678 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.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_GETDEVOPSPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectMembersRequest : public RpcServiceRequest + { + + public: + GetDevopsProjectMembersRequest(); + ~GetDevopsProjectMembersRequest(); + + 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_GETDEVOPSPROJECTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h new file mode 100644 index 000000000..d0af984d5 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.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_GETDEVOPSPROJECTMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectMembersResult : public ServiceResult + { + public: + struct Member + { + int role; + std::string memberId; + std::string avatarUrl; + std::string email; + std::string userId; + std::string phone; + std::string name; + }; + + + GetDevopsProjectMembersResult(); + explicit GetDevopsProjectMembersResult(const std::string &payload); + ~GetDevopsProjectMembersResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h new file mode 100644 index 000000000..ef79790f1 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.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_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectSprintInfoRequest : public RpcServiceRequest + { + + public: + GetDevopsProjectSprintInfoRequest(); + ~GetDevopsProjectSprintInfoRequest(); + + std::string getSprintId()const; + void setSprintId(const std::string& sprintId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string sprintId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h new file mode 100644 index 000000000..67ec4e4e0 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h @@ -0,0 +1,78 @@ +/* + * 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_GETDEVOPSPROJECTSPRINTINFORESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectSprintInfoResult : public ServiceResult + { + public: + struct Object + { + struct PlanToDo + { + int tasks; + int workTimes; + int storyPoints; + }; + std::string startDate; + std::string status; + bool isDeleted; + std::string accomplished; + PlanToDo planToDo; + std::string updated; + std::string creatorId; + std::string projectId; + std::string id; + std::string dueDate; + std::string created; + std::string name; + }; + + + GetDevopsProjectSprintInfoResult(); + explicit GetDevopsProjectSprintInfoResult(const std::string &payload); + ~GetDevopsProjectSprintInfoResult(); + 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_GETDEVOPSPROJECTSPRINTINFORESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h new file mode 100644 index 000000000..a3f4e2e6e --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.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_GETDEVOPSPROJECTTASKINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectTaskInfoRequest : public RpcServiceRequest + { + + public: + GetDevopsProjectTaskInfoRequest(); + ~GetDevopsProjectTaskInfoRequest(); + + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + std::string orgId_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFOREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h new file mode 100644 index 000000000..2d7390063 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h @@ -0,0 +1,82 @@ +/* + * 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_GETDEVOPSPROJECTTASKINFORESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectTaskInfoResult : public ServiceResult + { + public: + struct Object + { + bool isDeleted; + std::string updated; + std::string creatorId; + std::string priority; + std::vector involveMembers; + std::string projectId; + std::string taskflowstatusId; + bool isDone; + std::string sprintId; + std::string storyPoint; + std::string organizationId; + std::string tasklistId; + std::string created; + std::string startDate; + std::string executorId; + bool isTopInProject; + std::string content; + std::string taskType; + std::string note; + std::string visible; + std::string id; + std::string dueDate; + }; + + + GetDevopsProjectTaskInfoResult(); + explicit GetDevopsProjectTaskInfoResult(const std::string &payload); + ~GetDevopsProjectTaskInfoResult(); + 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_GETDEVOPSPROJECTTASKINFORESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h new file mode 100644 index 000000000..f79eed292 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.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_GETUSERBYALIYUNUIDREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetUserByAliyunUidRequest : public RpcServiceRequest + { + + public: + GetUserByAliyunUidRequest(); + ~GetUserByAliyunUidRequest(); + + 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_GETUSERBYALIYUNUIDREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h new file mode 100644 index 000000000..ab3e5e934 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetUserByAliyunUidResult : public ServiceResult + { + public: + struct Object + { + std::string avatarUrl; + std::string email; + std::string aliyunPk; + std::string phone; + std::string id; + std::string name; + }; + + + GetUserByAliyunUidResult(); + explicit GetUserByAliyunUidResult(const std::string &payload); + ~GetUserByAliyunUidResult(); + 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_GETUSERBYALIYUNUIDRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h new file mode 100644 index 000000000..39f38ab83 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.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_INSERTDEVOPSUSERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertDevopsUserRequest : public RpcServiceRequest + { + + public: + InsertDevopsUserRequest(); + ~InsertDevopsUserRequest(); + + std::string getPhone()const; + void setPhone(const std::string& phone); + std::string getUserPk()const; + void setUserPk(const std::string& userPk); + std::string getEmail()const; + void setEmail(const std::string& email); + std::string getUserName()const; + void setUserName(const std::string& userName); + + private: + std::string phone_; + std::string userPk_; + std::string email_; + std::string userName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserResult.h new file mode 100644 index 000000000..1497c1976 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserResult.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_INSERTDEVOPSUSERRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertDevopsUserResult : public ServiceResult + { + public: + + + InsertDevopsUserResult(); + explicit InsertDevopsUserResult(const std::string &payload); + ~InsertDevopsUserResult(); + 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_INSERTDEVOPSUSERRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h new file mode 100644 index 000000000..fd736b181 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.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_INSERTPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertProjectMembersRequest : public RpcServiceRequest + { + + public: + InsertProjectMembersRequest(); + ~InsertProjectMembersRequest(); + + std::string getMembers()const; + void setMembers(const std::string& members); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string members_; + std::string projectId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.h new file mode 100644 index 000000000..7b7673030 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.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_INSERTPROJECTMEMBERSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertProjectMembersResult : public ServiceResult + { + public: + + + InsertProjectMembersResult(); + explicit InsertProjectMembersResult(const std::string &payload); + ~InsertProjectMembersResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h new file mode 100644 index 000000000..e4c6637ad --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.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_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectSprintsRequest : public RpcServiceRequest + { + + public: + ListDevopsProjectSprintsRequest(); + ~ListDevopsProjectSprintsRequest(); + + 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_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h new file mode 100644 index 000000000..bf443a7ac --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h @@ -0,0 +1,78 @@ +/* + * 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_LISTDEVOPSPROJECTSPRINTSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectSprintsResult : public ServiceResult + { + public: + struct Sprint + { + struct PlanToDo + { + int tasks; + int workTimes; + int storyPoints; + }; + std::string startDate; + std::string status; + bool isDeleted; + std::string accomplished; + PlanToDo planToDo; + std::string updated; + std::string creatorId; + std::string projectId; + std::string id; + std::string dueDate; + std::string created; + std::string name; + }; + + + ListDevopsProjectSprintsResult(); + explicit ListDevopsProjectSprintsResult(const std::string &payload); + ~ListDevopsProjectSprintsResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h new file mode 100644 index 000000000..737f80147 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.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_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskFlowRequest : public RpcServiceRequest + { + + public: + ListDevopsProjectTaskFlowRequest(); + ~ListDevopsProjectTaskFlowRequest(); + + 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_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h new file mode 100644 index 000000000..34deffa2f --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h @@ -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_LISTDEVOPSPROJECTTASKFLOWRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskFlowResult : public ServiceResult + { + public: + struct Taskflow + { + std::string type; + std::string id; + }; + + + ListDevopsProjectTaskFlowResult(); + explicit ListDevopsProjectTaskFlowResult(const std::string &payload); + ~ListDevopsProjectTaskFlowResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h new file mode 100644 index 000000000..3cf32dde5 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.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_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskFlowStatusRequest : public RpcServiceRequest + { + + public: + ListDevopsProjectTaskFlowStatusRequest(); + ~ListDevopsProjectTaskFlowStatusRequest(); + + std::string getTaskFlowId()const; + void setTaskFlowId(const std::string& taskFlowId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string taskFlowId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h new file mode 100644 index 000000000..d03a095c1 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.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_LISTDEVOPSPROJECTTASKFLOWSTATUSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskFlowStatusResult : public ServiceResult + { + public: + struct TaskflowStatus + { + bool isDeleted; + std::string rejectStatusIds; + std::string taskflowId; + std::string updated; + int pos; + std::string creatorId; + std::string kind; + std::string id; + std::string created; + std::string name; + }; + + + ListDevopsProjectTaskFlowStatusResult(); + explicit ListDevopsProjectTaskFlowStatusResult(const std::string &payload); + ~ListDevopsProjectTaskFlowStatusResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h new file mode 100644 index 000000000..64554344d --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.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_LISTDEVOPSPROJECTTASKSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTasksRequest : public RpcServiceRequest + { + + public: + ListDevopsProjectTasksRequest(); + ~ListDevopsProjectTasksRequest(); + + std::string getProjectIds()const; + void setProjectIds(const std::string& projectIds); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + + private: + std::string projectIds_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h new file mode 100644 index 000000000..2354a5540 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTasksResult : public ServiceResult + { + public: + struct Task + { + std::string taskgroupId; + std::string updated; + std::string creatorId; + std::string projectId; + std::string id; + std::string tasklistId; + std::string modifierId; + std::string name; + std::string created; + }; + + + ListDevopsProjectTasksResult(); + explicit ListDevopsProjectTasksResult(const std::string &payload); + ~ListDevopsProjectTasksResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h new file mode 100644 index 000000000..8f400060e --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.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_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsScenarioFieldConfigRequest : public RpcServiceRequest + { + + public: + ListDevopsScenarioFieldConfigRequest(); + ~ListDevopsScenarioFieldConfigRequest(); + + 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_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h new file mode 100644 index 000000000..6cf12ffad --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h @@ -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_LISTDEVOPSSCENARIOFIELDCONFIGRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsScenarioFieldConfigResult : public ServiceResult + { + public: + struct ScenarioFieldConfig + { + std::string type; + std::string id; + }; + + + ListDevopsScenarioFieldConfigResult(); + explicit ListDevopsScenarioFieldConfigResult(const std::string &payload); + ~ListDevopsScenarioFieldConfigResult(); + std::string getErrorMsg()const; + std::vector getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::vector object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h new file mode 100644 index 000000000..37d2a3d6f --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.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_UPDATEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectRequest : public RpcServiceRequest + { + + public: + UpdateDevopsProjectRequest(); + ~UpdateDevopsProjectRequest(); + + 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 name_; + std::string description_; + std::string projectId_; + std::string orgId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectResult.h new file mode 100644 index 000000000..fe918a03c --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectResult.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_UPDATEDEVOPSPROJECTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectResult : public ServiceResult + { + public: + + + UpdateDevopsProjectResult(); + explicit UpdateDevopsProjectResult(const std::string &payload); + ~UpdateDevopsProjectResult(); + 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_UPDATEDEVOPSPROJECTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h new file mode 100644 index 000000000..9895a4ad5 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectSprintRequest : public RpcServiceRequest + { + + public: + UpdateDevopsProjectSprintRequest(); + ~UpdateDevopsProjectSprintRequest(); + + std::string getExecutorId()const; + void setExecutorId(const std::string& executorId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getSprintId()const; + void setSprintId(const std::string& sprintId); + std::string getDueDate()const; + void setDueDate(const std::string& dueDate); + std::string getName()const; + void setName(const std::string& name); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + + private: + std::string executorId_; + std::string description_; + std::string startDate_; + std::string orgId_; + std::string sprintId_; + std::string dueDate_; + std::string name_; + std::string projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.h new file mode 100644 index 000000000..cb094dbd8 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.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_UPDATEDEVOPSPROJECTSPRINTRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectSprintResult : public ServiceResult + { + public: + + + UpdateDevopsProjectSprintResult(); + explicit UpdateDevopsProjectSprintResult(const std::string &payload); + ~UpdateDevopsProjectSprintResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h new file mode 100644 index 000000000..7e7f4c9f9 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h @@ -0,0 +1,87 @@ +/* + * 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_UPDATEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectTaskRequest : public RpcServiceRequest + { + + public: + UpdateDevopsProjectTaskRequest(); + ~UpdateDevopsProjectTaskRequest(); + + std::string getNote()const; + void setNote(const std::string& note); + std::string getVisible()const; + void setVisible(const std::string& visible); + std::string getExecutorId()const; + void setExecutorId(const std::string& executorId); + std::string getTaskFlowStatusId()const; + void setTaskFlowStatusId(const std::string& taskFlowStatusId); + std::string getScenarioFiieldConfigId()const; + void setScenarioFiieldConfigId(const std::string& scenarioFiieldConfigId); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + int getPriority()const; + void setPriority(int priority); + std::string getParentTaskId()const; + void setParentTaskId(const std::string& parentTaskId); + std::string getOrgId()const; + void setOrgId(const std::string& orgId); + std::string getContent()const; + void setContent(const std::string& content); + std::string getSprintId()const; + void setSprintId(const std::string& sprintId); + std::string getDueDate()const; + void setDueDate(const std::string& dueDate); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + std::string note_; + std::string visible_; + std::string executorId_; + std::string taskFlowStatusId_; + std::string scenarioFiieldConfigId_; + std::string startDate_; + int priority_; + std::string parentTaskId_; + std::string orgId_; + std::string content_; + std::string sprintId_; + std::string dueDate_; + std::string projectId_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKREQUEST_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.h new file mode 100644 index 000000000..e9c73d099 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.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_UPDATEDEVOPSPROJECTTASKRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateDevopsProjectTaskResult : public ServiceResult + { + public: + + + UpdateDevopsProjectTaskResult(); + explicit UpdateDevopsProjectTaskResult(const std::string &payload); + ~UpdateDevopsProjectTaskResult(); + std::string getErrorMsg()const; + bool getObject()const; + std::string getErrorCode()const; + bool getSuccessful()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool object_; + std::string errorCode_; + bool successful_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/src/Devops-rdcClient.cc b/devops-rdc/src/Devops-rdcClient.cc index 44729664b..0445e3a69 100644 --- a/devops-rdc/src/Devops-rdcClient.cc +++ b/devops-rdc/src/Devops-rdcClient.cc @@ -51,6 +51,42 @@ Devops_rdcClient::Devops_rdcClient(const std::string & accessKeyId, const std::s Devops_rdcClient::~Devops_rdcClient() {} +Devops_rdcClient::BatchInsertMembersOutcome Devops_rdcClient::batchInsertMembers(const BatchInsertMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchInsertMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchInsertMembersOutcome(BatchInsertMembersResult(outcome.result())); + else + return BatchInsertMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::batchInsertMembersAsync(const BatchInsertMembersRequest& request, const BatchInsertMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchInsertMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::BatchInsertMembersOutcomeCallable Devops_rdcClient::batchInsertMembersCallable(const BatchInsertMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchInsertMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::CancelPipelineOutcome Devops_rdcClient::cancelPipeline(const CancelPipelineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -87,6 +123,42 @@ Devops_rdcClient::CancelPipelineOutcomeCallable Devops_rdcClient::cancelPipeline return task->get_future(); } +Devops_rdcClient::CheckAliyunAccountExistsOutcome Devops_rdcClient::checkAliyunAccountExists(const CheckAliyunAccountExistsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckAliyunAccountExistsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckAliyunAccountExistsOutcome(CheckAliyunAccountExistsResult(outcome.result())); + else + return CheckAliyunAccountExistsOutcome(outcome.error()); +} + +void Devops_rdcClient::checkAliyunAccountExistsAsync(const CheckAliyunAccountExistsRequest& request, const CheckAliyunAccountExistsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkAliyunAccountExists(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CheckAliyunAccountExistsOutcomeCallable Devops_rdcClient::checkAliyunAccountExistsCallable(const CheckAliyunAccountExistsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkAliyunAccountExists(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::CreateCredentialOutcome Devops_rdcClient::createCredential(const CreateCredentialRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -123,6 +195,150 @@ Devops_rdcClient::CreateCredentialOutcomeCallable Devops_rdcClient::createCreden return task->get_future(); } +Devops_rdcClient::CreateDevopsOrganizationOutcome Devops_rdcClient::createDevopsOrganization(const CreateDevopsOrganizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDevopsOrganizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDevopsOrganizationOutcome(CreateDevopsOrganizationResult(outcome.result())); + else + return CreateDevopsOrganizationOutcome(outcome.error()); +} + +void Devops_rdcClient::createDevopsOrganizationAsync(const CreateDevopsOrganizationRequest& request, const CreateDevopsOrganizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDevopsOrganization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CreateDevopsOrganizationOutcomeCallable Devops_rdcClient::createDevopsOrganizationCallable(const CreateDevopsOrganizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDevopsOrganization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::CreateDevopsProjectOutcome Devops_rdcClient::createDevopsProject(const CreateDevopsProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDevopsProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDevopsProjectOutcome(CreateDevopsProjectResult(outcome.result())); + else + return CreateDevopsProjectOutcome(outcome.error()); +} + +void Devops_rdcClient::createDevopsProjectAsync(const CreateDevopsProjectRequest& request, const CreateDevopsProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDevopsProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CreateDevopsProjectOutcomeCallable Devops_rdcClient::createDevopsProjectCallable(const CreateDevopsProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDevopsProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::CreateDevopsProjectSprintOutcome Devops_rdcClient::createDevopsProjectSprint(const CreateDevopsProjectSprintRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDevopsProjectSprintOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDevopsProjectSprintOutcome(CreateDevopsProjectSprintResult(outcome.result())); + else + return CreateDevopsProjectSprintOutcome(outcome.error()); +} + +void Devops_rdcClient::createDevopsProjectSprintAsync(const CreateDevopsProjectSprintRequest& request, const CreateDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDevopsProjectSprint(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CreateDevopsProjectSprintOutcomeCallable Devops_rdcClient::createDevopsProjectSprintCallable(const CreateDevopsProjectSprintRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDevopsProjectSprint(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::CreateDevopsProjectTaskOutcome Devops_rdcClient::createDevopsProjectTask(const CreateDevopsProjectTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDevopsProjectTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDevopsProjectTaskOutcome(CreateDevopsProjectTaskResult(outcome.result())); + else + return CreateDevopsProjectTaskOutcome(outcome.error()); +} + +void Devops_rdcClient::createDevopsProjectTaskAsync(const CreateDevopsProjectTaskRequest& request, const CreateDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDevopsProjectTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CreateDevopsProjectTaskOutcomeCallable Devops_rdcClient::createDevopsProjectTaskCallable(const CreateDevopsProjectTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDevopsProjectTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::CreatePipelineOutcome Devops_rdcClient::createPipeline(const CreatePipelineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +411,186 @@ Devops_rdcClient::CreateServiceConnectionOutcomeCallable Devops_rdcClient::creat return task->get_future(); } +Devops_rdcClient::DeleteDevopsOrganizationMembersOutcome Devops_rdcClient::deleteDevopsOrganizationMembers(const DeleteDevopsOrganizationMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevopsOrganizationMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevopsOrganizationMembersOutcome(DeleteDevopsOrganizationMembersResult(outcome.result())); + else + return DeleteDevopsOrganizationMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::deleteDevopsOrganizationMembersAsync(const DeleteDevopsOrganizationMembersRequest& request, const DeleteDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevopsOrganizationMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::DeleteDevopsOrganizationMembersOutcomeCallable Devops_rdcClient::deleteDevopsOrganizationMembersCallable(const DeleteDevopsOrganizationMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevopsOrganizationMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::DeleteDevopsProjectOutcome Devops_rdcClient::deleteDevopsProject(const DeleteDevopsProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevopsProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevopsProjectOutcome(DeleteDevopsProjectResult(outcome.result())); + else + return DeleteDevopsProjectOutcome(outcome.error()); +} + +void Devops_rdcClient::deleteDevopsProjectAsync(const DeleteDevopsProjectRequest& request, const DeleteDevopsProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevopsProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::DeleteDevopsProjectOutcomeCallable Devops_rdcClient::deleteDevopsProjectCallable(const DeleteDevopsProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevopsProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::DeleteDevopsProjectMembersOutcome Devops_rdcClient::deleteDevopsProjectMembers(const DeleteDevopsProjectMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevopsProjectMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevopsProjectMembersOutcome(DeleteDevopsProjectMembersResult(outcome.result())); + else + return DeleteDevopsProjectMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::deleteDevopsProjectMembersAsync(const DeleteDevopsProjectMembersRequest& request, const DeleteDevopsProjectMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevopsProjectMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::DeleteDevopsProjectMembersOutcomeCallable Devops_rdcClient::deleteDevopsProjectMembersCallable(const DeleteDevopsProjectMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevopsProjectMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::DeleteDevopsProjectSprintOutcome Devops_rdcClient::deleteDevopsProjectSprint(const DeleteDevopsProjectSprintRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevopsProjectSprintOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevopsProjectSprintOutcome(DeleteDevopsProjectSprintResult(outcome.result())); + else + return DeleteDevopsProjectSprintOutcome(outcome.error()); +} + +void Devops_rdcClient::deleteDevopsProjectSprintAsync(const DeleteDevopsProjectSprintRequest& request, const DeleteDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevopsProjectSprint(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::DeleteDevopsProjectSprintOutcomeCallable Devops_rdcClient::deleteDevopsProjectSprintCallable(const DeleteDevopsProjectSprintRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevopsProjectSprint(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::DeleteDevopsProjectTaskOutcome Devops_rdcClient::deleteDevopsProjectTask(const DeleteDevopsProjectTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevopsProjectTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevopsProjectTaskOutcome(DeleteDevopsProjectTaskResult(outcome.result())); + else + return DeleteDevopsProjectTaskOutcome(outcome.error()); +} + +void Devops_rdcClient::deleteDevopsProjectTaskAsync(const DeleteDevopsProjectTaskRequest& request, const DeleteDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevopsProjectTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::DeleteDevopsProjectTaskOutcomeCallable Devops_rdcClient::deleteDevopsProjectTaskCallable(const DeleteDevopsProjectTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevopsProjectTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::ExecutePipelineOutcome Devops_rdcClient::executePipeline(const ExecutePipelineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +627,186 @@ Devops_rdcClient::ExecutePipelineOutcomeCallable Devops_rdcClient::executePipeli return task->get_future(); } +Devops_rdcClient::GetDevopsOrganizationMembersOutcome Devops_rdcClient::getDevopsOrganizationMembers(const GetDevopsOrganizationMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDevopsOrganizationMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDevopsOrganizationMembersOutcome(GetDevopsOrganizationMembersResult(outcome.result())); + else + return GetDevopsOrganizationMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::getDevopsOrganizationMembersAsync(const GetDevopsOrganizationMembersRequest& request, const GetDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDevopsOrganizationMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetDevopsOrganizationMembersOutcomeCallable Devops_rdcClient::getDevopsOrganizationMembersCallable(const GetDevopsOrganizationMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDevopsOrganizationMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::GetDevopsProjectInfoOutcome Devops_rdcClient::getDevopsProjectInfo(const GetDevopsProjectInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDevopsProjectInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDevopsProjectInfoOutcome(GetDevopsProjectInfoResult(outcome.result())); + else + return GetDevopsProjectInfoOutcome(outcome.error()); +} + +void Devops_rdcClient::getDevopsProjectInfoAsync(const GetDevopsProjectInfoRequest& request, const GetDevopsProjectInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDevopsProjectInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetDevopsProjectInfoOutcomeCallable Devops_rdcClient::getDevopsProjectInfoCallable(const GetDevopsProjectInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDevopsProjectInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::GetDevopsProjectMembersOutcome Devops_rdcClient::getDevopsProjectMembers(const GetDevopsProjectMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDevopsProjectMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDevopsProjectMembersOutcome(GetDevopsProjectMembersResult(outcome.result())); + else + return GetDevopsProjectMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::getDevopsProjectMembersAsync(const GetDevopsProjectMembersRequest& request, const GetDevopsProjectMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDevopsProjectMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetDevopsProjectMembersOutcomeCallable Devops_rdcClient::getDevopsProjectMembersCallable(const GetDevopsProjectMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDevopsProjectMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::GetDevopsProjectSprintInfoOutcome Devops_rdcClient::getDevopsProjectSprintInfo(const GetDevopsProjectSprintInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDevopsProjectSprintInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDevopsProjectSprintInfoOutcome(GetDevopsProjectSprintInfoResult(outcome.result())); + else + return GetDevopsProjectSprintInfoOutcome(outcome.error()); +} + +void Devops_rdcClient::getDevopsProjectSprintInfoAsync(const GetDevopsProjectSprintInfoRequest& request, const GetDevopsProjectSprintInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDevopsProjectSprintInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetDevopsProjectSprintInfoOutcomeCallable Devops_rdcClient::getDevopsProjectSprintInfoCallable(const GetDevopsProjectSprintInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDevopsProjectSprintInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::GetDevopsProjectTaskInfoOutcome Devops_rdcClient::getDevopsProjectTaskInfo(const GetDevopsProjectTaskInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDevopsProjectTaskInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDevopsProjectTaskInfoOutcome(GetDevopsProjectTaskInfoResult(outcome.result())); + else + return GetDevopsProjectTaskInfoOutcome(outcome.error()); +} + +void Devops_rdcClient::getDevopsProjectTaskInfoAsync(const GetDevopsProjectTaskInfoRequest& request, const GetDevopsProjectTaskInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDevopsProjectTaskInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetDevopsProjectTaskInfoOutcomeCallable Devops_rdcClient::getDevopsProjectTaskInfoCallable(const GetDevopsProjectTaskInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDevopsProjectTaskInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::GetPipelineInstanceBuildNumberStatusOutcome Devops_rdcClient::getPipelineInstanceBuildNumberStatus(const GetPipelineInstanceBuildNumberStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +1023,114 @@ Devops_rdcClient::GetPipleineLatestInstanceStatusOutcomeCallable Devops_rdcClien return task->get_future(); } +Devops_rdcClient::GetUserByAliyunUidOutcome Devops_rdcClient::getUserByAliyunUid(const GetUserByAliyunUidRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetUserByAliyunUidOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetUserByAliyunUidOutcome(GetUserByAliyunUidResult(outcome.result())); + else + return GetUserByAliyunUidOutcome(outcome.error()); +} + +void Devops_rdcClient::getUserByAliyunUidAsync(const GetUserByAliyunUidRequest& request, const GetUserByAliyunUidAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getUserByAliyunUid(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::GetUserByAliyunUidOutcomeCallable Devops_rdcClient::getUserByAliyunUidCallable(const GetUserByAliyunUidRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getUserByAliyunUid(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::InsertDevopsUserOutcome Devops_rdcClient::insertDevopsUser(const InsertDevopsUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertDevopsUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertDevopsUserOutcome(InsertDevopsUserResult(outcome.result())); + else + return InsertDevopsUserOutcome(outcome.error()); +} + +void Devops_rdcClient::insertDevopsUserAsync(const InsertDevopsUserRequest& request, const InsertDevopsUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertDevopsUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::InsertDevopsUserOutcomeCallable Devops_rdcClient::insertDevopsUserCallable(const InsertDevopsUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertDevopsUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::InsertProjectMembersOutcome Devops_rdcClient::insertProjectMembers(const InsertProjectMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertProjectMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertProjectMembersOutcome(InsertProjectMembersResult(outcome.result())); + else + return InsertProjectMembersOutcome(outcome.error()); +} + +void Devops_rdcClient::insertProjectMembersAsync(const InsertProjectMembersRequest& request, const InsertProjectMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertProjectMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::InsertProjectMembersOutcomeCallable Devops_rdcClient::insertProjectMembersCallable(const InsertProjectMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertProjectMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::ListCredentialsOutcome Devops_rdcClient::listCredentials(const ListCredentialsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +1167,186 @@ Devops_rdcClient::ListCredentialsOutcomeCallable Devops_rdcClient::listCredentia return task->get_future(); } +Devops_rdcClient::ListDevopsProjectSprintsOutcome Devops_rdcClient::listDevopsProjectSprints(const ListDevopsProjectSprintsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevopsProjectSprintsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevopsProjectSprintsOutcome(ListDevopsProjectSprintsResult(outcome.result())); + else + return ListDevopsProjectSprintsOutcome(outcome.error()); +} + +void Devops_rdcClient::listDevopsProjectSprintsAsync(const ListDevopsProjectSprintsRequest& request, const ListDevopsProjectSprintsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevopsProjectSprints(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListDevopsProjectSprintsOutcomeCallable Devops_rdcClient::listDevopsProjectSprintsCallable(const ListDevopsProjectSprintsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevopsProjectSprints(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::ListDevopsProjectTaskFlowOutcome Devops_rdcClient::listDevopsProjectTaskFlow(const ListDevopsProjectTaskFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevopsProjectTaskFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevopsProjectTaskFlowOutcome(ListDevopsProjectTaskFlowResult(outcome.result())); + else + return ListDevopsProjectTaskFlowOutcome(outcome.error()); +} + +void Devops_rdcClient::listDevopsProjectTaskFlowAsync(const ListDevopsProjectTaskFlowRequest& request, const ListDevopsProjectTaskFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevopsProjectTaskFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListDevopsProjectTaskFlowOutcomeCallable Devops_rdcClient::listDevopsProjectTaskFlowCallable(const ListDevopsProjectTaskFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevopsProjectTaskFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::ListDevopsProjectTaskFlowStatusOutcome Devops_rdcClient::listDevopsProjectTaskFlowStatus(const ListDevopsProjectTaskFlowStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevopsProjectTaskFlowStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevopsProjectTaskFlowStatusOutcome(ListDevopsProjectTaskFlowStatusResult(outcome.result())); + else + return ListDevopsProjectTaskFlowStatusOutcome(outcome.error()); +} + +void Devops_rdcClient::listDevopsProjectTaskFlowStatusAsync(const ListDevopsProjectTaskFlowStatusRequest& request, const ListDevopsProjectTaskFlowStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevopsProjectTaskFlowStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListDevopsProjectTaskFlowStatusOutcomeCallable Devops_rdcClient::listDevopsProjectTaskFlowStatusCallable(const ListDevopsProjectTaskFlowStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevopsProjectTaskFlowStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::ListDevopsProjectTasksOutcome Devops_rdcClient::listDevopsProjectTasks(const ListDevopsProjectTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevopsProjectTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevopsProjectTasksOutcome(ListDevopsProjectTasksResult(outcome.result())); + else + return ListDevopsProjectTasksOutcome(outcome.error()); +} + +void Devops_rdcClient::listDevopsProjectTasksAsync(const ListDevopsProjectTasksRequest& request, const ListDevopsProjectTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevopsProjectTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListDevopsProjectTasksOutcomeCallable Devops_rdcClient::listDevopsProjectTasksCallable(const ListDevopsProjectTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevopsProjectTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::ListDevopsScenarioFieldConfigOutcome Devops_rdcClient::listDevopsScenarioFieldConfig(const ListDevopsScenarioFieldConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevopsScenarioFieldConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevopsScenarioFieldConfigOutcome(ListDevopsScenarioFieldConfigResult(outcome.result())); + else + return ListDevopsScenarioFieldConfigOutcome(outcome.error()); +} + +void Devops_rdcClient::listDevopsScenarioFieldConfigAsync(const ListDevopsScenarioFieldConfigRequest& request, const ListDevopsScenarioFieldConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevopsScenarioFieldConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListDevopsScenarioFieldConfigOutcomeCallable Devops_rdcClient::listDevopsScenarioFieldConfigCallable(const ListDevopsScenarioFieldConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevopsScenarioFieldConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::ListPipelinesOutcome Devops_rdcClient::listPipelines(const ListPipelinesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,3 +1419,111 @@ Devops_rdcClient::ListServiceConnectionsOutcomeCallable Devops_rdcClient::listSe return task->get_future(); } +Devops_rdcClient::UpdateDevopsProjectOutcome Devops_rdcClient::updateDevopsProject(const UpdateDevopsProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDevopsProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDevopsProjectOutcome(UpdateDevopsProjectResult(outcome.result())); + else + return UpdateDevopsProjectOutcome(outcome.error()); +} + +void Devops_rdcClient::updateDevopsProjectAsync(const UpdateDevopsProjectRequest& request, const UpdateDevopsProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDevopsProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::UpdateDevopsProjectOutcomeCallable Devops_rdcClient::updateDevopsProjectCallable(const UpdateDevopsProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDevopsProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::UpdateDevopsProjectSprintOutcome Devops_rdcClient::updateDevopsProjectSprint(const UpdateDevopsProjectSprintRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDevopsProjectSprintOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDevopsProjectSprintOutcome(UpdateDevopsProjectSprintResult(outcome.result())); + else + return UpdateDevopsProjectSprintOutcome(outcome.error()); +} + +void Devops_rdcClient::updateDevopsProjectSprintAsync(const UpdateDevopsProjectSprintRequest& request, const UpdateDevopsProjectSprintAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDevopsProjectSprint(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::UpdateDevopsProjectSprintOutcomeCallable Devops_rdcClient::updateDevopsProjectSprintCallable(const UpdateDevopsProjectSprintRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDevopsProjectSprint(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Devops_rdcClient::UpdateDevopsProjectTaskOutcome Devops_rdcClient::updateDevopsProjectTask(const UpdateDevopsProjectTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDevopsProjectTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDevopsProjectTaskOutcome(UpdateDevopsProjectTaskResult(outcome.result())); + else + return UpdateDevopsProjectTaskOutcome(outcome.error()); +} + +void Devops_rdcClient::updateDevopsProjectTaskAsync(const UpdateDevopsProjectTaskRequest& request, const UpdateDevopsProjectTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDevopsProjectTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::UpdateDevopsProjectTaskOutcomeCallable Devops_rdcClient::updateDevopsProjectTaskCallable(const UpdateDevopsProjectTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDevopsProjectTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/devops-rdc/src/model/BatchInsertMembersRequest.cc b/devops-rdc/src/model/BatchInsertMembersRequest.cc new file mode 100644 index 000000000..d34870f2f --- /dev/null +++ b/devops-rdc/src/model/BatchInsertMembersRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::BatchInsertMembersRequest; + +BatchInsertMembersRequest::BatchInsertMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "BatchInsertMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchInsertMembersRequest::~BatchInsertMembersRequest() +{} + +std::string BatchInsertMembersRequest::getMembers()const +{ + return members_; +} + +void BatchInsertMembersRequest::setMembers(const std::string& members) +{ + members_ = members; + setBodyParameter("Members", members); +} + +std::string BatchInsertMembersRequest::getRealPk()const +{ + return realPk_; +} + +void BatchInsertMembersRequest::setRealPk(const std::string& realPk) +{ + realPk_ = realPk; + setBodyParameter("RealPk", realPk); +} + +std::string BatchInsertMembersRequest::getOrgId()const +{ + return orgId_; +} + +void BatchInsertMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/BatchInsertMembersResult.cc b/devops-rdc/src/model/BatchInsertMembersResult.cc new file mode 100644 index 000000000..ee77b46c2 --- /dev/null +++ b/devops-rdc/src/model/BatchInsertMembersResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +BatchInsertMembersResult::BatchInsertMembersResult() : + ServiceResult() +{} + +BatchInsertMembersResult::BatchInsertMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchInsertMembersResult::~BatchInsertMembersResult() +{} + +void BatchInsertMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +bool BatchInsertMembersResult::getObject()const +{ + return object_; +} + +std::string BatchInsertMembersResult::getErrorCode()const +{ + return errorCode_; +} + +std::string BatchInsertMembersResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool BatchInsertMembersResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc b/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc new file mode 100644 index 000000000..d5555bfa6 --- /dev/null +++ b/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CheckAliyunAccountExistsRequest; + +CheckAliyunAccountExistsRequest::CheckAliyunAccountExistsRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "CheckAliyunAccountExists") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckAliyunAccountExistsRequest::~CheckAliyunAccountExistsRequest() +{} + +std::string CheckAliyunAccountExistsRequest::getUserPk()const +{ + return userPk_; +} + +void CheckAliyunAccountExistsRequest::setUserPk(const std::string& userPk) +{ + userPk_ = userPk; + setBodyParameter("UserPk", userPk); +} + diff --git a/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc b/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc new file mode 100644 index 000000000..a6183bc9b --- /dev/null +++ b/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CheckAliyunAccountExistsResult::CheckAliyunAccountExistsResult() : + ServiceResult() +{} + +CheckAliyunAccountExistsResult::CheckAliyunAccountExistsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckAliyunAccountExistsResult::~CheckAliyunAccountExistsResult() +{} + +void CheckAliyunAccountExistsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string CheckAliyunAccountExistsResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool CheckAliyunAccountExistsResult::getObject()const +{ + return object_; +} + +std::string CheckAliyunAccountExistsResult::getErrorCode()const +{ + return errorCode_; +} + +bool CheckAliyunAccountExistsResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc b/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc new file mode 100644 index 000000000..d0a870630 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsOrganizationRequest; + +CreateDevopsOrganizationRequest::CreateDevopsOrganizationRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsOrganization") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDevopsOrganizationRequest::~CreateDevopsOrganizationRequest() +{} + +std::string CreateDevopsOrganizationRequest::getOrgName()const +{ + return orgName_; +} + +void CreateDevopsOrganizationRequest::setOrgName(const std::string& orgName) +{ + orgName_ = orgName; + setBodyParameter("OrgName", orgName); +} + +std::string CreateDevopsOrganizationRequest::getSource()const +{ + return source_; +} + +void CreateDevopsOrganizationRequest::setSource(const std::string& source) +{ + source_ = source; + setBodyParameter("Source", source); +} + +std::string CreateDevopsOrganizationRequest::getRealPk()const +{ + return realPk_; +} + +void CreateDevopsOrganizationRequest::setRealPk(const std::string& realPk) +{ + realPk_ = realPk; + setBodyParameter("RealPk", realPk); +} + +int CreateDevopsOrganizationRequest::getDesiredMemberCount()const +{ + return desiredMemberCount_; +} + +void CreateDevopsOrganizationRequest::setDesiredMemberCount(int desiredMemberCount) +{ + desiredMemberCount_ = desiredMemberCount; + setBodyParameter("DesiredMemberCount", std::to_string(desiredMemberCount)); +} + diff --git a/devops-rdc/src/model/CreateDevopsOrganizationResult.cc b/devops-rdc/src/model/CreateDevopsOrganizationResult.cc new file mode 100644 index 000000000..0aef65ad7 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsOrganizationResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CreateDevopsOrganizationResult::CreateDevopsOrganizationResult() : + ServiceResult() +{} + +CreateDevopsOrganizationResult::CreateDevopsOrganizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDevopsOrganizationResult::~CreateDevopsOrganizationResult() +{} + +void CreateDevopsOrganizationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString(); + +} + +std::string CreateDevopsOrganizationResult::getObject()const +{ + return object_; +} + +std::string CreateDevopsOrganizationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateDevopsOrganizationResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateDevopsOrganizationResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectRequest.cc b/devops-rdc/src/model/CreateDevopsProjectRequest.cc new file mode 100644 index 000000000..c89c1f472 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectRequest; + +CreateDevopsProjectRequest::CreateDevopsProjectRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProject") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDevopsProjectRequest::~CreateDevopsProjectRequest() +{} + +std::string CreateDevopsProjectRequest::getName()const +{ + return name_; +} + +void CreateDevopsProjectRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string CreateDevopsProjectRequest::getDescription()const +{ + return description_; +} + +void CreateDevopsProjectRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string CreateDevopsProjectRequest::getOrgId()const +{ + return orgId_; +} + +void CreateDevopsProjectRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectResult.cc b/devops-rdc/src/model/CreateDevopsProjectResult.cc new file mode 100644 index 000000000..7966e6c25 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CreateDevopsProjectResult::CreateDevopsProjectResult() : + ServiceResult() +{} + +CreateDevopsProjectResult::CreateDevopsProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDevopsProjectResult::~CreateDevopsProjectResult() +{} + +void CreateDevopsProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString(); + +} + +std::string CreateDevopsProjectResult::getObject()const +{ + return object_; +} + +std::string CreateDevopsProjectResult::getErrorCode()const +{ + return errorCode_; +} + +std::string CreateDevopsProjectResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool CreateDevopsProjectResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc b/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc new file mode 100644 index 000000000..c5254ecc7 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectSprintRequest; + +CreateDevopsProjectSprintRequest::CreateDevopsProjectSprintRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProjectSprint") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDevopsProjectSprintRequest::~CreateDevopsProjectSprintRequest() +{} + +std::string CreateDevopsProjectSprintRequest::getExecutorId()const +{ + return executorId_; +} + +void CreateDevopsProjectSprintRequest::setExecutorId(const std::string& executorId) +{ + executorId_ = executorId; + setBodyParameter("ExecutorId", executorId); +} + +std::string CreateDevopsProjectSprintRequest::getDescription()const +{ + return description_; +} + +void CreateDevopsProjectSprintRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string CreateDevopsProjectSprintRequest::getStartDate()const +{ + return startDate_; +} + +void CreateDevopsProjectSprintRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +std::string CreateDevopsProjectSprintRequest::getOrgId()const +{ + return orgId_; +} + +void CreateDevopsProjectSprintRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string CreateDevopsProjectSprintRequest::getDueDate()const +{ + return dueDate_; +} + +void CreateDevopsProjectSprintRequest::setDueDate(const std::string& dueDate) +{ + dueDate_ = dueDate; + setBodyParameter("DueDate", dueDate); +} + +std::string CreateDevopsProjectSprintRequest::getName()const +{ + return name_; +} + +void CreateDevopsProjectSprintRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string CreateDevopsProjectSprintRequest::getProjectId()const +{ + return projectId_; +} + +void CreateDevopsProjectSprintRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc b/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc new file mode 100644 index 000000000..ae66f60a9 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CreateDevopsProjectSprintResult::CreateDevopsProjectSprintResult() : + ServiceResult() +{} + +CreateDevopsProjectSprintResult::CreateDevopsProjectSprintResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDevopsProjectSprintResult::~CreateDevopsProjectSprintResult() +{} + +void CreateDevopsProjectSprintResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Description"].isNull()) + object_.description = objectNode["Description"].asString(); + if(!objectNode["Accomplished"].isNull()) + object_.accomplished = objectNode["Accomplished"].asString(); + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; + if(!objectNode["Executor"].isNull()) + object_.executor = objectNode["Executor"].asString(); + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["Status"].isNull()) + object_.status = objectNode["Status"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + auto planToDoNode = objectNode["PlanToDo"]; + if(!planToDoNode["StoryPoints"].isNull()) + object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); + if(!planToDoNode["WorkTimes"].isNull()) + object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["Tasks"].isNull()) + object_.planToDo.tasks = std::stoi(planToDoNode["Tasks"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string CreateDevopsProjectSprintResult::getErrorMsg()const +{ + return errorMsg_; +} + +CreateDevopsProjectSprintResult::Object CreateDevopsProjectSprintResult::getObject()const +{ + return object_; +} + +std::string CreateDevopsProjectSprintResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateDevopsProjectSprintResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc b/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc new file mode 100644 index 000000000..0afa84c95 --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc @@ -0,0 +1,183 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectTaskRequest; + +CreateDevopsProjectTaskRequest::CreateDevopsProjectTaskRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProjectTask") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDevopsProjectTaskRequest::~CreateDevopsProjectTaskRequest() +{} + +std::string CreateDevopsProjectTaskRequest::getNote()const +{ + return note_; +} + +void CreateDevopsProjectTaskRequest::setNote(const std::string& note) +{ + note_ = note; + setBodyParameter("Note", note); +} + +std::string CreateDevopsProjectTaskRequest::getVisible()const +{ + return visible_; +} + +void CreateDevopsProjectTaskRequest::setVisible(const std::string& visible) +{ + visible_ = visible; + setBodyParameter("Visible", visible); +} + +std::string CreateDevopsProjectTaskRequest::getExecutorId()const +{ + return executorId_; +} + +void CreateDevopsProjectTaskRequest::setExecutorId(const std::string& executorId) +{ + executorId_ = executorId; + setBodyParameter("ExecutorId", executorId); +} + +std::string CreateDevopsProjectTaskRequest::getTaskFlowStatusId()const +{ + return taskFlowStatusId_; +} + +void CreateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) +{ + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +} + +std::string CreateDevopsProjectTaskRequest::getStartDate()const +{ + return startDate_; +} + +void CreateDevopsProjectTaskRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +int CreateDevopsProjectTaskRequest::getPriority()const +{ + return priority_; +} + +void CreateDevopsProjectTaskRequest::setPriority(int priority) +{ + priority_ = priority; + setBodyParameter("Priority", std::to_string(priority)); +} + +std::string CreateDevopsProjectTaskRequest::getParentTaskId()const +{ + return parentTaskId_; +} + +void CreateDevopsProjectTaskRequest::setParentTaskId(const std::string& parentTaskId) +{ + parentTaskId_ = parentTaskId; + setBodyParameter("ParentTaskId", parentTaskId); +} + +std::string CreateDevopsProjectTaskRequest::getOrgId()const +{ + return orgId_; +} + +void CreateDevopsProjectTaskRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string CreateDevopsProjectTaskRequest::getContent()const +{ + return content_; +} + +void CreateDevopsProjectTaskRequest::setContent(const std::string& content) +{ + content_ = content; + setBodyParameter("Content", content); +} + +std::string CreateDevopsProjectTaskRequest::getSprintId()const +{ + return sprintId_; +} + +void CreateDevopsProjectTaskRequest::setSprintId(const std::string& sprintId) +{ + sprintId_ = sprintId; + setBodyParameter("SprintId", sprintId); +} + +std::string CreateDevopsProjectTaskRequest::getDueDate()const +{ + return dueDate_; +} + +void CreateDevopsProjectTaskRequest::setDueDate(const std::string& dueDate) +{ + dueDate_ = dueDate; + setBodyParameter("DueDate", dueDate); +} + +std::string CreateDevopsProjectTaskRequest::getScenarioFieldConfigId()const +{ + return scenarioFieldConfigId_; +} + +void CreateDevopsProjectTaskRequest::setScenarioFieldConfigId(const std::string& scenarioFieldConfigId) +{ + scenarioFieldConfigId_ = scenarioFieldConfigId; + setBodyParameter("ScenarioFieldConfigId", scenarioFieldConfigId); +} + +std::string CreateDevopsProjectTaskRequest::getProjectId()const +{ + return projectId_; +} + +void CreateDevopsProjectTaskRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string CreateDevopsProjectTaskRequest::getTaskListId()const +{ + return taskListId_; +} + +void CreateDevopsProjectTaskRequest::setTaskListId(const std::string& taskListId) +{ + taskListId_ = taskListId; + setBodyParameter("TaskListId", taskListId); +} + diff --git a/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc b/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc new file mode 100644 index 000000000..38ecbf47b --- /dev/null +++ b/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CreateDevopsProjectTaskResult::CreateDevopsProjectTaskResult() : + ServiceResult() +{} + +CreateDevopsProjectTaskResult::CreateDevopsProjectTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDevopsProjectTaskResult::~CreateDevopsProjectTaskResult() +{} + +void CreateDevopsProjectTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["Note"].isNull()) + object_.note = objectNode["Note"].asString(); + if(!objectNode["TasklistId"].isNull()) + object_.tasklistId = objectNode["TasklistId"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Rating"].isNull()) + object_.rating = std::stoi(objectNode["Rating"].asString()); + if(!objectNode["Source"].isNull()) + object_.source = objectNode["Source"].asString(); + if(!objectNode["Content"].isNull()) + object_.content = objectNode["Content"].asString(); + if(!objectNode["TaskflowstatusId"].isNull()) + object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); + if(!objectNode["TaskType"].isNull()) + object_.taskType = objectNode["TaskType"].asString(); + if(!objectNode["ScenarioFieldConfigId"].isNull()) + object_.scenarioFieldConfigId = objectNode["ScenarioFieldConfigId"].asString(); + if(!objectNode["Pos"].isNull()) + object_.pos = std::stoi(objectNode["Pos"].asString()); + if(!objectNode["AncestorIds"].isNull()) + object_.ancestorIds = objectNode["AncestorIds"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Visible"].isNull()) + object_.visible = objectNode["Visible"].asString(); + if(!objectNode["ExecutorId"].isNull()) + object_.executorId = objectNode["ExecutorId"].asString(); + if(!objectNode["StoryPoint"].isNull()) + object_.storyPoint = objectNode["StoryPoint"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["Priority"].isNull()) + object_.priority = std::stoi(objectNode["Priority"].asString()); + if(!objectNode["IsDone"].isNull()) + object_.isDone = objectNode["IsDone"].asString() == "true"; + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["UniqueId"].isNull()) + object_.uniqueId = std::stoi(objectNode["UniqueId"].asString()); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["SprintId"].isNull()) + object_.sprintId = objectNode["SprintId"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string CreateDevopsProjectTaskResult::getErrorMsg()const +{ + return errorMsg_; +} + +CreateDevopsProjectTaskResult::Object CreateDevopsProjectTaskResult::getObject()const +{ + return object_; +} + +std::string CreateDevopsProjectTaskResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateDevopsProjectTaskResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc b/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc new file mode 100644 index 000000000..f9020df4b --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsOrganizationMembersRequest; + +DeleteDevopsOrganizationMembersRequest::DeleteDevopsOrganizationMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsOrganizationMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDevopsOrganizationMembersRequest::~DeleteDevopsOrganizationMembersRequest() +{} + +std::string DeleteDevopsOrganizationMembersRequest::getRealPk()const +{ + return realPk_; +} + +void DeleteDevopsOrganizationMembersRequest::setRealPk(const std::string& realPk) +{ + realPk_ = realPk; + setBodyParameter("RealPk", realPk); +} + +std::string DeleteDevopsOrganizationMembersRequest::getUserId()const +{ + return userId_; +} + +void DeleteDevopsOrganizationMembersRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +std::string DeleteDevopsOrganizationMembersRequest::getOrgId()const +{ + return orgId_; +} + +void DeleteDevopsOrganizationMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc b/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc new file mode 100644 index 000000000..a52d7f6c0 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +DeleteDevopsOrganizationMembersResult::DeleteDevopsOrganizationMembersResult() : + ServiceResult() +{} + +DeleteDevopsOrganizationMembersResult::DeleteDevopsOrganizationMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevopsOrganizationMembersResult::~DeleteDevopsOrganizationMembersResult() +{} + +void DeleteDevopsOrganizationMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +bool DeleteDevopsOrganizationMembersResult::getObject()const +{ + return object_; +} + +std::string DeleteDevopsOrganizationMembersResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteDevopsOrganizationMembersResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteDevopsOrganizationMembersResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc new file mode 100644 index 000000000..04619bb4c --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectMembersRequest; + +DeleteDevopsProjectMembersRequest::DeleteDevopsProjectMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDevopsProjectMembersRequest::~DeleteDevopsProjectMembersRequest() +{} + +std::string DeleteDevopsProjectMembersRequest::getUserIds()const +{ + return userIds_; +} + +void DeleteDevopsProjectMembersRequest::setUserIds(const std::string& userIds) +{ + userIds_ = userIds; + setBodyParameter("UserIds", userIds); +} + +std::string DeleteDevopsProjectMembersRequest::getProjectId()const +{ + return projectId_; +} + +void DeleteDevopsProjectMembersRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string DeleteDevopsProjectMembersRequest::getOrgId()const +{ + return orgId_; +} + +void DeleteDevopsProjectMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc b/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc new file mode 100644 index 000000000..083a64a92 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +DeleteDevopsProjectMembersResult::DeleteDevopsProjectMembersResult() : + ServiceResult() +{} + +DeleteDevopsProjectMembersResult::DeleteDevopsProjectMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevopsProjectMembersResult::~DeleteDevopsProjectMembersResult() +{} + +void DeleteDevopsProjectMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string DeleteDevopsProjectMembersResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool DeleteDevopsProjectMembersResult::getObject()const +{ + return object_; +} + +std::string DeleteDevopsProjectMembersResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteDevopsProjectMembersResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectRequest.cc new file mode 100644 index 000000000..50a0c5d62 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectRequest; + +DeleteDevopsProjectRequest::DeleteDevopsProjectRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProject") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDevopsProjectRequest::~DeleteDevopsProjectRequest() +{} + +std::string DeleteDevopsProjectRequest::getProjectId()const +{ + return projectId_; +} + +void DeleteDevopsProjectRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string DeleteDevopsProjectRequest::getOrgId()const +{ + return orgId_; +} + +void DeleteDevopsProjectRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectResult.cc b/devops-rdc/src/model/DeleteDevopsProjectResult.cc new file mode 100644 index 000000000..85da155ed --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +DeleteDevopsProjectResult::DeleteDevopsProjectResult() : + ServiceResult() +{} + +DeleteDevopsProjectResult::DeleteDevopsProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevopsProjectResult::~DeleteDevopsProjectResult() +{} + +void DeleteDevopsProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeleteDevopsProjectResult::getObject()const +{ + return object_; +} + +std::string DeleteDevopsProjectResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteDevopsProjectResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool DeleteDevopsProjectResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc new file mode 100644 index 000000000..c6ba22b7e --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectSprintRequest; + +DeleteDevopsProjectSprintRequest::DeleteDevopsProjectSprintRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectSprint") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDevopsProjectSprintRequest::~DeleteDevopsProjectSprintRequest() +{} + +std::string DeleteDevopsProjectSprintRequest::getSprintId()const +{ + return sprintId_; +} + +void DeleteDevopsProjectSprintRequest::setSprintId(const std::string& sprintId) +{ + sprintId_ = sprintId; + setBodyParameter("SprintId", sprintId); +} + +std::string DeleteDevopsProjectSprintRequest::getOrgId()const +{ + return orgId_; +} + +void DeleteDevopsProjectSprintRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc b/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc new file mode 100644 index 000000000..2fae6c306 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +DeleteDevopsProjectSprintResult::DeleteDevopsProjectSprintResult() : + ServiceResult() +{} + +DeleteDevopsProjectSprintResult::DeleteDevopsProjectSprintResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevopsProjectSprintResult::~DeleteDevopsProjectSprintResult() +{} + +void DeleteDevopsProjectSprintResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string DeleteDevopsProjectSprintResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool DeleteDevopsProjectSprintResult::getObject()const +{ + return object_; +} + +std::string DeleteDevopsProjectSprintResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteDevopsProjectSprintResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc new file mode 100644 index 000000000..90b4a17c3 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectTaskRequest; + +DeleteDevopsProjectTaskRequest::DeleteDevopsProjectTaskRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectTask") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDevopsProjectTaskRequest::~DeleteDevopsProjectTaskRequest() +{} + +std::string DeleteDevopsProjectTaskRequest::getOrgId()const +{ + return orgId_; +} + +void DeleteDevopsProjectTaskRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string DeleteDevopsProjectTaskRequest::getTaskId()const +{ + return taskId_; +} + +void DeleteDevopsProjectTaskRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setBodyParameter("TaskId", taskId); +} + diff --git a/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc b/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc new file mode 100644 index 000000000..e78a45615 --- /dev/null +++ b/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +DeleteDevopsProjectTaskResult::DeleteDevopsProjectTaskResult() : + ServiceResult() +{} + +DeleteDevopsProjectTaskResult::DeleteDevopsProjectTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevopsProjectTaskResult::~DeleteDevopsProjectTaskResult() +{} + +void DeleteDevopsProjectTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string DeleteDevopsProjectTaskResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool DeleteDevopsProjectTaskResult::getObject()const +{ + return object_; +} + +std::string DeleteDevopsProjectTaskResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteDevopsProjectTaskResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc b/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc new file mode 100644 index 000000000..78f75b81a --- /dev/null +++ b/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsOrganizationMembersRequest; + +GetDevopsOrganizationMembersRequest::GetDevopsOrganizationMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsOrganizationMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDevopsOrganizationMembersRequest::~GetDevopsOrganizationMembersRequest() +{} + +std::string GetDevopsOrganizationMembersRequest::getOrgId()const +{ + return orgId_; +} + +void GetDevopsOrganizationMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc b/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc new file mode 100644 index 000000000..c10b226a2 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetDevopsOrganizationMembersResult::GetDevopsOrganizationMembersResult() : + ServiceResult() +{} + +GetDevopsOrganizationMembersResult::GetDevopsOrganizationMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDevopsOrganizationMembersResult::~GetDevopsOrganizationMembersResult() +{} + +void GetDevopsOrganizationMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["member"]; + for (auto valueObjectmember : allObjectNode) + { + Member objectObject; + if(!valueObjectmember["MemberId"].isNull()) + objectObject.memberId = valueObjectmember["MemberId"].asString(); + if(!valueObjectmember["UserId"].isNull()) + objectObject.userId = valueObjectmember["UserId"].asString(); + if(!valueObjectmember["Role"].isNull()) + objectObject.role = std::stoi(valueObjectmember["Role"].asString()); + if(!valueObjectmember["Name"].isNull()) + objectObject.name = valueObjectmember["Name"].asString(); + if(!valueObjectmember["AvatarUrl"].isNull()) + objectObject.avatarUrl = valueObjectmember["AvatarUrl"].asString(); + if(!valueObjectmember["Email"].isNull()) + objectObject.email = valueObjectmember["Email"].asString(); + if(!valueObjectmember["Phone"].isNull()) + objectObject.phone = valueObjectmember["Phone"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetDevopsOrganizationMembersResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector GetDevopsOrganizationMembersResult::getObject()const +{ + return object_; +} + +std::string GetDevopsOrganizationMembersResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDevopsOrganizationMembersResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc new file mode 100644 index 000000000..c1cdafd05 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectInfoRequest; + +GetDevopsProjectInfoRequest::GetDevopsProjectInfoRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDevopsProjectInfoRequest::~GetDevopsProjectInfoRequest() +{} + +std::string GetDevopsProjectInfoRequest::getProjectId()const +{ + return projectId_; +} + +void GetDevopsProjectInfoRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string GetDevopsProjectInfoRequest::getOrgId()const +{ + return orgId_; +} + +void GetDevopsProjectInfoRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/GetDevopsProjectInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectInfoResult.cc new file mode 100644 index 000000000..43fc32553 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectInfoResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetDevopsProjectInfoResult::GetDevopsProjectInfoResult() : + ServiceResult() +{} + +GetDevopsProjectInfoResult::GetDevopsProjectInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDevopsProjectInfoResult::~GetDevopsProjectInfoResult() +{} + +void GetDevopsProjectInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["RootCollectionId"].isNull()) + object_.rootCollectionId = objectNode["RootCollectionId"].asString(); + if(!objectNode["EndDate"].isNull()) + object_.endDate = objectNode["EndDate"].asString(); + if(!objectNode["IsArchived"].isNull()) + object_.isArchived = objectNode["IsArchived"].asString() == "true"; + if(!objectNode["ModifierId"].isNull()) + object_.modifierId = objectNode["ModifierId"].asString(); + if(!objectNode["SourceId"].isNull()) + object_.sourceId = objectNode["SourceId"].asString(); + if(!objectNode["Description"].isNull()) + object_.description = objectNode["Description"].asString(); + if(!objectNode["Py"].isNull()) + object_.py = objectNode["Py"].asString(); + if(!objectNode["DefaultRoleId"].isNull()) + object_.defaultRoleId = objectNode["DefaultRoleId"].asString(); + if(!objectNode["Customfields"].isNull()) + object_.customfields = objectNode["Customfields"].asString(); + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; + if(!objectNode["UniqueIdPrefix"].isNull()) + object_.uniqueIdPrefix = objectNode["UniqueIdPrefix"].asString(); + if(!objectNode["NextTaskUniqueId"].isNull()) + object_.nextTaskUniqueId = std::stoi(objectNode["NextTaskUniqueId"].asString()); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Logo"].isNull()) + object_.logo = objectNode["Logo"].asString(); + if(!objectNode["DefaultCollectionId"].isNull()) + object_.defaultCollectionId = objectNode["DefaultCollectionId"].asString(); + if(!objectNode["IsSuspended"].isNull()) + object_.isSuspended = objectNode["IsSuspended"].asString() == "true"; + if(!objectNode["Visibility"].isNull()) + object_.visibility = objectNode["Visibility"].asString(); + if(!objectNode["NormalType"].isNull()) + object_.normalType = objectNode["NormalType"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["SortMethod"].isNull()) + object_.sortMethod = objectNode["SortMethod"].asString(); + if(!objectNode["Pinyin"].isNull()) + object_.pinyin = objectNode["Pinyin"].asString(); + if(!objectNode["SourceType"].isNull()) + object_.sourceType = objectNode["SourceType"].asString(); + if(!objectNode["IsTemplate"].isNull()) + object_.isTemplate = objectNode["IsTemplate"].asString() == "true"; + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["Category"].isNull()) + object_.category = objectNode["Category"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetDevopsProjectInfoResult::getErrorMsg()const +{ + return errorMsg_; +} + +GetDevopsProjectInfoResult::Object GetDevopsProjectInfoResult::getObject()const +{ + return object_; +} + +std::string GetDevopsProjectInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDevopsProjectInfoResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc b/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc new file mode 100644 index 000000000..94f3af1fd --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectMembersRequest; + +GetDevopsProjectMembersRequest::GetDevopsProjectMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDevopsProjectMembersRequest::~GetDevopsProjectMembersRequest() +{} + +std::string GetDevopsProjectMembersRequest::getProjectId()const +{ + return projectId_; +} + +void GetDevopsProjectMembersRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string GetDevopsProjectMembersRequest::getOrgId()const +{ + return orgId_; +} + +void GetDevopsProjectMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/GetDevopsProjectMembersResult.cc b/devops-rdc/src/model/GetDevopsProjectMembersResult.cc new file mode 100644 index 000000000..364e8c2d4 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectMembersResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetDevopsProjectMembersResult::GetDevopsProjectMembersResult() : + ServiceResult() +{} + +GetDevopsProjectMembersResult::GetDevopsProjectMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDevopsProjectMembersResult::~GetDevopsProjectMembersResult() +{} + +void GetDevopsProjectMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["Member"]; + for (auto valueObjectMember : allObjectNode) + { + Member objectObject; + if(!valueObjectMember["MemberId"].isNull()) + objectObject.memberId = valueObjectMember["MemberId"].asString(); + if(!valueObjectMember["UserId"].isNull()) + objectObject.userId = valueObjectMember["UserId"].asString(); + if(!valueObjectMember["Role"].isNull()) + objectObject.role = std::stoi(valueObjectMember["Role"].asString()); + if(!valueObjectMember["Name"].isNull()) + objectObject.name = valueObjectMember["Name"].asString(); + if(!valueObjectMember["AvatarUrl"].isNull()) + objectObject.avatarUrl = valueObjectMember["AvatarUrl"].asString(); + if(!valueObjectMember["Email"].isNull()) + objectObject.email = valueObjectMember["Email"].asString(); + if(!valueObjectMember["Phone"].isNull()) + objectObject.phone = valueObjectMember["Phone"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetDevopsProjectMembersResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector GetDevopsProjectMembersResult::getObject()const +{ + return object_; +} + +std::string GetDevopsProjectMembersResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDevopsProjectMembersResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc new file mode 100644 index 000000000..d661b4b77 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectSprintInfoRequest; + +GetDevopsProjectSprintInfoRequest::GetDevopsProjectSprintInfoRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectSprintInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDevopsProjectSprintInfoRequest::~GetDevopsProjectSprintInfoRequest() +{} + +std::string GetDevopsProjectSprintInfoRequest::getSprintId()const +{ + return sprintId_; +} + +void GetDevopsProjectSprintInfoRequest::setSprintId(const std::string& sprintId) +{ + sprintId_ = sprintId; + setBodyParameter("SprintId", sprintId); +} + +std::string GetDevopsProjectSprintInfoRequest::getOrgId()const +{ + return orgId_; +} + +void GetDevopsProjectSprintInfoRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc new file mode 100644 index 000000000..52268ab79 --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetDevopsProjectSprintInfoResult::GetDevopsProjectSprintInfoResult() : + ServiceResult() +{} + +GetDevopsProjectSprintInfoResult::GetDevopsProjectSprintInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDevopsProjectSprintInfoResult::~GetDevopsProjectSprintInfoResult() +{} + +void GetDevopsProjectSprintInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["Accomplished"].isNull()) + object_.accomplished = objectNode["Accomplished"].asString(); + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["Status"].isNull()) + object_.status = objectNode["Status"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + auto planToDoNode = objectNode["PlanToDo"]; + if(!planToDoNode["StoryPoints"].isNull()) + object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); + if(!planToDoNode["WorkTimes"].isNull()) + object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["Tasks"].isNull()) + object_.planToDo.tasks = std::stoi(planToDoNode["Tasks"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetDevopsProjectSprintInfoResult::getErrorMsg()const +{ + return errorMsg_; +} + +GetDevopsProjectSprintInfoResult::Object GetDevopsProjectSprintInfoResult::getObject()const +{ + return object_; +} + +std::string GetDevopsProjectSprintInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDevopsProjectSprintInfoResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc new file mode 100644 index 000000000..d7db138bf --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectTaskInfoRequest; + +GetDevopsProjectTaskInfoRequest::GetDevopsProjectTaskInfoRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectTaskInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDevopsProjectTaskInfoRequest::~GetDevopsProjectTaskInfoRequest() +{} + +std::string GetDevopsProjectTaskInfoRequest::getOrgId()const +{ + return orgId_; +} + +void GetDevopsProjectTaskInfoRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string GetDevopsProjectTaskInfoRequest::getTaskId()const +{ + return taskId_; +} + +void GetDevopsProjectTaskInfoRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setBodyParameter("TaskId", taskId); +} + diff --git a/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc new file mode 100644 index 000000000..624ccbcaa --- /dev/null +++ b/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc @@ -0,0 +1,116 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetDevopsProjectTaskInfoResult::GetDevopsProjectTaskInfoResult() : + ServiceResult() +{} + +GetDevopsProjectTaskInfoResult::GetDevopsProjectTaskInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDevopsProjectTaskInfoResult::~GetDevopsProjectTaskInfoResult() +{} + +void GetDevopsProjectTaskInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["TasklistId"].isNull()) + object_.tasklistId = objectNode["TasklistId"].asString(); + if(!objectNode["TaskflowstatusId"].isNull()) + object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); + if(!objectNode["TaskType"].isNull()) + object_.taskType = objectNode["TaskType"].asString(); + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["IsTopInProject"].isNull()) + object_.isTopInProject = objectNode["IsTopInProject"].asString() == "true"; + if(!objectNode["ExecutorId"].isNull()) + object_.executorId = objectNode["ExecutorId"].asString(); + if(!objectNode["StoryPoint"].isNull()) + object_.storyPoint = objectNode["StoryPoint"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["IsDone"].isNull()) + object_.isDone = objectNode["IsDone"].asString() == "true"; + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["SprintId"].isNull()) + object_.sprintId = objectNode["SprintId"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + if(!objectNode["Content"].isNull()) + object_.content = objectNode["Content"].asString(); + if(!objectNode["Note"].isNull()) + object_.note = objectNode["Note"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["Visible"].isNull()) + object_.visible = objectNode["Visible"].asString(); + if(!objectNode["Priority"].isNull()) + object_.priority = objectNode["Priority"].asString(); + auto allInvolveMembers = objectNode["InvolveMembers"]["InvolveMember"]; + for (auto value : allInvolveMembers) + object_.involveMembers.push_back(value.asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetDevopsProjectTaskInfoResult::getErrorMsg()const +{ + return errorMsg_; +} + +GetDevopsProjectTaskInfoResult::Object GetDevopsProjectTaskInfoResult::getObject()const +{ + return object_; +} + +std::string GetDevopsProjectTaskInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDevopsProjectTaskInfoResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/GetUserByAliyunUidRequest.cc b/devops-rdc/src/model/GetUserByAliyunUidRequest.cc new file mode 100644 index 000000000..d02491b46 --- /dev/null +++ b/devops-rdc/src/model/GetUserByAliyunUidRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetUserByAliyunUidRequest; + +GetUserByAliyunUidRequest::GetUserByAliyunUidRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "GetUserByAliyunUid") +{ + setMethod(HttpRequest::Method::Post); +} + +GetUserByAliyunUidRequest::~GetUserByAliyunUidRequest() +{} + +std::string GetUserByAliyunUidRequest::getUserPk()const +{ + return userPk_; +} + +void GetUserByAliyunUidRequest::setUserPk(const std::string& userPk) +{ + userPk_ = userPk; + setBodyParameter("UserPk", userPk); +} + +std::string GetUserByAliyunUidRequest::getOrgId()const +{ + return orgId_; +} + +void GetUserByAliyunUidRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/GetUserByAliyunUidResult.cc b/devops-rdc/src/model/GetUserByAliyunUidResult.cc new file mode 100644 index 000000000..07f222e2a --- /dev/null +++ b/devops-rdc/src/model/GetUserByAliyunUidResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +GetUserByAliyunUidResult::GetUserByAliyunUidResult() : + ServiceResult() +{} + +GetUserByAliyunUidResult::GetUserByAliyunUidResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetUserByAliyunUidResult::~GetUserByAliyunUidResult() +{} + +void GetUserByAliyunUidResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto objectNode = value["Object"]; + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!objectNode["AliyunPk"].isNull()) + object_.aliyunPk = objectNode["AliyunPk"].asString(); + if(!objectNode["AvatarUrl"].isNull()) + object_.avatarUrl = objectNode["AvatarUrl"].asString(); + if(!objectNode["Email"].isNull()) + object_.email = objectNode["Email"].asString(); + if(!objectNode["Phone"].isNull()) + object_.phone = objectNode["Phone"].asString(); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string GetUserByAliyunUidResult::getErrorMsg()const +{ + return errorMsg_; +} + +GetUserByAliyunUidResult::Object GetUserByAliyunUidResult::getObject()const +{ + return object_; +} + +std::string GetUserByAliyunUidResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetUserByAliyunUidResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/InsertDevopsUserRequest.cc b/devops-rdc/src/model/InsertDevopsUserRequest.cc new file mode 100644 index 000000000..43eb6ec14 --- /dev/null +++ b/devops-rdc/src/model/InsertDevopsUserRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::InsertDevopsUserRequest; + +InsertDevopsUserRequest::InsertDevopsUserRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "InsertDevopsUser") +{ + setMethod(HttpRequest::Method::Post); +} + +InsertDevopsUserRequest::~InsertDevopsUserRequest() +{} + +std::string InsertDevopsUserRequest::getPhone()const +{ + return phone_; +} + +void InsertDevopsUserRequest::setPhone(const std::string& phone) +{ + phone_ = phone; + setBodyParameter("Phone", phone); +} + +std::string InsertDevopsUserRequest::getUserPk()const +{ + return userPk_; +} + +void InsertDevopsUserRequest::setUserPk(const std::string& userPk) +{ + userPk_ = userPk; + setBodyParameter("UserPk", userPk); +} + +std::string InsertDevopsUserRequest::getEmail()const +{ + return email_; +} + +void InsertDevopsUserRequest::setEmail(const std::string& email) +{ + email_ = email; + setBodyParameter("Email", email); +} + +std::string InsertDevopsUserRequest::getUserName()const +{ + return userName_; +} + +void InsertDevopsUserRequest::setUserName(const std::string& userName) +{ + userName_ = userName; + setBodyParameter("UserName", userName); +} + diff --git a/devops-rdc/src/model/InsertDevopsUserResult.cc b/devops-rdc/src/model/InsertDevopsUserResult.cc new file mode 100644 index 000000000..34b2f1213 --- /dev/null +++ b/devops-rdc/src/model/InsertDevopsUserResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +InsertDevopsUserResult::InsertDevopsUserResult() : + ServiceResult() +{} + +InsertDevopsUserResult::InsertDevopsUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertDevopsUserResult::~InsertDevopsUserResult() +{} + +void InsertDevopsUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString(); + +} + +std::string InsertDevopsUserResult::getObject()const +{ + return object_; +} + +std::string InsertDevopsUserResult::getErrorCode()const +{ + return errorCode_; +} + +std::string InsertDevopsUserResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool InsertDevopsUserResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/InsertProjectMembersRequest.cc b/devops-rdc/src/model/InsertProjectMembersRequest.cc new file mode 100644 index 000000000..84bdaa6bc --- /dev/null +++ b/devops-rdc/src/model/InsertProjectMembersRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::InsertProjectMembersRequest; + +InsertProjectMembersRequest::InsertProjectMembersRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "InsertProjectMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +InsertProjectMembersRequest::~InsertProjectMembersRequest() +{} + +std::string InsertProjectMembersRequest::getMembers()const +{ + return members_; +} + +void InsertProjectMembersRequest::setMembers(const std::string& members) +{ + members_ = members; + setBodyParameter("Members", members); +} + +std::string InsertProjectMembersRequest::getProjectId()const +{ + return projectId_; +} + +void InsertProjectMembersRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string InsertProjectMembersRequest::getOrgId()const +{ + return orgId_; +} + +void InsertProjectMembersRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/InsertProjectMembersResult.cc b/devops-rdc/src/model/InsertProjectMembersResult.cc new file mode 100644 index 000000000..72acca6f6 --- /dev/null +++ b/devops-rdc/src/model/InsertProjectMembersResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +InsertProjectMembersResult::InsertProjectMembersResult() : + ServiceResult() +{} + +InsertProjectMembersResult::InsertProjectMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertProjectMembersResult::~InsertProjectMembersResult() +{} + +void InsertProjectMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string InsertProjectMembersResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool InsertProjectMembersResult::getObject()const +{ + return object_; +} + +std::string InsertProjectMembersResult::getErrorCode()const +{ + return errorCode_; +} + +bool InsertProjectMembersResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc b/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc new file mode 100644 index 000000000..c670f2866 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectSprintsRequest; + +ListDevopsProjectSprintsRequest::ListDevopsProjectSprintsRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectSprints") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevopsProjectSprintsRequest::~ListDevopsProjectSprintsRequest() +{} + +std::string ListDevopsProjectSprintsRequest::getProjectId()const +{ + return projectId_; +} + +void ListDevopsProjectSprintsRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string ListDevopsProjectSprintsRequest::getOrgId()const +{ + return orgId_; +} + +void ListDevopsProjectSprintsRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc b/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc new file mode 100644 index 000000000..0d1d78457 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListDevopsProjectSprintsResult::ListDevopsProjectSprintsResult() : + ServiceResult() +{} + +ListDevopsProjectSprintsResult::ListDevopsProjectSprintsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevopsProjectSprintsResult::~ListDevopsProjectSprintsResult() +{} + +void ListDevopsProjectSprintsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["Sprint"]; + for (auto valueObjectSprint : allObjectNode) + { + Sprint objectObject; + if(!valueObjectSprint["Accomplished"].isNull()) + objectObject.accomplished = valueObjectSprint["Accomplished"].asString(); + if(!valueObjectSprint["IsDeleted"].isNull()) + objectObject.isDeleted = valueObjectSprint["IsDeleted"].asString() == "true"; + if(!valueObjectSprint["Created"].isNull()) + objectObject.created = valueObjectSprint["Created"].asString(); + if(!valueObjectSprint["DueDate"].isNull()) + objectObject.dueDate = valueObjectSprint["DueDate"].asString(); + if(!valueObjectSprint["Name"].isNull()) + objectObject.name = valueObjectSprint["Name"].asString(); + if(!valueObjectSprint["CreatorId"].isNull()) + objectObject.creatorId = valueObjectSprint["CreatorId"].asString(); + if(!valueObjectSprint["Id"].isNull()) + objectObject.id = valueObjectSprint["Id"].asString(); + if(!valueObjectSprint["Updated"].isNull()) + objectObject.updated = valueObjectSprint["Updated"].asString(); + if(!valueObjectSprint["StartDate"].isNull()) + objectObject.startDate = valueObjectSprint["StartDate"].asString(); + if(!valueObjectSprint["Status"].isNull()) + objectObject.status = valueObjectSprint["Status"].asString(); + if(!valueObjectSprint["ProjectId"].isNull()) + objectObject.projectId = valueObjectSprint["ProjectId"].asString(); + auto planToDoNode = value["PlanToDo"]; + if(!planToDoNode["StoryPoints"].isNull()) + objectObject.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); + if(!planToDoNode["WorkTimes"].isNull()) + objectObject.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["Tasks"].isNull()) + objectObject.planToDo.tasks = std::stoi(planToDoNode["Tasks"].asString()); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string ListDevopsProjectSprintsResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListDevopsProjectSprintsResult::getObject()const +{ + return object_; +} + +std::string ListDevopsProjectSprintsResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevopsProjectSprintsResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc new file mode 100644 index 000000000..54a99e56b --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskFlowRequest; + +ListDevopsProjectTaskFlowRequest::ListDevopsProjectTaskFlowRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskFlow") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevopsProjectTaskFlowRequest::~ListDevopsProjectTaskFlowRequest() +{} + +std::string ListDevopsProjectTaskFlowRequest::getProjectId()const +{ + return projectId_; +} + +void ListDevopsProjectTaskFlowRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string ListDevopsProjectTaskFlowRequest::getOrgId()const +{ + return orgId_; +} + +void ListDevopsProjectTaskFlowRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc new file mode 100644 index 000000000..5038e1419 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListDevopsProjectTaskFlowResult::ListDevopsProjectTaskFlowResult() : + ServiceResult() +{} + +ListDevopsProjectTaskFlowResult::ListDevopsProjectTaskFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevopsProjectTaskFlowResult::~ListDevopsProjectTaskFlowResult() +{} + +void ListDevopsProjectTaskFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["Taskflow"]; + for (auto valueObjectTaskflow : allObjectNode) + { + Taskflow objectObject; + if(!valueObjectTaskflow["Id"].isNull()) + objectObject.id = valueObjectTaskflow["Id"].asString(); + if(!valueObjectTaskflow["Type"].isNull()) + objectObject.type = valueObjectTaskflow["Type"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string ListDevopsProjectTaskFlowResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListDevopsProjectTaskFlowResult::getObject()const +{ + return object_; +} + +std::string ListDevopsProjectTaskFlowResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevopsProjectTaskFlowResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc new file mode 100644 index 000000000..7aff87c23 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskFlowStatusRequest; + +ListDevopsProjectTaskFlowStatusRequest::ListDevopsProjectTaskFlowStatusRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskFlowStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevopsProjectTaskFlowStatusRequest::~ListDevopsProjectTaskFlowStatusRequest() +{} + +std::string ListDevopsProjectTaskFlowStatusRequest::getTaskFlowId()const +{ + return taskFlowId_; +} + +void ListDevopsProjectTaskFlowStatusRequest::setTaskFlowId(const std::string& taskFlowId) +{ + taskFlowId_ = taskFlowId; + setBodyParameter("TaskFlowId", taskFlowId); +} + +std::string ListDevopsProjectTaskFlowStatusRequest::getOrgId()const +{ + return orgId_; +} + +void ListDevopsProjectTaskFlowStatusRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc new file mode 100644 index 000000000..7198207d4 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListDevopsProjectTaskFlowStatusResult::ListDevopsProjectTaskFlowStatusResult() : + ServiceResult() +{} + +ListDevopsProjectTaskFlowStatusResult::ListDevopsProjectTaskFlowStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevopsProjectTaskFlowStatusResult::~ListDevopsProjectTaskFlowStatusResult() +{} + +void ListDevopsProjectTaskFlowStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["taskflowStatus"]; + for (auto valueObjecttaskflowStatus : allObjectNode) + { + TaskflowStatus objectObject; + if(!valueObjecttaskflowStatus["IsDeleted"].isNull()) + objectObject.isDeleted = valueObjecttaskflowStatus["IsDeleted"].asString() == "true"; + if(!valueObjecttaskflowStatus["RejectStatusIds"].isNull()) + objectObject.rejectStatusIds = valueObjecttaskflowStatus["RejectStatusIds"].asString(); + if(!valueObjecttaskflowStatus["Pos"].isNull()) + objectObject.pos = std::stoi(valueObjecttaskflowStatus["Pos"].asString()); + if(!valueObjecttaskflowStatus["Kind"].isNull()) + objectObject.kind = valueObjecttaskflowStatus["Kind"].asString(); + if(!valueObjecttaskflowStatus["Created"].isNull()) + objectObject.created = valueObjecttaskflowStatus["Created"].asString(); + if(!valueObjecttaskflowStatus["TaskflowId"].isNull()) + objectObject.taskflowId = valueObjecttaskflowStatus["TaskflowId"].asString(); + if(!valueObjecttaskflowStatus["Name"].isNull()) + objectObject.name = valueObjecttaskflowStatus["Name"].asString(); + if(!valueObjecttaskflowStatus["CreatorId"].isNull()) + objectObject.creatorId = valueObjecttaskflowStatus["CreatorId"].asString(); + if(!valueObjecttaskflowStatus["Id"].isNull()) + objectObject.id = valueObjecttaskflowStatus["Id"].asString(); + if(!valueObjecttaskflowStatus["Updated"].isNull()) + objectObject.updated = valueObjecttaskflowStatus["Updated"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string ListDevopsProjectTaskFlowStatusResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListDevopsProjectTaskFlowStatusResult::getObject()const +{ + return object_; +} + +std::string ListDevopsProjectTaskFlowStatusResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevopsProjectTaskFlowStatusResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc b/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc new file mode 100644 index 000000000..ffc9185e2 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTasksRequest; + +ListDevopsProjectTasksRequest::ListDevopsProjectTasksRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevopsProjectTasksRequest::~ListDevopsProjectTasksRequest() +{} + +std::string ListDevopsProjectTasksRequest::getProjectIds()const +{ + return projectIds_; +} + +void ListDevopsProjectTasksRequest::setProjectIds(const std::string& projectIds) +{ + projectIds_ = projectIds; + setBodyParameter("ProjectIds", projectIds); +} + +std::string ListDevopsProjectTasksRequest::getOrgId()const +{ + return orgId_; +} + +void ListDevopsProjectTasksRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/ListDevopsProjectTasksResult.cc b/devops-rdc/src/model/ListDevopsProjectTasksResult.cc new file mode 100644 index 000000000..17adf0946 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsProjectTasksResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListDevopsProjectTasksResult::ListDevopsProjectTasksResult() : + ServiceResult() +{} + +ListDevopsProjectTasksResult::ListDevopsProjectTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevopsProjectTasksResult::~ListDevopsProjectTasksResult() +{} + +void ListDevopsProjectTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["Task"]; + for (auto valueObjectTask : allObjectNode) + { + Task objectObject; + if(!valueObjectTask["TasklistId"].isNull()) + objectObject.tasklistId = valueObjectTask["TasklistId"].asString(); + if(!valueObjectTask["ProjectId"].isNull()) + objectObject.projectId = valueObjectTask["ProjectId"].asString(); + if(!valueObjectTask["TaskgroupId"].isNull()) + objectObject.taskgroupId = valueObjectTask["TaskgroupId"].asString(); + if(!valueObjectTask["Name"].isNull()) + objectObject.name = valueObjectTask["Name"].asString(); + if(!valueObjectTask["CreatorId"].isNull()) + objectObject.creatorId = valueObjectTask["CreatorId"].asString(); + if(!valueObjectTask["Created"].isNull()) + objectObject.created = valueObjectTask["Created"].asString(); + if(!valueObjectTask["ModifierId"].isNull()) + objectObject.modifierId = valueObjectTask["ModifierId"].asString(); + if(!valueObjectTask["Updated"].isNull()) + objectObject.updated = valueObjectTask["Updated"].asString(); + if(!valueObjectTask["Id"].isNull()) + objectObject.id = valueObjectTask["Id"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string ListDevopsProjectTasksResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListDevopsProjectTasksResult::getObject()const +{ + return object_; +} + +std::string ListDevopsProjectTasksResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevopsProjectTasksResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc b/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc new file mode 100644 index 000000000..35c08c77f --- /dev/null +++ b/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsScenarioFieldConfigRequest; + +ListDevopsScenarioFieldConfigRequest::ListDevopsScenarioFieldConfigRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsScenarioFieldConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevopsScenarioFieldConfigRequest::~ListDevopsScenarioFieldConfigRequest() +{} + +std::string ListDevopsScenarioFieldConfigRequest::getProjectId()const +{ + return projectId_; +} + +void ListDevopsScenarioFieldConfigRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string ListDevopsScenarioFieldConfigRequest::getOrgId()const +{ + return orgId_; +} + +void ListDevopsScenarioFieldConfigRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc b/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc new file mode 100644 index 000000000..85ea6c155 --- /dev/null +++ b/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListDevopsScenarioFieldConfigResult::ListDevopsScenarioFieldConfigResult() : + ServiceResult() +{} + +ListDevopsScenarioFieldConfigResult::ListDevopsScenarioFieldConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevopsScenarioFieldConfigResult::~ListDevopsScenarioFieldConfigResult() +{} + +void ListDevopsScenarioFieldConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allObjectNode = value["Object"]["ScenarioFieldConfig"]; + for (auto valueObjectScenarioFieldConfig : allObjectNode) + { + ScenarioFieldConfig objectObject; + if(!valueObjectScenarioFieldConfig["Id"].isNull()) + objectObject.id = valueObjectScenarioFieldConfig["Id"].asString(); + if(!valueObjectScenarioFieldConfig["Type"].isNull()) + objectObject.type = valueObjectScenarioFieldConfig["Type"].asString(); + object_.push_back(objectObject); + } + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string ListDevopsScenarioFieldConfigResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListDevopsScenarioFieldConfigResult::getObject()const +{ + return object_; +} + +std::string ListDevopsScenarioFieldConfigResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevopsScenarioFieldConfigResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectRequest.cc new file mode 100644 index 000000000..4abe72fe2 --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectRequest; + +UpdateDevopsProjectRequest::UpdateDevopsProjectRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProject") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDevopsProjectRequest::~UpdateDevopsProjectRequest() +{} + +std::string UpdateDevopsProjectRequest::getName()const +{ + return name_; +} + +void UpdateDevopsProjectRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string UpdateDevopsProjectRequest::getDescription()const +{ + return description_; +} + +void UpdateDevopsProjectRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string UpdateDevopsProjectRequest::getProjectId()const +{ + return projectId_; +} + +void UpdateDevopsProjectRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string UpdateDevopsProjectRequest::getOrgId()const +{ + return orgId_; +} + +void UpdateDevopsProjectRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectResult.cc b/devops-rdc/src/model/UpdateDevopsProjectResult.cc new file mode 100644 index 000000000..d82a0e285 --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +UpdateDevopsProjectResult::UpdateDevopsProjectResult() : + ServiceResult() +{} + +UpdateDevopsProjectResult::UpdateDevopsProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDevopsProjectResult::~UpdateDevopsProjectResult() +{} + +void UpdateDevopsProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Object"].isNull()) + object_ = value["Object"].asString(); + +} + +std::string UpdateDevopsProjectResult::getObject()const +{ + return object_; +} + +std::string UpdateDevopsProjectResult::getErrorCode()const +{ + return errorCode_; +} + +std::string UpdateDevopsProjectResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool UpdateDevopsProjectResult::getSuccess()const +{ + return success_; +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc new file mode 100644 index 000000000..c097041b2 --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectSprintRequest; + +UpdateDevopsProjectSprintRequest::UpdateDevopsProjectSprintRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProjectSprint") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDevopsProjectSprintRequest::~UpdateDevopsProjectSprintRequest() +{} + +std::string UpdateDevopsProjectSprintRequest::getExecutorId()const +{ + return executorId_; +} + +void UpdateDevopsProjectSprintRequest::setExecutorId(const std::string& executorId) +{ + executorId_ = executorId; + setBodyParameter("ExecutorId", executorId); +} + +std::string UpdateDevopsProjectSprintRequest::getDescription()const +{ + return description_; +} + +void UpdateDevopsProjectSprintRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string UpdateDevopsProjectSprintRequest::getStartDate()const +{ + return startDate_; +} + +void UpdateDevopsProjectSprintRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +std::string UpdateDevopsProjectSprintRequest::getOrgId()const +{ + return orgId_; +} + +void UpdateDevopsProjectSprintRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string UpdateDevopsProjectSprintRequest::getSprintId()const +{ + return sprintId_; +} + +void UpdateDevopsProjectSprintRequest::setSprintId(const std::string& sprintId) +{ + sprintId_ = sprintId; + setBodyParameter("SprintId", sprintId); +} + +std::string UpdateDevopsProjectSprintRequest::getDueDate()const +{ + return dueDate_; +} + +void UpdateDevopsProjectSprintRequest::setDueDate(const std::string& dueDate) +{ + dueDate_ = dueDate; + setBodyParameter("DueDate", dueDate); +} + +std::string UpdateDevopsProjectSprintRequest::getName()const +{ + return name_; +} + +void UpdateDevopsProjectSprintRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string UpdateDevopsProjectSprintRequest::getProjectId()const +{ + return projectId_; +} + +void UpdateDevopsProjectSprintRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc b/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc new file mode 100644 index 000000000..d08cbc28f --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +UpdateDevopsProjectSprintResult::UpdateDevopsProjectSprintResult() : + ServiceResult() +{} + +UpdateDevopsProjectSprintResult::UpdateDevopsProjectSprintResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDevopsProjectSprintResult::~UpdateDevopsProjectSprintResult() +{} + +void UpdateDevopsProjectSprintResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string UpdateDevopsProjectSprintResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool UpdateDevopsProjectSprintResult::getObject()const +{ + return object_; +} + +std::string UpdateDevopsProjectSprintResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateDevopsProjectSprintResult::getSuccessful()const +{ + return successful_; +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc new file mode 100644 index 000000000..ad28a7f99 --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc @@ -0,0 +1,183 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectTaskRequest; + +UpdateDevopsProjectTaskRequest::UpdateDevopsProjectTaskRequest() : + RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProjectTask") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDevopsProjectTaskRequest::~UpdateDevopsProjectTaskRequest() +{} + +std::string UpdateDevopsProjectTaskRequest::getNote()const +{ + return note_; +} + +void UpdateDevopsProjectTaskRequest::setNote(const std::string& note) +{ + note_ = note; + setBodyParameter("Note", note); +} + +std::string UpdateDevopsProjectTaskRequest::getVisible()const +{ + return visible_; +} + +void UpdateDevopsProjectTaskRequest::setVisible(const std::string& visible) +{ + visible_ = visible; + setBodyParameter("Visible", visible); +} + +std::string UpdateDevopsProjectTaskRequest::getExecutorId()const +{ + return executorId_; +} + +void UpdateDevopsProjectTaskRequest::setExecutorId(const std::string& executorId) +{ + executorId_ = executorId; + setBodyParameter("ExecutorId", executorId); +} + +std::string UpdateDevopsProjectTaskRequest::getTaskFlowStatusId()const +{ + return taskFlowStatusId_; +} + +void UpdateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) +{ + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +} + +std::string UpdateDevopsProjectTaskRequest::getScenarioFiieldConfigId()const +{ + return scenarioFiieldConfigId_; +} + +void UpdateDevopsProjectTaskRequest::setScenarioFiieldConfigId(const std::string& scenarioFiieldConfigId) +{ + scenarioFiieldConfigId_ = scenarioFiieldConfigId; + setBodyParameter("ScenarioFiieldConfigId", scenarioFiieldConfigId); +} + +std::string UpdateDevopsProjectTaskRequest::getStartDate()const +{ + return startDate_; +} + +void UpdateDevopsProjectTaskRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +int UpdateDevopsProjectTaskRequest::getPriority()const +{ + return priority_; +} + +void UpdateDevopsProjectTaskRequest::setPriority(int priority) +{ + priority_ = priority; + setBodyParameter("Priority", std::to_string(priority)); +} + +std::string UpdateDevopsProjectTaskRequest::getParentTaskId()const +{ + return parentTaskId_; +} + +void UpdateDevopsProjectTaskRequest::setParentTaskId(const std::string& parentTaskId) +{ + parentTaskId_ = parentTaskId; + setBodyParameter("ParentTaskId", parentTaskId); +} + +std::string UpdateDevopsProjectTaskRequest::getOrgId()const +{ + return orgId_; +} + +void UpdateDevopsProjectTaskRequest::setOrgId(const std::string& orgId) +{ + orgId_ = orgId; + setBodyParameter("OrgId", orgId); +} + +std::string UpdateDevopsProjectTaskRequest::getContent()const +{ + return content_; +} + +void UpdateDevopsProjectTaskRequest::setContent(const std::string& content) +{ + content_ = content; + setBodyParameter("Content", content); +} + +std::string UpdateDevopsProjectTaskRequest::getSprintId()const +{ + return sprintId_; +} + +void UpdateDevopsProjectTaskRequest::setSprintId(const std::string& sprintId) +{ + sprintId_ = sprintId; + setBodyParameter("SprintId", sprintId); +} + +std::string UpdateDevopsProjectTaskRequest::getDueDate()const +{ + return dueDate_; +} + +void UpdateDevopsProjectTaskRequest::setDueDate(const std::string& dueDate) +{ + dueDate_ = dueDate; + setBodyParameter("DueDate", dueDate); +} + +std::string UpdateDevopsProjectTaskRequest::getProjectId()const +{ + return projectId_; +} + +void UpdateDevopsProjectTaskRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setBodyParameter("ProjectId", projectId); +} + +std::string UpdateDevopsProjectTaskRequest::getTaskId()const +{ + return taskId_; +} + +void UpdateDevopsProjectTaskRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setBodyParameter("TaskId", taskId); +} + diff --git a/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc b/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc new file mode 100644 index 000000000..7bb7a23ef --- /dev/null +++ b/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +UpdateDevopsProjectTaskResult::UpdateDevopsProjectTaskResult() : + ServiceResult() +{} + +UpdateDevopsProjectTaskResult::UpdateDevopsProjectTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDevopsProjectTaskResult::~UpdateDevopsProjectTaskResult() +{} + +void UpdateDevopsProjectTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Object"].isNull()) + object_ = value["Object"].asString() == "true"; + +} + +std::string UpdateDevopsProjectTaskResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool UpdateDevopsProjectTaskResult::getObject()const +{ + return object_; +} + +std::string UpdateDevopsProjectTaskResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateDevopsProjectTaskResult::getSuccessful()const +{ + return successful_; +} +