Add project Api.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-08-14 Version: 1.36.581
|
||||
- Add project Api.
|
||||
|
||||
2020-08-13 Version: 1.36.580
|
||||
- Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
|
||||
- Support BillOwnerId filter for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
|
||||
|
||||
194
teambition-aliyun/CMakeLists.txt
Normal file
194
teambition-aliyun/CMakeLists.txt
Normal file
@@ -0,0 +1,194 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(teambition-aliyun_public_header
|
||||
include/alibabacloud/teambition-aliyun/Teambition_aliyunClient.h
|
||||
include/alibabacloud/teambition-aliyun/Teambition_aliyunExport.h )
|
||||
|
||||
set(teambition-aliyun_public_header_model
|
||||
include/alibabacloud/teambition-aliyun/model/AddProjectMembersRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/AddProjectMembersResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ApplySmallMicroRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ApplySmallMicroResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/BactchInsertMembersRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/BactchInsertMembersResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/CheckAliyunUserExistsRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/CheckAliyunUserExistsResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateDevopsOrgRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateDevopsOrgResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectSprintRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectSprintResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectTaskRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/CreateProjectTaskResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteMembersForOrgRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteMembersForOrgResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectMembersRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectMembersResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectSprintRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectSprintResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectTaskRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/DeleteProjectTaskResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetOrganizationMembersRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetOrganizationMembersResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectInfoRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectInfoResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectMembersRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectMembersResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectSprintInfoRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectSprintInfoResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectTaskInfoRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetProjectTaskInfoResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetUserByUidRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/GetUserByUidResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/InsertDevopsMemberRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/InsertDevopsMemberResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectSprintsRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectSprintsResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTaskFlowRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTaskFlowResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTaskFlowStatusRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTaskFlowStatusResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTasksRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListProjectTasksResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListScenarioFieldConfigRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/ListScenarioFieldConfigResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectSprintRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectSprintResult.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectTaskRequest.h
|
||||
include/alibabacloud/teambition-aliyun/model/UpdateProjectTaskResult.h )
|
||||
|
||||
set(teambition-aliyun_src
|
||||
src/Teambition-aliyunClient.cc
|
||||
src/model/AddProjectMembersRequest.cc
|
||||
src/model/AddProjectMembersResult.cc
|
||||
src/model/ApplySmallMicroRequest.cc
|
||||
src/model/ApplySmallMicroResult.cc
|
||||
src/model/BactchInsertMembersRequest.cc
|
||||
src/model/BactchInsertMembersResult.cc
|
||||
src/model/CheckAliyunUserExistsRequest.cc
|
||||
src/model/CheckAliyunUserExistsResult.cc
|
||||
src/model/CreateDevopsOrgRequest.cc
|
||||
src/model/CreateDevopsOrgResult.cc
|
||||
src/model/CreateProjectRequest.cc
|
||||
src/model/CreateProjectResult.cc
|
||||
src/model/CreateProjectSprintRequest.cc
|
||||
src/model/CreateProjectSprintResult.cc
|
||||
src/model/CreateProjectTaskRequest.cc
|
||||
src/model/CreateProjectTaskResult.cc
|
||||
src/model/DeleteMembersForOrgRequest.cc
|
||||
src/model/DeleteMembersForOrgResult.cc
|
||||
src/model/DeleteProjectRequest.cc
|
||||
src/model/DeleteProjectResult.cc
|
||||
src/model/DeleteProjectMembersRequest.cc
|
||||
src/model/DeleteProjectMembersResult.cc
|
||||
src/model/DeleteProjectSprintRequest.cc
|
||||
src/model/DeleteProjectSprintResult.cc
|
||||
src/model/DeleteProjectTaskRequest.cc
|
||||
src/model/DeleteProjectTaskResult.cc
|
||||
src/model/GetOrganizationMembersRequest.cc
|
||||
src/model/GetOrganizationMembersResult.cc
|
||||
src/model/GetProjectInfoRequest.cc
|
||||
src/model/GetProjectInfoResult.cc
|
||||
src/model/GetProjectMembersRequest.cc
|
||||
src/model/GetProjectMembersResult.cc
|
||||
src/model/GetProjectSprintInfoRequest.cc
|
||||
src/model/GetProjectSprintInfoResult.cc
|
||||
src/model/GetProjectTaskInfoRequest.cc
|
||||
src/model/GetProjectTaskInfoResult.cc
|
||||
src/model/GetUserByUidRequest.cc
|
||||
src/model/GetUserByUidResult.cc
|
||||
src/model/InsertDevopsMemberRequest.cc
|
||||
src/model/InsertDevopsMemberResult.cc
|
||||
src/model/ListProjectSprintsRequest.cc
|
||||
src/model/ListProjectSprintsResult.cc
|
||||
src/model/ListProjectTaskFlowRequest.cc
|
||||
src/model/ListProjectTaskFlowResult.cc
|
||||
src/model/ListProjectTaskFlowStatusRequest.cc
|
||||
src/model/ListProjectTaskFlowStatusResult.cc
|
||||
src/model/ListProjectTasksRequest.cc
|
||||
src/model/ListProjectTasksResult.cc
|
||||
src/model/ListScenarioFieldConfigRequest.cc
|
||||
src/model/ListScenarioFieldConfigResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc
|
||||
src/model/UpdateProjectSprintRequest.cc
|
||||
src/model/UpdateProjectSprintResult.cc
|
||||
src/model/UpdateProjectTaskRequest.cc
|
||||
src/model/UpdateProjectTaskResult.cc )
|
||||
|
||||
add_library(teambition-aliyun ${LIB_TYPE}
|
||||
${teambition-aliyun_public_header}
|
||||
${teambition-aliyun_public_header_model}
|
||||
${teambition-aliyun_src})
|
||||
|
||||
set_target_properties(teambition-aliyun
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}teambition-aliyun
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(teambition-aliyun
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_TEAMBITION_ALIYUN_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(teambition-aliyun
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(teambition-aliyun
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(teambition-aliyun
|
||||
jsoncpp)
|
||||
target_include_directories(teambition-aliyun
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(teambition-aliyun
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(teambition-aliyun
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(teambition-aliyun
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(teambition-aliyun
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${teambition-aliyun_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/teambition-aliyun)
|
||||
install(FILES ${teambition-aliyun_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/teambition-aliyun/model)
|
||||
install(TARGETS teambition-aliyun
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNCLIENT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "Teambition_aliyunExport.h"
|
||||
#include "model/AddProjectMembersRequest.h"
|
||||
#include "model/AddProjectMembersResult.h"
|
||||
#include "model/ApplySmallMicroRequest.h"
|
||||
#include "model/ApplySmallMicroResult.h"
|
||||
#include "model/BactchInsertMembersRequest.h"
|
||||
#include "model/BactchInsertMembersResult.h"
|
||||
#include "model/CheckAliyunUserExistsRequest.h"
|
||||
#include "model/CheckAliyunUserExistsResult.h"
|
||||
#include "model/CreateDevopsOrgRequest.h"
|
||||
#include "model/CreateDevopsOrgResult.h"
|
||||
#include "model/CreateProjectRequest.h"
|
||||
#include "model/CreateProjectResult.h"
|
||||
#include "model/CreateProjectSprintRequest.h"
|
||||
#include "model/CreateProjectSprintResult.h"
|
||||
#include "model/CreateProjectTaskRequest.h"
|
||||
#include "model/CreateProjectTaskResult.h"
|
||||
#include "model/DeleteMembersForOrgRequest.h"
|
||||
#include "model/DeleteMembersForOrgResult.h"
|
||||
#include "model/DeleteProjectRequest.h"
|
||||
#include "model/DeleteProjectResult.h"
|
||||
#include "model/DeleteProjectMembersRequest.h"
|
||||
#include "model/DeleteProjectMembersResult.h"
|
||||
#include "model/DeleteProjectSprintRequest.h"
|
||||
#include "model/DeleteProjectSprintResult.h"
|
||||
#include "model/DeleteProjectTaskRequest.h"
|
||||
#include "model/DeleteProjectTaskResult.h"
|
||||
#include "model/GetOrganizationMembersRequest.h"
|
||||
#include "model/GetOrganizationMembersResult.h"
|
||||
#include "model/GetProjectInfoRequest.h"
|
||||
#include "model/GetProjectInfoResult.h"
|
||||
#include "model/GetProjectMembersRequest.h"
|
||||
#include "model/GetProjectMembersResult.h"
|
||||
#include "model/GetProjectSprintInfoRequest.h"
|
||||
#include "model/GetProjectSprintInfoResult.h"
|
||||
#include "model/GetProjectTaskInfoRequest.h"
|
||||
#include "model/GetProjectTaskInfoResult.h"
|
||||
#include "model/GetUserByUidRequest.h"
|
||||
#include "model/GetUserByUidResult.h"
|
||||
#include "model/InsertDevopsMemberRequest.h"
|
||||
#include "model/InsertDevopsMemberResult.h"
|
||||
#include "model/ListProjectSprintsRequest.h"
|
||||
#include "model/ListProjectSprintsResult.h"
|
||||
#include "model/ListProjectTaskFlowRequest.h"
|
||||
#include "model/ListProjectTaskFlowResult.h"
|
||||
#include "model/ListProjectTaskFlowStatusRequest.h"
|
||||
#include "model/ListProjectTaskFlowStatusResult.h"
|
||||
#include "model/ListProjectTasksRequest.h"
|
||||
#include "model/ListProjectTasksResult.h"
|
||||
#include "model/ListScenarioFieldConfigRequest.h"
|
||||
#include "model/ListScenarioFieldConfigResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
#include "model/UpdateProjectSprintRequest.h"
|
||||
#include "model/UpdateProjectSprintResult.h"
|
||||
#include "model/UpdateProjectTaskRequest.h"
|
||||
#include "model/UpdateProjectTaskResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT Teambition_aliyunClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddProjectMembersResult> AddProjectMembersOutcome;
|
||||
typedef std::future<AddProjectMembersOutcome> AddProjectMembersOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::AddProjectMembersRequest&, const AddProjectMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddProjectMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ApplySmallMicroResult> ApplySmallMicroOutcome;
|
||||
typedef std::future<ApplySmallMicroOutcome> ApplySmallMicroOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ApplySmallMicroRequest&, const ApplySmallMicroOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplySmallMicroAsyncHandler;
|
||||
typedef Outcome<Error, Model::BactchInsertMembersResult> BactchInsertMembersOutcome;
|
||||
typedef std::future<BactchInsertMembersOutcome> BactchInsertMembersOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::BactchInsertMembersRequest&, const BactchInsertMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BactchInsertMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckAliyunUserExistsResult> CheckAliyunUserExistsOutcome;
|
||||
typedef std::future<CheckAliyunUserExistsOutcome> CheckAliyunUserExistsOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::CheckAliyunUserExistsRequest&, const CheckAliyunUserExistsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckAliyunUserExistsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDevopsOrgResult> CreateDevopsOrgOutcome;
|
||||
typedef std::future<CreateDevopsOrgOutcome> CreateDevopsOrgOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::CreateDevopsOrgRequest&, const CreateDevopsOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDevopsOrgAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectSprintResult> CreateProjectSprintOutcome;
|
||||
typedef std::future<CreateProjectSprintOutcome> CreateProjectSprintOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::CreateProjectSprintRequest&, const CreateProjectSprintOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectSprintAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectTaskResult> CreateProjectTaskOutcome;
|
||||
typedef std::future<CreateProjectTaskOutcome> CreateProjectTaskOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::CreateProjectTaskRequest&, const CreateProjectTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMembersForOrgResult> DeleteMembersForOrgOutcome;
|
||||
typedef std::future<DeleteMembersForOrgOutcome> DeleteMembersForOrgOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::DeleteMembersForOrgRequest&, const DeleteMembersForOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMembersForOrgAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
|
||||
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectMembersResult> DeleteProjectMembersOutcome;
|
||||
typedef std::future<DeleteProjectMembersOutcome> DeleteProjectMembersOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::DeleteProjectMembersRequest&, const DeleteProjectMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectSprintResult> DeleteProjectSprintOutcome;
|
||||
typedef std::future<DeleteProjectSprintOutcome> DeleteProjectSprintOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::DeleteProjectSprintRequest&, const DeleteProjectSprintOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectSprintAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectTaskResult> DeleteProjectTaskOutcome;
|
||||
typedef std::future<DeleteProjectTaskOutcome> DeleteProjectTaskOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::DeleteProjectTaskRequest&, const DeleteProjectTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetOrganizationMembersResult> GetOrganizationMembersOutcome;
|
||||
typedef std::future<GetOrganizationMembersOutcome> GetOrganizationMembersOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetOrganizationMembersRequest&, const GetOrganizationMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrganizationMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectInfoResult> GetProjectInfoOutcome;
|
||||
typedef std::future<GetProjectInfoOutcome> GetProjectInfoOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetProjectInfoRequest&, const GetProjectInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectMembersResult> GetProjectMembersOutcome;
|
||||
typedef std::future<GetProjectMembersOutcome> GetProjectMembersOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetProjectMembersRequest&, const GetProjectMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectSprintInfoResult> GetProjectSprintInfoOutcome;
|
||||
typedef std::future<GetProjectSprintInfoOutcome> GetProjectSprintInfoOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetProjectSprintInfoRequest&, const GetProjectSprintInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectSprintInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectTaskInfoResult> GetProjectTaskInfoOutcome;
|
||||
typedef std::future<GetProjectTaskInfoOutcome> GetProjectTaskInfoOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetProjectTaskInfoRequest&, const GetProjectTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectTaskInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserByUidResult> GetUserByUidOutcome;
|
||||
typedef std::future<GetUserByUidOutcome> GetUserByUidOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::GetUserByUidRequest&, const GetUserByUidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserByUidAsyncHandler;
|
||||
typedef Outcome<Error, Model::InsertDevopsMemberResult> InsertDevopsMemberOutcome;
|
||||
typedef std::future<InsertDevopsMemberOutcome> InsertDevopsMemberOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::InsertDevopsMemberRequest&, const InsertDevopsMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertDevopsMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectSprintsResult> ListProjectSprintsOutcome;
|
||||
typedef std::future<ListProjectSprintsOutcome> ListProjectSprintsOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ListProjectSprintsRequest&, const ListProjectSprintsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectSprintsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectTaskFlowResult> ListProjectTaskFlowOutcome;
|
||||
typedef std::future<ListProjectTaskFlowOutcome> ListProjectTaskFlowOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ListProjectTaskFlowRequest&, const ListProjectTaskFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectTaskFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectTaskFlowStatusResult> ListProjectTaskFlowStatusOutcome;
|
||||
typedef std::future<ListProjectTaskFlowStatusOutcome> ListProjectTaskFlowStatusOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ListProjectTaskFlowStatusRequest&, const ListProjectTaskFlowStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectTaskFlowStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectTasksResult> ListProjectTasksOutcome;
|
||||
typedef std::future<ListProjectTasksOutcome> ListProjectTasksOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ListProjectTasksRequest&, const ListProjectTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListScenarioFieldConfigResult> ListScenarioFieldConfigOutcome;
|
||||
typedef std::future<ListScenarioFieldConfigOutcome> ListScenarioFieldConfigOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::ListScenarioFieldConfigRequest&, const ListScenarioFieldConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenarioFieldConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectSprintResult> UpdateProjectSprintOutcome;
|
||||
typedef std::future<UpdateProjectSprintOutcome> UpdateProjectSprintOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::UpdateProjectSprintRequest&, const UpdateProjectSprintOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectSprintAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectTaskResult> UpdateProjectTaskOutcome;
|
||||
typedef std::future<UpdateProjectTaskOutcome> UpdateProjectTaskOutcomeCallable;
|
||||
typedef std::function<void(const Teambition_aliyunClient*, const Model::UpdateProjectTaskRequest&, const UpdateProjectTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectTaskAsyncHandler;
|
||||
|
||||
Teambition_aliyunClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
Teambition_aliyunClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
Teambition_aliyunClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~Teambition_aliyunClient();
|
||||
AddProjectMembersOutcome addProjectMembers(const Model::AddProjectMembersRequest &request)const;
|
||||
void addProjectMembersAsync(const Model::AddProjectMembersRequest& request, const AddProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddProjectMembersOutcomeCallable addProjectMembersCallable(const Model::AddProjectMembersRequest& request) const;
|
||||
ApplySmallMicroOutcome applySmallMicro(const Model::ApplySmallMicroRequest &request)const;
|
||||
void applySmallMicroAsync(const Model::ApplySmallMicroRequest& request, const ApplySmallMicroAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApplySmallMicroOutcomeCallable applySmallMicroCallable(const Model::ApplySmallMicroRequest& request) const;
|
||||
BactchInsertMembersOutcome bactchInsertMembers(const Model::BactchInsertMembersRequest &request)const;
|
||||
void bactchInsertMembersAsync(const Model::BactchInsertMembersRequest& request, const BactchInsertMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BactchInsertMembersOutcomeCallable bactchInsertMembersCallable(const Model::BactchInsertMembersRequest& request) const;
|
||||
CheckAliyunUserExistsOutcome checkAliyunUserExists(const Model::CheckAliyunUserExistsRequest &request)const;
|
||||
void checkAliyunUserExistsAsync(const Model::CheckAliyunUserExistsRequest& request, const CheckAliyunUserExistsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckAliyunUserExistsOutcomeCallable checkAliyunUserExistsCallable(const Model::CheckAliyunUserExistsRequest& request) const;
|
||||
CreateDevopsOrgOutcome createDevopsOrg(const Model::CreateDevopsOrgRequest &request)const;
|
||||
void createDevopsOrgAsync(const Model::CreateDevopsOrgRequest& request, const CreateDevopsOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDevopsOrgOutcomeCallable createDevopsOrgCallable(const Model::CreateDevopsOrgRequest& request) const;
|
||||
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
|
||||
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||
CreateProjectSprintOutcome createProjectSprint(const Model::CreateProjectSprintRequest &request)const;
|
||||
void createProjectSprintAsync(const Model::CreateProjectSprintRequest& request, const CreateProjectSprintAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectSprintOutcomeCallable createProjectSprintCallable(const Model::CreateProjectSprintRequest& request) const;
|
||||
CreateProjectTaskOutcome createProjectTask(const Model::CreateProjectTaskRequest &request)const;
|
||||
void createProjectTaskAsync(const Model::CreateProjectTaskRequest& request, const CreateProjectTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectTaskOutcomeCallable createProjectTaskCallable(const Model::CreateProjectTaskRequest& request) const;
|
||||
DeleteMembersForOrgOutcome deleteMembersForOrg(const Model::DeleteMembersForOrgRequest &request)const;
|
||||
void deleteMembersForOrgAsync(const Model::DeleteMembersForOrgRequest& request, const DeleteMembersForOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMembersForOrgOutcomeCallable deleteMembersForOrgCallable(const Model::DeleteMembersForOrgRequest& request) const;
|
||||
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
|
||||
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
|
||||
DeleteProjectMembersOutcome deleteProjectMembers(const Model::DeleteProjectMembersRequest &request)const;
|
||||
void deleteProjectMembersAsync(const Model::DeleteProjectMembersRequest& request, const DeleteProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectMembersOutcomeCallable deleteProjectMembersCallable(const Model::DeleteProjectMembersRequest& request) const;
|
||||
DeleteProjectSprintOutcome deleteProjectSprint(const Model::DeleteProjectSprintRequest &request)const;
|
||||
void deleteProjectSprintAsync(const Model::DeleteProjectSprintRequest& request, const DeleteProjectSprintAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectSprintOutcomeCallable deleteProjectSprintCallable(const Model::DeleteProjectSprintRequest& request) const;
|
||||
DeleteProjectTaskOutcome deleteProjectTask(const Model::DeleteProjectTaskRequest &request)const;
|
||||
void deleteProjectTaskAsync(const Model::DeleteProjectTaskRequest& request, const DeleteProjectTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectTaskOutcomeCallable deleteProjectTaskCallable(const Model::DeleteProjectTaskRequest& request) const;
|
||||
GetOrganizationMembersOutcome getOrganizationMembers(const Model::GetOrganizationMembersRequest &request)const;
|
||||
void getOrganizationMembersAsync(const Model::GetOrganizationMembersRequest& request, const GetOrganizationMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetOrganizationMembersOutcomeCallable getOrganizationMembersCallable(const Model::GetOrganizationMembersRequest& request) const;
|
||||
GetProjectInfoOutcome getProjectInfo(const Model::GetProjectInfoRequest &request)const;
|
||||
void getProjectInfoAsync(const Model::GetProjectInfoRequest& request, const GetProjectInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectInfoOutcomeCallable getProjectInfoCallable(const Model::GetProjectInfoRequest& request) const;
|
||||
GetProjectMembersOutcome getProjectMembers(const Model::GetProjectMembersRequest &request)const;
|
||||
void getProjectMembersAsync(const Model::GetProjectMembersRequest& request, const GetProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectMembersOutcomeCallable getProjectMembersCallable(const Model::GetProjectMembersRequest& request) const;
|
||||
GetProjectSprintInfoOutcome getProjectSprintInfo(const Model::GetProjectSprintInfoRequest &request)const;
|
||||
void getProjectSprintInfoAsync(const Model::GetProjectSprintInfoRequest& request, const GetProjectSprintInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectSprintInfoOutcomeCallable getProjectSprintInfoCallable(const Model::GetProjectSprintInfoRequest& request) const;
|
||||
GetProjectTaskInfoOutcome getProjectTaskInfo(const Model::GetProjectTaskInfoRequest &request)const;
|
||||
void getProjectTaskInfoAsync(const Model::GetProjectTaskInfoRequest& request, const GetProjectTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectTaskInfoOutcomeCallable getProjectTaskInfoCallable(const Model::GetProjectTaskInfoRequest& request) const;
|
||||
GetUserByUidOutcome getUserByUid(const Model::GetUserByUidRequest &request)const;
|
||||
void getUserByUidAsync(const Model::GetUserByUidRequest& request, const GetUserByUidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserByUidOutcomeCallable getUserByUidCallable(const Model::GetUserByUidRequest& request) const;
|
||||
InsertDevopsMemberOutcome insertDevopsMember(const Model::InsertDevopsMemberRequest &request)const;
|
||||
void insertDevopsMemberAsync(const Model::InsertDevopsMemberRequest& request, const InsertDevopsMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InsertDevopsMemberOutcomeCallable insertDevopsMemberCallable(const Model::InsertDevopsMemberRequest& request) const;
|
||||
ListProjectSprintsOutcome listProjectSprints(const Model::ListProjectSprintsRequest &request)const;
|
||||
void listProjectSprintsAsync(const Model::ListProjectSprintsRequest& request, const ListProjectSprintsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectSprintsOutcomeCallable listProjectSprintsCallable(const Model::ListProjectSprintsRequest& request) const;
|
||||
ListProjectTaskFlowOutcome listProjectTaskFlow(const Model::ListProjectTaskFlowRequest &request)const;
|
||||
void listProjectTaskFlowAsync(const Model::ListProjectTaskFlowRequest& request, const ListProjectTaskFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectTaskFlowOutcomeCallable listProjectTaskFlowCallable(const Model::ListProjectTaskFlowRequest& request) const;
|
||||
ListProjectTaskFlowStatusOutcome listProjectTaskFlowStatus(const Model::ListProjectTaskFlowStatusRequest &request)const;
|
||||
void listProjectTaskFlowStatusAsync(const Model::ListProjectTaskFlowStatusRequest& request, const ListProjectTaskFlowStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectTaskFlowStatusOutcomeCallable listProjectTaskFlowStatusCallable(const Model::ListProjectTaskFlowStatusRequest& request) const;
|
||||
ListProjectTasksOutcome listProjectTasks(const Model::ListProjectTasksRequest &request)const;
|
||||
void listProjectTasksAsync(const Model::ListProjectTasksRequest& request, const ListProjectTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectTasksOutcomeCallable listProjectTasksCallable(const Model::ListProjectTasksRequest& request) const;
|
||||
ListScenarioFieldConfigOutcome listScenarioFieldConfig(const Model::ListScenarioFieldConfigRequest &request)const;
|
||||
void listScenarioFieldConfigAsync(const Model::ListScenarioFieldConfigRequest& request, const ListScenarioFieldConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListScenarioFieldConfigOutcomeCallable listScenarioFieldConfigCallable(const Model::ListScenarioFieldConfigRequest& request) const;
|
||||
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||
UpdateProjectSprintOutcome updateProjectSprint(const Model::UpdateProjectSprintRequest &request)const;
|
||||
void updateProjectSprintAsync(const Model::UpdateProjectSprintRequest& request, const UpdateProjectSprintAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectSprintOutcomeCallable updateProjectSprintCallable(const Model::UpdateProjectSprintRequest& request) const;
|
||||
UpdateProjectTaskOutcome updateProjectTask(const Model::UpdateProjectTaskRequest &request)const;
|
||||
void updateProjectTaskAsync(const Model::UpdateProjectTaskRequest& request, const UpdateProjectTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectTaskOutcomeCallable updateProjectTaskCallable(const Model::UpdateProjectTaskRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNEXPORT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_TEAMBITION_ALIYUN_LIBRARY)
|
||||
# define ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_TEAMBITION_ALIYUNEXPORT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT AddProjectMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddProjectMembersRequest();
|
||||
~AddProjectMembersRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT AddProjectMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddProjectMembersResult();
|
||||
explicit AddProjectMembersResult(const std::string &payload);
|
||||
~AddProjectMembersResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_ADDPROJECTMEMBERSRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICROREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICROREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ApplySmallMicroRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ApplySmallMicroRequest();
|
||||
~ApplySmallMicroRequest();
|
||||
|
||||
std::string getApplicantEmail()const;
|
||||
void setApplicantEmail(const std::string& applicantEmail);
|
||||
std::string getDevelopScale()const;
|
||||
void setDevelopScale(const std::string& developScale);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
std::string getApplicantPosition()const;
|
||||
void setApplicantPosition(const std::string& applicantPosition);
|
||||
std::string getDevelopLanguage()const;
|
||||
void setDevelopLanguage(const std::string& developLanguage);
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getApplicantTel()const;
|
||||
void setApplicantTel(const std::string& applicantTel);
|
||||
std::string getSolution()const;
|
||||
void setSolution(const std::string& solution);
|
||||
std::string getForHelp()const;
|
||||
void setForHelp(const std::string& forHelp);
|
||||
std::string getApplicantName()const;
|
||||
void setApplicantName(const std::string& applicantName);
|
||||
std::string getBusinessModel()const;
|
||||
void setBusinessModel(const std::string& businessModel);
|
||||
|
||||
private:
|
||||
std::string applicantEmail_;
|
||||
std::string developScale_;
|
||||
std::string type_;
|
||||
std::string orgId_;
|
||||
std::string applicantPosition_;
|
||||
std::string developLanguage_;
|
||||
std::string orgName_;
|
||||
std::string applicantTel_;
|
||||
std::string solution_;
|
||||
std::string forHelp_;
|
||||
std::string applicantName_;
|
||||
std::string businessModel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICROREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICRORESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICRORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ApplySmallMicroResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ApplySmallMicroResult();
|
||||
explicit ApplySmallMicroResult(const std::string &payload);
|
||||
~ApplySmallMicroResult();
|
||||
bool getMessage()const;
|
||||
bool getRaw()const;
|
||||
int getCode()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool message_;
|
||||
bool raw_;
|
||||
int code_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_APPLYSMALLMICRORESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT BactchInsertMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BactchInsertMembersRequest();
|
||||
~BactchInsertMembersRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT BactchInsertMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BactchInsertMembersResult();
|
||||
explicit BactchInsertMembersResult(const std::string &payload);
|
||||
~BactchInsertMembersResult();
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_BACTCHINSERTMEMBERSRESULT_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_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CheckAliyunUserExistsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckAliyunUserExistsRequest();
|
||||
~CheckAliyunUserExistsRequest();
|
||||
|
||||
std::string getUserPk()const;
|
||||
void setUserPk(const std::string& userPk);
|
||||
|
||||
private:
|
||||
std::string userPk_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CheckAliyunUserExistsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckAliyunUserExistsResult();
|
||||
explicit CheckAliyunUserExistsResult(const std::string &payload);
|
||||
~CheckAliyunUserExistsResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CHECKALIYUNUSEREXISTSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateDevopsOrgRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDevopsOrgRequest();
|
||||
~CreateDevopsOrgRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateDevopsOrgResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDevopsOrgResult();
|
||||
explicit CreateDevopsOrgResult(const std::string &payload);
|
||||
~CreateDevopsOrgResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEDEVOPSORGRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectRequest();
|
||||
~CreateProjectRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateProjectResult();
|
||||
explicit CreateProjectResult(const std::string &payload);
|
||||
~CreateProjectResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectSprintRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectSprintRequest();
|
||||
~CreateProjectSprintRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectSprintResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct PlanToDo
|
||||
{
|
||||
int tasks;
|
||||
int workTimes;
|
||||
int storyPoints;
|
||||
};
|
||||
std::string status;
|
||||
bool isDeleted;
|
||||
std::string description;
|
||||
std::string accomplished;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string projectId;
|
||||
std::string created;
|
||||
std::string name;
|
||||
std::string startDate;
|
||||
std::string executor;
|
||||
PlanToDo planToDo;
|
||||
std::string id;
|
||||
std::string dueDate;
|
||||
};
|
||||
|
||||
|
||||
CreateProjectSprintResult();
|
||||
explicit CreateProjectSprintResult(const std::string &payload);
|
||||
~CreateProjectSprintResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTSPRINTRESULT_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectTaskRequest();
|
||||
~CreateProjectTaskRequest();
|
||||
|
||||
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 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 getTasFlowStatusId()const;
|
||||
void setTasFlowStatusId(const std::string& tasFlowStatusId);
|
||||
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 startDate_;
|
||||
int priority_;
|
||||
std::string parentTaskId_;
|
||||
std::string orgId_;
|
||||
std::string content_;
|
||||
std::string sprintId_;
|
||||
std::string dueDate_;
|
||||
std::string tasFlowStatusId_;
|
||||
std::string scenarioFieldConfigId_;
|
||||
std::string projectId_;
|
||||
std::string taskListId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKREQUEST_H_
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT CreateProjectTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
int rating;
|
||||
std::string sprintId;
|
||||
std::string organizationId;
|
||||
std::string tasklistId;
|
||||
std::string source;
|
||||
std::string created;
|
||||
std::string startDate;
|
||||
std::string executorId;
|
||||
std::string taskType;
|
||||
std::string ancestorIds;
|
||||
std::string visible;
|
||||
std::string dueDate;
|
||||
int uniqueId;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
int priority;
|
||||
std::string projectId;
|
||||
std::string taskflowstatusId;
|
||||
bool isDone;
|
||||
std::string storyPoint;
|
||||
int pos;
|
||||
std::string content;
|
||||
std::string note;
|
||||
std::string id;
|
||||
std::string scenarioFieldConfigId;
|
||||
};
|
||||
|
||||
|
||||
CreateProjectTaskResult();
|
||||
explicit CreateProjectTaskResult(const std::string &payload);
|
||||
~CreateProjectTaskResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_CREATEPROJECTTASKRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteMembersForOrgRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMembersForOrgRequest();
|
||||
~DeleteMembersForOrgRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteMembersForOrgResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMembersForOrgResult();
|
||||
explicit DeleteMembersForOrgResult(const std::string &payload);
|
||||
~DeleteMembersForOrgResult();
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEMEMBERSFORORGRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectMembersRequest();
|
||||
~DeleteProjectMembersRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectMembersResult();
|
||||
explicit DeleteProjectMembersResult(const std::string &payload);
|
||||
~DeleteProjectMembersResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTMEMBERSRESULT_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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectRequest();
|
||||
~DeleteProjectRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectResult();
|
||||
explicit DeleteProjectResult(const std::string &payload);
|
||||
~DeleteProjectResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTRESULT_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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectSprintRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectSprintRequest();
|
||||
~DeleteProjectSprintRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectSprintResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectSprintResult();
|
||||
explicit DeleteProjectSprintResult(const std::string &payload);
|
||||
~DeleteProjectSprintResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTSPRINTRESULT_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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectTaskRequest();
|
||||
~DeleteProjectTaskRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT DeleteProjectTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectTaskResult();
|
||||
explicit DeleteProjectTaskResult(const std::string &payload);
|
||||
~DeleteProjectTaskResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_DELETEPROJECTTASKRESULT_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_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetOrganizationMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetOrganizationMembersRequest();
|
||||
~GetOrganizationMembersRequest();
|
||||
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetOrganizationMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Member
|
||||
{
|
||||
int role;
|
||||
std::string memberId;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::string phone;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetOrganizationMembersResult();
|
||||
explicit GetOrganizationMembersResult(const std::string &payload);
|
||||
~GetOrganizationMembersResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<Member> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<Member> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETORGANIZATIONMEMBERSRESULT_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_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectInfoRequest();
|
||||
~GetProjectInfoRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFOREQUEST_H_
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFORESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
std::string sortMethod;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string sourceId;
|
||||
std::string sourceType;
|
||||
int nextTaskUniqueId;
|
||||
std::string organizationId;
|
||||
std::string rootCollectionId;
|
||||
std::string created;
|
||||
std::string name;
|
||||
std::string startDate;
|
||||
std::string defaultCollectionId;
|
||||
std::string normalType;
|
||||
std::string defaultRoleId;
|
||||
std::string modifierId;
|
||||
bool isTemplate;
|
||||
bool isDeleted;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string py;
|
||||
std::string endDate;
|
||||
bool isSuspended;
|
||||
std::string logo;
|
||||
bool isArchived;
|
||||
std::string uniqueIdPrefix;
|
||||
std::string pinyin;
|
||||
std::string customfields;
|
||||
std::string visibility;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
GetProjectInfoResult();
|
||||
explicit GetProjectInfoResult(const std::string &payload);
|
||||
~GetProjectInfoResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTINFORESULT_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_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectMembersRequest();
|
||||
~GetProjectMembersRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Member
|
||||
{
|
||||
int role;
|
||||
std::string memberId;
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::string phone;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetProjectMembersResult();
|
||||
explicit GetProjectMembersResult(const std::string &payload);
|
||||
~GetProjectMembersResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<Member> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<Member> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTMEMBERSRESULT_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_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectSprintInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectSprintInfoRequest();
|
||||
~GetProjectSprintInfoRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFOREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFORESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectSprintInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct PlanToDo
|
||||
{
|
||||
int tasks;
|
||||
int workTimes;
|
||||
int storyPoints;
|
||||
};
|
||||
std::string startDate;
|
||||
std::string status;
|
||||
bool isDeleted;
|
||||
std::string accomplished;
|
||||
PlanToDo planToDo;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string projectId;
|
||||
std::string id;
|
||||
std::string dueDate;
|
||||
std::string created;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetProjectSprintInfoResult();
|
||||
explicit GetProjectSprintInfoResult(const std::string &payload);
|
||||
~GetProjectSprintInfoResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTSPRINTINFORESULT_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_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectTaskInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectTaskInfoRequest();
|
||||
~GetProjectTaskInfoRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFOREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFORESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetProjectTaskInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
bool isDeleted;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string priority;
|
||||
std::vector<std::string> involveMembers;
|
||||
std::string projectId;
|
||||
std::string taskflowstatusId;
|
||||
bool isDone;
|
||||
std::string sprintId;
|
||||
std::string storyPoint;
|
||||
std::string organizationId;
|
||||
std::string tasklistId;
|
||||
std::string created;
|
||||
std::string startDate;
|
||||
std::string executorId;
|
||||
bool isTopInProject;
|
||||
std::string content;
|
||||
std::string taskType;
|
||||
std::string note;
|
||||
std::string visible;
|
||||
std::string id;
|
||||
std::string dueDate;
|
||||
};
|
||||
|
||||
|
||||
GetProjectTaskInfoResult();
|
||||
explicit GetProjectTaskInfoResult(const std::string &payload);
|
||||
~GetProjectTaskInfoResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETPROJECTTASKINFORESULT_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_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetUserByUidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserByUidRequest();
|
||||
~GetUserByUidRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT GetUserByUidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
std::string aliyunPk;
|
||||
std::string phone;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetUserByUidResult();
|
||||
explicit GetUserByUidResult(const std::string &payload);
|
||||
~GetUserByUidResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_GETUSERBYUIDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT InsertDevopsMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
InsertDevopsMemberRequest();
|
||||
~InsertDevopsMemberRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT InsertDevopsMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
InsertDevopsMemberResult();
|
||||
explicit InsertDevopsMemberResult(const std::string &payload);
|
||||
~InsertDevopsMemberResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_INSERTDEVOPSMEMBERRESULT_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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectSprintsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectSprintsRequest();
|
||||
~ListProjectSprintsRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectSprintsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Sprint
|
||||
{
|
||||
struct PlanToDo
|
||||
{
|
||||
int tasks;
|
||||
int workTimes;
|
||||
int storyPoints;
|
||||
};
|
||||
std::string startDate;
|
||||
std::string status;
|
||||
bool isDeleted;
|
||||
std::string accomplished;
|
||||
PlanToDo planToDo;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string projectId;
|
||||
std::string id;
|
||||
std::string dueDate;
|
||||
std::string created;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListProjectSprintsResult();
|
||||
explicit ListProjectSprintsResult(const std::string &payload);
|
||||
~ListProjectSprintsResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<Sprint> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<Sprint> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTSPRINTSRESULT_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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTaskFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectTaskFlowRequest();
|
||||
~ListProjectTaskFlowRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTaskFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Taskflow
|
||||
{
|
||||
std::string type;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
ListProjectTaskFlowResult();
|
||||
explicit ListProjectTaskFlowResult(const std::string &payload);
|
||||
~ListProjectTaskFlowResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<Taskflow> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<Taskflow> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWRESULT_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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTaskFlowStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectTaskFlowStatusRequest();
|
||||
~ListProjectTaskFlowStatusRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTaskFlowStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TaskflowStatus
|
||||
{
|
||||
bool isDeleted;
|
||||
std::string rejectStatusIds;
|
||||
std::string taskflowId;
|
||||
std::string updated;
|
||||
int pos;
|
||||
std::string creatorId;
|
||||
std::string kind;
|
||||
std::string id;
|
||||
std::string created;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListProjectTaskFlowStatusResult();
|
||||
explicit ListProjectTaskFlowStatusResult(const std::string &payload);
|
||||
~ListProjectTaskFlowStatusResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<TaskflowStatus> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<TaskflowStatus> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKFLOWSTATUSRESULT_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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectTasksRequest();
|
||||
~ListProjectTasksRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListProjectTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Task
|
||||
{
|
||||
std::string taskgroupId;
|
||||
std::string updated;
|
||||
std::string creatorId;
|
||||
std::string projectId;
|
||||
std::string id;
|
||||
std::string tasklistId;
|
||||
std::string modifierId;
|
||||
std::string name;
|
||||
std::string created;
|
||||
};
|
||||
|
||||
|
||||
ListProjectTasksResult();
|
||||
explicit ListProjectTasksResult(const std::string &payload);
|
||||
~ListProjectTasksResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<Task> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<Task> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTPROJECTTASKSRESULT_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_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListScenarioFieldConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListScenarioFieldConfigRequest();
|
||||
~ListScenarioFieldConfigRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT ListScenarioFieldConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ScenarioFieldConfig
|
||||
{
|
||||
std::string type;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
ListScenarioFieldConfigResult();
|
||||
explicit ListScenarioFieldConfigResult(const std::string &payload);
|
||||
~ListScenarioFieldConfigResult();
|
||||
std::string getErrorMsg()const;
|
||||
std::vector<ScenarioFieldConfig> getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
std::vector<ScenarioFieldConfig> object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_LISTSCENARIOFIELDCONFIGRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateProjectRequest();
|
||||
~UpdateProjectRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateProjectResult();
|
||||
explicit UpdateProjectResult(const std::string &payload);
|
||||
~UpdateProjectResult();
|
||||
std::string getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string object_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectSprintRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateProjectSprintRequest();
|
||||
~UpdateProjectSprintRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectSprintResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateProjectSprintResult();
|
||||
explicit UpdateProjectSprintResult(const std::string &payload);
|
||||
~UpdateProjectSprintResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTSPRINTRESULT_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateProjectTaskRequest();
|
||||
~UpdateProjectTaskRequest();
|
||||
|
||||
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_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/teambition-aliyun/Teambition_aliyunExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Teambition_aliyun
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_TEAMBITION_ALIYUN_EXPORT UpdateProjectTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateProjectTaskResult();
|
||||
explicit UpdateProjectTaskResult(const std::string &payload);
|
||||
~UpdateProjectTaskResult();
|
||||
std::string getErrorMsg()const;
|
||||
bool getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
bool object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_TEAMBITION_ALIYUN_MODEL_UPDATEPROJECTTASKRESULT_H_
|
||||
1061
teambition-aliyun/src/Teambition-aliyunClient.cc
Normal file
1061
teambition-aliyun/src/Teambition-aliyunClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
62
teambition-aliyun/src/model/AddProjectMembersRequest.cc
Normal file
62
teambition-aliyun/src/model/AddProjectMembersRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/AddProjectMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::AddProjectMembersRequest;
|
||||
|
||||
AddProjectMembersRequest::AddProjectMembersRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "AddProjectMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddProjectMembersRequest::~AddProjectMembersRequest()
|
||||
{}
|
||||
|
||||
std::string AddProjectMembersRequest::getMembers()const
|
||||
{
|
||||
return members_;
|
||||
}
|
||||
|
||||
void AddProjectMembersRequest::setMembers(const std::string& members)
|
||||
{
|
||||
members_ = members;
|
||||
setBodyParameter("Members", members);
|
||||
}
|
||||
|
||||
std::string AddProjectMembersRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void AddProjectMembersRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string AddProjectMembersRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void AddProjectMembersRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/AddProjectMembersResult.cc
Normal file
72
teambition-aliyun/src/model/AddProjectMembersResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/AddProjectMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
AddProjectMembersResult::AddProjectMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddProjectMembersResult::AddProjectMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddProjectMembersResult::~AddProjectMembersResult()
|
||||
{}
|
||||
|
||||
void AddProjectMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string AddProjectMembersResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
bool AddProjectMembersResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string AddProjectMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool AddProjectMembersResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
161
teambition-aliyun/src/model/ApplySmallMicroRequest.cc
Normal file
161
teambition-aliyun/src/model/ApplySmallMicroRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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 <alibabacloud/teambition-aliyun/model/ApplySmallMicroRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::ApplySmallMicroRequest;
|
||||
|
||||
ApplySmallMicroRequest::ApplySmallMicroRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "ApplySmallMicro")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ApplySmallMicroRequest::~ApplySmallMicroRequest()
|
||||
{}
|
||||
|
||||
std::string ApplySmallMicroRequest::getApplicantEmail()const
|
||||
{
|
||||
return applicantEmail_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setApplicantEmail(const std::string& applicantEmail)
|
||||
{
|
||||
applicantEmail_ = applicantEmail;
|
||||
setBodyParameter("ApplicantEmail", applicantEmail);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getDevelopScale()const
|
||||
{
|
||||
return developScale_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setDevelopScale(const std::string& developScale)
|
||||
{
|
||||
developScale_ = developScale;
|
||||
setParameter("DevelopScale", developScale);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setBodyParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getApplicantPosition()const
|
||||
{
|
||||
return applicantPosition_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setApplicantPosition(const std::string& applicantPosition)
|
||||
{
|
||||
applicantPosition_ = applicantPosition;
|
||||
setBodyParameter("ApplicantPosition", applicantPosition);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getDevelopLanguage()const
|
||||
{
|
||||
return developLanguage_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setDevelopLanguage(const std::string& developLanguage)
|
||||
{
|
||||
developLanguage_ = developLanguage;
|
||||
setBodyParameter("DevelopLanguage", developLanguage);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getApplicantTel()const
|
||||
{
|
||||
return applicantTel_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setApplicantTel(const std::string& applicantTel)
|
||||
{
|
||||
applicantTel_ = applicantTel;
|
||||
setBodyParameter("ApplicantTel", applicantTel);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getSolution()const
|
||||
{
|
||||
return solution_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setSolution(const std::string& solution)
|
||||
{
|
||||
solution_ = solution;
|
||||
setBodyParameter("Solution", solution);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getForHelp()const
|
||||
{
|
||||
return forHelp_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setForHelp(const std::string& forHelp)
|
||||
{
|
||||
forHelp_ = forHelp;
|
||||
setBodyParameter("ForHelp", forHelp);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getApplicantName()const
|
||||
{
|
||||
return applicantName_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setApplicantName(const std::string& applicantName)
|
||||
{
|
||||
applicantName_ = applicantName;
|
||||
setBodyParameter("ApplicantName", applicantName);
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroRequest::getBusinessModel()const
|
||||
{
|
||||
return businessModel_;
|
||||
}
|
||||
|
||||
void ApplySmallMicroRequest::setBusinessModel(const std::string& businessModel)
|
||||
{
|
||||
businessModel_ = businessModel;
|
||||
setBodyParameter("BusinessModel", businessModel);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/ApplySmallMicroResult.cc
Normal file
72
teambition-aliyun/src/model/ApplySmallMicroResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/ApplySmallMicroResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
ApplySmallMicroResult::ApplySmallMicroResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ApplySmallMicroResult::ApplySmallMicroResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ApplySmallMicroResult::~ApplySmallMicroResult()
|
||||
{}
|
||||
|
||||
void ApplySmallMicroResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["code"].isNull())
|
||||
code_ = std::stoi(value["code"].asString());
|
||||
if(!value["result"].isNull())
|
||||
result_ = value["result"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString() == "true";
|
||||
if(!value["raw"].isNull())
|
||||
raw_ = value["raw"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool ApplySmallMicroResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool ApplySmallMicroResult::getRaw()const
|
||||
{
|
||||
return raw_;
|
||||
}
|
||||
|
||||
int ApplySmallMicroResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string ApplySmallMicroResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
62
teambition-aliyun/src/model/BactchInsertMembersRequest.cc
Normal file
62
teambition-aliyun/src/model/BactchInsertMembersRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/BactchInsertMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::BactchInsertMembersRequest;
|
||||
|
||||
BactchInsertMembersRequest::BactchInsertMembersRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "BactchInsertMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BactchInsertMembersRequest::~BactchInsertMembersRequest()
|
||||
{}
|
||||
|
||||
std::string BactchInsertMembersRequest::getMembers()const
|
||||
{
|
||||
return members_;
|
||||
}
|
||||
|
||||
void BactchInsertMembersRequest::setMembers(const std::string& members)
|
||||
{
|
||||
members_ = members;
|
||||
setBodyParameter("Members", members);
|
||||
}
|
||||
|
||||
std::string BactchInsertMembersRequest::getRealPk()const
|
||||
{
|
||||
return realPk_;
|
||||
}
|
||||
|
||||
void BactchInsertMembersRequest::setRealPk(const std::string& realPk)
|
||||
{
|
||||
realPk_ = realPk;
|
||||
setBodyParameter("RealPk", realPk);
|
||||
}
|
||||
|
||||
std::string BactchInsertMembersRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void BactchInsertMembersRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/BactchInsertMembersResult.cc
Normal file
72
teambition-aliyun/src/model/BactchInsertMembersResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/BactchInsertMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
BactchInsertMembersResult::BactchInsertMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BactchInsertMembersResult::BactchInsertMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BactchInsertMembersResult::~BactchInsertMembersResult()
|
||||
{}
|
||||
|
||||
void BactchInsertMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool BactchInsertMembersResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string BactchInsertMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string BactchInsertMembersResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool BactchInsertMembersResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
teambition-aliyun/src/model/CheckAliyunUserExistsRequest.cc
Normal file
40
teambition-aliyun/src/model/CheckAliyunUserExistsRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CheckAliyunUserExistsRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::CheckAliyunUserExistsRequest;
|
||||
|
||||
CheckAliyunUserExistsRequest::CheckAliyunUserExistsRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "CheckAliyunUserExists")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckAliyunUserExistsRequest::~CheckAliyunUserExistsRequest()
|
||||
{}
|
||||
|
||||
std::string CheckAliyunUserExistsRequest::getUserPk()const
|
||||
{
|
||||
return userPk_;
|
||||
}
|
||||
|
||||
void CheckAliyunUserExistsRequest::setUserPk(const std::string& userPk)
|
||||
{
|
||||
userPk_ = userPk;
|
||||
setBodyParameter("UserPk", userPk);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/CheckAliyunUserExistsResult.cc
Normal file
72
teambition-aliyun/src/model/CheckAliyunUserExistsResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CheckAliyunUserExistsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
CheckAliyunUserExistsResult::CheckAliyunUserExistsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckAliyunUserExistsResult::CheckAliyunUserExistsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckAliyunUserExistsResult::~CheckAliyunUserExistsResult()
|
||||
{}
|
||||
|
||||
void CheckAliyunUserExistsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string CheckAliyunUserExistsResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
bool CheckAliyunUserExistsResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string CheckAliyunUserExistsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CheckAliyunUserExistsResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
73
teambition-aliyun/src/model/CreateDevopsOrgRequest.cc
Normal file
73
teambition-aliyun/src/model/CreateDevopsOrgRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateDevopsOrgRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::CreateDevopsOrgRequest;
|
||||
|
||||
CreateDevopsOrgRequest::CreateDevopsOrgRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "CreateDevopsOrg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDevopsOrgRequest::~CreateDevopsOrgRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDevopsOrgRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void CreateDevopsOrgRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
std::string CreateDevopsOrgRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
void CreateDevopsOrgRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setBodyParameter("Source", source);
|
||||
}
|
||||
|
||||
std::string CreateDevopsOrgRequest::getRealPk()const
|
||||
{
|
||||
return realPk_;
|
||||
}
|
||||
|
||||
void CreateDevopsOrgRequest::setRealPk(const std::string& realPk)
|
||||
{
|
||||
realPk_ = realPk;
|
||||
setBodyParameter("RealPk", realPk);
|
||||
}
|
||||
|
||||
int CreateDevopsOrgRequest::getDesiredMemberCount()const
|
||||
{
|
||||
return desiredMemberCount_;
|
||||
}
|
||||
|
||||
void CreateDevopsOrgRequest::setDesiredMemberCount(int desiredMemberCount)
|
||||
{
|
||||
desiredMemberCount_ = desiredMemberCount;
|
||||
setBodyParameter("DesiredMemberCount", std::to_string(desiredMemberCount));
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/CreateDevopsOrgResult.cc
Normal file
72
teambition-aliyun/src/model/CreateDevopsOrgResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateDevopsOrgResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
CreateDevopsOrgResult::CreateDevopsOrgResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDevopsOrgResult::CreateDevopsOrgResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDevopsOrgResult::~CreateDevopsOrgResult()
|
||||
{}
|
||||
|
||||
void CreateDevopsOrgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDevopsOrgResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string CreateDevopsOrgResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateDevopsOrgResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateDevopsOrgResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
teambition-aliyun/src/model/CreateProjectRequest.cc
Normal file
62
teambition-aliyun/src/model/CreateProjectRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::CreateProjectRequest;
|
||||
|
||||
CreateProjectRequest::CreateProjectRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "CreateProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProjectRequest::~CreateProjectRequest()
|
||||
{}
|
||||
|
||||
std::string CreateProjectRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setBodyParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/CreateProjectResult.cc
Normal file
72
teambition-aliyun/src/model/CreateProjectResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
CreateProjectResult::CreateProjectResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectResult::CreateProjectResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectResult::~CreateProjectResult()
|
||||
{}
|
||||
|
||||
void CreateProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateProjectResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string CreateProjectResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateProjectResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateProjectResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
106
teambition-aliyun/src/model/CreateProjectSprintRequest.cc
Normal file
106
teambition-aliyun/src/model/CreateProjectSprintRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectSprintRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::CreateProjectSprintRequest;
|
||||
|
||||
CreateProjectSprintRequest::CreateProjectSprintRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "CreateProjectSprint")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProjectSprintRequest::~CreateProjectSprintRequest()
|
||||
{}
|
||||
|
||||
std::string CreateProjectSprintRequest::getExecutorId()const
|
||||
{
|
||||
return executorId_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setExecutorId(const std::string& executorId)
|
||||
{
|
||||
executorId_ = executorId;
|
||||
setBodyParameter("ExecutorId", executorId);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setBodyParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setBodyParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getDueDate()const
|
||||
{
|
||||
return dueDate_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setDueDate(const std::string& dueDate)
|
||||
{
|
||||
dueDate_ = dueDate;
|
||||
setBodyParameter("DueDate", dueDate);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateProjectSprintRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
104
teambition-aliyun/src/model/CreateProjectSprintResult.cc
Normal file
104
teambition-aliyun/src/model/CreateProjectSprintResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectSprintResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
CreateProjectSprintResult::CreateProjectSprintResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectSprintResult::CreateProjectSprintResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectSprintResult::~CreateProjectSprintResult()
|
||||
{}
|
||||
|
||||
void CreateProjectSprintResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["Created"].isNull())
|
||||
object_.created = objectNode["Created"].asString();
|
||||
if(!objectNode["DueDate"].isNull())
|
||||
object_.dueDate = objectNode["DueDate"].asString();
|
||||
if(!objectNode["Description"].isNull())
|
||||
object_.description = objectNode["Description"].asString();
|
||||
if(!objectNode["Accomplished"].isNull())
|
||||
object_.accomplished = objectNode["Accomplished"].asString();
|
||||
if(!objectNode["IsDeleted"].isNull())
|
||||
object_.isDeleted = objectNode["IsDeleted"].asString() == "true";
|
||||
if(!objectNode["Executor"].isNull())
|
||||
object_.executor = objectNode["Executor"].asString();
|
||||
if(!objectNode["Name"].isNull())
|
||||
object_.name = objectNode["Name"].asString();
|
||||
if(!objectNode["CreatorId"].isNull())
|
||||
object_.creatorId = objectNode["CreatorId"].asString();
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["Updated"].isNull())
|
||||
object_.updated = objectNode["Updated"].asString();
|
||||
if(!objectNode["StartDate"].isNull())
|
||||
object_.startDate = objectNode["StartDate"].asString();
|
||||
if(!objectNode["Status"].isNull())
|
||||
object_.status = objectNode["Status"].asString();
|
||||
if(!objectNode["ProjectId"].isNull())
|
||||
object_.projectId = objectNode["ProjectId"].asString();
|
||||
auto planToDoNode = objectNode["PlanToDo"];
|
||||
if(!planToDoNode["StoryPoints"].isNull())
|
||||
object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString());
|
||||
if(!planToDoNode["WorkTimes"].isNull())
|
||||
object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString());
|
||||
if(!planToDoNode["Tasks"].isNull())
|
||||
object_.planToDo.tasks = std::stoi(planToDoNode["Tasks"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
CreateProjectSprintResult::Object CreateProjectSprintResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string CreateProjectSprintResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateProjectSprintResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
183
teambition-aliyun/src/model/CreateProjectTaskRequest.cc
Normal file
183
teambition-aliyun/src/model/CreateProjectTaskRequest.cc
Normal file
@@ -0,0 +1,183 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::CreateProjectTaskRequest;
|
||||
|
||||
CreateProjectTaskRequest::CreateProjectTaskRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "CreateProjectTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProjectTaskRequest::~CreateProjectTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateProjectTaskRequest::getNote()const
|
||||
{
|
||||
return note_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setBodyParameter("Note", note);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getVisible()const
|
||||
{
|
||||
return visible_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setVisible(const std::string& visible)
|
||||
{
|
||||
visible_ = visible;
|
||||
setBodyParameter("Visible", visible);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getExecutorId()const
|
||||
{
|
||||
return executorId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setExecutorId(const std::string& executorId)
|
||||
{
|
||||
executorId_ = executorId;
|
||||
setBodyParameter("ExecutorId", executorId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setBodyParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
int CreateProjectTaskRequest::getPriority()const
|
||||
{
|
||||
return priority_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setPriority(int priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setBodyParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getParentTaskId()const
|
||||
{
|
||||
return parentTaskId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setParentTaskId(const std::string& parentTaskId)
|
||||
{
|
||||
parentTaskId_ = parentTaskId;
|
||||
setBodyParameter("ParentTaskId", parentTaskId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setBodyParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getSprintId()const
|
||||
{
|
||||
return sprintId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setSprintId(const std::string& sprintId)
|
||||
{
|
||||
sprintId_ = sprintId;
|
||||
setBodyParameter("SprintId", sprintId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getDueDate()const
|
||||
{
|
||||
return dueDate_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setDueDate(const std::string& dueDate)
|
||||
{
|
||||
dueDate_ = dueDate;
|
||||
setBodyParameter("DueDate", dueDate);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getTasFlowStatusId()const
|
||||
{
|
||||
return tasFlowStatusId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setTasFlowStatusId(const std::string& tasFlowStatusId)
|
||||
{
|
||||
tasFlowStatusId_ = tasFlowStatusId;
|
||||
setBodyParameter("TasFlowStatusId", tasFlowStatusId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getScenarioFieldConfigId()const
|
||||
{
|
||||
return scenarioFieldConfigId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setScenarioFieldConfigId(const std::string& scenarioFieldConfigId)
|
||||
{
|
||||
scenarioFieldConfigId_ = scenarioFieldConfigId;
|
||||
setBodyParameter("ScenarioFieldConfigId", scenarioFieldConfigId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskRequest::getTaskListId()const
|
||||
{
|
||||
return taskListId_;
|
||||
}
|
||||
|
||||
void CreateProjectTaskRequest::setTaskListId(const std::string& taskListId)
|
||||
{
|
||||
taskListId_ = taskListId;
|
||||
setBodyParameter("TaskListId", taskListId);
|
||||
}
|
||||
|
||||
121
teambition-aliyun/src/model/CreateProjectTaskResult.cc
Normal file
121
teambition-aliyun/src/model/CreateProjectTaskResult.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/CreateProjectTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
CreateProjectTaskResult::CreateProjectTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectTaskResult::CreateProjectTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectTaskResult::~CreateProjectTaskResult()
|
||||
{}
|
||||
|
||||
void CreateProjectTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["Note"].isNull())
|
||||
object_.note = objectNode["Note"].asString();
|
||||
if(!objectNode["TasklistId"].isNull())
|
||||
object_.tasklistId = objectNode["TasklistId"].asString();
|
||||
if(!objectNode["DueDate"].isNull())
|
||||
object_.dueDate = objectNode["DueDate"].asString();
|
||||
if(!objectNode["Rating"].isNull())
|
||||
object_.rating = std::stoi(objectNode["Rating"].asString());
|
||||
if(!objectNode["Source"].isNull())
|
||||
object_.source = objectNode["Source"].asString();
|
||||
if(!objectNode["Content"].isNull())
|
||||
object_.content = objectNode["Content"].asString();
|
||||
if(!objectNode["TaskflowstatusId"].isNull())
|
||||
object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString();
|
||||
if(!objectNode["TaskType"].isNull())
|
||||
object_.taskType = objectNode["TaskType"].asString();
|
||||
if(!objectNode["ScenarioFieldConfigId"].isNull())
|
||||
object_.scenarioFieldConfigId = objectNode["ScenarioFieldConfigId"].asString();
|
||||
if(!objectNode["Pos"].isNull())
|
||||
object_.pos = std::stoi(objectNode["Pos"].asString());
|
||||
if(!objectNode["AncestorIds"].isNull())
|
||||
object_.ancestorIds = objectNode["AncestorIds"].asString();
|
||||
if(!objectNode["CreatorId"].isNull())
|
||||
object_.creatorId = objectNode["CreatorId"].asString();
|
||||
if(!objectNode["Visible"].isNull())
|
||||
object_.visible = objectNode["Visible"].asString();
|
||||
if(!objectNode["ExecutorId"].isNull())
|
||||
object_.executorId = objectNode["ExecutorId"].asString();
|
||||
if(!objectNode["StoryPoint"].isNull())
|
||||
object_.storyPoint = objectNode["StoryPoint"].asString();
|
||||
if(!objectNode["Created"].isNull())
|
||||
object_.created = objectNode["Created"].asString();
|
||||
if(!objectNode["OrganizationId"].isNull())
|
||||
object_.organizationId = objectNode["OrganizationId"].asString();
|
||||
if(!objectNode["Priority"].isNull())
|
||||
object_.priority = std::stoi(objectNode["Priority"].asString());
|
||||
if(!objectNode["IsDone"].isNull())
|
||||
object_.isDone = objectNode["IsDone"].asString() == "true";
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["Updated"].isNull())
|
||||
object_.updated = objectNode["Updated"].asString();
|
||||
if(!objectNode["UniqueId"].isNull())
|
||||
object_.uniqueId = std::stoi(objectNode["UniqueId"].asString());
|
||||
if(!objectNode["StartDate"].isNull())
|
||||
object_.startDate = objectNode["StartDate"].asString();
|
||||
if(!objectNode["SprintId"].isNull())
|
||||
object_.sprintId = objectNode["SprintId"].asString();
|
||||
if(!objectNode["ProjectId"].isNull())
|
||||
object_.projectId = objectNode["ProjectId"].asString();
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
CreateProjectTaskResult::Object CreateProjectTaskResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string CreateProjectTaskResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateProjectTaskResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
62
teambition-aliyun/src/model/DeleteMembersForOrgRequest.cc
Normal file
62
teambition-aliyun/src/model/DeleteMembersForOrgRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteMembersForOrgRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::DeleteMembersForOrgRequest;
|
||||
|
||||
DeleteMembersForOrgRequest::DeleteMembersForOrgRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "DeleteMembersForOrg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMembersForOrgRequest::~DeleteMembersForOrgRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMembersForOrgRequest::getRealPk()const
|
||||
{
|
||||
return realPk_;
|
||||
}
|
||||
|
||||
void DeleteMembersForOrgRequest::setRealPk(const std::string& realPk)
|
||||
{
|
||||
realPk_ = realPk;
|
||||
setBodyParameter("RealPk", realPk);
|
||||
}
|
||||
|
||||
std::string DeleteMembersForOrgRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void DeleteMembersForOrgRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string DeleteMembersForOrgRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DeleteMembersForOrgRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/DeleteMembersForOrgResult.cc
Normal file
72
teambition-aliyun/src/model/DeleteMembersForOrgResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteMembersForOrgResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
DeleteMembersForOrgResult::DeleteMembersForOrgResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMembersForOrgResult::DeleteMembersForOrgResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMembersForOrgResult::~DeleteMembersForOrgResult()
|
||||
{}
|
||||
|
||||
void DeleteMembersForOrgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DeleteMembersForOrgResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string DeleteMembersForOrgResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMembersForOrgResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteMembersForOrgResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
teambition-aliyun/src/model/DeleteProjectMembersRequest.cc
Normal file
62
teambition-aliyun/src/model/DeleteProjectMembersRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::DeleteProjectMembersRequest;
|
||||
|
||||
DeleteProjectMembersRequest::DeleteProjectMembersRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "DeleteProjectMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectMembersRequest::~DeleteProjectMembersRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteProjectMembersRequest::getUserIds()const
|
||||
{
|
||||
return userIds_;
|
||||
}
|
||||
|
||||
void DeleteProjectMembersRequest::setUserIds(const std::string& userIds)
|
||||
{
|
||||
userIds_ = userIds;
|
||||
setBodyParameter("UserIds", userIds);
|
||||
}
|
||||
|
||||
std::string DeleteProjectMembersRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteProjectMembersRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectMembersRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DeleteProjectMembersRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/DeleteProjectMembersResult.cc
Normal file
72
teambition-aliyun/src/model/DeleteProjectMembersResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
DeleteProjectMembersResult::DeleteProjectMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectMembersResult::DeleteProjectMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectMembersResult::~DeleteProjectMembersResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteProjectMembersResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
bool DeleteProjectMembersResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string DeleteProjectMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool DeleteProjectMembersResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/DeleteProjectRequest.cc
Normal file
51
teambition-aliyun/src/model/DeleteProjectRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::DeleteProjectRequest;
|
||||
|
||||
DeleteProjectRequest::DeleteProjectRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "DeleteProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectRequest::~DeleteProjectRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteProjectRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/DeleteProjectResult.cc
Normal file
72
teambition-aliyun/src/model/DeleteProjectResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
DeleteProjectResult::DeleteProjectResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectResult::DeleteProjectResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectResult::~DeleteProjectResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteProjectResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string DeleteProjectResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteProjectResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteProjectResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/DeleteProjectSprintRequest.cc
Normal file
51
teambition-aliyun/src/model/DeleteProjectSprintRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectSprintRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::DeleteProjectSprintRequest;
|
||||
|
||||
DeleteProjectSprintRequest::DeleteProjectSprintRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "DeleteProjectSprint")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectSprintRequest::~DeleteProjectSprintRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteProjectSprintRequest::getSprintId()const
|
||||
{
|
||||
return sprintId_;
|
||||
}
|
||||
|
||||
void DeleteProjectSprintRequest::setSprintId(const std::string& sprintId)
|
||||
{
|
||||
sprintId_ = sprintId;
|
||||
setBodyParameter("SprintId", sprintId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectSprintRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DeleteProjectSprintRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/DeleteProjectSprintResult.cc
Normal file
72
teambition-aliyun/src/model/DeleteProjectSprintResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectSprintResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
DeleteProjectSprintResult::DeleteProjectSprintResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectSprintResult::DeleteProjectSprintResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectSprintResult::~DeleteProjectSprintResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectSprintResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteProjectSprintResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
bool DeleteProjectSprintResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string DeleteProjectSprintResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool DeleteProjectSprintResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/DeleteProjectTaskRequest.cc
Normal file
51
teambition-aliyun/src/model/DeleteProjectTaskRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::DeleteProjectTaskRequest;
|
||||
|
||||
DeleteProjectTaskRequest::DeleteProjectTaskRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "DeleteProjectTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectTaskRequest::~DeleteProjectTaskRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteProjectTaskRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DeleteProjectTaskRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DeleteProjectTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setBodyParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
72
teambition-aliyun/src/model/DeleteProjectTaskResult.cc
Normal file
72
teambition-aliyun/src/model/DeleteProjectTaskResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/DeleteProjectTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
DeleteProjectTaskResult::DeleteProjectTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectTaskResult::DeleteProjectTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectTaskResult::~DeleteProjectTaskResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
if(!value["Object"].isNull())
|
||||
object_ = value["Object"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteProjectTaskResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
bool DeleteProjectTaskResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string DeleteProjectTaskResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool DeleteProjectTaskResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
40
teambition-aliyun/src/model/GetOrganizationMembersRequest.cc
Normal file
40
teambition-aliyun/src/model/GetOrganizationMembersRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetOrganizationMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetOrganizationMembersRequest;
|
||||
|
||||
GetOrganizationMembersRequest::GetOrganizationMembersRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetOrganizationMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetOrganizationMembersRequest::~GetOrganizationMembersRequest()
|
||||
{}
|
||||
|
||||
std::string GetOrganizationMembersRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetOrganizationMembersRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
90
teambition-aliyun/src/model/GetOrganizationMembersResult.cc
Normal file
90
teambition-aliyun/src/model/GetOrganizationMembersResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetOrganizationMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetOrganizationMembersResult::GetOrganizationMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetOrganizationMembersResult::GetOrganizationMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetOrganizationMembersResult::~GetOrganizationMembersResult()
|
||||
{}
|
||||
|
||||
void GetOrganizationMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allObjectNode = value["Object"]["member"];
|
||||
for (auto valueObjectmember : allObjectNode)
|
||||
{
|
||||
Member objectObject;
|
||||
if(!valueObjectmember["MemberId"].isNull())
|
||||
objectObject.memberId = valueObjectmember["MemberId"].asString();
|
||||
if(!valueObjectmember["UserId"].isNull())
|
||||
objectObject.userId = valueObjectmember["UserId"].asString();
|
||||
if(!valueObjectmember["Role"].isNull())
|
||||
objectObject.role = std::stoi(valueObjectmember["Role"].asString());
|
||||
if(!valueObjectmember["Name"].isNull())
|
||||
objectObject.name = valueObjectmember["Name"].asString();
|
||||
if(!valueObjectmember["AvatarUrl"].isNull())
|
||||
objectObject.avatarUrl = valueObjectmember["AvatarUrl"].asString();
|
||||
if(!valueObjectmember["Email"].isNull())
|
||||
objectObject.email = valueObjectmember["Email"].asString();
|
||||
if(!valueObjectmember["Phone"].isNull())
|
||||
objectObject.phone = valueObjectmember["Phone"].asString();
|
||||
object_.push_back(objectObject);
|
||||
}
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetOrganizationMembersResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
std::vector<GetOrganizationMembersResult::Member> GetOrganizationMembersResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetOrganizationMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetOrganizationMembersResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/GetProjectInfoRequest.cc
Normal file
51
teambition-aliyun/src/model/GetProjectInfoRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetProjectInfoRequest;
|
||||
|
||||
GetProjectInfoRequest::GetProjectInfoRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetProjectInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetProjectInfoRequest::~GetProjectInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetProjectInfoRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectInfoRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string GetProjectInfoRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetProjectInfoRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
129
teambition-aliyun/src/model/GetProjectInfoResult.cc
Normal file
129
teambition-aliyun/src/model/GetProjectInfoResult.cc
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetProjectInfoResult::GetProjectInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectInfoResult::GetProjectInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectInfoResult::~GetProjectInfoResult()
|
||||
{}
|
||||
|
||||
void GetProjectInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["RootCollectionId"].isNull())
|
||||
object_.rootCollectionId = objectNode["RootCollectionId"].asString();
|
||||
if(!objectNode["EndDate"].isNull())
|
||||
object_.endDate = objectNode["EndDate"].asString();
|
||||
if(!objectNode["IsArchived"].isNull())
|
||||
object_.isArchived = objectNode["IsArchived"].asString() == "true";
|
||||
if(!objectNode["ModifierId"].isNull())
|
||||
object_.modifierId = objectNode["ModifierId"].asString();
|
||||
if(!objectNode["SourceId"].isNull())
|
||||
object_.sourceId = objectNode["SourceId"].asString();
|
||||
if(!objectNode["Description"].isNull())
|
||||
object_.description = objectNode["Description"].asString();
|
||||
if(!objectNode["Py"].isNull())
|
||||
object_.py = objectNode["Py"].asString();
|
||||
if(!objectNode["DefaultRoleId"].isNull())
|
||||
object_.defaultRoleId = objectNode["DefaultRoleId"].asString();
|
||||
if(!objectNode["Customfields"].isNull())
|
||||
object_.customfields = objectNode["Customfields"].asString();
|
||||
if(!objectNode["IsDeleted"].isNull())
|
||||
object_.isDeleted = objectNode["IsDeleted"].asString() == "true";
|
||||
if(!objectNode["UniqueIdPrefix"].isNull())
|
||||
object_.uniqueIdPrefix = objectNode["UniqueIdPrefix"].asString();
|
||||
if(!objectNode["NextTaskUniqueId"].isNull())
|
||||
object_.nextTaskUniqueId = std::stoi(objectNode["NextTaskUniqueId"].asString());
|
||||
if(!objectNode["CreatorId"].isNull())
|
||||
object_.creatorId = objectNode["CreatorId"].asString();
|
||||
if(!objectNode["Logo"].isNull())
|
||||
object_.logo = objectNode["Logo"].asString();
|
||||
if(!objectNode["DefaultCollectionId"].isNull())
|
||||
object_.defaultCollectionId = objectNode["DefaultCollectionId"].asString();
|
||||
if(!objectNode["IsSuspended"].isNull())
|
||||
object_.isSuspended = objectNode["IsSuspended"].asString() == "true";
|
||||
if(!objectNode["Visibility"].isNull())
|
||||
object_.visibility = objectNode["Visibility"].asString();
|
||||
if(!objectNode["NormalType"].isNull())
|
||||
object_.normalType = objectNode["NormalType"].asString();
|
||||
if(!objectNode["Created"].isNull())
|
||||
object_.created = objectNode["Created"].asString();
|
||||
if(!objectNode["OrganizationId"].isNull())
|
||||
object_.organizationId = objectNode["OrganizationId"].asString();
|
||||
if(!objectNode["SortMethod"].isNull())
|
||||
object_.sortMethod = objectNode["SortMethod"].asString();
|
||||
if(!objectNode["Pinyin"].isNull())
|
||||
object_.pinyin = objectNode["Pinyin"].asString();
|
||||
if(!objectNode["SourceType"].isNull())
|
||||
object_.sourceType = objectNode["SourceType"].asString();
|
||||
if(!objectNode["IsTemplate"].isNull())
|
||||
object_.isTemplate = objectNode["IsTemplate"].asString() == "true";
|
||||
if(!objectNode["Name"].isNull())
|
||||
object_.name = objectNode["Name"].asString();
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["Category"].isNull())
|
||||
object_.category = objectNode["Category"].asString();
|
||||
if(!objectNode["Updated"].isNull())
|
||||
object_.updated = objectNode["Updated"].asString();
|
||||
if(!objectNode["StartDate"].isNull())
|
||||
object_.startDate = objectNode["StartDate"].asString();
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectInfoResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
GetProjectInfoResult::Object GetProjectInfoResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetProjectInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetProjectInfoResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/GetProjectMembersRequest.cc
Normal file
51
teambition-aliyun/src/model/GetProjectMembersRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetProjectMembersRequest;
|
||||
|
||||
GetProjectMembersRequest::GetProjectMembersRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetProjectMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetProjectMembersRequest::~GetProjectMembersRequest()
|
||||
{}
|
||||
|
||||
std::string GetProjectMembersRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectMembersRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string GetProjectMembersRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetProjectMembersRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
90
teambition-aliyun/src/model/GetProjectMembersResult.cc
Normal file
90
teambition-aliyun/src/model/GetProjectMembersResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetProjectMembersResult::GetProjectMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectMembersResult::GetProjectMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectMembersResult::~GetProjectMembersResult()
|
||||
{}
|
||||
|
||||
void GetProjectMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allObjectNode = value["Object"]["Member"];
|
||||
for (auto valueObjectMember : allObjectNode)
|
||||
{
|
||||
Member objectObject;
|
||||
if(!valueObjectMember["MemberId"].isNull())
|
||||
objectObject.memberId = valueObjectMember["MemberId"].asString();
|
||||
if(!valueObjectMember["UserId"].isNull())
|
||||
objectObject.userId = valueObjectMember["UserId"].asString();
|
||||
if(!valueObjectMember["Role"].isNull())
|
||||
objectObject.role = std::stoi(valueObjectMember["Role"].asString());
|
||||
if(!valueObjectMember["Name"].isNull())
|
||||
objectObject.name = valueObjectMember["Name"].asString();
|
||||
if(!valueObjectMember["AvatarUrl"].isNull())
|
||||
objectObject.avatarUrl = valueObjectMember["AvatarUrl"].asString();
|
||||
if(!valueObjectMember["Email"].isNull())
|
||||
objectObject.email = valueObjectMember["Email"].asString();
|
||||
if(!valueObjectMember["Phone"].isNull())
|
||||
objectObject.phone = valueObjectMember["Phone"].asString();
|
||||
object_.push_back(objectObject);
|
||||
}
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectMembersResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
std::vector<GetProjectMembersResult::Member> GetProjectMembersResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetProjectMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetProjectMembersResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/GetProjectSprintInfoRequest.cc
Normal file
51
teambition-aliyun/src/model/GetProjectSprintInfoRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectSprintInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetProjectSprintInfoRequest;
|
||||
|
||||
GetProjectSprintInfoRequest::GetProjectSprintInfoRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetProjectSprintInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetProjectSprintInfoRequest::~GetProjectSprintInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetProjectSprintInfoRequest::getSprintId()const
|
||||
{
|
||||
return sprintId_;
|
||||
}
|
||||
|
||||
void GetProjectSprintInfoRequest::setSprintId(const std::string& sprintId)
|
||||
{
|
||||
sprintId_ = sprintId;
|
||||
setBodyParameter("SprintId", sprintId);
|
||||
}
|
||||
|
||||
std::string GetProjectSprintInfoRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetProjectSprintInfoRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
100
teambition-aliyun/src/model/GetProjectSprintInfoResult.cc
Normal file
100
teambition-aliyun/src/model/GetProjectSprintInfoResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectSprintInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetProjectSprintInfoResult::GetProjectSprintInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectSprintInfoResult::GetProjectSprintInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectSprintInfoResult::~GetProjectSprintInfoResult()
|
||||
{}
|
||||
|
||||
void GetProjectSprintInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["Accomplished"].isNull())
|
||||
object_.accomplished = objectNode["Accomplished"].asString();
|
||||
if(!objectNode["IsDeleted"].isNull())
|
||||
object_.isDeleted = objectNode["IsDeleted"].asString() == "true";
|
||||
if(!objectNode["Created"].isNull())
|
||||
object_.created = objectNode["Created"].asString();
|
||||
if(!objectNode["DueDate"].isNull())
|
||||
object_.dueDate = objectNode["DueDate"].asString();
|
||||
if(!objectNode["Name"].isNull())
|
||||
object_.name = objectNode["Name"].asString();
|
||||
if(!objectNode["CreatorId"].isNull())
|
||||
object_.creatorId = objectNode["CreatorId"].asString();
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["Updated"].isNull())
|
||||
object_.updated = objectNode["Updated"].asString();
|
||||
if(!objectNode["StartDate"].isNull())
|
||||
object_.startDate = objectNode["StartDate"].asString();
|
||||
if(!objectNode["Status"].isNull())
|
||||
object_.status = objectNode["Status"].asString();
|
||||
if(!objectNode["ProjectId"].isNull())
|
||||
object_.projectId = objectNode["ProjectId"].asString();
|
||||
auto planToDoNode = objectNode["PlanToDo"];
|
||||
if(!planToDoNode["StoryPoints"].isNull())
|
||||
object_.planToDo.storyPoints = std::stoi(planToDoNode["StoryPoints"].asString());
|
||||
if(!planToDoNode["WorkTimes"].isNull())
|
||||
object_.planToDo.workTimes = std::stoi(planToDoNode["WorkTimes"].asString());
|
||||
if(!planToDoNode["Tasks"].isNull())
|
||||
object_.planToDo.tasks = std::stoi(planToDoNode["Tasks"].asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectSprintInfoResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
GetProjectSprintInfoResult::Object GetProjectSprintInfoResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetProjectSprintInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetProjectSprintInfoResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/GetProjectTaskInfoRequest.cc
Normal file
51
teambition-aliyun/src/model/GetProjectTaskInfoRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectTaskInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetProjectTaskInfoRequest;
|
||||
|
||||
GetProjectTaskInfoRequest::GetProjectTaskInfoRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetProjectTaskInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetProjectTaskInfoRequest::~GetProjectTaskInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetProjectTaskInfoRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetProjectTaskInfoRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
std::string GetProjectTaskInfoRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void GetProjectTaskInfoRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setBodyParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
116
teambition-aliyun/src/model/GetProjectTaskInfoResult.cc
Normal file
116
teambition-aliyun/src/model/GetProjectTaskInfoResult.cc
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetProjectTaskInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetProjectTaskInfoResult::GetProjectTaskInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectTaskInfoResult::GetProjectTaskInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectTaskInfoResult::~GetProjectTaskInfoResult()
|
||||
{}
|
||||
|
||||
void GetProjectTaskInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["TasklistId"].isNull())
|
||||
object_.tasklistId = objectNode["TasklistId"].asString();
|
||||
if(!objectNode["TaskflowstatusId"].isNull())
|
||||
object_.taskflowstatusId = objectNode["TaskflowstatusId"].asString();
|
||||
if(!objectNode["TaskType"].isNull())
|
||||
object_.taskType = objectNode["TaskType"].asString();
|
||||
if(!objectNode["IsDeleted"].isNull())
|
||||
object_.isDeleted = objectNode["IsDeleted"].asString() == "true";
|
||||
if(!objectNode["CreatorId"].isNull())
|
||||
object_.creatorId = objectNode["CreatorId"].asString();
|
||||
if(!objectNode["IsTopInProject"].isNull())
|
||||
object_.isTopInProject = objectNode["IsTopInProject"].asString() == "true";
|
||||
if(!objectNode["ExecutorId"].isNull())
|
||||
object_.executorId = objectNode["ExecutorId"].asString();
|
||||
if(!objectNode["StoryPoint"].isNull())
|
||||
object_.storyPoint = objectNode["StoryPoint"].asString();
|
||||
if(!objectNode["Created"].isNull())
|
||||
object_.created = objectNode["Created"].asString();
|
||||
if(!objectNode["OrganizationId"].isNull())
|
||||
object_.organizationId = objectNode["OrganizationId"].asString();
|
||||
if(!objectNode["IsDone"].isNull())
|
||||
object_.isDone = objectNode["IsDone"].asString() == "true";
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["Updated"].isNull())
|
||||
object_.updated = objectNode["Updated"].asString();
|
||||
if(!objectNode["SprintId"].isNull())
|
||||
object_.sprintId = objectNode["SprintId"].asString();
|
||||
if(!objectNode["ProjectId"].isNull())
|
||||
object_.projectId = objectNode["ProjectId"].asString();
|
||||
if(!objectNode["Content"].isNull())
|
||||
object_.content = objectNode["Content"].asString();
|
||||
if(!objectNode["Note"].isNull())
|
||||
object_.note = objectNode["Note"].asString();
|
||||
if(!objectNode["DueDate"].isNull())
|
||||
object_.dueDate = objectNode["DueDate"].asString();
|
||||
if(!objectNode["StartDate"].isNull())
|
||||
object_.startDate = objectNode["StartDate"].asString();
|
||||
if(!objectNode["Visible"].isNull())
|
||||
object_.visible = objectNode["Visible"].asString();
|
||||
if(!objectNode["Priority"].isNull())
|
||||
object_.priority = objectNode["Priority"].asString();
|
||||
auto allInvolveMembers = objectNode["InvolveMembers"]["InvolveMember"];
|
||||
for (auto value : allInvolveMembers)
|
||||
object_.involveMembers.push_back(value.asString());
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectTaskInfoResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
GetProjectTaskInfoResult::Object GetProjectTaskInfoResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetProjectTaskInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetProjectTaskInfoResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
51
teambition-aliyun/src/model/GetUserByUidRequest.cc
Normal file
51
teambition-aliyun/src/model/GetUserByUidRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetUserByUidRequest.h>
|
||||
|
||||
using AlibabaCloud::Teambition_aliyun::Model::GetUserByUidRequest;
|
||||
|
||||
GetUserByUidRequest::GetUserByUidRequest() :
|
||||
RpcServiceRequest("teambition-aliyun", "2020-02-26", "GetUserByUid")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetUserByUidRequest::~GetUserByUidRequest()
|
||||
{}
|
||||
|
||||
std::string GetUserByUidRequest::getUserPk()const
|
||||
{
|
||||
return userPk_;
|
||||
}
|
||||
|
||||
void GetUserByUidRequest::setUserPk(const std::string& userPk)
|
||||
{
|
||||
userPk_ = userPk;
|
||||
setBodyParameter("UserPk", userPk);
|
||||
}
|
||||
|
||||
std::string GetUserByUidRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void GetUserByUidRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
83
teambition-aliyun/src/model/GetUserByUidResult.cc
Normal file
83
teambition-aliyun/src/model/GetUserByUidResult.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/teambition-aliyun/model/GetUserByUidResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Teambition_aliyun;
|
||||
using namespace AlibabaCloud::Teambition_aliyun::Model;
|
||||
|
||||
GetUserByUidResult::GetUserByUidResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetUserByUidResult::GetUserByUidResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetUserByUidResult::~GetUserByUidResult()
|
||||
{}
|
||||
|
||||
void GetUserByUidResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
if(!objectNode["Name"].isNull())
|
||||
object_.name = objectNode["Name"].asString();
|
||||
if(!objectNode["Id"].isNull())
|
||||
object_.id = objectNode["Id"].asString();
|
||||
if(!objectNode["AliyunPk"].isNull())
|
||||
object_.aliyunPk = objectNode["AliyunPk"].asString();
|
||||
if(!objectNode["AvatarUrl"].isNull())
|
||||
object_.avatarUrl = objectNode["AvatarUrl"].asString();
|
||||
if(!objectNode["Email"].isNull())
|
||||
object_.email = objectNode["Email"].asString();
|
||||
if(!objectNode["Phone"].isNull())
|
||||
object_.phone = objectNode["Phone"].asString();
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetUserByUidResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
GetUserByUidResult::Object GetUserByUidResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string GetUserByUidResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetUserByUidResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user