Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed4870b066 | ||
|
|
5ce3266e7f | ||
|
|
d850c22c0f | ||
|
|
363f56d62b | ||
|
|
cd4b584e15 | ||
|
|
f9eb4e30b8 | ||
|
|
8a1b4cb025 | ||
|
|
8e714a46bd | ||
|
|
97286a49ca | ||
|
|
4053c3aebe | ||
|
|
5df89b5fa1 | ||
|
|
08b85b98e8 | ||
|
|
8712582b42 |
43
CHANGELOG
43
CHANGELOG
@@ -1,3 +1,46 @@
|
||||
2021-04-16 Version: 1.36.685
|
||||
- Support devops organization deletion.
|
||||
|
||||
2021-04-16 Version: 1.36.684
|
||||
- Add CheckProductOpen.
|
||||
- Add az routing policy.
|
||||
|
||||
2021-04-16 Version: 1.36.683
|
||||
- Generated 2020-10-29 for `reid_cloud`.
|
||||
|
||||
2021-04-16 Version: 1.36.682
|
||||
- Add API GetDomain.
|
||||
- Add API ListSystemAnalyzers.
|
||||
- Add parameter domain to API ListAppGroups, ModifyAppGroup, CreateAppGroup, DescribeAppGroup, DescribeApp.
|
||||
|
||||
2021-04-14 Version: 1.36.681
|
||||
- Support latest openAPIs.
|
||||
|
||||
2021-04-14 Version: 1.36.680
|
||||
- Delete MultiMedia Post Scan API.
|
||||
|
||||
2021-04-14 Version: 1.36.679
|
||||
- Download url add fixed domain.
|
||||
|
||||
2021-04-13 Version: 1.36.678
|
||||
- Supported ConfigureDtsJob SynchronizationDirection.
|
||||
- Fixed DescribePreCheckStatus JobProgress bootTime.
|
||||
|
||||
2021-04-13 Version: 1.36.677
|
||||
- Release AddFaceVideoTemplate DeleteFaceVideoTemplate QueryFaceVideoTemplate MergeVideoModelFace.
|
||||
|
||||
2021-04-12 Version: 1.36.676
|
||||
- Export config api.
|
||||
|
||||
2021-04-12 Version: 1.36.675
|
||||
- Support GetDBTopology API.
|
||||
|
||||
2021-04-09 Version: 1.36.674
|
||||
- Bank Card Ocr and Verify.
|
||||
|
||||
2021-04-09 Version: 1.36.673
|
||||
- Update API param.
|
||||
|
||||
2021-04-08 Version: 1.36.672
|
||||
- Supported ModifyDtsJob and DeleteDtsJob.
|
||||
|
||||
|
||||
@@ -21,6 +21,12 @@ set(ccc_public_header
|
||||
include/alibabacloud/ccc/CCCExport.h )
|
||||
|
||||
set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h
|
||||
include/alibabacloud/ccc/model/AddSkillGroupsToUserResult.h
|
||||
include/alibabacloud/ccc/model/AnswerCallRequest.h
|
||||
include/alibabacloud/ccc/model/AnswerCallResult.h
|
||||
include/alibabacloud/ccc/model/BargeInCallRequest.h
|
||||
@@ -33,6 +39,12 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ChangeWorkModeResult.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferResult.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/CreateUserRequest.h
|
||||
include/alibabacloud/ccc/model/CreateUserResult.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetLoginDetailsRequest.h
|
||||
include/alibabacloud/ccc/model/GetLoginDetailsResult.h
|
||||
include/alibabacloud/ccc/model/GetMonoRecordingRequest.h
|
||||
@@ -61,10 +73,14 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListConfigItemsRequest.h
|
||||
include/alibabacloud/ccc/model/ListConfigItemsResult.h
|
||||
include/alibabacloud/ccc/model/ListContactFlowsRequest.h
|
||||
include/alibabacloud/ccc/model/ListContactFlowsResult.h
|
||||
include/alibabacloud/ccc/model/ListDevicesRequest.h
|
||||
include/alibabacloud/ccc/model/ListDevicesResult.h
|
||||
include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h
|
||||
include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h
|
||||
include/alibabacloud/ccc/model/ListInstancesOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListInstancesOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListOutboundNumbersOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
|
||||
@@ -75,8 +91,18 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListRecentCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillLevelsOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/MakeCallRequest.h
|
||||
include/alibabacloud/ccc/model/MakeCallResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ModifyUserRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyUserResult.h
|
||||
include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/MonitorCallRequest.h
|
||||
include/alibabacloud/ccc/model/MonitorCallResult.h
|
||||
include/alibabacloud/ccc/model/MuteCallRequest.h
|
||||
@@ -91,6 +117,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/ccc/model/ReleaseCallRequest.h
|
||||
include/alibabacloud/ccc/model/ReleaseCallResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ResetAgentStateRequest.h
|
||||
include/alibabacloud/ccc/model/ResetAgentStateResult.h
|
||||
include/alibabacloud/ccc/model/RetrieveCallRequest.h
|
||||
@@ -101,6 +129,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/SignInGroupResult.h
|
||||
include/alibabacloud/ccc/model/SignOutGroupRequest.h
|
||||
include/alibabacloud/ccc/model/SignOutGroupResult.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallRequest.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
|
||||
include/alibabacloud/ccc/model/TakeBreakRequest.h
|
||||
include/alibabacloud/ccc/model/TakeBreakResult.h
|
||||
include/alibabacloud/ccc/model/UnmuteCallRequest.h
|
||||
@@ -108,6 +138,12 @@ set(ccc_public_header_model
|
||||
|
||||
set(ccc_src
|
||||
src/CCCClient.cc
|
||||
src/model/AddNumbersToSkillGroupRequest.cc
|
||||
src/model/AddNumbersToSkillGroupResult.cc
|
||||
src/model/AddPhoneNumberToSkillGroupsRequest.cc
|
||||
src/model/AddPhoneNumberToSkillGroupsResult.cc
|
||||
src/model/AddSkillGroupsToUserRequest.cc
|
||||
src/model/AddSkillGroupsToUserResult.cc
|
||||
src/model/AnswerCallRequest.cc
|
||||
src/model/AnswerCallResult.cc
|
||||
src/model/BargeInCallRequest.cc
|
||||
@@ -120,6 +156,12 @@ set(ccc_src
|
||||
src/model/ChangeWorkModeResult.cc
|
||||
src/model/CompleteAttendedTransferRequest.cc
|
||||
src/model/CompleteAttendedTransferResult.cc
|
||||
src/model/CreateSkillGroupRequest.cc
|
||||
src/model/CreateSkillGroupResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/DeleteSkillGroupRequest.cc
|
||||
src/model/DeleteSkillGroupResult.cc
|
||||
src/model/GetLoginDetailsRequest.cc
|
||||
src/model/GetLoginDetailsResult.cc
|
||||
src/model/GetMonoRecordingRequest.cc
|
||||
@@ -148,10 +190,14 @@ set(ccc_src
|
||||
src/model/ListCallDetailRecordsResult.cc
|
||||
src/model/ListConfigItemsRequest.cc
|
||||
src/model/ListConfigItemsResult.cc
|
||||
src/model/ListContactFlowsRequest.cc
|
||||
src/model/ListContactFlowsResult.cc
|
||||
src/model/ListDevicesRequest.cc
|
||||
src/model/ListDevicesResult.cc
|
||||
src/model/ListHistoricalAgentReportRequest.cc
|
||||
src/model/ListHistoricalAgentReportResult.cc
|
||||
src/model/ListInstancesOfUserRequest.cc
|
||||
src/model/ListInstancesOfUserResult.cc
|
||||
src/model/ListOutboundNumbersOfUserRequest.cc
|
||||
src/model/ListOutboundNumbersOfUserResult.cc
|
||||
src/model/ListPrivilegesOfUserRequest.cc
|
||||
@@ -162,8 +208,18 @@ set(ccc_src
|
||||
src/model/ListRecentCallDetailRecordsResult.cc
|
||||
src/model/ListSkillLevelsOfUserRequest.cc
|
||||
src/model/ListSkillLevelsOfUserResult.cc
|
||||
src/model/ListUserLevelsOfSkillGroupRequest.cc
|
||||
src/model/ListUserLevelsOfSkillGroupResult.cc
|
||||
src/model/MakeCallRequest.cc
|
||||
src/model/MakeCallResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/ModifySkillGroupRequest.cc
|
||||
src/model/ModifySkillGroupResult.cc
|
||||
src/model/ModifyUserRequest.cc
|
||||
src/model/ModifyUserResult.cc
|
||||
src/model/ModifyUserLevelsOfSkillGroupRequest.cc
|
||||
src/model/ModifyUserLevelsOfSkillGroupResult.cc
|
||||
src/model/MonitorCallRequest.cc
|
||||
src/model/MonitorCallResult.cc
|
||||
src/model/MuteCallRequest.cc
|
||||
@@ -178,6 +234,8 @@ set(ccc_src
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/ReleaseCallRequest.cc
|
||||
src/model/ReleaseCallResult.cc
|
||||
src/model/RemovePhoneNumbersFromSkillGroupRequest.cc
|
||||
src/model/RemovePhoneNumbersFromSkillGroupResult.cc
|
||||
src/model/ResetAgentStateRequest.cc
|
||||
src/model/ResetAgentStateResult.cc
|
||||
src/model/RetrieveCallRequest.cc
|
||||
@@ -188,6 +246,8 @@ set(ccc_src
|
||||
src/model/SignInGroupResult.cc
|
||||
src/model/SignOutGroupRequest.cc
|
||||
src/model/SignOutGroupResult.cc
|
||||
src/model/StartBack2BackCallRequest.cc
|
||||
src/model/StartBack2BackCallResult.cc
|
||||
src/model/TakeBreakRequest.cc
|
||||
src/model/TakeBreakResult.cc
|
||||
src/model/UnmuteCallRequest.cc
|
||||
|
||||
@@ -22,6 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CCCExport.h"
|
||||
#include "model/AddNumbersToSkillGroupRequest.h"
|
||||
#include "model/AddNumbersToSkillGroupResult.h"
|
||||
#include "model/AddPhoneNumberToSkillGroupsRequest.h"
|
||||
#include "model/AddPhoneNumberToSkillGroupsResult.h"
|
||||
#include "model/AddSkillGroupsToUserRequest.h"
|
||||
#include "model/AddSkillGroupsToUserResult.h"
|
||||
#include "model/AnswerCallRequest.h"
|
||||
#include "model/AnswerCallResult.h"
|
||||
#include "model/BargeInCallRequest.h"
|
||||
@@ -34,6 +40,12 @@
|
||||
#include "model/ChangeWorkModeResult.h"
|
||||
#include "model/CompleteAttendedTransferRequest.h"
|
||||
#include "model/CompleteAttendedTransferResult.h"
|
||||
#include "model/CreateSkillGroupRequest.h"
|
||||
#include "model/CreateSkillGroupResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/DeleteSkillGroupRequest.h"
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/GetLoginDetailsRequest.h"
|
||||
#include "model/GetLoginDetailsResult.h"
|
||||
#include "model/GetMonoRecordingRequest.h"
|
||||
@@ -62,10 +74,14 @@
|
||||
#include "model/ListCallDetailRecordsResult.h"
|
||||
#include "model/ListConfigItemsRequest.h"
|
||||
#include "model/ListConfigItemsResult.h"
|
||||
#include "model/ListContactFlowsRequest.h"
|
||||
#include "model/ListContactFlowsResult.h"
|
||||
#include "model/ListDevicesRequest.h"
|
||||
#include "model/ListDevicesResult.h"
|
||||
#include "model/ListHistoricalAgentReportRequest.h"
|
||||
#include "model/ListHistoricalAgentReportResult.h"
|
||||
#include "model/ListInstancesOfUserRequest.h"
|
||||
#include "model/ListInstancesOfUserResult.h"
|
||||
#include "model/ListOutboundNumbersOfUserRequest.h"
|
||||
#include "model/ListOutboundNumbersOfUserResult.h"
|
||||
#include "model/ListPrivilegesOfUserRequest.h"
|
||||
@@ -76,8 +92,18 @@
|
||||
#include "model/ListRecentCallDetailRecordsResult.h"
|
||||
#include "model/ListSkillLevelsOfUserRequest.h"
|
||||
#include "model/ListSkillLevelsOfUserResult.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupRequest.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupResult.h"
|
||||
#include "model/MakeCallRequest.h"
|
||||
#include "model/MakeCallResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ModifySkillGroupRequest.h"
|
||||
#include "model/ModifySkillGroupResult.h"
|
||||
#include "model/ModifyUserRequest.h"
|
||||
#include "model/ModifyUserResult.h"
|
||||
#include "model/ModifyUserLevelsOfSkillGroupRequest.h"
|
||||
#include "model/ModifyUserLevelsOfSkillGroupResult.h"
|
||||
#include "model/MonitorCallRequest.h"
|
||||
#include "model/MonitorCallResult.h"
|
||||
#include "model/MuteCallRequest.h"
|
||||
@@ -92,6 +118,8 @@
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/ReleaseCallRequest.h"
|
||||
#include "model/ReleaseCallResult.h"
|
||||
#include "model/RemovePhoneNumbersFromSkillGroupRequest.h"
|
||||
#include "model/RemovePhoneNumbersFromSkillGroupResult.h"
|
||||
#include "model/ResetAgentStateRequest.h"
|
||||
#include "model/ResetAgentStateResult.h"
|
||||
#include "model/RetrieveCallRequest.h"
|
||||
@@ -102,6 +130,8 @@
|
||||
#include "model/SignInGroupResult.h"
|
||||
#include "model/SignOutGroupRequest.h"
|
||||
#include "model/SignOutGroupResult.h"
|
||||
#include "model/StartBack2BackCallRequest.h"
|
||||
#include "model/StartBack2BackCallResult.h"
|
||||
#include "model/TakeBreakRequest.h"
|
||||
#include "model/TakeBreakResult.h"
|
||||
#include "model/UnmuteCallRequest.h"
|
||||
@@ -115,6 +145,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT CCCClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddNumbersToSkillGroupResult> AddNumbersToSkillGroupOutcome;
|
||||
typedef std::future<AddNumbersToSkillGroupOutcome> AddNumbersToSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddNumbersToSkillGroupRequest&, const AddNumbersToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumbersToSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumberToSkillGroupsResult> AddPhoneNumberToSkillGroupsOutcome;
|
||||
typedef std::future<AddPhoneNumberToSkillGroupsOutcome> AddPhoneNumberToSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberToSkillGroupsRequest&, const AddPhoneNumberToSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberToSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddSkillGroupsToUserResult> AddSkillGroupsToUserOutcome;
|
||||
typedef std::future<AddSkillGroupsToUserOutcome> AddSkillGroupsToUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddSkillGroupsToUserRequest&, const AddSkillGroupsToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSkillGroupsToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AnswerCallResult> AnswerCallOutcome;
|
||||
typedef std::future<AnswerCallOutcome> AnswerCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AnswerCallRequest&, const AnswerCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AnswerCallAsyncHandler;
|
||||
@@ -133,6 +172,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CompleteAttendedTransferResult> CompleteAttendedTransferOutcome;
|
||||
typedef std::future<CompleteAttendedTransferOutcome> CompleteAttendedTransferOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CompleteAttendedTransferRequest&, const CompleteAttendedTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAttendedTransferAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSkillGroupResult> CreateSkillGroupOutcome;
|
||||
typedef std::future<CreateSkillGroupOutcome> CreateSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateSkillGroupRequest&, const CreateSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
|
||||
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSkillGroupResult> DeleteSkillGroupOutcome;
|
||||
typedef std::future<DeleteSkillGroupOutcome> DeleteSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSkillGroupRequest&, const DeleteSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLoginDetailsResult> GetLoginDetailsOutcome;
|
||||
typedef std::future<GetLoginDetailsOutcome> GetLoginDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetLoginDetailsRequest&, const GetLoginDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoginDetailsAsyncHandler;
|
||||
@@ -175,12 +223,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConfigItemsResult> ListConfigItemsOutcome;
|
||||
typedef std::future<ListConfigItemsOutcome> ListConfigItemsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListConfigItemsRequest&, const ListConfigItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConfigItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListContactFlowsResult> ListContactFlowsOutcome;
|
||||
typedef std::future<ListContactFlowsOutcome> ListContactFlowsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListContactFlowsRequest&, const ListContactFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContactFlowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
|
||||
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListHistoricalAgentReportResult> ListHistoricalAgentReportOutcome;
|
||||
typedef std::future<ListHistoricalAgentReportOutcome> ListHistoricalAgentReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListHistoricalAgentReportRequest&, const ListHistoricalAgentReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListHistoricalAgentReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListInstancesOfUserResult> ListInstancesOfUserOutcome;
|
||||
typedef std::future<ListInstancesOfUserOutcome> ListInstancesOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListInstancesOfUserRequest&, const ListInstancesOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstancesOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOutboundNumbersOfUserResult> ListOutboundNumbersOfUserOutcome;
|
||||
typedef std::future<ListOutboundNumbersOfUserOutcome> ListOutboundNumbersOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListOutboundNumbersOfUserRequest&, const ListOutboundNumbersOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundNumbersOfUserAsyncHandler;
|
||||
@@ -196,9 +250,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListSkillLevelsOfUserResult> ListSkillLevelsOfUserOutcome;
|
||||
typedef std::future<ListSkillLevelsOfUserOutcome> ListSkillLevelsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillLevelsOfUserRequest&, const ListSkillLevelsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillLevelsOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserLevelsOfSkillGroupResult> ListUserLevelsOfSkillGroupOutcome;
|
||||
typedef std::future<ListUserLevelsOfSkillGroupOutcome> ListUserLevelsOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUserLevelsOfSkillGroupRequest&, const ListUserLevelsOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserLevelsOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::MakeCallResult> MakeCallOutcome;
|
||||
typedef std::future<MakeCallOutcome> MakeCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::MakeCallRequest&, const MakeCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MakeCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
|
||||
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySkillGroupResult> ModifySkillGroupOutcome;
|
||||
typedef std::future<ModifySkillGroupOutcome> ModifySkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifySkillGroupRequest&, const ModifySkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUserResult> ModifyUserOutcome;
|
||||
typedef std::future<ModifyUserOutcome> ModifyUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyUserRequest&, const ModifyUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUserLevelsOfSkillGroupResult> ModifyUserLevelsOfSkillGroupOutcome;
|
||||
typedef std::future<ModifyUserLevelsOfSkillGroupOutcome> ModifyUserLevelsOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyUserLevelsOfSkillGroupRequest&, const ModifyUserLevelsOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserLevelsOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::MonitorCallResult> MonitorCallOutcome;
|
||||
typedef std::future<MonitorCallOutcome> MonitorCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::MonitorCallRequest&, const MonitorCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MonitorCallAsyncHandler;
|
||||
@@ -220,6 +289,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ReleaseCallResult> ReleaseCallOutcome;
|
||||
typedef std::future<ReleaseCallOutcome> ReleaseCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ReleaseCallRequest&, const ReleaseCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumbersFromSkillGroupResult> RemovePhoneNumbersFromSkillGroupOutcome;
|
||||
typedef std::future<RemovePhoneNumbersFromSkillGroupOutcome> RemovePhoneNumbersFromSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumbersFromSkillGroupRequest&, const RemovePhoneNumbersFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumbersFromSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetAgentStateResult> ResetAgentStateOutcome;
|
||||
typedef std::future<ResetAgentStateOutcome> ResetAgentStateOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ResetAgentStateRequest&, const ResetAgentStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAgentStateAsyncHandler;
|
||||
@@ -235,6 +307,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SignOutGroupResult> SignOutGroupOutcome;
|
||||
typedef std::future<SignOutGroupOutcome> SignOutGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SignOutGroupRequest&, const SignOutGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignOutGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
|
||||
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::TakeBreakResult> TakeBreakOutcome;
|
||||
typedef std::future<TakeBreakOutcome> TakeBreakOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TakeBreakRequest&, const TakeBreakOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TakeBreakAsyncHandler;
|
||||
@@ -246,6 +321,15 @@ namespace AlibabaCloud
|
||||
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CCCClient();
|
||||
AddNumbersToSkillGroupOutcome addNumbersToSkillGroup(const Model::AddNumbersToSkillGroupRequest &request)const;
|
||||
void addNumbersToSkillGroupAsync(const Model::AddNumbersToSkillGroupRequest& request, const AddNumbersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddNumbersToSkillGroupOutcomeCallable addNumbersToSkillGroupCallable(const Model::AddNumbersToSkillGroupRequest& request) const;
|
||||
AddPhoneNumberToSkillGroupsOutcome addPhoneNumberToSkillGroups(const Model::AddPhoneNumberToSkillGroupsRequest &request)const;
|
||||
void addPhoneNumberToSkillGroupsAsync(const Model::AddPhoneNumberToSkillGroupsRequest& request, const AddPhoneNumberToSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumberToSkillGroupsOutcomeCallable addPhoneNumberToSkillGroupsCallable(const Model::AddPhoneNumberToSkillGroupsRequest& request) const;
|
||||
AddSkillGroupsToUserOutcome addSkillGroupsToUser(const Model::AddSkillGroupsToUserRequest &request)const;
|
||||
void addSkillGroupsToUserAsync(const Model::AddSkillGroupsToUserRequest& request, const AddSkillGroupsToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSkillGroupsToUserOutcomeCallable addSkillGroupsToUserCallable(const Model::AddSkillGroupsToUserRequest& request) const;
|
||||
AnswerCallOutcome answerCall(const Model::AnswerCallRequest &request)const;
|
||||
void answerCallAsync(const Model::AnswerCallRequest& request, const AnswerCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AnswerCallOutcomeCallable answerCallCallable(const Model::AnswerCallRequest& request) const;
|
||||
@@ -264,6 +348,15 @@ namespace AlibabaCloud
|
||||
CompleteAttendedTransferOutcome completeAttendedTransfer(const Model::CompleteAttendedTransferRequest &request)const;
|
||||
void completeAttendedTransferAsync(const Model::CompleteAttendedTransferRequest& request, const CompleteAttendedTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CompleteAttendedTransferOutcomeCallable completeAttendedTransferCallable(const Model::CompleteAttendedTransferRequest& request) const;
|
||||
CreateSkillGroupOutcome createSkillGroup(const Model::CreateSkillGroupRequest &request)const;
|
||||
void createSkillGroupAsync(const Model::CreateSkillGroupRequest& request, const CreateSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSkillGroupOutcomeCallable createSkillGroupCallable(const Model::CreateSkillGroupRequest& request) const;
|
||||
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
|
||||
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
|
||||
DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const;
|
||||
void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& request) const;
|
||||
GetLoginDetailsOutcome getLoginDetails(const Model::GetLoginDetailsRequest &request)const;
|
||||
void getLoginDetailsAsync(const Model::GetLoginDetailsRequest& request, const GetLoginDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLoginDetailsOutcomeCallable getLoginDetailsCallable(const Model::GetLoginDetailsRequest& request) const;
|
||||
@@ -306,12 +399,18 @@ namespace AlibabaCloud
|
||||
ListConfigItemsOutcome listConfigItems(const Model::ListConfigItemsRequest &request)const;
|
||||
void listConfigItemsAsync(const Model::ListConfigItemsRequest& request, const ListConfigItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConfigItemsOutcomeCallable listConfigItemsCallable(const Model::ListConfigItemsRequest& request) const;
|
||||
ListContactFlowsOutcome listContactFlows(const Model::ListContactFlowsRequest &request)const;
|
||||
void listContactFlowsAsync(const Model::ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContactFlowsOutcomeCallable listContactFlowsCallable(const Model::ListContactFlowsRequest& request) const;
|
||||
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
|
||||
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
|
||||
ListHistoricalAgentReportOutcome listHistoricalAgentReport(const Model::ListHistoricalAgentReportRequest &request)const;
|
||||
void listHistoricalAgentReportAsync(const Model::ListHistoricalAgentReportRequest& request, const ListHistoricalAgentReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListHistoricalAgentReportOutcomeCallable listHistoricalAgentReportCallable(const Model::ListHistoricalAgentReportRequest& request) const;
|
||||
ListInstancesOfUserOutcome listInstancesOfUser(const Model::ListInstancesOfUserRequest &request)const;
|
||||
void listInstancesOfUserAsync(const Model::ListInstancesOfUserRequest& request, const ListInstancesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListInstancesOfUserOutcomeCallable listInstancesOfUserCallable(const Model::ListInstancesOfUserRequest& request) const;
|
||||
ListOutboundNumbersOfUserOutcome listOutboundNumbersOfUser(const Model::ListOutboundNumbersOfUserRequest &request)const;
|
||||
void listOutboundNumbersOfUserAsync(const Model::ListOutboundNumbersOfUserRequest& request, const ListOutboundNumbersOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOutboundNumbersOfUserOutcomeCallable listOutboundNumbersOfUserCallable(const Model::ListOutboundNumbersOfUserRequest& request) const;
|
||||
@@ -327,9 +426,24 @@ namespace AlibabaCloud
|
||||
ListSkillLevelsOfUserOutcome listSkillLevelsOfUser(const Model::ListSkillLevelsOfUserRequest &request)const;
|
||||
void listSkillLevelsOfUserAsync(const Model::ListSkillLevelsOfUserRequest& request, const ListSkillLevelsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillLevelsOfUserOutcomeCallable listSkillLevelsOfUserCallable(const Model::ListSkillLevelsOfUserRequest& request) const;
|
||||
ListUserLevelsOfSkillGroupOutcome listUserLevelsOfSkillGroup(const Model::ListUserLevelsOfSkillGroupRequest &request)const;
|
||||
void listUserLevelsOfSkillGroupAsync(const Model::ListUserLevelsOfSkillGroupRequest& request, const ListUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserLevelsOfSkillGroupOutcomeCallable listUserLevelsOfSkillGroupCallable(const Model::ListUserLevelsOfSkillGroupRequest& request) const;
|
||||
MakeCallOutcome makeCall(const Model::MakeCallRequest &request)const;
|
||||
void makeCallAsync(const Model::MakeCallRequest& request, const MakeCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MakeCallOutcomeCallable makeCallCallable(const Model::MakeCallRequest& request) const;
|
||||
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
|
||||
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
|
||||
ModifySkillGroupOutcome modifySkillGroup(const Model::ModifySkillGroupRequest &request)const;
|
||||
void modifySkillGroupAsync(const Model::ModifySkillGroupRequest& request, const ModifySkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySkillGroupOutcomeCallable modifySkillGroupCallable(const Model::ModifySkillGroupRequest& request) const;
|
||||
ModifyUserOutcome modifyUser(const Model::ModifyUserRequest &request)const;
|
||||
void modifyUserAsync(const Model::ModifyUserRequest& request, const ModifyUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUserOutcomeCallable modifyUserCallable(const Model::ModifyUserRequest& request) const;
|
||||
ModifyUserLevelsOfSkillGroupOutcome modifyUserLevelsOfSkillGroup(const Model::ModifyUserLevelsOfSkillGroupRequest &request)const;
|
||||
void modifyUserLevelsOfSkillGroupAsync(const Model::ModifyUserLevelsOfSkillGroupRequest& request, const ModifyUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUserLevelsOfSkillGroupOutcomeCallable modifyUserLevelsOfSkillGroupCallable(const Model::ModifyUserLevelsOfSkillGroupRequest& request) const;
|
||||
MonitorCallOutcome monitorCall(const Model::MonitorCallRequest &request)const;
|
||||
void monitorCallAsync(const Model::MonitorCallRequest& request, const MonitorCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MonitorCallOutcomeCallable monitorCallCallable(const Model::MonitorCallRequest& request) const;
|
||||
@@ -351,6 +465,9 @@ namespace AlibabaCloud
|
||||
ReleaseCallOutcome releaseCall(const Model::ReleaseCallRequest &request)const;
|
||||
void releaseCallAsync(const Model::ReleaseCallRequest& request, const ReleaseCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseCallOutcomeCallable releaseCallCallable(const Model::ReleaseCallRequest& request) const;
|
||||
RemovePhoneNumbersFromSkillGroupOutcome removePhoneNumbersFromSkillGroup(const Model::RemovePhoneNumbersFromSkillGroupRequest &request)const;
|
||||
void removePhoneNumbersFromSkillGroupAsync(const Model::RemovePhoneNumbersFromSkillGroupRequest& request, const RemovePhoneNumbersFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumbersFromSkillGroupOutcomeCallable removePhoneNumbersFromSkillGroupCallable(const Model::RemovePhoneNumbersFromSkillGroupRequest& request) const;
|
||||
ResetAgentStateOutcome resetAgentState(const Model::ResetAgentStateRequest &request)const;
|
||||
void resetAgentStateAsync(const Model::ResetAgentStateRequest& request, const ResetAgentStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAgentStateOutcomeCallable resetAgentStateCallable(const Model::ResetAgentStateRequest& request) const;
|
||||
@@ -366,6 +483,9 @@ namespace AlibabaCloud
|
||||
SignOutGroupOutcome signOutGroup(const Model::SignOutGroupRequest &request)const;
|
||||
void signOutGroupAsync(const Model::SignOutGroupRequest& request, const SignOutGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SignOutGroupOutcomeCallable signOutGroupCallable(const Model::SignOutGroupRequest& request) const;
|
||||
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
|
||||
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
|
||||
TakeBreakOutcome takeBreak(const Model::TakeBreakRequest &request)const;
|
||||
void takeBreakAsync(const Model::TakeBreakRequest& request, const TakeBreakAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TakeBreakOutcomeCallable takeBreakCallable(const Model::TakeBreakRequest& request) const;
|
||||
|
||||
@@ -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_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddNumbersToSkillGroupRequest();
|
||||
~AddNumbersToSkillGroupRequest();
|
||||
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddNumbersToSkillGroupResult();
|
||||
explicit AddNumbersToSkillGroupResult(const std::string &payload);
|
||||
~AddNumbersToSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_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_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneNumberToSkillGroupsRequest();
|
||||
~AddPhoneNumberToSkillGroupsRequest();
|
||||
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupIdList()const;
|
||||
void setSkillGroupIdList(const std::string& skillGroupIdList);
|
||||
|
||||
private:
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupIdList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPhoneNumberToSkillGroupsResult();
|
||||
explicit AddPhoneNumberToSkillGroupsResult(const std::string &payload);
|
||||
~AddPhoneNumberToSkillGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_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_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSkillGroupsToUserRequest();
|
||||
~AddSkillGroupsToUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillLevelList()const;
|
||||
void setSkillLevelList(const std::string& skillLevelList);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
std::string skillLevelList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_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_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSkillGroupsToUserResult();
|
||||
explicit AddSkillGroupsToUserResult(const std::string &payload);
|
||||
~AddSkillGroupsToUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSkillGroupRequest();
|
||||
~CreateSkillGroupRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string instanceId_;
|
||||
std::string displayName_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_
|
||||
64
ccc/include/alibabacloud/ccc/model/CreateSkillGroupResult.h
Normal file
64
ccc/include/alibabacloud/ccc/model/CreateSkillGroupResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_CREATESKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string description;
|
||||
std::string instanceId;
|
||||
std::string skillGroupId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
CreateSkillGroupResult();
|
||||
explicit CreateSkillGroupResult(const std::string &payload);
|
||||
~CreateSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPRESULT_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/CreateUserRequest.h
Normal file
72
ccc/include/alibabacloud/ccc/model/CreateUserRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserRequest();
|
||||
~CreateUserRequest();
|
||||
|
||||
std::string getLoginName()const;
|
||||
void setLoginName(const std::string& loginName);
|
||||
std::string getRoleId()const;
|
||||
void setRoleId(const std::string& roleId);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getWorkMode()const;
|
||||
void setWorkMode(const std::string& workMode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
bool getResetPassword()const;
|
||||
void setResetPassword(bool resetPassword);
|
||||
std::string getSkillLevelList()const;
|
||||
void setSkillLevelList(const std::string& skillLevelList);
|
||||
std::string getEmail()const;
|
||||
void setEmail(const std::string& email);
|
||||
|
||||
private:
|
||||
std::string loginName_;
|
||||
std::string roleId_;
|
||||
std::string mobile_;
|
||||
std::string workMode_;
|
||||
std::string instanceId_;
|
||||
std::string displayName_;
|
||||
bool resetPassword_;
|
||||
std::string skillLevelList_;
|
||||
std::string email_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_
|
||||
69
ccc/include/alibabacloud/ccc/model/CreateUserResult.h
Normal file
69
ccc/include/alibabacloud/ccc/model/CreateUserResult.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string extension;
|
||||
std::string loginName;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
std::string mobile;
|
||||
std::string workMode;
|
||||
};
|
||||
|
||||
|
||||
CreateUserResult();
|
||||
explicit CreateUserResult(const std::string &payload);
|
||||
~CreateUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT DeleteSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSkillGroupRequest();
|
||||
~DeleteSkillGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
bool force_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_DELETESKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT DeleteSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSkillGroupResult();
|
||||
explicit DeleteSkillGroupResult(const std::string &payload);
|
||||
~DeleteSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListContactFlowsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListContactFlowsRequest();
|
||||
~ListContactFlowsRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_
|
||||
79
ccc/include/alibabacloud/ccc/model/ListContactFlowsResult.h
Normal file
79
ccc/include/alibabacloud/ccc/model/ListContactFlowsResult.h
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTCONTACTFLOWSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListContactFlowsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string createdTime;
|
||||
std::string description;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string definition;
|
||||
bool published;
|
||||
std::vector<std::string> numberList;
|
||||
std::string draftId;
|
||||
std::string updatedTime;
|
||||
std::string editor;
|
||||
std::string name;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<ContactFlow> list;
|
||||
};
|
||||
|
||||
|
||||
ListContactFlowsResult();
|
||||
explicit ListContactFlowsResult(const std::string &payload);
|
||||
~ListContactFlowsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSRESULT_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_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListInstancesOfUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListInstancesOfUserRequest();
|
||||
~ListInstancesOfUserRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_
|
||||
113
ccc/include/alibabacloud/ccc/model/ListInstancesOfUserResult.h
Normal file
113
ccc/include/alibabacloud/ccc/model/ListInstancesOfUserResult.h
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTINSTANCESOFUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListInstancesOfUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallCenterInstance
|
||||
{
|
||||
struct User
|
||||
{
|
||||
std::string extension;
|
||||
std::string loginName;
|
||||
std::string roleName;
|
||||
std::string email;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
std::string mobile;
|
||||
std::string roleId;
|
||||
std::string workMode;
|
||||
};
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string description;
|
||||
std::string instanceId;
|
||||
int phoneNumberCount;
|
||||
int userCount;
|
||||
std::string displayName;
|
||||
std::string skillGroupId;
|
||||
std::string name;
|
||||
};
|
||||
bool active;
|
||||
std::string usage;
|
||||
std::string number;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::vector<PhoneNumber::SkillGroup> skillGroups;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<CallCenterInstance::User> adminList;
|
||||
std::string description;
|
||||
std::string consoleUrl;
|
||||
std::string domainName;
|
||||
std::string aliyunUid;
|
||||
std::vector<CallCenterInstance::PhoneNumber> numberList;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<CallCenterInstance> list;
|
||||
};
|
||||
|
||||
|
||||
ListInstancesOfUserResult();
|
||||
explicit ListInstancesOfUserResult(const std::string &payload);
|
||||
~ListInstancesOfUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListUserLevelsOfSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListUserLevelsOfSkillGroupRequest();
|
||||
~ListUserLevelsOfSkillGroupRequest();
|
||||
|
||||
bool getIsMember()const;
|
||||
void setIsMember(bool isMember);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
bool isMember_;
|
||||
int pageNumber_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListUserLevelsOfSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct UserSkillLevel
|
||||
{
|
||||
std::string loginName;
|
||||
std::string roleName;
|
||||
std::string skillGroupName;
|
||||
int skillLevel;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
std::string skillGroupId;
|
||||
std::string roleId;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<UserSkillLevel> list;
|
||||
};
|
||||
|
||||
|
||||
ListUserLevelsOfSkillGroupResult();
|
||||
explicit ListUserLevelsOfSkillGroupResult(const std::string &payload);
|
||||
~ListUserLevelsOfSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPRESULT_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_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyPhoneNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyPhoneNumberRequest();
|
||||
~ModifyPhoneNumberRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string usage_;
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_MODIFYPHONENUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyPhoneNumberResult();
|
||||
explicit ModifyPhoneNumberResult(const std::string &payload);
|
||||
~ModifyPhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifySkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySkillGroupRequest();
|
||||
~ModifySkillGroupRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string displayName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/ModifySkillGroupResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/ModifySkillGroupResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_MODIFYSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifySkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySkillGroupResult();
|
||||
explicit ModifySkillGroupResult(const std::string &payload);
|
||||
~ModifySkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPRESULT_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_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyUserLevelsOfSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyUserLevelsOfSkillGroupRequest();
|
||||
~ModifyUserLevelsOfSkillGroupRequest();
|
||||
|
||||
std::string getUserLevelList()const;
|
||||
void setUserLevelList(const std::string& userLevelList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string userLevelList_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_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_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyUserLevelsOfSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyUserLevelsOfSkillGroupResult();
|
||||
explicit ModifyUserLevelsOfSkillGroupResult(const std::string &payload);
|
||||
~ModifyUserLevelsOfSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPRESULT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyUserRequest();
|
||||
~ModifyUserRequest();
|
||||
|
||||
std::string getRoleId()const;
|
||||
void setRoleId(const std::string& roleId);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getWorkMode()const;
|
||||
void setWorkMode(const std::string& workMode);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string roleId_;
|
||||
std::string mobile_;
|
||||
std::string workMode_;
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_
|
||||
59
ccc/include/alibabacloud/ccc/model/ModifyUserResult.h
Normal file
59
ccc/include/alibabacloud/ccc/model/ModifyUserResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_MODIFYUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ModifyUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyUserResult();
|
||||
explicit ModifyUserResult(const std::string &payload);
|
||||
~ModifyUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERRESULT_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_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemovePhoneNumbersFromSkillGroupRequest();
|
||||
~RemovePhoneNumbersFromSkillGroupRequest();
|
||||
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupResult();
|
||||
explicit RemovePhoneNumbersFromSkillGroupResult(const std::string &payload);
|
||||
~RemovePhoneNumbersFromSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPRESULT_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_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT StartBack2BackCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartBack2BackCallRequest();
|
||||
~StartBack2BackCallRequest();
|
||||
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
std::string getBroker()const;
|
||||
void setBroker(const std::string& broker);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getAdditionalBroker()const;
|
||||
void setAdditionalBroker(const std::string& additionalBroker);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
int getTimeoutSeconds()const;
|
||||
void setTimeoutSeconds(int timeoutSeconds);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string callee_;
|
||||
std::string broker_;
|
||||
std::string userId_;
|
||||
std::string additionalBroker_;
|
||||
std::string tags_;
|
||||
int timeoutSeconds_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_
|
||||
105
ccc/include/alibabacloud/ccc/model/StartBack2BackCallResult.h
Normal file
105
ccc/include/alibabacloud/ccc/model/StartBack2BackCallResult.h
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT StartBack2BackCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallContext
|
||||
{
|
||||
struct ChannelContext
|
||||
{
|
||||
std::string destination;
|
||||
std::string channelState;
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
std::string associatedData;
|
||||
std::string channelId;
|
||||
long timestamp;
|
||||
std::string releaseReason;
|
||||
std::string channelFlags;
|
||||
std::string originator;
|
||||
std::string userId;
|
||||
std::string userExtension;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string instanceId;
|
||||
std::string callType;
|
||||
std::string jobId;
|
||||
std::vector<ChannelContext> channelContexts;
|
||||
};
|
||||
struct UserContext
|
||||
{
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string breakCode;
|
||||
std::string deviceId;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::string uri;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string deviceState;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string jobId;
|
||||
std::string workMode;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
StartBack2BackCallResult();
|
||||
explicit StartBack2BackCallResult(const std::string &payload);
|
||||
~StartBack2BackCallResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLRESULT_H_
|
||||
@@ -51,6 +51,114 @@ CCCClient::CCCClient(const std::string & accessKeyId, const std::string & access
|
||||
CCCClient::~CCCClient()
|
||||
{}
|
||||
|
||||
CCCClient::AddNumbersToSkillGroupOutcome CCCClient::addNumbersToSkillGroup(const AddNumbersToSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddNumbersToSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddNumbersToSkillGroupOutcome(AddNumbersToSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return AddNumbersToSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addNumbersToSkillGroupAsync(const AddNumbersToSkillGroupRequest& request, const AddNumbersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addNumbersToSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddNumbersToSkillGroupOutcomeCallable CCCClient::addNumbersToSkillGroupCallable(const AddNumbersToSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddNumbersToSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addNumbersToSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddPhoneNumberToSkillGroupsOutcome CCCClient::addPhoneNumberToSkillGroups(const AddPhoneNumberToSkillGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddPhoneNumberToSkillGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddPhoneNumberToSkillGroupsOutcome(AddPhoneNumberToSkillGroupsResult(outcome.result()));
|
||||
else
|
||||
return AddPhoneNumberToSkillGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addPhoneNumberToSkillGroupsAsync(const AddPhoneNumberToSkillGroupsRequest& request, const AddPhoneNumberToSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addPhoneNumberToSkillGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddPhoneNumberToSkillGroupsOutcomeCallable CCCClient::addPhoneNumberToSkillGroupsCallable(const AddPhoneNumberToSkillGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddPhoneNumberToSkillGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addPhoneNumberToSkillGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddSkillGroupsToUserOutcome CCCClient::addSkillGroupsToUser(const AddSkillGroupsToUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddSkillGroupsToUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddSkillGroupsToUserOutcome(AddSkillGroupsToUserResult(outcome.result()));
|
||||
else
|
||||
return AddSkillGroupsToUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addSkillGroupsToUserAsync(const AddSkillGroupsToUserRequest& request, const AddSkillGroupsToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addSkillGroupsToUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddSkillGroupsToUserOutcomeCallable CCCClient::addSkillGroupsToUserCallable(const AddSkillGroupsToUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddSkillGroupsToUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addSkillGroupsToUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AnswerCallOutcome CCCClient::answerCall(const AnswerCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +375,114 @@ CCCClient::CompleteAttendedTransferOutcomeCallable CCCClient::completeAttendedTr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CreateSkillGroupOutcome CCCClient::createSkillGroup(const CreateSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateSkillGroupOutcome(CreateSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::createSkillGroupAsync(const CreateSkillGroupRequest& request, const CreateSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::CreateSkillGroupOutcomeCallable CCCClient::createSkillGroupCallable(const CreateSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CreateUserOutcome CCCClient::createUser(const CreateUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateUserOutcome(CreateUserResult(outcome.result()));
|
||||
else
|
||||
return CreateUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::createUserAsync(const CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::CreateUserOutcomeCallable CCCClient::createUserCallable(const CreateUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::DeleteSkillGroupOutcome CCCClient::deleteSkillGroup(const DeleteSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteSkillGroupOutcome(DeleteSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return DeleteSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::deleteSkillGroupAsync(const DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::DeleteSkillGroupOutcomeCallable CCCClient::deleteSkillGroupCallable(const DeleteSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetLoginDetailsOutcome CCCClient::getLoginDetails(const GetLoginDetailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -771,6 +987,42 @@ CCCClient::ListConfigItemsOutcomeCallable CCCClient::listConfigItemsCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListContactFlowsOutcome CCCClient::listContactFlows(const ListContactFlowsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListContactFlowsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListContactFlowsOutcome(ListContactFlowsResult(outcome.result()));
|
||||
else
|
||||
return ListContactFlowsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listContactFlowsAsync(const ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listContactFlows(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListContactFlowsOutcomeCallable CCCClient::listContactFlowsCallable(const ListContactFlowsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListContactFlowsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listContactFlows(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListDevicesOutcome CCCClient::listDevices(const ListDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +1095,42 @@ CCCClient::ListHistoricalAgentReportOutcomeCallable CCCClient::listHistoricalAge
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListInstancesOfUserOutcome CCCClient::listInstancesOfUser(const ListInstancesOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListInstancesOfUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListInstancesOfUserOutcome(ListInstancesOfUserResult(outcome.result()));
|
||||
else
|
||||
return ListInstancesOfUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listInstancesOfUserAsync(const ListInstancesOfUserRequest& request, const ListInstancesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listInstancesOfUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListInstancesOfUserOutcomeCallable CCCClient::listInstancesOfUserCallable(const ListInstancesOfUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListInstancesOfUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listInstancesOfUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListOutboundNumbersOfUserOutcome CCCClient::listOutboundNumbersOfUser(const ListOutboundNumbersOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1311,42 @@ CCCClient::ListSkillLevelsOfUserOutcomeCallable CCCClient::listSkillLevelsOfUser
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListUserLevelsOfSkillGroupOutcome CCCClient::listUserLevelsOfSkillGroup(const ListUserLevelsOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListUserLevelsOfSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListUserLevelsOfSkillGroupOutcome(ListUserLevelsOfSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return ListUserLevelsOfSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listUserLevelsOfSkillGroupAsync(const ListUserLevelsOfSkillGroupRequest& request, const ListUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listUserLevelsOfSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListUserLevelsOfSkillGroupOutcomeCallable CCCClient::listUserLevelsOfSkillGroupCallable(const ListUserLevelsOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListUserLevelsOfSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listUserLevelsOfSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::MakeCallOutcome CCCClient::makeCall(const MakeCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1383,150 @@ CCCClient::MakeCallOutcomeCallable CCCClient::makeCallCallable(const MakeCallReq
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyPhoneNumberOutcome CCCClient::modifyPhoneNumber(const ModifyPhoneNumberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyPhoneNumberOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyPhoneNumberOutcome(ModifyPhoneNumberResult(outcome.result()));
|
||||
else
|
||||
return ModifyPhoneNumberOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::modifyPhoneNumberAsync(const ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyPhoneNumber(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ModifyPhoneNumberOutcomeCallable CCCClient::modifyPhoneNumberCallable(const ModifyPhoneNumberRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyPhoneNumberOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyPhoneNumber(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifySkillGroupOutcome CCCClient::modifySkillGroup(const ModifySkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySkillGroupOutcome(ModifySkillGroupResult(outcome.result()));
|
||||
else
|
||||
return ModifySkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::modifySkillGroupAsync(const ModifySkillGroupRequest& request, const ModifySkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ModifySkillGroupOutcomeCallable CCCClient::modifySkillGroupCallable(const ModifySkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyUserOutcome CCCClient::modifyUser(const ModifyUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyUserOutcome(ModifyUserResult(outcome.result()));
|
||||
else
|
||||
return ModifyUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::modifyUserAsync(const ModifyUserRequest& request, const ModifyUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ModifyUserOutcomeCallable CCCClient::modifyUserCallable(const ModifyUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyUserLevelsOfSkillGroupOutcome CCCClient::modifyUserLevelsOfSkillGroup(const ModifyUserLevelsOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyUserLevelsOfSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyUserLevelsOfSkillGroupOutcome(ModifyUserLevelsOfSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return ModifyUserLevelsOfSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::modifyUserLevelsOfSkillGroupAsync(const ModifyUserLevelsOfSkillGroupRequest& request, const ModifyUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyUserLevelsOfSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ModifyUserLevelsOfSkillGroupOutcomeCallable CCCClient::modifyUserLevelsOfSkillGroupCallable(const ModifyUserLevelsOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyUserLevelsOfSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyUserLevelsOfSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::MonitorCallOutcome CCCClient::monitorCall(const MonitorCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1779,42 @@ CCCClient::ReleaseCallOutcomeCallable CCCClient::releaseCallCallable(const Relea
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumbersFromSkillGroupOutcome CCCClient::removePhoneNumbersFromSkillGroup(const RemovePhoneNumbersFromSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemovePhoneNumbersFromSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemovePhoneNumbersFromSkillGroupOutcome(RemovePhoneNumbersFromSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return RemovePhoneNumbersFromSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removePhoneNumbersFromSkillGroupAsync(const RemovePhoneNumbersFromSkillGroupRequest& request, const RemovePhoneNumbersFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removePhoneNumbersFromSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumbersFromSkillGroupOutcomeCallable CCCClient::removePhoneNumbersFromSkillGroupCallable(const RemovePhoneNumbersFromSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemovePhoneNumbersFromSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removePhoneNumbersFromSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ResetAgentStateOutcome CCCClient::resetAgentState(const ResetAgentStateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1491,6 +1995,42 @@ CCCClient::SignOutGroupOutcomeCallable CCCClient::signOutGroupCallable(const Sig
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::StartBack2BackCallOutcome CCCClient::startBack2BackCall(const StartBack2BackCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartBack2BackCallOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartBack2BackCallOutcome(StartBack2BackCallResult(outcome.result()));
|
||||
else
|
||||
return StartBack2BackCallOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::startBack2BackCallAsync(const StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startBack2BackCall(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::StartBack2BackCallOutcomeCallable CCCClient::startBack2BackCallCallable(const StartBack2BackCallRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartBack2BackCallOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startBack2BackCall(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::TakeBreakOutcome CCCClient::takeBreak(const TakeBreakRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
62
ccc/src/model/AddNumbersToSkillGroupRequest.cc
Normal file
62
ccc/src/model/AddNumbersToSkillGroupRequest.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/ccc/model/AddNumbersToSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::AddNumbersToSkillGroupRequest;
|
||||
|
||||
AddNumbersToSkillGroupRequest::AddNumbersToSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "AddNumbersToSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddNumbersToSkillGroupRequest::~AddNumbersToSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddNumbersToSkillGroupRequest::getNumberList()const
|
||||
{
|
||||
return numberList_;
|
||||
}
|
||||
|
||||
void AddNumbersToSkillGroupRequest::setNumberList(const std::string& numberList)
|
||||
{
|
||||
numberList_ = numberList;
|
||||
setParameter("NumberList", numberList);
|
||||
}
|
||||
|
||||
std::string AddNumbersToSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddNumbersToSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AddNumbersToSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void AddNumbersToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/AddNumbersToSkillGroupResult.cc
Normal file
65
ccc/src/model/AddNumbersToSkillGroupResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/AddNumbersToSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
AddNumbersToSkillGroupResult::AddNumbersToSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddNumbersToSkillGroupResult::AddNumbersToSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddNumbersToSkillGroupResult::~AddNumbersToSkillGroupResult()
|
||||
{}
|
||||
|
||||
void AddNumbersToSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddNumbersToSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int AddNumbersToSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AddNumbersToSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
ccc/src/model/AddPhoneNumberToSkillGroupsRequest.cc
Normal file
62
ccc/src/model/AddPhoneNumberToSkillGroupsRequest.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/ccc/model/AddPhoneNumberToSkillGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::AddPhoneNumberToSkillGroupsRequest;
|
||||
|
||||
AddPhoneNumberToSkillGroupsRequest::AddPhoneNumberToSkillGroupsRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "AddPhoneNumberToSkillGroups")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddPhoneNumberToSkillGroupsRequest::~AddPhoneNumberToSkillGroupsRequest()
|
||||
{}
|
||||
|
||||
std::string AddPhoneNumberToSkillGroupsRequest::getNumber()const
|
||||
{
|
||||
return number_;
|
||||
}
|
||||
|
||||
void AddPhoneNumberToSkillGroupsRequest::setNumber(const std::string& number)
|
||||
{
|
||||
number_ = number;
|
||||
setParameter("Number", number);
|
||||
}
|
||||
|
||||
std::string AddPhoneNumberToSkillGroupsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddPhoneNumberToSkillGroupsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AddPhoneNumberToSkillGroupsRequest::getSkillGroupIdList()const
|
||||
{
|
||||
return skillGroupIdList_;
|
||||
}
|
||||
|
||||
void AddPhoneNumberToSkillGroupsRequest::setSkillGroupIdList(const std::string& skillGroupIdList)
|
||||
{
|
||||
skillGroupIdList_ = skillGroupIdList;
|
||||
setParameter("SkillGroupIdList", skillGroupIdList);
|
||||
}
|
||||
|
||||
65
ccc/src/model/AddPhoneNumberToSkillGroupsResult.cc
Normal file
65
ccc/src/model/AddPhoneNumberToSkillGroupsResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/AddPhoneNumberToSkillGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
AddPhoneNumberToSkillGroupsResult::AddPhoneNumberToSkillGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddPhoneNumberToSkillGroupsResult::AddPhoneNumberToSkillGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddPhoneNumberToSkillGroupsResult::~AddPhoneNumberToSkillGroupsResult()
|
||||
{}
|
||||
|
||||
void AddPhoneNumberToSkillGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddPhoneNumberToSkillGroupsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int AddPhoneNumberToSkillGroupsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AddPhoneNumberToSkillGroupsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
ccc/src/model/AddSkillGroupsToUserRequest.cc
Normal file
62
ccc/src/model/AddSkillGroupsToUserRequest.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/ccc/model/AddSkillGroupsToUserRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::AddSkillGroupsToUserRequest;
|
||||
|
||||
AddSkillGroupsToUserRequest::AddSkillGroupsToUserRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "AddSkillGroupsToUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddSkillGroupsToUserRequest::~AddSkillGroupsToUserRequest()
|
||||
{}
|
||||
|
||||
std::string AddSkillGroupsToUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void AddSkillGroupsToUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string AddSkillGroupsToUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddSkillGroupsToUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AddSkillGroupsToUserRequest::getSkillLevelList()const
|
||||
{
|
||||
return skillLevelList_;
|
||||
}
|
||||
|
||||
void AddSkillGroupsToUserRequest::setSkillLevelList(const std::string& skillLevelList)
|
||||
{
|
||||
skillLevelList_ = skillLevelList;
|
||||
setParameter("SkillLevelList", skillLevelList);
|
||||
}
|
||||
|
||||
73
ccc/src/model/AddSkillGroupsToUserResult.cc
Normal file
73
ccc/src/model/AddSkillGroupsToUserResult.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/ccc/model/AddSkillGroupsToUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
AddSkillGroupsToUserResult::AddSkillGroupsToUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddSkillGroupsToUserResult::AddSkillGroupsToUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddSkillGroupsToUserResult::~AddSkillGroupsToUserResult()
|
||||
{}
|
||||
|
||||
void AddSkillGroupsToUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParams = value["Params"]["Param"];
|
||||
for (const auto &item : allParams)
|
||||
params_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddSkillGroupsToUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int AddSkillGroupsToUserResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddSkillGroupsToUserResult::getParams()const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
std::string AddSkillGroupsToUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
ccc/src/model/CreateSkillGroupRequest.cc
Normal file
73
ccc/src/model/CreateSkillGroupRequest.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/ccc/model/CreateSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreateSkillGroupRequest;
|
||||
|
||||
CreateSkillGroupRequest::CreateSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "CreateSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateSkillGroupRequest::~CreateSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSkillGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateSkillGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateSkillGroupRequest::getDisplayName()const
|
||||
{
|
||||
return displayName_;
|
||||
}
|
||||
|
||||
void CreateSkillGroupRequest::setDisplayName(const std::string& displayName)
|
||||
{
|
||||
displayName_ = displayName;
|
||||
setParameter("DisplayName", displayName);
|
||||
}
|
||||
|
||||
std::string CreateSkillGroupRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateSkillGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
79
ccc/src/model/CreateSkillGroupResult.cc
Normal file
79
ccc/src/model/CreateSkillGroupResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/CreateSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreateSkillGroupResult::CreateSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateSkillGroupResult::CreateSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateSkillGroupResult::~CreateSkillGroupResult()
|
||||
{}
|
||||
|
||||
void CreateSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Description"].isNull())
|
||||
data_.description = dataNode["Description"].asString();
|
||||
if(!dataNode["InstanceId"].isNull())
|
||||
data_.instanceId = dataNode["InstanceId"].asString();
|
||||
if(!dataNode["Name"].isNull())
|
||||
data_.name = dataNode["Name"].asString();
|
||||
if(!dataNode["SkillGroupId"].isNull())
|
||||
data_.skillGroupId = dataNode["SkillGroupId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreateSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
CreateSkillGroupResult::Data CreateSkillGroupResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
128
ccc/src/model/CreateUserRequest.cc
Normal file
128
ccc/src/model/CreateUserRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/CreateUserRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreateUserRequest;
|
||||
|
||||
CreateUserRequest::CreateUserRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "CreateUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateUserRequest::~CreateUserRequest()
|
||||
{}
|
||||
|
||||
std::string CreateUserRequest::getLoginName()const
|
||||
{
|
||||
return loginName_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setLoginName(const std::string& loginName)
|
||||
{
|
||||
loginName_ = loginName;
|
||||
setParameter("LoginName", loginName);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getRoleId()const
|
||||
{
|
||||
return roleId_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setRoleId(const std::string& roleId)
|
||||
{
|
||||
roleId_ = roleId;
|
||||
setParameter("RoleId", roleId);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getWorkMode()const
|
||||
{
|
||||
return workMode_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setWorkMode(const std::string& workMode)
|
||||
{
|
||||
workMode_ = workMode;
|
||||
setParameter("WorkMode", workMode);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getDisplayName()const
|
||||
{
|
||||
return displayName_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setDisplayName(const std::string& displayName)
|
||||
{
|
||||
displayName_ = displayName;
|
||||
setParameter("DisplayName", displayName);
|
||||
}
|
||||
|
||||
bool CreateUserRequest::getResetPassword()const
|
||||
{
|
||||
return resetPassword_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setResetPassword(bool resetPassword)
|
||||
{
|
||||
resetPassword_ = resetPassword;
|
||||
setParameter("ResetPassword", resetPassword ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getSkillLevelList()const
|
||||
{
|
||||
return skillLevelList_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setSkillLevelList(const std::string& skillLevelList)
|
||||
{
|
||||
skillLevelList_ = skillLevelList;
|
||||
setParameter("SkillLevelList", skillLevelList);
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
}
|
||||
|
||||
void CreateUserRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
}
|
||||
|
||||
93
ccc/src/model/CreateUserResult.cc
Normal file
93
ccc/src/model/CreateUserResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/CreateUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreateUserResult::CreateUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateUserResult::CreateUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateUserResult::~CreateUserResult()
|
||||
{}
|
||||
|
||||
void CreateUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["DisplayName"].isNull())
|
||||
data_.displayName = dataNode["DisplayName"].asString();
|
||||
if(!dataNode["Email"].isNull())
|
||||
data_.email = dataNode["Email"].asString();
|
||||
if(!dataNode["Extension"].isNull())
|
||||
data_.extension = dataNode["Extension"].asString();
|
||||
if(!dataNode["LoginName"].isNull())
|
||||
data_.loginName = dataNode["LoginName"].asString();
|
||||
if(!dataNode["Mobile"].isNull())
|
||||
data_.mobile = dataNode["Mobile"].asString();
|
||||
if(!dataNode["UserId"].isNull())
|
||||
data_.userId = dataNode["UserId"].asString();
|
||||
if(!dataNode["WorkMode"].isNull())
|
||||
data_.workMode = dataNode["WorkMode"].asString();
|
||||
auto allParams = value["Params"]["Param"];
|
||||
for (const auto &item : allParams)
|
||||
params_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreateUserResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateUserResult::getParams()const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
CreateUserResult::Data CreateUserResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
ccc/src/model/DeleteSkillGroupRequest.cc
Normal file
62
ccc/src/model/DeleteSkillGroupRequest.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/ccc/model/DeleteSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::DeleteSkillGroupRequest;
|
||||
|
||||
DeleteSkillGroupRequest::DeleteSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "DeleteSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSkillGroupRequest::~DeleteSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DeleteSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void DeleteSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
bool DeleteSkillGroupRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteSkillGroupRequest::setForce(bool force)
|
||||
{
|
||||
force_ = force;
|
||||
setParameter("Force", force ? "true" : "false");
|
||||
}
|
||||
|
||||
65
ccc/src/model/DeleteSkillGroupResult.cc
Normal file
65
ccc/src/model/DeleteSkillGroupResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/DeleteSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
DeleteSkillGroupResult::DeleteSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteSkillGroupResult::DeleteSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteSkillGroupResult::~DeleteSkillGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DeleteSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
ccc/src/model/ListContactFlowsRequest.cc
Normal file
73
ccc/src/model/ListContactFlowsRequest.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/ccc/model/ListContactFlowsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListContactFlowsRequest;
|
||||
|
||||
ListContactFlowsRequest::ListContactFlowsRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListContactFlows")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListContactFlowsRequest::~ListContactFlowsRequest()
|
||||
{}
|
||||
|
||||
std::string ListContactFlowsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void ListContactFlowsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
int ListContactFlowsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListContactFlowsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListContactFlowsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListContactFlowsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
int ListContactFlowsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListContactFlowsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
108
ccc/src/model/ListContactFlowsResult.cc
Normal file
108
ccc/src/model/ListContactFlowsResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListContactFlowsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListContactFlowsResult::ListContactFlowsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListContactFlowsResult::ListContactFlowsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListContactFlowsResult::~ListContactFlowsResult()
|
||||
{}
|
||||
|
||||
void ListContactFlowsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
auto allListNode = dataNode["List"]["ContactFlow"];
|
||||
for (auto dataNodeListContactFlow : allListNode)
|
||||
{
|
||||
Data::ContactFlow contactFlowObject;
|
||||
if(!dataNodeListContactFlow["ContactFlowId"].isNull())
|
||||
contactFlowObject.contactFlowId = dataNodeListContactFlow["ContactFlowId"].asString();
|
||||
if(!dataNodeListContactFlow["CreatedTime"].isNull())
|
||||
contactFlowObject.createdTime = dataNodeListContactFlow["CreatedTime"].asString();
|
||||
if(!dataNodeListContactFlow["Definition"].isNull())
|
||||
contactFlowObject.definition = dataNodeListContactFlow["Definition"].asString();
|
||||
if(!dataNodeListContactFlow["Description"].isNull())
|
||||
contactFlowObject.description = dataNodeListContactFlow["Description"].asString();
|
||||
if(!dataNodeListContactFlow["DraftId"].isNull())
|
||||
contactFlowObject.draftId = dataNodeListContactFlow["DraftId"].asString();
|
||||
if(!dataNodeListContactFlow["Editor"].isNull())
|
||||
contactFlowObject.editor = dataNodeListContactFlow["Editor"].asString();
|
||||
if(!dataNodeListContactFlow["InstanceId"].isNull())
|
||||
contactFlowObject.instanceId = dataNodeListContactFlow["InstanceId"].asString();
|
||||
if(!dataNodeListContactFlow["Name"].isNull())
|
||||
contactFlowObject.name = dataNodeListContactFlow["Name"].asString();
|
||||
if(!dataNodeListContactFlow["Published"].isNull())
|
||||
contactFlowObject.published = dataNodeListContactFlow["Published"].asString() == "true";
|
||||
if(!dataNodeListContactFlow["Type"].isNull())
|
||||
contactFlowObject.type = dataNodeListContactFlow["Type"].asString();
|
||||
if(!dataNodeListContactFlow["UpdatedTime"].isNull())
|
||||
contactFlowObject.updatedTime = dataNodeListContactFlow["UpdatedTime"].asString();
|
||||
auto allNumberList = value["NumberList"]["NumberList"];
|
||||
for (auto value : allNumberList)
|
||||
contactFlowObject.numberList.push_back(value.asString());
|
||||
data_.list.push_back(contactFlowObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListContactFlowsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListContactFlowsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListContactFlowsResult::Data ListContactFlowsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListContactFlowsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
51
ccc/src/model/ListInstancesOfUserRequest.cc
Normal file
51
ccc/src/model/ListInstancesOfUserRequest.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/ccc/model/ListInstancesOfUserRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListInstancesOfUserRequest;
|
||||
|
||||
ListInstancesOfUserRequest::ListInstancesOfUserRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListInstancesOfUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListInstancesOfUserRequest::~ListInstancesOfUserRequest()
|
||||
{}
|
||||
|
||||
int ListInstancesOfUserRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListInstancesOfUserRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListInstancesOfUserRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListInstancesOfUserRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
173
ccc/src/model/ListInstancesOfUserResult.cc
Normal file
173
ccc/src/model/ListInstancesOfUserResult.cc
Normal file
@@ -0,0 +1,173 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListInstancesOfUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListInstancesOfUserResult::ListInstancesOfUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListInstancesOfUserResult::ListInstancesOfUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListInstancesOfUserResult::~ListInstancesOfUserResult()
|
||||
{}
|
||||
|
||||
void ListInstancesOfUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
auto allListNode = dataNode["List"]["CallCenterInstance"];
|
||||
for (auto dataNodeListCallCenterInstance : allListNode)
|
||||
{
|
||||
Data::CallCenterInstance callCenterInstanceObject;
|
||||
if(!dataNodeListCallCenterInstance["AliyunUid"].isNull())
|
||||
callCenterInstanceObject.aliyunUid = dataNodeListCallCenterInstance["AliyunUid"].asString();
|
||||
if(!dataNodeListCallCenterInstance["ConsoleUrl"].isNull())
|
||||
callCenterInstanceObject.consoleUrl = dataNodeListCallCenterInstance["ConsoleUrl"].asString();
|
||||
if(!dataNodeListCallCenterInstance["Description"].isNull())
|
||||
callCenterInstanceObject.description = dataNodeListCallCenterInstance["Description"].asString();
|
||||
if(!dataNodeListCallCenterInstance["DomainName"].isNull())
|
||||
callCenterInstanceObject.domainName = dataNodeListCallCenterInstance["DomainName"].asString();
|
||||
if(!dataNodeListCallCenterInstance["Id"].isNull())
|
||||
callCenterInstanceObject.id = dataNodeListCallCenterInstance["Id"].asString();
|
||||
if(!dataNodeListCallCenterInstance["Name"].isNull())
|
||||
callCenterInstanceObject.name = dataNodeListCallCenterInstance["Name"].asString();
|
||||
if(!dataNodeListCallCenterInstance["Status"].isNull())
|
||||
callCenterInstanceObject.status = dataNodeListCallCenterInstance["Status"].asString();
|
||||
auto allAdminListNode = dataNodeListCallCenterInstance["AdminList"]["User"];
|
||||
for (auto dataNodeListCallCenterInstanceAdminListUser : allAdminListNode)
|
||||
{
|
||||
Data::CallCenterInstance::User adminListObject;
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["DisplayName"].isNull())
|
||||
adminListObject.displayName = dataNodeListCallCenterInstanceAdminListUser["DisplayName"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["Email"].isNull())
|
||||
adminListObject.email = dataNodeListCallCenterInstanceAdminListUser["Email"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["Extension"].isNull())
|
||||
adminListObject.extension = dataNodeListCallCenterInstanceAdminListUser["Extension"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["InstanceId"].isNull())
|
||||
adminListObject.instanceId = dataNodeListCallCenterInstanceAdminListUser["InstanceId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["LoginName"].isNull())
|
||||
adminListObject.loginName = dataNodeListCallCenterInstanceAdminListUser["LoginName"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["Mobile"].isNull())
|
||||
adminListObject.mobile = dataNodeListCallCenterInstanceAdminListUser["Mobile"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["RoleId"].isNull())
|
||||
adminListObject.roleId = dataNodeListCallCenterInstanceAdminListUser["RoleId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["RoleName"].isNull())
|
||||
adminListObject.roleName = dataNodeListCallCenterInstanceAdminListUser["RoleName"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["UserId"].isNull())
|
||||
adminListObject.userId = dataNodeListCallCenterInstanceAdminListUser["UserId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceAdminListUser["WorkMode"].isNull())
|
||||
adminListObject.workMode = dataNodeListCallCenterInstanceAdminListUser["WorkMode"].asString();
|
||||
callCenterInstanceObject.adminList.push_back(adminListObject);
|
||||
}
|
||||
auto allNumberListNode = dataNodeListCallCenterInstance["NumberList"]["PhoneNumber"];
|
||||
for (auto dataNodeListCallCenterInstanceNumberListPhoneNumber : allNumberListNode)
|
||||
{
|
||||
Data::CallCenterInstance::PhoneNumber numberListObject;
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["Active"].isNull())
|
||||
numberListObject.active = dataNodeListCallCenterInstanceNumberListPhoneNumber["Active"].asString() == "true";
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["City"].isNull())
|
||||
numberListObject.city = dataNodeListCallCenterInstanceNumberListPhoneNumber["City"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["ContactFlowId"].isNull())
|
||||
numberListObject.contactFlowId = dataNodeListCallCenterInstanceNumberListPhoneNumber["ContactFlowId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["InstanceId"].isNull())
|
||||
numberListObject.instanceId = dataNodeListCallCenterInstanceNumberListPhoneNumber["InstanceId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["Number"].isNull())
|
||||
numberListObject.number = dataNodeListCallCenterInstanceNumberListPhoneNumber["Number"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["Province"].isNull())
|
||||
numberListObject.province = dataNodeListCallCenterInstanceNumberListPhoneNumber["Province"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["Usage"].isNull())
|
||||
numberListObject.usage = dataNodeListCallCenterInstanceNumberListPhoneNumber["Usage"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumber["UserId"].isNull())
|
||||
numberListObject.userId = dataNodeListCallCenterInstanceNumberListPhoneNumber["UserId"].asString();
|
||||
auto allSkillGroupsNode = dataNodeListCallCenterInstanceNumberListPhoneNumber["SkillGroups"]["SkillGroup"];
|
||||
for (auto dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup : allSkillGroupsNode)
|
||||
{
|
||||
Data::CallCenterInstance::PhoneNumber::SkillGroup skillGroupsObject;
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["Description"].isNull())
|
||||
skillGroupsObject.description = dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["Description"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["DisplayName"].isNull())
|
||||
skillGroupsObject.displayName = dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["DisplayName"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["InstanceId"].isNull())
|
||||
skillGroupsObject.instanceId = dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["InstanceId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["Name"].isNull())
|
||||
skillGroupsObject.name = dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["Name"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["PhoneNumberCount"].isNull())
|
||||
skillGroupsObject.phoneNumberCount = std::stoi(dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["PhoneNumberCount"].asString());
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["SkillGroupId"].isNull())
|
||||
skillGroupsObject.skillGroupId = dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["SkillGroupId"].asString();
|
||||
if(!dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["UserCount"].isNull())
|
||||
skillGroupsObject.userCount = std::stoi(dataNodeListCallCenterInstanceNumberListPhoneNumberSkillGroupsSkillGroup["UserCount"].asString());
|
||||
numberListObject.skillGroups.push_back(skillGroupsObject);
|
||||
}
|
||||
callCenterInstanceObject.numberList.push_back(numberListObject);
|
||||
}
|
||||
data_.list.push_back(callCenterInstanceObject);
|
||||
}
|
||||
auto allParams = value["Params"]["Param"];
|
||||
for (const auto &item : allParams)
|
||||
params_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListInstancesOfUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListInstancesOfUserResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> ListInstancesOfUserResult::getParams()const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
ListInstancesOfUserResult::Data ListInstancesOfUserResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListInstancesOfUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc
Normal file
95
ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListUserLevelsOfSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListUserLevelsOfSkillGroupRequest;
|
||||
|
||||
ListUserLevelsOfSkillGroupRequest::ListUserLevelsOfSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListUserLevelsOfSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListUserLevelsOfSkillGroupRequest::~ListUserLevelsOfSkillGroupRequest()
|
||||
{}
|
||||
|
||||
bool ListUserLevelsOfSkillGroupRequest::getIsMember()const
|
||||
{
|
||||
return isMember_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setIsMember(bool isMember)
|
||||
{
|
||||
isMember_ = isMember;
|
||||
setParameter("IsMember", isMember ? "true" : "false");
|
||||
}
|
||||
|
||||
int ListUserLevelsOfSkillGroupRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListUserLevelsOfSkillGroupRequest::getSearchPattern()const
|
||||
{
|
||||
return searchPattern_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setSearchPattern(const std::string& searchPattern)
|
||||
{
|
||||
searchPattern_ = searchPattern;
|
||||
setParameter("SearchPattern", searchPattern);
|
||||
}
|
||||
|
||||
std::string ListUserLevelsOfSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListUserLevelsOfSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
int ListUserLevelsOfSkillGroupRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListUserLevelsOfSkillGroupRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
99
ccc/src/model/ListUserLevelsOfSkillGroupResult.cc
Normal file
99
ccc/src/model/ListUserLevelsOfSkillGroupResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/ListUserLevelsOfSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListUserLevelsOfSkillGroupResult::ListUserLevelsOfSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListUserLevelsOfSkillGroupResult::ListUserLevelsOfSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListUserLevelsOfSkillGroupResult::~ListUserLevelsOfSkillGroupResult()
|
||||
{}
|
||||
|
||||
void ListUserLevelsOfSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
auto allListNode = dataNode["List"]["UserSkillLevel"];
|
||||
for (auto dataNodeListUserSkillLevel : allListNode)
|
||||
{
|
||||
Data::UserSkillLevel userSkillLevelObject;
|
||||
if(!dataNodeListUserSkillLevel["DisplayName"].isNull())
|
||||
userSkillLevelObject.displayName = dataNodeListUserSkillLevel["DisplayName"].asString();
|
||||
if(!dataNodeListUserSkillLevel["LoginName"].isNull())
|
||||
userSkillLevelObject.loginName = dataNodeListUserSkillLevel["LoginName"].asString();
|
||||
if(!dataNodeListUserSkillLevel["RoleId"].isNull())
|
||||
userSkillLevelObject.roleId = dataNodeListUserSkillLevel["RoleId"].asString();
|
||||
if(!dataNodeListUserSkillLevel["RoleName"].isNull())
|
||||
userSkillLevelObject.roleName = dataNodeListUserSkillLevel["RoleName"].asString();
|
||||
if(!dataNodeListUserSkillLevel["SkillGroupId"].isNull())
|
||||
userSkillLevelObject.skillGroupId = dataNodeListUserSkillLevel["SkillGroupId"].asString();
|
||||
if(!dataNodeListUserSkillLevel["SkillGroupName"].isNull())
|
||||
userSkillLevelObject.skillGroupName = dataNodeListUserSkillLevel["SkillGroupName"].asString();
|
||||
if(!dataNodeListUserSkillLevel["SkillLevel"].isNull())
|
||||
userSkillLevelObject.skillLevel = std::stoi(dataNodeListUserSkillLevel["SkillLevel"].asString());
|
||||
if(!dataNodeListUserSkillLevel["UserId"].isNull())
|
||||
userSkillLevelObject.userId = dataNodeListUserSkillLevel["UserId"].asString();
|
||||
data_.list.push_back(userSkillLevelObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListUserLevelsOfSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListUserLevelsOfSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListUserLevelsOfSkillGroupResult::Data ListUserLevelsOfSkillGroupResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListUserLevelsOfSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
ccc/src/model/ModifyPhoneNumberRequest.cc
Normal file
73
ccc/src/model/ModifyPhoneNumberRequest.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/ccc/model/ModifyPhoneNumberRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifyPhoneNumberRequest;
|
||||
|
||||
ModifyPhoneNumberRequest::ModifyPhoneNumberRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ModifyPhoneNumber")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyPhoneNumberRequest::~ModifyPhoneNumberRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyPhoneNumberRequest::getContactFlowId()const
|
||||
{
|
||||
return contactFlowId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneNumberRequest::setContactFlowId(const std::string& contactFlowId)
|
||||
{
|
||||
contactFlowId_ = contactFlowId;
|
||||
setParameter("ContactFlowId", contactFlowId);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneNumberRequest::getUsage()const
|
||||
{
|
||||
return usage_;
|
||||
}
|
||||
|
||||
void ModifyPhoneNumberRequest::setUsage(const std::string& usage)
|
||||
{
|
||||
usage_ = usage;
|
||||
setParameter("Usage", usage);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneNumberRequest::getNumber()const
|
||||
{
|
||||
return number_;
|
||||
}
|
||||
|
||||
void ModifyPhoneNumberRequest::setNumber(const std::string& number)
|
||||
{
|
||||
number_ = number;
|
||||
setParameter("Number", number);
|
||||
}
|
||||
|
||||
std::string ModifyPhoneNumberRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyPhoneNumberRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/ModifyPhoneNumberResult.cc
Normal file
65
ccc/src/model/ModifyPhoneNumberResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ModifyPhoneNumberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifyPhoneNumberResult::ModifyPhoneNumberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyPhoneNumberResult::ModifyPhoneNumberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyPhoneNumberResult::~ModifyPhoneNumberResult()
|
||||
{}
|
||||
|
||||
void ModifyPhoneNumberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyPhoneNumberResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifyPhoneNumberResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyPhoneNumberResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
ccc/src/model/ModifySkillGroupRequest.cc
Normal file
73
ccc/src/model/ModifySkillGroupRequest.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/ccc/model/ModifySkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifySkillGroupRequest;
|
||||
|
||||
ModifySkillGroupRequest::ModifySkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ModifySkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifySkillGroupRequest::~ModifySkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string ModifySkillGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifySkillGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifySkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifySkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifySkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void ModifySkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string ModifySkillGroupRequest::getDisplayName()const
|
||||
{
|
||||
return displayName_;
|
||||
}
|
||||
|
||||
void ModifySkillGroupRequest::setDisplayName(const std::string& displayName)
|
||||
{
|
||||
displayName_ = displayName;
|
||||
setParameter("DisplayName", displayName);
|
||||
}
|
||||
|
||||
65
ccc/src/model/ModifySkillGroupResult.cc
Normal file
65
ccc/src/model/ModifySkillGroupResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ModifySkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifySkillGroupResult::ModifySkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifySkillGroupResult::ModifySkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifySkillGroupResult::~ModifySkillGroupResult()
|
||||
{}
|
||||
|
||||
void ModifySkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifySkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifySkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifySkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.cc
Normal file
62
ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.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/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifyUserLevelsOfSkillGroupRequest;
|
||||
|
||||
ModifyUserLevelsOfSkillGroupRequest::ModifyUserLevelsOfSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ModifyUserLevelsOfSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyUserLevelsOfSkillGroupRequest::~ModifyUserLevelsOfSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupRequest::getUserLevelList()const
|
||||
{
|
||||
return userLevelList_;
|
||||
}
|
||||
|
||||
void ModifyUserLevelsOfSkillGroupRequest::setUserLevelList(const std::string& userLevelList)
|
||||
{
|
||||
userLevelList_ = userLevelList;
|
||||
setParameter("UserLevelList", userLevelList);
|
||||
}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyUserLevelsOfSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void ModifyUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
72
ccc/src/model/ModifyUserLevelsOfSkillGroupResult.cc
Normal file
72
ccc/src/model/ModifyUserLevelsOfSkillGroupResult.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/ccc/model/ModifyUserLevelsOfSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifyUserLevelsOfSkillGroupResult::ModifyUserLevelsOfSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyUserLevelsOfSkillGroupResult::ModifyUserLevelsOfSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyUserLevelsOfSkillGroupResult::~ModifyUserLevelsOfSkillGroupResult()
|
||||
{}
|
||||
|
||||
void ModifyUserLevelsOfSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifyUserLevelsOfSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ModifyUserLevelsOfSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
ccc/src/model/ModifyUserRequest.cc
Normal file
84
ccc/src/model/ModifyUserRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ModifyUserRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifyUserRequest;
|
||||
|
||||
ModifyUserRequest::ModifyUserRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ModifyUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyUserRequest::~ModifyUserRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyUserRequest::getRoleId()const
|
||||
{
|
||||
return roleId_;
|
||||
}
|
||||
|
||||
void ModifyUserRequest::setRoleId(const std::string& roleId)
|
||||
{
|
||||
roleId_ = roleId;
|
||||
setParameter("RoleId", roleId);
|
||||
}
|
||||
|
||||
std::string ModifyUserRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void ModifyUserRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string ModifyUserRequest::getWorkMode()const
|
||||
{
|
||||
return workMode_;
|
||||
}
|
||||
|
||||
void ModifyUserRequest::setWorkMode(const std::string& workMode)
|
||||
{
|
||||
workMode_ = workMode;
|
||||
setParameter("WorkMode", workMode);
|
||||
}
|
||||
|
||||
std::string ModifyUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void ModifyUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string ModifyUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
80
ccc/src/model/ModifyUserResult.cc
Normal file
80
ccc/src/model/ModifyUserResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/ModifyUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifyUserResult::ModifyUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyUserResult::ModifyUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyUserResult::~ModifyUserResult()
|
||||
{}
|
||||
|
||||
void ModifyUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParams = value["Params"]["Param"];
|
||||
for (const auto &item : allParams)
|
||||
params_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifyUserResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyUserResult::getParams()const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
std::string ModifyUserResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ModifyUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.cc
Normal file
62
ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.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/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::RemovePhoneNumbersFromSkillGroupRequest;
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupRequest::RemovePhoneNumbersFromSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumbersFromSkillGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupRequest::~RemovePhoneNumbersFromSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string RemovePhoneNumbersFromSkillGroupRequest::getNumberList()const
|
||||
{
|
||||
return numberList_;
|
||||
}
|
||||
|
||||
void RemovePhoneNumbersFromSkillGroupRequest::setNumberList(const std::string& numberList)
|
||||
{
|
||||
numberList_ = numberList;
|
||||
setParameter("NumberList", numberList);
|
||||
}
|
||||
|
||||
std::string RemovePhoneNumbersFromSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RemovePhoneNumbersFromSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string RemovePhoneNumbersFromSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void RemovePhoneNumbersFromSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/RemovePhoneNumbersFromSkillGroupResult.cc
Normal file
65
ccc/src/model/RemovePhoneNumbersFromSkillGroupResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/RemovePhoneNumbersFromSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupResult::RemovePhoneNumbersFromSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupResult::RemovePhoneNumbersFromSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemovePhoneNumbersFromSkillGroupResult::~RemovePhoneNumbersFromSkillGroupResult()
|
||||
{}
|
||||
|
||||
void RemovePhoneNumbersFromSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RemovePhoneNumbersFromSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int RemovePhoneNumbersFromSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string RemovePhoneNumbersFromSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
117
ccc/src/model/StartBack2BackCallRequest.cc
Normal file
117
ccc/src/model/StartBack2BackCallRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/StartBack2BackCallRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::StartBack2BackCallRequest;
|
||||
|
||||
StartBack2BackCallRequest::StartBack2BackCallRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "StartBack2BackCall")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartBack2BackCallRequest::~StartBack2BackCallRequest()
|
||||
{}
|
||||
|
||||
std::string StartBack2BackCallRequest::getCallee()const
|
||||
{
|
||||
return callee_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setParameter("Callee", callee);
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getBroker()const
|
||||
{
|
||||
return broker_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setBroker(const std::string& broker)
|
||||
{
|
||||
broker_ = broker;
|
||||
setParameter("Broker", broker);
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getAdditionalBroker()const
|
||||
{
|
||||
return additionalBroker_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setAdditionalBroker(const std::string& additionalBroker)
|
||||
{
|
||||
additionalBroker_ = additionalBroker;
|
||||
setParameter("AdditionalBroker", additionalBroker);
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setParameter("Tags", tags);
|
||||
}
|
||||
|
||||
int StartBack2BackCallRequest::getTimeoutSeconds()const
|
||||
{
|
||||
return timeoutSeconds_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setTimeoutSeconds(int timeoutSeconds)
|
||||
{
|
||||
timeoutSeconds_ = timeoutSeconds;
|
||||
setParameter("TimeoutSeconds", std::to_string(timeoutSeconds));
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getCaller()const
|
||||
{
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setCaller(const std::string& caller)
|
||||
{
|
||||
caller_ = caller;
|
||||
setParameter("Caller", caller);
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void StartBack2BackCallRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
150
ccc/src/model/StartBack2BackCallResult.cc
Normal file
150
ccc/src/model/StartBack2BackCallResult.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/StartBack2BackCallResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
StartBack2BackCallResult::StartBack2BackCallResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartBack2BackCallResult::StartBack2BackCallResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartBack2BackCallResult::~StartBack2BackCallResult()
|
||||
{}
|
||||
|
||||
void StartBack2BackCallResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto callContextNode = dataNode["CallContext"];
|
||||
if(!callContextNode["CallType"].isNull())
|
||||
data_.callContext.callType = callContextNode["CallType"].asString();
|
||||
if(!callContextNode["InstanceId"].isNull())
|
||||
data_.callContext.instanceId = callContextNode["InstanceId"].asString();
|
||||
if(!callContextNode["JobId"].isNull())
|
||||
data_.callContext.jobId = callContextNode["JobId"].asString();
|
||||
auto allChannelContextsNode = callContextNode["ChannelContexts"]["ChannelContext"];
|
||||
for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode)
|
||||
{
|
||||
Data::CallContext::ChannelContext channelContextObject;
|
||||
if(!callContextNodeChannelContextsChannelContext["AssociatedData"].isNull())
|
||||
channelContextObject.associatedData = callContextNodeChannelContextsChannelContext["AssociatedData"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["CallType"].isNull())
|
||||
channelContextObject.callType = callContextNodeChannelContextsChannelContext["CallType"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["ChannelFlags"].isNull())
|
||||
channelContextObject.channelFlags = callContextNodeChannelContextsChannelContext["ChannelFlags"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["ChannelId"].isNull())
|
||||
channelContextObject.channelId = callContextNodeChannelContextsChannelContext["ChannelId"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["ChannelState"].isNull())
|
||||
channelContextObject.channelState = callContextNodeChannelContextsChannelContext["ChannelState"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["Destination"].isNull())
|
||||
channelContextObject.destination = callContextNodeChannelContextsChannelContext["Destination"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["JobId"].isNull())
|
||||
channelContextObject.jobId = callContextNodeChannelContextsChannelContext["JobId"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["Originator"].isNull())
|
||||
channelContextObject.originator = callContextNodeChannelContextsChannelContext["Originator"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["ReleaseInitiator"].isNull())
|
||||
channelContextObject.releaseInitiator = callContextNodeChannelContextsChannelContext["ReleaseInitiator"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["ReleaseReason"].isNull())
|
||||
channelContextObject.releaseReason = callContextNodeChannelContextsChannelContext["ReleaseReason"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["Timestamp"].isNull())
|
||||
channelContextObject.timestamp = std::stol(callContextNodeChannelContextsChannelContext["Timestamp"].asString());
|
||||
if(!callContextNodeChannelContextsChannelContext["UserExtension"].isNull())
|
||||
channelContextObject.userExtension = callContextNodeChannelContextsChannelContext["UserExtension"].asString();
|
||||
if(!callContextNodeChannelContextsChannelContext["UserId"].isNull())
|
||||
channelContextObject.userId = callContextNodeChannelContextsChannelContext["UserId"].asString();
|
||||
data_.callContext.channelContexts.push_back(channelContextObject);
|
||||
}
|
||||
auto userContextNode = dataNode["UserContext"];
|
||||
if(!userContextNode["BreakCode"].isNull())
|
||||
data_.userContext.breakCode = userContextNode["BreakCode"].asString();
|
||||
if(!userContextNode["DeviceId"].isNull())
|
||||
data_.userContext.deviceId = userContextNode["DeviceId"].asString();
|
||||
if(!userContextNode["DeviceState"].isNull())
|
||||
data_.userContext.deviceState = userContextNode["DeviceState"].asString();
|
||||
if(!userContextNode["Extension"].isNull())
|
||||
data_.userContext.extension = userContextNode["Extension"].asString();
|
||||
if(!userContextNode["Heartbeat"].isNull())
|
||||
data_.userContext.heartbeat = std::stol(userContextNode["Heartbeat"].asString());
|
||||
if(!userContextNode["InstanceId"].isNull())
|
||||
data_.userContext.instanceId = userContextNode["InstanceId"].asString();
|
||||
if(!userContextNode["JobId"].isNull())
|
||||
data_.userContext.jobId = userContextNode["JobId"].asString();
|
||||
if(!userContextNode["Mobile"].isNull())
|
||||
data_.userContext.mobile = userContextNode["Mobile"].asString();
|
||||
if(!userContextNode["OutboundScenario"].isNull())
|
||||
data_.userContext.outboundScenario = userContextNode["OutboundScenario"].asString() == "true";
|
||||
if(!userContextNode["Reserved"].isNull())
|
||||
data_.userContext.reserved = std::stol(userContextNode["Reserved"].asString());
|
||||
if(!userContextNode["Uri"].isNull())
|
||||
data_.userContext.uri = userContextNode["Uri"].asString();
|
||||
if(!userContextNode["UserId"].isNull())
|
||||
data_.userContext.userId = userContextNode["UserId"].asString();
|
||||
if(!userContextNode["UserState"].isNull())
|
||||
data_.userContext.userState = userContextNode["UserState"].asString();
|
||||
if(!userContextNode["WorkMode"].isNull())
|
||||
data_.userContext.workMode = userContextNode["WorkMode"].asString();
|
||||
auto allSignedSkillGroupIdList = userContextNode["SignedSkillGroupIdList"]["SkillGroupId"];
|
||||
for (auto value : allSignedSkillGroupIdList)
|
||||
data_.userContext.signedSkillGroupIdList.push_back(value.asString());
|
||||
auto allParams = value["Params"]["Param"];
|
||||
for (const auto &item : allParams)
|
||||
params_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int StartBack2BackCallResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> StartBack2BackCallResult::getParams()const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
StartBack2BackCallResult::Data StartBack2BackCallResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string StartBack2BackCallResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -97,8 +97,6 @@ set(cloudauth_public_header_model
|
||||
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
|
||||
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
|
||||
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
|
||||
include/alibabacloud/cloudauth/model/LivenessDetectRequest.h
|
||||
include/alibabacloud/cloudauth/model/LivenessDetectResult.h
|
||||
include/alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h
|
||||
include/alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h
|
||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
||||
@@ -113,6 +111,8 @@ set(cloudauth_public_header_model
|
||||
include/alibabacloud/cloudauth/model/UpdateFaceConfigResult.h
|
||||
include/alibabacloud/cloudauth/model/UpdateVerifySettingRequest.h
|
||||
include/alibabacloud/cloudauth/model/UpdateVerifySettingResult.h
|
||||
include/alibabacloud/cloudauth/model/VerifyBankElementRequest.h
|
||||
include/alibabacloud/cloudauth/model/VerifyBankElementResult.h
|
||||
include/alibabacloud/cloudauth/model/VerifyDeviceRequest.h
|
||||
include/alibabacloud/cloudauth/model/VerifyDeviceResult.h
|
||||
include/alibabacloud/cloudauth/model/VerifyMaterialRequest.h
|
||||
@@ -196,8 +196,6 @@ set(cloudauth_src
|
||||
src/model/InitFaceVerifyResult.cc
|
||||
src/model/InitSmartVerifyRequest.cc
|
||||
src/model/InitSmartVerifyResult.cc
|
||||
src/model/LivenessDetectRequest.cc
|
||||
src/model/LivenessDetectResult.cc
|
||||
src/model/LivenessFaceVerifyRequest.cc
|
||||
src/model/LivenessFaceVerifyResult.cc
|
||||
src/model/ModifyDeviceInfoRequest.cc
|
||||
@@ -212,6 +210,8 @@ set(cloudauth_src
|
||||
src/model/UpdateFaceConfigResult.cc
|
||||
src/model/UpdateVerifySettingRequest.cc
|
||||
src/model/UpdateVerifySettingResult.cc
|
||||
src/model/VerifyBankElementRequest.cc
|
||||
src/model/VerifyBankElementResult.cc
|
||||
src/model/VerifyDeviceRequest.cc
|
||||
src/model/VerifyDeviceResult.cc
|
||||
src/model/VerifyMaterialRequest.cc
|
||||
|
||||
@@ -98,8 +98,6 @@
|
||||
#include "model/InitFaceVerifyResult.h"
|
||||
#include "model/InitSmartVerifyRequest.h"
|
||||
#include "model/InitSmartVerifyResult.h"
|
||||
#include "model/LivenessDetectRequest.h"
|
||||
#include "model/LivenessDetectResult.h"
|
||||
#include "model/LivenessFaceVerifyRequest.h"
|
||||
#include "model/LivenessFaceVerifyResult.h"
|
||||
#include "model/ModifyDeviceInfoRequest.h"
|
||||
@@ -114,6 +112,8 @@
|
||||
#include "model/UpdateFaceConfigResult.h"
|
||||
#include "model/UpdateVerifySettingRequest.h"
|
||||
#include "model/UpdateVerifySettingResult.h"
|
||||
#include "model/VerifyBankElementRequest.h"
|
||||
#include "model/VerifyBankElementResult.h"
|
||||
#include "model/VerifyDeviceRequest.h"
|
||||
#include "model/VerifyDeviceResult.h"
|
||||
#include "model/VerifyMaterialRequest.h"
|
||||
@@ -241,9 +241,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
|
||||
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::LivenessDetectResult> LivenessDetectOutcome;
|
||||
typedef std::future<LivenessDetectOutcome> LivenessDetectOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::LivenessDetectRequest&, const LivenessDetectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LivenessDetectAsyncHandler;
|
||||
typedef Outcome<Error, Model::LivenessFaceVerifyResult> LivenessFaceVerifyOutcome;
|
||||
typedef std::future<LivenessFaceVerifyOutcome> LivenessFaceVerifyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::LivenessFaceVerifyRequest&, const LivenessFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LivenessFaceVerifyAsyncHandler;
|
||||
@@ -265,6 +262,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateVerifySettingResult> UpdateVerifySettingOutcome;
|
||||
typedef std::future<UpdateVerifySettingOutcome> UpdateVerifySettingOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::UpdateVerifySettingRequest&, const UpdateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVerifySettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::VerifyBankElementResult> VerifyBankElementOutcome;
|
||||
typedef std::future<VerifyBankElementOutcome> VerifyBankElementOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::VerifyBankElementRequest&, const VerifyBankElementOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyBankElementAsyncHandler;
|
||||
typedef Outcome<Error, Model::VerifyDeviceResult> VerifyDeviceOutcome;
|
||||
typedef std::future<VerifyDeviceOutcome> VerifyDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::VerifyDeviceRequest&, const VerifyDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyDeviceAsyncHandler;
|
||||
@@ -390,9 +390,6 @@ namespace AlibabaCloud
|
||||
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
|
||||
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
|
||||
LivenessDetectOutcome livenessDetect(const Model::LivenessDetectRequest &request)const;
|
||||
void livenessDetectAsync(const Model::LivenessDetectRequest& request, const LivenessDetectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LivenessDetectOutcomeCallable livenessDetectCallable(const Model::LivenessDetectRequest& request) const;
|
||||
LivenessFaceVerifyOutcome livenessFaceVerify(const Model::LivenessFaceVerifyRequest &request)const;
|
||||
void livenessFaceVerifyAsync(const Model::LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LivenessFaceVerifyOutcomeCallable livenessFaceVerifyCallable(const Model::LivenessFaceVerifyRequest& request) const;
|
||||
@@ -414,6 +411,9 @@ namespace AlibabaCloud
|
||||
UpdateVerifySettingOutcome updateVerifySetting(const Model::UpdateVerifySettingRequest &request)const;
|
||||
void updateVerifySettingAsync(const Model::UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateVerifySettingOutcomeCallable updateVerifySettingCallable(const Model::UpdateVerifySettingRequest& request) const;
|
||||
VerifyBankElementOutcome verifyBankElement(const Model::VerifyBankElementRequest &request)const;
|
||||
void verifyBankElementAsync(const Model::VerifyBankElementRequest& request, const VerifyBankElementAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VerifyBankElementOutcomeCallable verifyBankElementCallable(const Model::VerifyBankElementRequest& request) const;
|
||||
VerifyDeviceOutcome verifyDevice(const Model::VerifyDeviceRequest &request)const;
|
||||
void verifyDeviceAsync(const Model::VerifyDeviceRequest& request, const VerifyDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VerifyDeviceOutcomeCallable verifyDeviceCallable(const Model::VerifyDeviceRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCertFile()const;
|
||||
void setCertFile(const std::string& certFile);
|
||||
std::string getCertNationalEmblemUrl()const;
|
||||
void setCertNationalEmblemUrl(const std::string& certNationalEmblemUrl);
|
||||
std::string getCertName()const;
|
||||
void setCertName(const std::string& certName);
|
||||
std::string getMode()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string certFile_;
|
||||
std::string certNationalEmblemUrl_;
|
||||
std::string certName_;
|
||||
std::string mode_;
|
||||
std::string certNo_;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct ResultObject
|
||||
{
|
||||
std::string passed;
|
||||
std::string certifyId;
|
||||
std::string materialInfo;
|
||||
std::string subCode;
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
InitSmartVerifyRequest();
|
||||
~InitSmartVerifyRequest();
|
||||
|
||||
std::string getIdName()const;
|
||||
void setIdName(const std::string& idName);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getCertifyId()const;
|
||||
@@ -63,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setCertName(const std::string& certName);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getIdNo()const;
|
||||
void setIdNo(const std::string& idNo);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
std::string getCallbackToken()const;
|
||||
@@ -73,6 +77,7 @@ namespace AlibabaCloud
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
|
||||
private:
|
||||
std::string idName_;
|
||||
std::string userId_;
|
||||
std::string certifyId_;
|
||||
std::string facePictureBase64_;
|
||||
@@ -87,6 +92,7 @@ namespace AlibabaCloud
|
||||
std::string ip_;
|
||||
std::string certName_;
|
||||
std::string mobile_;
|
||||
std::string idNo_;
|
||||
long sceneId_;
|
||||
std::string callbackToken_;
|
||||
std::string ossBucketName_;
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CLOUDAUTH_MODEL_LIVENESSDETECTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSDETECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessDetectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LivenessDetectRequest();
|
||||
~LivenessDetectRequest();
|
||||
|
||||
std::string getMediaCategory()const;
|
||||
void setMediaCategory(const std::string& mediaCategory);
|
||||
std::string getMediaUrl()const;
|
||||
void setMediaUrl(const std::string& mediaUrl);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getMediaFile()const;
|
||||
void setMediaFile(const std::string& mediaFile);
|
||||
|
||||
private:
|
||||
std::string mediaCategory_;
|
||||
std::string mediaUrl_;
|
||||
std::string bizType_;
|
||||
std::string bizId_;
|
||||
std::string mediaFile_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSDETECTREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyBankElementRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VerifyBankElementRequest();
|
||||
~VerifyBankElementRequest();
|
||||
|
||||
std::string getIdName()const;
|
||||
void setIdName(const std::string& idName);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getBankCardUrl()const;
|
||||
void setBankCardUrl(const std::string& bankCardUrl);
|
||||
std::string getIdNo()const;
|
||||
void setIdNo(const std::string& idNo);
|
||||
std::string getBankCardNo()const;
|
||||
void setBankCardNo(const std::string& bankCardNo);
|
||||
std::string getMode()const;
|
||||
void setMode(const std::string& mode);
|
||||
std::string getOuterOrderNo()const;
|
||||
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||
std::string getBankCardFile()const;
|
||||
void setBankCardFile(const std::string& bankCardFile);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
|
||||
private:
|
||||
std::string idName_;
|
||||
std::string mobile_;
|
||||
std::string bankCardUrl_;
|
||||
std::string idNo_;
|
||||
std::string bankCardNo_;
|
||||
std::string mode_;
|
||||
std::string outerOrderNo_;
|
||||
std::string bankCardFile_;
|
||||
long sceneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSDETECTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSDETECTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,20 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessDetectResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyBankElementResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultObject
|
||||
{
|
||||
std::string passed;
|
||||
float score;
|
||||
std::string frameUrl;
|
||||
std::string certifyId;
|
||||
std::string materialInfo;
|
||||
std::string subCode;
|
||||
};
|
||||
|
||||
|
||||
LivenessDetectResult();
|
||||
explicit LivenessDetectResult(const std::string &payload);
|
||||
~LivenessDetectResult();
|
||||
VerifyBankElementResult();
|
||||
explicit VerifyBankElementResult(const std::string &payload);
|
||||
~VerifyBankElementResult();
|
||||
ResultObject getResultObject()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
@@ -58,4 +59,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSDETECTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYBANKELEMENTRESULT_H_
|
||||
@@ -1419,42 +1419,6 @@ CloudauthClient::InitSmartVerifyOutcomeCallable CloudauthClient::initSmartVerify
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::LivenessDetectOutcome CloudauthClient::livenessDetect(const LivenessDetectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LivenessDetectOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LivenessDetectOutcome(LivenessDetectResult(outcome.result()));
|
||||
else
|
||||
return LivenessDetectOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::livenessDetectAsync(const LivenessDetectRequest& request, const LivenessDetectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, livenessDetect(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::LivenessDetectOutcomeCallable CloudauthClient::livenessDetectCallable(const LivenessDetectRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LivenessDetectOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->livenessDetect(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::LivenessFaceVerifyOutcome CloudauthClient::livenessFaceVerify(const LivenessFaceVerifyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1671,42 @@ CloudauthClient::UpdateVerifySettingOutcomeCallable CloudauthClient::updateVerif
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::VerifyBankElementOutcome CloudauthClient::verifyBankElement(const VerifyBankElementRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VerifyBankElementOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VerifyBankElementOutcome(VerifyBankElementResult(outcome.result()));
|
||||
else
|
||||
return VerifyBankElementOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::verifyBankElementAsync(const VerifyBankElementRequest& request, const VerifyBankElementAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, verifyBankElement(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::VerifyBankElementOutcomeCallable CloudauthClient::verifyBankElementCallable(const VerifyBankElementRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VerifyBankElementOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->verifyBankElement(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::VerifyDeviceOutcome CloudauthClient::verifyDevice(const VerifyDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -38,6 +38,17 @@ void ElementSmartVerifyRequest::setCertFile(const std::string& certFile)
|
||||
setBodyParameter("CertFile", certFile);
|
||||
}
|
||||
|
||||
std::string ElementSmartVerifyRequest::getCertNationalEmblemUrl()const
|
||||
{
|
||||
return certNationalEmblemUrl_;
|
||||
}
|
||||
|
||||
void ElementSmartVerifyRequest::setCertNationalEmblemUrl(const std::string& certNationalEmblemUrl)
|
||||
{
|
||||
certNationalEmblemUrl_ = certNationalEmblemUrl;
|
||||
setBodyParameter("CertNationalEmblemUrl", certNationalEmblemUrl);
|
||||
}
|
||||
|
||||
std::string ElementSmartVerifyRequest::getCertName()const
|
||||
{
|
||||
return certName_;
|
||||
|
||||
@@ -46,6 +46,8 @@ void ElementSmartVerifyResult::parse(const std::string &payload)
|
||||
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||
if(!resultObjectNode["MaterialInfo"].isNull())
|
||||
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
|
||||
if(!resultObjectNode["CertifyId"].isNull())
|
||||
resultObject_.certifyId = resultObjectNode["CertifyId"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -27,6 +27,17 @@ InitSmartVerifyRequest::InitSmartVerifyRequest() :
|
||||
InitSmartVerifyRequest::~InitSmartVerifyRequest()
|
||||
{}
|
||||
|
||||
std::string InitSmartVerifyRequest::getIdName()const
|
||||
{
|
||||
return idName_;
|
||||
}
|
||||
|
||||
void InitSmartVerifyRequest::setIdName(const std::string& idName)
|
||||
{
|
||||
idName_ = idName;
|
||||
setBodyParameter("IdName", idName);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
@@ -181,6 +192,17 @@ void InitSmartVerifyRequest::setMobile(const std::string& mobile)
|
||||
setBodyParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getIdNo()const
|
||||
{
|
||||
return idNo_;
|
||||
}
|
||||
|
||||
void InitSmartVerifyRequest::setIdNo(const std::string& idNo)
|
||||
{
|
||||
idNo_ = idNo;
|
||||
setBodyParameter("IdNo", idNo);
|
||||
}
|
||||
|
||||
long InitSmartVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cloudauth/model/LivenessDetectRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::LivenessDetectRequest;
|
||||
|
||||
LivenessDetectRequest::LivenessDetectRequest() :
|
||||
RpcServiceRequest("cloudauth", "2020-11-12", "LivenessDetect")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LivenessDetectRequest::~LivenessDetectRequest()
|
||||
{}
|
||||
|
||||
std::string LivenessDetectRequest::getMediaCategory()const
|
||||
{
|
||||
return mediaCategory_;
|
||||
}
|
||||
|
||||
void LivenessDetectRequest::setMediaCategory(const std::string& mediaCategory)
|
||||
{
|
||||
mediaCategory_ = mediaCategory;
|
||||
setBodyParameter("MediaCategory", mediaCategory);
|
||||
}
|
||||
|
||||
std::string LivenessDetectRequest::getMediaUrl()const
|
||||
{
|
||||
return mediaUrl_;
|
||||
}
|
||||
|
||||
void LivenessDetectRequest::setMediaUrl(const std::string& mediaUrl)
|
||||
{
|
||||
mediaUrl_ = mediaUrl;
|
||||
setBodyParameter("MediaUrl", mediaUrl);
|
||||
}
|
||||
|
||||
std::string LivenessDetectRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void LivenessDetectRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setBodyParameter("BizType", bizType);
|
||||
}
|
||||
|
||||
std::string LivenessDetectRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void LivenessDetectRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setBodyParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string LivenessDetectRequest::getMediaFile()const
|
||||
{
|
||||
return mediaFile_;
|
||||
}
|
||||
|
||||
void LivenessDetectRequest::setMediaFile(const std::string& mediaFile)
|
||||
{
|
||||
mediaFile_ = mediaFile;
|
||||
setBodyParameter("MediaFile", mediaFile);
|
||||
}
|
||||
|
||||
128
cloudauth/src/model/VerifyBankElementRequest.cc
Normal file
128
cloudauth/src/model/VerifyBankElementRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cloudauth/model/VerifyBankElementRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::VerifyBankElementRequest;
|
||||
|
||||
VerifyBankElementRequest::VerifyBankElementRequest() :
|
||||
RpcServiceRequest("cloudauth", "2020-06-18", "VerifyBankElement")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VerifyBankElementRequest::~VerifyBankElementRequest()
|
||||
{}
|
||||
|
||||
std::string VerifyBankElementRequest::getIdName()const
|
||||
{
|
||||
return idName_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setIdName(const std::string& idName)
|
||||
{
|
||||
idName_ = idName;
|
||||
setBodyParameter("IdName", idName);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setBodyParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getBankCardUrl()const
|
||||
{
|
||||
return bankCardUrl_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setBankCardUrl(const std::string& bankCardUrl)
|
||||
{
|
||||
bankCardUrl_ = bankCardUrl;
|
||||
setBodyParameter("BankCardUrl", bankCardUrl);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getIdNo()const
|
||||
{
|
||||
return idNo_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setIdNo(const std::string& idNo)
|
||||
{
|
||||
idNo_ = idNo;
|
||||
setBodyParameter("IdNo", idNo);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getBankCardNo()const
|
||||
{
|
||||
return bankCardNo_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setBankCardNo(const std::string& bankCardNo)
|
||||
{
|
||||
bankCardNo_ = bankCardNo;
|
||||
setBodyParameter("BankCardNo", bankCardNo);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getOuterOrderNo()const
|
||||
{
|
||||
return outerOrderNo_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setOuterOrderNo(const std::string& outerOrderNo)
|
||||
{
|
||||
outerOrderNo_ = outerOrderNo;
|
||||
setBodyParameter("OuterOrderNo", outerOrderNo);
|
||||
}
|
||||
|
||||
std::string VerifyBankElementRequest::getBankCardFile()const
|
||||
{
|
||||
return bankCardFile_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setBankCardFile(const std::string& bankCardFile)
|
||||
{
|
||||
bankCardFile_ = bankCardFile;
|
||||
setBodyParameter("BankCardFile", bankCardFile);
|
||||
}
|
||||
|
||||
long VerifyBankElementRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void VerifyBankElementRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudauth/model/LivenessDetectResult.h>
|
||||
#include <alibabacloud/cloudauth/model/VerifyBankElementResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudauth;
|
||||
using namespace AlibabaCloud::Cloudauth::Model;
|
||||
|
||||
LivenessDetectResult::LivenessDetectResult() :
|
||||
VerifyBankElementResult::VerifyBankElementResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LivenessDetectResult::LivenessDetectResult(const std::string &payload) :
|
||||
VerifyBankElementResult::VerifyBankElementResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LivenessDetectResult::~LivenessDetectResult()
|
||||
VerifyBankElementResult::~VerifyBankElementResult()
|
||||
{}
|
||||
|
||||
void LivenessDetectResult::parse(const std::string &payload)
|
||||
void VerifyBankElementResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -42,28 +42,30 @@ void LivenessDetectResult::parse(const std::string &payload)
|
||||
auto resultObjectNode = value["ResultObject"];
|
||||
if(!resultObjectNode["Passed"].isNull())
|
||||
resultObject_.passed = resultObjectNode["Passed"].asString();
|
||||
if(!resultObjectNode["Score"].isNull())
|
||||
resultObject_.score = std::stof(resultObjectNode["Score"].asString());
|
||||
if(!resultObjectNode["FrameUrl"].isNull())
|
||||
resultObject_.frameUrl = resultObjectNode["FrameUrl"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!resultObjectNode["SubCode"].isNull())
|
||||
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||
if(!resultObjectNode["MaterialInfo"].isNull())
|
||||
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
|
||||
if(!resultObjectNode["CertifyId"].isNull())
|
||||
resultObject_.certifyId = resultObjectNode["CertifyId"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
LivenessDetectResult::ResultObject LivenessDetectResult::getResultObject()const
|
||||
VerifyBankElementResult::ResultObject VerifyBankElementResult::getResultObject()const
|
||||
{
|
||||
return resultObject_;
|
||||
}
|
||||
|
||||
std::string LivenessDetectResult::getMessage()const
|
||||
std::string VerifyBankElementResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string LivenessDetectResult::getCode()const
|
||||
std::string VerifyBankElementResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
1
devops-rdc/2020-03-03/BatchInsertMembers.xml
Normal file
1
devops-rdc/2020-03-03/BatchInsertMembers.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="BatchInsertMembers" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/member/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="members" tagName="Members" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="realPk" tagName="RealPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/member/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Boolean" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CancelPipeline.xml
Normal file
1
devops-rdc/2020-03-03/CancelPipeline.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CancelPipeline" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://deops/api/pipeline/cancel#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="pipelineId" tagName="PipelineId" type="Long" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="flowInstanceId" tagName="FlowInstanceId" type="Long" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://devops_pre/api/pipeline/cancel#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="true"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="true"/><Member tagName="Object" visibility="Public" type="Boolean" name="object" nullToEmpty="false"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CheckAliyunAccountExists.xml
Normal file
1
devops-rdc/2020-03-03/CheckAliyunAccountExists.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CheckAliyunAccountExists" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidPipeline.NotFound" errorCode="InvalidPipeline.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified pipeline does not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/user/check/exists#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/user/check/exists#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="Object" visibility="Public" type="Boolean" name="object"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CheckResource.xml
Normal file
1
devops-rdc/2020-03-03/CheckResource.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Private" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CheckResource" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/account/checkResource#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="interrupt" tagName="Interrupt" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="invoker" tagName="Invoker" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="pk" tagName="Pk" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="bid" tagName="Bid" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="hid" tagName="Hid" type="Long" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="country" tagName="Country" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="taskIdentifier" tagName="TaskIdentifier" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="taskExtraData" tagName="TaskExtraData" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="gmtWakeup" tagName="GmtWakeup" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="success" tagName="Success" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="message" tagName="Message" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="level" tagName="Level" type="Long" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="url" tagName="Url" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="prompt" tagName="Prompt" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/account/checkResource#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Interrupt" visibility="Public" type="Boolean" name="interrupt" nullToEmpty="false"/><Member tagName="Invoker" visibility="Public" type="String" name="invoker" nullToEmpty="false"/><Member tagName="Pk" visibility="Public" type="String" name="pk" nullToEmpty="false"/><Member tagName="Bid" visibility="Public" type="String" name="bid" nullToEmpty="false"/><Member tagName="Hid" visibility="Public" type="Long" name="hid" nullToEmpty="false"/><Member tagName="Country" visibility="Public" type="String" name="country" nullToEmpty="false"/><Member tagName="TaskIdentifier" visibility="Public" type="String" name="taskIdentifier" nullToEmpty="false"/><Member tagName="TaskExtraData" visibility="Public" type="String" name="taskExtraData" nullToEmpty="false"/><Member tagName="GmtWakeup" visibility="Public" type="String" name="gmtWakeup" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="success" nullToEmpty="false"/><Member tagName="Message" visibility="Public" type="String" name="message" nullToEmpty="false"/><Member tagName="Level" visibility="Public" type="Long" name="level" nullToEmpty="false"/><Member tagName="Url" visibility="Public" type="String" name="url" nullToEmpty="false"/><Member tagName="Prompt" visibility="Public" type="String" name="prompt" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateCommonGroup.xml
Normal file
1
devops-rdc/2020-03-03/CreateCommonGroup.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreateCommonGroup" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/smartGroup/commonGroup/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="projectId" tagName="ProjectId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="description" tagName="Description" type="String" required="false" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="smartGroupId" tagName="SmartGroupId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="name" tagName="Name" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/smartGroup/commonGroup/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Struct tagName="Object" visibility="Public" name="object"><Member tagName="Id" visibility="Public" type="String" name="id"/></Struct></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateCredential.xml
Normal file
1
devops-rdc/2020-03-03/CreateCredential.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreateCredential" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidPipeline.NotFound" errorCode="InvalidPipeline.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified pipeline does not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /><ErrorCode code="SystemError.UnKnownError" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://deops/api/credential/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="name" tagName="Name" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="username" tagName="UserName" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="password" tagName="Password" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="type" tagName="Type" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="1" apiDefault="50" /><PreIspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://devops_pre/api/credential/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="ErrorCode" nullToEmpty="true"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="true"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Long" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateDevopsOrganization.xml
Normal file
1
devops-rdc/2020-03-03/CreateDevopsOrganization.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreateDevopsOrganization" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/organization/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgName" tagName="OrgName" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="source" tagName="Source" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="realPk" tagName="RealPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="desiredMemberCount" tagName="DesiredMemberCount" type="Integer" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/organization/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="String" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateDevopsProject.xml
Normal file
1
devops-rdc/2020-03-03/CreateDevopsProject.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreateDevopsProject" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/project/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="name" tagName="Name" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="description" tagName="Description" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/project/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="String" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateDevopsProjectSprint.xml
Normal file
1
devops-rdc/2020-03-03/CreateDevopsProjectSprint.xml
Normal file
File diff suppressed because one or more lines are too long
1
devops-rdc/2020-03-03/CreateDevopsProjectTask.xml
Normal file
1
devops-rdc/2020-03-03/CreateDevopsProjectTask.xml
Normal file
File diff suppressed because one or more lines are too long
1
devops-rdc/2020-03-03/CreatePipeline.xml
Normal file
1
devops-rdc/2020-03-03/CreatePipeline.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreatePipeline" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidPipeline.NotFound" errorCode="InvalidPipeline.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified pipeline does not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /><ErrorCode code="SystemError.UnKnownError" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://deops/api/pipeline/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="pipeline" tagName="Pipeline" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://devops_pre/api/pipeline/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Long" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/CreateServiceConnection.xml
Normal file
1
devops-rdc/2020-03-03/CreateServiceConnection.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="CreateServiceConnection" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidPipeline.NotFound" errorCode="InvalidPipeline.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified pipeline does not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /><ErrorCode code="SystemError.UnKnownError" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://deops/api/serviceConnection/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="serviceConnectionType" tagName="ServiceConnectionType" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://devops_pre/api/serviceConnection/create#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Long" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteCommonGroup.xml
Normal file
1
devops-rdc/2020-03-03/DeleteCommonGroup.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteCommonGroup" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/smartGroup/commonGroup/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="projectId" tagName="ProjectId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="commonGroupId" tagName="CommonGroupId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/smartGroup/commonGroup/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Struct tagName="Object" visibility="Public" name="object"><Member tagName="Id" visibility="Public" type="String" name="_id"/></Struct></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteDevopsOrganization.xml
Normal file
1
devops-rdc/2020-03-03/DeleteDevopsOrganization.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsOrganization" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /><ErrorCode code="SystemError.UnKnownError" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/organization/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/organization/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="String" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="disable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsOrganizationMembers" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/member/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="userId" tagName="UserId" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="realPk" tagName="RealPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/member/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Boolean" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteDevopsProject.xml
Normal file
1
devops-rdc/2020-03-03/DeleteDevopsProject.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Enable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsProject" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/project/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="projectId" tagName="ProjectId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/project/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="String" name="object" nullToEmpty="false"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteDevopsProjectMembers.xml
Normal file
1
devops-rdc/2020-03-03/DeleteDevopsProjectMembers.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsProjectMembers" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/project/members/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="projectId" tagName="ProjectId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="userIds" tagName="UserIds" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/project/members/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="Object" visibility="Public" type="Boolean" name="object"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteDevopsProjectSprint.xml
Normal file
1
devops-rdc/2020-03-03/DeleteDevopsProjectSprint.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsProjectSprint" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/sprint/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="sprintId" tagName="SprintId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/sprint/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="Object" visibility="Public" type="Boolean" name="object"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeleteDevopsProjectTask.xml
Normal file
1
devops-rdc/2020-03-03/DeleteDevopsProjectTask.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeleteDevopsProjectTask" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidOrganization.NotFound" errorCode="InvalidOrganization.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified organization doe not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_prod/api/pop/task/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="taskId" tagName="TaskId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-project" timeout="5000" protocol="http" httpHost="http://project_api_pre/api/pop/task/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Successful" visibility="Public" type="Boolean" name="successful"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="ErrorMsg" visibility="Public" type="String" name="errorMsg"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="Object" visibility="Public" type="Boolean" name="object"/></ResultMapping></Api>
|
||||
1
devops-rdc/2020-03-03/DeletePipelineMember.xml
Normal file
1
devops-rdc/2020-03-03/DeletePipelineMember.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="devops-rdc" visibility="Public" akProvenStatus="Disable" version="2020-03-03" keepClientResourceOwnerId="false" name="DeletePipelineMember" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="successful=false,errorCode,errorMsg,httpStatusCode,errorCode,errorMsg"><ErrorCodes><ErrorCode code="InvalidPipeline.NotFound" errorCode="InvalidPipeline.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified pipeline does not exist." /><ErrorCode code="InvalidUser.NotFound" errorCode="InvalidUser.NotFound" type="user" httpCode="404" extendedErrorCode="" errorMessage="The specified user does not exist." /><ErrorCode code="InvalidUser.UserNotInCurrentOrganization" errorCode="InvalidUser.UserNotInCurrentOrganization" type="user" httpCode="400" extendedErrorCode="" errorMessage="The user does not belong to the specified organization." /><ErrorCode code="SystemError.UnKnownError" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://deops/api/pipeline/members/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="aliyunPk" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="pipelineId" tagName="PipelineId" type="Long" required="true" tagPosition="Query" docRequired="true" checkBlank="false" minValue="1" maxValue="999999999999999" visibility="Public"/><Parameter name="signature" tagName="Signature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureType" tagName="SignatureType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sigantureVersion" tagName="SignatureVersion" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecret" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userPk" tagName="UserPk" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="userId" tagName="UserId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="100" apiDefault="200" /><PreIspProtocol sign="true" signKeyName="devops-secret" timeout="5000" protocol="http" httpHost="http://devops_pre/api/pipeline/members/delete#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Success" visibility="Public" type="Boolean" name="successful" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="true"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="true"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="Object" visibility="Public" type="Boolean" name="object" nullToEmpty="false"/></ResultMapping></Api>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user