From 0dc704dbaa88e9b2ff8af9b1d070110a544cb21b Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 9 Jul 2021 08:06:15 +0000 Subject: [PATCH] Fix ListPIpelineTemplates. --- CHANGELOG | 3 + VERSION | 2 +- devops-rdc/CMakeLists.txt | 16 + .../devops-rdc/Devops_rdcClient.h | 32 ++ .../model/AddCodeupSourceToPipelineRequest.h | 51 ++++ .../model/AddCodeupSourceToPipelineResult.h | 51 ++++ .../model/BatchInsertMembersRequest.h | 80 +++-- .../devops-rdc/model/CancelPipelineRequest.h | 86 +++--- .../model/CheckAliyunAccountExistsRequest.h | 68 ++--- .../model/CreateCommonGroupRequest.h | 92 +++--- .../model/CreateCredentialRequest.h | 98 +++---- .../model/CreateDevopsOrganizationRequest.h | 86 +++--- .../model/CreateDevopsProjectRequest.h | 80 +++-- .../model/CreateDevopsProjectSprintRequest.h | 104 ++++--- .../model/CreateDevopsProjectTaskRequest.h | 146 +++++----- .../model/CreateDevopsProjectTaskResult.h | 2 +- .../model/CreatePipelineFromTemplateRequest.h | 48 +++ .../model/CreatePipelineFromTemplateResult.h | 51 ++++ .../devops-rdc/model/CreatePipelineRequest.h | 80 +++-- .../model/CreateServiceConnectionRequest.h | 80 +++-- .../model/DeleteCommonGroupRequest.h | 80 +++-- .../DeleteDevopsOrganizationMembersRequest.h | 80 +++-- .../model/DeleteDevopsOrganizationRequest.h | 68 ++--- .../model/DeleteDevopsProjectMembersRequest.h | 80 +++-- .../model/DeleteDevopsProjectRequest.h | 74 +++-- .../model/DeleteDevopsProjectSprintRequest.h | 74 +++-- .../model/DeleteDevopsProjectTaskRequest.h | 74 +++-- .../model/DeletePipelineMemberRequest.h | 86 +++--- .../devops-rdc/model/ExecutePipelineRequest.h | 86 +++--- .../GetDevopsOrganizationMembersRequest.h | 68 ++--- .../GetDevopsOrganizationMembersResult.h | 2 +- .../model/GetDevopsProjectInfoRequest.h | 74 +++-- .../model/GetDevopsProjectInfoResult.h | 6 +- .../model/GetDevopsProjectMembersRequest.h | 86 +++--- .../model/GetDevopsProjectMembersResult.h | 2 +- .../model/GetDevopsProjectSprintInfoRequest.h | 74 +++-- .../model/GetDevopsProjectSprintInfoResult.h | 4 +- .../model/GetDevopsProjectTaskInfoRequest.h | 74 +++-- .../model/GetDevopsProjectTaskInfoResult.h | 2 +- .../model/GetLastWorkspaceRequest.h | 74 +++-- .../model/GetPipelineInstHistoryRequest.h | 104 ++++--- .../model/GetPipelineInstHistoryResult.h | 10 +- ...PipelineInstanceBuildNumberStatusRequest.h | 86 +++--- .../GetPipelineInstanceGroupStatusRequest.h | 86 +++--- .../model/GetPipelineInstanceInfoRequest.h | 86 +++--- .../model/GetPipelineInstanceStatusRequest.h | 86 +++--- .../devops-rdc/model/GetPipelineLogRequest.h | 86 +++--- .../model/GetPipelineStepLogRequest.h | 104 ++++--- .../GetPipleineLatestInstanceStatusRequest.h | 80 +++-- .../model/GetProjectOptionRequest.h | 86 +++--- .../model/GetTaskDetailActivityRequest.h | 80 +++-- .../model/GetTaskDetailActivityResult.h | 4 +- .../model/GetTaskDetailBaseRequest.h | 80 +++-- .../model/GetTaskDetailBaseResult.h | 2 +- .../model/GetTaskListFilterRequest.h | 182 ++++++------ .../model/GetTaskListFilterResult.h | 9 +- .../model/GetUserByAliyunUidRequest.h | 74 +++-- .../model/GetUserByAliyunUidResult.h | 2 +- .../devops-rdc/model/GetUserNameRequest.h | 74 +++-- .../model/InsertDevopsUserRequest.h | 86 +++--- .../model/InsertPipelineMemberRequest.h | 92 +++--- .../model/InsertProjectMembersRequest.h | 80 +++-- .../devops-rdc/model/ListCommonGroupRequest.h | 86 +++--- .../devops-rdc/model/ListCommonGroupResult.h | 2 +- .../devops-rdc/model/ListCredentialsRequest.h | 74 +++-- .../model/ListDevopsProjectSprintsRequest.h | 80 ++--- .../model/ListDevopsProjectSprintsResult.h | 6 +- .../model/ListDevopsProjectTaskFlowRequest.h | 74 +++-- .../ListDevopsProjectTaskFlowStatusRequest.h | 74 +++-- .../ListDevopsProjectTaskFlowStatusResult.h | 4 +- .../model/ListDevopsProjectTaskListRequest.h | 74 +++-- .../model/ListDevopsProjectTasksRequest.h | 74 +++-- .../model/ListDevopsProjectTasksResult.h | 2 +- .../model/ListDevopsProjectsRequest.h | 92 +++--- .../model/ListDevopsProjectsResult.h | 4 +- .../ListDevopsScenarioFieldConfigRequest.h | 74 +++-- .../model/ListPipelineTemplatesRequest.h | 48 +++ .../model/ListPipelineTemplatesResult.h | 61 ++++ .../devops-rdc/model/ListPipelinesRequest.h | 134 ++++----- .../model/ListProjectCustomFieldsRequest.h | 74 +++-- .../model/ListServiceConnectionsRequest.h | 80 +++-- .../devops-rdc/model/ListSmartGroupRequest.h | 74 +++-- .../model/ListUserOrganizationRequest.h | 68 ++--- .../model/TransferPipelineOwnerRequest.h | 86 +++--- .../model/UpdateCommonGroupRequest.h | 98 +++---- .../model/UpdateDevopsProjectRequest.h | 86 +++--- .../model/UpdateDevopsProjectSprintRequest.h | 110 ++++--- .../model/UpdateDevopsProjectTaskRequest.h | 146 +++++----- .../model/UpdatePipelineEnvVarsRequest.h | 48 +++ .../model/UpdatePipelineEnvVarsResult.h | 51 ++++ .../model/UpdatePipelineMemberRequest.h | 92 +++--- .../model/UpdateTaskDetailRequest.h | 170 ++++++----- devops-rdc/src/Devops-rdcClient.cc | 144 +++++++++ .../model/AddCodeupSourceToPipelineRequest.cc | 63 ++++ .../model/AddCodeupSourceToPipelineResult.cc | 51 ++++ .../src/model/BatchInsertMembersRequest.cc | 70 ++--- .../src/model/BatchInsertMembersResult.cc | 8 +- devops-rdc/src/model/CancelPipelineRequest.cc | 82 +++--- devops-rdc/src/model/CancelPipelineResult.cc | 8 +- .../model/CheckAliyunAccountExistsRequest.cc | 46 ++- .../model/CheckAliyunAccountExistsResult.cc | 8 +- .../src/model/CreateCommonGroupRequest.cc | 94 +++--- .../src/model/CreateCommonGroupResult.cc | 4 +- .../src/model/CreateCredentialRequest.cc | 106 +++---- .../src/model/CreateCredentialResult.cc | 8 +- .../model/CreateDevopsOrganizationRequest.cc | 82 +++--- .../model/CreateDevopsOrganizationResult.cc | 8 +- .../src/model/CreateDevopsProjectRequest.cc | 70 ++--- .../src/model/CreateDevopsProjectResult.cc | 8 +- .../model/CreateDevopsProjectSprintRequest.cc | 118 ++++---- .../model/CreateDevopsProjectSprintResult.cc | 48 +-- .../model/CreateDevopsProjectTaskRequest.cc | 202 ++++++------- .../model/CreateDevopsProjectTaskResult.cc | 80 ++--- .../CreatePipelineFromTemplateRequest.cc | 54 ++++ .../model/CreatePipelineFromTemplateResult.cc | 51 ++++ devops-rdc/src/model/CreatePipelineRequest.cc | 70 ++--- devops-rdc/src/model/CreatePipelineResult.cc | 8 +- .../model/CreateServiceConnectionRequest.cc | 70 ++--- .../model/CreateServiceConnectionResult.cc | 8 +- .../src/model/DeleteCommonGroupRequest.cc | 70 ++--- .../src/model/DeleteCommonGroupResult.cc | 4 +- .../DeleteDevopsOrganizationMembersRequest.cc | 70 ++--- .../DeleteDevopsOrganizationMembersResult.cc | 8 +- .../model/DeleteDevopsOrganizationRequest.cc | 46 ++- .../model/DeleteDevopsOrganizationResult.cc | 8 +- .../DeleteDevopsProjectMembersRequest.cc | 70 ++--- .../model/DeleteDevopsProjectMembersResult.cc | 8 +- .../src/model/DeleteDevopsProjectRequest.cc | 58 ++-- .../src/model/DeleteDevopsProjectResult.cc | 4 +- .../model/DeleteDevopsProjectSprintRequest.cc | 58 ++-- .../model/DeleteDevopsProjectSprintResult.cc | 8 +- .../model/DeleteDevopsProjectTaskRequest.cc | 58 ++-- .../model/DeleteDevopsProjectTaskResult.cc | 8 +- .../src/model/DeletePipelineMemberRequest.cc | 82 +++--- .../src/model/DeletePipelineMemberResult.cc | 8 +- .../src/model/ExecutePipelineRequest.cc | 82 +++--- devops-rdc/src/model/ExecutePipelineResult.cc | 8 +- .../GetDevopsOrganizationMembersRequest.cc | 46 ++- .../GetDevopsOrganizationMembersResult.cc | 16 +- .../src/model/GetDevopsProjectInfoRequest.cc | 58 ++-- .../src/model/GetDevopsProjectInfoResult.cc | 100 +++---- .../model/GetDevopsProjectMembersRequest.cc | 82 +++--- .../model/GetDevopsProjectMembersResult.cc | 20 +- .../GetDevopsProjectSprintInfoRequest.cc | 58 ++-- .../model/GetDevopsProjectSprintInfoResult.cc | 36 +-- .../model/GetDevopsProjectTaskInfoRequest.cc | 58 ++-- .../model/GetDevopsProjectTaskInfoResult.cc | 72 ++--- .../src/model/GetLastWorkspaceRequest.cc | 58 ++-- .../src/model/GetLastWorkspaceResult.cc | 8 +- .../model/GetPipelineInstHistoryRequest.cc | 118 ++++---- .../src/model/GetPipelineInstHistoryResult.cc | 160 +++++----- ...ipelineInstanceBuildNumberStatusRequest.cc | 82 +++--- ...PipelineInstanceBuildNumberStatusResult.cc | 12 +- .../GetPipelineInstanceGroupStatusRequest.cc | 82 +++--- .../GetPipelineInstanceGroupStatusResult.cc | 12 +- .../model/GetPipelineInstanceInfoRequest.cc | 82 +++--- .../model/GetPipelineInstanceInfoResult.cc | 18 +- .../model/GetPipelineInstanceStatusRequest.cc | 82 +++--- .../model/GetPipelineInstanceStatusResult.cc | 8 +- devops-rdc/src/model/GetPipelineLogRequest.cc | 82 +++--- devops-rdc/src/model/GetPipelineLogResult.cc | 16 +- .../src/model/GetPipelineStepLogRequest.cc | 118 ++++---- .../src/model/GetPipelineStepLogResult.cc | 4 +- .../GetPipleineLatestInstanceStatusRequest.cc | 70 ++--- .../GetPipleineLatestInstanceStatusResult.cc | 12 +- .../src/model/GetProjectOptionRequest.cc | 82 +++--- .../src/model/GetProjectOptionResult.cc | 12 +- .../src/model/GetTaskDetailActivityRequest.cc | 70 ++--- .../src/model/GetTaskDetailActivityResult.cc | 30 +- .../src/model/GetTaskDetailBaseRequest.cc | 70 ++--- .../src/model/GetTaskDetailBaseResult.cc | 184 ++++++------ .../src/model/GetTaskListFilterRequest.cc | 274 ++++++++---------- .../src/model/GetTaskListFilterResult.cc | 200 +++++++------ .../src/model/GetUserByAliyunUidRequest.cc | 58 ++-- .../src/model/GetUserByAliyunUidResult.cc | 16 +- devops-rdc/src/model/GetUserNameRequest.cc | 58 ++-- devops-rdc/src/model/GetUserNameResult.cc | 8 +- .../src/model/InsertDevopsUserRequest.cc | 82 +++--- .../src/model/InsertDevopsUserResult.cc | 8 +- .../src/model/InsertPipelineMemberRequest.cc | 94 +++--- .../src/model/InsertPipelineMemberResult.cc | 8 +- .../src/model/InsertProjectMembersRequest.cc | 70 ++--- .../src/model/InsertProjectMembersResult.cc | 8 +- .../src/model/ListCommonGroupRequest.cc | 82 +++--- devops-rdc/src/model/ListCommonGroupResult.cc | 24 +- .../src/model/ListCredentialsRequest.cc | 58 ++-- devops-rdc/src/model/ListCredentialsResult.cc | 4 +- .../model/ListDevopsProjectSprintsRequest.cc | 76 +++-- .../model/ListDevopsProjectSprintsResult.cc | 43 +-- .../model/ListDevopsProjectTaskFlowRequest.cc | 58 ++-- .../model/ListDevopsProjectTaskFlowResult.cc | 8 +- .../ListDevopsProjectTaskFlowStatusRequest.cc | 58 ++-- .../ListDevopsProjectTaskFlowStatusResult.cc | 36 +-- .../model/ListDevopsProjectTaskListRequest.cc | 58 ++-- .../model/ListDevopsProjectTaskListResult.cc | 4 +- .../model/ListDevopsProjectTasksRequest.cc | 58 ++-- .../src/model/ListDevopsProjectTasksResult.cc | 20 +- .../src/model/ListDevopsProjectsRequest.cc | 94 +++--- .../src/model/ListDevopsProjectsResult.cc | 52 ++-- .../ListDevopsScenarioFieldConfigRequest.cc | 58 ++-- .../ListDevopsScenarioFieldConfigResult.cc | 8 +- .../src/model/ListPipelineTemplatesRequest.cc | 54 ++++ .../src/model/ListPipelineTemplatesResult.cc | 62 ++++ devops-rdc/src/model/ListPipelinesRequest.cc | 178 +++++------- devops-rdc/src/model/ListPipelinesResult.cc | 8 +- .../model/ListProjectCustomFieldsRequest.cc | 58 ++-- .../model/ListProjectCustomFieldsResult.cc | 12 +- .../model/ListServiceConnectionsRequest.cc | 70 ++--- .../src/model/ListServiceConnectionsResult.cc | 4 +- devops-rdc/src/model/ListSmartGroupRequest.cc | 58 ++-- devops-rdc/src/model/ListSmartGroupResult.cc | 8 +- .../src/model/ListUserOrganizationRequest.cc | 46 ++- .../src/model/ListUserOrganizationResult.cc | 4 +- .../src/model/TransferPipelineOwnerRequest.cc | 82 +++--- .../src/model/TransferPipelineOwnerResult.cc | 8 +- .../src/model/UpdateCommonGroupRequest.cc | 106 +++---- .../src/model/UpdateCommonGroupResult.cc | 4 +- .../src/model/UpdateDevopsProjectRequest.cc | 82 +++--- .../src/model/UpdateDevopsProjectResult.cc | 8 +- .../model/UpdateDevopsProjectSprintRequest.cc | 130 ++++----- .../model/UpdateDevopsProjectSprintResult.cc | 8 +- .../model/UpdateDevopsProjectTaskRequest.cc | 202 ++++++------- .../model/UpdateDevopsProjectTaskResult.cc | 8 +- .../src/model/UpdatePipelineEnvVarsRequest.cc | 54 ++++ .../src/model/UpdatePipelineEnvVarsResult.cc | 51 ++++ .../src/model/UpdatePipelineMemberRequest.cc | 94 +++--- .../src/model/UpdatePipelineMemberResult.cc | 8 +- .../src/model/UpdateTaskDetailRequest.cc | 250 +++++++--------- .../src/model/UpdateTaskDetailResult.cc | 8 +- 229 files changed, 6877 insertions(+), 6865 deletions(-) create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesResult.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsRequest.h create mode 100644 devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsResult.h create mode 100644 devops-rdc/src/model/AddCodeupSourceToPipelineRequest.cc create mode 100644 devops-rdc/src/model/AddCodeupSourceToPipelineResult.cc create mode 100644 devops-rdc/src/model/CreatePipelineFromTemplateRequest.cc create mode 100644 devops-rdc/src/model/CreatePipelineFromTemplateResult.cc create mode 100644 devops-rdc/src/model/ListPipelineTemplatesRequest.cc create mode 100644 devops-rdc/src/model/ListPipelineTemplatesResult.cc create mode 100644 devops-rdc/src/model/UpdatePipelineEnvVarsRequest.cc create mode 100644 devops-rdc/src/model/UpdatePipelineEnvVarsResult.cc diff --git a/CHANGELOG b/CHANGELOG index f34ce9881..431d45f68 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-07-09 Version: 1.36.815 +- Fix ListPIpelineTemplates. + 2021-07-08 Version: 1.36.814 - Generated 2019-01-01 for `Cassandra`. diff --git a/VERSION b/VERSION index e81d2b8c3..6c182f843 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.814 \ No newline at end of file +1.36.815 \ No newline at end of file diff --git a/devops-rdc/CMakeLists.txt b/devops-rdc/CMakeLists.txt index b40007087..e422994a3 100644 --- a/devops-rdc/CMakeLists.txt +++ b/devops-rdc/CMakeLists.txt @@ -21,6 +21,8 @@ set(devops-rdc_public_header include/alibabacloud/devops-rdc/Devops_rdcExport.h ) set(devops-rdc_public_header_model + include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineRequest.h + include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineResult.h include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h include/alibabacloud/devops-rdc/model/BatchInsertMembersResult.h include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h @@ -41,6 +43,8 @@ set(devops-rdc_public_header_model 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/CreatePipelineFromTemplateRequest.h + include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateResult.h include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h include/alibabacloud/devops-rdc/model/CreateServiceConnectionResult.h include/alibabacloud/devops-rdc/model/DeleteCommonGroupRequest.h @@ -125,6 +129,8 @@ set(devops-rdc_public_header_model include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h + include/alibabacloud/devops-rdc/model/ListPipelineTemplatesRequest.h + include/alibabacloud/devops-rdc/model/ListPipelineTemplatesResult.h include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h include/alibabacloud/devops-rdc/model/ListPipelinesResult.h include/alibabacloud/devops-rdc/model/ListProjectCustomFieldsRequest.h @@ -145,6 +151,8 @@ set(devops-rdc_public_header_model include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintResult.h include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskResult.h + include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsRequest.h + include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsResult.h include/alibabacloud/devops-rdc/model/UpdatePipelineMemberRequest.h include/alibabacloud/devops-rdc/model/UpdatePipelineMemberResult.h include/alibabacloud/devops-rdc/model/UpdateTaskDetailRequest.h @@ -152,6 +160,8 @@ set(devops-rdc_public_header_model set(devops-rdc_src src/Devops-rdcClient.cc + src/model/AddCodeupSourceToPipelineRequest.cc + src/model/AddCodeupSourceToPipelineResult.cc src/model/BatchInsertMembersRequest.cc src/model/BatchInsertMembersResult.cc src/model/CancelPipelineRequest.cc @@ -172,6 +182,8 @@ set(devops-rdc_src src/model/CreateDevopsProjectTaskResult.cc src/model/CreatePipelineRequest.cc src/model/CreatePipelineResult.cc + src/model/CreatePipelineFromTemplateRequest.cc + src/model/CreatePipelineFromTemplateResult.cc src/model/CreateServiceConnectionRequest.cc src/model/CreateServiceConnectionResult.cc src/model/DeleteCommonGroupRequest.cc @@ -256,6 +268,8 @@ set(devops-rdc_src src/model/ListDevopsProjectsResult.cc src/model/ListDevopsScenarioFieldConfigRequest.cc src/model/ListDevopsScenarioFieldConfigResult.cc + src/model/ListPipelineTemplatesRequest.cc + src/model/ListPipelineTemplatesResult.cc src/model/ListPipelinesRequest.cc src/model/ListPipelinesResult.cc src/model/ListProjectCustomFieldsRequest.cc @@ -276,6 +290,8 @@ set(devops-rdc_src src/model/UpdateDevopsProjectSprintResult.cc src/model/UpdateDevopsProjectTaskRequest.cc src/model/UpdateDevopsProjectTaskResult.cc + src/model/UpdatePipelineEnvVarsRequest.cc + src/model/UpdatePipelineEnvVarsResult.cc src/model/UpdatePipelineMemberRequest.cc src/model/UpdatePipelineMemberResult.cc src/model/UpdateTaskDetailRequest.cc diff --git a/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h b/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h index b75262009..4f27fda77 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/Devops_rdcClient.h @@ -22,6 +22,8 @@ #include #include #include "Devops_rdcExport.h" +#include "model/AddCodeupSourceToPipelineRequest.h" +#include "model/AddCodeupSourceToPipelineResult.h" #include "model/BatchInsertMembersRequest.h" #include "model/BatchInsertMembersResult.h" #include "model/CancelPipelineRequest.h" @@ -42,6 +44,8 @@ #include "model/CreateDevopsProjectTaskResult.h" #include "model/CreatePipelineRequest.h" #include "model/CreatePipelineResult.h" +#include "model/CreatePipelineFromTemplateRequest.h" +#include "model/CreatePipelineFromTemplateResult.h" #include "model/CreateServiceConnectionRequest.h" #include "model/CreateServiceConnectionResult.h" #include "model/DeleteCommonGroupRequest.h" @@ -126,6 +130,8 @@ #include "model/ListDevopsProjectsResult.h" #include "model/ListDevopsScenarioFieldConfigRequest.h" #include "model/ListDevopsScenarioFieldConfigResult.h" +#include "model/ListPipelineTemplatesRequest.h" +#include "model/ListPipelineTemplatesResult.h" #include "model/ListPipelinesRequest.h" #include "model/ListPipelinesResult.h" #include "model/ListProjectCustomFieldsRequest.h" @@ -146,6 +152,8 @@ #include "model/UpdateDevopsProjectSprintResult.h" #include "model/UpdateDevopsProjectTaskRequest.h" #include "model/UpdateDevopsProjectTaskResult.h" +#include "model/UpdatePipelineEnvVarsRequest.h" +#include "model/UpdatePipelineEnvVarsResult.h" #include "model/UpdatePipelineMemberRequest.h" #include "model/UpdatePipelineMemberResult.h" #include "model/UpdateTaskDetailRequest.h" @@ -159,6 +167,9 @@ namespace AlibabaCloud class ALIBABACLOUD_DEVOPS_RDC_EXPORT Devops_rdcClient : public RpcServiceClient { public: + typedef Outcome AddCodeupSourceToPipelineOutcome; + typedef std::future AddCodeupSourceToPipelineOutcomeCallable; + typedef std::function&)> AddCodeupSourceToPipelineAsyncHandler; typedef Outcome BatchInsertMembersOutcome; typedef std::future BatchInsertMembersOutcomeCallable; typedef std::function&)> BatchInsertMembersAsyncHandler; @@ -189,6 +200,9 @@ namespace AlibabaCloud typedef Outcome CreatePipelineOutcome; typedef std::future CreatePipelineOutcomeCallable; typedef std::function&)> CreatePipelineAsyncHandler; + typedef Outcome CreatePipelineFromTemplateOutcome; + typedef std::future CreatePipelineFromTemplateOutcomeCallable; + typedef std::function&)> CreatePipelineFromTemplateAsyncHandler; typedef Outcome CreateServiceConnectionOutcome; typedef std::future CreateServiceConnectionOutcomeCallable; typedef std::function&)> CreateServiceConnectionAsyncHandler; @@ -315,6 +329,9 @@ namespace AlibabaCloud typedef Outcome ListDevopsScenarioFieldConfigOutcome; typedef std::future ListDevopsScenarioFieldConfigOutcomeCallable; typedef std::function&)> ListDevopsScenarioFieldConfigAsyncHandler; + typedef Outcome ListPipelineTemplatesOutcome; + typedef std::future ListPipelineTemplatesOutcomeCallable; + typedef std::function&)> ListPipelineTemplatesAsyncHandler; typedef Outcome ListPipelinesOutcome; typedef std::future ListPipelinesOutcomeCallable; typedef std::function&)> ListPipelinesAsyncHandler; @@ -345,6 +362,9 @@ namespace AlibabaCloud typedef Outcome UpdateDevopsProjectTaskOutcome; typedef std::future UpdateDevopsProjectTaskOutcomeCallable; typedef std::function&)> UpdateDevopsProjectTaskAsyncHandler; + typedef Outcome UpdatePipelineEnvVarsOutcome; + typedef std::future UpdatePipelineEnvVarsOutcomeCallable; + typedef std::function&)> UpdatePipelineEnvVarsAsyncHandler; typedef Outcome UpdatePipelineMemberOutcome; typedef std::future UpdatePipelineMemberOutcomeCallable; typedef std::function&)> UpdatePipelineMemberAsyncHandler; @@ -356,6 +376,9 @@ namespace AlibabaCloud 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(); + AddCodeupSourceToPipelineOutcome addCodeupSourceToPipeline(const Model::AddCodeupSourceToPipelineRequest &request)const; + void addCodeupSourceToPipelineAsync(const Model::AddCodeupSourceToPipelineRequest& request, const AddCodeupSourceToPipelineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddCodeupSourceToPipelineOutcomeCallable addCodeupSourceToPipelineCallable(const Model::AddCodeupSourceToPipelineRequest& request) const; 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; @@ -386,6 +409,9 @@ namespace AlibabaCloud 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; + CreatePipelineFromTemplateOutcome createPipelineFromTemplate(const Model::CreatePipelineFromTemplateRequest &request)const; + void createPipelineFromTemplateAsync(const Model::CreatePipelineFromTemplateRequest& request, const CreatePipelineFromTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatePipelineFromTemplateOutcomeCallable createPipelineFromTemplateCallable(const Model::CreatePipelineFromTemplateRequest& 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; @@ -512,6 +538,9 @@ namespace AlibabaCloud 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; + ListPipelineTemplatesOutcome listPipelineTemplates(const Model::ListPipelineTemplatesRequest &request)const; + void listPipelineTemplatesAsync(const Model::ListPipelineTemplatesRequest& request, const ListPipelineTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPipelineTemplatesOutcomeCallable listPipelineTemplatesCallable(const Model::ListPipelineTemplatesRequest& 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; @@ -542,6 +571,9 @@ namespace AlibabaCloud 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; + UpdatePipelineEnvVarsOutcome updatePipelineEnvVars(const Model::UpdatePipelineEnvVarsRequest &request)const; + void updatePipelineEnvVarsAsync(const Model::UpdatePipelineEnvVarsRequest& request, const UpdatePipelineEnvVarsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdatePipelineEnvVarsOutcomeCallable updatePipelineEnvVarsCallable(const Model::UpdatePipelineEnvVarsRequest& request) const; UpdatePipelineMemberOutcome updatePipelineMember(const Model::UpdatePipelineMemberRequest &request)const; void updatePipelineMemberAsync(const Model::UpdatePipelineMemberRequest& request, const UpdatePipelineMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdatePipelineMemberOutcomeCallable updatePipelineMemberCallable(const Model::UpdatePipelineMemberRequest& request) const; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineRequest.h new file mode 100644 index 000000000..dd4382636 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineRequest.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_ADDCODEUPSOURCETOPIPELINEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_ADDCODEUPSOURCETOPIPELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT AddCodeupSourceToPipelineRequest : public RpcServiceRequest { +public: + AddCodeupSourceToPipelineRequest(); + ~AddCodeupSourceToPipelineRequest(); + std::string getCodePath() const; + void setCodePath(const std::string &codePath); + std::string getCodeBranch() const; + void setCodeBranch(const std::string &codeBranch); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string codePath_; + std::string codeBranch_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_ADDCODEUPSOURCETOPIPELINEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineResult.h new file mode 100644 index 000000000..3da7cb62c --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/AddCodeupSourceToPipelineResult.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_ADDCODEUPSOURCETOPIPELINERESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_ADDCODEUPSOURCETOPIPELINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT AddCodeupSourceToPipelineResult : public ServiceResult + { + public: + + + AddCodeupSourceToPipelineResult(); + explicit AddCodeupSourceToPipelineResult(const std::string &payload); + ~AddCodeupSourceToPipelineResult(); + long getPipelineId()const; + + protected: + void parse(const std::string &payload); + private: + long pipelineId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_ADDCODEUPSOURCETOPIPELINERESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h index 331e70635..ed1567346 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/BatchInsertMembersRequest.h @@ -1,54 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_BATCHINSERTMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h index 5b4170489..e1b794d22 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CancelPipelineRequest.h @@ -1,57 +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_CANCELPIPELINEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT CancelPipelineRequest : public RpcServiceRequest - { - - public: - CancelPipelineRequest(); - ~CancelPipelineRequest(); - - long getFlowInstanceId()const; - void setFlowInstanceId(long flowInstanceId); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - long flowInstanceId_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CancelPipelineRequest : public RpcServiceRequest { +public: + CancelPipelineRequest(); + ~CancelPipelineRequest(); + long getFlowInstanceId() const; + void setFlowInstanceId(long flowInstanceId); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + long flowInstanceId_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CANCELPIPELINEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h index 0ec817f25..5f617c005 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CheckAliyunAccountExistsRequest.h @@ -1,48 +1,42 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CHECKALIYUNACCOUNTEXISTSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCommonGroupRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCommonGroupRequest.h index 5bc4ff7a8..4f28da112 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCommonGroupRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCommonGroupRequest.h @@ -1,60 +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_CREATECOMMONGROUPREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCommonGroupRequest : public RpcServiceRequest - { - - public: - CreateCommonGroupRequest(); - ~CreateCommonGroupRequest(); - - std::string getSmartGroupId()const; - void setSmartGroupId(const std::string& smartGroupId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string smartGroupId_; - std::string name_; - std::string description_; - std::string projectId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCommonGroupRequest : public RpcServiceRequest { +public: + CreateCommonGroupRequest(); + ~CreateCommonGroupRequest(); + std::string getSmartGroupId() const; + void setSmartGroupId(const std::string &smartGroupId); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string smartGroupId_; + std::string name_; + std::string description_; + std::string projectId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECOMMONGROUPREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCredentialRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCredentialRequest.h index 94609f4fb..a215f80ea 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCredentialRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateCredentialRequest.h @@ -1,63 +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_CREATECREDENTIALREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCredentialRequest : public RpcServiceRequest - { - - public: - CreateCredentialRequest(); - ~CreateCredentialRequest(); - - std::string getType()const; - void setType(const std::string& type); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getName()const; - void setName(const std::string& name); - std::string getUserName()const; - void setUserName(const std::string& userName); - - private: - std::string type_; - std::string userPk_; - std::string orgId_; - std::string password_; - std::string name_; - std::string userName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateCredentialRequest : public RpcServiceRequest { +public: + CreateCredentialRequest(); + ~CreateCredentialRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getPassword() const; + void setPassword(const std::string &password); + std::string getName() const; + void setName(const std::string &name); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string type_; + std::string userPk_; + std::string orgId_; + std::string password_; + std::string name_; + std::string userName_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATECREDENTIALREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h index 524f2ef81..95328d87f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsOrganizationRequest.h @@ -1,57 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSORGANIZATIONREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h index 4317b4a16..3843a842f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectRequest.h @@ -1,54 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h index eda252cf0..4d4445400 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectSprintRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTSPRINTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h index 2bc44060b..b4f1c2389 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h @@ -1,87 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#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 ¬e); + 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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEDEVOPSPROJECTTASKREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h index df9a65257..a4e702168 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateDevopsProjectTaskResult.h @@ -48,8 +48,8 @@ namespace AlibabaCloud std::string dueDate; int uniqueId; std::string updated; - std::string creatorId; int priority; + std::string creatorId; std::string projectId; std::string taskflowstatusId; bool isDone; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateRequest.h new file mode 100644 index 000000000..a893843cf --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateRequest.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_CREATEPIPELINEFROMTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEFROMTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineFromTemplateRequest : public RpcServiceRequest { +public: + CreatePipelineFromTemplateRequest(); + ~CreatePipelineFromTemplateRequest(); + std::string getPipelineName() const; + void setPipelineName(const std::string &pipelineName); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineTemplateId() const; + void setPipelineTemplateId(long pipelineTemplateId); + +private: + std::string pipelineName_; + std::string orgId_; + long pipelineTemplateId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEFROMTEMPLATEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateResult.h new file mode 100644 index 000000000..699244201 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineFromTemplateResult.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_CREATEPIPELINEFROMTEMPLATERESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEFROMTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineFromTemplateResult : public ServiceResult + { + public: + + + CreatePipelineFromTemplateResult(); + explicit CreatePipelineFromTemplateResult(const std::string &payload); + ~CreatePipelineFromTemplateResult(); + long getPipelineId()const; + + protected: + void parse(const std::string &payload); + private: + long pipelineId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEFROMTEMPLATERESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineRequest.h index c42e40448..5392549be 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreatePipelineRequest.h @@ -1,54 +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_CREATEPIPELINEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineRequest : public RpcServiceRequest - { - - public: - CreatePipelineRequest(); - ~CreatePipelineRequest(); - - std::string getPipeline()const; - void setPipeline(const std::string& pipeline); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string pipeline_; - std::string userPk_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreatePipelineRequest : public RpcServiceRequest { +public: + CreatePipelineRequest(); + ~CreatePipelineRequest(); + std::string getPipeline() const; + void setPipeline(const std::string &pipeline); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string pipeline_; + std::string userPk_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATEPIPELINEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h index 4d32564e8..1780f4384 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/CreateServiceConnectionRequest.h @@ -1,54 +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_CREATESERVICECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateServiceConnectionRequest : public RpcServiceRequest - { - - public: - CreateServiceConnectionRequest(); - ~CreateServiceConnectionRequest(); - - std::string getServiceConnectionType()const; - void setServiceConnectionType(const std::string& serviceConnectionType); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string serviceConnectionType_; - std::string userPk_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT CreateServiceConnectionRequest : public RpcServiceRequest { +public: + CreateServiceConnectionRequest(); + ~CreateServiceConnectionRequest(); + std::string getServiceConnectionType() const; + void setServiceConnectionType(const std::string &serviceConnectionType); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string serviceConnectionType_; + std::string userPk_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_CREATESERVICECONNECTIONREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteCommonGroupRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteCommonGroupRequest.h index 104e33ec0..ced42e975 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteCommonGroupRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteCommonGroupRequest.h @@ -1,54 +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_DELETECOMMONGROUPREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteCommonGroupRequest : public RpcServiceRequest - { - - public: - DeleteCommonGroupRequest(); - ~DeleteCommonGroupRequest(); - - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getCommonGroupId()const; - void setCommonGroupId(const std::string& commonGroupId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string projectId_; - std::string commonGroupId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteCommonGroupRequest : public RpcServiceRequest { +public: + DeleteCommonGroupRequest(); + ~DeleteCommonGroupRequest(); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getCommonGroupId() const; + void setCommonGroupId(const std::string &commonGroupId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string projectId_; + std::string commonGroupId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETECOMMONGROUPREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h index 5e4b6137d..066cab4c2 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationMembersRequest.h @@ -1,54 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationRequest.h index f7e12cdd4..5867b9a5c 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsOrganizationRequest.h @@ -1,48 +1,42 @@ /* * 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_DELETEDEVOPSORGANIZATIONREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationRequest : public RpcServiceRequest - { - - public: - DeleteDevopsOrganizationRequest(); - ~DeleteDevopsOrganizationRequest(); - - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationRequest : public RpcServiceRequest { +public: + DeleteDevopsOrganizationRequest(); + ~DeleteDevopsOrganizationRequest(); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h index ad6cf0a87..d82197735 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectMembersRequest.h @@ -1,54 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h index d7369c9d4..74077f55f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h index c2d8a0305..842362a23 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectSprintRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTSPRINTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h index 2a45e3df2..b075c61a1 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeleteDevopsProjectTaskRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSPROJECTTASKREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/DeletePipelineMemberRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/DeletePipelineMemberRequest.h index 96daec416..afcdc963b 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/DeletePipelineMemberRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/DeletePipelineMemberRequest.h @@ -1,57 +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_DELETEPIPELINEMEMBERREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEPIPELINEMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeletePipelineMemberRequest : public RpcServiceRequest - { - - public: - DeletePipelineMemberRequest(); - ~DeletePipelineMemberRequest(); - - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string userPk_; - std::string userId_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEPIPELINEMEMBERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEPIPELINEMEMBERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEPIPELINEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeletePipelineMemberRequest : public RpcServiceRequest { +public: + DeletePipelineMemberRequest(); + ~DeletePipelineMemberRequest(); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string userPk_; + std::string userId_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEPIPELINEMEMBERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ExecutePipelineRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ExecutePipelineRequest.h index bdb36df1d..9cadee755 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ExecutePipelineRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ExecutePipelineRequest.h @@ -1,57 +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_EXECUTEPIPELINEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ExecutePipelineRequest : public RpcServiceRequest - { - - public: - ExecutePipelineRequest(); - ~ExecutePipelineRequest(); - - std::string getParameters()const; - void setParameters(const std::string& parameters); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string parameters_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ExecutePipelineRequest : public RpcServiceRequest { +public: + ExecutePipelineRequest(); + ~ExecutePipelineRequest(); + std::string getParameters() const; + void setParameters(const std::string ¶meters); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string parameters_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_EXECUTEPIPELINEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h index 0fa60ddad..a6a017370 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersRequest.h @@ -1,48 +1,42 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSORGANIZATIONMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h index a9ae69968..22dd918e1 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsOrganizationMembersResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { int role; std::string memberId; - std::string avatarUrl; std::string email; + std::string avatarUrl; std::string userId; std::string phone; std::string name; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h index e49b3b088..929bf6d7a 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTINFOREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTINFOREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h index 41f82198e..2d1d1725d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectInfoResult.h @@ -37,13 +37,13 @@ namespace AlibabaCloud std::string sortMethod; std::string description; std::string category; - std::string sourceId; std::string sourceType; - int nextTaskUniqueId; + std::string sourceId; std::string organizationId; + int nextTaskUniqueId; std::string rootCollectionId; - std::string created; std::string name; + std::string created; std::string startDate; std::string defaultCollectionId; std::string normalType; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h index e3bb3bc4a..914656a2f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersRequest.h @@ -1,57 +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(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getPageToken()const; - void setPageToken(const std::string& pageToken); - - private: - int pageSize_; - std::string projectId_; - std::string orgId_; - std::string pageToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetDevopsProjectMembersRequest : public RpcServiceRequest { +public: + GetDevopsProjectMembersRequest(); + ~GetDevopsProjectMembersRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getPageToken() const; + void setPageToken(const std::string &pageToken); + +private: + int pageSize_; + std::string projectId_; + std::string orgId_; + std::string pageToken_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h index e70c37d48..4e0b9761d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectMembersResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { int role; std::string memberId; - std::string avatarUrl; std::string email; + std::string avatarUrl; std::string userId; std::string phone; std::string name; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h index ef79790f1..127f44293 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTSPRINTINFOREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h index 67ec4e4e0..f810a24e6 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectSprintInfoResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud int workTimes; int storyPoints; }; - std::string startDate; std::string status; + std::string startDate; bool isDeleted; std::string accomplished; PlanToDo planToDo; @@ -50,8 +50,8 @@ namespace AlibabaCloud std::string projectId; std::string id; std::string dueDate; - std::string created; std::string name; + std::string created; }; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h index a3f4e2e6e..be6cdca53 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFOREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETDEVOPSPROJECTTASKINFOREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h index 2d7390063..f806f4f89 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetDevopsProjectTaskInfoResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { bool isDeleted; std::string updated; - std::string creatorId; std::string priority; + std::string creatorId; std::vector involveMembers; std::string projectId; std::string taskflowstatusId; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetLastWorkspaceRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetLastWorkspaceRequest.h index bd36cea72..26298517b 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetLastWorkspaceRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetLastWorkspaceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetLastWorkspaceRequest : public RpcServiceRequest - { - - public: - GetLastWorkspaceRequest(); - ~GetLastWorkspaceRequest(); - - std::string getRealPk()const; - void setRealPk(const std::string& realPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string realPk_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetLastWorkspaceRequest : public RpcServiceRequest { +public: + GetLastWorkspaceRequest(); + ~GetLastWorkspaceRequest(); + std::string getRealPk() const; + void setRealPk(const std::string &realPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string realPk_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETLASTWORKSPACEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryRequest.h index d3fb68c6f..a2fcac8e1 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstHistoryRequest : public RpcServiceRequest - { - - public: - GetPipelineInstHistoryRequest(); - ~GetPipelineInstHistoryRequest(); - - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - long getPageSize()const; - void setPageSize(long pageSize); - long getPageStart()const; - void setPageStart(long pageStart); - - private: - std::string endTime_; - std::string startTime_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - long pageSize_; - long pageStart_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstHistoryRequest : public RpcServiceRequest { +public: + GetPipelineInstHistoryRequest(); + ~GetPipelineInstHistoryRequest(); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + long getPageSize() const; + void setPageSize(long pageSize); + long getPageStart() const; + void setPageStart(long pageStart); + +private: + std::string endTime_; + std::string startTime_; + std::string userPk_; + std::string orgId_; + long pipelineId_; + long pageSize_; + long pageStart_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTHISTORYREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryResult.h index 66221eab7..0970e57c9 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstHistoryResult.h @@ -43,11 +43,11 @@ namespace AlibabaCloud std::string mixFlowInstId; int enginePipelineId; std::string enginePipelineName; - std::string caches; std::string triggerMode; + std::string caches; std::string sources; - std::string dateTime; std::string timeStamp; + std::string dateTime; int enginePipelineNumber; int enginePipelineInstId; }; @@ -59,8 +59,8 @@ namespace AlibabaCloud std::string resultStatus; long createTime; long startTime; - std::string creator; std::string deleteStatus; + std::string creator; std::string name; int idExtent; int id; @@ -70,9 +70,9 @@ namespace AlibabaCloud std::string status; long modifyTime; std::string resultStatus; + std::string stages; long createTime; std::string systemCode; - std::string stages; std::string systemId; std::string statusName; std::string creator; @@ -89,8 +89,8 @@ namespace AlibabaCloud FlowInstance flowInstance; long createTime; std::string statusName; - std::string creator; int triggerMode; + std::string creator; std::string packages; std::string deletion; int pipelineId; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusRequest.h index fb61190c3..b71d68586 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceBuildNumberStatusRequest.h @@ -1,57 +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_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceBuildNumberStatusRequest : public RpcServiceRequest - { - - public: - GetPipelineInstanceBuildNumberStatusRequest(); - ~GetPipelineInstanceBuildNumberStatusRequest(); - - long getBuildNum()const; - void setBuildNum(long buildNum); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - long buildNum_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceBuildNumberStatusRequest : public RpcServiceRequest { +public: + GetPipelineInstanceBuildNumberStatusRequest(); + ~GetPipelineInstanceBuildNumberStatusRequest(); + long getBuildNum() const; + void setBuildNum(long buildNum); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + long buildNum_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEBUILDNUMBERSTATUSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceGroupStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceGroupStatusRequest.h index 0ea110acd..c23d7f54f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceGroupStatusRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceGroupStatusRequest.h @@ -1,57 +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_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceGroupStatusRequest : public RpcServiceRequest - { - - public: - GetPipelineInstanceGroupStatusRequest(); - ~GetPipelineInstanceGroupStatusRequest(); - - long getFlowInstanceId()const; - void setFlowInstanceId(long flowInstanceId); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - long flowInstanceId_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceGroupStatusRequest : public RpcServiceRequest { +public: + GetPipelineInstanceGroupStatusRequest(); + ~GetPipelineInstanceGroupStatusRequest(); + long getFlowInstanceId() const; + void setFlowInstanceId(long flowInstanceId); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + long flowInstanceId_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEGROUPSTATUSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceInfoRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceInfoRequest.h index ce1359312..7c6830f8f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceInfoRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceInfoRequest.h @@ -1,57 +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_GETPIPELINEINSTANCEINFOREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceInfoRequest : public RpcServiceRequest - { - - public: - GetPipelineInstanceInfoRequest(); - ~GetPipelineInstanceInfoRequest(); - - std::string getFlowInstanceId()const; - void setFlowInstanceId(const std::string& flowInstanceId); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string flowInstanceId_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceInfoRequest : public RpcServiceRequest { +public: + GetPipelineInstanceInfoRequest(); + ~GetPipelineInstanceInfoRequest(); + std::string getFlowInstanceId() const; + void setFlowInstanceId(const std::string &flowInstanceId); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string flowInstanceId_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCEINFOREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceStatusRequest.h index 06a23eeb5..b5cc3e098 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceStatusRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineInstanceStatusRequest.h @@ -1,57 +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_GETPIPELINEINSTANCESTATUSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceStatusRequest : public RpcServiceRequest - { - - public: - GetPipelineInstanceStatusRequest(); - ~GetPipelineInstanceStatusRequest(); - - long getFlowInstanceId()const; - void setFlowInstanceId(long flowInstanceId); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - long flowInstanceId_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineInstanceStatusRequest : public RpcServiceRequest { +public: + GetPipelineInstanceStatusRequest(); + ~GetPipelineInstanceStatusRequest(); + long getFlowInstanceId() const; + void setFlowInstanceId(long flowInstanceId); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + long flowInstanceId_; + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINEINSTANCESTATUSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineLogRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineLogRequest.h index d5426ce0c..88d0575f2 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineLogRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineLogRequest.h @@ -1,57 +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_GETPIPELINELOGREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineLogRequest : public RpcServiceRequest - { - - public: - GetPipelineLogRequest(); - ~GetPipelineLogRequest(); - - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - long getJobId()const; - void setJobId(long jobId); - - private: - std::string userPk_; - std::string orgId_; - long pipelineId_; - long jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineLogRequest : public RpcServiceRequest { +public: + GetPipelineLogRequest(); + ~GetPipelineLogRequest(); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + long getJobId() const; + void setJobId(long jobId); + +private: + std::string userPk_; + std::string orgId_; + long pipelineId_; + long jobId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINELOGREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineStepLogRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineStepLogRequest.h index b01c37544..c82265081 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineStepLogRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipelineStepLogRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineStepLogRequest : public RpcServiceRequest - { - - public: - GetPipelineStepLogRequest(); - ~GetPipelineStepLogRequest(); - - long getOffset()const; - void setOffset(long offset); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - long getJobId()const; - void setJobId(long jobId); - std::string getStepIndex()const; - void setStepIndex(const std::string& stepIndex); - long getLimit()const; - void setLimit(long limit); - - private: - long offset_; - std::string userPk_; - std::string orgId_; - long pipelineId_; - long jobId_; - std::string stepIndex_; - long limit_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipelineStepLogRequest : public RpcServiceRequest { +public: + GetPipelineStepLogRequest(); + ~GetPipelineStepLogRequest(); + long getOffset() const; + void setOffset(long offset); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + long getJobId() const; + void setJobId(long jobId); + std::string getStepIndex() const; + void setStepIndex(const std::string &stepIndex); + long getLimit() const; + void setLimit(long limit); + +private: + long offset_; + std::string userPk_; + std::string orgId_; + long pipelineId_; + long jobId_; + std::string stepIndex_; + long limit_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPELINESTEPLOGREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusRequest.h index f6d23aae9..4bbd44e1b 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetPipleineLatestInstanceStatusRequest.h @@ -1,54 +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_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipleineLatestInstanceStatusRequest : public RpcServiceRequest - { - - public: - GetPipleineLatestInstanceStatusRequest(); - ~GetPipleineLatestInstanceStatusRequest(); - - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string userPk_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetPipleineLatestInstanceStatusRequest : public RpcServiceRequest { +public: + GetPipleineLatestInstanceStatusRequest(); + ~GetPipleineLatestInstanceStatusRequest(); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string userPk_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPIPLEINELATESTINSTANCESTATUSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetProjectOptionRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetProjectOptionRequest.h index dab222c86..d422f59ff 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetProjectOptionRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetProjectOptionRequest.h @@ -1,57 +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_GETPROJECTOPTIONREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetProjectOptionRequest : public RpcServiceRequest - { - - public: - GetProjectOptionRequest(); - ~GetProjectOptionRequest(); - - std::string getQuery()const; - void setQuery(const std::string& query); - std::string getType()const; - void setType(const std::string& type); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string query_; - std::string type_; - std::string projectId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetProjectOptionRequest : public RpcServiceRequest { +public: + GetProjectOptionRequest(); + ~GetProjectOptionRequest(); + std::string getQuery() const; + void setQuery(const std::string &query); + std::string getType() const; + void setType(const std::string &type); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string query_; + std::string type_; + std::string projectId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETPROJECTOPTIONREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityRequest.h index 7b7a6ccdc..ca29fe04e 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityRequest.h @@ -1,54 +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_GETTASKDETAILACTIVITYREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskDetailActivityRequest : public RpcServiceRequest - { - - public: - GetTaskDetailActivityRequest(); - ~GetTaskDetailActivityRequest(); - - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - std::string projectId_; - std::string orgId_; - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskDetailActivityRequest : public RpcServiceRequest { +public: + GetTaskDetailActivityRequest(); + ~GetTaskDetailActivityRequest(); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string projectId_; + std::string orgId_; + std::string taskId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILACTIVITYREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityResult.h index bfe526762..eeb3d3fe3 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailActivityResult.h @@ -45,8 +45,8 @@ namespace AlibabaCloud GetTaskDetailActivityResult(); explicit GetTaskDetailActivityResult(const std::string &payload); ~GetTaskDetailActivityResult(); - std::string getErrorMsg()const; int getHttpStatusCode()const; + std::string getErrorMsg()const; std::vector getObject()const; std::string getErrorCode()const; bool getSuccessful()const; @@ -54,8 +54,8 @@ namespace AlibabaCloud protected: void parse(const std::string &payload); private: - std::string errorMsg_; int httpStatusCode_; + std::string errorMsg_; std::vector object_; std::string errorCode_; bool successful_; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseRequest.h index 0ffdf8bbb..b83e82231 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseRequest.h @@ -1,54 +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_GETTASKDETAILBASEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskDetailBaseRequest : public RpcServiceRequest - { - - public: - GetTaskDetailBaseRequest(); - ~GetTaskDetailBaseRequest(); - - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - std::string projectId_; - std::string orgId_; - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskDetailBaseRequest : public RpcServiceRequest { +public: + GetTaskDetailBaseRequest(); + ~GetTaskDetailBaseRequest(); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string projectId_; + std::string orgId_; + std::string taskId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKDETAILBASEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseResult.h index 01856f061..ead57960d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskDetailBaseResult.h @@ -146,9 +146,9 @@ namespace AlibabaCloud std::string scenariofieldconfigId; std::string sprint; std::string id; + std::string organization; std::string accomplished; std::string taskId; - std::string organization; std::string parent; int rating; std::string sourceId; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterRequest.h index d4844d7af..3e4ee81c2 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterRequest.h @@ -1,105 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskListFilterRequest : public RpcServiceRequest - { - - public: - GetTaskListFilterRequest(); - ~GetTaskListFilterRequest(); - - std::string getInvolveMembers()const; - void setInvolveMembers(const std::string& involveMembers); - std::string getExecutorId()const; - void setExecutorId(const std::string& executorId); - std::string getOrderCondition()const; - void setOrderCondition(const std::string& orderCondition); - std::string getSprintId()const; - void setSprintId(const std::string& sprintId); - std::string getExtra()const; - void setExtra(const std::string& extra); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getScenarioFieldConfigId()const; - void setScenarioFieldConfigId(const std::string& scenarioFieldConfigId); - bool getIsDone()const; - void setIsDone(bool isDone); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getPageToken()const; - void setPageToken(const std::string& pageToken); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getTagId()const; - void setTagId(const std::string& tagId); - std::string getTaskFlowStatusId()const; - void setTaskFlowStatusId(const std::string& taskFlowStatusId); - std::string getDueDateStart()const; - void setDueDateStart(const std::string& dueDateStart); - std::string getCreatorId()const; - void setCreatorId(const std::string& creatorId); - std::string getPriority()const; - void setPriority(const std::string& priority); - std::string getDueDateEnd()const; - void setDueDateEnd(const std::string& dueDateEnd); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string involveMembers_; - std::string executorId_; - std::string orderCondition_; - std::string sprintId_; - std::string extra_; - int pageSize_; - std::string scenarioFieldConfigId_; - bool isDone_; - std::string objectType_; - std::string projectId_; - std::string pageToken_; - std::string order_; - std::string tagId_; - std::string taskFlowStatusId_; - std::string dueDateStart_; - std::string creatorId_; - std::string priority_; - std::string dueDateEnd_; - std::string orgId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetTaskListFilterRequest : public RpcServiceRequest { +public: + GetTaskListFilterRequest(); + ~GetTaskListFilterRequest(); + std::string getInvolveMembers() const; + void setInvolveMembers(const std::string &involveMembers); + std::string getExecutorId() const; + void setExecutorId(const std::string &executorId); + std::string getOrderCondition() const; + void setOrderCondition(const std::string &orderCondition); + std::string getSprintId() const; + void setSprintId(const std::string &sprintId); + std::string getExtra() const; + void setExtra(const std::string &extra); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getScenarioFieldConfigId() const; + void setScenarioFieldConfigId(const std::string &scenarioFieldConfigId); + bool getIsDone() const; + void setIsDone(bool isDone); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getPageToken() const; + void setPageToken(const std::string &pageToken); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getTagId() const; + void setTagId(const std::string &tagId); + std::string getTaskFlowStatusId() const; + void setTaskFlowStatusId(const std::string &taskFlowStatusId); + std::string getDueDateStart() const; + void setDueDateStart(const std::string &dueDateStart); + std::string getCreatorId() const; + void setCreatorId(const std::string &creatorId); + std::string getPriority() const; + void setPriority(const std::string &priority); + std::string getDueDateEnd() const; + void setDueDateEnd(const std::string &dueDateEnd); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string involveMembers_; + std::string executorId_; + std::string orderCondition_; + std::string sprintId_; + std::string extra_; + int pageSize_; + std::string scenarioFieldConfigId_; + bool isDone_; + std::string objectType_; + std::string projectId_; + std::string pageToken_; + std::string order_; + std::string tagId_; + std::string taskFlowStatusId_; + std::string dueDateStart_; + std::string creatorId_; + std::string priority_; + std::string dueDateEnd_; + std::string orgId_; + std::string name_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETTASKLISTFILTERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterResult.h index 4741a06d5..2cf38131c 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetTaskListFilterResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud { struct WorkTime { - int totalTime; int usedTime; + int totalTime; std::string unit; }; struct Badges @@ -119,24 +119,23 @@ namespace AlibabaCloud std::vector labels; std::string storyPoint; bool isFavorite; - int pos; std::string content; std::string note; std::vector customfields; - std::string id; std::string sprint; + std::string id; std::string accomplished; std::string taskId; std::string parent; std::string taskUniqueId; - std::string sourceId; int rating; + std::string sourceId; std::string taskListId; std::string sprintId; std::string organizationId; std::string source; - std::string created; std::string taskFlowStatusId; + std::string created; std::string objectType; Executor executor; std::string visible; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h index f79eed292..5ed778fbf 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERBYALIYUNUIDREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h index ab3e5e934..b6936a77e 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserByAliyunUidResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct Object { - std::string avatarUrl; std::string email; + std::string avatarUrl; std::string aliyunPk; std::string phone; std::string id; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserNameRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserNameRequest.h index 848590abb..542844dd1 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserNameRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/GetUserNameRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetUserNameRequest : public RpcServiceRequest - { - - public: - GetUserNameRequest(); - ~GetUserNameRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string userId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT GetUserNameRequest : public RpcServiceRequest { +public: + GetUserNameRequest(); + ~GetUserNameRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string userId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_GETUSERNAMEREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h index 39f38ab83..b854ad41b 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertDevopsUserRequest.h @@ -1,57 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTDEVOPSUSERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertPipelineMemberRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertPipelineMemberRequest.h index a61248370..48c710bc6 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertPipelineMemberRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertPipelineMemberRequest.h @@ -1,60 +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_INSERTPIPELINEMEMBERREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPIPELINEMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertPipelineMemberRequest : public RpcServiceRequest - { - - public: - InsertPipelineMemberRequest(); - ~InsertPipelineMemberRequest(); - - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string roleName_; - std::string userPk_; - std::string userId_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPIPELINEMEMBERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPIPELINEMEMBERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPIPELINEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT InsertPipelineMemberRequest : public RpcServiceRequest { +public: + InsertPipelineMemberRequest(); + ~InsertPipelineMemberRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string roleName_; + std::string userPk_; + std::string userId_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPIPELINEMEMBERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h index fd736b181..159d28748 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersRequest.h @@ -1,54 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_INSERTPROJECTMEMBERSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupRequest.h index e2570abc3..35d6b54fa 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupRequest.h @@ -1,57 +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_LISTCOMMONGROUPREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCommonGroupRequest : public RpcServiceRequest - { - - public: - ListCommonGroupRequest(); - ~ListCommonGroupRequest(); - - bool getAll()const; - void setAll(bool all); - std::string getSmartGroupId()const; - void setSmartGroupId(const std::string& smartGroupId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - bool all_; - std::string smartGroupId_; - std::string projectId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCommonGroupRequest : public RpcServiceRequest { +public: + ListCommonGroupRequest(); + ~ListCommonGroupRequest(); + bool getAll() const; + void setAll(bool all); + std::string getSmartGroupId() const; + void setSmartGroupId(const std::string &smartGroupId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + bool all_; + std::string smartGroupId_; + std::string projectId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCOMMONGROUPREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupResult.h index 329c27518..5faf1d577 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCommonGroupResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct CommonGroup { bool isRoot; - int pos; std::string smartGroupId; + int pos; std::string pinyin; std::string creatorId; int resourceCount; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCredentialsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCredentialsRequest.h index 8c8222f48..08372a352 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListCredentialsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListCredentialsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCredentialsRequest : public RpcServiceRequest - { - - public: - ListCredentialsRequest(); - ~ListCredentialsRequest(); - - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string userPk_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListCredentialsRequest : public RpcServiceRequest { +public: + ListCredentialsRequest(); + ~ListCredentialsRequest(); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string userPk_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTCREDENTIALSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h index e4c6637ad..5c2b1149f 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsRequest.h @@ -1,51 +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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectSprintsRequest : public RpcServiceRequest { +public: + ListDevopsProjectSprintsRequest(); + ~ListDevopsProjectSprintsRequest(); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getPageToken() const; + void setPageToken(const std::string &pageToken); + +private: + long pageSize_; + std::string projectId_; + std::string orgId_; + std::string pageToken_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSPRINTSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h index bf443a7ac..217103cd7 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectSprintsResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud int workTimes; int storyPoints; }; - std::string startDate; std::string status; + std::string startDate; bool isDeleted; std::string accomplished; PlanToDo planToDo; @@ -50,14 +50,15 @@ namespace AlibabaCloud std::string projectId; std::string id; std::string dueDate; - std::string created; std::string name; + std::string created; }; ListDevopsProjectSprintsResult(); explicit ListDevopsProjectSprintsResult(const std::string &payload); ~ListDevopsProjectSprintsResult(); + std::string getNextPageToken()const; std::string getErrorMsg()const; std::vector getObject()const; std::string getErrorCode()const; @@ -66,6 +67,7 @@ namespace AlibabaCloud protected: void parse(const std::string &payload); private: + std::string nextPageToken_; std::string errorMsg_; std::vector object_; std::string errorCode_; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h index 737f80147..03ab95c0c 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h index 3cf32dde5..f1efe1ac6 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKFLOWSTATUSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h index d03a095c1..9242356ee 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h @@ -35,15 +35,15 @@ namespace AlibabaCloud struct TaskflowStatus { bool isDeleted; - std::string rejectStatusIds; std::string taskflowId; + std::string rejectStatusIds; std::string updated; int pos; std::string creatorId; std::string kind; std::string id; - std::string created; std::string name; + std::string created; }; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListRequest.h index 09667b4cb..891a7f95b 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListRequest.h @@ -1,51 +1,45 @@ /* * 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_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskListRequest : public RpcServiceRequest - { - - public: - ListDevopsProjectTaskListRequest(); - ~ListDevopsProjectTaskListRequest(); - - 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_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskListRequest : public RpcServiceRequest { +public: + ListDevopsProjectTaskListRequest(); + ~ListDevopsProjectTaskListRequest(); + 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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h index 64554344d..61570fad9 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h index 2354a5540..8be653c26 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h @@ -41,8 +41,8 @@ namespace AlibabaCloud std::string id; std::string tasklistId; std::string modifierId; - std::string name; std::string created; + std::string name; }; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsRequest.h index ae0054c36..ad18acc7d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsRequest.h @@ -1,60 +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_LISTDEVOPSPROJECTSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectsRequest : public RpcServiceRequest - { - - public: - ListDevopsProjectsRequest(); - ~ListDevopsProjectsRequest(); - - std::string getSelectBy()const; - void setSelectBy(const std::string& selectBy); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getPageToken()const; - void setPageToken(const std::string& pageToken); - - private: - std::string selectBy_; - int pageSize_; - std::string orderBy_; - std::string orgId_; - std::string pageToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectsRequest : public RpcServiceRequest { +public: + ListDevopsProjectsRequest(); + ~ListDevopsProjectsRequest(); + std::string getSelectBy() const; + void setSelectBy(const std::string &selectBy); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrderBy() const; + void setOrderBy(const std::string &orderBy); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getPageToken() const; + void setPageToken(const std::string &pageToken); + +private: + std::string selectBy_; + int pageSize_; + std::string orderBy_; + std::string orgId_; + std::string pageToken_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h index de8283ab1..f2ec9d953 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h @@ -43,10 +43,10 @@ namespace AlibabaCloud int membersCount; std::string organizationId; int tasksCount; - int roleId; - std::string name; + std::string roleId; std::string logo; std::string created; + std::string name; bool isArchived; bool isStar; bool isPublic; diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h index 8f400060e..559c21cec 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h @@ -1,51 +1,45 @@ /* * 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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSSCENARIOFIELDCONFIGREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesRequest.h new file mode 100644 index 000000000..f688637a2 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesRequest.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_LISTPIPELINETEMPLATESREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINETEMPLATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelineTemplatesRequest : public RpcServiceRequest { +public: + ListPipelineTemplatesRequest(); + ~ListPipelineTemplatesRequest(); + int getPageStart() const; + void setPageStart(int pageStart); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + int pageStart_; + int pageNum_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINETEMPLATESREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesResult.h new file mode 100644 index 000000000..710a7d42e --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelineTemplatesResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINETEMPLATESRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINETEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelineTemplatesResult : public ServiceResult + { + public: + struct Data + { + struct 模板列表 + { + std::string templateName; + long id; + }; + std::vector<模板列表> dataList; + float total; + }; + + + ListPipelineTemplatesResult(); + explicit ListPipelineTemplatesResult(const std::string &payload); + ~ListPipelineTemplatesResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINETEMPLATESRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h index 6df8e538c..37c6b1b3e 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelinesRequest : public RpcServiceRequest - { - - public: - ListPipelinesRequest(); - ~ListPipelinesRequest(); - - std::string getPipelineName()const; - void setPipelineName(const std::string& pipelineName); - std::string getResultStatusList()const; - void setResultStatusList(const std::string& resultStatusList); - std::string getCreators()const; - void setCreators(const std::string& creators); - std::string getExecuteEndTime()const; - void setExecuteEndTime(const std::string& executeEndTime); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getCreateStartTime()const; - void setCreateStartTime(const std::string& createStartTime); - std::string getOperators()const; - void setOperators(const std::string& operators); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getExecuteStartTime()const; - void setExecuteStartTime(const std::string& executeStartTime); - int getPageStart()const; - void setPageStart(int pageStart); - std::string getCreateEndTime()const; - void setCreateEndTime(const std::string& createEndTime); - - private: - std::string pipelineName_; - std::string resultStatusList_; - std::string creators_; - std::string executeEndTime_; - std::string userPk_; - std::string orgId_; - std::string createStartTime_; - std::string operators_; - int pageSize_; - std::string executeStartTime_; - int pageStart_; - std::string createEndTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListPipelinesRequest : public RpcServiceRequest { +public: + ListPipelinesRequest(); + ~ListPipelinesRequest(); + std::string getPipelineName() const; + void setPipelineName(const std::string &pipelineName); + std::string getResultStatusList() const; + void setResultStatusList(const std::string &resultStatusList); + std::string getCreators() const; + void setCreators(const std::string &creators); + std::string getExecuteEndTime() const; + void setExecuteEndTime(const std::string &executeEndTime); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getCreateStartTime() const; + void setCreateStartTime(const std::string &createStartTime); + std::string getOperators() const; + void setOperators(const std::string &operators); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getExecuteStartTime() const; + void setExecuteStartTime(const std::string &executeStartTime); + int getPageStart() const; + void setPageStart(int pageStart); + std::string getCreateEndTime() const; + void setCreateEndTime(const std::string &createEndTime); + +private: + std::string pipelineName_; + std::string resultStatusList_; + std::string creators_; + std::string executeEndTime_; + std::string userPk_; + std::string orgId_; + std::string createStartTime_; + std::string operators_; + int pageSize_; + std::string executeStartTime_; + int pageStart_; + std::string createEndTime_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPIPELINESREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListProjectCustomFieldsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListProjectCustomFieldsRequest.h index 9039246c4..009659aa4 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListProjectCustomFieldsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListProjectCustomFieldsRequest.h @@ -1,51 +1,45 @@ /* * 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_LISTPROJECTCUSTOMFIELDSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPROJECTCUSTOMFIELDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListProjectCustomFieldsRequest : public RpcServiceRequest - { - - public: - ListProjectCustomFieldsRequest(); - ~ListProjectCustomFieldsRequest(); - - 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_LISTPROJECTCUSTOMFIELDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPROJECTCUSTOMFIELDSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPROJECTCUSTOMFIELDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListProjectCustomFieldsRequest : public RpcServiceRequest { +public: + ListProjectCustomFieldsRequest(); + ~ListProjectCustomFieldsRequest(); + 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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTPROJECTCUSTOMFIELDSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListServiceConnectionsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListServiceConnectionsRequest.h index 2cdaa07e4..357594447 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListServiceConnectionsRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListServiceConnectionsRequest.h @@ -1,54 +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_LISTSERVICECONNECTIONSREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListServiceConnectionsRequest : public RpcServiceRequest - { - - public: - ListServiceConnectionsRequest(); - ~ListServiceConnectionsRequest(); - - std::string getScType()const; - void setScType(const std::string& scType); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string scType_; - std::string userPk_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListServiceConnectionsRequest : public RpcServiceRequest { +public: + ListServiceConnectionsRequest(); + ~ListServiceConnectionsRequest(); + std::string getScType() const; + void setScType(const std::string &scType); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string scType_; + std::string userPk_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSERVICECONNECTIONSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListSmartGroupRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListSmartGroupRequest.h index bba96ae87..33df205b8 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListSmartGroupRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListSmartGroupRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListSmartGroupRequest : public RpcServiceRequest - { - - public: - ListSmartGroupRequest(); - ~ListSmartGroupRequest(); - - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string projectId_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListSmartGroupRequest : public RpcServiceRequest { +public: + ListSmartGroupRequest(); + ~ListSmartGroupRequest(); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string projectId_; + std::string orgId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTSMARTGROUPREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/ListUserOrganizationRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/ListUserOrganizationRequest.h index c0aa630ff..43c3f5bf5 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/ListUserOrganizationRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/ListUserOrganizationRequest.h @@ -1,48 +1,42 @@ /* * 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_LISTUSERORGANIZATIONREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTUSERORGANIZATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListUserOrganizationRequest : public RpcServiceRequest - { - - public: - ListUserOrganizationRequest(); - ~ListUserOrganizationRequest(); - - std::string getRealPk()const; - void setRealPk(const std::string& realPk); - - private: - std::string realPk_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTUSERORGANIZATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTUSERORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTUSERORGANIZATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListUserOrganizationRequest : public RpcServiceRequest { +public: + ListUserOrganizationRequest(); + ~ListUserOrganizationRequest(); + std::string getRealPk() const; + void setRealPk(const std::string &realPk); + +private: + std::string realPk_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTUSERORGANIZATIONREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/TransferPipelineOwnerRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/TransferPipelineOwnerRequest.h index 596de16d5..c0afca18d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/TransferPipelineOwnerRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/TransferPipelineOwnerRequest.h @@ -1,57 +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_TRANSFERPIPELINEOWNERREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_TRANSFERPIPELINEOWNERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT TransferPipelineOwnerRequest : public RpcServiceRequest - { - - public: - TransferPipelineOwnerRequest(); - ~TransferPipelineOwnerRequest(); - - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - std::string getNewOwnerId()const; - void setNewOwnerId(const std::string& newOwnerId); - - private: - std::string userPk_; - std::string orgId_; - long pipelineId_; - std::string newOwnerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_TRANSFERPIPELINEOWNERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_TRANSFERPIPELINEOWNERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_TRANSFERPIPELINEOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT TransferPipelineOwnerRequest : public RpcServiceRequest { +public: + TransferPipelineOwnerRequest(); + ~TransferPipelineOwnerRequest(); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + std::string getNewOwnerId() const; + void setNewOwnerId(const std::string &newOwnerId); + +private: + std::string userPk_; + std::string orgId_; + long pipelineId_; + std::string newOwnerId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_TRANSFERPIPELINEOWNERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateCommonGroupRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateCommonGroupRequest.h index 4d556920a..7e32b02ab 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateCommonGroupRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateCommonGroupRequest.h @@ -1,63 +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_UPDATECOMMONGROUPREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateCommonGroupRequest : public RpcServiceRequest - { - - public: - UpdateCommonGroupRequest(); - ~UpdateCommonGroupRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getCommonGroupId()const; - void setCommonGroupId(const std::string& commonGroupId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getSmartGroupId()const; - void setSmartGroupId(const std::string& smartGroupId); - std::string getName()const; - void setName(const std::string& name); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - std::string description_; - std::string commonGroupId_; - std::string orgId_; - std::string smartGroupId_; - std::string name_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateCommonGroupRequest : public RpcServiceRequest { +public: + UpdateCommonGroupRequest(); + ~UpdateCommonGroupRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getCommonGroupId() const; + void setCommonGroupId(const std::string &commonGroupId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getSmartGroupId() const; + void setSmartGroupId(const std::string &smartGroupId); + std::string getName() const; + void setName(const std::string &name); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string description_; + std::string commonGroupId_; + std::string orgId_; + std::string smartGroupId_; + std::string name_; + std::string projectId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATECOMMONGROUPREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h index 37d2a3d6f..c74c0f759 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectRequest.h @@ -1,57 +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_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h index 9895a4ad5..6007d7867 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectSprintRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTSPRINTREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h index 7e7f4c9f9..43c0ae4b3 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateDevopsProjectTaskRequest.h @@ -1,87 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKREQUEST_H_ + +#include +#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 ¬e); + 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_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEDEVOPSPROJECTTASKREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsRequest.h new file mode 100644 index 000000000..235c7f79f --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsRequest.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_UPDATEPIPELINEENVVARSREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEENVVARSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdatePipelineEnvVarsRequest : public RpcServiceRequest { +public: + UpdatePipelineEnvVarsRequest(); + ~UpdatePipelineEnvVarsRequest(); + std::string getEnvVars() const; + void setEnvVars(const std::string &envVars); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string envVars_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEENVVARSREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsResult.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsResult.h new file mode 100644 index 000000000..3e86b8cf5 --- /dev/null +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineEnvVarsResult.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_UPDATEPIPELINEENVVARSRESULT_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEENVVARSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Devops_rdc + { + namespace Model + { + class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdatePipelineEnvVarsResult : public ServiceResult + { + public: + + + UpdatePipelineEnvVarsResult(); + explicit UpdatePipelineEnvVarsResult(const std::string &payload); + ~UpdatePipelineEnvVarsResult(); + long getPipelineId()const; + + protected: + void parse(const std::string &payload); + private: + long pipelineId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEENVVARSRESULT_H_ \ No newline at end of file diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineMemberRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineMemberRequest.h index 1873535e4..e7250a185 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineMemberRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdatePipelineMemberRequest.h @@ -1,60 +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_UPDATEPIPELINEMEMBERREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEMEMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdatePipelineMemberRequest : public RpcServiceRequest - { - - public: - UpdatePipelineMemberRequest(); - ~UpdatePipelineMemberRequest(); - - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - std::string getUserPk()const; - void setUserPk(const std::string& userPk); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getPipelineId()const; - void setPipelineId(long pipelineId); - - private: - std::string roleName_; - std::string userPk_; - std::string userId_; - std::string orgId_; - long pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEMEMBERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEMEMBERREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdatePipelineMemberRequest : public RpcServiceRequest { +public: + UpdatePipelineMemberRequest(); + ~UpdatePipelineMemberRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + std::string getUserPk() const; + void setUserPk(const std::string &userPk); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getPipelineId() const; + void setPipelineId(long pipelineId); + +private: + std::string roleName_; + std::string userPk_; + std::string userId_; + std::string orgId_; + long pipelineId_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATEPIPELINEMEMBERREQUEST_H_ diff --git a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateTaskDetailRequest.h b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateTaskDetailRequest.h index 6e0ee4d60..d4712153d 100644 --- a/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateTaskDetailRequest.h +++ b/devops-rdc/include/alibabacloud/devops-rdc/model/UpdateTaskDetailRequest.h @@ -1,99 +1,93 @@ /* * 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_UPDATETASKDETAILREQUEST_H_ -#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATETASKDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Devops_rdc - { - namespace Model - { - class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateTaskDetailRequest : public RpcServiceRequest - { - - public: - UpdateTaskDetailRequest(); - ~UpdateTaskDetailRequest(); - - std::string getNote()const; - void setNote(const std::string& note); - std::string getExecutorId()const; - void setExecutorId(const std::string& executorId); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - std::string getDelInvolvers()const; - void setDelInvolvers(const std::string& delInvolvers); - std::string getContent()const; - void setContent(const std::string& content); - std::string getSprintId()const; - void setSprintId(const std::string& sprintId); - std::string getCustomFieldId()const; - void setCustomFieldId(const std::string& customFieldId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - std::string getTaskFlowStatusId()const; - void setTaskFlowStatusId(const std::string& taskFlowStatusId); - std::string getTagIds()const; - void setTagIds(const std::string& tagIds); - std::string getAddInvolvers()const; - void setAddInvolvers(const std::string& addInvolvers); - long getPriority()const; - void setPriority(long priority); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getDueDate()const; - void setDueDate(const std::string& dueDate); - long getWorkTimes()const; - void setWorkTimes(long workTimes); - std::string getStoryPoint()const; - void setStoryPoint(const std::string& storyPoint); - std::string getCustomFieldValues()const; - void setCustomFieldValues(const std::string& customFieldValues); - - private: - std::string note_; - std::string executorId_; - std::string startDate_; - std::string delInvolvers_; - std::string content_; - std::string sprintId_; - std::string customFieldId_; - std::string projectId_; - std::string taskId_; - std::string taskFlowStatusId_; - std::string tagIds_; - std::string addInvolvers_; - long priority_; - std::string orgId_; - std::string dueDate_; - long workTimes_; - std::string storyPoint_; - std::string customFieldValues_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATETASKDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATETASKDETAILREQUEST_H_ +#define ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATETASKDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Devops_rdc { +namespace Model { +class ALIBABACLOUD_DEVOPS_RDC_EXPORT UpdateTaskDetailRequest : public RpcServiceRequest { +public: + UpdateTaskDetailRequest(); + ~UpdateTaskDetailRequest(); + std::string getNote() const; + void setNote(const std::string ¬e); + std::string getExecutorId() const; + void setExecutorId(const std::string &executorId); + std::string getStartDate() const; + void setStartDate(const std::string &startDate); + std::string getDelInvolvers() const; + void setDelInvolvers(const std::string &delInvolvers); + std::string getContent() const; + void setContent(const std::string &content); + std::string getSprintId() const; + void setSprintId(const std::string &sprintId); + std::string getCustomFieldId() const; + void setCustomFieldId(const std::string &customFieldId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + std::string getTaskFlowStatusId() const; + void setTaskFlowStatusId(const std::string &taskFlowStatusId); + std::string getTagIds() const; + void setTagIds(const std::string &tagIds); + std::string getAddInvolvers() const; + void setAddInvolvers(const std::string &addInvolvers); + long getPriority() const; + void setPriority(long priority); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getDueDate() const; + void setDueDate(const std::string &dueDate); + long getWorkTimes() const; + void setWorkTimes(long workTimes); + std::string getStoryPoint() const; + void setStoryPoint(const std::string &storyPoint); + std::string getCustomFieldValues() const; + void setCustomFieldValues(const std::string &customFieldValues); + +private: + std::string note_; + std::string executorId_; + std::string startDate_; + std::string delInvolvers_; + std::string content_; + std::string sprintId_; + std::string customFieldId_; + std::string projectId_; + std::string taskId_; + std::string taskFlowStatusId_; + std::string tagIds_; + std::string addInvolvers_; + long priority_; + std::string orgId_; + std::string dueDate_; + long workTimes_; + std::string storyPoint_; + std::string customFieldValues_; +}; +} // namespace Model +} // namespace Devops_rdc +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_UPDATETASKDETAILREQUEST_H_ diff --git a/devops-rdc/src/Devops-rdcClient.cc b/devops-rdc/src/Devops-rdcClient.cc index db6e21a6a..dd1e66f58 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::AddCodeupSourceToPipelineOutcome Devops_rdcClient::addCodeupSourceToPipeline(const AddCodeupSourceToPipelineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddCodeupSourceToPipelineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddCodeupSourceToPipelineOutcome(AddCodeupSourceToPipelineResult(outcome.result())); + else + return AddCodeupSourceToPipelineOutcome(outcome.error()); +} + +void Devops_rdcClient::addCodeupSourceToPipelineAsync(const AddCodeupSourceToPipelineRequest& request, const AddCodeupSourceToPipelineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addCodeupSourceToPipeline(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::AddCodeupSourceToPipelineOutcomeCallable Devops_rdcClient::addCodeupSourceToPipelineCallable(const AddCodeupSourceToPipelineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addCodeupSourceToPipeline(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::BatchInsertMembersOutcome Devops_rdcClient::batchInsertMembers(const BatchInsertMembersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +447,42 @@ Devops_rdcClient::CreatePipelineOutcomeCallable Devops_rdcClient::createPipeline return task->get_future(); } +Devops_rdcClient::CreatePipelineFromTemplateOutcome Devops_rdcClient::createPipelineFromTemplate(const CreatePipelineFromTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreatePipelineFromTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreatePipelineFromTemplateOutcome(CreatePipelineFromTemplateResult(outcome.result())); + else + return CreatePipelineFromTemplateOutcome(outcome.error()); +} + +void Devops_rdcClient::createPipelineFromTemplateAsync(const CreatePipelineFromTemplateRequest& request, const CreatePipelineFromTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createPipelineFromTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::CreatePipelineFromTemplateOutcomeCallable Devops_rdcClient::createPipelineFromTemplateCallable(const CreatePipelineFromTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createPipelineFromTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::CreateServiceConnectionOutcome Devops_rdcClient::createServiceConnection(const CreateServiceConnectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1923,6 +1995,42 @@ Devops_rdcClient::ListDevopsScenarioFieldConfigOutcomeCallable Devops_rdcClient: return task->get_future(); } +Devops_rdcClient::ListPipelineTemplatesOutcome Devops_rdcClient::listPipelineTemplates(const ListPipelineTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPipelineTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPipelineTemplatesOutcome(ListPipelineTemplatesResult(outcome.result())); + else + return ListPipelineTemplatesOutcome(outcome.error()); +} + +void Devops_rdcClient::listPipelineTemplatesAsync(const ListPipelineTemplatesRequest& request, const ListPipelineTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPipelineTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::ListPipelineTemplatesOutcomeCallable Devops_rdcClient::listPipelineTemplatesCallable(const ListPipelineTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPipelineTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::ListPipelinesOutcome Devops_rdcClient::listPipelines(const ListPipelinesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2283,6 +2391,42 @@ Devops_rdcClient::UpdateDevopsProjectTaskOutcomeCallable Devops_rdcClient::updat return task->get_future(); } +Devops_rdcClient::UpdatePipelineEnvVarsOutcome Devops_rdcClient::updatePipelineEnvVars(const UpdatePipelineEnvVarsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdatePipelineEnvVarsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdatePipelineEnvVarsOutcome(UpdatePipelineEnvVarsResult(outcome.result())); + else + return UpdatePipelineEnvVarsOutcome(outcome.error()); +} + +void Devops_rdcClient::updatePipelineEnvVarsAsync(const UpdatePipelineEnvVarsRequest& request, const UpdatePipelineEnvVarsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updatePipelineEnvVars(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Devops_rdcClient::UpdatePipelineEnvVarsOutcomeCallable Devops_rdcClient::updatePipelineEnvVarsCallable(const UpdatePipelineEnvVarsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updatePipelineEnvVars(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Devops_rdcClient::UpdatePipelineMemberOutcome Devops_rdcClient::updatePipelineMember(const UpdatePipelineMemberRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/devops-rdc/src/model/AddCodeupSourceToPipelineRequest.cc b/devops-rdc/src/model/AddCodeupSourceToPipelineRequest.cc new file mode 100644 index 000000000..e85a4d5f0 --- /dev/null +++ b/devops-rdc/src/model/AddCodeupSourceToPipelineRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::AddCodeupSourceToPipelineRequest; + +AddCodeupSourceToPipelineRequest::AddCodeupSourceToPipelineRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "AddCodeupSourceToPipeline") { + setMethod(HttpRequest::Method::Post); +} + +AddCodeupSourceToPipelineRequest::~AddCodeupSourceToPipelineRequest() {} + +std::string AddCodeupSourceToPipelineRequest::getCodePath() const { + return codePath_; +} + +void AddCodeupSourceToPipelineRequest::setCodePath(const std::string &codePath) { + codePath_ = codePath; + setParameter(std::string("CodePath"), codePath); +} + +std::string AddCodeupSourceToPipelineRequest::getCodeBranch() const { + return codeBranch_; +} + +void AddCodeupSourceToPipelineRequest::setCodeBranch(const std::string &codeBranch) { + codeBranch_ = codeBranch; + setParameter(std::string("CodeBranch"), codeBranch); +} + +std::string AddCodeupSourceToPipelineRequest::getOrgId() const { + return orgId_; +} + +void AddCodeupSourceToPipelineRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); +} + +long AddCodeupSourceToPipelineRequest::getPipelineId() const { + return pipelineId_; +} + +void AddCodeupSourceToPipelineRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); +} + diff --git a/devops-rdc/src/model/AddCodeupSourceToPipelineResult.cc b/devops-rdc/src/model/AddCodeupSourceToPipelineResult.cc new file mode 100644 index 000000000..723461e79 --- /dev/null +++ b/devops-rdc/src/model/AddCodeupSourceToPipelineResult.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 +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +AddCodeupSourceToPipelineResult::AddCodeupSourceToPipelineResult() : + ServiceResult() +{} + +AddCodeupSourceToPipelineResult::AddCodeupSourceToPipelineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddCodeupSourceToPipelineResult::~AddCodeupSourceToPipelineResult() +{} + +void AddCodeupSourceToPipelineResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PipelineId"].isNull()) + pipelineId_ = std::stol(value["PipelineId"].asString()); + +} + +long AddCodeupSourceToPipelineResult::getPipelineId()const +{ + return pipelineId_; +} + diff --git a/devops-rdc/src/model/BatchInsertMembersRequest.cc b/devops-rdc/src/model/BatchInsertMembersRequest.cc index d34870f2f..6ee19635d 100644 --- a/devops-rdc/src/model/BatchInsertMembersRequest.cc +++ b/devops-rdc/src/model/BatchInsertMembersRequest.cc @@ -1,62 +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. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::BatchInsertMembersRequest; + +BatchInsertMembersRequest::BatchInsertMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "BatchInsertMembers") { + setMethod(HttpRequest::Method::Post); } -void BatchInsertMembersRequest::setMembers(const std::string& members) -{ - members_ = members; - setBodyParameter("Members", members); +BatchInsertMembersRequest::~BatchInsertMembersRequest() {} + +std::string BatchInsertMembersRequest::getMembers() const { + return members_; } -std::string BatchInsertMembersRequest::getRealPk()const -{ - return realPk_; +void BatchInsertMembersRequest::setMembers(const std::string &members) { + members_ = members; + setBodyParameter(std::string("Members"), members); } -void BatchInsertMembersRequest::setRealPk(const std::string& realPk) -{ - realPk_ = realPk; - setBodyParameter("RealPk", realPk); +std::string BatchInsertMembersRequest::getRealPk() const { + return realPk_; } -std::string BatchInsertMembersRequest::getOrgId()const -{ - return orgId_; +void BatchInsertMembersRequest::setRealPk(const std::string &realPk) { + realPk_ = realPk; + setBodyParameter(std::string("RealPk"), realPk); } -void BatchInsertMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string BatchInsertMembersRequest::getOrgId() const { + return orgId_; +} + +void BatchInsertMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/BatchInsertMembersResult.cc b/devops-rdc/src/model/BatchInsertMembersResult.cc index ee77b46c2..96a0b5431 100644 --- a/devops-rdc/src/model/BatchInsertMembersResult.cc +++ b/devops-rdc/src/model/BatchInsertMembersResult.cc @@ -39,14 +39,14 @@ void BatchInsertMembersResult::parse(const std::string &payload) 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"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CancelPipelineRequest.cc b/devops-rdc/src/model/CancelPipelineRequest.cc index fec12b81e..e0e6617ca 100644 --- a/devops-rdc/src/model/CancelPipelineRequest.cc +++ b/devops-rdc/src/model/CancelPipelineRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::CancelPipelineRequest; - -CancelPipelineRequest::CancelPipelineRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "CancelPipeline") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelPipelineRequest::~CancelPipelineRequest() -{} - -long CancelPipelineRequest::getFlowInstanceId()const -{ - return flowInstanceId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CancelPipelineRequest; + +CancelPipelineRequest::CancelPipelineRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CancelPipeline") { + setMethod(HttpRequest::Method::Post); } -void CancelPipelineRequest::setFlowInstanceId(long flowInstanceId) -{ - flowInstanceId_ = flowInstanceId; - setBodyParameter("FlowInstanceId", std::to_string(flowInstanceId)); +CancelPipelineRequest::~CancelPipelineRequest() {} + +long CancelPipelineRequest::getFlowInstanceId() const { + return flowInstanceId_; } -std::string CancelPipelineRequest::getUserPk()const -{ - return userPk_; +void CancelPipelineRequest::setFlowInstanceId(long flowInstanceId) { + flowInstanceId_ = flowInstanceId; + setBodyParameter(std::string("FlowInstanceId"), std::to_string(flowInstanceId)); } -void CancelPipelineRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string CancelPipelineRequest::getUserPk() const { + return userPk_; } -std::string CancelPipelineRequest::getOrgId()const -{ - return orgId_; +void CancelPipelineRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void CancelPipelineRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CancelPipelineRequest::getOrgId() const { + return orgId_; } -long CancelPipelineRequest::getPipelineId()const -{ - return pipelineId_; +void CancelPipelineRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CancelPipelineRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long CancelPipelineRequest::getPipelineId() const { + return pipelineId_; +} + +void CancelPipelineRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/CancelPipelineResult.cc b/devops-rdc/src/model/CancelPipelineResult.cc index 6b778ec77..7c6375dbb 100644 --- a/devops-rdc/src/model/CancelPipelineResult.cc +++ b/devops-rdc/src/model/CancelPipelineResult.cc @@ -39,14 +39,14 @@ void CancelPipelineResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); if(!value["Object"].isNull()) object_ = value["Object"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc b/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc index d5555bfa6..6cf4c3d9d 100644 --- a/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc +++ b/devops-rdc/src/model/CheckAliyunAccountExistsRequest.cc @@ -1,40 +1,36 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CheckAliyunAccountExistsRequest; + +CheckAliyunAccountExistsRequest::CheckAliyunAccountExistsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CheckAliyunAccountExists") { + setMethod(HttpRequest::Method::Post); } -void CheckAliyunAccountExistsRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +CheckAliyunAccountExistsRequest::~CheckAliyunAccountExistsRequest() {} + +std::string CheckAliyunAccountExistsRequest::getUserPk() const { + return userPk_; +} + +void CheckAliyunAccountExistsRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } diff --git a/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc b/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc index a6183bc9b..173d09137 100644 --- a/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc +++ b/devops-rdc/src/model/CheckAliyunAccountExistsResult.cc @@ -39,14 +39,14 @@ void CheckAliyunAccountExistsResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CreateCommonGroupRequest.cc b/devops-rdc/src/model/CreateCommonGroupRequest.cc index 6824540c0..1f90dd585 100644 --- a/devops-rdc/src/model/CreateCommonGroupRequest.cc +++ b/devops-rdc/src/model/CreateCommonGroupRequest.cc @@ -1,84 +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 - -using AlibabaCloud::Devops_rdc::Model::CreateCommonGroupRequest; - -CreateCommonGroupRequest::CreateCommonGroupRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "CreateCommonGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCommonGroupRequest::~CreateCommonGroupRequest() -{} - -std::string CreateCommonGroupRequest::getSmartGroupId()const -{ - return smartGroupId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateCommonGroupRequest; + +CreateCommonGroupRequest::CreateCommonGroupRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateCommonGroup") { + setMethod(HttpRequest::Method::Post); } -void CreateCommonGroupRequest::setSmartGroupId(const std::string& smartGroupId) -{ - smartGroupId_ = smartGroupId; - setBodyParameter("SmartGroupId", smartGroupId); +CreateCommonGroupRequest::~CreateCommonGroupRequest() {} + +std::string CreateCommonGroupRequest::getSmartGroupId() const { + return smartGroupId_; } -std::string CreateCommonGroupRequest::getName()const -{ - return name_; +void CreateCommonGroupRequest::setSmartGroupId(const std::string &smartGroupId) { + smartGroupId_ = smartGroupId; + setBodyParameter(std::string("SmartGroupId"), smartGroupId); } -void CreateCommonGroupRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateCommonGroupRequest::getName() const { + return name_; } -std::string CreateCommonGroupRequest::getDescription()const -{ - return description_; +void CreateCommonGroupRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateCommonGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateCommonGroupRequest::getDescription() const { + return description_; } -std::string CreateCommonGroupRequest::getProjectId()const -{ - return projectId_; +void CreateCommonGroupRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateCommonGroupRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string CreateCommonGroupRequest::getProjectId() const { + return projectId_; } -std::string CreateCommonGroupRequest::getOrgId()const -{ - return orgId_; +void CreateCommonGroupRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void CreateCommonGroupRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateCommonGroupRequest::getOrgId() const { + return orgId_; +} + +void CreateCommonGroupRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/CreateCommonGroupResult.cc b/devops-rdc/src/model/CreateCommonGroupResult.cc index 0fc470b9a..593c22bca 100644 --- a/devops-rdc/src/model/CreateCommonGroupResult.cc +++ b/devops-rdc/src/model/CreateCommonGroupResult.cc @@ -42,12 +42,12 @@ void CreateCommonGroupResult::parse(const std::string &payload) auto objectNode = value["Object"]; if(!objectNode["Id"].isNull()) object_.id = objectNode["Id"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/CreateCredentialRequest.cc b/devops-rdc/src/model/CreateCredentialRequest.cc index 67bc73e60..507a594e6 100644 --- a/devops-rdc/src/model/CreateCredentialRequest.cc +++ b/devops-rdc/src/model/CreateCredentialRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::CreateCredentialRequest; - -CreateCredentialRequest::CreateCredentialRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "CreateCredential") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCredentialRequest::~CreateCredentialRequest() -{} - -std::string CreateCredentialRequest::getType()const -{ - return type_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateCredentialRequest; + +CreateCredentialRequest::CreateCredentialRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateCredential") { + setMethod(HttpRequest::Method::Post); } -void CreateCredentialRequest::setType(const std::string& type) -{ - type_ = type; - setBodyParameter("Type", type); +CreateCredentialRequest::~CreateCredentialRequest() {} + +std::string CreateCredentialRequest::getType() const { + return type_; } -std::string CreateCredentialRequest::getUserPk()const -{ - return userPk_; +void CreateCredentialRequest::setType(const std::string &type) { + type_ = type; + setBodyParameter(std::string("Type"), type); } -void CreateCredentialRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string CreateCredentialRequest::getUserPk() const { + return userPk_; } -std::string CreateCredentialRequest::getOrgId()const -{ - return orgId_; +void CreateCredentialRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void CreateCredentialRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateCredentialRequest::getOrgId() const { + return orgId_; } -std::string CreateCredentialRequest::getPassword()const -{ - return password_; +void CreateCredentialRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CreateCredentialRequest::setPassword(const std::string& password) -{ - password_ = password; - setBodyParameter("Password", password); +std::string CreateCredentialRequest::getPassword() const { + return password_; } -std::string CreateCredentialRequest::getName()const -{ - return name_; +void CreateCredentialRequest::setPassword(const std::string &password) { + password_ = password; + setBodyParameter(std::string("Password"), password); } -void CreateCredentialRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateCredentialRequest::getName() const { + return name_; } -std::string CreateCredentialRequest::getUserName()const -{ - return userName_; +void CreateCredentialRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateCredentialRequest::setUserName(const std::string& userName) -{ - userName_ = userName; - setBodyParameter("UserName", userName); +std::string CreateCredentialRequest::getUserName() const { + return userName_; +} + +void CreateCredentialRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); } diff --git a/devops-rdc/src/model/CreateCredentialResult.cc b/devops-rdc/src/model/CreateCredentialResult.cc index 3c29433a0..8cb83f596 100644 --- a/devops-rdc/src/model/CreateCredentialResult.cc +++ b/devops-rdc/src/model/CreateCredentialResult.cc @@ -39,14 +39,14 @@ void CreateCredentialResult::parse(const std::string &payload) 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_ = std::stol(value["Object"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc b/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc index d0a870630..031ab51ea 100644 --- a/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc +++ b/devops-rdc/src/model/CreateDevopsOrganizationRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsOrganizationRequest; + +CreateDevopsOrganizationRequest::CreateDevopsOrganizationRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsOrganization") { + setMethod(HttpRequest::Method::Post); } -void CreateDevopsOrganizationRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +CreateDevopsOrganizationRequest::~CreateDevopsOrganizationRequest() {} + +std::string CreateDevopsOrganizationRequest::getOrgName() const { + return orgName_; } -std::string CreateDevopsOrganizationRequest::getSource()const -{ - return source_; +void CreateDevopsOrganizationRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void CreateDevopsOrganizationRequest::setSource(const std::string& source) -{ - source_ = source; - setBodyParameter("Source", source); +std::string CreateDevopsOrganizationRequest::getSource() const { + return source_; } -std::string CreateDevopsOrganizationRequest::getRealPk()const -{ - return realPk_; +void CreateDevopsOrganizationRequest::setSource(const std::string &source) { + source_ = source; + setBodyParameter(std::string("Source"), source); } -void CreateDevopsOrganizationRequest::setRealPk(const std::string& realPk) -{ - realPk_ = realPk; - setBodyParameter("RealPk", realPk); +std::string CreateDevopsOrganizationRequest::getRealPk() const { + return realPk_; } -int CreateDevopsOrganizationRequest::getDesiredMemberCount()const -{ - return desiredMemberCount_; +void CreateDevopsOrganizationRequest::setRealPk(const std::string &realPk) { + realPk_ = realPk; + setBodyParameter(std::string("RealPk"), realPk); } -void CreateDevopsOrganizationRequest::setDesiredMemberCount(int desiredMemberCount) -{ - desiredMemberCount_ = desiredMemberCount; - setBodyParameter("DesiredMemberCount", std::to_string(desiredMemberCount)); +int CreateDevopsOrganizationRequest::getDesiredMemberCount() const { + return desiredMemberCount_; +} + +void CreateDevopsOrganizationRequest::setDesiredMemberCount(int desiredMemberCount) { + desiredMemberCount_ = desiredMemberCount; + setBodyParameter(std::string("DesiredMemberCount"), std::to_string(desiredMemberCount)); } diff --git a/devops-rdc/src/model/CreateDevopsOrganizationResult.cc b/devops-rdc/src/model/CreateDevopsOrganizationResult.cc index 0aef65ad7..70e75e549 100644 --- a/devops-rdc/src/model/CreateDevopsOrganizationResult.cc +++ b/devops-rdc/src/model/CreateDevopsOrganizationResult.cc @@ -39,14 +39,14 @@ void CreateDevopsOrganizationResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CreateDevopsProjectRequest.cc b/devops-rdc/src/model/CreateDevopsProjectRequest.cc index c89c1f472..20fdf1710 100644 --- a/devops-rdc/src/model/CreateDevopsProjectRequest.cc +++ b/devops-rdc/src/model/CreateDevopsProjectRequest.cc @@ -1,62 +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. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectRequest; + +CreateDevopsProjectRequest::CreateDevopsProjectRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProject") { + setMethod(HttpRequest::Method::Post); } -void CreateDevopsProjectRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +CreateDevopsProjectRequest::~CreateDevopsProjectRequest() {} + +std::string CreateDevopsProjectRequest::getName() const { + return name_; } -std::string CreateDevopsProjectRequest::getDescription()const -{ - return description_; +void CreateDevopsProjectRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateDevopsProjectRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateDevopsProjectRequest::getDescription() const { + return description_; } -std::string CreateDevopsProjectRequest::getOrgId()const -{ - return orgId_; +void CreateDevopsProjectRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateDevopsProjectRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateDevopsProjectRequest::getOrgId() const { + return orgId_; +} + +void CreateDevopsProjectRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/CreateDevopsProjectResult.cc b/devops-rdc/src/model/CreateDevopsProjectResult.cc index 7966e6c25..3a64abf7a 100644 --- a/devops-rdc/src/model/CreateDevopsProjectResult.cc +++ b/devops-rdc/src/model/CreateDevopsProjectResult.cc @@ -39,14 +39,14 @@ void CreateDevopsProjectResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc b/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc index c5254ecc7..c3076b536 100644 --- a/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc +++ b/devops-rdc/src/model/CreateDevopsProjectSprintRequest.cc @@ -1,106 +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 - -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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectSprintRequest; + +CreateDevopsProjectSprintRequest::CreateDevopsProjectSprintRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProjectSprint") { + setMethod(HttpRequest::Method::Post); } -void CreateDevopsProjectSprintRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +CreateDevopsProjectSprintRequest::~CreateDevopsProjectSprintRequest() {} + +std::string CreateDevopsProjectSprintRequest::getExecutorId() const { + return executorId_; } -std::string CreateDevopsProjectSprintRequest::getDescription()const -{ - return description_; +void CreateDevopsProjectSprintRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void CreateDevopsProjectSprintRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateDevopsProjectSprintRequest::getDescription() const { + return description_; } -std::string CreateDevopsProjectSprintRequest::getStartDate()const -{ - return startDate_; +void CreateDevopsProjectSprintRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateDevopsProjectSprintRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string CreateDevopsProjectSprintRequest::getStartDate() const { + return startDate_; } -std::string CreateDevopsProjectSprintRequest::getOrgId()const -{ - return orgId_; +void CreateDevopsProjectSprintRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void CreateDevopsProjectSprintRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateDevopsProjectSprintRequest::getOrgId() const { + return orgId_; } -std::string CreateDevopsProjectSprintRequest::getDueDate()const -{ - return dueDate_; +void CreateDevopsProjectSprintRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CreateDevopsProjectSprintRequest::setDueDate(const std::string& dueDate) -{ - dueDate_ = dueDate; - setBodyParameter("DueDate", dueDate); +std::string CreateDevopsProjectSprintRequest::getDueDate() const { + return dueDate_; } -std::string CreateDevopsProjectSprintRequest::getName()const -{ - return name_; +void CreateDevopsProjectSprintRequest::setDueDate(const std::string &dueDate) { + dueDate_ = dueDate; + setBodyParameter(std::string("DueDate"), dueDate); } -void CreateDevopsProjectSprintRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateDevopsProjectSprintRequest::getName() const { + return name_; } -std::string CreateDevopsProjectSprintRequest::getProjectId()const -{ - return projectId_; +void CreateDevopsProjectSprintRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateDevopsProjectSprintRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string CreateDevopsProjectSprintRequest::getProjectId() const { + return projectId_; +} + +void CreateDevopsProjectSprintRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } diff --git a/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc b/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc index ae66f60a9..cf22714e3 100644 --- a/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc +++ b/devops-rdc/src/model/CreateDevopsProjectSprintResult.cc @@ -40,45 +40,45 @@ void CreateDevopsProjectSprintResult::parse(const std::string &payload) 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["Status"].isNull()) + object_.status = objectNode["Status"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Executor"].isNull()) + object_.executor = objectNode["Executor"].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(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].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(!planToDoNode["WorkTimes"].isNull()) + object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["StoryPoints"].isNull()) + object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc b/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc index 0afa84c95..934eec8f1 100644 --- a/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc +++ b/devops-rdc/src/model/CreateDevopsProjectTaskRequest.cc @@ -1,183 +1,153 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectTaskRequest; + +CreateDevopsProjectTaskRequest::CreateDevopsProjectTaskRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProjectTask") { + setMethod(HttpRequest::Method::Post); } -void CreateDevopsProjectTaskRequest::setNote(const std::string& note) -{ - note_ = note; - setBodyParameter("Note", note); +CreateDevopsProjectTaskRequest::~CreateDevopsProjectTaskRequest() {} + +std::string CreateDevopsProjectTaskRequest::getNote() const { + return note_; } -std::string CreateDevopsProjectTaskRequest::getVisible()const -{ - return visible_; +void CreateDevopsProjectTaskRequest::setNote(const std::string ¬e) { + note_ = note; + setBodyParameter(std::string("Note"), note); } -void CreateDevopsProjectTaskRequest::setVisible(const std::string& visible) -{ - visible_ = visible; - setBodyParameter("Visible", visible); +std::string CreateDevopsProjectTaskRequest::getVisible() const { + return visible_; } -std::string CreateDevopsProjectTaskRequest::getExecutorId()const -{ - return executorId_; +void CreateDevopsProjectTaskRequest::setVisible(const std::string &visible) { + visible_ = visible; + setBodyParameter(std::string("Visible"), visible); } -void CreateDevopsProjectTaskRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +std::string CreateDevopsProjectTaskRequest::getExecutorId() const { + return executorId_; } -std::string CreateDevopsProjectTaskRequest::getTaskFlowStatusId()const -{ - return taskFlowStatusId_; +void CreateDevopsProjectTaskRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void CreateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) -{ - taskFlowStatusId_ = taskFlowStatusId; - setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +std::string CreateDevopsProjectTaskRequest::getTaskFlowStatusId() const { + return taskFlowStatusId_; } -std::string CreateDevopsProjectTaskRequest::getStartDate()const -{ - return startDate_; +void CreateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string &taskFlowStatusId) { + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter(std::string("TaskFlowStatusId"), taskFlowStatusId); } -void CreateDevopsProjectTaskRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string CreateDevopsProjectTaskRequest::getStartDate() const { + return startDate_; } -int CreateDevopsProjectTaskRequest::getPriority()const -{ - return priority_; +void CreateDevopsProjectTaskRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void CreateDevopsProjectTaskRequest::setPriority(int priority) -{ - priority_ = priority; - setBodyParameter("Priority", std::to_string(priority)); +int CreateDevopsProjectTaskRequest::getPriority() const { + return priority_; } -std::string CreateDevopsProjectTaskRequest::getParentTaskId()const -{ - return parentTaskId_; +void CreateDevopsProjectTaskRequest::setPriority(int priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), std::to_string(priority)); } -void CreateDevopsProjectTaskRequest::setParentTaskId(const std::string& parentTaskId) -{ - parentTaskId_ = parentTaskId; - setBodyParameter("ParentTaskId", parentTaskId); +std::string CreateDevopsProjectTaskRequest::getParentTaskId() const { + return parentTaskId_; } -std::string CreateDevopsProjectTaskRequest::getOrgId()const -{ - return orgId_; +void CreateDevopsProjectTaskRequest::setParentTaskId(const std::string &parentTaskId) { + parentTaskId_ = parentTaskId; + setBodyParameter(std::string("ParentTaskId"), parentTaskId); } -void CreateDevopsProjectTaskRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateDevopsProjectTaskRequest::getOrgId() const { + return orgId_; } -std::string CreateDevopsProjectTaskRequest::getContent()const -{ - return content_; +void CreateDevopsProjectTaskRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CreateDevopsProjectTaskRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string CreateDevopsProjectTaskRequest::getContent() const { + return content_; } -std::string CreateDevopsProjectTaskRequest::getSprintId()const -{ - return sprintId_; +void CreateDevopsProjectTaskRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } -void CreateDevopsProjectTaskRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +std::string CreateDevopsProjectTaskRequest::getSprintId() const { + return sprintId_; } -std::string CreateDevopsProjectTaskRequest::getDueDate()const -{ - return dueDate_; +void CreateDevopsProjectTaskRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void CreateDevopsProjectTaskRequest::setDueDate(const std::string& dueDate) -{ - dueDate_ = dueDate; - setBodyParameter("DueDate", dueDate); +std::string CreateDevopsProjectTaskRequest::getDueDate() const { + return dueDate_; } -std::string CreateDevopsProjectTaskRequest::getScenarioFieldConfigId()const -{ - return scenarioFieldConfigId_; +void CreateDevopsProjectTaskRequest::setDueDate(const std::string &dueDate) { + dueDate_ = dueDate; + setBodyParameter(std::string("DueDate"), dueDate); } -void CreateDevopsProjectTaskRequest::setScenarioFieldConfigId(const std::string& scenarioFieldConfigId) -{ - scenarioFieldConfigId_ = scenarioFieldConfigId; - setBodyParameter("ScenarioFieldConfigId", scenarioFieldConfigId); +std::string CreateDevopsProjectTaskRequest::getScenarioFieldConfigId() const { + return scenarioFieldConfigId_; } -std::string CreateDevopsProjectTaskRequest::getProjectId()const -{ - return projectId_; +void CreateDevopsProjectTaskRequest::setScenarioFieldConfigId(const std::string &scenarioFieldConfigId) { + scenarioFieldConfigId_ = scenarioFieldConfigId; + setBodyParameter(std::string("ScenarioFieldConfigId"), scenarioFieldConfigId); } -void CreateDevopsProjectTaskRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string CreateDevopsProjectTaskRequest::getProjectId() const { + return projectId_; } -std::string CreateDevopsProjectTaskRequest::getTaskListId()const -{ - return taskListId_; +void CreateDevopsProjectTaskRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void CreateDevopsProjectTaskRequest::setTaskListId(const std::string& taskListId) -{ - taskListId_ = taskListId; - setBodyParameter("TaskListId", taskListId); +std::string CreateDevopsProjectTaskRequest::getTaskListId() const { + return taskListId_; +} + +void CreateDevopsProjectTaskRequest::setTaskListId(const std::string &taskListId) { + taskListId_ = taskListId; + setBodyParameter(std::string("TaskListId"), taskListId); } diff --git a/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc b/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc index 38ecbf47b..ed388c653 100644 --- a/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc +++ b/devops-rdc/src/model/CreateDevopsProjectTaskResult.cc @@ -40,62 +40,62 @@ void CreateDevopsProjectTaskResult::parse(const std::string &payload) 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["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].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["ScenarioFieldConfigId"].isNull()) + object_.scenarioFieldConfigId = objectNode["ScenarioFieldConfigId"].asString(); + if(!objectNode["AncestorIds"].isNull()) + object_.ancestorIds = objectNode["AncestorIds"].asString(); + if(!objectNode["TaskType"].isNull()) + object_.taskType = objectNode["TaskType"].asString(); + if(!objectNode["TasklistId"].isNull()) + object_.tasklistId = objectNode["TasklistId"].asString(); + if(!objectNode["TaskflowstatusId"].isNull()) + object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); + if(!objectNode["Note"].isNull()) + object_.note = objectNode["Note"].asString(); if(!objectNode["Updated"].isNull()) object_.updated = objectNode["Updated"].asString(); if(!objectNode["UniqueId"].isNull()) object_.uniqueId = std::stoi(objectNode["UniqueId"].asString()); + if(!objectNode["Content"].isNull()) + object_.content = objectNode["Content"].asString(); + if(!objectNode["Rating"].isNull()) + object_.rating = std::stoi(objectNode["Rating"].asString()); + if(!objectNode["Pos"].isNull()) + object_.pos = std::stoi(objectNode["Pos"].asString()); + if(!objectNode["StoryPoint"].isNull()) + object_.storyPoint = objectNode["StoryPoint"].asString(); if(!objectNode["StartDate"].isNull()) object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Source"].isNull()) + object_.source = objectNode["Source"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["Visible"].isNull()) + object_.visible = objectNode["Visible"].asString(); + if(!objectNode["IsDone"].isNull()) + object_.isDone = objectNode["IsDone"].asString() == "true"; if(!objectNode["SprintId"].isNull()) object_.sprintId = objectNode["SprintId"].asString(); - if(!objectNode["ProjectId"].isNull()) - object_.projectId = objectNode["ProjectId"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/CreatePipelineFromTemplateRequest.cc b/devops-rdc/src/model/CreatePipelineFromTemplateRequest.cc new file mode 100644 index 000000000..526ddf540 --- /dev/null +++ b/devops-rdc/src/model/CreatePipelineFromTemplateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreatePipelineFromTemplateRequest; + +CreatePipelineFromTemplateRequest::CreatePipelineFromTemplateRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreatePipelineFromTemplate") { + setMethod(HttpRequest::Method::Post); +} + +CreatePipelineFromTemplateRequest::~CreatePipelineFromTemplateRequest() {} + +std::string CreatePipelineFromTemplateRequest::getPipelineName() const { + return pipelineName_; +} + +void CreatePipelineFromTemplateRequest::setPipelineName(const std::string &pipelineName) { + pipelineName_ = pipelineName; + setParameter(std::string("PipelineName"), pipelineName); +} + +std::string CreatePipelineFromTemplateRequest::getOrgId() const { + return orgId_; +} + +void CreatePipelineFromTemplateRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); +} + +long CreatePipelineFromTemplateRequest::getPipelineTemplateId() const { + return pipelineTemplateId_; +} + +void CreatePipelineFromTemplateRequest::setPipelineTemplateId(long pipelineTemplateId) { + pipelineTemplateId_ = pipelineTemplateId; + setParameter(std::string("PipelineTemplateId"), std::to_string(pipelineTemplateId)); +} + diff --git a/devops-rdc/src/model/CreatePipelineFromTemplateResult.cc b/devops-rdc/src/model/CreatePipelineFromTemplateResult.cc new file mode 100644 index 000000000..667788036 --- /dev/null +++ b/devops-rdc/src/model/CreatePipelineFromTemplateResult.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 +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +CreatePipelineFromTemplateResult::CreatePipelineFromTemplateResult() : + ServiceResult() +{} + +CreatePipelineFromTemplateResult::CreatePipelineFromTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatePipelineFromTemplateResult::~CreatePipelineFromTemplateResult() +{} + +void CreatePipelineFromTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PipelineId"].isNull()) + pipelineId_ = std::stol(value["PipelineId"].asString()); + +} + +long CreatePipelineFromTemplateResult::getPipelineId()const +{ + return pipelineId_; +} + diff --git a/devops-rdc/src/model/CreatePipelineRequest.cc b/devops-rdc/src/model/CreatePipelineRequest.cc index fa496f15d..68d37792d 100644 --- a/devops-rdc/src/model/CreatePipelineRequest.cc +++ b/devops-rdc/src/model/CreatePipelineRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::CreatePipelineRequest; - -CreatePipelineRequest::CreatePipelineRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "CreatePipeline") -{ - setMethod(HttpRequest::Method::Post); -} - -CreatePipelineRequest::~CreatePipelineRequest() -{} - -std::string CreatePipelineRequest::getPipeline()const -{ - return pipeline_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreatePipelineRequest; + +CreatePipelineRequest::CreatePipelineRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreatePipeline") { + setMethod(HttpRequest::Method::Post); } -void CreatePipelineRequest::setPipeline(const std::string& pipeline) -{ - pipeline_ = pipeline; - setBodyParameter("Pipeline", pipeline); +CreatePipelineRequest::~CreatePipelineRequest() {} + +std::string CreatePipelineRequest::getPipeline() const { + return pipeline_; } -std::string CreatePipelineRequest::getUserPk()const -{ - return userPk_; +void CreatePipelineRequest::setPipeline(const std::string &pipeline) { + pipeline_ = pipeline; + setBodyParameter(std::string("Pipeline"), pipeline); } -void CreatePipelineRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string CreatePipelineRequest::getUserPk() const { + return userPk_; } -std::string CreatePipelineRequest::getOrgId()const -{ - return orgId_; +void CreatePipelineRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void CreatePipelineRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreatePipelineRequest::getOrgId() const { + return orgId_; +} + +void CreatePipelineRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/CreatePipelineResult.cc b/devops-rdc/src/model/CreatePipelineResult.cc index 9ac94dd81..539f5a1e8 100644 --- a/devops-rdc/src/model/CreatePipelineResult.cc +++ b/devops-rdc/src/model/CreatePipelineResult.cc @@ -39,14 +39,14 @@ void CreatePipelineResult::parse(const std::string &payload) 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_ = std::stol(value["Object"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/CreateServiceConnectionRequest.cc b/devops-rdc/src/model/CreateServiceConnectionRequest.cc index b0a09aaa2..0d908c1b7 100644 --- a/devops-rdc/src/model/CreateServiceConnectionRequest.cc +++ b/devops-rdc/src/model/CreateServiceConnectionRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::CreateServiceConnectionRequest; - -CreateServiceConnectionRequest::CreateServiceConnectionRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "CreateServiceConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateServiceConnectionRequest::~CreateServiceConnectionRequest() -{} - -std::string CreateServiceConnectionRequest::getServiceConnectionType()const -{ - return serviceConnectionType_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::CreateServiceConnectionRequest; + +CreateServiceConnectionRequest::CreateServiceConnectionRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "CreateServiceConnection") { + setMethod(HttpRequest::Method::Post); } -void CreateServiceConnectionRequest::setServiceConnectionType(const std::string& serviceConnectionType) -{ - serviceConnectionType_ = serviceConnectionType; - setBodyParameter("ServiceConnectionType", serviceConnectionType); +CreateServiceConnectionRequest::~CreateServiceConnectionRequest() {} + +std::string CreateServiceConnectionRequest::getServiceConnectionType() const { + return serviceConnectionType_; } -std::string CreateServiceConnectionRequest::getUserPk()const -{ - return userPk_; +void CreateServiceConnectionRequest::setServiceConnectionType(const std::string &serviceConnectionType) { + serviceConnectionType_ = serviceConnectionType; + setBodyParameter(std::string("ServiceConnectionType"), serviceConnectionType); } -void CreateServiceConnectionRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string CreateServiceConnectionRequest::getUserPk() const { + return userPk_; } -std::string CreateServiceConnectionRequest::getOrgId()const -{ - return orgId_; +void CreateServiceConnectionRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void CreateServiceConnectionRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CreateServiceConnectionRequest::getOrgId() const { + return orgId_; +} + +void CreateServiceConnectionRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/CreateServiceConnectionResult.cc b/devops-rdc/src/model/CreateServiceConnectionResult.cc index 88f099cb3..51d3daaae 100644 --- a/devops-rdc/src/model/CreateServiceConnectionResult.cc +++ b/devops-rdc/src/model/CreateServiceConnectionResult.cc @@ -39,14 +39,14 @@ void CreateServiceConnectionResult::parse(const std::string &payload) 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_ = std::stol(value["Object"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteCommonGroupRequest.cc b/devops-rdc/src/model/DeleteCommonGroupRequest.cc index 173650e43..f0af133dc 100644 --- a/devops-rdc/src/model/DeleteCommonGroupRequest.cc +++ b/devops-rdc/src/model/DeleteCommonGroupRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::DeleteCommonGroupRequest; - -DeleteCommonGroupRequest::DeleteCommonGroupRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteCommonGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCommonGroupRequest::~DeleteCommonGroupRequest() -{} - -std::string DeleteCommonGroupRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteCommonGroupRequest; + +DeleteCommonGroupRequest::DeleteCommonGroupRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteCommonGroup") { + setMethod(HttpRequest::Method::Post); } -void DeleteCommonGroupRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +DeleteCommonGroupRequest::~DeleteCommonGroupRequest() {} + +std::string DeleteCommonGroupRequest::getProjectId() const { + return projectId_; } -std::string DeleteCommonGroupRequest::getCommonGroupId()const -{ - return commonGroupId_; +void DeleteCommonGroupRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void DeleteCommonGroupRequest::setCommonGroupId(const std::string& commonGroupId) -{ - commonGroupId_ = commonGroupId; - setBodyParameter("CommonGroupId", commonGroupId); +std::string DeleteCommonGroupRequest::getCommonGroupId() const { + return commonGroupId_; } -std::string DeleteCommonGroupRequest::getOrgId()const -{ - return orgId_; +void DeleteCommonGroupRequest::setCommonGroupId(const std::string &commonGroupId) { + commonGroupId_ = commonGroupId; + setBodyParameter(std::string("CommonGroupId"), commonGroupId); } -void DeleteCommonGroupRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DeleteCommonGroupRequest::getOrgId() const { + return orgId_; +} + +void DeleteCommonGroupRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteCommonGroupResult.cc b/devops-rdc/src/model/DeleteCommonGroupResult.cc index 6fb513278..d39df73c1 100644 --- a/devops-rdc/src/model/DeleteCommonGroupResult.cc +++ b/devops-rdc/src/model/DeleteCommonGroupResult.cc @@ -42,12 +42,12 @@ void DeleteCommonGroupResult::parse(const std::string &payload) auto objectNode = value["Object"]; if(!objectNode["Id"].isNull()) object_.id = objectNode["Id"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc b/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc index f9020df4b..6f095c115 100644 --- a/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsOrganizationMembersRequest.cc @@ -1,62 +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. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsOrganizationMembersRequest; + +DeleteDevopsOrganizationMembersRequest::DeleteDevopsOrganizationMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsOrganizationMembers") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsOrganizationMembersRequest::setRealPk(const std::string& realPk) -{ - realPk_ = realPk; - setBodyParameter("RealPk", realPk); +DeleteDevopsOrganizationMembersRequest::~DeleteDevopsOrganizationMembersRequest() {} + +std::string DeleteDevopsOrganizationMembersRequest::getRealPk() const { + return realPk_; } -std::string DeleteDevopsOrganizationMembersRequest::getUserId()const -{ - return userId_; +void DeleteDevopsOrganizationMembersRequest::setRealPk(const std::string &realPk) { + realPk_ = realPk; + setBodyParameter(std::string("RealPk"), realPk); } -void DeleteDevopsOrganizationMembersRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +std::string DeleteDevopsOrganizationMembersRequest::getUserId() const { + return userId_; } -std::string DeleteDevopsOrganizationMembersRequest::getOrgId()const -{ - return orgId_; +void DeleteDevopsOrganizationMembersRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } -void DeleteDevopsOrganizationMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DeleteDevopsOrganizationMembersRequest::getOrgId() const { + return orgId_; +} + +void DeleteDevopsOrganizationMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc b/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc index a52d7f6c0..0c00dec41 100644 --- a/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc +++ b/devops-rdc/src/model/DeleteDevopsOrganizationMembersResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsOrganizationMembersResult::parse(const std::string &payload) 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"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationRequest.cc b/devops-rdc/src/model/DeleteDevopsOrganizationRequest.cc index b65888ad6..7111e0fb5 100644 --- a/devops-rdc/src/model/DeleteDevopsOrganizationRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsOrganizationRequest.cc @@ -1,40 +1,36 @@ /* * 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::DeleteDevopsOrganizationRequest; - -DeleteDevopsOrganizationRequest::DeleteDevopsOrganizationRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsOrganization") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDevopsOrganizationRequest::~DeleteDevopsOrganizationRequest() -{} - -std::string DeleteDevopsOrganizationRequest::getOrgId()const -{ - return orgId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsOrganizationRequest; + +DeleteDevopsOrganizationRequest::DeleteDevopsOrganizationRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsOrganization") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsOrganizationRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +DeleteDevopsOrganizationRequest::~DeleteDevopsOrganizationRequest() {} + +std::string DeleteDevopsOrganizationRequest::getOrgId() const { + return orgId_; +} + +void DeleteDevopsOrganizationRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteDevopsOrganizationResult.cc b/devops-rdc/src/model/DeleteDevopsOrganizationResult.cc index fa18ee8df..b8185de6a 100644 --- a/devops-rdc/src/model/DeleteDevopsOrganizationResult.cc +++ b/devops-rdc/src/model/DeleteDevopsOrganizationResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsOrganizationResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc index 04619bb4c..545823fdd 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectMembersRequest.cc @@ -1,62 +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. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectMembersRequest; + +DeleteDevopsProjectMembersRequest::DeleteDevopsProjectMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectMembers") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsProjectMembersRequest::setUserIds(const std::string& userIds) -{ - userIds_ = userIds; - setBodyParameter("UserIds", userIds); +DeleteDevopsProjectMembersRequest::~DeleteDevopsProjectMembersRequest() {} + +std::string DeleteDevopsProjectMembersRequest::getUserIds() const { + return userIds_; } -std::string DeleteDevopsProjectMembersRequest::getProjectId()const -{ - return projectId_; +void DeleteDevopsProjectMembersRequest::setUserIds(const std::string &userIds) { + userIds_ = userIds; + setBodyParameter(std::string("UserIds"), userIds); } -void DeleteDevopsProjectMembersRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string DeleteDevopsProjectMembersRequest::getProjectId() const { + return projectId_; } -std::string DeleteDevopsProjectMembersRequest::getOrgId()const -{ - return orgId_; +void DeleteDevopsProjectMembersRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void DeleteDevopsProjectMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DeleteDevopsProjectMembersRequest::getOrgId() const { + return orgId_; +} + +void DeleteDevopsProjectMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc b/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc index 083a64a92..af2f97ba3 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectMembersResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsProjectMembersResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectRequest.cc index 50a0c5d62..81ee02a7a 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectRequest; + +DeleteDevopsProjectRequest::DeleteDevopsProjectRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProject") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsProjectRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +DeleteDevopsProjectRequest::~DeleteDevopsProjectRequest() {} + +std::string DeleteDevopsProjectRequest::getProjectId() const { + return projectId_; } -std::string DeleteDevopsProjectRequest::getOrgId()const -{ - return orgId_; +void DeleteDevopsProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void DeleteDevopsProjectRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DeleteDevopsProjectRequest::getOrgId() const { + return orgId_; +} + +void DeleteDevopsProjectRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectResult.cc b/devops-rdc/src/model/DeleteDevopsProjectResult.cc index 85da155ed..ed1424cd4 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectResult.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsProjectResult::parse(const std::string &payload) 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"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc index c6ba22b7e..d902d41ac 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectSprintRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectSprintRequest; + +DeleteDevopsProjectSprintRequest::DeleteDevopsProjectSprintRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectSprint") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsProjectSprintRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +DeleteDevopsProjectSprintRequest::~DeleteDevopsProjectSprintRequest() {} + +std::string DeleteDevopsProjectSprintRequest::getSprintId() const { + return sprintId_; } -std::string DeleteDevopsProjectSprintRequest::getOrgId()const -{ - return orgId_; +void DeleteDevopsProjectSprintRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void DeleteDevopsProjectSprintRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DeleteDevopsProjectSprintRequest::getOrgId() const { + return orgId_; +} + +void DeleteDevopsProjectSprintRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc b/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc index 2fae6c306..6bacdc208 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectSprintResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsProjectSprintResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc b/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc index 90b4a17c3..b4c26c7e5 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectTaskRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeleteDevopsProjectTaskRequest; + +DeleteDevopsProjectTaskRequest::DeleteDevopsProjectTaskRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeleteDevopsProjectTask") { + setMethod(HttpRequest::Method::Post); } -void DeleteDevopsProjectTaskRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +DeleteDevopsProjectTaskRequest::~DeleteDevopsProjectTaskRequest() {} + +std::string DeleteDevopsProjectTaskRequest::getOrgId() const { + return orgId_; } -std::string DeleteDevopsProjectTaskRequest::getTaskId()const -{ - return taskId_; +void DeleteDevopsProjectTaskRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DeleteDevopsProjectTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string DeleteDevopsProjectTaskRequest::getTaskId() const { + return taskId_; +} + +void DeleteDevopsProjectTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } diff --git a/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc b/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc index e78a45615..5cb5756ce 100644 --- a/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc +++ b/devops-rdc/src/model/DeleteDevopsProjectTaskResult.cc @@ -39,14 +39,14 @@ void DeleteDevopsProjectTaskResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/DeletePipelineMemberRequest.cc b/devops-rdc/src/model/DeletePipelineMemberRequest.cc index c9051d2cc..256d412fe 100644 --- a/devops-rdc/src/model/DeletePipelineMemberRequest.cc +++ b/devops-rdc/src/model/DeletePipelineMemberRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::DeletePipelineMemberRequest; - -DeletePipelineMemberRequest::DeletePipelineMemberRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "DeletePipelineMember") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePipelineMemberRequest::~DeletePipelineMemberRequest() -{} - -std::string DeletePipelineMemberRequest::getUserPk()const -{ - return userPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::DeletePipelineMemberRequest; + +DeletePipelineMemberRequest::DeletePipelineMemberRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "DeletePipelineMember") { + setMethod(HttpRequest::Method::Post); } -void DeletePipelineMemberRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +DeletePipelineMemberRequest::~DeletePipelineMemberRequest() {} + +std::string DeletePipelineMemberRequest::getUserPk() const { + return userPk_; } -std::string DeletePipelineMemberRequest::getUserId()const -{ - return userId_; +void DeletePipelineMemberRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void DeletePipelineMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +std::string DeletePipelineMemberRequest::getUserId() const { + return userId_; } -std::string DeletePipelineMemberRequest::getOrgId()const -{ - return orgId_; +void DeletePipelineMemberRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } -void DeletePipelineMemberRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string DeletePipelineMemberRequest::getOrgId() const { + return orgId_; } -long DeletePipelineMemberRequest::getPipelineId()const -{ - return pipelineId_; +void DeletePipelineMemberRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void DeletePipelineMemberRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long DeletePipelineMemberRequest::getPipelineId() const { + return pipelineId_; +} + +void DeletePipelineMemberRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/DeletePipelineMemberResult.cc b/devops-rdc/src/model/DeletePipelineMemberResult.cc index 8da02591f..64ee1073b 100644 --- a/devops-rdc/src/model/DeletePipelineMemberResult.cc +++ b/devops-rdc/src/model/DeletePipelineMemberResult.cc @@ -39,14 +39,14 @@ void DeletePipelineMemberResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); if(!value["Object"].isNull()) object_ = value["Object"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/ExecutePipelineRequest.cc b/devops-rdc/src/model/ExecutePipelineRequest.cc index 59c94994c..da337dd61 100644 --- a/devops-rdc/src/model/ExecutePipelineRequest.cc +++ b/devops-rdc/src/model/ExecutePipelineRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::ExecutePipelineRequest; - -ExecutePipelineRequest::ExecutePipelineRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ExecutePipeline") -{ - setMethod(HttpRequest::Method::Post); -} - -ExecutePipelineRequest::~ExecutePipelineRequest() -{} - -std::string ExecutePipelineRequest::getParameters()const -{ - return parameters_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ExecutePipelineRequest; + +ExecutePipelineRequest::ExecutePipelineRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ExecutePipeline") { + setMethod(HttpRequest::Method::Post); } -void ExecutePipelineRequest::setParameters(const std::string& parameters) -{ - parameters_ = parameters; - setBodyParameter("Parameters", parameters); +ExecutePipelineRequest::~ExecutePipelineRequest() {} + +std::string ExecutePipelineRequest::getParameters() const { + return parameters_; } -std::string ExecutePipelineRequest::getUserPk()const -{ - return userPk_; +void ExecutePipelineRequest::setParameters(const std::string ¶meters) { + parameters_ = parameters; + setBodyParameter(std::string("Parameters"), parameters); } -void ExecutePipelineRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string ExecutePipelineRequest::getUserPk() const { + return userPk_; } -std::string ExecutePipelineRequest::getOrgId()const -{ - return orgId_; +void ExecutePipelineRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void ExecutePipelineRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ExecutePipelineRequest::getOrgId() const { + return orgId_; } -long ExecutePipelineRequest::getPipelineId()const -{ - return pipelineId_; +void ExecutePipelineRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void ExecutePipelineRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long ExecutePipelineRequest::getPipelineId() const { + return pipelineId_; +} + +void ExecutePipelineRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/ExecutePipelineResult.cc b/devops-rdc/src/model/ExecutePipelineResult.cc index bc7eef473..aca247205 100644 --- a/devops-rdc/src/model/ExecutePipelineResult.cc +++ b/devops-rdc/src/model/ExecutePipelineResult.cc @@ -39,14 +39,14 @@ void ExecutePipelineResult::parse(const std::string &payload) 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_ = std::stol(value["Object"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc b/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc index 78f75b81a..ddb779b8e 100644 --- a/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc +++ b/devops-rdc/src/model/GetDevopsOrganizationMembersRequest.cc @@ -1,40 +1,36 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsOrganizationMembersRequest; + +GetDevopsOrganizationMembersRequest::GetDevopsOrganizationMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsOrganizationMembers") { + setMethod(HttpRequest::Method::Post); } -void GetDevopsOrganizationMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +GetDevopsOrganizationMembersRequest::~GetDevopsOrganizationMembersRequest() {} + +std::string GetDevopsOrganizationMembersRequest::getOrgId() const { + return orgId_; +} + +void GetDevopsOrganizationMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc b/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc index c10b226a2..767af11c0 100644 --- a/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc +++ b/devops-rdc/src/model/GetDevopsOrganizationMembersResult.cc @@ -43,28 +43,28 @@ void GetDevopsOrganizationMembersResult::parse(const std::string &payload) for (auto valueObjectmember : allObjectNode) { Member objectObject; - if(!valueObjectmember["MemberId"].isNull()) - objectObject.memberId = valueObjectmember["MemberId"].asString(); + if(!valueObjectmember["Email"].isNull()) + objectObject.email = valueObjectmember["Email"].asString(); + if(!valueObjectmember["AvatarUrl"].isNull()) + objectObject.avatarUrl = valueObjectmember["AvatarUrl"].asString(); if(!valueObjectmember["UserId"].isNull()) objectObject.userId = valueObjectmember["UserId"].asString(); + if(!valueObjectmember["MemberId"].isNull()) + objectObject.memberId = valueObjectmember["MemberId"].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["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc index c1cdafd05..d439ab307 100644 --- a/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc +++ b/devops-rdc/src/model/GetDevopsProjectInfoRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectInfoRequest; + +GetDevopsProjectInfoRequest::GetDevopsProjectInfoRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectInfo") { + setMethod(HttpRequest::Method::Post); } -void GetDevopsProjectInfoRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +GetDevopsProjectInfoRequest::~GetDevopsProjectInfoRequest() {} + +std::string GetDevopsProjectInfoRequest::getProjectId() const { + return projectId_; } -std::string GetDevopsProjectInfoRequest::getOrgId()const -{ - return orgId_; +void GetDevopsProjectInfoRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetDevopsProjectInfoRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetDevopsProjectInfoRequest::getOrgId() const { + return orgId_; +} + +void GetDevopsProjectInfoRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetDevopsProjectInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectInfoResult.cc index 43fc32553..ce8ab760b 100644 --- a/devops-rdc/src/model/GetDevopsProjectInfoResult.cc +++ b/devops-rdc/src/model/GetDevopsProjectInfoResult.cc @@ -40,70 +40,70 @@ void GetDevopsProjectInfoResult::parse(const std::string &payload) 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["UniqueIdPrefix"].isNull()) + object_.uniqueIdPrefix = objectNode["UniqueIdPrefix"].asString(); + if(!objectNode["NormalType"].isNull()) + object_.normalType = objectNode["NormalType"].asString(); + if(!objectNode["ModifierId"].isNull()) + object_.modifierId = objectNode["ModifierId"].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["Description"].isNull()) + object_.description = objectNode["Description"].asString(); + if(!objectNode["DefaultRoleId"].isNull()) + object_.defaultRoleId = objectNode["DefaultRoleId"].asString(); + if(!objectNode["RootCollectionId"].isNull()) + object_.rootCollectionId = objectNode["RootCollectionId"].asString(); + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; if(!objectNode["Updated"].isNull()) object_.updated = objectNode["Updated"].asString(); + if(!objectNode["Name"].isNull()) + object_.name = objectNode["Name"].asString(); + if(!objectNode["IsArchived"].isNull()) + object_.isArchived = objectNode["IsArchived"].asString() == "true"; + if(!objectNode["EndDate"].isNull()) + object_.endDate = objectNode["EndDate"].asString(); + if(!objectNode["Logo"].isNull()) + object_.logo = objectNode["Logo"].asString(); if(!objectNode["StartDate"].isNull()) object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["Pinyin"].isNull()) + object_.pinyin = objectNode["Pinyin"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["SourceId"].isNull()) + object_.sourceId = objectNode["SourceId"].asString(); + if(!objectNode["DefaultCollectionId"].isNull()) + object_.defaultCollectionId = objectNode["DefaultCollectionId"].asString(); + if(!objectNode["IsSuspended"].isNull()) + object_.isSuspended = objectNode["IsSuspended"].asString() == "true"; + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["Visibility"].isNull()) + object_.visibility = objectNode["Visibility"].asString(); + if(!objectNode["Py"].isNull()) + object_.py = objectNode["Py"].asString(); + if(!objectNode["Category"].isNull()) + object_.category = objectNode["Category"].asString(); + if(!objectNode["NextTaskUniqueId"].isNull()) + object_.nextTaskUniqueId = std::stoi(objectNode["NextTaskUniqueId"].asString()); + if(!objectNode["Customfields"].isNull()) + object_.customfields = objectNode["Customfields"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc b/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc index 07d31f645..119336fb0 100644 --- a/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc +++ b/devops-rdc/src/model/GetDevopsProjectMembersRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectMembersRequest; - -GetDevopsProjectMembersRequest::GetDevopsProjectMembersRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectMembers") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDevopsProjectMembersRequest::~GetDevopsProjectMembersRequest() -{} - -int GetDevopsProjectMembersRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectMembersRequest; + +GetDevopsProjectMembersRequest::GetDevopsProjectMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectMembers") { + setMethod(HttpRequest::Method::Post); } -void GetDevopsProjectMembersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +GetDevopsProjectMembersRequest::~GetDevopsProjectMembersRequest() {} + +int GetDevopsProjectMembersRequest::getPageSize() const { + return pageSize_; } -std::string GetDevopsProjectMembersRequest::getProjectId()const -{ - return projectId_; +void GetDevopsProjectMembersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetDevopsProjectMembersRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string GetDevopsProjectMembersRequest::getProjectId() const { + return projectId_; } -std::string GetDevopsProjectMembersRequest::getOrgId()const -{ - return orgId_; +void GetDevopsProjectMembersRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetDevopsProjectMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetDevopsProjectMembersRequest::getOrgId() const { + return orgId_; } -std::string GetDevopsProjectMembersRequest::getPageToken()const -{ - return pageToken_; +void GetDevopsProjectMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetDevopsProjectMembersRequest::setPageToken(const std::string& pageToken) -{ - pageToken_ = pageToken; - setBodyParameter("PageToken", pageToken); +std::string GetDevopsProjectMembersRequest::getPageToken() const { + return pageToken_; +} + +void GetDevopsProjectMembersRequest::setPageToken(const std::string &pageToken) { + pageToken_ = pageToken; + setBodyParameter(std::string("PageToken"), pageToken); } diff --git a/devops-rdc/src/model/GetDevopsProjectMembersResult.cc b/devops-rdc/src/model/GetDevopsProjectMembersResult.cc index 13c540d57..c78bc12f4 100644 --- a/devops-rdc/src/model/GetDevopsProjectMembersResult.cc +++ b/devops-rdc/src/model/GetDevopsProjectMembersResult.cc @@ -43,32 +43,32 @@ void GetDevopsProjectMembersResult::parse(const std::string &payload) for (auto valueObjectMember : allObjectNode) { Member objectObject; - if(!valueObjectMember["MemberId"].isNull()) - objectObject.memberId = valueObjectMember["MemberId"].asString(); + if(!valueObjectMember["Email"].isNull()) + objectObject.email = valueObjectMember["Email"].asString(); + if(!valueObjectMember["AvatarUrl"].isNull()) + objectObject.avatarUrl = valueObjectMember["AvatarUrl"].asString(); if(!valueObjectMember["UserId"].isNull()) objectObject.userId = valueObjectMember["UserId"].asString(); + if(!valueObjectMember["MemberId"].isNull()) + objectObject.memberId = valueObjectMember["MemberId"].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["NextPageToken"].isNull()) + nextPageToken_ = value["NextPageToken"].asString(); if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMsg"].isNull()) errorMsg_ = value["ErrorMsg"].asString(); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); - if(!value["NextPageToken"].isNull()) - nextPageToken_ = value["NextPageToken"].asString(); } diff --git a/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc index d661b4b77..01ccee942 100644 --- a/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc +++ b/devops-rdc/src/model/GetDevopsProjectSprintInfoRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectSprintInfoRequest; + +GetDevopsProjectSprintInfoRequest::GetDevopsProjectSprintInfoRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectSprintInfo") { + setMethod(HttpRequest::Method::Post); } -void GetDevopsProjectSprintInfoRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +GetDevopsProjectSprintInfoRequest::~GetDevopsProjectSprintInfoRequest() {} + +std::string GetDevopsProjectSprintInfoRequest::getSprintId() const { + return sprintId_; } -std::string GetDevopsProjectSprintInfoRequest::getOrgId()const -{ - return orgId_; +void GetDevopsProjectSprintInfoRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void GetDevopsProjectSprintInfoRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetDevopsProjectSprintInfoRequest::getOrgId() const { + return orgId_; +} + +void GetDevopsProjectSprintInfoRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc index 52268ab79..54eb12a7e 100644 --- a/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc +++ b/devops-rdc/src/model/GetDevopsProjectSprintInfoResult.cc @@ -40,41 +40,41 @@ void GetDevopsProjectSprintInfoResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto objectNode = value["Object"]; + if(!objectNode["Status"].isNull()) + object_.status = objectNode["Status"].asString(); if(!objectNode["Accomplished"].isNull()) object_.accomplished = objectNode["Accomplished"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); if(!objectNode["IsDeleted"].isNull()) object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; - if(!objectNode["Created"].isNull()) - object_.created = objectNode["Created"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].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["Created"].isNull()) + object_.created = objectNode["Created"].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(!planToDoNode["WorkTimes"].isNull()) + object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["StoryPoints"].isNull()) + object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc b/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc index d7db138bf..3ce8eba77 100644 --- a/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc +++ b/devops-rdc/src/model/GetDevopsProjectTaskInfoRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetDevopsProjectTaskInfoRequest; + +GetDevopsProjectTaskInfoRequest::GetDevopsProjectTaskInfoRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetDevopsProjectTaskInfo") { + setMethod(HttpRequest::Method::Post); } -void GetDevopsProjectTaskInfoRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +GetDevopsProjectTaskInfoRequest::~GetDevopsProjectTaskInfoRequest() {} + +std::string GetDevopsProjectTaskInfoRequest::getOrgId() const { + return orgId_; } -std::string GetDevopsProjectTaskInfoRequest::getTaskId()const -{ - return taskId_; +void GetDevopsProjectTaskInfoRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetDevopsProjectTaskInfoRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string GetDevopsProjectTaskInfoRequest::getTaskId() const { + return taskId_; +} + +void GetDevopsProjectTaskInfoRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } diff --git a/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc b/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc index 624ccbcaa..80a10e7dc 100644 --- a/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc +++ b/devops-rdc/src/model/GetDevopsProjectTaskInfoResult.cc @@ -40,57 +40,57 @@ void GetDevopsProjectTaskInfoResult::parse(const std::string &payload) 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["StoryPoint"].isNull()) + object_.storyPoint = objectNode["StoryPoint"].asString(); if(!objectNode["Priority"].isNull()) object_.priority = objectNode["Priority"].asString(); + if(!objectNode["IsTopInProject"].isNull()) + object_.isTopInProject = objectNode["IsTopInProject"].asString() == "true"; + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["TaskType"].isNull()) + object_.taskType = objectNode["TaskType"].asString(); + if(!objectNode["Visible"].isNull()) + object_.visible = objectNode["Visible"].asString(); + if(!objectNode["TasklistId"].isNull()) + object_.tasklistId = objectNode["TasklistId"].asString(); + if(!objectNode["IsDone"].isNull()) + object_.isDone = objectNode["IsDone"].asString() == "true"; + if(!objectNode["IsDeleted"].isNull()) + object_.isDeleted = objectNode["IsDeleted"].asString() == "true"; + if(!objectNode["TaskflowstatusId"].isNull()) + object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); + if(!objectNode["Note"].isNull()) + object_.note = objectNode["Note"].asString(); + if(!objectNode["SprintId"].isNull()) + object_.sprintId = objectNode["SprintId"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["Content"].isNull()) + object_.content = objectNode["Content"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); auto allInvolveMembers = objectNode["InvolveMembers"]["InvolveMember"]; for (auto value : allInvolveMembers) object_.involveMembers.push_back(value.asString()); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetLastWorkspaceRequest.cc b/devops-rdc/src/model/GetLastWorkspaceRequest.cc index 54e90817b..9479ed3be 100644 --- a/devops-rdc/src/model/GetLastWorkspaceRequest.cc +++ b/devops-rdc/src/model/GetLastWorkspaceRequest.cc @@ -1,51 +1,45 @@ /* * 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::GetLastWorkspaceRequest; - -GetLastWorkspaceRequest::GetLastWorkspaceRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetLastWorkspace") -{ - setMethod(HttpRequest::Method::Post); -} - -GetLastWorkspaceRequest::~GetLastWorkspaceRequest() -{} - -std::string GetLastWorkspaceRequest::getRealPk()const -{ - return realPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetLastWorkspaceRequest; + +GetLastWorkspaceRequest::GetLastWorkspaceRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetLastWorkspace") { + setMethod(HttpRequest::Method::Post); } -void GetLastWorkspaceRequest::setRealPk(const std::string& realPk) -{ - realPk_ = realPk; - setBodyParameter("RealPk", realPk); +GetLastWorkspaceRequest::~GetLastWorkspaceRequest() {} + +std::string GetLastWorkspaceRequest::getRealPk() const { + return realPk_; } -std::string GetLastWorkspaceRequest::getOrgId()const -{ - return orgId_; +void GetLastWorkspaceRequest::setRealPk(const std::string &realPk) { + realPk_ = realPk; + setBodyParameter(std::string("RealPk"), realPk); } -void GetLastWorkspaceRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetLastWorkspaceRequest::getOrgId() const { + return orgId_; +} + +void GetLastWorkspaceRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetLastWorkspaceResult.cc b/devops-rdc/src/model/GetLastWorkspaceResult.cc index d35e92da3..fb0dc416d 100644 --- a/devops-rdc/src/model/GetLastWorkspaceResult.cc +++ b/devops-rdc/src/model/GetLastWorkspaceResult.cc @@ -39,14 +39,14 @@ void GetLastWorkspaceResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineInstHistoryRequest.cc b/devops-rdc/src/model/GetPipelineInstHistoryRequest.cc index 381ee23c3..a885968a3 100644 --- a/devops-rdc/src/model/GetPipelineInstHistoryRequest.cc +++ b/devops-rdc/src/model/GetPipelineInstHistoryRequest.cc @@ -1,106 +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 - -using AlibabaCloud::Devops_rdc::Model::GetPipelineInstHistoryRequest; - -GetPipelineInstHistoryRequest::GetPipelineInstHistoryRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineInstHistoryRequest::~GetPipelineInstHistoryRequest() -{} - -std::string GetPipelineInstHistoryRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineInstHistoryRequest; + +GetPipelineInstHistoryRequest::GetPipelineInstHistoryRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstHistory") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineInstHistoryRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); +GetPipelineInstHistoryRequest::~GetPipelineInstHistoryRequest() {} + +std::string GetPipelineInstHistoryRequest::getEndTime() const { + return endTime_; } -std::string GetPipelineInstHistoryRequest::getStartTime()const -{ - return startTime_; +void GetPipelineInstHistoryRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); } -void GetPipelineInstHistoryRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", startTime); +std::string GetPipelineInstHistoryRequest::getStartTime() const { + return startTime_; } -std::string GetPipelineInstHistoryRequest::getUserPk()const -{ - return userPk_; +void GetPipelineInstHistoryRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), startTime); } -void GetPipelineInstHistoryRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineInstHistoryRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineInstHistoryRequest::getOrgId()const -{ - return orgId_; +void GetPipelineInstHistoryRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineInstHistoryRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetPipelineInstHistoryRequest::getOrgId() const { + return orgId_; } -long GetPipelineInstHistoryRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineInstHistoryRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetPipelineInstHistoryRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineInstHistoryRequest::getPipelineId() const { + return pipelineId_; } -long GetPipelineInstHistoryRequest::getPageSize()const -{ - return pageSize_; +void GetPipelineInstHistoryRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } -void GetPipelineInstHistoryRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +long GetPipelineInstHistoryRequest::getPageSize() const { + return pageSize_; } -long GetPipelineInstHistoryRequest::getPageStart()const -{ - return pageStart_; +void GetPipelineInstHistoryRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetPipelineInstHistoryRequest::setPageStart(long pageStart) -{ - pageStart_ = pageStart; - setBodyParameter("PageStart", std::to_string(pageStart)); +long GetPipelineInstHistoryRequest::getPageStart() const { + return pageStart_; +} + +void GetPipelineInstHistoryRequest::setPageStart(long pageStart) { + pageStart_ = pageStart; + setBodyParameter(std::string("PageStart"), std::to_string(pageStart)); } diff --git a/devops-rdc/src/model/GetPipelineInstHistoryResult.cc b/devops-rdc/src/model/GetPipelineInstHistoryResult.cc index 1554c7ec8..079e6fc1a 100644 --- a/devops-rdc/src/model/GetPipelineInstHistoryResult.cc +++ b/devops-rdc/src/model/GetPipelineInstHistoryResult.cc @@ -46,124 +46,124 @@ void GetPipelineInstHistoryResult::parse(const std::string &payload) for (auto dataNodeDataListPipelineInst : allDataListNode) { Data::PipelineInst pipelineInstObject; - if(!dataNodeDataListPipelineInst["Creator"].isNull()) - pipelineInstObject.creator = dataNodeDataListPipelineInst["Creator"].asString(); - if(!dataNodeDataListPipelineInst["ModifyTime"].isNull()) - pipelineInstObject.modifyTime = std::stol(dataNodeDataListPipelineInst["ModifyTime"].asString()); - if(!dataNodeDataListPipelineInst["PipelineConfigId"].isNull()) - pipelineInstObject.pipelineConfigId = std::stoi(dataNodeDataListPipelineInst["PipelineConfigId"].asString()); - if(!dataNodeDataListPipelineInst["Modifier"].isNull()) - pipelineInstObject.modifier = dataNodeDataListPipelineInst["Modifier"].asString(); - if(!dataNodeDataListPipelineInst["CreateTime"].isNull()) - pipelineInstObject.createTime = std::stol(dataNodeDataListPipelineInst["CreateTime"].asString()); - if(!dataNodeDataListPipelineInst["Packages"].isNull()) - pipelineInstObject.packages = dataNodeDataListPipelineInst["Packages"].asString(); - if(!dataNodeDataListPipelineInst["PipelineId"].isNull()) - pipelineInstObject.pipelineId = std::stoi(dataNodeDataListPipelineInst["PipelineId"].asString()); - if(!dataNodeDataListPipelineInst["FlowInstId"].isNull()) - pipelineInstObject.flowInstId = std::stoi(dataNodeDataListPipelineInst["FlowInstId"].asString()); - if(!dataNodeDataListPipelineInst["InstNumber"].isNull()) - pipelineInstObject.instNumber = std::stoi(dataNodeDataListPipelineInst["InstNumber"].asString()); - if(!dataNodeDataListPipelineInst["Deletion"].isNull()) - pipelineInstObject.deletion = dataNodeDataListPipelineInst["Deletion"].asString(); - if(!dataNodeDataListPipelineInst["StatusName"].isNull()) - pipelineInstObject.statusName = dataNodeDataListPipelineInst["StatusName"].asString(); - if(!dataNodeDataListPipelineInst["Id"].isNull()) - pipelineInstObject.id = std::stoi(dataNodeDataListPipelineInst["Id"].asString()); - if(!dataNodeDataListPipelineInst["TriggerMode"].isNull()) - pipelineInstObject.triggerMode = std::stoi(dataNodeDataListPipelineInst["TriggerMode"].asString()); if(!dataNodeDataListPipelineInst["Status"].isNull()) pipelineInstObject.status = dataNodeDataListPipelineInst["Status"].asString(); + if(!dataNodeDataListPipelineInst["CreateTime"].isNull()) + pipelineInstObject.createTime = std::stol(dataNodeDataListPipelineInst["CreateTime"].asString()); + if(!dataNodeDataListPipelineInst["StatusName"].isNull()) + pipelineInstObject.statusName = dataNodeDataListPipelineInst["StatusName"].asString(); + if(!dataNodeDataListPipelineInst["TriggerMode"].isNull()) + pipelineInstObject.triggerMode = std::stoi(dataNodeDataListPipelineInst["TriggerMode"].asString()); + if(!dataNodeDataListPipelineInst["PipelineConfigId"].isNull()) + pipelineInstObject.pipelineConfigId = std::stoi(dataNodeDataListPipelineInst["PipelineConfigId"].asString()); + if(!dataNodeDataListPipelineInst["Deletion"].isNull()) + pipelineInstObject.deletion = dataNodeDataListPipelineInst["Deletion"].asString(); + if(!dataNodeDataListPipelineInst["Creator"].isNull()) + pipelineInstObject.creator = dataNodeDataListPipelineInst["Creator"].asString(); + if(!dataNodeDataListPipelineInst["InstNumber"].isNull()) + pipelineInstObject.instNumber = std::stoi(dataNodeDataListPipelineInst["InstNumber"].asString()); + if(!dataNodeDataListPipelineInst["Modifier"].isNull()) + pipelineInstObject.modifier = dataNodeDataListPipelineInst["Modifier"].asString(); + if(!dataNodeDataListPipelineInst["Packages"].isNull()) + pipelineInstObject.packages = dataNodeDataListPipelineInst["Packages"].asString(); + if(!dataNodeDataListPipelineInst["FlowInstId"].isNull()) + pipelineInstObject.flowInstId = std::stoi(dataNodeDataListPipelineInst["FlowInstId"].asString()); + if(!dataNodeDataListPipelineInst["PipelineId"].isNull()) + pipelineInstObject.pipelineId = std::stoi(dataNodeDataListPipelineInst["PipelineId"].asString()); + if(!dataNodeDataListPipelineInst["Id"].isNull()) + pipelineInstObject.id = std::stoi(dataNodeDataListPipelineInst["Id"].asString()); + if(!dataNodeDataListPipelineInst["ModifyTime"].isNull()) + pipelineInstObject.modifyTime = std::stol(dataNodeDataListPipelineInst["ModifyTime"].asString()); auto flowInstanceNode = value["FlowInstance"]; + if(!flowInstanceNode["Status"].isNull()) + pipelineInstObject.flowInstance.status = flowInstanceNode["Status"].asString(); + if(!flowInstanceNode["Stages"].isNull()) + pipelineInstObject.flowInstance.stages = flowInstanceNode["Stages"].asString(); + if(!flowInstanceNode["CreateTime"].isNull()) + pipelineInstObject.flowInstance.createTime = std::stol(flowInstanceNode["CreateTime"].asString()); + if(!flowInstanceNode["StatusName"].isNull()) + pipelineInstObject.flowInstance.statusName = flowInstanceNode["StatusName"].asString(); + if(!flowInstanceNode["RunningStatus"].isNull()) + pipelineInstObject.flowInstance.runningStatus = flowInstanceNode["RunningStatus"].asString(); if(!flowInstanceNode["Creator"].isNull()) pipelineInstObject.flowInstance.creator = flowInstanceNode["Creator"].asString(); - if(!flowInstanceNode["ModifyTime"].isNull()) - pipelineInstObject.flowInstance.modifyTime = std::stol(flowInstanceNode["ModifyTime"].asString()); - if(!flowInstanceNode["SystemId"].isNull()) - pipelineInstObject.flowInstance.systemId = flowInstanceNode["SystemId"].asString(); if(!flowInstanceNode["StageTopo"].isNull()) pipelineInstObject.flowInstance.stageTopo = flowInstanceNode["StageTopo"].asString(); if(!flowInstanceNode["Modifier"].isNull()) pipelineInstObject.flowInstance.modifier = flowInstanceNode["Modifier"].asString(); if(!flowInstanceNode["AutoDrivenStatus"].isNull()) pipelineInstObject.flowInstance.autoDrivenStatus = flowInstanceNode["AutoDrivenStatus"].asString() == "true"; - if(!flowInstanceNode["CreateTime"].isNull()) - pipelineInstObject.flowInstance.createTime = std::stol(flowInstanceNode["CreateTime"].asString()); if(!flowInstanceNode["ResultStatus"].isNull()) pipelineInstObject.flowInstance.resultStatus = flowInstanceNode["ResultStatus"].asString(); - if(!flowInstanceNode["RunningStatus"].isNull()) - pipelineInstObject.flowInstance.runningStatus = flowInstanceNode["RunningStatus"].asString(); - if(!flowInstanceNode["SystemCode"].isNull()) - pipelineInstObject.flowInstance.systemCode = flowInstanceNode["SystemCode"].asString(); - if(!flowInstanceNode["Stages"].isNull()) - pipelineInstObject.flowInstance.stages = flowInstanceNode["Stages"].asString(); - if(!flowInstanceNode["StatusName"].isNull()) - pipelineInstObject.flowInstance.statusName = flowInstanceNode["StatusName"].asString(); if(!flowInstanceNode["Id"].isNull()) pipelineInstObject.flowInstance.id = std::stoi(flowInstanceNode["Id"].asString()); - if(!flowInstanceNode["Status"].isNull()) - pipelineInstObject.flowInstance.status = flowInstanceNode["Status"].asString(); + if(!flowInstanceNode["SystemCode"].isNull()) + pipelineInstObject.flowInstance.systemCode = flowInstanceNode["SystemCode"].asString(); + if(!flowInstanceNode["ModifyTime"].isNull()) + pipelineInstObject.flowInstance.modifyTime = std::stol(flowInstanceNode["ModifyTime"].asString()); + if(!flowInstanceNode["SystemId"].isNull()) + pipelineInstObject.flowInstance.systemId = flowInstanceNode["SystemId"].asString(); auto allGroupsNode = flowInstanceNode["Groups"]["Group"]; for (auto flowInstanceNodeGroupsGroup : allGroupsNode) { Data::PipelineInst::FlowInstance::Group groupObject; - if(!flowInstanceNodeGroupsGroup["Creator"].isNull()) - groupObject.creator = flowInstanceNodeGroupsGroup["Creator"].asString(); - if(!flowInstanceNodeGroupsGroup["ModifyTime"].isNull()) - groupObject.modifyTime = std::stol(flowInstanceNodeGroupsGroup["ModifyTime"].asString()); - if(!flowInstanceNodeGroupsGroup["Modifier"].isNull()) - groupObject.modifier = flowInstanceNodeGroupsGroup["Modifier"].asString(); - if(!flowInstanceNodeGroupsGroup["CreateTime"].isNull()) - groupObject.createTime = std::stol(flowInstanceNodeGroupsGroup["CreateTime"].asString()); - if(!flowInstanceNodeGroupsGroup["FlowInstId"].isNull()) - groupObject.flowInstId = std::stoi(flowInstanceNodeGroupsGroup["FlowInstId"].asString()); - if(!flowInstanceNodeGroupsGroup["ResultStatus"].isNull()) - groupObject.resultStatus = flowInstanceNodeGroupsGroup["ResultStatus"].asString(); - if(!flowInstanceNodeGroupsGroup["DeleteStatus"].isNull()) - groupObject.deleteStatus = flowInstanceNodeGroupsGroup["DeleteStatus"].asString(); - if(!flowInstanceNodeGroupsGroup["Name"].isNull()) - groupObject.name = flowInstanceNodeGroupsGroup["Name"].asString(); - if(!flowInstanceNodeGroupsGroup["StartTime"].isNull()) - groupObject.startTime = std::stol(flowInstanceNodeGroupsGroup["StartTime"].asString()); - if(!flowInstanceNodeGroupsGroup["EndTime"].isNull()) - groupObject.endTime = std::stol(flowInstanceNodeGroupsGroup["EndTime"].asString()); - if(!flowInstanceNodeGroupsGroup["Id"].isNull()) - groupObject.id = std::stoi(flowInstanceNodeGroupsGroup["Id"].asString()); - if(!flowInstanceNodeGroupsGroup["IdExtent"].isNull()) - groupObject.idExtent = std::stoi(flowInstanceNodeGroupsGroup["IdExtent"].asString()); if(!flowInstanceNodeGroupsGroup["Status"].isNull()) groupObject.status = flowInstanceNodeGroupsGroup["Status"].asString(); + if(!flowInstanceNodeGroupsGroup["CreateTime"].isNull()) + groupObject.createTime = std::stol(flowInstanceNodeGroupsGroup["CreateTime"].asString()); + if(!flowInstanceNodeGroupsGroup["DeleteStatus"].isNull()) + groupObject.deleteStatus = flowInstanceNodeGroupsGroup["DeleteStatus"].asString(); + if(!flowInstanceNodeGroupsGroup["IdExtent"].isNull()) + groupObject.idExtent = std::stoi(flowInstanceNodeGroupsGroup["IdExtent"].asString()); + if(!flowInstanceNodeGroupsGroup["Creator"].isNull()) + groupObject.creator = flowInstanceNodeGroupsGroup["Creator"].asString(); + if(!flowInstanceNodeGroupsGroup["EndTime"].isNull()) + groupObject.endTime = std::stol(flowInstanceNodeGroupsGroup["EndTime"].asString()); + if(!flowInstanceNodeGroupsGroup["StartTime"].isNull()) + groupObject.startTime = std::stol(flowInstanceNodeGroupsGroup["StartTime"].asString()); + if(!flowInstanceNodeGroupsGroup["Modifier"].isNull()) + groupObject.modifier = flowInstanceNodeGroupsGroup["Modifier"].asString(); + if(!flowInstanceNodeGroupsGroup["ResultStatus"].isNull()) + groupObject.resultStatus = flowInstanceNodeGroupsGroup["ResultStatus"].asString(); + if(!flowInstanceNodeGroupsGroup["FlowInstId"].isNull()) + groupObject.flowInstId = std::stoi(flowInstanceNodeGroupsGroup["FlowInstId"].asString()); + if(!flowInstanceNodeGroupsGroup["Name"].isNull()) + groupObject.name = flowInstanceNodeGroupsGroup["Name"].asString(); + if(!flowInstanceNodeGroupsGroup["Id"].isNull()) + groupObject.id = std::stoi(flowInstanceNodeGroupsGroup["Id"].asString()); + if(!flowInstanceNodeGroupsGroup["ModifyTime"].isNull()) + groupObject.modifyTime = std::stol(flowInstanceNodeGroupsGroup["ModifyTime"].asString()); pipelineInstObject.flowInstance.groups.push_back(groupObject); } auto resultNode = flowInstanceNode["Result"]; - if(!resultNode["Sources"].isNull()) - pipelineInstObject.flowInstance.result.sources = resultNode["Sources"].asString(); - if(!resultNode["Caches"].isNull()) - pipelineInstObject.flowInstance.result.caches = resultNode["Caches"].asString(); - if(!resultNode["EnginePipelineId"].isNull()) - pipelineInstObject.flowInstance.result.enginePipelineId = std::stoi(resultNode["EnginePipelineId"].asString()); + if(!resultNode["EnginePipelineNumber"].isNull()) + pipelineInstObject.flowInstance.result.enginePipelineNumber = std::stoi(resultNode["EnginePipelineNumber"].asString()); if(!resultNode["MixFlowInstId"].isNull()) pipelineInstObject.flowInstance.result.mixFlowInstId = resultNode["MixFlowInstId"].asString(); if(!resultNode["EnginePipelineName"].isNull()) pipelineInstObject.flowInstance.result.enginePipelineName = resultNode["EnginePipelineName"].asString(); - if(!resultNode["EnginePipelineNumber"].isNull()) - pipelineInstObject.flowInstance.result.enginePipelineNumber = std::stoi(resultNode["EnginePipelineNumber"].asString()); - if(!resultNode["DateTime"].isNull()) - pipelineInstObject.flowInstance.result.dateTime = resultNode["DateTime"].asString(); + if(!resultNode["EnginePipelineId"].isNull()) + pipelineInstObject.flowInstance.result.enginePipelineId = std::stoi(resultNode["EnginePipelineId"].asString()); + if(!resultNode["EnginePipelineInstId"].isNull()) + pipelineInstObject.flowInstance.result.enginePipelineInstId = std::stoi(resultNode["EnginePipelineInstId"].asString()); if(!resultNode["TimeStamp"].isNull()) pipelineInstObject.flowInstance.result.timeStamp = resultNode["TimeStamp"].asString(); if(!resultNode["TriggerMode"].isNull()) pipelineInstObject.flowInstance.result.triggerMode = resultNode["TriggerMode"].asString(); - if(!resultNode["EnginePipelineInstId"].isNull()) - pipelineInstObject.flowInstance.result.enginePipelineInstId = std::stoi(resultNode["EnginePipelineInstId"].asString()); + if(!resultNode["Sources"].isNull()) + pipelineInstObject.flowInstance.result.sources = resultNode["Sources"].asString(); + if(!resultNode["Caches"].isNull()) + pipelineInstObject.flowInstance.result.caches = resultNode["Caches"].asString(); + if(!resultNode["DateTime"].isNull()) + pipelineInstObject.flowInstance.result.dateTime = resultNode["DateTime"].asString(); data_.dataList.push_back(pipelineInstObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusRequest.cc b/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusRequest.cc index ccd5c1023..2622af9c2 100644 --- a/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusRequest.cc +++ b/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceBuildNumberStatusRequest; - -GetPipelineInstanceBuildNumberStatusRequest::GetPipelineInstanceBuildNumberStatusRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceBuildNumberStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineInstanceBuildNumberStatusRequest::~GetPipelineInstanceBuildNumberStatusRequest() -{} - -long GetPipelineInstanceBuildNumberStatusRequest::getBuildNum()const -{ - return buildNum_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceBuildNumberStatusRequest; + +GetPipelineInstanceBuildNumberStatusRequest::GetPipelineInstanceBuildNumberStatusRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceBuildNumberStatus") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineInstanceBuildNumberStatusRequest::setBuildNum(long buildNum) -{ - buildNum_ = buildNum; - setBodyParameter("BuildNum", std::to_string(buildNum)); +GetPipelineInstanceBuildNumberStatusRequest::~GetPipelineInstanceBuildNumberStatusRequest() {} + +long GetPipelineInstanceBuildNumberStatusRequest::getBuildNum() const { + return buildNum_; } -std::string GetPipelineInstanceBuildNumberStatusRequest::getUserPk()const -{ - return userPk_; +void GetPipelineInstanceBuildNumberStatusRequest::setBuildNum(long buildNum) { + buildNum_ = buildNum; + setBodyParameter(std::string("BuildNum"), std::to_string(buildNum)); } -void GetPipelineInstanceBuildNumberStatusRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineInstanceBuildNumberStatusRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineInstanceBuildNumberStatusRequest::getOrgId()const -{ - return orgId_; +void GetPipelineInstanceBuildNumberStatusRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineInstanceBuildNumberStatusRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string GetPipelineInstanceBuildNumberStatusRequest::getOrgId() const { + return orgId_; } -long GetPipelineInstanceBuildNumberStatusRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineInstanceBuildNumberStatusRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void GetPipelineInstanceBuildNumberStatusRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineInstanceBuildNumberStatusRequest::getPipelineId() const { + return pipelineId_; +} + +void GetPipelineInstanceBuildNumberStatusRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusResult.cc b/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusResult.cc index 7206dd669..82e36d6c9 100644 --- a/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusResult.cc +++ b/devops-rdc/src/model/GetPipelineInstanceBuildNumberStatusResult.cc @@ -46,10 +46,10 @@ void GetPipelineInstanceBuildNumberStatusResult::parse(const std::string &payloa for (auto objectNodeGroupsgroup : allGroupsNode) { Object::Group groupObject; - if(!objectNodeGroupsgroup["Name"].isNull()) - groupObject.name = objectNodeGroupsgroup["Name"].asString(); if(!objectNodeGroupsgroup["Status"].isNull()) groupObject.status = objectNodeGroupsgroup["Status"].asString(); + if(!objectNodeGroupsgroup["Name"].isNull()) + groupObject.name = objectNodeGroupsgroup["Name"].asString(); auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"]; for (auto objectNodeGroupsgroupStagesstage : allStagesNode) { @@ -62,10 +62,10 @@ void GetPipelineInstanceBuildNumberStatusResult::parse(const std::string &payloa for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode) { Object::Group::Stage::Component componentsObject; - if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) - componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull()) componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString(); + if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) + componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull()) componentsObject.jobId = std::stol(objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString()); stagesObject.components.push_back(componentsObject); @@ -74,12 +74,12 @@ void GetPipelineInstanceBuildNumberStatusResult::parse(const std::string &payloa } object_.groups.push_back(groupObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineInstanceGroupStatusRequest.cc b/devops-rdc/src/model/GetPipelineInstanceGroupStatusRequest.cc index 611a3e074..56ab8ce2a 100644 --- a/devops-rdc/src/model/GetPipelineInstanceGroupStatusRequest.cc +++ b/devops-rdc/src/model/GetPipelineInstanceGroupStatusRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceGroupStatusRequest; - -GetPipelineInstanceGroupStatusRequest::GetPipelineInstanceGroupStatusRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceGroupStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineInstanceGroupStatusRequest::~GetPipelineInstanceGroupStatusRequest() -{} - -long GetPipelineInstanceGroupStatusRequest::getFlowInstanceId()const -{ - return flowInstanceId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceGroupStatusRequest; + +GetPipelineInstanceGroupStatusRequest::GetPipelineInstanceGroupStatusRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceGroupStatus") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineInstanceGroupStatusRequest::setFlowInstanceId(long flowInstanceId) -{ - flowInstanceId_ = flowInstanceId; - setBodyParameter("FlowInstanceId", std::to_string(flowInstanceId)); +GetPipelineInstanceGroupStatusRequest::~GetPipelineInstanceGroupStatusRequest() {} + +long GetPipelineInstanceGroupStatusRequest::getFlowInstanceId() const { + return flowInstanceId_; } -std::string GetPipelineInstanceGroupStatusRequest::getUserPk()const -{ - return userPk_; +void GetPipelineInstanceGroupStatusRequest::setFlowInstanceId(long flowInstanceId) { + flowInstanceId_ = flowInstanceId; + setBodyParameter(std::string("FlowInstanceId"), std::to_string(flowInstanceId)); } -void GetPipelineInstanceGroupStatusRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineInstanceGroupStatusRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineInstanceGroupStatusRequest::getOrgId()const -{ - return orgId_; +void GetPipelineInstanceGroupStatusRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineInstanceGroupStatusRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string GetPipelineInstanceGroupStatusRequest::getOrgId() const { + return orgId_; } -long GetPipelineInstanceGroupStatusRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineInstanceGroupStatusRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void GetPipelineInstanceGroupStatusRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineInstanceGroupStatusRequest::getPipelineId() const { + return pipelineId_; +} + +void GetPipelineInstanceGroupStatusRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/GetPipelineInstanceGroupStatusResult.cc b/devops-rdc/src/model/GetPipelineInstanceGroupStatusResult.cc index c9cc588e5..cf75c07a2 100644 --- a/devops-rdc/src/model/GetPipelineInstanceGroupStatusResult.cc +++ b/devops-rdc/src/model/GetPipelineInstanceGroupStatusResult.cc @@ -46,10 +46,10 @@ void GetPipelineInstanceGroupStatusResult::parse(const std::string &payload) for (auto objectNodeGroupsgroup : allGroupsNode) { Object::Group groupObject; - if(!objectNodeGroupsgroup["Name"].isNull()) - groupObject.name = objectNodeGroupsgroup["Name"].asString(); if(!objectNodeGroupsgroup["Status"].isNull()) groupObject.status = objectNodeGroupsgroup["Status"].asString(); + if(!objectNodeGroupsgroup["Name"].isNull()) + groupObject.name = objectNodeGroupsgroup["Name"].asString(); auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"]; for (auto objectNodeGroupsgroupStagesstage : allStagesNode) { @@ -62,10 +62,10 @@ void GetPipelineInstanceGroupStatusResult::parse(const std::string &payload) for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode) { Object::Group::Stage::Component componentsObject; - if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) - componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull()) componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString(); + if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) + componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull()) componentsObject.jobId = objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString(); stagesObject.components.push_back(componentsObject); @@ -74,12 +74,12 @@ void GetPipelineInstanceGroupStatusResult::parse(const std::string &payload) } object_.groups.push_back(groupObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineInstanceInfoRequest.cc b/devops-rdc/src/model/GetPipelineInstanceInfoRequest.cc index 32569c2f2..89a490d03 100644 --- a/devops-rdc/src/model/GetPipelineInstanceInfoRequest.cc +++ b/devops-rdc/src/model/GetPipelineInstanceInfoRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceInfoRequest; - -GetPipelineInstanceInfoRequest::GetPipelineInstanceInfoRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineInstanceInfoRequest::~GetPipelineInstanceInfoRequest() -{} - -std::string GetPipelineInstanceInfoRequest::getFlowInstanceId()const -{ - return flowInstanceId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceInfoRequest; + +GetPipelineInstanceInfoRequest::GetPipelineInstanceInfoRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceInfo") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineInstanceInfoRequest::setFlowInstanceId(const std::string& flowInstanceId) -{ - flowInstanceId_ = flowInstanceId; - setBodyParameter("FlowInstanceId", flowInstanceId); +GetPipelineInstanceInfoRequest::~GetPipelineInstanceInfoRequest() {} + +std::string GetPipelineInstanceInfoRequest::getFlowInstanceId() const { + return flowInstanceId_; } -std::string GetPipelineInstanceInfoRequest::getUserPk()const -{ - return userPk_; +void GetPipelineInstanceInfoRequest::setFlowInstanceId(const std::string &flowInstanceId) { + flowInstanceId_ = flowInstanceId; + setBodyParameter(std::string("FlowInstanceId"), flowInstanceId); } -void GetPipelineInstanceInfoRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineInstanceInfoRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineInstanceInfoRequest::getOrgId()const -{ - return orgId_; +void GetPipelineInstanceInfoRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineInstanceInfoRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetPipelineInstanceInfoRequest::getOrgId() const { + return orgId_; } -long GetPipelineInstanceInfoRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineInstanceInfoRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetPipelineInstanceInfoRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineInstanceInfoRequest::getPipelineId() const { + return pipelineId_; +} + +void GetPipelineInstanceInfoRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/GetPipelineInstanceInfoResult.cc b/devops-rdc/src/model/GetPipelineInstanceInfoResult.cc index a247369b5..2db44dd5c 100644 --- a/devops-rdc/src/model/GetPipelineInstanceInfoResult.cc +++ b/devops-rdc/src/model/GetPipelineInstanceInfoResult.cc @@ -40,28 +40,28 @@ void GetPipelineInstanceInfoResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto objectNode = value["Object"]; + if(!objectNode["EmployeeId"].isNull()) + object_.employeeId = objectNode["EmployeeId"].asString(); + if(!objectNode["EndTime"].isNull()) + object_.endTime = std::stol(objectNode["EndTime"].asString()); if(!objectNode["Status"].isNull()) object_.status = objectNode["Status"].asString(); if(!objectNode["StartTime"].isNull()) object_.startTime = std::stol(objectNode["StartTime"].asString()); - if(!objectNode["EndTime"].isNull()) - object_.endTime = std::stol(objectNode["EndTime"].asString()); if(!objectNode["Sources"].isNull()) object_.sources = objectNode["Sources"].asString(); - if(!objectNode["EmployeeId"].isNull()) - object_.employeeId = objectNode["EmployeeId"].asString(); - auto allPackageDownloadUrls = objectNode["PackageDownloadUrls"]["PackageDownloadUrls"]; - for (auto value : allPackageDownloadUrls) - object_.packageDownloadUrls.push_back(value.asString()); auto allDockerImages = objectNode["DockerImages"]["DockerImages"]; for (auto value : allDockerImages) object_.dockerImages.push_back(value.asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); + auto allPackageDownloadUrls = objectNode["PackageDownloadUrls"]["PackageDownloadUrls"]; + for (auto value : allPackageDownloadUrls) + object_.packageDownloadUrls.push_back(value.asString()); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineInstanceStatusRequest.cc b/devops-rdc/src/model/GetPipelineInstanceStatusRequest.cc index 8c165bbb1..26c1a0b46 100644 --- a/devops-rdc/src/model/GetPipelineInstanceStatusRequest.cc +++ b/devops-rdc/src/model/GetPipelineInstanceStatusRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceStatusRequest; - -GetPipelineInstanceStatusRequest::GetPipelineInstanceStatusRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineInstanceStatusRequest::~GetPipelineInstanceStatusRequest() -{} - -long GetPipelineInstanceStatusRequest::getFlowInstanceId()const -{ - return flowInstanceId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineInstanceStatusRequest; + +GetPipelineInstanceStatusRequest::GetPipelineInstanceStatusRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineInstanceStatus") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineInstanceStatusRequest::setFlowInstanceId(long flowInstanceId) -{ - flowInstanceId_ = flowInstanceId; - setParameter("FlowInstanceId", std::to_string(flowInstanceId)); +GetPipelineInstanceStatusRequest::~GetPipelineInstanceStatusRequest() {} + +long GetPipelineInstanceStatusRequest::getFlowInstanceId() const { + return flowInstanceId_; } -std::string GetPipelineInstanceStatusRequest::getUserPk()const -{ - return userPk_; +void GetPipelineInstanceStatusRequest::setFlowInstanceId(long flowInstanceId) { + flowInstanceId_ = flowInstanceId; + setParameter(std::string("FlowInstanceId"), std::to_string(flowInstanceId)); } -void GetPipelineInstanceStatusRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineInstanceStatusRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineInstanceStatusRequest::getOrgId()const -{ - return orgId_; +void GetPipelineInstanceStatusRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineInstanceStatusRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string GetPipelineInstanceStatusRequest::getOrgId() const { + return orgId_; } -long GetPipelineInstanceStatusRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineInstanceStatusRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void GetPipelineInstanceStatusRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineInstanceStatusRequest::getPipelineId() const { + return pipelineId_; +} + +void GetPipelineInstanceStatusRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/GetPipelineInstanceStatusResult.cc b/devops-rdc/src/model/GetPipelineInstanceStatusResult.cc index 4cd3d6665..9b7d2cd59 100644 --- a/devops-rdc/src/model/GetPipelineInstanceStatusResult.cc +++ b/devops-rdc/src/model/GetPipelineInstanceStatusResult.cc @@ -39,14 +39,14 @@ void GetPipelineInstanceStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - 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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/GetPipelineLogRequest.cc b/devops-rdc/src/model/GetPipelineLogRequest.cc index 511b38d2e..180b623eb 100644 --- a/devops-rdc/src/model/GetPipelineLogRequest.cc +++ b/devops-rdc/src/model/GetPipelineLogRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipelineLogRequest; - -GetPipelineLogRequest::GetPipelineLogRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineLogRequest::~GetPipelineLogRequest() -{} - -std::string GetPipelineLogRequest::getUserPk()const -{ - return userPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineLogRequest; + +GetPipelineLogRequest::GetPipelineLogRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineLog") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineLogRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +GetPipelineLogRequest::~GetPipelineLogRequest() {} + +std::string GetPipelineLogRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineLogRequest::getOrgId()const -{ - return orgId_; +void GetPipelineLogRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineLogRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetPipelineLogRequest::getOrgId() const { + return orgId_; } -long GetPipelineLogRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineLogRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetPipelineLogRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineLogRequest::getPipelineId() const { + return pipelineId_; } -long GetPipelineLogRequest::getJobId()const -{ - return jobId_; +void GetPipelineLogRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } -void GetPipelineLogRequest::setJobId(long jobId) -{ - jobId_ = jobId; - setBodyParameter("JobId", std::to_string(jobId)); +long GetPipelineLogRequest::getJobId() const { + return jobId_; +} + +void GetPipelineLogRequest::setJobId(long jobId) { + jobId_ = jobId; + setBodyParameter(std::string("JobId"), std::to_string(jobId)); } diff --git a/devops-rdc/src/model/GetPipelineLogResult.cc b/devops-rdc/src/model/GetPipelineLogResult.cc index 1e0e6b85e..6612c6a0f 100644 --- a/devops-rdc/src/model/GetPipelineLogResult.cc +++ b/devops-rdc/src/model/GetPipelineLogResult.cc @@ -43,32 +43,32 @@ void GetPipelineLogResult::parse(const std::string &payload) for (auto valueObjectjob : allObjectNode) { Job objectObject; - if(!valueObjectjob["JobId"].isNull()) - objectObject.jobId = std::stol(valueObjectjob["JobId"].asString()); if(!valueObjectjob["ActionName"].isNull()) objectObject.actionName = valueObjectjob["ActionName"].asString(); if(!valueObjectjob["StartTime"].isNull()) objectObject.startTime = valueObjectjob["StartTime"].asString(); + if(!valueObjectjob["JobId"].isNull()) + objectObject.jobId = std::stol(valueObjectjob["JobId"].asString()); auto allBuildProcessNodesNode = valueObjectjob["BuildProcessNodes"]["buildProcessNode"]; for (auto valueObjectjobBuildProcessNodesbuildProcessNode : allBuildProcessNodesNode) { Job::BuildProcessNode buildProcessNodesObject; - if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].isNull()) - buildProcessNodesObject.nodeName = valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].asString(); - if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].isNull()) - buildProcessNodesObject.nodeIndex = std::stoi(valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].asString()); if(!valueObjectjobBuildProcessNodesbuildProcessNode["Status"].isNull()) buildProcessNodesObject.status = valueObjectjobBuildProcessNodesbuildProcessNode["Status"].asString(); + if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].isNull()) + buildProcessNodesObject.nodeIndex = std::stoi(valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].asString()); + if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].isNull()) + buildProcessNodesObject.nodeName = valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].asString(); objectObject.buildProcessNodes.push_back(buildProcessNodesObject); } object_.push_back(objectObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetPipelineStepLogRequest.cc b/devops-rdc/src/model/GetPipelineStepLogRequest.cc index ef04a2f91..8822b9de6 100644 --- a/devops-rdc/src/model/GetPipelineStepLogRequest.cc +++ b/devops-rdc/src/model/GetPipelineStepLogRequest.cc @@ -1,106 +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 - -using AlibabaCloud::Devops_rdc::Model::GetPipelineStepLogRequest; - -GetPipelineStepLogRequest::GetPipelineStepLogRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineStepLog") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipelineStepLogRequest::~GetPipelineStepLogRequest() -{} - -long GetPipelineStepLogRequest::getOffset()const -{ - return offset_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipelineStepLogRequest; + +GetPipelineStepLogRequest::GetPipelineStepLogRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipelineStepLog") { + setMethod(HttpRequest::Method::Post); } -void GetPipelineStepLogRequest::setOffset(long offset) -{ - offset_ = offset; - setBodyParameter("Offset", std::to_string(offset)); +GetPipelineStepLogRequest::~GetPipelineStepLogRequest() {} + +long GetPipelineStepLogRequest::getOffset() const { + return offset_; } -std::string GetPipelineStepLogRequest::getUserPk()const -{ - return userPk_; +void GetPipelineStepLogRequest::setOffset(long offset) { + offset_ = offset; + setBodyParameter(std::string("Offset"), std::to_string(offset)); } -void GetPipelineStepLogRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string GetPipelineStepLogRequest::getUserPk() const { + return userPk_; } -std::string GetPipelineStepLogRequest::getOrgId()const -{ - return orgId_; +void GetPipelineStepLogRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipelineStepLogRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetPipelineStepLogRequest::getOrgId() const { + return orgId_; } -long GetPipelineStepLogRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipelineStepLogRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetPipelineStepLogRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setBodyParameter("PipelineId", std::to_string(pipelineId)); +long GetPipelineStepLogRequest::getPipelineId() const { + return pipelineId_; } -long GetPipelineStepLogRequest::getJobId()const -{ - return jobId_; +void GetPipelineStepLogRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setBodyParameter(std::string("PipelineId"), std::to_string(pipelineId)); } -void GetPipelineStepLogRequest::setJobId(long jobId) -{ - jobId_ = jobId; - setBodyParameter("JobId", std::to_string(jobId)); +long GetPipelineStepLogRequest::getJobId() const { + return jobId_; } -std::string GetPipelineStepLogRequest::getStepIndex()const -{ - return stepIndex_; +void GetPipelineStepLogRequest::setJobId(long jobId) { + jobId_ = jobId; + setBodyParameter(std::string("JobId"), std::to_string(jobId)); } -void GetPipelineStepLogRequest::setStepIndex(const std::string& stepIndex) -{ - stepIndex_ = stepIndex; - setBodyParameter("StepIndex", stepIndex); +std::string GetPipelineStepLogRequest::getStepIndex() const { + return stepIndex_; } -long GetPipelineStepLogRequest::getLimit()const -{ - return limit_; +void GetPipelineStepLogRequest::setStepIndex(const std::string &stepIndex) { + stepIndex_ = stepIndex; + setBodyParameter(std::string("StepIndex"), stepIndex); } -void GetPipelineStepLogRequest::setLimit(long limit) -{ - limit_ = limit; - setBodyParameter("Limit", std::to_string(limit)); +long GetPipelineStepLogRequest::getLimit() const { + return limit_; +} + +void GetPipelineStepLogRequest::setLimit(long limit) { + limit_ = limit; + setBodyParameter(std::string("Limit"), std::to_string(limit)); } diff --git a/devops-rdc/src/model/GetPipelineStepLogResult.cc b/devops-rdc/src/model/GetPipelineStepLogResult.cc index 3f3a82706..94a13f07e 100644 --- a/devops-rdc/src/model/GetPipelineStepLogResult.cc +++ b/devops-rdc/src/model/GetPipelineStepLogResult.cc @@ -46,12 +46,12 @@ void GetPipelineStepLogResult::parse(const std::string &payload) object_.more = objectNode["More"].asString() == "true"; if(!objectNode["Logs"].isNull()) object_.logs = objectNode["Logs"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetPipleineLatestInstanceStatusRequest.cc b/devops-rdc/src/model/GetPipleineLatestInstanceStatusRequest.cc index 2f99fd10a..ef4982d6c 100644 --- a/devops-rdc/src/model/GetPipleineLatestInstanceStatusRequest.cc +++ b/devops-rdc/src/model/GetPipleineLatestInstanceStatusRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetPipleineLatestInstanceStatusRequest; - -GetPipleineLatestInstanceStatusRequest::GetPipleineLatestInstanceStatusRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipleineLatestInstanceStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPipleineLatestInstanceStatusRequest::~GetPipleineLatestInstanceStatusRequest() -{} - -std::string GetPipleineLatestInstanceStatusRequest::getUserPk()const -{ - return userPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetPipleineLatestInstanceStatusRequest; + +GetPipleineLatestInstanceStatusRequest::GetPipleineLatestInstanceStatusRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetPipleineLatestInstanceStatus") { + setMethod(HttpRequest::Method::Post); } -void GetPipleineLatestInstanceStatusRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +GetPipleineLatestInstanceStatusRequest::~GetPipleineLatestInstanceStatusRequest() {} + +std::string GetPipleineLatestInstanceStatusRequest::getUserPk() const { + return userPk_; } -std::string GetPipleineLatestInstanceStatusRequest::getOrgId()const -{ - return orgId_; +void GetPipleineLatestInstanceStatusRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetPipleineLatestInstanceStatusRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string GetPipleineLatestInstanceStatusRequest::getOrgId() const { + return orgId_; } -long GetPipleineLatestInstanceStatusRequest::getPipelineId()const -{ - return pipelineId_; +void GetPipleineLatestInstanceStatusRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void GetPipleineLatestInstanceStatusRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long GetPipleineLatestInstanceStatusRequest::getPipelineId() const { + return pipelineId_; +} + +void GetPipleineLatestInstanceStatusRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/GetPipleineLatestInstanceStatusResult.cc b/devops-rdc/src/model/GetPipleineLatestInstanceStatusResult.cc index 310b36ea5..58fae77d2 100644 --- a/devops-rdc/src/model/GetPipleineLatestInstanceStatusResult.cc +++ b/devops-rdc/src/model/GetPipleineLatestInstanceStatusResult.cc @@ -46,10 +46,10 @@ void GetPipleineLatestInstanceStatusResult::parse(const std::string &payload) for (auto objectNodeGroupsgroup : allGroupsNode) { Object::Group groupObject; - if(!objectNodeGroupsgroup["Name"].isNull()) - groupObject.name = objectNodeGroupsgroup["Name"].asString(); if(!objectNodeGroupsgroup["Status"].isNull()) groupObject.status = objectNodeGroupsgroup["Status"].asString(); + if(!objectNodeGroupsgroup["Name"].isNull()) + groupObject.name = objectNodeGroupsgroup["Name"].asString(); auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"]; for (auto objectNodeGroupsgroupStagesstage : allStagesNode) { @@ -62,10 +62,10 @@ void GetPipleineLatestInstanceStatusResult::parse(const std::string &payload) for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode) { Object::Group::Stage::Component componentsObject; - if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) - componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull()) componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString(); + if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull()) + componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString(); if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull()) componentsObject.jobId = std::stol(objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString()); stagesObject.components.push_back(componentsObject); @@ -74,12 +74,12 @@ void GetPipleineLatestInstanceStatusResult::parse(const std::string &payload) } object_.groups.push_back(groupObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/GetProjectOptionRequest.cc b/devops-rdc/src/model/GetProjectOptionRequest.cc index 693b5f4a1..b25f43d1e 100644 --- a/devops-rdc/src/model/GetProjectOptionRequest.cc +++ b/devops-rdc/src/model/GetProjectOptionRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetProjectOptionRequest; - -GetProjectOptionRequest::GetProjectOptionRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetProjectOption") -{ - setMethod(HttpRequest::Method::Post); -} - -GetProjectOptionRequest::~GetProjectOptionRequest() -{} - -std::string GetProjectOptionRequest::getQuery()const -{ - return query_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetProjectOptionRequest; + +GetProjectOptionRequest::GetProjectOptionRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetProjectOption") { + setMethod(HttpRequest::Method::Post); } -void GetProjectOptionRequest::setQuery(const std::string& query) -{ - query_ = query; - setBodyParameter("Query", query); +GetProjectOptionRequest::~GetProjectOptionRequest() {} + +std::string GetProjectOptionRequest::getQuery() const { + return query_; } -std::string GetProjectOptionRequest::getType()const -{ - return type_; +void GetProjectOptionRequest::setQuery(const std::string &query) { + query_ = query; + setBodyParameter(std::string("Query"), query); } -void GetProjectOptionRequest::setType(const std::string& type) -{ - type_ = type; - setBodyParameter("Type", type); +std::string GetProjectOptionRequest::getType() const { + return type_; } -std::string GetProjectOptionRequest::getProjectId()const -{ - return projectId_; +void GetProjectOptionRequest::setType(const std::string &type) { + type_ = type; + setBodyParameter(std::string("Type"), type); } -void GetProjectOptionRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string GetProjectOptionRequest::getProjectId() const { + return projectId_; } -std::string GetProjectOptionRequest::getOrgId()const -{ - return orgId_; +void GetProjectOptionRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetProjectOptionRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetProjectOptionRequest::getOrgId() const { + return orgId_; +} + +void GetProjectOptionRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetProjectOptionResult.cc b/devops-rdc/src/model/GetProjectOptionResult.cc index 8488014a1..fa337992a 100644 --- a/devops-rdc/src/model/GetProjectOptionResult.cc +++ b/devops-rdc/src/model/GetProjectOptionResult.cc @@ -43,22 +43,22 @@ void GetProjectOptionResult::parse(const std::string &payload) for (auto valueObjectOption : allObjectNode) { Option objectObject; - if(!valueObjectOption["Name"].isNull()) - objectObject.name = valueObjectOption["Name"].asString(); if(!valueObjectOption["Value"].isNull()) objectObject.value = valueObjectOption["Value"].asString(); - if(!valueObjectOption["Kind"].isNull()) - objectObject.kind = valueObjectOption["Kind"].asString(); + if(!valueObjectOption["Name"].isNull()) + objectObject.name = valueObjectOption["Name"].asString(); if(!valueObjectOption["ScopeName"].isNull()) objectObject.scopeName = valueObjectOption["ScopeName"].asString(); + if(!valueObjectOption["Kind"].isNull()) + objectObject.kind = valueObjectOption["Kind"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetTaskDetailActivityRequest.cc b/devops-rdc/src/model/GetTaskDetailActivityRequest.cc index 97b92905f..30d13d6c0 100644 --- a/devops-rdc/src/model/GetTaskDetailActivityRequest.cc +++ b/devops-rdc/src/model/GetTaskDetailActivityRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetTaskDetailActivityRequest; - -GetTaskDetailActivityRequest::GetTaskDetailActivityRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskDetailActivity") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTaskDetailActivityRequest::~GetTaskDetailActivityRequest() -{} - -std::string GetTaskDetailActivityRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetTaskDetailActivityRequest; + +GetTaskDetailActivityRequest::GetTaskDetailActivityRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskDetailActivity") { + setMethod(HttpRequest::Method::Post); } -void GetTaskDetailActivityRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +GetTaskDetailActivityRequest::~GetTaskDetailActivityRequest() {} + +std::string GetTaskDetailActivityRequest::getProjectId() const { + return projectId_; } -std::string GetTaskDetailActivityRequest::getOrgId()const -{ - return orgId_; +void GetTaskDetailActivityRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetTaskDetailActivityRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetTaskDetailActivityRequest::getOrgId() const { + return orgId_; } -std::string GetTaskDetailActivityRequest::getTaskId()const -{ - return taskId_; +void GetTaskDetailActivityRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetTaskDetailActivityRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string GetTaskDetailActivityRequest::getTaskId() const { + return taskId_; +} + +void GetTaskDetailActivityRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } diff --git a/devops-rdc/src/model/GetTaskDetailActivityResult.cc b/devops-rdc/src/model/GetTaskDetailActivityResult.cc index 66a8fd5d2..b25a9b1d2 100644 --- a/devops-rdc/src/model/GetTaskDetailActivityResult.cc +++ b/devops-rdc/src/model/GetTaskDetailActivityResult.cc @@ -43,39 +43,39 @@ void GetTaskDetailActivityResult::parse(const std::string &payload) for (auto valueObjectActivity : allObjectNode) { Activity objectObject; - if(!valueObjectActivity["Created"].isNull()) - objectObject.created = valueObjectActivity["Created"].asString(); - if(!valueObjectActivity["Title"].isNull()) - objectObject.title = valueObjectActivity["Title"].asString(); - if(!valueObjectActivity["Action"].isNull()) - objectObject.action = valueObjectActivity["Action"].asString(); if(!valueObjectActivity["Updated"].isNull()) objectObject.updated = valueObjectActivity["Updated"].asString(); + if(!valueObjectActivity["Action"].isNull()) + objectObject.action = valueObjectActivity["Action"].asString(); + if(!valueObjectActivity["Title"].isNull()) + objectObject.title = valueObjectActivity["Title"].asString(); + if(!valueObjectActivity["Created"].isNull()) + objectObject.created = valueObjectActivity["Created"].asString(); if(!valueObjectActivity["Content"].isNull()) objectObject.content = valueObjectActivity["Content"].asString(); object_.push_back(objectObject); } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); } -std::string GetTaskDetailActivityResult::getErrorMsg()const -{ - return errorMsg_; -} - int GetTaskDetailActivityResult::getHttpStatusCode()const { return httpStatusCode_; } +std::string GetTaskDetailActivityResult::getErrorMsg()const +{ + return errorMsg_; +} + std::vector GetTaskDetailActivityResult::getObject()const { return object_; diff --git a/devops-rdc/src/model/GetTaskDetailBaseRequest.cc b/devops-rdc/src/model/GetTaskDetailBaseRequest.cc index 99c89cf69..0674d7f7c 100644 --- a/devops-rdc/src/model/GetTaskDetailBaseRequest.cc +++ b/devops-rdc/src/model/GetTaskDetailBaseRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::GetTaskDetailBaseRequest; - -GetTaskDetailBaseRequest::GetTaskDetailBaseRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskDetailBase") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTaskDetailBaseRequest::~GetTaskDetailBaseRequest() -{} - -std::string GetTaskDetailBaseRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetTaskDetailBaseRequest; + +GetTaskDetailBaseRequest::GetTaskDetailBaseRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskDetailBase") { + setMethod(HttpRequest::Method::Post); } -void GetTaskDetailBaseRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +GetTaskDetailBaseRequest::~GetTaskDetailBaseRequest() {} + +std::string GetTaskDetailBaseRequest::getProjectId() const { + return projectId_; } -std::string GetTaskDetailBaseRequest::getOrgId()const -{ - return orgId_; +void GetTaskDetailBaseRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetTaskDetailBaseRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetTaskDetailBaseRequest::getOrgId() const { + return orgId_; } -std::string GetTaskDetailBaseRequest::getTaskId()const -{ - return taskId_; +void GetTaskDetailBaseRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetTaskDetailBaseRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string GetTaskDetailBaseRequest::getTaskId() const { + return taskId_; +} + +void GetTaskDetailBaseRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } diff --git a/devops-rdc/src/model/GetTaskDetailBaseResult.cc b/devops-rdc/src/model/GetTaskDetailBaseResult.cc index 8b0541d93..670e49adf 100644 --- a/devops-rdc/src/model/GetTaskDetailBaseResult.cc +++ b/devops-rdc/src/model/GetTaskDetailBaseResult.cc @@ -40,96 +40,96 @@ void GetTaskDetailBaseResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto objectNode = value["Object"]; - if(!objectNode["Parent"].isNull()) - object_.parent = objectNode["Parent"].asString(); - if(!objectNode["DueDate"].isNull()) - object_.dueDate = objectNode["DueDate"].asString(); - if(!objectNode["Sprint"].isNull()) - object_.sprint = objectNode["Sprint"].asString(); - if(!objectNode["Rating"].isNull()) - object_.rating = std::stoi(objectNode["Rating"].asString()); - if(!objectNode["SourceId"].isNull()) - object_.sourceId = objectNode["SourceId"].asString(); - if(!objectNode["Source"].isNull()) - object_.source = objectNode["Source"].asString(); - if(!objectNode["StageId"].isNull()) - object_.stageId = objectNode["StageId"].asString(); - if(!objectNode["ObjectType"].isNull()) - object_.objectType = objectNode["ObjectType"].asString(); - if(!objectNode["TaskflowstatusId"].isNull()) - object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); - if(!objectNode["LikesCount"].isNull()) - object_.likesCount = std::stoi(objectNode["LikesCount"].asString()); - if(!objectNode["Accomplished"].isNull()) - object_.accomplished = objectNode["Accomplished"].asString(); - if(!objectNode["ObjectlinksCount"].isNull()) - object_.objectlinksCount = std::stoi(objectNode["ObjectlinksCount"].asString()); - if(!objectNode["CreatorId"].isNull()) - object_.creatorId = objectNode["CreatorId"].asString(); - if(!objectNode["Visible"].isNull()) - object_.visible = objectNode["Visible"].asString(); - if(!objectNode["StoryPoint"].isNull()) - object_.storyPoint = objectNode["StoryPoint"].asString(); - if(!objectNode["Created"].isNull()) - object_.created = objectNode["Created"].asString(); - if(!objectNode["Priority"].isNull()) - object_.priority = std::stoi(objectNode["Priority"].asString()); - if(!objectNode["Recurrence"].isNull()) - object_.recurrence = objectNode["Recurrence"].asString(); - if(!objectNode["UntilDate"].isNull()) - object_.untilDate = objectNode["UntilDate"].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["UniqueId"].isNull()) - object_.uniqueId = std::stoi(objectNode["UniqueId"].asString()); if(!objectNode["IsFavorite"].isNull()) object_.isFavorite = objectNode["IsFavorite"].asString() == "true"; + if(!objectNode["Organization"].isNull()) + object_.organization = objectNode["Organization"].asString(); + if(!objectNode["ExecutorId"].isNull()) + object_.executorId = objectNode["ExecutorId"].asString(); + if(!objectNode["ScenariofieldconfigId"].isNull()) + object_.scenariofieldconfigId = objectNode["ScenariofieldconfigId"].asString(); + if(!objectNode["ProjectId"].isNull()) + object_.projectId = objectNode["ProjectId"].asString(); + if(!objectNode["IsTopInProject"].isNull()) + object_.isTopInProject = objectNode["IsTopInProject"].asString() == "true"; + if(!objectNode["Priority"].isNull()) + object_.priority = std::stoi(objectNode["Priority"].asString()); + if(!objectNode["ShareStatus"].isNull()) + object_.shareStatus = std::stoi(objectNode["ShareStatus"].asString()); + if(!objectNode["Accomplished"].isNull()) + object_.accomplished = objectNode["Accomplished"].asString(); + if(!objectNode["TaskflowstatusId"].isNull()) + object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString(); if(!objectNode["Note"].isNull()) object_.note = objectNode["Note"].asString(); + if(!objectNode["Updated"].isNull()) + object_.updated = objectNode["Updated"].asString(); + if(!objectNode["UniqueId"].isNull()) + object_.uniqueId = std::stoi(objectNode["UniqueId"].asString()); if(!objectNode["IsArchived"].isNull()) object_.isArchived = objectNode["IsArchived"].asString() == "true"; if(!objectNode["Content"].isNull()) object_.content = objectNode["Content"].asString(); - if(!objectNode["SourceDate"].isNull()) - object_.sourceDate = objectNode["SourceDate"].asString(); - if(!objectNode["AttachmentsCount"].isNull()) - object_.attachmentsCount = std::stoi(objectNode["AttachmentsCount"].asString()); - if(!objectNode["ScenariofieldconfigId"].isNull()) - object_.scenariofieldconfigId = objectNode["ScenariofieldconfigId"].asString(); - if(!objectNode["IsTopInProject"].isNull()) - object_.isTopInProject = objectNode["IsTopInProject"].asString() == "true"; - if(!objectNode["ExecutorId"].isNull()) - object_.executorId = objectNode["ExecutorId"].asString(); - if(!objectNode["OrganizationId"].isNull()) - object_.organizationId = objectNode["OrganizationId"].asString(); - if(!objectNode["IsDone"].isNull()) - object_.isDone = objectNode["IsDone"].asString() == "true"; - if(!objectNode["TaskId"].isNull()) - object_.taskId = objectNode["TaskId"].asString(); if(!objectNode["CommentsCount"].isNull()) object_.commentsCount = std::stoi(objectNode["CommentsCount"].asString()); - if(!objectNode["Organization"].isNull()) - object_.organization = objectNode["Organization"].asString(); + if(!objectNode["Rating"].isNull()) + object_.rating = std::stoi(objectNode["Rating"].asString()); + if(!objectNode["Recurrence"].isNull()) + object_.recurrence = objectNode["Recurrence"].asString(); + if(!objectNode["ObjectType"].isNull()) + object_.objectType = objectNode["ObjectType"].asString(); if(!objectNode["Progress"].isNull()) object_.progress = std::stoi(objectNode["Progress"].asString()); + if(!objectNode["UntilDate"].isNull()) + object_.untilDate = objectNode["UntilDate"].asString(); + if(!objectNode["StartDate"].isNull()) + object_.startDate = objectNode["StartDate"].asString(); + if(!objectNode["StoryPoint"].isNull()) + object_.storyPoint = objectNode["StoryPoint"].asString(); + if(!objectNode["ObjectlinksCount"].isNull()) + object_.objectlinksCount = std::stoi(objectNode["ObjectlinksCount"].asString()); + if(!objectNode["Sprint"].isNull()) + object_.sprint = objectNode["Sprint"].asString(); + if(!objectNode["CreatorId"].isNull()) + object_.creatorId = objectNode["CreatorId"].asString(); + if(!objectNode["Source"].isNull()) + object_.source = objectNode["Source"].asString(); + if(!objectNode["SourceId"].isNull()) + object_.sourceId = objectNode["SourceId"].asString(); + if(!objectNode["OrganizationId"].isNull()) + object_.organizationId = objectNode["OrganizationId"].asString(); + if(!objectNode["SourceDate"].isNull()) + object_.sourceDate = objectNode["SourceDate"].asString(); + if(!objectNode["LikesCount"].isNull()) + object_.likesCount = std::stoi(objectNode["LikesCount"].asString()); + if(!objectNode["StageId"].isNull()) + object_.stageId = objectNode["StageId"].asString(); + if(!objectNode["Visible"].isNull()) + object_.visible = objectNode["Visible"].asString(); + if(!objectNode["IsDone"].isNull()) + object_.isDone = objectNode["IsDone"].asString() == "true"; + if(!objectNode["Parent"].isNull()) + object_.parent = objectNode["Parent"].asString(); if(!objectNode["SprintId"].isNull()) object_.sprintId = objectNode["SprintId"].asString(); - if(!objectNode["ProjectId"].isNull()) - object_.projectId = objectNode["ProjectId"].asString(); - if(!objectNode["ShareStatus"].isNull()) - object_.shareStatus = std::stoi(objectNode["ShareStatus"].asString()); + if(!objectNode["AttachmentsCount"].isNull()) + object_.attachmentsCount = std::stoi(objectNode["AttachmentsCount"].asString()); + if(!objectNode["DueDate"].isNull()) + object_.dueDate = objectNode["DueDate"].asString(); + if(!objectNode["Created"].isNull()) + object_.created = objectNode["Created"].asString(); + if(!objectNode["TaskId"].isNull()) + object_.taskId = objectNode["TaskId"].asString(); + if(!objectNode["Id"].isNull()) + object_.id = objectNode["Id"].asString(); auto allCustomfieldsNode = objectNode["Customfields"]["Customfield"]; for (auto objectNodeCustomfieldsCustomfield : allCustomfieldsNode) { Object::Customfield customfieldObject; - if(!objectNodeCustomfieldsCustomfield["CustomfieldId"].isNull()) - customfieldObject.customfieldId = objectNodeCustomfieldsCustomfield["CustomfieldId"].asString(); if(!objectNodeCustomfieldsCustomfield["Type"].isNull()) customfieldObject.type = objectNodeCustomfieldsCustomfield["Type"].asString(); + if(!objectNodeCustomfieldsCustomfield["CustomfieldId"].isNull()) + customfieldObject.customfieldId = objectNodeCustomfieldsCustomfield["CustomfieldId"].asString(); auto allValueNode = objectNodeCustomfieldsCustomfield["Value"]["ValueInfo"]; for (auto objectNodeCustomfieldsCustomfieldValueValueInfo : allValueNode) { @@ -149,10 +149,10 @@ void GetTaskDetailBaseResult::parse(const std::string &payload) for (auto objectNodeSubtasksSubtask : allSubtasksNode) { Object::Subtask subtaskObject; - if(!objectNodeSubtasksSubtask["Id"].isNull()) - subtaskObject.id = objectNodeSubtasksSubtask["Id"].asString(); if(!objectNodeSubtasksSubtask["Content"].isNull()) subtaskObject.content = objectNodeSubtasksSubtask["Content"].asString(); + if(!objectNodeSubtasksSubtask["Id"].isNull()) + subtaskObject.id = objectNodeSubtasksSubtask["Id"].asString(); object_.subtasks.push_back(subtaskObject); } auto allInvolversNode = objectNode["Involvers"]["Involver"]; @@ -166,12 +166,12 @@ void GetTaskDetailBaseResult::parse(const std::string &payload) object_.involvers.push_back(involverObject); } auto scenariofieldconfigNode = objectNode["Scenariofieldconfig"]; - if(!scenariofieldconfigNode["Name"].isNull()) - object_.scenariofieldconfig.name = scenariofieldconfigNode["Name"].asString(); if(!scenariofieldconfigNode["Icon"].isNull()) object_.scenariofieldconfig.icon = scenariofieldconfigNode["Icon"].asString(); if(!scenariofieldconfigNode["ProTemplateConfigType"].isNull()) object_.scenariofieldconfig.proTemplateConfigType = scenariofieldconfigNode["ProTemplateConfigType"].asString(); + if(!scenariofieldconfigNode["Name"].isNull()) + object_.scenariofieldconfig.name = scenariofieldconfigNode["Name"].asString(); if(!scenariofieldconfigNode["Id"].isNull()) object_.scenariofieldconfig.id = scenariofieldconfigNode["Id"].asString(); auto executorNode = objectNode["Executor"]; @@ -187,28 +187,28 @@ void GetTaskDetailBaseResult::parse(const std::string &payload) if(!tasklistNode["Title"].isNull()) object_.tasklist.title = tasklistNode["Title"].asString(); auto taskflowstatusNode = objectNode["Taskflowstatus"]; - if(!taskflowstatusNode["Kind"].isNull()) - object_.taskflowstatus.kind = taskflowstatusNode["Kind"].asString(); if(!taskflowstatusNode["TaskflowId"].isNull()) object_.taskflowstatus.taskflowId = taskflowstatusNode["TaskflowId"].asString(); if(!taskflowstatusNode["Name"].isNull()) object_.taskflowstatus.name = taskflowstatusNode["Name"].asString(); if(!taskflowstatusNode["Id"].isNull()) object_.taskflowstatus.id = taskflowstatusNode["Id"].asString(); + if(!taskflowstatusNode["Kind"].isNull()) + object_.taskflowstatus.kind = taskflowstatusNode["Kind"].asString(); auto creatorNode = objectNode["Creator"]; if(!creatorNode["Name"].isNull()) object_.creator.name = creatorNode["Name"].asString(); if(!creatorNode["Id"].isNull()) object_.creator.id = creatorNode["Id"].asString(); auto reminderNode = objectNode["Reminder"]; + if(!reminderNode["Type"].isNull()) + object_.reminder.type = reminderNode["Type"].asString(); if(!reminderNode["Date"].isNull()) object_.reminder.date = reminderNode["Date"].asString(); if(!reminderNode["Method"].isNull()) object_.reminder.method = reminderNode["Method"].asString(); if(!reminderNode["CreatorId"].isNull()) object_.reminder.creatorId = reminderNode["CreatorId"].asString(); - if(!reminderNode["Type"].isNull()) - object_.reminder.type = reminderNode["Type"].asString(); auto allMemberRoles = reminderNode["MemberRoles"]["MemberRole"]; for (auto value : allMemberRoles) object_.reminder.memberRoles.push_back(value.asString()); @@ -219,55 +219,55 @@ void GetTaskDetailBaseResult::parse(const std::string &payload) for (auto value : allRules) object_.reminder.rules.push_back(value.asString()); auto subtaskCountNode = objectNode["SubtaskCount"]; - if(!subtaskCountNode["Total"].isNull()) - object_.subtaskCount.total = std::stoi(subtaskCountNode["Total"].asString()); if(!subtaskCountNode["Done"].isNull()) object_.subtaskCount.done = std::stoi(subtaskCountNode["Done"].asString()); + if(!subtaskCountNode["Total"].isNull()) + object_.subtaskCount.total = std::stoi(subtaskCountNode["Total"].asString()); auto workTimeNode = objectNode["WorkTime"]; if(!workTimeNode["UsedTime"].isNull()) object_.workTime.usedTime = std::stoi(workTimeNode["UsedTime"].asString()); - if(!workTimeNode["Unit"].isNull()) - object_.workTime.unit = workTimeNode["Unit"].asString(); if(!workTimeNode["TotalTime"].isNull()) object_.workTime.totalTime = std::stoi(workTimeNode["TotalTime"].asString()); + if(!workTimeNode["Unit"].isNull()) + object_.workTime.unit = workTimeNode["Unit"].asString(); auto badgesNode = objectNode["Badges"]; if(!badgesNode["LikesCount"].isNull()) object_.badges.likesCount = std::stoi(badgesNode["LikesCount"].asString()); + if(!badgesNode["ObjectlinksCount"].isNull()) + object_.badges.objectlinksCount = std::stoi(badgesNode["ObjectlinksCount"].asString()); if(!badgesNode["AttachmentsCount"].isNull()) object_.badges.attachmentsCount = std::stoi(badgesNode["AttachmentsCount"].asString()); if(!badgesNode["CommentsCount"].isNull()) object_.badges.commentsCount = std::stoi(badgesNode["CommentsCount"].asString()); - if(!badgesNode["ObjectlinksCount"].isNull()) - object_.badges.objectlinksCount = std::stoi(badgesNode["ObjectlinksCount"].asString()); auto stageNode = objectNode["Stage"]; if(!stageNode["Name"].isNull()) object_.stage.name = stageNode["Name"].asString(); if(!stageNode["Id"].isNull()) object_.stage.id = stageNode["Id"].asString(); + auto allLabels = objectNode["Labels"]["Label"]; + for (auto value : allLabels) + object_.labels.push_back(value.asString()); auto allDivisions = objectNode["Divisions"]["Division"]; for (auto value : allDivisions) object_.divisions.push_back(value.asString()); auto allAncestors = objectNode["Ancestors"]["Ancestor"]; for (auto value : allAncestors) object_.ancestors.push_back(value.asString()); - auto allLabels = objectNode["Labels"]["Label"]; - for (auto value : allLabels) - object_.labels.push_back(value.asString()); + auto allInvolveMembers = objectNode["InvolveMembers"]["InvolveMember"]; + for (auto value : allInvolveMembers) + object_.involveMembers.push_back(value.asString()); auto allTagIds = objectNode["TagIds"]["TagId"]; for (auto value : allTagIds) object_.tagIds.push_back(value.asString()); auto allAncestorIds = objectNode["AncestorIds"]["AncestorId"]; for (auto value : allAncestorIds) object_.ancestorIds.push_back(value.asString()); - auto allInvolveMembers = objectNode["InvolveMembers"]["InvolveMember"]; - for (auto value : allInvolveMembers) - object_.involveMembers.push_back(value.asString()); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetTaskListFilterRequest.cc b/devops-rdc/src/model/GetTaskListFilterRequest.cc index e3be836dc..c9a2fc0d8 100644 --- a/devops-rdc/src/model/GetTaskListFilterRequest.cc +++ b/devops-rdc/src/model/GetTaskListFilterRequest.cc @@ -1,249 +1,207 @@ /* * 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::GetTaskListFilterRequest; - -GetTaskListFilterRequest::GetTaskListFilterRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskListFilter") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTaskListFilterRequest::~GetTaskListFilterRequest() -{} - -std::string GetTaskListFilterRequest::getInvolveMembers()const -{ - return involveMembers_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetTaskListFilterRequest; + +GetTaskListFilterRequest::GetTaskListFilterRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetTaskListFilter") { + setMethod(HttpRequest::Method::Post); } -void GetTaskListFilterRequest::setInvolveMembers(const std::string& involveMembers) -{ - involveMembers_ = involveMembers; - setBodyParameter("InvolveMembers", involveMembers); +GetTaskListFilterRequest::~GetTaskListFilterRequest() {} + +std::string GetTaskListFilterRequest::getInvolveMembers() const { + return involveMembers_; } -std::string GetTaskListFilterRequest::getExecutorId()const -{ - return executorId_; +void GetTaskListFilterRequest::setInvolveMembers(const std::string &involveMembers) { + involveMembers_ = involveMembers; + setBodyParameter(std::string("InvolveMembers"), involveMembers); } -void GetTaskListFilterRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +std::string GetTaskListFilterRequest::getExecutorId() const { + return executorId_; } -std::string GetTaskListFilterRequest::getOrderCondition()const -{ - return orderCondition_; +void GetTaskListFilterRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void GetTaskListFilterRequest::setOrderCondition(const std::string& orderCondition) -{ - orderCondition_ = orderCondition; - setBodyParameter("OrderCondition", orderCondition); +std::string GetTaskListFilterRequest::getOrderCondition() const { + return orderCondition_; } -std::string GetTaskListFilterRequest::getSprintId()const -{ - return sprintId_; +void GetTaskListFilterRequest::setOrderCondition(const std::string &orderCondition) { + orderCondition_ = orderCondition; + setBodyParameter(std::string("OrderCondition"), orderCondition); } -void GetTaskListFilterRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +std::string GetTaskListFilterRequest::getSprintId() const { + return sprintId_; } -std::string GetTaskListFilterRequest::getExtra()const -{ - return extra_; +void GetTaskListFilterRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void GetTaskListFilterRequest::setExtra(const std::string& extra) -{ - extra_ = extra; - setBodyParameter("Extra", extra); +std::string GetTaskListFilterRequest::getExtra() const { + return extra_; } -int GetTaskListFilterRequest::getPageSize()const -{ - return pageSize_; +void GetTaskListFilterRequest::setExtra(const std::string &extra) { + extra_ = extra; + setBodyParameter(std::string("Extra"), extra); } -void GetTaskListFilterRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int GetTaskListFilterRequest::getPageSize() const { + return pageSize_; } -std::string GetTaskListFilterRequest::getScenarioFieldConfigId()const -{ - return scenarioFieldConfigId_; +void GetTaskListFilterRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetTaskListFilterRequest::setScenarioFieldConfigId(const std::string& scenarioFieldConfigId) -{ - scenarioFieldConfigId_ = scenarioFieldConfigId; - setBodyParameter("ScenarioFieldConfigId", scenarioFieldConfigId); +std::string GetTaskListFilterRequest::getScenarioFieldConfigId() const { + return scenarioFieldConfigId_; } -bool GetTaskListFilterRequest::getIsDone()const -{ - return isDone_; +void GetTaskListFilterRequest::setScenarioFieldConfigId(const std::string &scenarioFieldConfigId) { + scenarioFieldConfigId_ = scenarioFieldConfigId; + setBodyParameter(std::string("ScenarioFieldConfigId"), scenarioFieldConfigId); } -void GetTaskListFilterRequest::setIsDone(bool isDone) -{ - isDone_ = isDone; - setBodyParameter("IsDone", isDone ? "true" : "false"); +bool GetTaskListFilterRequest::getIsDone() const { + return isDone_; } -std::string GetTaskListFilterRequest::getObjectType()const -{ - return objectType_; +void GetTaskListFilterRequest::setIsDone(bool isDone) { + isDone_ = isDone; + setBodyParameter(std::string("IsDone"), isDone ? "true" : "false"); } -void GetTaskListFilterRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setBodyParameter("ObjectType", objectType); +std::string GetTaskListFilterRequest::getObjectType() const { + return objectType_; } -std::string GetTaskListFilterRequest::getProjectId()const -{ - return projectId_; +void GetTaskListFilterRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setBodyParameter(std::string("ObjectType"), objectType); } -void GetTaskListFilterRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string GetTaskListFilterRequest::getProjectId() const { + return projectId_; } -std::string GetTaskListFilterRequest::getPageToken()const -{ - return pageToken_; +void GetTaskListFilterRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void GetTaskListFilterRequest::setPageToken(const std::string& pageToken) -{ - pageToken_ = pageToken; - setBodyParameter("PageToken", pageToken); +std::string GetTaskListFilterRequest::getPageToken() const { + return pageToken_; } -std::string GetTaskListFilterRequest::getOrder()const -{ - return order_; +void GetTaskListFilterRequest::setPageToken(const std::string &pageToken) { + pageToken_ = pageToken; + setBodyParameter(std::string("PageToken"), pageToken); } -void GetTaskListFilterRequest::setOrder(const std::string& order) -{ - order_ = order; - setBodyParameter("Order", order); +std::string GetTaskListFilterRequest::getOrder() const { + return order_; } -std::string GetTaskListFilterRequest::getTagId()const -{ - return tagId_; +void GetTaskListFilterRequest::setOrder(const std::string &order) { + order_ = order; + setBodyParameter(std::string("Order"), order); } -void GetTaskListFilterRequest::setTagId(const std::string& tagId) -{ - tagId_ = tagId; - setBodyParameter("TagId", tagId); +std::string GetTaskListFilterRequest::getTagId() const { + return tagId_; } -std::string GetTaskListFilterRequest::getTaskFlowStatusId()const -{ - return taskFlowStatusId_; +void GetTaskListFilterRequest::setTagId(const std::string &tagId) { + tagId_ = tagId; + setBodyParameter(std::string("TagId"), tagId); } -void GetTaskListFilterRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) -{ - taskFlowStatusId_ = taskFlowStatusId; - setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +std::string GetTaskListFilterRequest::getTaskFlowStatusId() const { + return taskFlowStatusId_; } -std::string GetTaskListFilterRequest::getDueDateStart()const -{ - return dueDateStart_; +void GetTaskListFilterRequest::setTaskFlowStatusId(const std::string &taskFlowStatusId) { + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter(std::string("TaskFlowStatusId"), taskFlowStatusId); } -void GetTaskListFilterRequest::setDueDateStart(const std::string& dueDateStart) -{ - dueDateStart_ = dueDateStart; - setBodyParameter("DueDateStart", dueDateStart); +std::string GetTaskListFilterRequest::getDueDateStart() const { + return dueDateStart_; } -std::string GetTaskListFilterRequest::getCreatorId()const -{ - return creatorId_; +void GetTaskListFilterRequest::setDueDateStart(const std::string &dueDateStart) { + dueDateStart_ = dueDateStart; + setBodyParameter(std::string("DueDateStart"), dueDateStart); } -void GetTaskListFilterRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); +std::string GetTaskListFilterRequest::getCreatorId() const { + return creatorId_; } -std::string GetTaskListFilterRequest::getPriority()const -{ - return priority_; +void GetTaskListFilterRequest::setCreatorId(const std::string &creatorId) { + creatorId_ = creatorId; + setBodyParameter(std::string("CreatorId"), creatorId); } -void GetTaskListFilterRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); +std::string GetTaskListFilterRequest::getPriority() const { + return priority_; } -std::string GetTaskListFilterRequest::getDueDateEnd()const -{ - return dueDateEnd_; +void GetTaskListFilterRequest::setPriority(const std::string &priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), priority); } -void GetTaskListFilterRequest::setDueDateEnd(const std::string& dueDateEnd) -{ - dueDateEnd_ = dueDateEnd; - setBodyParameter("DueDateEnd", dueDateEnd); +std::string GetTaskListFilterRequest::getDueDateEnd() const { + return dueDateEnd_; } -std::string GetTaskListFilterRequest::getOrgId()const -{ - return orgId_; +void GetTaskListFilterRequest::setDueDateEnd(const std::string &dueDateEnd) { + dueDateEnd_ = dueDateEnd; + setBodyParameter(std::string("DueDateEnd"), dueDateEnd); } -void GetTaskListFilterRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetTaskListFilterRequest::getOrgId() const { + return orgId_; } -std::string GetTaskListFilterRequest::getName()const -{ - return name_; +void GetTaskListFilterRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void GetTaskListFilterRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string GetTaskListFilterRequest::getName() const { + return name_; +} + +void GetTaskListFilterRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/devops-rdc/src/model/GetTaskListFilterResult.cc b/devops-rdc/src/model/GetTaskListFilterResult.cc index 365049b4a..669df6d84 100644 --- a/devops-rdc/src/model/GetTaskListFilterResult.cc +++ b/devops-rdc/src/model/GetTaskListFilterResult.cc @@ -48,100 +48,98 @@ void GetTaskListFilterResult::parse(const std::string &payload) for (auto objectNodeResultTask : allResultNode) { Object::Task taskObject; - if(!objectNodeResultTask["Id"].isNull()) - taskObject.id = objectNodeResultTask["Id"].asString(); - if(!objectNodeResultTask["CreatorId"].isNull()) - taskObject.creatorId = objectNodeResultTask["CreatorId"].asString(); + if(!objectNodeResultTask["IsFavorite"].isNull()) + taskObject.isFavorite = objectNodeResultTask["IsFavorite"].asString() == "true"; if(!objectNodeResultTask["ExecutorId"].isNull()) taskObject.executorId = objectNodeResultTask["ExecutorId"].asString(); if(!objectNodeResultTask["ProjectId"].isNull()) taskObject.projectId = objectNodeResultTask["ProjectId"].asString(); - if(!objectNodeResultTask["TaskListId"].isNull()) - taskObject.taskListId = objectNodeResultTask["TaskListId"].asString(); - if(!objectNodeResultTask["OrganizationId"].isNull()) - taskObject.organizationId = objectNodeResultTask["OrganizationId"].asString(); - if(!objectNodeResultTask["StageId"].isNull()) - taskObject.stageId = objectNodeResultTask["StageId"].asString(); - if(!objectNodeResultTask["Visible"].isNull()) - taskObject.visible = objectNodeResultTask["Visible"].asString(); - if(!objectNodeResultTask["Updated"].isNull()) - taskObject.updated = objectNodeResultTask["Updated"].asString(); - if(!objectNodeResultTask["Created"].isNull()) - taskObject.created = objectNodeResultTask["Created"].asString(); - if(!objectNodeResultTask["IsArchived"].isNull()) - taskObject.isArchived = objectNodeResultTask["IsArchived"].asString() == "true"; - if(!objectNodeResultTask["IsDone"].isNull()) - taskObject.isDone = objectNodeResultTask["IsDone"].asString() == "true"; - if(!objectNodeResultTask["IsTopInProject"].isNull()) - taskObject.isTopInProject = objectNodeResultTask["IsTopInProject"].asString() == "true"; if(!objectNodeResultTask["Priority"].isNull()) taskObject.priority = std::stoi(objectNodeResultTask["Priority"].asString()); - if(!objectNodeResultTask["Pos"].isNull()) - taskObject.pos = std::stoi(objectNodeResultTask["Pos"].asString()); - if(!objectNodeResultTask["StartDate"].isNull()) - taskObject.startDate = objectNodeResultTask["StartDate"].asString(); - if(!objectNodeResultTask["DueDate"].isNull()) - taskObject.dueDate = objectNodeResultTask["DueDate"].asString(); - if(!objectNodeResultTask["Accomplished"].isNull()) - taskObject.accomplished = objectNodeResultTask["Accomplished"].asString(); - if(!objectNodeResultTask["Note"].isNull()) - taskObject.note = objectNodeResultTask["Note"].asString(); - if(!objectNodeResultTask["Content"].isNull()) - taskObject.content = objectNodeResultTask["Content"].asString(); - if(!objectNodeResultTask["Recurrence"].isNull()) - taskObject.recurrence = objectNodeResultTask["Recurrence"].asString(); - if(!objectNodeResultTask["SourceId"].isNull()) - taskObject.sourceId = objectNodeResultTask["SourceId"].asString(); - if(!objectNodeResultTask["SourceDate"].isNull()) - taskObject.sourceDate = objectNodeResultTask["SourceDate"].asString(); - if(!objectNodeResultTask["CommentsCount"].isNull()) - taskObject.commentsCount = std::stoi(objectNodeResultTask["CommentsCount"].asString()); - if(!objectNodeResultTask["AttachmentsCount"].isNull()) - taskObject.attachmentsCount = std::stoi(objectNodeResultTask["AttachmentsCount"].asString()); - if(!objectNodeResultTask["LikesCount"].isNull()) - taskObject.likesCount = std::stoi(objectNodeResultTask["LikesCount"].asString()); - if(!objectNodeResultTask["ObjectlinksCount"].isNull()) - taskObject.objectlinksCount = std::stoi(objectNodeResultTask["ObjectlinksCount"].asString()); - if(!objectNodeResultTask["UniqueId"].isNull()) - taskObject.uniqueId = std::stoi(objectNodeResultTask["UniqueId"].asString()); - if(!objectNodeResultTask["StoryPoint"].isNull()) - taskObject.storyPoint = objectNodeResultTask["StoryPoint"].asString(); - if(!objectNodeResultTask["Progress"].isNull()) - taskObject.progress = std::stoi(objectNodeResultTask["Progress"].asString()); - if(!objectNodeResultTask["Rating"].isNull()) - taskObject.rating = std::stoi(objectNodeResultTask["Rating"].asString()); - if(!objectNodeResultTask["IsFavorite"].isNull()) - taskObject.isFavorite = objectNodeResultTask["IsFavorite"].asString() == "true"; + if(!objectNodeResultTask["IsTopInProject"].isNull()) + taskObject.isTopInProject = objectNodeResultTask["IsTopInProject"].asString() == "true"; if(!objectNodeResultTask["ScenariofFeldConfigId"].isNull()) taskObject.scenariofFeldConfigId = objectNodeResultTask["ScenariofFeldConfigId"].asString(); if(!objectNodeResultTask["ShareStatus"].isNull()) taskObject.shareStatus = std::stoi(objectNodeResultTask["ShareStatus"].asString()); - if(!objectNodeResultTask["SprintId"].isNull()) - taskObject.sprintId = objectNodeResultTask["SprintId"].asString(); + if(!objectNodeResultTask["Accomplished"].isNull()) + taskObject.accomplished = objectNodeResultTask["Accomplished"].asString(); + if(!objectNodeResultTask["TaskListId"].isNull()) + taskObject.taskListId = objectNodeResultTask["TaskListId"].asString(); + if(!objectNodeResultTask["Note"].isNull()) + taskObject.note = objectNodeResultTask["Note"].asString(); + if(!objectNodeResultTask["Updated"].isNull()) + taskObject.updated = objectNodeResultTask["Updated"].asString(); + if(!objectNodeResultTask["UniqueId"].isNull()) + taskObject.uniqueId = std::stoi(objectNodeResultTask["UniqueId"].asString()); + if(!objectNodeResultTask["IsArchived"].isNull()) + taskObject.isArchived = objectNodeResultTask["IsArchived"].asString() == "true"; + if(!objectNodeResultTask["Content"].isNull()) + taskObject.content = objectNodeResultTask["Content"].asString(); + if(!objectNodeResultTask["Rating"].isNull()) + taskObject.rating = std::stoi(objectNodeResultTask["Rating"].asString()); + if(!objectNodeResultTask["CommentsCount"].isNull()) + taskObject.commentsCount = std::stoi(objectNodeResultTask["CommentsCount"].asString()); if(!objectNodeResultTask["TaskFlowStatusId"].isNull()) taskObject.taskFlowStatusId = objectNodeResultTask["TaskFlowStatusId"].asString(); + if(!objectNodeResultTask["Recurrence"].isNull()) + taskObject.recurrence = objectNodeResultTask["Recurrence"].asString(); if(!objectNodeResultTask["ObjectType"].isNull()) taskObject.objectType = objectNodeResultTask["ObjectType"].asString(); - if(!objectNodeResultTask["Source"].isNull()) - taskObject.source = objectNodeResultTask["Source"].asString(); + if(!objectNodeResultTask["Progress"].isNull()) + taskObject.progress = std::stoi(objectNodeResultTask["Progress"].asString()); if(!objectNodeResultTask["UntilDate"].isNull()) taskObject.untilDate = objectNodeResultTask["UntilDate"].asString(); - if(!objectNodeResultTask["TaskId"].isNull()) - taskObject.taskId = objectNodeResultTask["TaskId"].asString(); + if(!objectNodeResultTask["StoryPoint"].isNull()) + taskObject.storyPoint = objectNodeResultTask["StoryPoint"].asString(); + if(!objectNodeResultTask["ObjectlinksCount"].isNull()) + taskObject.objectlinksCount = std::stoi(objectNodeResultTask["ObjectlinksCount"].asString()); + if(!objectNodeResultTask["StartDate"].isNull()) + taskObject.startDate = objectNodeResultTask["StartDate"].asString(); if(!objectNodeResultTask["Sprint"].isNull()) taskObject.sprint = objectNodeResultTask["Sprint"].asString(); + if(!objectNodeResultTask["CreatorId"].isNull()) + taskObject.creatorId = objectNodeResultTask["CreatorId"].asString(); + if(!objectNodeResultTask["Source"].isNull()) + taskObject.source = objectNodeResultTask["Source"].asString(); + if(!objectNodeResultTask["SourceId"].isNull()) + taskObject.sourceId = objectNodeResultTask["SourceId"].asString(); + if(!objectNodeResultTask["SourceDate"].isNull()) + taskObject.sourceDate = objectNodeResultTask["SourceDate"].asString(); + if(!objectNodeResultTask["OrganizationId"].isNull()) + taskObject.organizationId = objectNodeResultTask["OrganizationId"].asString(); + if(!objectNodeResultTask["LikesCount"].isNull()) + taskObject.likesCount = std::stoi(objectNodeResultTask["LikesCount"].asString()); + if(!objectNodeResultTask["StageId"].isNull()) + taskObject.stageId = objectNodeResultTask["StageId"].asString(); + if(!objectNodeResultTask["Visible"].isNull()) + taskObject.visible = objectNodeResultTask["Visible"].asString(); + if(!objectNodeResultTask["IsDone"].isNull()) + taskObject.isDone = objectNodeResultTask["IsDone"].asString() == "true"; if(!objectNodeResultTask["Parent"].isNull()) taskObject.parent = objectNodeResultTask["Parent"].asString(); + if(!objectNodeResultTask["SprintId"].isNull()) + taskObject.sprintId = objectNodeResultTask["SprintId"].asString(); + if(!objectNodeResultTask["AttachmentsCount"].isNull()) + taskObject.attachmentsCount = std::stoi(objectNodeResultTask["AttachmentsCount"].asString()); + if(!objectNodeResultTask["DueDate"].isNull()) + taskObject.dueDate = objectNodeResultTask["DueDate"].asString(); if(!objectNodeResultTask["TaskUniqueId"].isNull()) taskObject.taskUniqueId = objectNodeResultTask["TaskUniqueId"].asString(); + if(!objectNodeResultTask["Created"].isNull()) + taskObject.created = objectNodeResultTask["Created"].asString(); + if(!objectNodeResultTask["TaskId"].isNull()) + taskObject.taskId = objectNodeResultTask["TaskId"].asString(); + if(!objectNodeResultTask["Id"].isNull()) + taskObject.id = objectNodeResultTask["Id"].asString(); auto allCustomfieldsNode = objectNodeResultTask["Customfields"]["Customfield"]; for (auto objectNodeResultTaskCustomfieldsCustomfield : allCustomfieldsNode) { Object::Task::Customfield customfieldsObject; - if(!objectNodeResultTaskCustomfieldsCustomfield["CustomfieldId"].isNull()) - customfieldsObject.customfieldId = objectNodeResultTaskCustomfieldsCustomfield["CustomfieldId"].asString(); if(!objectNodeResultTaskCustomfieldsCustomfield["Type"].isNull()) customfieldsObject.type = objectNodeResultTaskCustomfieldsCustomfield["Type"].asString(); + if(!objectNodeResultTaskCustomfieldsCustomfield["CustomfieldId"].isNull()) + customfieldsObject.customfieldId = objectNodeResultTaskCustomfieldsCustomfield["CustomfieldId"].asString(); if(!objectNodeResultTaskCustomfieldsCustomfield["Values"].isNull()) customfieldsObject.values = objectNodeResultTaskCustomfieldsCustomfield["Values"].asString(); auto allValueNode = objectNodeResultTaskCustomfieldsCustomfield["Value"]["ValueItem"]; @@ -157,26 +155,26 @@ void GetTaskListFilterResult::parse(const std::string &payload) taskObject.customfields.push_back(customfieldsObject); } auto workTimeNode = value["WorkTime"]; - if(!workTimeNode["TotalTime"].isNull()) - taskObject.workTime.totalTime = std::stoi(workTimeNode["TotalTime"].asString()); if(!workTimeNode["UsedTime"].isNull()) taskObject.workTime.usedTime = std::stoi(workTimeNode["UsedTime"].asString()); + if(!workTimeNode["TotalTime"].isNull()) + taskObject.workTime.totalTime = std::stoi(workTimeNode["TotalTime"].asString()); if(!workTimeNode["Unit"].isNull()) taskObject.workTime.unit = workTimeNode["Unit"].asString(); auto badgesNode = value["Badges"]; - if(!badgesNode["ObjectlinksCount"].isNull()) - taskObject.badges.objectlinksCount = std::stoi(badgesNode["ObjectlinksCount"].asString()); - if(!badgesNode["CommentsCount"].isNull()) - taskObject.badges.commentsCount = std::stoi(badgesNode["CommentsCount"].asString()); - if(!badgesNode["AttachmentsCount"].isNull()) - taskObject.badges.attachmentsCount = std::stoi(badgesNode["AttachmentsCount"].asString()); if(!badgesNode["LikesCount"].isNull()) taskObject.badges.likesCount = std::stoi(badgesNode["LikesCount"].asString()); + if(!badgesNode["ObjectlinksCount"].isNull()) + taskObject.badges.objectlinksCount = std::stoi(badgesNode["ObjectlinksCount"].asString()); + if(!badgesNode["AttachmentsCount"].isNull()) + taskObject.badges.attachmentsCount = std::stoi(badgesNode["AttachmentsCount"].asString()); + if(!badgesNode["CommentsCount"].isNull()) + taskObject.badges.commentsCount = std::stoi(badgesNode["CommentsCount"].asString()); auto subtaskCountNode = value["SubtaskCount"]; - if(!subtaskCountNode["Total"].isNull()) - taskObject.subtaskCount.total = std::stoi(subtaskCountNode["Total"].asString()); if(!subtaskCountNode["Done"].isNull()) taskObject.subtaskCount.done = std::stoi(subtaskCountNode["Done"].asString()); + if(!subtaskCountNode["Total"].isNull()) + taskObject.subtaskCount.total = std::stoi(subtaskCountNode["Total"].asString()); auto reminderNode = value["Reminder"]; if(!reminderNode["Type"].isNull()) taskObject.reminder.type = reminderNode["Type"].asString(); @@ -191,58 +189,58 @@ void GetTaskListFilterResult::parse(const std::string &payload) for (auto value : allRules) taskObject.reminder.rules.push_back(value.asString()); auto creatorNode = value["Creator"]; - if(!creatorNode["Id"].isNull()) - taskObject.creator.id = creatorNode["Id"].asString(); if(!creatorNode["Name"].isNull()) taskObject.creator.name = creatorNode["Name"].asString(); if(!creatorNode["AvatarUrl"].isNull()) taskObject.creator.avatarUrl = creatorNode["AvatarUrl"].asString(); + if(!creatorNode["Id"].isNull()) + taskObject.creator.id = creatorNode["Id"].asString(); auto stageNode = value["Stage"]; - if(!stageNode["Id"].isNull()) - taskObject.stage.id = stageNode["Id"].asString(); if(!stageNode["Name"].isNull()) taskObject.stage.name = stageNode["Name"].asString(); + if(!stageNode["Id"].isNull()) + taskObject.stage.id = stageNode["Id"].asString(); auto executorNode = value["Executor"]; - if(!executorNode["Id"].isNull()) - taskObject.executor.id = executorNode["Id"].asString(); if(!executorNode["Name"].isNull()) taskObject.executor.name = executorNode["Name"].asString(); if(!executorNode["AvatarUrl"].isNull()) taskObject.executor.avatarUrl = executorNode["AvatarUrl"].asString(); + if(!executorNode["Id"].isNull()) + taskObject.executor.id = executorNode["Id"].asString(); auto taskFlowStatusNode = value["TaskFlowStatus"]; - if(!taskFlowStatusNode["Id"].isNull()) - taskObject.taskFlowStatus.id = taskFlowStatusNode["Id"].asString(); - if(!taskFlowStatusNode["Name"].isNull()) - taskObject.taskFlowStatus.name = taskFlowStatusNode["Name"].asString(); - if(!taskFlowStatusNode["Kind"].isNull()) - taskObject.taskFlowStatus.kind = taskFlowStatusNode["Kind"].asString(); - if(!taskFlowStatusNode["Pos"].isNull()) - taskObject.taskFlowStatus.pos = std::stoi(taskFlowStatusNode["Pos"].asString()); if(!taskFlowStatusNode["TaskFlowId"].isNull()) taskObject.taskFlowStatus.taskFlowId = taskFlowStatusNode["TaskFlowId"].asString(); - auto allAncestorIds = value["AncestorIds"]["AncestorId"]; - for (auto value : allAncestorIds) - taskObject.ancestorIds.push_back(value.asString()); - auto allLabels = value["Labels"]["Label"]; - for (auto value : allLabels) - taskObject.labels.push_back(value.asString()); - auto allTagIds = value["TagIds"]["TagId"]; - for (auto value : allTagIds) - taskObject.tagIds.push_back(value.asString()); + if(!taskFlowStatusNode["Name"].isNull()) + taskObject.taskFlowStatus.name = taskFlowStatusNode["Name"].asString(); + if(!taskFlowStatusNode["Pos"].isNull()) + taskObject.taskFlowStatus.pos = std::stoi(taskFlowStatusNode["Pos"].asString()); + if(!taskFlowStatusNode["Kind"].isNull()) + taskObject.taskFlowStatus.kind = taskFlowStatusNode["Kind"].asString(); + if(!taskFlowStatusNode["Id"].isNull()) + taskObject.taskFlowStatus.id = taskFlowStatusNode["Id"].asString(); auto allInvolveMembers = value["InvolveMembers"]["InvolveMember"]; for (auto value : allInvolveMembers) taskObject.involveMembers.push_back(value.asString()); + auto allTagIds = value["TagIds"]["TagId"]; + for (auto value : allTagIds) + taskObject.tagIds.push_back(value.asString()); + auto allLabels = value["Labels"]["Label"]; + for (auto value : allLabels) + taskObject.labels.push_back(value.asString()); auto allDivisions = value["Divisions"]["Division"]; for (auto value : allDivisions) taskObject.divisions.push_back(value.asString()); + auto allAncestorIds = value["AncestorIds"]["AncestorId"]; + for (auto value : allAncestorIds) + taskObject.ancestorIds.push_back(value.asString()); object_.result.push_back(taskObject); } if(!value["ErrorMsg"].isNull()) errorMsg_ = value["ErrorMsg"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Successful"].isNull()) successful_ = value["Successful"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/GetUserByAliyunUidRequest.cc b/devops-rdc/src/model/GetUserByAliyunUidRequest.cc index d02491b46..ef48769bd 100644 --- a/devops-rdc/src/model/GetUserByAliyunUidRequest.cc +++ b/devops-rdc/src/model/GetUserByAliyunUidRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetUserByAliyunUidRequest; + +GetUserByAliyunUidRequest::GetUserByAliyunUidRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetUserByAliyunUid") { + setMethod(HttpRequest::Method::Post); } -void GetUserByAliyunUidRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +GetUserByAliyunUidRequest::~GetUserByAliyunUidRequest() {} + +std::string GetUserByAliyunUidRequest::getUserPk() const { + return userPk_; } -std::string GetUserByAliyunUidRequest::getOrgId()const -{ - return orgId_; +void GetUserByAliyunUidRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void GetUserByAliyunUidRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetUserByAliyunUidRequest::getOrgId() const { + return orgId_; +} + +void GetUserByAliyunUidRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetUserByAliyunUidResult.cc b/devops-rdc/src/model/GetUserByAliyunUidResult.cc index 07f222e2a..1efd0d909 100644 --- a/devops-rdc/src/model/GetUserByAliyunUidResult.cc +++ b/devops-rdc/src/model/GetUserByAliyunUidResult.cc @@ -40,24 +40,24 @@ void GetUserByAliyunUidResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto objectNode = value["Object"]; + if(!objectNode["AliyunPk"].isNull()) + object_.aliyunPk = objectNode["AliyunPk"].asString(); + if(!objectNode["Email"].isNull()) + object_.email = objectNode["Email"].asString(); + if(!objectNode["AvatarUrl"].isNull()) + object_.avatarUrl = objectNode["AvatarUrl"].asString(); 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["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/GetUserNameRequest.cc b/devops-rdc/src/model/GetUserNameRequest.cc index 24e848109..58f96c7db 100644 --- a/devops-rdc/src/model/GetUserNameRequest.cc +++ b/devops-rdc/src/model/GetUserNameRequest.cc @@ -1,51 +1,45 @@ /* * 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::GetUserNameRequest; - -GetUserNameRequest::GetUserNameRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "GetUserName") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUserNameRequest::~GetUserNameRequest() -{} - -std::string GetUserNameRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::GetUserNameRequest; + +GetUserNameRequest::GetUserNameRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "GetUserName") { + setMethod(HttpRequest::Method::Post); } -void GetUserNameRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +GetUserNameRequest::~GetUserNameRequest() {} + +std::string GetUserNameRequest::getUserId() const { + return userId_; } -std::string GetUserNameRequest::getOrgId()const -{ - return orgId_; +void GetUserNameRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } -void GetUserNameRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string GetUserNameRequest::getOrgId() const { + return orgId_; +} + +void GetUserNameRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/GetUserNameResult.cc b/devops-rdc/src/model/GetUserNameResult.cc index 1fd2e06cf..0595971f7 100644 --- a/devops-rdc/src/model/GetUserNameResult.cc +++ b/devops-rdc/src/model/GetUserNameResult.cc @@ -39,14 +39,14 @@ void GetUserNameResult::parse(const std::string &payload) 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(); + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/InsertDevopsUserRequest.cc b/devops-rdc/src/model/InsertDevopsUserRequest.cc index 43eb6ec14..ddd7aafb5 100644 --- a/devops-rdc/src/model/InsertDevopsUserRequest.cc +++ b/devops-rdc/src/model/InsertDevopsUserRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::InsertDevopsUserRequest; + +InsertDevopsUserRequest::InsertDevopsUserRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "InsertDevopsUser") { + setMethod(HttpRequest::Method::Post); } -void InsertDevopsUserRequest::setPhone(const std::string& phone) -{ - phone_ = phone; - setBodyParameter("Phone", phone); +InsertDevopsUserRequest::~InsertDevopsUserRequest() {} + +std::string InsertDevopsUserRequest::getPhone() const { + return phone_; } -std::string InsertDevopsUserRequest::getUserPk()const -{ - return userPk_; +void InsertDevopsUserRequest::setPhone(const std::string &phone) { + phone_ = phone; + setBodyParameter(std::string("Phone"), phone); } -void InsertDevopsUserRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string InsertDevopsUserRequest::getUserPk() const { + return userPk_; } -std::string InsertDevopsUserRequest::getEmail()const -{ - return email_; +void InsertDevopsUserRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void InsertDevopsUserRequest::setEmail(const std::string& email) -{ - email_ = email; - setBodyParameter("Email", email); +std::string InsertDevopsUserRequest::getEmail() const { + return email_; } -std::string InsertDevopsUserRequest::getUserName()const -{ - return userName_; +void InsertDevopsUserRequest::setEmail(const std::string &email) { + email_ = email; + setBodyParameter(std::string("Email"), email); } -void InsertDevopsUserRequest::setUserName(const std::string& userName) -{ - userName_ = userName; - setBodyParameter("UserName", userName); +std::string InsertDevopsUserRequest::getUserName() const { + return userName_; +} + +void InsertDevopsUserRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); } diff --git a/devops-rdc/src/model/InsertDevopsUserResult.cc b/devops-rdc/src/model/InsertDevopsUserResult.cc index 34b2f1213..8d4adb39a 100644 --- a/devops-rdc/src/model/InsertDevopsUserResult.cc +++ b/devops-rdc/src/model/InsertDevopsUserResult.cc @@ -39,14 +39,14 @@ void InsertDevopsUserResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/InsertPipelineMemberRequest.cc b/devops-rdc/src/model/InsertPipelineMemberRequest.cc index 4c4884df3..9997a2a6f 100644 --- a/devops-rdc/src/model/InsertPipelineMemberRequest.cc +++ b/devops-rdc/src/model/InsertPipelineMemberRequest.cc @@ -1,84 +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 - -using AlibabaCloud::Devops_rdc::Model::InsertPipelineMemberRequest; - -InsertPipelineMemberRequest::InsertPipelineMemberRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "InsertPipelineMember") -{ - setMethod(HttpRequest::Method::Post); -} - -InsertPipelineMemberRequest::~InsertPipelineMemberRequest() -{} - -std::string InsertPipelineMemberRequest::getRoleName()const -{ - return roleName_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::InsertPipelineMemberRequest; + +InsertPipelineMemberRequest::InsertPipelineMemberRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "InsertPipelineMember") { + setMethod(HttpRequest::Method::Post); } -void InsertPipelineMemberRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setBodyParameter("RoleName", roleName); +InsertPipelineMemberRequest::~InsertPipelineMemberRequest() {} + +std::string InsertPipelineMemberRequest::getRoleName() const { + return roleName_; } -std::string InsertPipelineMemberRequest::getUserPk()const -{ - return userPk_; +void InsertPipelineMemberRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setBodyParameter(std::string("RoleName"), roleName); } -void InsertPipelineMemberRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string InsertPipelineMemberRequest::getUserPk() const { + return userPk_; } -std::string InsertPipelineMemberRequest::getUserId()const -{ - return userId_; +void InsertPipelineMemberRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void InsertPipelineMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +std::string InsertPipelineMemberRequest::getUserId() const { + return userId_; } -std::string InsertPipelineMemberRequest::getOrgId()const -{ - return orgId_; +void InsertPipelineMemberRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } -void InsertPipelineMemberRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string InsertPipelineMemberRequest::getOrgId() const { + return orgId_; } -long InsertPipelineMemberRequest::getPipelineId()const -{ - return pipelineId_; +void InsertPipelineMemberRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void InsertPipelineMemberRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long InsertPipelineMemberRequest::getPipelineId() const { + return pipelineId_; +} + +void InsertPipelineMemberRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/InsertPipelineMemberResult.cc b/devops-rdc/src/model/InsertPipelineMemberResult.cc index 14042424d..307e08201 100644 --- a/devops-rdc/src/model/InsertPipelineMemberResult.cc +++ b/devops-rdc/src/model/InsertPipelineMemberResult.cc @@ -39,14 +39,14 @@ void InsertPipelineMemberResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); if(!value["Object"].isNull()) object_ = value["Object"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/InsertProjectMembersRequest.cc b/devops-rdc/src/model/InsertProjectMembersRequest.cc index 84bdaa6bc..7143ee130 100644 --- a/devops-rdc/src/model/InsertProjectMembersRequest.cc +++ b/devops-rdc/src/model/InsertProjectMembersRequest.cc @@ -1,62 +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. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::InsertProjectMembersRequest; + +InsertProjectMembersRequest::InsertProjectMembersRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "InsertProjectMembers") { + setMethod(HttpRequest::Method::Post); } -void InsertProjectMembersRequest::setMembers(const std::string& members) -{ - members_ = members; - setBodyParameter("Members", members); +InsertProjectMembersRequest::~InsertProjectMembersRequest() {} + +std::string InsertProjectMembersRequest::getMembers() const { + return members_; } -std::string InsertProjectMembersRequest::getProjectId()const -{ - return projectId_; +void InsertProjectMembersRequest::setMembers(const std::string &members) { + members_ = members; + setBodyParameter(std::string("Members"), members); } -void InsertProjectMembersRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string InsertProjectMembersRequest::getProjectId() const { + return projectId_; } -std::string InsertProjectMembersRequest::getOrgId()const -{ - return orgId_; +void InsertProjectMembersRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void InsertProjectMembersRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string InsertProjectMembersRequest::getOrgId() const { + return orgId_; +} + +void InsertProjectMembersRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/InsertProjectMembersResult.cc b/devops-rdc/src/model/InsertProjectMembersResult.cc index 72acca6f6..c1b70b60c 100644 --- a/devops-rdc/src/model/InsertProjectMembersResult.cc +++ b/devops-rdc/src/model/InsertProjectMembersResult.cc @@ -39,14 +39,14 @@ void InsertProjectMembersResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/ListCommonGroupRequest.cc b/devops-rdc/src/model/ListCommonGroupRequest.cc index 3656c6a0c..c2cae5d03 100644 --- a/devops-rdc/src/model/ListCommonGroupRequest.cc +++ b/devops-rdc/src/model/ListCommonGroupRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::ListCommonGroupRequest; - -ListCommonGroupRequest::ListCommonGroupRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListCommonGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCommonGroupRequest::~ListCommonGroupRequest() -{} - -bool ListCommonGroupRequest::getAll()const -{ - return all_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListCommonGroupRequest; + +ListCommonGroupRequest::ListCommonGroupRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListCommonGroup") { + setMethod(HttpRequest::Method::Post); } -void ListCommonGroupRequest::setAll(bool all) -{ - all_ = all; - setBodyParameter("All", all ? "true" : "false"); +ListCommonGroupRequest::~ListCommonGroupRequest() {} + +bool ListCommonGroupRequest::getAll() const { + return all_; } -std::string ListCommonGroupRequest::getSmartGroupId()const -{ - return smartGroupId_; +void ListCommonGroupRequest::setAll(bool all) { + all_ = all; + setBodyParameter(std::string("All"), all ? "true" : "false"); } -void ListCommonGroupRequest::setSmartGroupId(const std::string& smartGroupId) -{ - smartGroupId_ = smartGroupId; - setBodyParameter("SmartGroupId", smartGroupId); +std::string ListCommonGroupRequest::getSmartGroupId() const { + return smartGroupId_; } -std::string ListCommonGroupRequest::getProjectId()const -{ - return projectId_; +void ListCommonGroupRequest::setSmartGroupId(const std::string &smartGroupId) { + smartGroupId_ = smartGroupId; + setBodyParameter(std::string("SmartGroupId"), smartGroupId); } -void ListCommonGroupRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string ListCommonGroupRequest::getProjectId() const { + return projectId_; } -std::string ListCommonGroupRequest::getOrgId()const -{ - return orgId_; +void ListCommonGroupRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListCommonGroupRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListCommonGroupRequest::getOrgId() const { + return orgId_; +} + +void ListCommonGroupRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListCommonGroupResult.cc b/devops-rdc/src/model/ListCommonGroupResult.cc index 9d4ed6145..937d9cd49 100644 --- a/devops-rdc/src/model/ListCommonGroupResult.cc +++ b/devops-rdc/src/model/ListCommonGroupResult.cc @@ -43,32 +43,32 @@ void ListCommonGroupResult::parse(const std::string &payload) for (auto valueObjectCommonGroup : allObjectNode) { CommonGroup objectObject; - if(!valueObjectCommonGroup["Pinyin"].isNull()) - objectObject.pinyin = valueObjectCommonGroup["Pinyin"].asString(); - if(!valueObjectCommonGroup["IsRoot"].isNull()) - objectObject.isRoot = valueObjectCommonGroup["IsRoot"].asString() == "true"; - if(!valueObjectCommonGroup["Pos"].isNull()) - objectObject.pos = std::stoi(valueObjectCommonGroup["Pos"].asString()); if(!valueObjectCommonGroup["ResourceCount"].isNull()) objectObject.resourceCount = std::stoi(valueObjectCommonGroup["ResourceCount"].asString()); - if(!valueObjectCommonGroup["Name"].isNull()) - objectObject.name = valueObjectCommonGroup["Name"].asString(); - if(!valueObjectCommonGroup["CreatorId"].isNull()) - objectObject.creatorId = valueObjectCommonGroup["CreatorId"].asString(); if(!valueObjectCommonGroup["SmartGroupId"].isNull()) objectObject.smartGroupId = valueObjectCommonGroup["SmartGroupId"].asString(); + if(!valueObjectCommonGroup["Pos"].isNull()) + objectObject.pos = std::stoi(valueObjectCommonGroup["Pos"].asString()); if(!valueObjectCommonGroup["ProjectId"].isNull()) objectObject.projectId = valueObjectCommonGroup["ProjectId"].asString(); + if(!valueObjectCommonGroup["IsRoot"].isNull()) + objectObject.isRoot = valueObjectCommonGroup["IsRoot"].asString() == "true"; + if(!valueObjectCommonGroup["Pinyin"].isNull()) + objectObject.pinyin = valueObjectCommonGroup["Pinyin"].asString(); + if(!valueObjectCommonGroup["CreatorId"].isNull()) + objectObject.creatorId = valueObjectCommonGroup["CreatorId"].asString(); + if(!valueObjectCommonGroup["Name"].isNull()) + objectObject.name = valueObjectCommonGroup["Name"].asString(); if(!valueObjectCommonGroup["id"].isNull()) objectObject.id = valueObjectCommonGroup["id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListCredentialsRequest.cc b/devops-rdc/src/model/ListCredentialsRequest.cc index 9bc409671..7ac630ca0 100644 --- a/devops-rdc/src/model/ListCredentialsRequest.cc +++ b/devops-rdc/src/model/ListCredentialsRequest.cc @@ -1,51 +1,45 @@ /* * 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::ListCredentialsRequest; - -ListCredentialsRequest::ListCredentialsRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListCredentials") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCredentialsRequest::~ListCredentialsRequest() -{} - -std::string ListCredentialsRequest::getUserPk()const -{ - return userPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListCredentialsRequest; + +ListCredentialsRequest::ListCredentialsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListCredentials") { + setMethod(HttpRequest::Method::Post); } -void ListCredentialsRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +ListCredentialsRequest::~ListCredentialsRequest() {} + +std::string ListCredentialsRequest::getUserPk() const { + return userPk_; } -std::string ListCredentialsRequest::getOrgId()const -{ - return orgId_; +void ListCredentialsRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void ListCredentialsRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListCredentialsRequest::getOrgId() const { + return orgId_; +} + +void ListCredentialsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListCredentialsResult.cc b/devops-rdc/src/model/ListCredentialsResult.cc index 8fa774309..a1f50afe3 100644 --- a/devops-rdc/src/model/ListCredentialsResult.cc +++ b/devops-rdc/src/model/ListCredentialsResult.cc @@ -42,12 +42,12 @@ void ListCredentialsResult::parse(const std::string &payload) auto allObject = value["Object"]["Object"]; for (const auto &item : allObject) object_.push_back(item.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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc b/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc index c670f2866..03a7166a2 100644 --- a/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectSprintsRequest.cc @@ -1,51 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectSprintsRequest; + +ListDevopsProjectSprintsRequest::ListDevopsProjectSprintsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectSprints") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectSprintsRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListDevopsProjectSprintsRequest::~ListDevopsProjectSprintsRequest() {} + +long ListDevopsProjectSprintsRequest::getPageSize() const { + return pageSize_; } -std::string ListDevopsProjectSprintsRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectSprintsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDevopsProjectSprintsRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectSprintsRequest::getProjectId() const { + return projectId_; +} + +void ListDevopsProjectSprintsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); +} + +std::string ListDevopsProjectSprintsRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsProjectSprintsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); +} + +std::string ListDevopsProjectSprintsRequest::getPageToken() const { + return pageToken_; +} + +void ListDevopsProjectSprintsRequest::setPageToken(const std::string &pageToken) { + pageToken_ = pageToken; + setBodyParameter(std::string("PageToken"), pageToken); } diff --git a/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc b/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc index 0d1d78457..8b280986d 100644 --- a/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectSprintsResult.cc @@ -43,46 +43,53 @@ void ListDevopsProjectSprintsResult::parse(const std::string &payload) for (auto valueObjectSprint : allObjectNode) { Sprint objectObject; + if(!valueObjectSprint["Status"].isNull()) + objectObject.status = valueObjectSprint["Status"].asString(); if(!valueObjectSprint["Accomplished"].isNull()) objectObject.accomplished = valueObjectSprint["Accomplished"].asString(); + if(!valueObjectSprint["ProjectId"].isNull()) + objectObject.projectId = valueObjectSprint["ProjectId"].asString(); if(!valueObjectSprint["IsDeleted"].isNull()) objectObject.isDeleted = valueObjectSprint["IsDeleted"].asString() == "true"; - if(!valueObjectSprint["Created"].isNull()) - objectObject.created = valueObjectSprint["Created"].asString(); + if(!valueObjectSprint["StartDate"].isNull()) + objectObject.startDate = valueObjectSprint["StartDate"].asString(); + if(!valueObjectSprint["Updated"].isNull()) + objectObject.updated = valueObjectSprint["Updated"].asString(); + if(!valueObjectSprint["CreatorId"].isNull()) + objectObject.creatorId = valueObjectSprint["CreatorId"].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["Created"].isNull()) + objectObject.created = valueObjectSprint["Created"].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()); + if(!planToDoNode["WorkTimes"].isNull()) + objectObject.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString()); + if(!planToDoNode["StoryPoints"].isNull()) + objectObject.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString()); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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["NextPageToken"].isNull()) + nextPageToken_ = value["NextPageToken"].asString(); } +std::string ListDevopsProjectSprintsResult::getNextPageToken()const +{ + return nextPageToken_; +} + std::string ListDevopsProjectSprintsResult::getErrorMsg()const { return errorMsg_; diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc index 54a99e56b..b8429ef8a 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskFlowRequest; + +ListDevopsProjectTaskFlowRequest::ListDevopsProjectTaskFlowRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskFlow") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectTaskFlowRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListDevopsProjectTaskFlowRequest::~ListDevopsProjectTaskFlowRequest() {} + +std::string ListDevopsProjectTaskFlowRequest::getProjectId() const { + return projectId_; } -std::string ListDevopsProjectTaskFlowRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectTaskFlowRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListDevopsProjectTaskFlowRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectTaskFlowRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsProjectTaskFlowRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc index e28ab9a9a..4ee163338 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowResult.cc @@ -43,20 +43,20 @@ void ListDevopsProjectTaskFlowResult::parse(const std::string &payload) for (auto valueObjectTaskflow : allObjectNode) { Taskflow objectObject; - if(!valueObjectTaskflow["Id"].isNull()) - objectObject.id = valueObjectTaskflow["Id"].asString(); if(!valueObjectTaskflow["Type"].isNull()) objectObject.type = valueObjectTaskflow["Type"].asString(); if(!valueObjectTaskflow["Name"].isNull()) objectObject.name = valueObjectTaskflow["Name"].asString(); + if(!valueObjectTaskflow["Id"].isNull()) + objectObject.id = valueObjectTaskflow["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc index 7aff87c23..f0a83510d 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskFlowStatusRequest; + +ListDevopsProjectTaskFlowStatusRequest::ListDevopsProjectTaskFlowStatusRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskFlowStatus") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectTaskFlowStatusRequest::setTaskFlowId(const std::string& taskFlowId) -{ - taskFlowId_ = taskFlowId; - setBodyParameter("TaskFlowId", taskFlowId); +ListDevopsProjectTaskFlowStatusRequest::~ListDevopsProjectTaskFlowStatusRequest() {} + +std::string ListDevopsProjectTaskFlowStatusRequest::getTaskFlowId() const { + return taskFlowId_; } -std::string ListDevopsProjectTaskFlowStatusRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectTaskFlowStatusRequest::setTaskFlowId(const std::string &taskFlowId) { + taskFlowId_ = taskFlowId; + setBodyParameter(std::string("TaskFlowId"), taskFlowId); } -void ListDevopsProjectTaskFlowStatusRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectTaskFlowStatusRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsProjectTaskFlowStatusRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc index 7198207d4..6579cfba6 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskFlowStatusResult.cc @@ -43,34 +43,34 @@ void ListDevopsProjectTaskFlowStatusResult::parse(const std::string &payload) 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["Kind"].isNull()) + objectObject.kind = valueObjecttaskflowStatus["Kind"].asString(); + if(!valueObjecttaskflowStatus["Pos"].isNull()) + objectObject.pos = std::stoi(valueObjecttaskflowStatus["Pos"].asString()); + if(!valueObjecttaskflowStatus["IsDeleted"].isNull()) + objectObject.isDeleted = valueObjecttaskflowStatus["IsDeleted"].asString() == "true"; if(!valueObjecttaskflowStatus["Updated"].isNull()) objectObject.updated = valueObjecttaskflowStatus["Updated"].asString(); + if(!valueObjecttaskflowStatus["CreatorId"].isNull()) + objectObject.creatorId = valueObjecttaskflowStatus["CreatorId"].asString(); + if(!valueObjecttaskflowStatus["Name"].isNull()) + objectObject.name = valueObjecttaskflowStatus["Name"].asString(); + if(!valueObjecttaskflowStatus["Created"].isNull()) + objectObject.created = valueObjecttaskflowStatus["Created"].asString(); + if(!valueObjecttaskflowStatus["RejectStatusIds"].isNull()) + objectObject.rejectStatusIds = valueObjecttaskflowStatus["RejectStatusIds"].asString(); + if(!valueObjecttaskflowStatus["Id"].isNull()) + objectObject.id = valueObjecttaskflowStatus["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListDevopsProjectTaskListRequest.cc b/devops-rdc/src/model/ListDevopsProjectTaskListRequest.cc index e8f8170e4..faf6593de 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskListRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskListRequest.cc @@ -1,51 +1,45 @@ /* * 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::ListDevopsProjectTaskListRequest; - -ListDevopsProjectTaskListRequest::ListDevopsProjectTaskListRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskList") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDevopsProjectTaskListRequest::~ListDevopsProjectTaskListRequest() -{} - -std::string ListDevopsProjectTaskListRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskListRequest; + +ListDevopsProjectTaskListRequest::ListDevopsProjectTaskListRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskList") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectTaskListRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListDevopsProjectTaskListRequest::~ListDevopsProjectTaskListRequest() {} + +std::string ListDevopsProjectTaskListRequest::getProjectId() const { + return projectId_; } -std::string ListDevopsProjectTaskListRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectTaskListRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListDevopsProjectTaskListRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectTaskListRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsProjectTaskListRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListDevopsProjectTaskListResult.cc b/devops-rdc/src/model/ListDevopsProjectTaskListResult.cc index 502e5446e..db5fafd58 100644 --- a/devops-rdc/src/model/ListDevopsProjectTaskListResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectTaskListResult.cc @@ -48,12 +48,12 @@ void ListDevopsProjectTaskListResult::parse(const std::string &payload) resultItemObject.id = objectNodeResultResultItem["Id"].asString(); object_.result.push_back(resultItemObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc b/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc index ffc9185e2..a337ff44e 100644 --- a/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectTasksRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTasksRequest; + +ListDevopsProjectTasksRequest::ListDevopsProjectTasksRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTasks") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectTasksRequest::setProjectIds(const std::string& projectIds) -{ - projectIds_ = projectIds; - setBodyParameter("ProjectIds", projectIds); +ListDevopsProjectTasksRequest::~ListDevopsProjectTasksRequest() {} + +std::string ListDevopsProjectTasksRequest::getProjectIds() const { + return projectIds_; } -std::string ListDevopsProjectTasksRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectTasksRequest::setProjectIds(const std::string &projectIds) { + projectIds_ = projectIds; + setBodyParameter(std::string("ProjectIds"), projectIds); } -void ListDevopsProjectTasksRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectTasksRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsProjectTasksRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListDevopsProjectTasksResult.cc b/devops-rdc/src/model/ListDevopsProjectTasksResult.cc index 17adf0946..a2604014f 100644 --- a/devops-rdc/src/model/ListDevopsProjectTasksResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectTasksResult.cc @@ -43,32 +43,32 @@ void ListDevopsProjectTasksResult::parse(const std::string &payload) for (auto valueObjectTask : allObjectNode) { Task objectObject; + if(!valueObjectTask["TaskgroupId"].isNull()) + objectObject.taskgroupId = valueObjectTask["TaskgroupId"].asString(); 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["CreatorId"].isNull()) + objectObject.creatorId = valueObjectTask["CreatorId"].asString(); + if(!valueObjectTask["Created"].isNull()) + objectObject.created = valueObjectTask["Created"].asString(); + if(!valueObjectTask["Name"].isNull()) + objectObject.name = valueObjectTask["Name"].asString(); if(!valueObjectTask["Id"].isNull()) objectObject.id = valueObjectTask["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListDevopsProjectsRequest.cc b/devops-rdc/src/model/ListDevopsProjectsRequest.cc index 1b606cd6a..98d855fb1 100644 --- a/devops-rdc/src/model/ListDevopsProjectsRequest.cc +++ b/devops-rdc/src/model/ListDevopsProjectsRequest.cc @@ -1,84 +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 - -using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectsRequest; - -ListDevopsProjectsRequest::ListDevopsProjectsRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjects") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDevopsProjectsRequest::~ListDevopsProjectsRequest() -{} - -std::string ListDevopsProjectsRequest::getSelectBy()const -{ - return selectBy_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectsRequest; + +ListDevopsProjectsRequest::ListDevopsProjectsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjects") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsProjectsRequest::setSelectBy(const std::string& selectBy) -{ - selectBy_ = selectBy; - setBodyParameter("SelectBy", selectBy); +ListDevopsProjectsRequest::~ListDevopsProjectsRequest() {} + +std::string ListDevopsProjectsRequest::getSelectBy() const { + return selectBy_; } -int ListDevopsProjectsRequest::getPageSize()const -{ - return pageSize_; +void ListDevopsProjectsRequest::setSelectBy(const std::string &selectBy) { + selectBy_ = selectBy; + setBodyParameter(std::string("SelectBy"), selectBy); } -void ListDevopsProjectsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListDevopsProjectsRequest::getPageSize() const { + return pageSize_; } -std::string ListDevopsProjectsRequest::getOrderBy()const -{ - return orderBy_; +void ListDevopsProjectsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDevopsProjectsRequest::setOrderBy(const std::string& orderBy) -{ - orderBy_ = orderBy; - setBodyParameter("OrderBy", orderBy); +std::string ListDevopsProjectsRequest::getOrderBy() const { + return orderBy_; } -std::string ListDevopsProjectsRequest::getOrgId()const -{ - return orgId_; +void ListDevopsProjectsRequest::setOrderBy(const std::string &orderBy) { + orderBy_ = orderBy; + setBodyParameter(std::string("OrderBy"), orderBy); } -void ListDevopsProjectsRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsProjectsRequest::getOrgId() const { + return orgId_; } -std::string ListDevopsProjectsRequest::getPageToken()const -{ - return pageToken_; +void ListDevopsProjectsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void ListDevopsProjectsRequest::setPageToken(const std::string& pageToken) -{ - pageToken_ = pageToken; - setBodyParameter("PageToken", pageToken); +std::string ListDevopsProjectsRequest::getPageToken() const { + return pageToken_; +} + +void ListDevopsProjectsRequest::setPageToken(const std::string &pageToken) { + pageToken_ = pageToken; + setBodyParameter(std::string("PageToken"), pageToken); } diff --git a/devops-rdc/src/model/ListDevopsProjectsResult.cc b/devops-rdc/src/model/ListDevopsProjectsResult.cc index 094ac9039..54b1adb44 100644 --- a/devops-rdc/src/model/ListDevopsProjectsResult.cc +++ b/devops-rdc/src/model/ListDevopsProjectsResult.cc @@ -46,46 +46,46 @@ void ListDevopsProjectsResult::parse(const std::string &payload) for (auto objectNodeResultProject : allResultNode) { Object::Project projectObject; - if(!objectNodeResultProject["RoleId"].isNull()) - projectObject.roleId = std::stoi(objectNodeResultProject["RoleId"].asString()); - if(!objectNodeResultProject["OrganizationId"].isNull()) - projectObject.organizationId = objectNodeResultProject["OrganizationId"].asString(); - if(!objectNodeResultProject["Id"].isNull()) - projectObject.id = objectNodeResultProject["Id"].asString(); - if(!objectNodeResultProject["CreatorId"].isNull()) - projectObject.creatorId = objectNodeResultProject["CreatorId"].asString(); - if(!objectNodeResultProject["Visibility"].isNull()) - projectObject.visibility = objectNodeResultProject["Visibility"].asString(); - if(!objectNodeResultProject["Updated"].isNull()) - projectObject.updated = objectNodeResultProject["Updated"].asString(); - if(!objectNodeResultProject["TasksCount"].isNull()) - projectObject.tasksCount = std::stoi(objectNodeResultProject["TasksCount"].asString()); - if(!objectNodeResultProject["Name"].isNull()) - projectObject.name = objectNodeResultProject["Name"].asString(); - if(!objectNodeResultProject["MembersCount"].isNull()) - projectObject.membersCount = std::stoi(objectNodeResultProject["MembersCount"].asString()); if(!objectNodeResultProject["Logo"].isNull()) projectObject.logo = objectNodeResultProject["Logo"].asString(); - if(!objectNodeResultProject["IsTemplate"].isNull()) - projectObject.isTemplate = objectNodeResultProject["IsTemplate"].asString() == "true"; if(!objectNodeResultProject["IsStar"].isNull()) projectObject.isStar = objectNodeResultProject["IsStar"].asString() == "true"; - if(!objectNodeResultProject["IsPublic"].isNull()) - projectObject.isPublic = objectNodeResultProject["IsPublic"].asString() == "true"; - if(!objectNodeResultProject["IsArchived"].isNull()) - projectObject.isArchived = objectNodeResultProject["IsArchived"].asString() == "true"; + if(!objectNodeResultProject["CreatorId"].isNull()) + projectObject.creatorId = objectNodeResultProject["CreatorId"].asString(); + if(!objectNodeResultProject["MembersCount"].isNull()) + projectObject.membersCount = std::stoi(objectNodeResultProject["MembersCount"].asString()); + if(!objectNodeResultProject["OrganizationId"].isNull()) + projectObject.organizationId = objectNodeResultProject["OrganizationId"].asString(); + if(!objectNodeResultProject["Visibility"].isNull()) + projectObject.visibility = objectNodeResultProject["Visibility"].asString(); + if(!objectNodeResultProject["IsTemplate"].isNull()) + projectObject.isTemplate = objectNodeResultProject["IsTemplate"].asString() == "true"; if(!objectNodeResultProject["Description"].isNull()) projectObject.description = objectNodeResultProject["Description"].asString(); + if(!objectNodeResultProject["Updated"].isNull()) + projectObject.updated = objectNodeResultProject["Updated"].asString(); if(!objectNodeResultProject["Created"].isNull()) projectObject.created = objectNodeResultProject["Created"].asString(); + if(!objectNodeResultProject["IsArchived"].isNull()) + projectObject.isArchived = objectNodeResultProject["IsArchived"].asString() == "true"; + if(!objectNodeResultProject["Name"].isNull()) + projectObject.name = objectNodeResultProject["Name"].asString(); + if(!objectNodeResultProject["IsPublic"].isNull()) + projectObject.isPublic = objectNodeResultProject["IsPublic"].asString() == "true"; + if(!objectNodeResultProject["TasksCount"].isNull()) + projectObject.tasksCount = std::stoi(objectNodeResultProject["TasksCount"].asString()); + if(!objectNodeResultProject["RoleId"].isNull()) + projectObject.roleId = objectNodeResultProject["RoleId"].asString(); + if(!objectNodeResultProject["Id"].isNull()) + projectObject.id = objectNodeResultProject["Id"].asString(); object_.result.push_back(projectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc b/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc index 35c08c77f..59506403b 100644 --- a/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc +++ b/devops-rdc/src/model/ListDevopsScenarioFieldConfigRequest.cc @@ -1,51 +1,45 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListDevopsScenarioFieldConfigRequest; + +ListDevopsScenarioFieldConfigRequest::ListDevopsScenarioFieldConfigRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsScenarioFieldConfig") { + setMethod(HttpRequest::Method::Post); } -void ListDevopsScenarioFieldConfigRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListDevopsScenarioFieldConfigRequest::~ListDevopsScenarioFieldConfigRequest() {} + +std::string ListDevopsScenarioFieldConfigRequest::getProjectId() const { + return projectId_; } -std::string ListDevopsScenarioFieldConfigRequest::getOrgId()const -{ - return orgId_; +void ListDevopsScenarioFieldConfigRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListDevopsScenarioFieldConfigRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListDevopsScenarioFieldConfigRequest::getOrgId() const { + return orgId_; +} + +void ListDevopsScenarioFieldConfigRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc b/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc index b344b663e..372515dae 100644 --- a/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc +++ b/devops-rdc/src/model/ListDevopsScenarioFieldConfigResult.cc @@ -43,20 +43,20 @@ void ListDevopsScenarioFieldConfigResult::parse(const std::string &payload) for (auto valueObjectScenarioFieldConfig : allObjectNode) { ScenarioFieldConfig objectObject; - if(!valueObjectScenarioFieldConfig["Id"].isNull()) - objectObject.id = valueObjectScenarioFieldConfig["Id"].asString(); if(!valueObjectScenarioFieldConfig["Type"].isNull()) objectObject.type = valueObjectScenarioFieldConfig["Type"].asString(); if(!valueObjectScenarioFieldConfig["Name"].isNull()) objectObject.name = valueObjectScenarioFieldConfig["Name"].asString(); + if(!valueObjectScenarioFieldConfig["Id"].isNull()) + objectObject.id = valueObjectScenarioFieldConfig["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListPipelineTemplatesRequest.cc b/devops-rdc/src/model/ListPipelineTemplatesRequest.cc new file mode 100644 index 000000000..df19e8479 --- /dev/null +++ b/devops-rdc/src/model/ListPipelineTemplatesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListPipelineTemplatesRequest; + +ListPipelineTemplatesRequest::ListPipelineTemplatesRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListPipelineTemplates") { + setMethod(HttpRequest::Method::Get); +} + +ListPipelineTemplatesRequest::~ListPipelineTemplatesRequest() {} + +int ListPipelineTemplatesRequest::getPageStart() const { + return pageStart_; +} + +void ListPipelineTemplatesRequest::setPageStart(int pageStart) { + pageStart_ = pageStart; + setParameter(std::string("PageStart"), std::to_string(pageStart)); +} + +int ListPipelineTemplatesRequest::getPageNum() const { + return pageNum_; +} + +void ListPipelineTemplatesRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +std::string ListPipelineTemplatesRequest::getOrgId() const { + return orgId_; +} + +void ListPipelineTemplatesRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); +} + diff --git a/devops-rdc/src/model/ListPipelineTemplatesResult.cc b/devops-rdc/src/model/ListPipelineTemplatesResult.cc new file mode 100644 index 000000000..99f292663 --- /dev/null +++ b/devops-rdc/src/model/ListPipelineTemplatesResult.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 +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +ListPipelineTemplatesResult::ListPipelineTemplatesResult() : + ServiceResult() +{} + +ListPipelineTemplatesResult::ListPipelineTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPipelineTemplatesResult::~ListPipelineTemplatesResult() +{} + +void ListPipelineTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stof(dataNode["Total"].asString()); + auto allDataListNode = dataNode["DataList"]["模板列表"]; + for (auto dataNodeDataList模板列表 : allDataListNode) + { + Data::模板列表 模板列表Object; + if(!dataNodeDataList模板列表["TemplateName"].isNull()) + 模板列表Object.templateName = dataNodeDataList模板列表["TemplateName"].asString(); + if(!dataNodeDataList模板列表["Id"].isNull()) + 模板列表Object.id = std::stol(dataNodeDataList模板列表["Id"].asString()); + data_.dataList.push_back(模板列表Object); + } + +} + +ListPipelineTemplatesResult::Data ListPipelineTemplatesResult::getData()const +{ + return data_; +} + diff --git a/devops-rdc/src/model/ListPipelinesRequest.cc b/devops-rdc/src/model/ListPipelinesRequest.cc index d52cd2e83..dd716c002 100644 --- a/devops-rdc/src/model/ListPipelinesRequest.cc +++ b/devops-rdc/src/model/ListPipelinesRequest.cc @@ -1,161 +1,135 @@ /* * 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::ListPipelinesRequest; - -ListPipelinesRequest::ListPipelinesRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListPipelines") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPipelinesRequest::~ListPipelinesRequest() -{} - -std::string ListPipelinesRequest::getPipelineName()const -{ - return pipelineName_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListPipelinesRequest; + +ListPipelinesRequest::ListPipelinesRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListPipelines") { + setMethod(HttpRequest::Method::Post); } -void ListPipelinesRequest::setPipelineName(const std::string& pipelineName) -{ - pipelineName_ = pipelineName; - setBodyParameter("PipelineName", pipelineName); +ListPipelinesRequest::~ListPipelinesRequest() {} + +std::string ListPipelinesRequest::getPipelineName() const { + return pipelineName_; } -std::string ListPipelinesRequest::getResultStatusList()const -{ - return resultStatusList_; +void ListPipelinesRequest::setPipelineName(const std::string &pipelineName) { + pipelineName_ = pipelineName; + setBodyParameter(std::string("PipelineName"), pipelineName); } -void ListPipelinesRequest::setResultStatusList(const std::string& resultStatusList) -{ - resultStatusList_ = resultStatusList; - setBodyParameter("ResultStatusList", resultStatusList); +std::string ListPipelinesRequest::getResultStatusList() const { + return resultStatusList_; } -std::string ListPipelinesRequest::getCreators()const -{ - return creators_; +void ListPipelinesRequest::setResultStatusList(const std::string &resultStatusList) { + resultStatusList_ = resultStatusList; + setBodyParameter(std::string("ResultStatusList"), resultStatusList); } -void ListPipelinesRequest::setCreators(const std::string& creators) -{ - creators_ = creators; - setBodyParameter("Creators", creators); +std::string ListPipelinesRequest::getCreators() const { + return creators_; } -std::string ListPipelinesRequest::getExecuteEndTime()const -{ - return executeEndTime_; +void ListPipelinesRequest::setCreators(const std::string &creators) { + creators_ = creators; + setBodyParameter(std::string("Creators"), creators); } -void ListPipelinesRequest::setExecuteEndTime(const std::string& executeEndTime) -{ - executeEndTime_ = executeEndTime; - setBodyParameter("ExecuteEndTime", executeEndTime); +std::string ListPipelinesRequest::getExecuteEndTime() const { + return executeEndTime_; } -std::string ListPipelinesRequest::getUserPk()const -{ - return userPk_; +void ListPipelinesRequest::setExecuteEndTime(const std::string &executeEndTime) { + executeEndTime_ = executeEndTime; + setBodyParameter(std::string("ExecuteEndTime"), executeEndTime); } -void ListPipelinesRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string ListPipelinesRequest::getUserPk() const { + return userPk_; } -std::string ListPipelinesRequest::getOrgId()const -{ - return orgId_; +void ListPipelinesRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void ListPipelinesRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string ListPipelinesRequest::getOrgId() const { + return orgId_; } -std::string ListPipelinesRequest::getCreateStartTime()const -{ - return createStartTime_; +void ListPipelinesRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void ListPipelinesRequest::setCreateStartTime(const std::string& createStartTime) -{ - createStartTime_ = createStartTime; - setBodyParameter("CreateStartTime", createStartTime); +std::string ListPipelinesRequest::getCreateStartTime() const { + return createStartTime_; } -std::string ListPipelinesRequest::getOperators()const -{ - return operators_; +void ListPipelinesRequest::setCreateStartTime(const std::string &createStartTime) { + createStartTime_ = createStartTime; + setBodyParameter(std::string("CreateStartTime"), createStartTime); } -void ListPipelinesRequest::setOperators(const std::string& operators) -{ - operators_ = operators; - setBodyParameter("Operators", operators); +std::string ListPipelinesRequest::getOperators() const { + return operators_; } -int ListPipelinesRequest::getPageSize()const -{ - return pageSize_; +void ListPipelinesRequest::setOperators(const std::string &operators) { + operators_ = operators; + setBodyParameter(std::string("Operators"), operators); } -void ListPipelinesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListPipelinesRequest::getPageSize() const { + return pageSize_; } -std::string ListPipelinesRequest::getExecuteStartTime()const -{ - return executeStartTime_; +void ListPipelinesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListPipelinesRequest::setExecuteStartTime(const std::string& executeStartTime) -{ - executeStartTime_ = executeStartTime; - setBodyParameter("ExecuteStartTime", executeStartTime); +std::string ListPipelinesRequest::getExecuteStartTime() const { + return executeStartTime_; } -int ListPipelinesRequest::getPageStart()const -{ - return pageStart_; +void ListPipelinesRequest::setExecuteStartTime(const std::string &executeStartTime) { + executeStartTime_ = executeStartTime; + setBodyParameter(std::string("ExecuteStartTime"), executeStartTime); } -void ListPipelinesRequest::setPageStart(int pageStart) -{ - pageStart_ = pageStart; - setBodyParameter("PageStart", std::to_string(pageStart)); +int ListPipelinesRequest::getPageStart() const { + return pageStart_; } -std::string ListPipelinesRequest::getCreateEndTime()const -{ - return createEndTime_; +void ListPipelinesRequest::setPageStart(int pageStart) { + pageStart_ = pageStart; + setBodyParameter(std::string("PageStart"), std::to_string(pageStart)); } -void ListPipelinesRequest::setCreateEndTime(const std::string& createEndTime) -{ - createEndTime_ = createEndTime; - setBodyParameter("CreateEndTime", createEndTime); +std::string ListPipelinesRequest::getCreateEndTime() const { + return createEndTime_; +} + +void ListPipelinesRequest::setCreateEndTime(const std::string &createEndTime) { + createEndTime_ = createEndTime; + setBodyParameter(std::string("CreateEndTime"), createEndTime); } diff --git a/devops-rdc/src/model/ListPipelinesResult.cc b/devops-rdc/src/model/ListPipelinesResult.cc index 38a9ee33a..5ccc98209 100644 --- a/devops-rdc/src/model/ListPipelinesResult.cc +++ b/devops-rdc/src/model/ListPipelinesResult.cc @@ -39,14 +39,14 @@ void ListPipelinesResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - 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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/ListProjectCustomFieldsRequest.cc b/devops-rdc/src/model/ListProjectCustomFieldsRequest.cc index cc1d4df60..4caf29628 100644 --- a/devops-rdc/src/model/ListProjectCustomFieldsRequest.cc +++ b/devops-rdc/src/model/ListProjectCustomFieldsRequest.cc @@ -1,51 +1,45 @@ /* * 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::ListProjectCustomFieldsRequest; - -ListProjectCustomFieldsRequest::ListProjectCustomFieldsRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListProjectCustomFields") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectCustomFieldsRequest::~ListProjectCustomFieldsRequest() -{} - -std::string ListProjectCustomFieldsRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListProjectCustomFieldsRequest; + +ListProjectCustomFieldsRequest::ListProjectCustomFieldsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListProjectCustomFields") { + setMethod(HttpRequest::Method::Post); } -void ListProjectCustomFieldsRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListProjectCustomFieldsRequest::~ListProjectCustomFieldsRequest() {} + +std::string ListProjectCustomFieldsRequest::getProjectId() const { + return projectId_; } -std::string ListProjectCustomFieldsRequest::getOrgId()const -{ - return orgId_; +void ListProjectCustomFieldsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListProjectCustomFieldsRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListProjectCustomFieldsRequest::getOrgId() const { + return orgId_; +} + +void ListProjectCustomFieldsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListProjectCustomFieldsResult.cc b/devops-rdc/src/model/ListProjectCustomFieldsResult.cc index c54698f32..6c46dd8a6 100644 --- a/devops-rdc/src/model/ListProjectCustomFieldsResult.cc +++ b/devops-rdc/src/model/ListProjectCustomFieldsResult.cc @@ -43,10 +43,10 @@ void ListProjectCustomFieldsResult::parse(const std::string &payload) for (auto valueObjectCustomField : allObjectNode) { CustomField objectObject; - if(!valueObjectCustomField["CustomFieldId"].isNull()) - objectObject.customFieldId = valueObjectCustomField["CustomFieldId"].asString(); if(!valueObjectCustomField["Type"].isNull()) objectObject.type = valueObjectCustomField["Type"].asString(); + if(!valueObjectCustomField["CustomFieldId"].isNull()) + objectObject.customFieldId = valueObjectCustomField["CustomFieldId"].asString(); if(!valueObjectCustomField["Subtype"].isNull()) objectObject.subtype = valueObjectCustomField["Subtype"].asString(); if(!valueObjectCustomField["Name"].isNull()) @@ -55,20 +55,20 @@ void ListProjectCustomFieldsResult::parse(const std::string &payload) for (auto valueObjectCustomFieldValuesValue : allValuesNode) { CustomField::Value valuesObject; - if(!valueObjectCustomFieldValuesValue["Id"].isNull()) - valuesObject.id = valueObjectCustomFieldValuesValue["Id"].asString(); if(!valueObjectCustomFieldValuesValue["Value"].isNull()) valuesObject.value = valueObjectCustomFieldValuesValue["Value"].asString(); + if(!valueObjectCustomFieldValuesValue["Id"].isNull()) + valuesObject.id = valueObjectCustomFieldValuesValue["Id"].asString(); objectObject.values.push_back(valuesObject); } object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListServiceConnectionsRequest.cc b/devops-rdc/src/model/ListServiceConnectionsRequest.cc index 1c44ad608..7943e4d62 100644 --- a/devops-rdc/src/model/ListServiceConnectionsRequest.cc +++ b/devops-rdc/src/model/ListServiceConnectionsRequest.cc @@ -1,62 +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. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::ListServiceConnectionsRequest; - -ListServiceConnectionsRequest::ListServiceConnectionsRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListServiceConnections") -{ - setMethod(HttpRequest::Method::Post); -} - -ListServiceConnectionsRequest::~ListServiceConnectionsRequest() -{} - -std::string ListServiceConnectionsRequest::getScType()const -{ - return scType_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListServiceConnectionsRequest; + +ListServiceConnectionsRequest::ListServiceConnectionsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListServiceConnections") { + setMethod(HttpRequest::Method::Post); } -void ListServiceConnectionsRequest::setScType(const std::string& scType) -{ - scType_ = scType; - setBodyParameter("ScType", scType); +ListServiceConnectionsRequest::~ListServiceConnectionsRequest() {} + +std::string ListServiceConnectionsRequest::getScType() const { + return scType_; } -std::string ListServiceConnectionsRequest::getUserPk()const -{ - return userPk_; +void ListServiceConnectionsRequest::setScType(const std::string &scType) { + scType_ = scType; + setBodyParameter(std::string("ScType"), scType); } -void ListServiceConnectionsRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string ListServiceConnectionsRequest::getUserPk() const { + return userPk_; } -std::string ListServiceConnectionsRequest::getOrgId()const -{ - return orgId_; +void ListServiceConnectionsRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void ListServiceConnectionsRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListServiceConnectionsRequest::getOrgId() const { + return orgId_; +} + +void ListServiceConnectionsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListServiceConnectionsResult.cc b/devops-rdc/src/model/ListServiceConnectionsResult.cc index cbec23e5f..ce362ef6a 100644 --- a/devops-rdc/src/model/ListServiceConnectionsResult.cc +++ b/devops-rdc/src/model/ListServiceConnectionsResult.cc @@ -42,12 +42,12 @@ void ListServiceConnectionsResult::parse(const std::string &payload) auto allObject = value["Object"]["Object"]; for (const auto &item : allObject) object_.push_back(item.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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/ListSmartGroupRequest.cc b/devops-rdc/src/model/ListSmartGroupRequest.cc index 2deba1a43..27ad820d6 100644 --- a/devops-rdc/src/model/ListSmartGroupRequest.cc +++ b/devops-rdc/src/model/ListSmartGroupRequest.cc @@ -1,51 +1,45 @@ /* * 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::ListSmartGroupRequest; - -ListSmartGroupRequest::ListSmartGroupRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListSmartGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSmartGroupRequest::~ListSmartGroupRequest() -{} - -std::string ListSmartGroupRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListSmartGroupRequest; + +ListSmartGroupRequest::ListSmartGroupRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListSmartGroup") { + setMethod(HttpRequest::Method::Post); } -void ListSmartGroupRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +ListSmartGroupRequest::~ListSmartGroupRequest() {} + +std::string ListSmartGroupRequest::getProjectId() const { + return projectId_; } -std::string ListSmartGroupRequest::getOrgId()const -{ - return orgId_; +void ListSmartGroupRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void ListSmartGroupRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ListSmartGroupRequest::getOrgId() const { + return orgId_; +} + +void ListSmartGroupRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/ListSmartGroupResult.cc b/devops-rdc/src/model/ListSmartGroupResult.cc index da8b89b89..3c9715f6e 100644 --- a/devops-rdc/src/model/ListSmartGroupResult.cc +++ b/devops-rdc/src/model/ListSmartGroupResult.cc @@ -43,18 +43,18 @@ void ListSmartGroupResult::parse(const std::string &payload) for (auto valueObjectSmartGroup : allObjectNode) { SmartGroup objectObject; - if(!valueObjectSmartGroup["Id"].isNull()) - objectObject.id = valueObjectSmartGroup["Id"].asString(); if(!valueObjectSmartGroup["Type"].isNull()) objectObject.type = valueObjectSmartGroup["Type"].asString(); + if(!valueObjectSmartGroup["Id"].isNull()) + objectObject.id = valueObjectSmartGroup["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/ListUserOrganizationRequest.cc b/devops-rdc/src/model/ListUserOrganizationRequest.cc index 27ddbb7cf..d3ae067fc 100644 --- a/devops-rdc/src/model/ListUserOrganizationRequest.cc +++ b/devops-rdc/src/model/ListUserOrganizationRequest.cc @@ -1,40 +1,36 @@ /* * 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::ListUserOrganizationRequest; - -ListUserOrganizationRequest::ListUserOrganizationRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "ListUserOrganization") -{ - setMethod(HttpRequest::Method::Post); -} - -ListUserOrganizationRequest::~ListUserOrganizationRequest() -{} - -std::string ListUserOrganizationRequest::getRealPk()const -{ - return realPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::ListUserOrganizationRequest; + +ListUserOrganizationRequest::ListUserOrganizationRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "ListUserOrganization") { + setMethod(HttpRequest::Method::Post); } -void ListUserOrganizationRequest::setRealPk(const std::string& realPk) -{ - realPk_ = realPk; - setBodyParameter("RealPk", realPk); +ListUserOrganizationRequest::~ListUserOrganizationRequest() {} + +std::string ListUserOrganizationRequest::getRealPk() const { + return realPk_; +} + +void ListUserOrganizationRequest::setRealPk(const std::string &realPk) { + realPk_ = realPk; + setBodyParameter(std::string("RealPk"), realPk); } diff --git a/devops-rdc/src/model/ListUserOrganizationResult.cc b/devops-rdc/src/model/ListUserOrganizationResult.cc index 64e0dce54..da0f4be82 100644 --- a/devops-rdc/src/model/ListUserOrganizationResult.cc +++ b/devops-rdc/src/model/ListUserOrganizationResult.cc @@ -49,12 +49,12 @@ void ListUserOrganizationResult::parse(const std::string &payload) objectObject.id = valueObjectOrganization["Id"].asString(); object_.push_back(objectObject); } + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); } diff --git a/devops-rdc/src/model/TransferPipelineOwnerRequest.cc b/devops-rdc/src/model/TransferPipelineOwnerRequest.cc index 00e0a7dbc..75aab78b0 100644 --- a/devops-rdc/src/model/TransferPipelineOwnerRequest.cc +++ b/devops-rdc/src/model/TransferPipelineOwnerRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::TransferPipelineOwnerRequest; - -TransferPipelineOwnerRequest::TransferPipelineOwnerRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "TransferPipelineOwner") -{ - setMethod(HttpRequest::Method::Post); -} - -TransferPipelineOwnerRequest::~TransferPipelineOwnerRequest() -{} - -std::string TransferPipelineOwnerRequest::getUserPk()const -{ - return userPk_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::TransferPipelineOwnerRequest; + +TransferPipelineOwnerRequest::TransferPipelineOwnerRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "TransferPipelineOwner") { + setMethod(HttpRequest::Method::Post); } -void TransferPipelineOwnerRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +TransferPipelineOwnerRequest::~TransferPipelineOwnerRequest() {} + +std::string TransferPipelineOwnerRequest::getUserPk() const { + return userPk_; } -std::string TransferPipelineOwnerRequest::getOrgId()const -{ - return orgId_; +void TransferPipelineOwnerRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void TransferPipelineOwnerRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string TransferPipelineOwnerRequest::getOrgId() const { + return orgId_; } -long TransferPipelineOwnerRequest::getPipelineId()const -{ - return pipelineId_; +void TransferPipelineOwnerRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void TransferPipelineOwnerRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long TransferPipelineOwnerRequest::getPipelineId() const { + return pipelineId_; } -std::string TransferPipelineOwnerRequest::getNewOwnerId()const -{ - return newOwnerId_; +void TransferPipelineOwnerRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } -void TransferPipelineOwnerRequest::setNewOwnerId(const std::string& newOwnerId) -{ - newOwnerId_ = newOwnerId; - setBodyParameter("NewOwnerId", newOwnerId); +std::string TransferPipelineOwnerRequest::getNewOwnerId() const { + return newOwnerId_; +} + +void TransferPipelineOwnerRequest::setNewOwnerId(const std::string &newOwnerId) { + newOwnerId_ = newOwnerId; + setBodyParameter(std::string("NewOwnerId"), newOwnerId); } diff --git a/devops-rdc/src/model/TransferPipelineOwnerResult.cc b/devops-rdc/src/model/TransferPipelineOwnerResult.cc index 09b501853..b70c93234 100644 --- a/devops-rdc/src/model/TransferPipelineOwnerResult.cc +++ b/devops-rdc/src/model/TransferPipelineOwnerResult.cc @@ -39,14 +39,14 @@ void TransferPipelineOwnerResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - 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["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/UpdateCommonGroupRequest.cc b/devops-rdc/src/model/UpdateCommonGroupRequest.cc index e6b97ded7..e17055721 100644 --- a/devops-rdc/src/model/UpdateCommonGroupRequest.cc +++ b/devops-rdc/src/model/UpdateCommonGroupRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Devops_rdc::Model::UpdateCommonGroupRequest; - -UpdateCommonGroupRequest::UpdateCommonGroupRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateCommonGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCommonGroupRequest::~UpdateCommonGroupRequest() -{} - -std::string UpdateCommonGroupRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateCommonGroupRequest; + +UpdateCommonGroupRequest::UpdateCommonGroupRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateCommonGroup") { + setMethod(HttpRequest::Method::Post); } -void UpdateCommonGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +UpdateCommonGroupRequest::~UpdateCommonGroupRequest() {} + +std::string UpdateCommonGroupRequest::getDescription() const { + return description_; } -std::string UpdateCommonGroupRequest::getCommonGroupId()const -{ - return commonGroupId_; +void UpdateCommonGroupRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void UpdateCommonGroupRequest::setCommonGroupId(const std::string& commonGroupId) -{ - commonGroupId_ = commonGroupId; - setBodyParameter("CommonGroupId", commonGroupId); +std::string UpdateCommonGroupRequest::getCommonGroupId() const { + return commonGroupId_; } -std::string UpdateCommonGroupRequest::getOrgId()const -{ - return orgId_; +void UpdateCommonGroupRequest::setCommonGroupId(const std::string &commonGroupId) { + commonGroupId_ = commonGroupId; + setBodyParameter(std::string("CommonGroupId"), commonGroupId); } -void UpdateCommonGroupRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string UpdateCommonGroupRequest::getOrgId() const { + return orgId_; } -std::string UpdateCommonGroupRequest::getSmartGroupId()const -{ - return smartGroupId_; +void UpdateCommonGroupRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void UpdateCommonGroupRequest::setSmartGroupId(const std::string& smartGroupId) -{ - smartGroupId_ = smartGroupId; - setBodyParameter("SmartGroupId", smartGroupId); +std::string UpdateCommonGroupRequest::getSmartGroupId() const { + return smartGroupId_; } -std::string UpdateCommonGroupRequest::getName()const -{ - return name_; +void UpdateCommonGroupRequest::setSmartGroupId(const std::string &smartGroupId) { + smartGroupId_ = smartGroupId; + setBodyParameter(std::string("SmartGroupId"), smartGroupId); } -void UpdateCommonGroupRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string UpdateCommonGroupRequest::getName() const { + return name_; } -std::string UpdateCommonGroupRequest::getProjectId()const -{ - return projectId_; +void UpdateCommonGroupRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void UpdateCommonGroupRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string UpdateCommonGroupRequest::getProjectId() const { + return projectId_; +} + +void UpdateCommonGroupRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } diff --git a/devops-rdc/src/model/UpdateCommonGroupResult.cc b/devops-rdc/src/model/UpdateCommonGroupResult.cc index 3399f61aa..bde8071ea 100644 --- a/devops-rdc/src/model/UpdateCommonGroupResult.cc +++ b/devops-rdc/src/model/UpdateCommonGroupResult.cc @@ -42,12 +42,12 @@ void UpdateCommonGroupResult::parse(const std::string &payload) auto objectNode = value["Object"]; if(!objectNode["Id"].isNull()) object_.id = objectNode["Id"].asString(); + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].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(); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectRequest.cc index 4abe72fe2..c0a605d95 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectRequest.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectRequest; + +UpdateDevopsProjectRequest::UpdateDevopsProjectRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProject") { + setMethod(HttpRequest::Method::Post); } -void UpdateDevopsProjectRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +UpdateDevopsProjectRequest::~UpdateDevopsProjectRequest() {} + +std::string UpdateDevopsProjectRequest::getName() const { + return name_; } -std::string UpdateDevopsProjectRequest::getDescription()const -{ - return description_; +void UpdateDevopsProjectRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void UpdateDevopsProjectRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string UpdateDevopsProjectRequest::getDescription() const { + return description_; } -std::string UpdateDevopsProjectRequest::getProjectId()const -{ - return projectId_; +void UpdateDevopsProjectRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void UpdateDevopsProjectRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string UpdateDevopsProjectRequest::getProjectId() const { + return projectId_; } -std::string UpdateDevopsProjectRequest::getOrgId()const -{ - return orgId_; +void UpdateDevopsProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void UpdateDevopsProjectRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string UpdateDevopsProjectRequest::getOrgId() const { + return orgId_; +} + +void UpdateDevopsProjectRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectResult.cc b/devops-rdc/src/model/UpdateDevopsProjectResult.cc index d82a0e285..961072b9a 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectResult.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectResult.cc @@ -39,14 +39,14 @@ void UpdateDevopsProjectResult::parse(const std::string &payload) 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(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc index c097041b2..deaec93f6 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectSprintRequest.cc @@ -1,117 +1,99 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectSprintRequest; + +UpdateDevopsProjectSprintRequest::UpdateDevopsProjectSprintRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProjectSprint") { + setMethod(HttpRequest::Method::Post); } -void UpdateDevopsProjectSprintRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +UpdateDevopsProjectSprintRequest::~UpdateDevopsProjectSprintRequest() {} + +std::string UpdateDevopsProjectSprintRequest::getExecutorId() const { + return executorId_; } -std::string UpdateDevopsProjectSprintRequest::getDescription()const -{ - return description_; +void UpdateDevopsProjectSprintRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void UpdateDevopsProjectSprintRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string UpdateDevopsProjectSprintRequest::getDescription() const { + return description_; } -std::string UpdateDevopsProjectSprintRequest::getStartDate()const -{ - return startDate_; +void UpdateDevopsProjectSprintRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void UpdateDevopsProjectSprintRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string UpdateDevopsProjectSprintRequest::getStartDate() const { + return startDate_; } -std::string UpdateDevopsProjectSprintRequest::getOrgId()const -{ - return orgId_; +void UpdateDevopsProjectSprintRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void UpdateDevopsProjectSprintRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string UpdateDevopsProjectSprintRequest::getOrgId() const { + return orgId_; } -std::string UpdateDevopsProjectSprintRequest::getSprintId()const -{ - return sprintId_; +void UpdateDevopsProjectSprintRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void UpdateDevopsProjectSprintRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +std::string UpdateDevopsProjectSprintRequest::getSprintId() const { + return sprintId_; } -std::string UpdateDevopsProjectSprintRequest::getDueDate()const -{ - return dueDate_; +void UpdateDevopsProjectSprintRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void UpdateDevopsProjectSprintRequest::setDueDate(const std::string& dueDate) -{ - dueDate_ = dueDate; - setBodyParameter("DueDate", dueDate); +std::string UpdateDevopsProjectSprintRequest::getDueDate() const { + return dueDate_; } -std::string UpdateDevopsProjectSprintRequest::getName()const -{ - return name_; +void UpdateDevopsProjectSprintRequest::setDueDate(const std::string &dueDate) { + dueDate_ = dueDate; + setBodyParameter(std::string("DueDate"), dueDate); } -void UpdateDevopsProjectSprintRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string UpdateDevopsProjectSprintRequest::getName() const { + return name_; } -std::string UpdateDevopsProjectSprintRequest::getProjectId()const -{ - return projectId_; +void UpdateDevopsProjectSprintRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void UpdateDevopsProjectSprintRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string UpdateDevopsProjectSprintRequest::getProjectId() const { + return projectId_; +} + +void UpdateDevopsProjectSprintRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc b/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc index d08cbc28f..b910dbad3 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectSprintResult.cc @@ -39,14 +39,14 @@ void UpdateDevopsProjectSprintResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc b/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc index ad28a7f99..a08dc01f1 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectTaskRequest.cc @@ -1,183 +1,153 @@ /* * 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_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateDevopsProjectTaskRequest; + +UpdateDevopsProjectTaskRequest::UpdateDevopsProjectTaskRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateDevopsProjectTask") { + setMethod(HttpRequest::Method::Post); } -void UpdateDevopsProjectTaskRequest::setNote(const std::string& note) -{ - note_ = note; - setBodyParameter("Note", note); +UpdateDevopsProjectTaskRequest::~UpdateDevopsProjectTaskRequest() {} + +std::string UpdateDevopsProjectTaskRequest::getNote() const { + return note_; } -std::string UpdateDevopsProjectTaskRequest::getVisible()const -{ - return visible_; +void UpdateDevopsProjectTaskRequest::setNote(const std::string ¬e) { + note_ = note; + setBodyParameter(std::string("Note"), note); } -void UpdateDevopsProjectTaskRequest::setVisible(const std::string& visible) -{ - visible_ = visible; - setBodyParameter("Visible", visible); +std::string UpdateDevopsProjectTaskRequest::getVisible() const { + return visible_; } -std::string UpdateDevopsProjectTaskRequest::getExecutorId()const -{ - return executorId_; +void UpdateDevopsProjectTaskRequest::setVisible(const std::string &visible) { + visible_ = visible; + setBodyParameter(std::string("Visible"), visible); } -void UpdateDevopsProjectTaskRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +std::string UpdateDevopsProjectTaskRequest::getExecutorId() const { + return executorId_; } -std::string UpdateDevopsProjectTaskRequest::getTaskFlowStatusId()const -{ - return taskFlowStatusId_; +void UpdateDevopsProjectTaskRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void UpdateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) -{ - taskFlowStatusId_ = taskFlowStatusId; - setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +std::string UpdateDevopsProjectTaskRequest::getTaskFlowStatusId() const { + return taskFlowStatusId_; } -std::string UpdateDevopsProjectTaskRequest::getScenarioFiieldConfigId()const -{ - return scenarioFiieldConfigId_; +void UpdateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string &taskFlowStatusId) { + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter(std::string("TaskFlowStatusId"), taskFlowStatusId); } -void UpdateDevopsProjectTaskRequest::setScenarioFiieldConfigId(const std::string& scenarioFiieldConfigId) -{ - scenarioFiieldConfigId_ = scenarioFiieldConfigId; - setBodyParameter("ScenarioFiieldConfigId", scenarioFiieldConfigId); +std::string UpdateDevopsProjectTaskRequest::getScenarioFiieldConfigId() const { + return scenarioFiieldConfigId_; } -std::string UpdateDevopsProjectTaskRequest::getStartDate()const -{ - return startDate_; +void UpdateDevopsProjectTaskRequest::setScenarioFiieldConfigId(const std::string &scenarioFiieldConfigId) { + scenarioFiieldConfigId_ = scenarioFiieldConfigId; + setBodyParameter(std::string("ScenarioFiieldConfigId"), scenarioFiieldConfigId); } -void UpdateDevopsProjectTaskRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string UpdateDevopsProjectTaskRequest::getStartDate() const { + return startDate_; } -int UpdateDevopsProjectTaskRequest::getPriority()const -{ - return priority_; +void UpdateDevopsProjectTaskRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void UpdateDevopsProjectTaskRequest::setPriority(int priority) -{ - priority_ = priority; - setBodyParameter("Priority", std::to_string(priority)); +int UpdateDevopsProjectTaskRequest::getPriority() const { + return priority_; } -std::string UpdateDevopsProjectTaskRequest::getParentTaskId()const -{ - return parentTaskId_; +void UpdateDevopsProjectTaskRequest::setPriority(int priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), std::to_string(priority)); } -void UpdateDevopsProjectTaskRequest::setParentTaskId(const std::string& parentTaskId) -{ - parentTaskId_ = parentTaskId; - setBodyParameter("ParentTaskId", parentTaskId); +std::string UpdateDevopsProjectTaskRequest::getParentTaskId() const { + return parentTaskId_; } -std::string UpdateDevopsProjectTaskRequest::getOrgId()const -{ - return orgId_; +void UpdateDevopsProjectTaskRequest::setParentTaskId(const std::string &parentTaskId) { + parentTaskId_ = parentTaskId; + setBodyParameter(std::string("ParentTaskId"), parentTaskId); } -void UpdateDevopsProjectTaskRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string UpdateDevopsProjectTaskRequest::getOrgId() const { + return orgId_; } -std::string UpdateDevopsProjectTaskRequest::getContent()const -{ - return content_; +void UpdateDevopsProjectTaskRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void UpdateDevopsProjectTaskRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string UpdateDevopsProjectTaskRequest::getContent() const { + return content_; } -std::string UpdateDevopsProjectTaskRequest::getSprintId()const -{ - return sprintId_; +void UpdateDevopsProjectTaskRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } -void UpdateDevopsProjectTaskRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +std::string UpdateDevopsProjectTaskRequest::getSprintId() const { + return sprintId_; } -std::string UpdateDevopsProjectTaskRequest::getDueDate()const -{ - return dueDate_; +void UpdateDevopsProjectTaskRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void UpdateDevopsProjectTaskRequest::setDueDate(const std::string& dueDate) -{ - dueDate_ = dueDate; - setBodyParameter("DueDate", dueDate); +std::string UpdateDevopsProjectTaskRequest::getDueDate() const { + return dueDate_; } -std::string UpdateDevopsProjectTaskRequest::getProjectId()const -{ - return projectId_; +void UpdateDevopsProjectTaskRequest::setDueDate(const std::string &dueDate) { + dueDate_ = dueDate; + setBodyParameter(std::string("DueDate"), dueDate); } -void UpdateDevopsProjectTaskRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string UpdateDevopsProjectTaskRequest::getProjectId() const { + return projectId_; } -std::string UpdateDevopsProjectTaskRequest::getTaskId()const -{ - return taskId_; +void UpdateDevopsProjectTaskRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void UpdateDevopsProjectTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string UpdateDevopsProjectTaskRequest::getTaskId() const { + return taskId_; +} + +void UpdateDevopsProjectTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } diff --git a/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc b/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc index 7bb7a23ef..9976a211d 100644 --- a/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc +++ b/devops-rdc/src/model/UpdateDevopsProjectTaskResult.cc @@ -39,14 +39,14 @@ void UpdateDevopsProjectTaskResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/devops-rdc/src/model/UpdatePipelineEnvVarsRequest.cc b/devops-rdc/src/model/UpdatePipelineEnvVarsRequest.cc new file mode 100644 index 000000000..e993bb936 --- /dev/null +++ b/devops-rdc/src/model/UpdatePipelineEnvVarsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdatePipelineEnvVarsRequest; + +UpdatePipelineEnvVarsRequest::UpdatePipelineEnvVarsRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdatePipelineEnvVars") { + setMethod(HttpRequest::Method::Post); +} + +UpdatePipelineEnvVarsRequest::~UpdatePipelineEnvVarsRequest() {} + +std::string UpdatePipelineEnvVarsRequest::getEnvVars() const { + return envVars_; +} + +void UpdatePipelineEnvVarsRequest::setEnvVars(const std::string &envVars) { + envVars_ = envVars; + setParameter(std::string("EnvVars"), envVars); +} + +std::string UpdatePipelineEnvVarsRequest::getOrgId() const { + return orgId_; +} + +void UpdatePipelineEnvVarsRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); +} + +long UpdatePipelineEnvVarsRequest::getPipelineId() const { + return pipelineId_; +} + +void UpdatePipelineEnvVarsRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); +} + diff --git a/devops-rdc/src/model/UpdatePipelineEnvVarsResult.cc b/devops-rdc/src/model/UpdatePipelineEnvVarsResult.cc new file mode 100644 index 000000000..df7e10ab2 --- /dev/null +++ b/devops-rdc/src/model/UpdatePipelineEnvVarsResult.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 +#include + +using namespace AlibabaCloud::Devops_rdc; +using namespace AlibabaCloud::Devops_rdc::Model; + +UpdatePipelineEnvVarsResult::UpdatePipelineEnvVarsResult() : + ServiceResult() +{} + +UpdatePipelineEnvVarsResult::UpdatePipelineEnvVarsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdatePipelineEnvVarsResult::~UpdatePipelineEnvVarsResult() +{} + +void UpdatePipelineEnvVarsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PipelineId"].isNull()) + pipelineId_ = std::stol(value["PipelineId"].asString()); + +} + +long UpdatePipelineEnvVarsResult::getPipelineId()const +{ + return pipelineId_; +} + diff --git a/devops-rdc/src/model/UpdatePipelineMemberRequest.cc b/devops-rdc/src/model/UpdatePipelineMemberRequest.cc index e32ad3bf9..df940c636 100644 --- a/devops-rdc/src/model/UpdatePipelineMemberRequest.cc +++ b/devops-rdc/src/model/UpdatePipelineMemberRequest.cc @@ -1,84 +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 - -using AlibabaCloud::Devops_rdc::Model::UpdatePipelineMemberRequest; - -UpdatePipelineMemberRequest::UpdatePipelineMemberRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "UpdatePipelineMember") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdatePipelineMemberRequest::~UpdatePipelineMemberRequest() -{} - -std::string UpdatePipelineMemberRequest::getRoleName()const -{ - return roleName_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdatePipelineMemberRequest; + +UpdatePipelineMemberRequest::UpdatePipelineMemberRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdatePipelineMember") { + setMethod(HttpRequest::Method::Post); } -void UpdatePipelineMemberRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setBodyParameter("RoleName", roleName); +UpdatePipelineMemberRequest::~UpdatePipelineMemberRequest() {} + +std::string UpdatePipelineMemberRequest::getRoleName() const { + return roleName_; } -std::string UpdatePipelineMemberRequest::getUserPk()const -{ - return userPk_; +void UpdatePipelineMemberRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setBodyParameter(std::string("RoleName"), roleName); } -void UpdatePipelineMemberRequest::setUserPk(const std::string& userPk) -{ - userPk_ = userPk; - setBodyParameter("UserPk", userPk); +std::string UpdatePipelineMemberRequest::getUserPk() const { + return userPk_; } -std::string UpdatePipelineMemberRequest::getUserId()const -{ - return userId_; +void UpdatePipelineMemberRequest::setUserPk(const std::string &userPk) { + userPk_ = userPk; + setBodyParameter(std::string("UserPk"), userPk); } -void UpdatePipelineMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +std::string UpdatePipelineMemberRequest::getUserId() const { + return userId_; } -std::string UpdatePipelineMemberRequest::getOrgId()const -{ - return orgId_; +void UpdatePipelineMemberRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } -void UpdatePipelineMemberRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setParameter("OrgId", orgId); +std::string UpdatePipelineMemberRequest::getOrgId() const { + return orgId_; } -long UpdatePipelineMemberRequest::getPipelineId()const -{ - return pipelineId_; +void UpdatePipelineMemberRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setParameter(std::string("OrgId"), orgId); } -void UpdatePipelineMemberRequest::setPipelineId(long pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", std::to_string(pipelineId)); +long UpdatePipelineMemberRequest::getPipelineId() const { + return pipelineId_; +} + +void UpdatePipelineMemberRequest::setPipelineId(long pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), std::to_string(pipelineId)); } diff --git a/devops-rdc/src/model/UpdatePipelineMemberResult.cc b/devops-rdc/src/model/UpdatePipelineMemberResult.cc index 49c2842eb..e121c917f 100644 --- a/devops-rdc/src/model/UpdatePipelineMemberResult.cc +++ b/devops-rdc/src/model/UpdatePipelineMemberResult.cc @@ -39,14 +39,14 @@ void UpdatePipelineMemberResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); if(!value["Object"].isNull()) object_ = value["Object"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/devops-rdc/src/model/UpdateTaskDetailRequest.cc b/devops-rdc/src/model/UpdateTaskDetailRequest.cc index b1fb1889d..e5f1cbc5a 100644 --- a/devops-rdc/src/model/UpdateTaskDetailRequest.cc +++ b/devops-rdc/src/model/UpdateTaskDetailRequest.cc @@ -1,227 +1,189 @@ /* * 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::UpdateTaskDetailRequest; - -UpdateTaskDetailRequest::UpdateTaskDetailRequest() : - RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateTaskDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTaskDetailRequest::~UpdateTaskDetailRequest() -{} - -std::string UpdateTaskDetailRequest::getNote()const -{ - return note_; + */ + +#include + +using AlibabaCloud::Devops_rdc::Model::UpdateTaskDetailRequest; + +UpdateTaskDetailRequest::UpdateTaskDetailRequest() + : RpcServiceRequest("devops-rdc", "2020-03-03", "UpdateTaskDetail") { + setMethod(HttpRequest::Method::Post); } -void UpdateTaskDetailRequest::setNote(const std::string& note) -{ - note_ = note; - setBodyParameter("Note", note); +UpdateTaskDetailRequest::~UpdateTaskDetailRequest() {} + +std::string UpdateTaskDetailRequest::getNote() const { + return note_; } -std::string UpdateTaskDetailRequest::getExecutorId()const -{ - return executorId_; +void UpdateTaskDetailRequest::setNote(const std::string ¬e) { + note_ = note; + setBodyParameter(std::string("Note"), note); } -void UpdateTaskDetailRequest::setExecutorId(const std::string& executorId) -{ - executorId_ = executorId; - setBodyParameter("ExecutorId", executorId); +std::string UpdateTaskDetailRequest::getExecutorId() const { + return executorId_; } -std::string UpdateTaskDetailRequest::getStartDate()const -{ - return startDate_; +void UpdateTaskDetailRequest::setExecutorId(const std::string &executorId) { + executorId_ = executorId; + setBodyParameter(std::string("ExecutorId"), executorId); } -void UpdateTaskDetailRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string UpdateTaskDetailRequest::getStartDate() const { + return startDate_; } -std::string UpdateTaskDetailRequest::getDelInvolvers()const -{ - return delInvolvers_; +void UpdateTaskDetailRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void UpdateTaskDetailRequest::setDelInvolvers(const std::string& delInvolvers) -{ - delInvolvers_ = delInvolvers; - setBodyParameter("DelInvolvers", delInvolvers); +std::string UpdateTaskDetailRequest::getDelInvolvers() const { + return delInvolvers_; } -std::string UpdateTaskDetailRequest::getContent()const -{ - return content_; +void UpdateTaskDetailRequest::setDelInvolvers(const std::string &delInvolvers) { + delInvolvers_ = delInvolvers; + setBodyParameter(std::string("DelInvolvers"), delInvolvers); } -void UpdateTaskDetailRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string UpdateTaskDetailRequest::getContent() const { + return content_; } -std::string UpdateTaskDetailRequest::getSprintId()const -{ - return sprintId_; +void UpdateTaskDetailRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } -void UpdateTaskDetailRequest::setSprintId(const std::string& sprintId) -{ - sprintId_ = sprintId; - setBodyParameter("SprintId", sprintId); +std::string UpdateTaskDetailRequest::getSprintId() const { + return sprintId_; } -std::string UpdateTaskDetailRequest::getCustomFieldId()const -{ - return customFieldId_; +void UpdateTaskDetailRequest::setSprintId(const std::string &sprintId) { + sprintId_ = sprintId; + setBodyParameter(std::string("SprintId"), sprintId); } -void UpdateTaskDetailRequest::setCustomFieldId(const std::string& customFieldId) -{ - customFieldId_ = customFieldId; - setBodyParameter("CustomFieldId", customFieldId); +std::string UpdateTaskDetailRequest::getCustomFieldId() const { + return customFieldId_; } -std::string UpdateTaskDetailRequest::getProjectId()const -{ - return projectId_; +void UpdateTaskDetailRequest::setCustomFieldId(const std::string &customFieldId) { + customFieldId_ = customFieldId; + setBodyParameter(std::string("CustomFieldId"), customFieldId); } -void UpdateTaskDetailRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string UpdateTaskDetailRequest::getProjectId() const { + return projectId_; } -std::string UpdateTaskDetailRequest::getTaskId()const -{ - return taskId_; +void UpdateTaskDetailRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } -void UpdateTaskDetailRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setBodyParameter("TaskId", taskId); +std::string UpdateTaskDetailRequest::getTaskId() const { + return taskId_; } -std::string UpdateTaskDetailRequest::getTaskFlowStatusId()const -{ - return taskFlowStatusId_; +void UpdateTaskDetailRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setBodyParameter(std::string("TaskId"), taskId); } -void UpdateTaskDetailRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId) -{ - taskFlowStatusId_ = taskFlowStatusId; - setBodyParameter("TaskFlowStatusId", taskFlowStatusId); +std::string UpdateTaskDetailRequest::getTaskFlowStatusId() const { + return taskFlowStatusId_; } -std::string UpdateTaskDetailRequest::getTagIds()const -{ - return tagIds_; +void UpdateTaskDetailRequest::setTaskFlowStatusId(const std::string &taskFlowStatusId) { + taskFlowStatusId_ = taskFlowStatusId; + setBodyParameter(std::string("TaskFlowStatusId"), taskFlowStatusId); } -void UpdateTaskDetailRequest::setTagIds(const std::string& tagIds) -{ - tagIds_ = tagIds; - setBodyParameter("TagIds", tagIds); +std::string UpdateTaskDetailRequest::getTagIds() const { + return tagIds_; } -std::string UpdateTaskDetailRequest::getAddInvolvers()const -{ - return addInvolvers_; +void UpdateTaskDetailRequest::setTagIds(const std::string &tagIds) { + tagIds_ = tagIds; + setBodyParameter(std::string("TagIds"), tagIds); } -void UpdateTaskDetailRequest::setAddInvolvers(const std::string& addInvolvers) -{ - addInvolvers_ = addInvolvers; - setBodyParameter("AddInvolvers", addInvolvers); +std::string UpdateTaskDetailRequest::getAddInvolvers() const { + return addInvolvers_; } -long UpdateTaskDetailRequest::getPriority()const -{ - return priority_; +void UpdateTaskDetailRequest::setAddInvolvers(const std::string &addInvolvers) { + addInvolvers_ = addInvolvers; + setBodyParameter(std::string("AddInvolvers"), addInvolvers); } -void UpdateTaskDetailRequest::setPriority(long priority) -{ - priority_ = priority; - setBodyParameter("Priority", std::to_string(priority)); +long UpdateTaskDetailRequest::getPriority() const { + return priority_; } -std::string UpdateTaskDetailRequest::getOrgId()const -{ - return orgId_; +void UpdateTaskDetailRequest::setPriority(long priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), std::to_string(priority)); } -void UpdateTaskDetailRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string UpdateTaskDetailRequest::getOrgId() const { + return orgId_; } -std::string UpdateTaskDetailRequest::getDueDate()const -{ - return dueDate_; +void UpdateTaskDetailRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void UpdateTaskDetailRequest::setDueDate(const std::string& dueDate) -{ - dueDate_ = dueDate; - setBodyParameter("DueDate", dueDate); +std::string UpdateTaskDetailRequest::getDueDate() const { + return dueDate_; } -long UpdateTaskDetailRequest::getWorkTimes()const -{ - return workTimes_; +void UpdateTaskDetailRequest::setDueDate(const std::string &dueDate) { + dueDate_ = dueDate; + setBodyParameter(std::string("DueDate"), dueDate); } -void UpdateTaskDetailRequest::setWorkTimes(long workTimes) -{ - workTimes_ = workTimes; - setBodyParameter("WorkTimes", std::to_string(workTimes)); +long UpdateTaskDetailRequest::getWorkTimes() const { + return workTimes_; } -std::string UpdateTaskDetailRequest::getStoryPoint()const -{ - return storyPoint_; +void UpdateTaskDetailRequest::setWorkTimes(long workTimes) { + workTimes_ = workTimes; + setBodyParameter(std::string("WorkTimes"), std::to_string(workTimes)); } -void UpdateTaskDetailRequest::setStoryPoint(const std::string& storyPoint) -{ - storyPoint_ = storyPoint; - setBodyParameter("StoryPoint", storyPoint); +std::string UpdateTaskDetailRequest::getStoryPoint() const { + return storyPoint_; } -std::string UpdateTaskDetailRequest::getCustomFieldValues()const -{ - return customFieldValues_; +void UpdateTaskDetailRequest::setStoryPoint(const std::string &storyPoint) { + storyPoint_ = storyPoint; + setBodyParameter(std::string("StoryPoint"), storyPoint); } -void UpdateTaskDetailRequest::setCustomFieldValues(const std::string& customFieldValues) -{ - customFieldValues_ = customFieldValues; - setBodyParameter("CustomFieldValues", customFieldValues); +std::string UpdateTaskDetailRequest::getCustomFieldValues() const { + return customFieldValues_; +} + +void UpdateTaskDetailRequest::setCustomFieldValues(const std::string &customFieldValues) { + customFieldValues_ = customFieldValues; + setBodyParameter(std::string("CustomFieldValues"), customFieldValues); } diff --git a/devops-rdc/src/model/UpdateTaskDetailResult.cc b/devops-rdc/src/model/UpdateTaskDetailResult.cc index b206db24c..6470c74a4 100644 --- a/devops-rdc/src/model/UpdateTaskDetailResult.cc +++ b/devops-rdc/src/model/UpdateTaskDetailResult.cc @@ -39,14 +39,14 @@ void UpdateTaskDetailResult::parse(const std::string &payload) 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"; + if(!value["Successful"].isNull()) + successful_ = value["Successful"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); }