From 9d56952627faf141d5fd8db3e1cb814f5a3e8298 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 30 Jul 2021 06:16:36 +0000 Subject: [PATCH] Update Dyvmsapi SDK. --- CHANGELOG | 3 + VERSION | 2 +- dyvmsapi/CMakeLists.txt | 80 ++ .../alibabacloud/dyvmsapi/DyvmsapiClient.h | 160 ++++ .../model/AddVirtualNumberRelationRequest.h | 72 ++ .../model/AddVirtualNumberRelationResult.h | 55 ++ .../dyvmsapi/model/CloseSipAccountRequest.h | 63 ++ .../dyvmsapi/model/CloseSipAccountResult.h | 55 ++ .../dyvmsapi/model/CreateCallTaskRequest.h | 90 +++ .../dyvmsapi/model/CreateCallTaskResult.h | 53 ++ .../dyvmsapi/model/CreateSipAccountRequest.h | 63 ++ .../dyvmsapi/model/CreateSipAccountResult.h | 61 ++ .../dyvmsapi/model/DoubleCallSeatRequest.h | 93 +++ .../dyvmsapi/model/DoubleCallSeatResult.h | 55 ++ .../dyvmsapi/model/ExecuteCallTaskRequest.h | 66 ++ .../dyvmsapi/model/ExecuteCallTaskResult.h | 53 ++ .../GetHotlineQualificationByOrderRequest.h | 60 ++ .../GetHotlineQualificationByOrderResult.h | 61 ++ .../dyvmsapi/model/GetTokenRequest.h | 60 ++ .../dyvmsapi/model/GetTokenResult.h | 57 ++ .../model/ListCallTaskDetailRequest.h | 72 ++ .../dyvmsapi/model/ListCallTaskDetailResult.h | 69 ++ .../dyvmsapi/model/ListCallTaskRequest.h | 78 ++ .../dyvmsapi/model/ListCallTaskResult.h | 77 ++ .../model/ListHotlineTransferNumberRequest.h | 69 ++ .../model/ListHotlineTransferNumberResult.h | 71 ++ .../ListHotlineTransferRegisterFileRequest.h | 69 ++ .../ListHotlineTransferRegisterFileResult.h | 74 ++ .../model/ListRobotTaskCallsRequest.h | 87 +++ .../dyvmsapi/model/ListRobotTaskCallsResult.h | 61 ++ .../QueryCallInPoolTransferConfigRequest.h | 60 ++ .../QueryCallInPoolTransferConfigResult.h | 66 ++ .../model/QueryCallInTransferRecordRequest.h | 72 ++ .../model/QueryCallInTransferRecordResult.h | 71 ++ .../dyvmsapi/model/QueryRobotTaskListResult.h | 6 + .../model/QueryVirtualNumberRelationRequest.h | 84 ++ .../model/QueryVirtualNumberRelationResult.h | 53 ++ .../model/QueryVirtualNumberRequest.h | 69 ++ .../dyvmsapi/model/QueryVirtualNumberResult.h | 53 ++ .../dyvmsapi/model/SendVerificationRequest.h | 66 ++ .../dyvmsapi/model/SendVerificationResult.h | 55 ++ .../SetTransferCalleePoolConfigRequest.h | 75 ++ .../model/SetTransferCalleePoolConfigResult.h | 55 ++ .../dyvmsapi/model/SmartCallRequest.h | 3 + .../SubmitHotlineTransferRegisterRequest.h | 94 +++ .../SubmitHotlineTransferRegisterResult.h | 55 ++ dyvmsapi/src/DyvmsapiClient.cc | 720 ++++++++++++++++++ .../model/AddVirtualNumberRelationRequest.cc | 128 ++++ .../model/AddVirtualNumberRelationResult.cc | 65 ++ dyvmsapi/src/model/CloseSipAccountRequest.cc | 95 +++ dyvmsapi/src/model/CloseSipAccountResult.cc | 65 ++ dyvmsapi/src/model/CreateCallTaskRequest.cc | 194 +++++ dyvmsapi/src/model/CreateCallTaskResult.cc | 58 ++ dyvmsapi/src/model/CreateSipAccountRequest.cc | 95 +++ dyvmsapi/src/model/CreateSipAccountResult.cc | 70 ++ dyvmsapi/src/model/DoubleCallSeatRequest.cc | 205 +++++ dyvmsapi/src/model/DoubleCallSeatResult.cc | 65 ++ dyvmsapi/src/model/ExecuteCallTaskRequest.cc | 106 +++ dyvmsapi/src/model/ExecuteCallTaskResult.cc | 58 ++ .../GetHotlineQualificationByOrderRequest.cc | 84 ++ .../GetHotlineQualificationByOrderResult.cc | 70 ++ dyvmsapi/src/model/GetTokenRequest.cc | 84 ++ dyvmsapi/src/model/GetTokenResult.cc | 72 ++ .../src/model/ListCallTaskDetailRequest.cc | 128 ++++ .../src/model/ListCallTaskDetailResult.cc | 100 +++ dyvmsapi/src/model/ListCallTaskRequest.cc | 150 ++++ dyvmsapi/src/model/ListCallTaskResult.cc | 113 +++ .../model/ListHotlineTransferNumberRequest.cc | 117 +++ .../model/ListHotlineTransferNumberResult.cc | 88 +++ .../ListHotlineTransferRegisterFileRequest.cc | 117 +++ .../ListHotlineTransferRegisterFileResult.cc | 94 +++ .../src/model/ListRobotTaskCallsRequest.cc | 183 +++++ .../src/model/ListRobotTaskCallsResult.cc | 86 +++ .../QueryCallInPoolTransferConfigRequest.cc | 84 ++ .../QueryCallInPoolTransferConfigResult.cc | 78 ++ .../model/QueryCallInTransferRecordRequest.cc | 128 ++++ .../model/QueryCallInTransferRecordResult.cc | 88 +++ .../src/model/QueryRobotTaskListResult.cc | 21 + .../QueryVirtualNumberRelationRequest.cc | 172 +++++ .../model/QueryVirtualNumberRelationResult.cc | 58 ++ .../src/model/QueryVirtualNumberRequest.cc | 117 +++ .../src/model/QueryVirtualNumberResult.cc | 58 ++ dyvmsapi/src/model/SendVerificationRequest.cc | 106 +++ dyvmsapi/src/model/SendVerificationResult.cc | 65 ++ .../SetTransferCalleePoolConfigRequest.cc | 122 +++ .../SetTransferCalleePoolConfigResult.cc | 65 ++ dyvmsapi/src/model/SmartCallRequest.cc | 11 + .../SubmitHotlineTransferRegisterRequest.cc | 189 +++++ .../SubmitHotlineTransferRegisterResult.cc | 65 ++ 89 files changed, 7762 insertions(+), 1 deletion(-) create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h create mode 100644 dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.h create mode 100644 dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc create mode 100644 dyvmsapi/src/model/AddVirtualNumberRelationResult.cc create mode 100644 dyvmsapi/src/model/CloseSipAccountRequest.cc create mode 100644 dyvmsapi/src/model/CloseSipAccountResult.cc create mode 100644 dyvmsapi/src/model/CreateCallTaskRequest.cc create mode 100644 dyvmsapi/src/model/CreateCallTaskResult.cc create mode 100644 dyvmsapi/src/model/CreateSipAccountRequest.cc create mode 100644 dyvmsapi/src/model/CreateSipAccountResult.cc create mode 100644 dyvmsapi/src/model/DoubleCallSeatRequest.cc create mode 100644 dyvmsapi/src/model/DoubleCallSeatResult.cc create mode 100644 dyvmsapi/src/model/ExecuteCallTaskRequest.cc create mode 100644 dyvmsapi/src/model/ExecuteCallTaskResult.cc create mode 100644 dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc create mode 100644 dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc create mode 100644 dyvmsapi/src/model/GetTokenRequest.cc create mode 100644 dyvmsapi/src/model/GetTokenResult.cc create mode 100644 dyvmsapi/src/model/ListCallTaskDetailRequest.cc create mode 100644 dyvmsapi/src/model/ListCallTaskDetailResult.cc create mode 100644 dyvmsapi/src/model/ListCallTaskRequest.cc create mode 100644 dyvmsapi/src/model/ListCallTaskResult.cc create mode 100644 dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc create mode 100644 dyvmsapi/src/model/ListHotlineTransferNumberResult.cc create mode 100644 dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc create mode 100644 dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc create mode 100644 dyvmsapi/src/model/ListRobotTaskCallsRequest.cc create mode 100644 dyvmsapi/src/model/ListRobotTaskCallsResult.cc create mode 100644 dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc create mode 100644 dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc create mode 100644 dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc create mode 100644 dyvmsapi/src/model/QueryCallInTransferRecordResult.cc create mode 100644 dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc create mode 100644 dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc create mode 100644 dyvmsapi/src/model/QueryVirtualNumberRequest.cc create mode 100644 dyvmsapi/src/model/QueryVirtualNumberResult.cc create mode 100644 dyvmsapi/src/model/SendVerificationRequest.cc create mode 100644 dyvmsapi/src/model/SendVerificationResult.cc create mode 100644 dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc create mode 100644 dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc create mode 100644 dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc create mode 100644 dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc diff --git a/CHANGELOG b/CHANGELOG index 8c99c14d0..09da2eac3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-07-30 Version: 1.36.834 +- Update Dyvmsapi SDK. + 2021-07-29 Version: 1.36.833 - Support Alb Open API. diff --git a/VERSION b/VERSION index a1721555f..970378d4f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.833 \ No newline at end of file +1.36.834 \ No newline at end of file diff --git a/dyvmsapi/CMakeLists.txt b/dyvmsapi/CMakeLists.txt index 57284c785..55ee39f30 100644 --- a/dyvmsapi/CMakeLists.txt +++ b/dyvmsapi/CMakeLists.txt @@ -23,6 +23,8 @@ set(dyvmsapi_public_header set(dyvmsapi_public_header_model include/alibabacloud/dyvmsapi/model/AddRtcAccountRequest.h include/alibabacloud/dyvmsapi/model/AddRtcAccountResult.h + include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.h + include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.h include/alibabacloud/dyvmsapi/model/BatchRobotSmartCallRequest.h include/alibabacloud/dyvmsapi/model/BatchRobotSmartCallResult.h include/alibabacloud/dyvmsapi/model/BindNumberAndVoipIdRequest.h @@ -35,26 +37,54 @@ set(dyvmsapi_public_header_model include/alibabacloud/dyvmsapi/model/CancelRobotTaskResult.h include/alibabacloud/dyvmsapi/model/ClickToDialRequest.h include/alibabacloud/dyvmsapi/model/ClickToDialResult.h + include/alibabacloud/dyvmsapi/model/CloseSipAccountRequest.h + include/alibabacloud/dyvmsapi/model/CloseSipAccountResult.h + include/alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h + include/alibabacloud/dyvmsapi/model/CreateCallTaskResult.h include/alibabacloud/dyvmsapi/model/CreateRobotTaskRequest.h include/alibabacloud/dyvmsapi/model/CreateRobotTaskResult.h + include/alibabacloud/dyvmsapi/model/CreateSipAccountRequest.h + include/alibabacloud/dyvmsapi/model/CreateSipAccountResult.h include/alibabacloud/dyvmsapi/model/DeleteRobotTaskRequest.h include/alibabacloud/dyvmsapi/model/DeleteRobotTaskResult.h include/alibabacloud/dyvmsapi/model/DescribeRecordDataRequest.h include/alibabacloud/dyvmsapi/model/DescribeRecordDataResult.h include/alibabacloud/dyvmsapi/model/DoRtcNumberAuthRequest.h include/alibabacloud/dyvmsapi/model/DoRtcNumberAuthResult.h + include/alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h + include/alibabacloud/dyvmsapi/model/DoubleCallSeatResult.h + include/alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h + include/alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h + include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h + include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h include/alibabacloud/dyvmsapi/model/GetRtcTokenRequest.h include/alibabacloud/dyvmsapi/model/GetRtcTokenResult.h + include/alibabacloud/dyvmsapi/model/GetTokenRequest.h + include/alibabacloud/dyvmsapi/model/GetTokenResult.h include/alibabacloud/dyvmsapi/model/IvrCallRequest.h include/alibabacloud/dyvmsapi/model/IvrCallResult.h + include/alibabacloud/dyvmsapi/model/ListCallTaskRequest.h + include/alibabacloud/dyvmsapi/model/ListCallTaskResult.h + include/alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.h + include/alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.h + include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.h + include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h + include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.h + include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h include/alibabacloud/dyvmsapi/model/ListOrderedNumbersRequest.h include/alibabacloud/dyvmsapi/model/ListOrderedNumbersResult.h include/alibabacloud/dyvmsapi/model/ListOutboundStrategiesRequest.h include/alibabacloud/dyvmsapi/model/ListOutboundStrategiesResult.h + include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h + include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdRequest.h include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdResult.h include/alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdRequest.h include/alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdResult.h + include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h + include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h + include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.h + include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h include/alibabacloud/dyvmsapi/model/QueryRobotInfoListRequest.h include/alibabacloud/dyvmsapi/model/QueryRobotInfoListResult.h include/alibabacloud/dyvmsapi/model/QueryRobotTaskCallDetailRequest.h @@ -69,10 +99,18 @@ set(dyvmsapi_public_header_model include/alibabacloud/dyvmsapi/model/QueryRobotv2AllListResult.h include/alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusRequest.h include/alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusResult.h + include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.h + include/alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h + include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h + include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h include/alibabacloud/dyvmsapi/model/QueryVoipNumberBindInfosRequest.h include/alibabacloud/dyvmsapi/model/QueryVoipNumberBindInfosResult.h include/alibabacloud/dyvmsapi/model/ReportVoipProblemsRequest.h include/alibabacloud/dyvmsapi/model/ReportVoipProblemsResult.h + include/alibabacloud/dyvmsapi/model/SendVerificationRequest.h + include/alibabacloud/dyvmsapi/model/SendVerificationResult.h + include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.h + include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.h include/alibabacloud/dyvmsapi/model/SingleCallByTtsRequest.h include/alibabacloud/dyvmsapi/model/SingleCallByTtsResult.h include/alibabacloud/dyvmsapi/model/SingleCallByVoiceRequest.h @@ -87,6 +125,8 @@ set(dyvmsapi_public_header_model include/alibabacloud/dyvmsapi/model/StartRobotTaskResult.h include/alibabacloud/dyvmsapi/model/StopRobotTaskRequest.h include/alibabacloud/dyvmsapi/model/StopRobotTaskResult.h + include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h + include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.h include/alibabacloud/dyvmsapi/model/UnbindNumberAndVoipIdRequest.h include/alibabacloud/dyvmsapi/model/UnbindNumberAndVoipIdResult.h include/alibabacloud/dyvmsapi/model/UndoRtcNumberAuthRequest.h @@ -102,6 +142,8 @@ set(dyvmsapi_src src/DyvmsapiClient.cc src/model/AddRtcAccountRequest.cc src/model/AddRtcAccountResult.cc + src/model/AddVirtualNumberRelationRequest.cc + src/model/AddVirtualNumberRelationResult.cc src/model/BatchRobotSmartCallRequest.cc src/model/BatchRobotSmartCallResult.cc src/model/BindNumberAndVoipIdRequest.cc @@ -114,26 +156,54 @@ set(dyvmsapi_src src/model/CancelRobotTaskResult.cc src/model/ClickToDialRequest.cc src/model/ClickToDialResult.cc + src/model/CloseSipAccountRequest.cc + src/model/CloseSipAccountResult.cc + src/model/CreateCallTaskRequest.cc + src/model/CreateCallTaskResult.cc src/model/CreateRobotTaskRequest.cc src/model/CreateRobotTaskResult.cc + src/model/CreateSipAccountRequest.cc + src/model/CreateSipAccountResult.cc src/model/DeleteRobotTaskRequest.cc src/model/DeleteRobotTaskResult.cc src/model/DescribeRecordDataRequest.cc src/model/DescribeRecordDataResult.cc src/model/DoRtcNumberAuthRequest.cc src/model/DoRtcNumberAuthResult.cc + src/model/DoubleCallSeatRequest.cc + src/model/DoubleCallSeatResult.cc + src/model/ExecuteCallTaskRequest.cc + src/model/ExecuteCallTaskResult.cc + src/model/GetHotlineQualificationByOrderRequest.cc + src/model/GetHotlineQualificationByOrderResult.cc src/model/GetRtcTokenRequest.cc src/model/GetRtcTokenResult.cc + src/model/GetTokenRequest.cc + src/model/GetTokenResult.cc src/model/IvrCallRequest.cc src/model/IvrCallResult.cc + src/model/ListCallTaskRequest.cc + src/model/ListCallTaskResult.cc + src/model/ListCallTaskDetailRequest.cc + src/model/ListCallTaskDetailResult.cc + src/model/ListHotlineTransferNumberRequest.cc + src/model/ListHotlineTransferNumberResult.cc + src/model/ListHotlineTransferRegisterFileRequest.cc + src/model/ListHotlineTransferRegisterFileResult.cc src/model/ListOrderedNumbersRequest.cc src/model/ListOrderedNumbersResult.cc src/model/ListOutboundStrategiesRequest.cc src/model/ListOutboundStrategiesResult.cc + src/model/ListRobotTaskCallsRequest.cc + src/model/ListRobotTaskCallsResult.cc src/model/QueryCallDetailByCallIdRequest.cc src/model/QueryCallDetailByCallIdResult.cc src/model/QueryCallDetailByTaskIdRequest.cc src/model/QueryCallDetailByTaskIdResult.cc + src/model/QueryCallInPoolTransferConfigRequest.cc + src/model/QueryCallInPoolTransferConfigResult.cc + src/model/QueryCallInTransferRecordRequest.cc + src/model/QueryCallInTransferRecordResult.cc src/model/QueryRobotInfoListRequest.cc src/model/QueryRobotInfoListResult.cc src/model/QueryRobotTaskCallDetailRequest.cc @@ -148,10 +218,18 @@ set(dyvmsapi_src src/model/QueryRobotv2AllListResult.cc src/model/QueryRtcNumberAuthStatusRequest.cc src/model/QueryRtcNumberAuthStatusResult.cc + src/model/QueryVirtualNumberRequest.cc + src/model/QueryVirtualNumberResult.cc + src/model/QueryVirtualNumberRelationRequest.cc + src/model/QueryVirtualNumberRelationResult.cc src/model/QueryVoipNumberBindInfosRequest.cc src/model/QueryVoipNumberBindInfosResult.cc src/model/ReportVoipProblemsRequest.cc src/model/ReportVoipProblemsResult.cc + src/model/SendVerificationRequest.cc + src/model/SendVerificationResult.cc + src/model/SetTransferCalleePoolConfigRequest.cc + src/model/SetTransferCalleePoolConfigResult.cc src/model/SingleCallByTtsRequest.cc src/model/SingleCallByTtsResult.cc src/model/SingleCallByVoiceRequest.cc @@ -166,6 +244,8 @@ set(dyvmsapi_src src/model/StartRobotTaskResult.cc src/model/StopRobotTaskRequest.cc src/model/StopRobotTaskResult.cc + src/model/SubmitHotlineTransferRegisterRequest.cc + src/model/SubmitHotlineTransferRegisterResult.cc src/model/UnbindNumberAndVoipIdRequest.cc src/model/UnbindNumberAndVoipIdResult.cc src/model/UndoRtcNumberAuthRequest.cc diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h b/dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h index ffbd929bb..28000b306 100644 --- a/dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h @@ -24,6 +24,8 @@ #include "DyvmsapiExport.h" #include "model/AddRtcAccountRequest.h" #include "model/AddRtcAccountResult.h" +#include "model/AddVirtualNumberRelationRequest.h" +#include "model/AddVirtualNumberRelationResult.h" #include "model/BatchRobotSmartCallRequest.h" #include "model/BatchRobotSmartCallResult.h" #include "model/BindNumberAndVoipIdRequest.h" @@ -36,26 +38,54 @@ #include "model/CancelRobotTaskResult.h" #include "model/ClickToDialRequest.h" #include "model/ClickToDialResult.h" +#include "model/CloseSipAccountRequest.h" +#include "model/CloseSipAccountResult.h" +#include "model/CreateCallTaskRequest.h" +#include "model/CreateCallTaskResult.h" #include "model/CreateRobotTaskRequest.h" #include "model/CreateRobotTaskResult.h" +#include "model/CreateSipAccountRequest.h" +#include "model/CreateSipAccountResult.h" #include "model/DeleteRobotTaskRequest.h" #include "model/DeleteRobotTaskResult.h" #include "model/DescribeRecordDataRequest.h" #include "model/DescribeRecordDataResult.h" #include "model/DoRtcNumberAuthRequest.h" #include "model/DoRtcNumberAuthResult.h" +#include "model/DoubleCallSeatRequest.h" +#include "model/DoubleCallSeatResult.h" +#include "model/ExecuteCallTaskRequest.h" +#include "model/ExecuteCallTaskResult.h" +#include "model/GetHotlineQualificationByOrderRequest.h" +#include "model/GetHotlineQualificationByOrderResult.h" #include "model/GetRtcTokenRequest.h" #include "model/GetRtcTokenResult.h" +#include "model/GetTokenRequest.h" +#include "model/GetTokenResult.h" #include "model/IvrCallRequest.h" #include "model/IvrCallResult.h" +#include "model/ListCallTaskRequest.h" +#include "model/ListCallTaskResult.h" +#include "model/ListCallTaskDetailRequest.h" +#include "model/ListCallTaskDetailResult.h" +#include "model/ListHotlineTransferNumberRequest.h" +#include "model/ListHotlineTransferNumberResult.h" +#include "model/ListHotlineTransferRegisterFileRequest.h" +#include "model/ListHotlineTransferRegisterFileResult.h" #include "model/ListOrderedNumbersRequest.h" #include "model/ListOrderedNumbersResult.h" #include "model/ListOutboundStrategiesRequest.h" #include "model/ListOutboundStrategiesResult.h" +#include "model/ListRobotTaskCallsRequest.h" +#include "model/ListRobotTaskCallsResult.h" #include "model/QueryCallDetailByCallIdRequest.h" #include "model/QueryCallDetailByCallIdResult.h" #include "model/QueryCallDetailByTaskIdRequest.h" #include "model/QueryCallDetailByTaskIdResult.h" +#include "model/QueryCallInPoolTransferConfigRequest.h" +#include "model/QueryCallInPoolTransferConfigResult.h" +#include "model/QueryCallInTransferRecordRequest.h" +#include "model/QueryCallInTransferRecordResult.h" #include "model/QueryRobotInfoListRequest.h" #include "model/QueryRobotInfoListResult.h" #include "model/QueryRobotTaskCallDetailRequest.h" @@ -70,10 +100,18 @@ #include "model/QueryRobotv2AllListResult.h" #include "model/QueryRtcNumberAuthStatusRequest.h" #include "model/QueryRtcNumberAuthStatusResult.h" +#include "model/QueryVirtualNumberRequest.h" +#include "model/QueryVirtualNumberResult.h" +#include "model/QueryVirtualNumberRelationRequest.h" +#include "model/QueryVirtualNumberRelationResult.h" #include "model/QueryVoipNumberBindInfosRequest.h" #include "model/QueryVoipNumberBindInfosResult.h" #include "model/ReportVoipProblemsRequest.h" #include "model/ReportVoipProblemsResult.h" +#include "model/SendVerificationRequest.h" +#include "model/SendVerificationResult.h" +#include "model/SetTransferCalleePoolConfigRequest.h" +#include "model/SetTransferCalleePoolConfigResult.h" #include "model/SingleCallByTtsRequest.h" #include "model/SingleCallByTtsResult.h" #include "model/SingleCallByVoiceRequest.h" @@ -88,6 +126,8 @@ #include "model/StartRobotTaskResult.h" #include "model/StopRobotTaskRequest.h" #include "model/StopRobotTaskResult.h" +#include "model/SubmitHotlineTransferRegisterRequest.h" +#include "model/SubmitHotlineTransferRegisterResult.h" #include "model/UnbindNumberAndVoipIdRequest.h" #include "model/UnbindNumberAndVoipIdResult.h" #include "model/UndoRtcNumberAuthRequest.h" @@ -110,6 +150,9 @@ namespace AlibabaCloud typedef Outcome AddRtcAccountOutcome; typedef std::future AddRtcAccountOutcomeCallable; typedef std::function&)> AddRtcAccountAsyncHandler; + typedef Outcome AddVirtualNumberRelationOutcome; + typedef std::future AddVirtualNumberRelationOutcomeCallable; + typedef std::function&)> AddVirtualNumberRelationAsyncHandler; typedef Outcome BatchRobotSmartCallOutcome; typedef std::future BatchRobotSmartCallOutcomeCallable; typedef std::function&)> BatchRobotSmartCallAsyncHandler; @@ -128,9 +171,18 @@ namespace AlibabaCloud typedef Outcome ClickToDialOutcome; typedef std::future ClickToDialOutcomeCallable; typedef std::function&)> ClickToDialAsyncHandler; + typedef Outcome CloseSipAccountOutcome; + typedef std::future CloseSipAccountOutcomeCallable; + typedef std::function&)> CloseSipAccountAsyncHandler; + typedef Outcome CreateCallTaskOutcome; + typedef std::future CreateCallTaskOutcomeCallable; + typedef std::function&)> CreateCallTaskAsyncHandler; typedef Outcome CreateRobotTaskOutcome; typedef std::future CreateRobotTaskOutcomeCallable; typedef std::function&)> CreateRobotTaskAsyncHandler; + typedef Outcome CreateSipAccountOutcome; + typedef std::future CreateSipAccountOutcomeCallable; + typedef std::function&)> CreateSipAccountAsyncHandler; typedef Outcome DeleteRobotTaskOutcome; typedef std::future DeleteRobotTaskOutcomeCallable; typedef std::function&)> DeleteRobotTaskAsyncHandler; @@ -140,24 +192,57 @@ namespace AlibabaCloud typedef Outcome DoRtcNumberAuthOutcome; typedef std::future DoRtcNumberAuthOutcomeCallable; typedef std::function&)> DoRtcNumberAuthAsyncHandler; + typedef Outcome DoubleCallSeatOutcome; + typedef std::future DoubleCallSeatOutcomeCallable; + typedef std::function&)> DoubleCallSeatAsyncHandler; + typedef Outcome ExecuteCallTaskOutcome; + typedef std::future ExecuteCallTaskOutcomeCallable; + typedef std::function&)> ExecuteCallTaskAsyncHandler; + typedef Outcome GetHotlineQualificationByOrderOutcome; + typedef std::future GetHotlineQualificationByOrderOutcomeCallable; + typedef std::function&)> GetHotlineQualificationByOrderAsyncHandler; typedef Outcome GetRtcTokenOutcome; typedef std::future GetRtcTokenOutcomeCallable; typedef std::function&)> GetRtcTokenAsyncHandler; + typedef Outcome GetTokenOutcome; + typedef std::future GetTokenOutcomeCallable; + typedef std::function&)> GetTokenAsyncHandler; typedef Outcome IvrCallOutcome; typedef std::future IvrCallOutcomeCallable; typedef std::function&)> IvrCallAsyncHandler; + typedef Outcome ListCallTaskOutcome; + typedef std::future ListCallTaskOutcomeCallable; + typedef std::function&)> ListCallTaskAsyncHandler; + typedef Outcome ListCallTaskDetailOutcome; + typedef std::future ListCallTaskDetailOutcomeCallable; + typedef std::function&)> ListCallTaskDetailAsyncHandler; + typedef Outcome ListHotlineTransferNumberOutcome; + typedef std::future ListHotlineTransferNumberOutcomeCallable; + typedef std::function&)> ListHotlineTransferNumberAsyncHandler; + typedef Outcome ListHotlineTransferRegisterFileOutcome; + typedef std::future ListHotlineTransferRegisterFileOutcomeCallable; + typedef std::function&)> ListHotlineTransferRegisterFileAsyncHandler; typedef Outcome ListOrderedNumbersOutcome; typedef std::future ListOrderedNumbersOutcomeCallable; typedef std::function&)> ListOrderedNumbersAsyncHandler; typedef Outcome ListOutboundStrategiesOutcome; typedef std::future ListOutboundStrategiesOutcomeCallable; typedef std::function&)> ListOutboundStrategiesAsyncHandler; + typedef Outcome ListRobotTaskCallsOutcome; + typedef std::future ListRobotTaskCallsOutcomeCallable; + typedef std::function&)> ListRobotTaskCallsAsyncHandler; typedef Outcome QueryCallDetailByCallIdOutcome; typedef std::future QueryCallDetailByCallIdOutcomeCallable; typedef std::function&)> QueryCallDetailByCallIdAsyncHandler; typedef Outcome QueryCallDetailByTaskIdOutcome; typedef std::future QueryCallDetailByTaskIdOutcomeCallable; typedef std::function&)> QueryCallDetailByTaskIdAsyncHandler; + typedef Outcome QueryCallInPoolTransferConfigOutcome; + typedef std::future QueryCallInPoolTransferConfigOutcomeCallable; + typedef std::function&)> QueryCallInPoolTransferConfigAsyncHandler; + typedef Outcome QueryCallInTransferRecordOutcome; + typedef std::future QueryCallInTransferRecordOutcomeCallable; + typedef std::function&)> QueryCallInTransferRecordAsyncHandler; typedef Outcome QueryRobotInfoListOutcome; typedef std::future QueryRobotInfoListOutcomeCallable; typedef std::function&)> QueryRobotInfoListAsyncHandler; @@ -179,12 +264,24 @@ namespace AlibabaCloud typedef Outcome QueryRtcNumberAuthStatusOutcome; typedef std::future QueryRtcNumberAuthStatusOutcomeCallable; typedef std::function&)> QueryRtcNumberAuthStatusAsyncHandler; + typedef Outcome QueryVirtualNumberOutcome; + typedef std::future QueryVirtualNumberOutcomeCallable; + typedef std::function&)> QueryVirtualNumberAsyncHandler; + typedef Outcome QueryVirtualNumberRelationOutcome; + typedef std::future QueryVirtualNumberRelationOutcomeCallable; + typedef std::function&)> QueryVirtualNumberRelationAsyncHandler; typedef Outcome QueryVoipNumberBindInfosOutcome; typedef std::future QueryVoipNumberBindInfosOutcomeCallable; typedef std::function&)> QueryVoipNumberBindInfosAsyncHandler; typedef Outcome ReportVoipProblemsOutcome; typedef std::future ReportVoipProblemsOutcomeCallable; typedef std::function&)> ReportVoipProblemsAsyncHandler; + typedef Outcome SendVerificationOutcome; + typedef std::future SendVerificationOutcomeCallable; + typedef std::function&)> SendVerificationAsyncHandler; + typedef Outcome SetTransferCalleePoolConfigOutcome; + typedef std::future SetTransferCalleePoolConfigOutcomeCallable; + typedef std::function&)> SetTransferCalleePoolConfigAsyncHandler; typedef Outcome SingleCallByTtsOutcome; typedef std::future SingleCallByTtsOutcomeCallable; typedef std::function&)> SingleCallByTtsAsyncHandler; @@ -206,6 +303,9 @@ namespace AlibabaCloud typedef Outcome StopRobotTaskOutcome; typedef std::future StopRobotTaskOutcomeCallable; typedef std::function&)> StopRobotTaskAsyncHandler; + typedef Outcome SubmitHotlineTransferRegisterOutcome; + typedef std::future SubmitHotlineTransferRegisterOutcomeCallable; + typedef std::function&)> SubmitHotlineTransferRegisterAsyncHandler; typedef Outcome UnbindNumberAndVoipIdOutcome; typedef std::future UnbindNumberAndVoipIdOutcomeCallable; typedef std::function&)> UnbindNumberAndVoipIdAsyncHandler; @@ -229,6 +329,9 @@ namespace AlibabaCloud AddRtcAccountOutcome addRtcAccount(const Model::AddRtcAccountRequest &request)const; void addRtcAccountAsync(const Model::AddRtcAccountRequest& request, const AddRtcAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddRtcAccountOutcomeCallable addRtcAccountCallable(const Model::AddRtcAccountRequest& request) const; + AddVirtualNumberRelationOutcome addVirtualNumberRelation(const Model::AddVirtualNumberRelationRequest &request)const; + void addVirtualNumberRelationAsync(const Model::AddVirtualNumberRelationRequest& request, const AddVirtualNumberRelationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddVirtualNumberRelationOutcomeCallable addVirtualNumberRelationCallable(const Model::AddVirtualNumberRelationRequest& request) const; BatchRobotSmartCallOutcome batchRobotSmartCall(const Model::BatchRobotSmartCallRequest &request)const; void batchRobotSmartCallAsync(const Model::BatchRobotSmartCallRequest& request, const BatchRobotSmartCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchRobotSmartCallOutcomeCallable batchRobotSmartCallCallable(const Model::BatchRobotSmartCallRequest& request) const; @@ -247,9 +350,18 @@ namespace AlibabaCloud ClickToDialOutcome clickToDial(const Model::ClickToDialRequest &request)const; void clickToDialAsync(const Model::ClickToDialRequest& request, const ClickToDialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ClickToDialOutcomeCallable clickToDialCallable(const Model::ClickToDialRequest& request) const; + CloseSipAccountOutcome closeSipAccount(const Model::CloseSipAccountRequest &request)const; + void closeSipAccountAsync(const Model::CloseSipAccountRequest& request, const CloseSipAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CloseSipAccountOutcomeCallable closeSipAccountCallable(const Model::CloseSipAccountRequest& request) const; + CreateCallTaskOutcome createCallTask(const Model::CreateCallTaskRequest &request)const; + void createCallTaskAsync(const Model::CreateCallTaskRequest& request, const CreateCallTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCallTaskOutcomeCallable createCallTaskCallable(const Model::CreateCallTaskRequest& request) const; CreateRobotTaskOutcome createRobotTask(const Model::CreateRobotTaskRequest &request)const; void createRobotTaskAsync(const Model::CreateRobotTaskRequest& request, const CreateRobotTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateRobotTaskOutcomeCallable createRobotTaskCallable(const Model::CreateRobotTaskRequest& request) const; + CreateSipAccountOutcome createSipAccount(const Model::CreateSipAccountRequest &request)const; + void createSipAccountAsync(const Model::CreateSipAccountRequest& request, const CreateSipAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSipAccountOutcomeCallable createSipAccountCallable(const Model::CreateSipAccountRequest& request) const; DeleteRobotTaskOutcome deleteRobotTask(const Model::DeleteRobotTaskRequest &request)const; void deleteRobotTaskAsync(const Model::DeleteRobotTaskRequest& request, const DeleteRobotTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRobotTaskOutcomeCallable deleteRobotTaskCallable(const Model::DeleteRobotTaskRequest& request) const; @@ -259,24 +371,57 @@ namespace AlibabaCloud DoRtcNumberAuthOutcome doRtcNumberAuth(const Model::DoRtcNumberAuthRequest &request)const; void doRtcNumberAuthAsync(const Model::DoRtcNumberAuthRequest& request, const DoRtcNumberAuthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DoRtcNumberAuthOutcomeCallable doRtcNumberAuthCallable(const Model::DoRtcNumberAuthRequest& request) const; + DoubleCallSeatOutcome doubleCallSeat(const Model::DoubleCallSeatRequest &request)const; + void doubleCallSeatAsync(const Model::DoubleCallSeatRequest& request, const DoubleCallSeatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DoubleCallSeatOutcomeCallable doubleCallSeatCallable(const Model::DoubleCallSeatRequest& request) const; + ExecuteCallTaskOutcome executeCallTask(const Model::ExecuteCallTaskRequest &request)const; + void executeCallTaskAsync(const Model::ExecuteCallTaskRequest& request, const ExecuteCallTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExecuteCallTaskOutcomeCallable executeCallTaskCallable(const Model::ExecuteCallTaskRequest& request) const; + GetHotlineQualificationByOrderOutcome getHotlineQualificationByOrder(const Model::GetHotlineQualificationByOrderRequest &request)const; + void getHotlineQualificationByOrderAsync(const Model::GetHotlineQualificationByOrderRequest& request, const GetHotlineQualificationByOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetHotlineQualificationByOrderOutcomeCallable getHotlineQualificationByOrderCallable(const Model::GetHotlineQualificationByOrderRequest& request) const; GetRtcTokenOutcome getRtcToken(const Model::GetRtcTokenRequest &request)const; void getRtcTokenAsync(const Model::GetRtcTokenRequest& request, const GetRtcTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetRtcTokenOutcomeCallable getRtcTokenCallable(const Model::GetRtcTokenRequest& request) const; + GetTokenOutcome getToken(const Model::GetTokenRequest &request)const; + void getTokenAsync(const Model::GetTokenRequest& request, const GetTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTokenOutcomeCallable getTokenCallable(const Model::GetTokenRequest& request) const; IvrCallOutcome ivrCall(const Model::IvrCallRequest &request)const; void ivrCallAsync(const Model::IvrCallRequest& request, const IvrCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; IvrCallOutcomeCallable ivrCallCallable(const Model::IvrCallRequest& request) const; + ListCallTaskOutcome listCallTask(const Model::ListCallTaskRequest &request)const; + void listCallTaskAsync(const Model::ListCallTaskRequest& request, const ListCallTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCallTaskOutcomeCallable listCallTaskCallable(const Model::ListCallTaskRequest& request) const; + ListCallTaskDetailOutcome listCallTaskDetail(const Model::ListCallTaskDetailRequest &request)const; + void listCallTaskDetailAsync(const Model::ListCallTaskDetailRequest& request, const ListCallTaskDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCallTaskDetailOutcomeCallable listCallTaskDetailCallable(const Model::ListCallTaskDetailRequest& request) const; + ListHotlineTransferNumberOutcome listHotlineTransferNumber(const Model::ListHotlineTransferNumberRequest &request)const; + void listHotlineTransferNumberAsync(const Model::ListHotlineTransferNumberRequest& request, const ListHotlineTransferNumberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHotlineTransferNumberOutcomeCallable listHotlineTransferNumberCallable(const Model::ListHotlineTransferNumberRequest& request) const; + ListHotlineTransferRegisterFileOutcome listHotlineTransferRegisterFile(const Model::ListHotlineTransferRegisterFileRequest &request)const; + void listHotlineTransferRegisterFileAsync(const Model::ListHotlineTransferRegisterFileRequest& request, const ListHotlineTransferRegisterFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHotlineTransferRegisterFileOutcomeCallable listHotlineTransferRegisterFileCallable(const Model::ListHotlineTransferRegisterFileRequest& request) const; ListOrderedNumbersOutcome listOrderedNumbers(const Model::ListOrderedNumbersRequest &request)const; void listOrderedNumbersAsync(const Model::ListOrderedNumbersRequest& request, const ListOrderedNumbersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListOrderedNumbersOutcomeCallable listOrderedNumbersCallable(const Model::ListOrderedNumbersRequest& request) const; ListOutboundStrategiesOutcome listOutboundStrategies(const Model::ListOutboundStrategiesRequest &request)const; void listOutboundStrategiesAsync(const Model::ListOutboundStrategiesRequest& request, const ListOutboundStrategiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListOutboundStrategiesOutcomeCallable listOutboundStrategiesCallable(const Model::ListOutboundStrategiesRequest& request) const; + ListRobotTaskCallsOutcome listRobotTaskCalls(const Model::ListRobotTaskCallsRequest &request)const; + void listRobotTaskCallsAsync(const Model::ListRobotTaskCallsRequest& request, const ListRobotTaskCallsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRobotTaskCallsOutcomeCallable listRobotTaskCallsCallable(const Model::ListRobotTaskCallsRequest& request) const; QueryCallDetailByCallIdOutcome queryCallDetailByCallId(const Model::QueryCallDetailByCallIdRequest &request)const; void queryCallDetailByCallIdAsync(const Model::QueryCallDetailByCallIdRequest& request, const QueryCallDetailByCallIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryCallDetailByCallIdOutcomeCallable queryCallDetailByCallIdCallable(const Model::QueryCallDetailByCallIdRequest& request) const; QueryCallDetailByTaskIdOutcome queryCallDetailByTaskId(const Model::QueryCallDetailByTaskIdRequest &request)const; void queryCallDetailByTaskIdAsync(const Model::QueryCallDetailByTaskIdRequest& request, const QueryCallDetailByTaskIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryCallDetailByTaskIdOutcomeCallable queryCallDetailByTaskIdCallable(const Model::QueryCallDetailByTaskIdRequest& request) const; + QueryCallInPoolTransferConfigOutcome queryCallInPoolTransferConfig(const Model::QueryCallInPoolTransferConfigRequest &request)const; + void queryCallInPoolTransferConfigAsync(const Model::QueryCallInPoolTransferConfigRequest& request, const QueryCallInPoolTransferConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCallInPoolTransferConfigOutcomeCallable queryCallInPoolTransferConfigCallable(const Model::QueryCallInPoolTransferConfigRequest& request) const; + QueryCallInTransferRecordOutcome queryCallInTransferRecord(const Model::QueryCallInTransferRecordRequest &request)const; + void queryCallInTransferRecordAsync(const Model::QueryCallInTransferRecordRequest& request, const QueryCallInTransferRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCallInTransferRecordOutcomeCallable queryCallInTransferRecordCallable(const Model::QueryCallInTransferRecordRequest& request) const; QueryRobotInfoListOutcome queryRobotInfoList(const Model::QueryRobotInfoListRequest &request)const; void queryRobotInfoListAsync(const Model::QueryRobotInfoListRequest& request, const QueryRobotInfoListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryRobotInfoListOutcomeCallable queryRobotInfoListCallable(const Model::QueryRobotInfoListRequest& request) const; @@ -298,12 +443,24 @@ namespace AlibabaCloud QueryRtcNumberAuthStatusOutcome queryRtcNumberAuthStatus(const Model::QueryRtcNumberAuthStatusRequest &request)const; void queryRtcNumberAuthStatusAsync(const Model::QueryRtcNumberAuthStatusRequest& request, const QueryRtcNumberAuthStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryRtcNumberAuthStatusOutcomeCallable queryRtcNumberAuthStatusCallable(const Model::QueryRtcNumberAuthStatusRequest& request) const; + QueryVirtualNumberOutcome queryVirtualNumber(const Model::QueryVirtualNumberRequest &request)const; + void queryVirtualNumberAsync(const Model::QueryVirtualNumberRequest& request, const QueryVirtualNumberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryVirtualNumberOutcomeCallable queryVirtualNumberCallable(const Model::QueryVirtualNumberRequest& request) const; + QueryVirtualNumberRelationOutcome queryVirtualNumberRelation(const Model::QueryVirtualNumberRelationRequest &request)const; + void queryVirtualNumberRelationAsync(const Model::QueryVirtualNumberRelationRequest& request, const QueryVirtualNumberRelationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryVirtualNumberRelationOutcomeCallable queryVirtualNumberRelationCallable(const Model::QueryVirtualNumberRelationRequest& request) const; QueryVoipNumberBindInfosOutcome queryVoipNumberBindInfos(const Model::QueryVoipNumberBindInfosRequest &request)const; void queryVoipNumberBindInfosAsync(const Model::QueryVoipNumberBindInfosRequest& request, const QueryVoipNumberBindInfosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryVoipNumberBindInfosOutcomeCallable queryVoipNumberBindInfosCallable(const Model::QueryVoipNumberBindInfosRequest& request) const; ReportVoipProblemsOutcome reportVoipProblems(const Model::ReportVoipProblemsRequest &request)const; void reportVoipProblemsAsync(const Model::ReportVoipProblemsRequest& request, const ReportVoipProblemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReportVoipProblemsOutcomeCallable reportVoipProblemsCallable(const Model::ReportVoipProblemsRequest& request) const; + SendVerificationOutcome sendVerification(const Model::SendVerificationRequest &request)const; + void sendVerificationAsync(const Model::SendVerificationRequest& request, const SendVerificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendVerificationOutcomeCallable sendVerificationCallable(const Model::SendVerificationRequest& request) const; + SetTransferCalleePoolConfigOutcome setTransferCalleePoolConfig(const Model::SetTransferCalleePoolConfigRequest &request)const; + void setTransferCalleePoolConfigAsync(const Model::SetTransferCalleePoolConfigRequest& request, const SetTransferCalleePoolConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetTransferCalleePoolConfigOutcomeCallable setTransferCalleePoolConfigCallable(const Model::SetTransferCalleePoolConfigRequest& request) const; SingleCallByTtsOutcome singleCallByTts(const Model::SingleCallByTtsRequest &request)const; void singleCallByTtsAsync(const Model::SingleCallByTtsRequest& request, const SingleCallByTtsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SingleCallByTtsOutcomeCallable singleCallByTtsCallable(const Model::SingleCallByTtsRequest& request) const; @@ -325,6 +482,9 @@ namespace AlibabaCloud StopRobotTaskOutcome stopRobotTask(const Model::StopRobotTaskRequest &request)const; void stopRobotTaskAsync(const Model::StopRobotTaskRequest& request, const StopRobotTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopRobotTaskOutcomeCallable stopRobotTaskCallable(const Model::StopRobotTaskRequest& request) const; + SubmitHotlineTransferRegisterOutcome submitHotlineTransferRegister(const Model::SubmitHotlineTransferRegisterRequest &request)const; + void submitHotlineTransferRegisterAsync(const Model::SubmitHotlineTransferRegisterRequest& request, const SubmitHotlineTransferRegisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitHotlineTransferRegisterOutcomeCallable submitHotlineTransferRegisterCallable(const Model::SubmitHotlineTransferRegisterRequest& request) const; UnbindNumberAndVoipIdOutcome unbindNumberAndVoipId(const Model::UnbindNumberAndVoipIdRequest &request)const; void unbindNumberAndVoipIdAsync(const Model::UnbindNumberAndVoipIdRequest& request, const UnbindNumberAndVoipIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnbindNumberAndVoipIdOutcomeCallable unbindNumberAndVoipIdCallable(const Model::UnbindNumberAndVoipIdRequest& request) const; diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.h new file mode 100644 index 000000000..de6c19145 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.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_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT AddVirtualNumberRelationRequest : public RpcServiceRequest + { + + public: + AddVirtualNumberRelationRequest(); + ~AddVirtualNumberRelationRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getNumberList()const; + void setNumberList(const std::string& numberList); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getRouteType()const; + void setRouteType(int routeType); + std::string getCorpNameList()const; + void setCorpNameList(const std::string& corpNameList); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getProdCode()const; + void setProdCode(const std::string& prodCode); + std::string getPhoneNum()const; + void setPhoneNum(const std::string& phoneNum); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string numberList_; + std::string accessKeyId_; + int routeType_; + std::string corpNameList_; + std::string resourceOwnerAccount_; + std::string prodCode_; + std::string phoneNum_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.h new file mode 100644 index 000000000..4c8d17da0 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.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_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT AddVirtualNumberRelationResult : public ServiceResult + { + public: + + + AddVirtualNumberRelationResult(); + explicit AddVirtualNumberRelationResult(const std::string &payload); + ~AddVirtualNumberRelationResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_ADDVIRTUALNUMBERRELATIONRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountRequest.h new file mode 100644 index 000000000..77ce8f167 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountRequest.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_DYVMSAPI_MODEL_CLOSESIPACCOUNTREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CLOSESIPACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CloseSipAccountRequest : public RpcServiceRequest + { + + public: + CloseSipAccountRequest(); + ~CloseSipAccountRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + long getPartnerId()const; + void setPartnerId(long partnerId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSipAccountID()const; + void setSipAccountID(const std::string& sipAccountID); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + long partnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string sipAccountID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CLOSESIPACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountResult.h new file mode 100644 index 000000000..7b1367165 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CloseSipAccountResult.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_DYVMSAPI_MODEL_CLOSESIPACCOUNTRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CLOSESIPACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CloseSipAccountResult : public ServiceResult + { + public: + + + CloseSipAccountResult(); + explicit CloseSipAccountResult(const std::string &payload); + ~CloseSipAccountResult(); + std::string getMessage()const; + bool getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CLOSESIPACCOUNTRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h new file mode 100644 index 000000000..eadfc69fd --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_CREATECALLTASKREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATECALLTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CreateCallTaskRequest : public RpcServiceRequest + { + + public: + CreateCallTaskRequest(); + ~CreateCallTaskRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getScheduleType()const; + void setScheduleType(const std::string& scheduleType); + std::string getData()const; + void setData(const std::string& data); + std::string getTaskName()const; + void setTaskName(const std::string& taskName); + std::string getStopTime()const; + void setStopTime(const std::string& stopTime); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getDataType()const; + void setDataType(const std::string& dataType); + std::string getTemplateName()const; + void setTemplateName(const std::string& templateName); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getResource()const; + void setResource(const std::string& resource); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getBizType()const; + void setBizType(const std::string& bizType); + std::string getFireTime()const; + void setFireTime(const std::string& fireTime); + std::string getTemplateCode()const; + void setTemplateCode(const std::string& templateCode); + + private: + long resourceOwnerId_; + std::string scheduleType_; + std::string data_; + std::string taskName_; + std::string stopTime_; + std::string accessKeyId_; + std::string dataType_; + std::string templateName_; + std::string resourceOwnerAccount_; + std::string resource_; + long ownerId_; + std::string resourceType_; + std::string bizType_; + std::string fireTime_; + std::string templateCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CREATECALLTASKREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskResult.h new file mode 100644 index 000000000..9a1cccc2c --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateCallTaskResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_CREATECALLTASKRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATECALLTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CreateCallTaskResult : public ServiceResult + { + public: + + + CreateCallTaskResult(); + explicit CreateCallTaskResult(const std::string &payload); + ~CreateCallTaskResult(); + long getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CREATECALLTASKRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountRequest.h new file mode 100644 index 000000000..a14f6007d --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountRequest.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_DYVMSAPI_MODEL_CREATESIPACCOUNTREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATESIPACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CreateSipAccountRequest : public RpcServiceRequest + { + + public: + CreateSipAccountRequest(); + ~CreateSipAccountRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getBusinessKey()const; + void setBusinessKey(const std::string& businessKey); + long getPartnerId()const; + void setPartnerId(long partnerId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string businessKey_; + long partnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CREATESIPACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountResult.h new file mode 100644 index 000000000..a6f22af15 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/CreateSipAccountResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_CREATESIPACCOUNTRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATESIPACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT CreateSipAccountResult : public ServiceResult + { + public: + struct Data + { + std::string voipPassword; + std::string sipAccountID; + std::string voipName; + }; + + + CreateSipAccountResult(); + explicit CreateSipAccountResult(const std::string &payload); + ~CreateSipAccountResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CREATESIPACCOUNTRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h new file mode 100644 index 000000000..5f63b6c0c --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_DOUBLECALLSEATREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_DOUBLECALLSEATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT DoubleCallSeatRequest : public RpcServiceRequest + { + + public: + DoubleCallSeatRequest(); + ~DoubleCallSeatRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getCallerShowNumber()const; + void setCallerShowNumber(const std::string& callerShowNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getSessionTimeout()const; + void setSessionTimeout(int sessionTimeout); + std::string getCalledNumber()const; + void setCalledNumber(const std::string& calledNumber); + std::string getVoiceCode()const; + void setVoiceCode(const std::string& voiceCode); + std::string getCalledShowNumber()const; + void setCalledShowNumber(const std::string& calledShowNumber); + bool getAsrFlag()const; + void setAsrFlag(bool asrFlag); + std::string getCallType()const; + void setCallType(const std::string& callType); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + bool getRecordFlag()const; + void setRecordFlag(bool recordFlag); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getRecordPoint()const; + void setRecordPoint(int recordPoint); + std::string getOutId()const; + void setOutId(const std::string& outId); + std::string getAsrModelId()const; + void setAsrModelId(const std::string& asrModelId); + std::string getCallerNumber()const; + void setCallerNumber(const std::string& callerNumber); + + private: + long resourceOwnerId_; + std::string callerShowNumber_; + std::string accessKeyId_; + int sessionTimeout_; + std::string calledNumber_; + std::string voiceCode_; + std::string calledShowNumber_; + bool asrFlag_; + std::string callType_; + std::string resourceOwnerAccount_; + bool recordFlag_; + long ownerId_; + int recordPoint_; + std::string outId_; + std::string asrModelId_; + std::string callerNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DOUBLECALLSEATREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatResult.h new file mode 100644 index 000000000..dab6c52ad --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/DoubleCallSeatResult.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_DYVMSAPI_MODEL_DOUBLECALLSEATRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_DOUBLECALLSEATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT DoubleCallSeatResult : public ServiceResult + { + public: + + + DoubleCallSeatResult(); + explicit DoubleCallSeatResult(const std::string &payload); + ~DoubleCallSeatResult(); + std::string getMessage()const; + std::string getCallId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string callId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DOUBLECALLSEATRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h new file mode 100644 index 000000000..a24a268b2 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_EXECUTECALLTASKREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_EXECUTECALLTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ExecuteCallTaskRequest : public RpcServiceRequest + { + + public: + ExecuteCallTaskRequest(); + ~ExecuteCallTaskRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + long getTaskId()const; + void setTaskId(long taskId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getFireTime()const; + void setFireTime(const std::string& fireTime); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + long taskId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string fireTime_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_EXECUTECALLTASKREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h new file mode 100644 index 000000000..a4721ef4f --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_EXECUTECALLTASKRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_EXECUTECALLTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ExecuteCallTaskResult : public ServiceResult + { + public: + + + ExecuteCallTaskResult(); + explicit ExecuteCallTaskResult(const std::string &payload); + ~ExecuteCallTaskResult(); + bool getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_EXECUTECALLTASKRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h new file mode 100644 index 000000000..b1f3b2d00 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h @@ -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_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT GetHotlineQualificationByOrderRequest : public RpcServiceRequest + { + + public: + GetHotlineQualificationByOrderRequest(); + ~GetHotlineQualificationByOrderRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string orderId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h new file mode 100644 index 000000000..f2e087b76 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT GetHotlineQualificationByOrderResult : public ServiceResult + { + public: + struct Data + { + std::string status; + std::string qualificationId; + std::string orderId; + }; + + + GetHotlineQualificationByOrderResult(); + explicit GetHotlineQualificationByOrderResult(const std::string &payload); + ~GetHotlineQualificationByOrderResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETHOTLINEQUALIFICATIONBYORDERRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenRequest.h new file mode 100644 index 000000000..54f1755c9 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenRequest.h @@ -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_DYVMSAPI_MODEL_GETTOKENREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_GETTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT GetTokenRequest : public RpcServiceRequest + { + + public: + GetTokenRequest(); + ~GetTokenRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTokenType()const; + void setTokenType(const std::string& tokenType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string tokenType_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETTOKENREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenResult.h new file mode 100644 index 000000000..8c8d31862 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/GetTokenResult.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_DYVMSAPI_MODEL_GETTOKENRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_GETTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT GetTokenResult : public ServiceResult + { + public: + + + GetTokenResult(); + explicit GetTokenResult(const std::string &payload); + ~GetTokenResult(); + std::string getMessage()const; + std::string getToken()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string token_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETTOKENRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.h new file mode 100644 index 000000000..1ab8419b4 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.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_DYVMSAPI_MODEL_LISTCALLTASKDETAILREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListCallTaskDetailRequest : public RpcServiceRequest + { + + public: + ListCallTaskDetailRequest(); + ~ListCallTaskDetailRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCalledNum()const; + void setCalledNum(const std::string& calledNum); + long getTaskId()const; + void setTaskId(long taskId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string calledNum_; + long taskId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKDETAILREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.h new file mode 100644 index 000000000..4a1a43d79 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.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_DYVMSAPI_MODEL_LISTCALLTASKDETAILRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListCallTaskDetailResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string caller; + long duration; + long id; + std::string calledNum; + }; + + + ListCallTaskDetailResult(); + explicit ListCallTaskDetailResult(const std::string &payload); + ~ListCallTaskDetailResult(); + long getTotalPage()const; + long getPageSize()const; + long getPageNumber()const; + long getTotal()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + long totalPage_; + long pageSize_; + long pageNumber_; + long total_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKDETAILRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskRequest.h new file mode 100644 index 000000000..b1f01f083 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListCallTaskRequest : public RpcServiceRequest + { + + public: + ListCallTaskRequest(); + ~ListCallTaskRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTaskName()const; + void setTaskName(const std::string& taskName); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getTemplateName()const; + void setTemplateName(const std::string& templateName); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getBizType()const; + void setBizType(const std::string& bizType); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + std::string taskName_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string templateName_; + std::string taskId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string bizType_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskResult.h new file mode 100644 index 000000000..372f959be --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListCallTaskResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_LISTCALLTASKRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListCallTaskResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string fireTime; + std::string resource; + std::string bizType; + std::string data; + long completedCount; + std::string templateCode; + long totalCount; + std::string taskName; + int completedRate; + std::string templateName; + std::string dataType; + long id; + std::string completeTime; + std::string stopTime; + }; + + + ListCallTaskResult(); + explicit ListCallTaskResult(const std::string &payload); + ~ListCallTaskResult(); + long getPageSize()const; + long getPageNumber()const; + long getTotal()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + long pageSize_; + long pageNumber_; + long total_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.h new file mode 100644 index 000000000..6e89f953a --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.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_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListHotlineTransferNumberRequest : public RpcServiceRequest + { + + public: + ListHotlineTransferNumberRequest(); + ~ListHotlineTransferNumberRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getHotlineNumber()const; + void setHotlineNumber(const std::string& hotlineNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getQualificationId()const; + void setQualificationId(const std::string& qualificationId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNo()const; + void setPageNo(int pageNo); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string hotlineNumber_; + int pageSize_; + std::string qualificationId_; + std::string resourceOwnerAccount_; + long ownerId_; + int pageNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h new file mode 100644 index 000000000..ee6e449cd --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListHotlineTransferNumberResult : public ServiceResult + { + public: + struct Data + { + struct ValuesItem + { + std::string numberOwnerName; + std::string resUniqueCode; + std::string phoneNumber; + std::string hotlineNumber; + std::string qualificationId; + std::string identityCard; + }; + int pageSize; + long total; + std::vector values; + int pageNo; + }; + + + ListHotlineTransferNumberResult(); + explicit ListHotlineTransferNumberResult(const std::string &payload); + ~ListHotlineTransferNumberResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERNUMBERRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.h new file mode 100644 index 000000000..194ee15d2 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.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_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILEREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListHotlineTransferRegisterFileRequest : public RpcServiceRequest + { + + public: + ListHotlineTransferRegisterFileRequest(); + ~ListHotlineTransferRegisterFileRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getHotlineNumber()const; + void setHotlineNumber(const std::string& hotlineNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getQualificationId()const; + void setQualificationId(const std::string& qualificationId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNo()const; + void setPageNo(int pageNo); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string hotlineNumber_; + int pageSize_; + std::string qualificationId_; + std::string resourceOwnerAccount_; + long ownerId_; + int pageNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILEREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h new file mode 100644 index 000000000..e0cf997a9 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILERESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListHotlineTransferRegisterFileResult : public ServiceResult + { + public: + struct Data + { + struct ValuesItem + { + std::string mngOpName; + std::string mngOpIdentityCard; + std::string mngOpMail; + std::string agree; + long resUniqueCode; + std::string hotlineNumber; + std::string qualificationId; + std::string mngOpMobile; + std::string corpName; + }; + int pageSize; + long total; + std::vector values; + int pageNo; + }; + + + ListHotlineTransferRegisterFileResult(); + explicit ListHotlineTransferRegisterFileResult(const std::string &payload); + ~ListHotlineTransferRegisterFileResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTHOTLINETRANSFERREGISTERFILERESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h new file mode 100644 index 000000000..31fcb38eb --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListRobotTaskCallsRequest : public RpcServiceRequest + { + + public: + ListRobotTaskCallsRequest(); + ~ListRobotTaskCallsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getCalled()const; + void setCalled(const std::string& called); + std::string getDialogCountTo()const; + void setDialogCountTo(const std::string& dialogCountTo); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getDurationFrom()const; + void setDurationFrom(const std::string& durationFrom); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDialogCountFrom()const; + void setDialogCountFrom(const std::string& dialogCountFrom); + std::string getDurationTo()const; + void setDurationTo(const std::string& durationTo); + std::string getHangupDirection()const; + void setHangupDirection(const std::string& hangupDirection); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNo()const; + void setPageNo(int pageNo); + std::string getCallResult()const; + void setCallResult(const std::string& callResult); + + private: + long resourceOwnerId_; + std::string called_; + std::string dialogCountTo_; + std::string accessKeyId_; + std::string durationFrom_; + int pageSize_; + std::string taskId_; + std::string resourceOwnerAccount_; + std::string dialogCountFrom_; + std::string durationTo_; + std::string hangupDirection_; + long ownerId_; + int pageNo_; + std::string callResult_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h new file mode 100644 index 000000000..391835fde --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT ListRobotTaskCallsResult : public ServiceResult + { + public: + + + ListRobotTaskCallsResult(); + explicit ListRobotTaskCallsResult(const std::string &payload); + ~ListRobotTaskCallsResult(); + std::string getTotalCount()const; + std::string getPageSize()const; + std::string getMessage()const; + std::string getData()const; + std::string getPageNo()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string pageSize_; + std::string message_; + std::string data_; + std::string pageNo_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTROBOTTASKCALLSRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h new file mode 100644 index 000000000..15bc7827e --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h @@ -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_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryCallInPoolTransferConfigRequest : public RpcServiceRequest + { + + public: + QueryCallInPoolTransferConfigRequest(); + ~QueryCallInPoolTransferConfigRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPhoneNumber()const; + void setPhoneNumber(const std::string& phoneNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string phoneNumber_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h new file mode 100644 index 000000000..739fd4cbb --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryCallInPoolTransferConfigResult : public ServiceResult + { + public: + struct Data + { + struct DetailsItem + { + std::string called; + }; + long gmtCreate; + std::vector details; + std::string calledRouteMode; + std::string transferTimeout; + }; + + + QueryCallInPoolTransferConfigResult(); + explicit QueryCallInPoolTransferConfigResult(const std::string &payload); + ~QueryCallInPoolTransferConfigResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINPOOLTRANSFERCONFIGRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.h new file mode 100644 index 000000000..0acbae4b6 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.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_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryCallInTransferRecordRequest : public RpcServiceRequest + { + + public: + QueryCallInTransferRecordRequest(); + ~QueryCallInTransferRecordRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPhoneNumber()const; + void setPhoneNumber(const std::string& phoneNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getQueryDate()const; + void setQueryDate(const std::string& queryDate); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getPageNo()const; + void setPageNo(long pageNo); + std::string getCallInCaller()const; + void setCallInCaller(const std::string& callInCaller); + + private: + long resourceOwnerId_; + std::string phoneNumber_; + std::string accessKeyId_; + long pageSize_; + std::string queryDate_; + std::string resourceOwnerAccount_; + long ownerId_; + long pageNo_; + std::string callInCaller_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h new file mode 100644 index 000000000..d2cee2060 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryCallInTransferRecordResult : public ServiceResult + { + public: + struct Data + { + struct ValuesItem + { + std::string callInCalled; + long gmtCreate; + std::string recordUrl; + std::string transferCaller; + std::string transferCalled; + std::string callInCaller; + }; + long pageSize; + long total; + std::vector values; + long pageNo; + }; + + + QueryCallInTransferRecordResult(); + explicit QueryCallInTransferRecordResult(const std::string &payload); + ~QueryCallInTransferRecordResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLINTRANSFERRECORDRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h index 427dc2425..7cb2c35bd 100644 --- a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h @@ -37,15 +37,21 @@ namespace AlibabaCloud QueryRobotTaskListResult(); explicit QueryRobotTaskListResult(const std::string &payload); ~QueryRobotTaskListResult(); + std::string getTotalCount()const; + std::string getPageSize()const; std::string getMessage()const; std::string getData()const; + std::string getPageNo()const; std::string getCode()const; protected: void parse(const std::string &payload); private: + std::string totalCount_; + std::string pageSize_; std::string message_; std::string data_; + std::string pageNo_; std::string code_; }; diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h new file mode 100644 index 000000000..fa0247c26 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVirtualNumberRelationRequest : public RpcServiceRequest + { + + public: + QueryVirtualNumberRelationRequest(); + ~QueryVirtualNumberRelationRequest(); + + long getSpecId()const; + void setSpecId(long specId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getRouteType()const; + void setRouteType(int routeType); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRelatedNum()const; + void setRelatedNum(const std::string& relatedNum); + std::string getRegionNameCity()const; + void setRegionNameCity(const std::string& regionNameCity); + long getQualificationId()const; + void setQualificationId(long qualificationId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getProdCode()const; + void setProdCode(const std::string& prodCode); + std::string getPhoneNum()const; + void setPhoneNum(const std::string& phoneNum); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNo()const; + void setPageNo(int pageNo); + + private: + long specId_; + long resourceOwnerId_; + std::string accessKeyId_; + int routeType_; + int pageSize_; + std::string relatedNum_; + std::string regionNameCity_; + long qualificationId_; + std::string resourceOwnerAccount_; + std::string prodCode_; + std::string phoneNum_; + long ownerId_; + int pageNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h new file mode 100644 index 000000000..f97128b71 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVirtualNumberRelationResult : public ServiceResult + { + public: + + + QueryVirtualNumberRelationResult(); + explicit QueryVirtualNumberRelationResult(const std::string &payload); + ~QueryVirtualNumberRelationResult(); + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRELATIONRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.h new file mode 100644 index 000000000..58dc90030 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.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_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVirtualNumberRequest : public RpcServiceRequest + { + + public: + QueryVirtualNumberRequest(); + ~QueryVirtualNumberRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getRouteType()const; + void setRouteType(int routeType); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getProdCode()const; + void setProdCode(const std::string& prodCode); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getPageNo()const; + void setPageNo(int pageNo); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + int routeType_; + int pageSize_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + int pageNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h new file mode 100644 index 000000000..991f436b3 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT QueryVirtualNumberResult : public ServiceResult + { + public: + + + QueryVirtualNumberResult(); + explicit QueryVirtualNumberResult(const std::string &payload); + ~QueryVirtualNumberResult(); + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYVIRTUALNUMBERRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationRequest.h new file mode 100644 index 000000000..d297b15d7 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_SENDVERIFICATIONREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SENDVERIFICATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SendVerificationRequest : public RpcServiceRequest + { + + public: + SendVerificationRequest(); + ~SendVerificationRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getVerifyType()const; + void setVerifyType(const std::string& verifyType); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTarget()const; + void setTarget(const std::string& target); + std::string getBizType()const; + void setBizType(const std::string& bizType); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string verifyType_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string target_; + std::string bizType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SENDVERIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationResult.h new file mode 100644 index 000000000..29777d012 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SendVerificationResult.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_DYVMSAPI_MODEL_SENDVERIFICATIONRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SENDVERIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SendVerificationResult : public ServiceResult + { + public: + + + SendVerificationResult(); + explicit SendVerificationResult(const std::string &payload); + ~SendVerificationResult(); + std::string getMessage()const; + bool getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SENDVERIFICATIONRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.h new file mode 100644 index 000000000..164251be3 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.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_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SetTransferCalleePoolConfigRequest : public RpcServiceRequest + { + public: + struct Details + { + std::string caller; + std::string called; + }; + + public: + SetTransferCalleePoolConfigRequest(); + ~SetTransferCalleePoolConfigRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPhoneNumber()const; + void setPhoneNumber(const std::string& phoneNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::vector
getDetails()const; + void setDetails(const std::vector
& details); + std::string getCalledRouteMode()const; + void setCalledRouteMode(const std::string& calledRouteMode); + std::string getQualificationId()const; + void setQualificationId(const std::string& qualificationId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string phoneNumber_; + std::string accessKeyId_; + std::vector
details_; + std::string calledRouteMode_; + std::string qualificationId_; + std::string resourceOwnerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.h new file mode 100644 index 000000000..75840d663 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.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_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SetTransferCalleePoolConfigResult : public ServiceResult + { + public: + + + SetTransferCalleePoolConfigResult(); + explicit SetTransferCalleePoolConfigResult(const std::string &payload); + ~SetTransferCalleePoolConfigResult(); + std::string getMessage()const; + bool getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SmartCallRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SmartCallRequest.h index 87414b0e5..bfb0c1d72 100644 --- a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SmartCallRequest.h +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SmartCallRequest.h @@ -73,6 +73,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); int getTtsVolume()const; void setTtsVolume(int ttsVolume); + int getStreamAsr()const; + void setStreamAsr(int streamAsr); int getVolume()const; void setVolume(int volume); int getMuteTime()const; @@ -106,6 +108,7 @@ namespace AlibabaCloud bool recordFlag_; long ownerId_; int ttsVolume_; + int streamAsr_; int volume_; int muteTime_; std::string outId_; diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h new file mode 100644 index 000000000..06cf3b26d --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERREQUEST_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SubmitHotlineTransferRegisterRequest : public RpcServiceRequest + { + public: + struct TransferPhoneNumberInfos + { + std::string phoneNumber; + std::string phoneNumberOwnerName; + std::string identityCard; + }; + + public: + SubmitHotlineTransferRegisterRequest(); + ~SubmitHotlineTransferRegisterRequest(); + + std::string getOperatorIdentityCard()const; + void setOperatorIdentityCard(const std::string& operatorIdentityCard); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getOperatorMail()const; + void setOperatorMail(const std::string& operatorMail); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getHotlineNumber()const; + void setHotlineNumber(const std::string& hotlineNumber); + std::vector getTransferPhoneNumberInfos()const; + void setTransferPhoneNumberInfos(const std::vector& transferPhoneNumberInfos); + std::string getOperatorMobileVerifyCode()const; + void setOperatorMobileVerifyCode(const std::string& operatorMobileVerifyCode); + std::string getAgreement()const; + void setAgreement(const std::string& agreement); + std::string getQualificationId()const; + void setQualificationId(const std::string& qualificationId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getOperatorMobile()const; + void setOperatorMobile(const std::string& operatorMobile); + std::string getOperatorMailVerifyCode()const; + void setOperatorMailVerifyCode(const std::string& operatorMailVerifyCode); + std::string getOperatorName()const; + void setOperatorName(const std::string& operatorName); + + private: + std::string operatorIdentityCard_; + long resourceOwnerId_; + std::string operatorMail_; + std::string accessKeyId_; + std::string hotlineNumber_; + std::vector transferPhoneNumberInfos_; + std::string operatorMobileVerifyCode_; + std::string agreement_; + std::string qualificationId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string operatorMobile_; + std::string operatorMailVerifyCode_; + std::string operatorName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERREQUEST_H_ \ No newline at end of file diff --git a/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.h b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.h new file mode 100644 index 000000000..920bd0b37 --- /dev/null +++ b/dyvmsapi/include/alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.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_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERRESULT_H_ +#define ALIBABACLOUD_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dyvmsapi + { + namespace Model + { + class ALIBABACLOUD_DYVMSAPI_EXPORT SubmitHotlineTransferRegisterResult : public ServiceResult + { + public: + + + SubmitHotlineTransferRegisterResult(); + explicit SubmitHotlineTransferRegisterResult(const std::string &payload); + ~SubmitHotlineTransferRegisterResult(); + std::string getMessage()const; + long getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + long data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SUBMITHOTLINETRANSFERREGISTERRESULT_H_ \ No newline at end of file diff --git a/dyvmsapi/src/DyvmsapiClient.cc b/dyvmsapi/src/DyvmsapiClient.cc index e2c20672f..62d062b73 100644 --- a/dyvmsapi/src/DyvmsapiClient.cc +++ b/dyvmsapi/src/DyvmsapiClient.cc @@ -87,6 +87,42 @@ DyvmsapiClient::AddRtcAccountOutcomeCallable DyvmsapiClient::addRtcAccountCallab return task->get_future(); } +DyvmsapiClient::AddVirtualNumberRelationOutcome DyvmsapiClient::addVirtualNumberRelation(const AddVirtualNumberRelationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddVirtualNumberRelationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddVirtualNumberRelationOutcome(AddVirtualNumberRelationResult(outcome.result())); + else + return AddVirtualNumberRelationOutcome(outcome.error()); +} + +void DyvmsapiClient::addVirtualNumberRelationAsync(const AddVirtualNumberRelationRequest& request, const AddVirtualNumberRelationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addVirtualNumberRelation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::AddVirtualNumberRelationOutcomeCallable DyvmsapiClient::addVirtualNumberRelationCallable(const AddVirtualNumberRelationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addVirtualNumberRelation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::BatchRobotSmartCallOutcome DyvmsapiClient::batchRobotSmartCall(const BatchRobotSmartCallRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +339,78 @@ DyvmsapiClient::ClickToDialOutcomeCallable DyvmsapiClient::clickToDialCallable(c return task->get_future(); } +DyvmsapiClient::CloseSipAccountOutcome DyvmsapiClient::closeSipAccount(const CloseSipAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CloseSipAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CloseSipAccountOutcome(CloseSipAccountResult(outcome.result())); + else + return CloseSipAccountOutcome(outcome.error()); +} + +void DyvmsapiClient::closeSipAccountAsync(const CloseSipAccountRequest& request, const CloseSipAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, closeSipAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::CloseSipAccountOutcomeCallable DyvmsapiClient::closeSipAccountCallable(const CloseSipAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->closeSipAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::CreateCallTaskOutcome DyvmsapiClient::createCallTask(const CreateCallTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCallTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCallTaskOutcome(CreateCallTaskResult(outcome.result())); + else + return CreateCallTaskOutcome(outcome.error()); +} + +void DyvmsapiClient::createCallTaskAsync(const CreateCallTaskRequest& request, const CreateCallTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCallTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::CreateCallTaskOutcomeCallable DyvmsapiClient::createCallTaskCallable(const CreateCallTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCallTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::CreateRobotTaskOutcome DyvmsapiClient::createRobotTask(const CreateRobotTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -339,6 +447,42 @@ DyvmsapiClient::CreateRobotTaskOutcomeCallable DyvmsapiClient::createRobotTaskCa return task->get_future(); } +DyvmsapiClient::CreateSipAccountOutcome DyvmsapiClient::createSipAccount(const CreateSipAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSipAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSipAccountOutcome(CreateSipAccountResult(outcome.result())); + else + return CreateSipAccountOutcome(outcome.error()); +} + +void DyvmsapiClient::createSipAccountAsync(const CreateSipAccountRequest& request, const CreateSipAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSipAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::CreateSipAccountOutcomeCallable DyvmsapiClient::createSipAccountCallable(const CreateSipAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSipAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::DeleteRobotTaskOutcome DyvmsapiClient::deleteRobotTask(const DeleteRobotTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +591,114 @@ DyvmsapiClient::DoRtcNumberAuthOutcomeCallable DyvmsapiClient::doRtcNumberAuthCa return task->get_future(); } +DyvmsapiClient::DoubleCallSeatOutcome DyvmsapiClient::doubleCallSeat(const DoubleCallSeatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DoubleCallSeatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DoubleCallSeatOutcome(DoubleCallSeatResult(outcome.result())); + else + return DoubleCallSeatOutcome(outcome.error()); +} + +void DyvmsapiClient::doubleCallSeatAsync(const DoubleCallSeatRequest& request, const DoubleCallSeatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, doubleCallSeat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::DoubleCallSeatOutcomeCallable DyvmsapiClient::doubleCallSeatCallable(const DoubleCallSeatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->doubleCallSeat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::ExecuteCallTaskOutcome DyvmsapiClient::executeCallTask(const ExecuteCallTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExecuteCallTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExecuteCallTaskOutcome(ExecuteCallTaskResult(outcome.result())); + else + return ExecuteCallTaskOutcome(outcome.error()); +} + +void DyvmsapiClient::executeCallTaskAsync(const ExecuteCallTaskRequest& request, const ExecuteCallTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, executeCallTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ExecuteCallTaskOutcomeCallable DyvmsapiClient::executeCallTaskCallable(const ExecuteCallTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->executeCallTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::GetHotlineQualificationByOrderOutcome DyvmsapiClient::getHotlineQualificationByOrder(const GetHotlineQualificationByOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetHotlineQualificationByOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetHotlineQualificationByOrderOutcome(GetHotlineQualificationByOrderResult(outcome.result())); + else + return GetHotlineQualificationByOrderOutcome(outcome.error()); +} + +void DyvmsapiClient::getHotlineQualificationByOrderAsync(const GetHotlineQualificationByOrderRequest& request, const GetHotlineQualificationByOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getHotlineQualificationByOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::GetHotlineQualificationByOrderOutcomeCallable DyvmsapiClient::getHotlineQualificationByOrderCallable(const GetHotlineQualificationByOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getHotlineQualificationByOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::GetRtcTokenOutcome DyvmsapiClient::getRtcToken(const GetRtcTokenRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +735,42 @@ DyvmsapiClient::GetRtcTokenOutcomeCallable DyvmsapiClient::getRtcTokenCallable(c return task->get_future(); } +DyvmsapiClient::GetTokenOutcome DyvmsapiClient::getToken(const GetTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTokenOutcome(GetTokenResult(outcome.result())); + else + return GetTokenOutcome(outcome.error()); +} + +void DyvmsapiClient::getTokenAsync(const GetTokenRequest& request, const GetTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::GetTokenOutcomeCallable DyvmsapiClient::getTokenCallable(const GetTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::IvrCallOutcome DyvmsapiClient::ivrCall(const IvrCallRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +807,150 @@ DyvmsapiClient::IvrCallOutcomeCallable DyvmsapiClient::ivrCallCallable(const Ivr return task->get_future(); } +DyvmsapiClient::ListCallTaskOutcome DyvmsapiClient::listCallTask(const ListCallTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCallTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCallTaskOutcome(ListCallTaskResult(outcome.result())); + else + return ListCallTaskOutcome(outcome.error()); +} + +void DyvmsapiClient::listCallTaskAsync(const ListCallTaskRequest& request, const ListCallTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCallTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ListCallTaskOutcomeCallable DyvmsapiClient::listCallTaskCallable(const ListCallTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCallTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::ListCallTaskDetailOutcome DyvmsapiClient::listCallTaskDetail(const ListCallTaskDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCallTaskDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCallTaskDetailOutcome(ListCallTaskDetailResult(outcome.result())); + else + return ListCallTaskDetailOutcome(outcome.error()); +} + +void DyvmsapiClient::listCallTaskDetailAsync(const ListCallTaskDetailRequest& request, const ListCallTaskDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCallTaskDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ListCallTaskDetailOutcomeCallable DyvmsapiClient::listCallTaskDetailCallable(const ListCallTaskDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCallTaskDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::ListHotlineTransferNumberOutcome DyvmsapiClient::listHotlineTransferNumber(const ListHotlineTransferNumberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListHotlineTransferNumberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListHotlineTransferNumberOutcome(ListHotlineTransferNumberResult(outcome.result())); + else + return ListHotlineTransferNumberOutcome(outcome.error()); +} + +void DyvmsapiClient::listHotlineTransferNumberAsync(const ListHotlineTransferNumberRequest& request, const ListHotlineTransferNumberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listHotlineTransferNumber(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ListHotlineTransferNumberOutcomeCallable DyvmsapiClient::listHotlineTransferNumberCallable(const ListHotlineTransferNumberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listHotlineTransferNumber(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::ListHotlineTransferRegisterFileOutcome DyvmsapiClient::listHotlineTransferRegisterFile(const ListHotlineTransferRegisterFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListHotlineTransferRegisterFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListHotlineTransferRegisterFileOutcome(ListHotlineTransferRegisterFileResult(outcome.result())); + else + return ListHotlineTransferRegisterFileOutcome(outcome.error()); +} + +void DyvmsapiClient::listHotlineTransferRegisterFileAsync(const ListHotlineTransferRegisterFileRequest& request, const ListHotlineTransferRegisterFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listHotlineTransferRegisterFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ListHotlineTransferRegisterFileOutcomeCallable DyvmsapiClient::listHotlineTransferRegisterFileCallable(const ListHotlineTransferRegisterFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listHotlineTransferRegisterFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::ListOrderedNumbersOutcome DyvmsapiClient::listOrderedNumbers(const ListOrderedNumbersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,6 +1023,42 @@ DyvmsapiClient::ListOutboundStrategiesOutcomeCallable DyvmsapiClient::listOutbou return task->get_future(); } +DyvmsapiClient::ListRobotTaskCallsOutcome DyvmsapiClient::listRobotTaskCalls(const ListRobotTaskCallsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRobotTaskCallsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRobotTaskCallsOutcome(ListRobotTaskCallsResult(outcome.result())); + else + return ListRobotTaskCallsOutcome(outcome.error()); +} + +void DyvmsapiClient::listRobotTaskCallsAsync(const ListRobotTaskCallsRequest& request, const ListRobotTaskCallsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRobotTaskCalls(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::ListRobotTaskCallsOutcomeCallable DyvmsapiClient::listRobotTaskCallsCallable(const ListRobotTaskCallsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRobotTaskCalls(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::QueryCallDetailByCallIdOutcome DyvmsapiClient::queryCallDetailByCallId(const QueryCallDetailByCallIdRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,6 +1131,78 @@ DyvmsapiClient::QueryCallDetailByTaskIdOutcomeCallable DyvmsapiClient::queryCall return task->get_future(); } +DyvmsapiClient::QueryCallInPoolTransferConfigOutcome DyvmsapiClient::queryCallInPoolTransferConfig(const QueryCallInPoolTransferConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCallInPoolTransferConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCallInPoolTransferConfigOutcome(QueryCallInPoolTransferConfigResult(outcome.result())); + else + return QueryCallInPoolTransferConfigOutcome(outcome.error()); +} + +void DyvmsapiClient::queryCallInPoolTransferConfigAsync(const QueryCallInPoolTransferConfigRequest& request, const QueryCallInPoolTransferConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCallInPoolTransferConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::QueryCallInPoolTransferConfigOutcomeCallable DyvmsapiClient::queryCallInPoolTransferConfigCallable(const QueryCallInPoolTransferConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCallInPoolTransferConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::QueryCallInTransferRecordOutcome DyvmsapiClient::queryCallInTransferRecord(const QueryCallInTransferRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCallInTransferRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCallInTransferRecordOutcome(QueryCallInTransferRecordResult(outcome.result())); + else + return QueryCallInTransferRecordOutcome(outcome.error()); +} + +void DyvmsapiClient::queryCallInTransferRecordAsync(const QueryCallInTransferRecordRequest& request, const QueryCallInTransferRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCallInTransferRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::QueryCallInTransferRecordOutcomeCallable DyvmsapiClient::queryCallInTransferRecordCallable(const QueryCallInTransferRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCallInTransferRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::QueryRobotInfoListOutcome DyvmsapiClient::queryRobotInfoList(const QueryRobotInfoListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -915,6 +1455,78 @@ DyvmsapiClient::QueryRtcNumberAuthStatusOutcomeCallable DyvmsapiClient::queryRtc return task->get_future(); } +DyvmsapiClient::QueryVirtualNumberOutcome DyvmsapiClient::queryVirtualNumber(const QueryVirtualNumberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryVirtualNumberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryVirtualNumberOutcome(QueryVirtualNumberResult(outcome.result())); + else + return QueryVirtualNumberOutcome(outcome.error()); +} + +void DyvmsapiClient::queryVirtualNumberAsync(const QueryVirtualNumberRequest& request, const QueryVirtualNumberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryVirtualNumber(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::QueryVirtualNumberOutcomeCallable DyvmsapiClient::queryVirtualNumberCallable(const QueryVirtualNumberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryVirtualNumber(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::QueryVirtualNumberRelationOutcome DyvmsapiClient::queryVirtualNumberRelation(const QueryVirtualNumberRelationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryVirtualNumberRelationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryVirtualNumberRelationOutcome(QueryVirtualNumberRelationResult(outcome.result())); + else + return QueryVirtualNumberRelationOutcome(outcome.error()); +} + +void DyvmsapiClient::queryVirtualNumberRelationAsync(const QueryVirtualNumberRelationRequest& request, const QueryVirtualNumberRelationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryVirtualNumberRelation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::QueryVirtualNumberRelationOutcomeCallable DyvmsapiClient::queryVirtualNumberRelationCallable(const QueryVirtualNumberRelationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryVirtualNumberRelation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::QueryVoipNumberBindInfosOutcome DyvmsapiClient::queryVoipNumberBindInfos(const QueryVoipNumberBindInfosRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,6 +1599,78 @@ DyvmsapiClient::ReportVoipProblemsOutcomeCallable DyvmsapiClient::reportVoipProb return task->get_future(); } +DyvmsapiClient::SendVerificationOutcome DyvmsapiClient::sendVerification(const SendVerificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendVerificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendVerificationOutcome(SendVerificationResult(outcome.result())); + else + return SendVerificationOutcome(outcome.error()); +} + +void DyvmsapiClient::sendVerificationAsync(const SendVerificationRequest& request, const SendVerificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendVerification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::SendVerificationOutcomeCallable DyvmsapiClient::sendVerificationCallable(const SendVerificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendVerification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DyvmsapiClient::SetTransferCalleePoolConfigOutcome DyvmsapiClient::setTransferCalleePoolConfig(const SetTransferCalleePoolConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetTransferCalleePoolConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetTransferCalleePoolConfigOutcome(SetTransferCalleePoolConfigResult(outcome.result())); + else + return SetTransferCalleePoolConfigOutcome(outcome.error()); +} + +void DyvmsapiClient::setTransferCalleePoolConfigAsync(const SetTransferCalleePoolConfigRequest& request, const SetTransferCalleePoolConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setTransferCalleePoolConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::SetTransferCalleePoolConfigOutcomeCallable DyvmsapiClient::setTransferCalleePoolConfigCallable(const SetTransferCalleePoolConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setTransferCalleePoolConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::SingleCallByTtsOutcome DyvmsapiClient::singleCallByTts(const SingleCallByTtsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1239,6 +1923,42 @@ DyvmsapiClient::StopRobotTaskOutcomeCallable DyvmsapiClient::stopRobotTaskCallab return task->get_future(); } +DyvmsapiClient::SubmitHotlineTransferRegisterOutcome DyvmsapiClient::submitHotlineTransferRegister(const SubmitHotlineTransferRegisterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitHotlineTransferRegisterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitHotlineTransferRegisterOutcome(SubmitHotlineTransferRegisterResult(outcome.result())); + else + return SubmitHotlineTransferRegisterOutcome(outcome.error()); +} + +void DyvmsapiClient::submitHotlineTransferRegisterAsync(const SubmitHotlineTransferRegisterRequest& request, const SubmitHotlineTransferRegisterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitHotlineTransferRegister(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DyvmsapiClient::SubmitHotlineTransferRegisterOutcomeCallable DyvmsapiClient::submitHotlineTransferRegisterCallable(const SubmitHotlineTransferRegisterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitHotlineTransferRegister(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DyvmsapiClient::UnbindNumberAndVoipIdOutcome DyvmsapiClient::unbindNumberAndVoipId(const UnbindNumberAndVoipIdRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc b/dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc new file mode 100644 index 000000000..873de8237 --- /dev/null +++ b/dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::AddVirtualNumberRelationRequest; + +AddVirtualNumberRelationRequest::AddVirtualNumberRelationRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "AddVirtualNumberRelation") +{ + setMethod(HttpRequest::Method::Post); +} + +AddVirtualNumberRelationRequest::~AddVirtualNumberRelationRequest() +{} + +long AddVirtualNumberRelationRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AddVirtualNumberRelationRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AddVirtualNumberRelationRequest::getNumberList()const +{ + return numberList_; +} + +void AddVirtualNumberRelationRequest::setNumberList(const std::string& numberList) +{ + numberList_ = numberList; + setParameter("NumberList", numberList); +} + +std::string AddVirtualNumberRelationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddVirtualNumberRelationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int AddVirtualNumberRelationRequest::getRouteType()const +{ + return routeType_; +} + +void AddVirtualNumberRelationRequest::setRouteType(int routeType) +{ + routeType_ = routeType; + setParameter("RouteType", std::to_string(routeType)); +} + +std::string AddVirtualNumberRelationRequest::getCorpNameList()const +{ + return corpNameList_; +} + +void AddVirtualNumberRelationRequest::setCorpNameList(const std::string& corpNameList) +{ + corpNameList_ = corpNameList; + setParameter("CorpNameList", corpNameList); +} + +std::string AddVirtualNumberRelationRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void AddVirtualNumberRelationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string AddVirtualNumberRelationRequest::getProdCode()const +{ + return prodCode_; +} + +void AddVirtualNumberRelationRequest::setProdCode(const std::string& prodCode) +{ + prodCode_ = prodCode; + setParameter("ProdCode", prodCode); +} + +std::string AddVirtualNumberRelationRequest::getPhoneNum()const +{ + return phoneNum_; +} + +void AddVirtualNumberRelationRequest::setPhoneNum(const std::string& phoneNum) +{ + phoneNum_ = phoneNum; + setParameter("PhoneNum", phoneNum); +} + +long AddVirtualNumberRelationRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddVirtualNumberRelationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/AddVirtualNumberRelationResult.cc b/dyvmsapi/src/model/AddVirtualNumberRelationResult.cc new file mode 100644 index 000000000..0abc090c4 --- /dev/null +++ b/dyvmsapi/src/model/AddVirtualNumberRelationResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +AddVirtualNumberRelationResult::AddVirtualNumberRelationResult() : + ServiceResult() +{} + +AddVirtualNumberRelationResult::AddVirtualNumberRelationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddVirtualNumberRelationResult::~AddVirtualNumberRelationResult() +{} + +void AddVirtualNumberRelationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string AddVirtualNumberRelationResult::getMessage()const +{ + return message_; +} + +std::string AddVirtualNumberRelationResult::getData()const +{ + return data_; +} + +std::string AddVirtualNumberRelationResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/CloseSipAccountRequest.cc b/dyvmsapi/src/model/CloseSipAccountRequest.cc new file mode 100644 index 000000000..66556c6f1 --- /dev/null +++ b/dyvmsapi/src/model/CloseSipAccountRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::CloseSipAccountRequest; + +CloseSipAccountRequest::CloseSipAccountRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "CloseSipAccount") +{ + setMethod(HttpRequest::Method::Post); +} + +CloseSipAccountRequest::~CloseSipAccountRequest() +{} + +long CloseSipAccountRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CloseSipAccountRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CloseSipAccountRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CloseSipAccountRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +long CloseSipAccountRequest::getPartnerId()const +{ + return partnerId_; +} + +void CloseSipAccountRequest::setPartnerId(long partnerId) +{ + partnerId_ = partnerId; + setParameter("PartnerId", std::to_string(partnerId)); +} + +std::string CloseSipAccountRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void CloseSipAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long CloseSipAccountRequest::getOwnerId()const +{ + return ownerId_; +} + +void CloseSipAccountRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CloseSipAccountRequest::getSipAccountID()const +{ + return sipAccountID_; +} + +void CloseSipAccountRequest::setSipAccountID(const std::string& sipAccountID) +{ + sipAccountID_ = sipAccountID; + setParameter("SipAccountID", sipAccountID); +} + diff --git a/dyvmsapi/src/model/CloseSipAccountResult.cc b/dyvmsapi/src/model/CloseSipAccountResult.cc new file mode 100644 index 000000000..38333377b --- /dev/null +++ b/dyvmsapi/src/model/CloseSipAccountResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +CloseSipAccountResult::CloseSipAccountResult() : + ServiceResult() +{} + +CloseSipAccountResult::CloseSipAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CloseSipAccountResult::~CloseSipAccountResult() +{} + +void CloseSipAccountResult::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() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CloseSipAccountResult::getMessage()const +{ + return message_; +} + +bool CloseSipAccountResult::getData()const +{ + return data_; +} + +std::string CloseSipAccountResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/CreateCallTaskRequest.cc b/dyvmsapi/src/model/CreateCallTaskRequest.cc new file mode 100644 index 000000000..0309beefd --- /dev/null +++ b/dyvmsapi/src/model/CreateCallTaskRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::CreateCallTaskRequest; + +CreateCallTaskRequest::CreateCallTaskRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "CreateCallTask") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateCallTaskRequest::~CreateCallTaskRequest() +{} + +long CreateCallTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateCallTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateCallTaskRequest::getScheduleType()const +{ + return scheduleType_; +} + +void CreateCallTaskRequest::setScheduleType(const std::string& scheduleType) +{ + scheduleType_ = scheduleType; + setParameter("ScheduleType", scheduleType); +} + +std::string CreateCallTaskRequest::getData()const +{ + return data_; +} + +void CreateCallTaskRequest::setData(const std::string& data) +{ + data_ = data; + setParameter("Data", data); +} + +std::string CreateCallTaskRequest::getTaskName()const +{ + return taskName_; +} + +void CreateCallTaskRequest::setTaskName(const std::string& taskName) +{ + taskName_ = taskName; + setParameter("TaskName", taskName); +} + +std::string CreateCallTaskRequest::getStopTime()const +{ + return stopTime_; +} + +void CreateCallTaskRequest::setStopTime(const std::string& stopTime) +{ + stopTime_ = stopTime; + setParameter("StopTime", stopTime); +} + +std::string CreateCallTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateCallTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateCallTaskRequest::getDataType()const +{ + return dataType_; +} + +void CreateCallTaskRequest::setDataType(const std::string& dataType) +{ + dataType_ = dataType; + setParameter("DataType", dataType); +} + +std::string CreateCallTaskRequest::getTemplateName()const +{ + return templateName_; +} + +void CreateCallTaskRequest::setTemplateName(const std::string& templateName) +{ + templateName_ = templateName; + setParameter("TemplateName", templateName); +} + +std::string CreateCallTaskRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void CreateCallTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string CreateCallTaskRequest::getResource()const +{ + return resource_; +} + +void CreateCallTaskRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setParameter("Resource", resource); +} + +long CreateCallTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCallTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateCallTaskRequest::getResourceType()const +{ + return resourceType_; +} + +void CreateCallTaskRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + +std::string CreateCallTaskRequest::getBizType()const +{ + return bizType_; +} + +void CreateCallTaskRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); +} + +std::string CreateCallTaskRequest::getFireTime()const +{ + return fireTime_; +} + +void CreateCallTaskRequest::setFireTime(const std::string& fireTime) +{ + fireTime_ = fireTime; + setParameter("FireTime", fireTime); +} + +std::string CreateCallTaskRequest::getTemplateCode()const +{ + return templateCode_; +} + +void CreateCallTaskRequest::setTemplateCode(const std::string& templateCode) +{ + templateCode_ = templateCode; + setParameter("TemplateCode", templateCode); +} + diff --git a/dyvmsapi/src/model/CreateCallTaskResult.cc b/dyvmsapi/src/model/CreateCallTaskResult.cc new file mode 100644 index 000000000..685a43251 --- /dev/null +++ b/dyvmsapi/src/model/CreateCallTaskResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +CreateCallTaskResult::CreateCallTaskResult() : + ServiceResult() +{} + +CreateCallTaskResult::CreateCallTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCallTaskResult::~CreateCallTaskResult() +{} + +void CreateCallTaskResult::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_ = std::stol(value["Data"].asString()); + +} + +long CreateCallTaskResult::getData()const +{ + return data_; +} + +std::string CreateCallTaskResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/CreateSipAccountRequest.cc b/dyvmsapi/src/model/CreateSipAccountRequest.cc new file mode 100644 index 000000000..d9812859c --- /dev/null +++ b/dyvmsapi/src/model/CreateSipAccountRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::CreateSipAccountRequest; + +CreateSipAccountRequest::CreateSipAccountRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "CreateSipAccount") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSipAccountRequest::~CreateSipAccountRequest() +{} + +long CreateSipAccountRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateSipAccountRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateSipAccountRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateSipAccountRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateSipAccountRequest::getBusinessKey()const +{ + return businessKey_; +} + +void CreateSipAccountRequest::setBusinessKey(const std::string& businessKey) +{ + businessKey_ = businessKey; + setParameter("BusinessKey", businessKey); +} + +long CreateSipAccountRequest::getPartnerId()const +{ + return partnerId_; +} + +void CreateSipAccountRequest::setPartnerId(long partnerId) +{ + partnerId_ = partnerId; + setParameter("PartnerId", std::to_string(partnerId)); +} + +std::string CreateSipAccountRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void CreateSipAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long CreateSipAccountRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateSipAccountRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/CreateSipAccountResult.cc b/dyvmsapi/src/model/CreateSipAccountResult.cc new file mode 100644 index 000000000..e00f65e77 --- /dev/null +++ b/dyvmsapi/src/model/CreateSipAccountResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +CreateSipAccountResult::CreateSipAccountResult() : + ServiceResult() +{} + +CreateSipAccountResult::CreateSipAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSipAccountResult::~CreateSipAccountResult() +{} + +void CreateSipAccountResult::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["SipAccountID"].isNull()) + data_.sipAccountID = dataNode["SipAccountID"].asString(); + if(!dataNode["VoipName"].isNull()) + data_.voipName = dataNode["VoipName"].asString(); + if(!dataNode["VoipPassword"].isNull()) + data_.voipPassword = dataNode["VoipPassword"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateSipAccountResult::getMessage()const +{ + return message_; +} + +CreateSipAccountResult::Data CreateSipAccountResult::getData()const +{ + return data_; +} + +std::string CreateSipAccountResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/DoubleCallSeatRequest.cc b/dyvmsapi/src/model/DoubleCallSeatRequest.cc new file mode 100644 index 000000000..c3030fc6a --- /dev/null +++ b/dyvmsapi/src/model/DoubleCallSeatRequest.cc @@ -0,0 +1,205 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::DoubleCallSeatRequest; + +DoubleCallSeatRequest::DoubleCallSeatRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "DoubleCallSeat") +{ + setMethod(HttpRequest::Method::Post); +} + +DoubleCallSeatRequest::~DoubleCallSeatRequest() +{} + +long DoubleCallSeatRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DoubleCallSeatRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DoubleCallSeatRequest::getCallerShowNumber()const +{ + return callerShowNumber_; +} + +void DoubleCallSeatRequest::setCallerShowNumber(const std::string& callerShowNumber) +{ + callerShowNumber_ = callerShowNumber; + setParameter("CallerShowNumber", callerShowNumber); +} + +std::string DoubleCallSeatRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DoubleCallSeatRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int DoubleCallSeatRequest::getSessionTimeout()const +{ + return sessionTimeout_; +} + +void DoubleCallSeatRequest::setSessionTimeout(int sessionTimeout) +{ + sessionTimeout_ = sessionTimeout; + setParameter("SessionTimeout", std::to_string(sessionTimeout)); +} + +std::string DoubleCallSeatRequest::getCalledNumber()const +{ + return calledNumber_; +} + +void DoubleCallSeatRequest::setCalledNumber(const std::string& calledNumber) +{ + calledNumber_ = calledNumber; + setParameter("CalledNumber", calledNumber); +} + +std::string DoubleCallSeatRequest::getVoiceCode()const +{ + return voiceCode_; +} + +void DoubleCallSeatRequest::setVoiceCode(const std::string& voiceCode) +{ + voiceCode_ = voiceCode; + setParameter("VoiceCode", voiceCode); +} + +std::string DoubleCallSeatRequest::getCalledShowNumber()const +{ + return calledShowNumber_; +} + +void DoubleCallSeatRequest::setCalledShowNumber(const std::string& calledShowNumber) +{ + calledShowNumber_ = calledShowNumber; + setParameter("CalledShowNumber", calledShowNumber); +} + +bool DoubleCallSeatRequest::getAsrFlag()const +{ + return asrFlag_; +} + +void DoubleCallSeatRequest::setAsrFlag(bool asrFlag) +{ + asrFlag_ = asrFlag; + setParameter("AsrFlag", asrFlag ? "true" : "false"); +} + +std::string DoubleCallSeatRequest::getCallType()const +{ + return callType_; +} + +void DoubleCallSeatRequest::setCallType(const std::string& callType) +{ + callType_ = callType; + setParameter("CallType", callType); +} + +std::string DoubleCallSeatRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DoubleCallSeatRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +bool DoubleCallSeatRequest::getRecordFlag()const +{ + return recordFlag_; +} + +void DoubleCallSeatRequest::setRecordFlag(bool recordFlag) +{ + recordFlag_ = recordFlag; + setParameter("RecordFlag", recordFlag ? "true" : "false"); +} + +long DoubleCallSeatRequest::getOwnerId()const +{ + return ownerId_; +} + +void DoubleCallSeatRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int DoubleCallSeatRequest::getRecordPoint()const +{ + return recordPoint_; +} + +void DoubleCallSeatRequest::setRecordPoint(int recordPoint) +{ + recordPoint_ = recordPoint; + setParameter("RecordPoint", std::to_string(recordPoint)); +} + +std::string DoubleCallSeatRequest::getOutId()const +{ + return outId_; +} + +void DoubleCallSeatRequest::setOutId(const std::string& outId) +{ + outId_ = outId; + setParameter("OutId", outId); +} + +std::string DoubleCallSeatRequest::getAsrModelId()const +{ + return asrModelId_; +} + +void DoubleCallSeatRequest::setAsrModelId(const std::string& asrModelId) +{ + asrModelId_ = asrModelId; + setParameter("AsrModelId", asrModelId); +} + +std::string DoubleCallSeatRequest::getCallerNumber()const +{ + return callerNumber_; +} + +void DoubleCallSeatRequest::setCallerNumber(const std::string& callerNumber) +{ + callerNumber_ = callerNumber; + setParameter("CallerNumber", callerNumber); +} + diff --git a/dyvmsapi/src/model/DoubleCallSeatResult.cc b/dyvmsapi/src/model/DoubleCallSeatResult.cc new file mode 100644 index 000000000..7a3035e8b --- /dev/null +++ b/dyvmsapi/src/model/DoubleCallSeatResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +DoubleCallSeatResult::DoubleCallSeatResult() : + ServiceResult() +{} + +DoubleCallSeatResult::DoubleCallSeatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DoubleCallSeatResult::~DoubleCallSeatResult() +{} + +void DoubleCallSeatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CallId"].isNull()) + callId_ = value["CallId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DoubleCallSeatResult::getMessage()const +{ + return message_; +} + +std::string DoubleCallSeatResult::getCallId()const +{ + return callId_; +} + +std::string DoubleCallSeatResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/ExecuteCallTaskRequest.cc b/dyvmsapi/src/model/ExecuteCallTaskRequest.cc new file mode 100644 index 000000000..9a31b935f --- /dev/null +++ b/dyvmsapi/src/model/ExecuteCallTaskRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::ExecuteCallTaskRequest; + +ExecuteCallTaskRequest::ExecuteCallTaskRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ExecuteCallTask") +{ + setMethod(HttpRequest::Method::Post); +} + +ExecuteCallTaskRequest::~ExecuteCallTaskRequest() +{} + +long ExecuteCallTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ExecuteCallTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ExecuteCallTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ExecuteCallTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +long ExecuteCallTaskRequest::getTaskId()const +{ + return taskId_; +} + +void ExecuteCallTaskRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + +std::string ExecuteCallTaskRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ExecuteCallTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ExecuteCallTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void ExecuteCallTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ExecuteCallTaskRequest::getFireTime()const +{ + return fireTime_; +} + +void ExecuteCallTaskRequest::setFireTime(const std::string& fireTime) +{ + fireTime_ = fireTime; + setParameter("FireTime", fireTime); +} + +std::string ExecuteCallTaskRequest::getStatus()const +{ + return status_; +} + +void ExecuteCallTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dyvmsapi/src/model/ExecuteCallTaskResult.cc b/dyvmsapi/src/model/ExecuteCallTaskResult.cc new file mode 100644 index 000000000..38ca87379 --- /dev/null +++ b/dyvmsapi/src/model/ExecuteCallTaskResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ExecuteCallTaskResult::ExecuteCallTaskResult() : + ServiceResult() +{} + +ExecuteCallTaskResult::ExecuteCallTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExecuteCallTaskResult::~ExecuteCallTaskResult() +{} + +void ExecuteCallTaskResult::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() == "true"; + +} + +bool ExecuteCallTaskResult::getData()const +{ + return data_; +} + +std::string ExecuteCallTaskResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc b/dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc new file mode 100644 index 000000000..b142a997e --- /dev/null +++ b/dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::GetHotlineQualificationByOrderRequest; + +GetHotlineQualificationByOrderRequest::GetHotlineQualificationByOrderRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "GetHotlineQualificationByOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +GetHotlineQualificationByOrderRequest::~GetHotlineQualificationByOrderRequest() +{} + +long GetHotlineQualificationByOrderRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetHotlineQualificationByOrderRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetHotlineQualificationByOrderRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetHotlineQualificationByOrderRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string GetHotlineQualificationByOrderRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void GetHotlineQualificationByOrderRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string GetHotlineQualificationByOrderRequest::getOrderId()const +{ + return orderId_; +} + +void GetHotlineQualificationByOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +long GetHotlineQualificationByOrderRequest::getOwnerId()const +{ + return ownerId_; +} + +void GetHotlineQualificationByOrderRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc b/dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc new file mode 100644 index 000000000..eb21a944c --- /dev/null +++ b/dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +GetHotlineQualificationByOrderResult::GetHotlineQualificationByOrderResult() : + ServiceResult() +{} + +GetHotlineQualificationByOrderResult::GetHotlineQualificationByOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetHotlineQualificationByOrderResult::~GetHotlineQualificationByOrderResult() +{} + +void GetHotlineQualificationByOrderResult::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["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["QualificationId"].isNull()) + data_.qualificationId = dataNode["QualificationId"].asString(); + if(!dataNode["OrderId"].isNull()) + data_.orderId = dataNode["OrderId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetHotlineQualificationByOrderResult::getMessage()const +{ + return message_; +} + +GetHotlineQualificationByOrderResult::Data GetHotlineQualificationByOrderResult::getData()const +{ + return data_; +} + +std::string GetHotlineQualificationByOrderResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/GetTokenRequest.cc b/dyvmsapi/src/model/GetTokenRequest.cc new file mode 100644 index 000000000..876d8f008 --- /dev/null +++ b/dyvmsapi/src/model/GetTokenRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::GetTokenRequest; + +GetTokenRequest::GetTokenRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "GetToken") +{ + setMethod(HttpRequest::Method::Post); +} + +GetTokenRequest::~GetTokenRequest() +{} + +long GetTokenRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetTokenRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetTokenRequest::getTokenType()const +{ + return tokenType_; +} + +void GetTokenRequest::setTokenType(const std::string& tokenType) +{ + tokenType_ = tokenType; + setParameter("TokenType", tokenType); +} + +std::string GetTokenRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetTokenRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string GetTokenRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void GetTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long GetTokenRequest::getOwnerId()const +{ + return ownerId_; +} + +void GetTokenRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/GetTokenResult.cc b/dyvmsapi/src/model/GetTokenResult.cc new file mode 100644 index 000000000..6744ff173 --- /dev/null +++ b/dyvmsapi/src/model/GetTokenResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +GetTokenResult::GetTokenResult() : + ServiceResult() +{} + +GetTokenResult::GetTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTokenResult::~GetTokenResult() +{} + +void GetTokenResult::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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + +} + +std::string GetTokenResult::getMessage()const +{ + return message_; +} + +std::string GetTokenResult::getToken()const +{ + return token_; +} + +std::string GetTokenResult::getCode()const +{ + return code_; +} + +bool GetTokenResult::getSuccess()const +{ + return success_; +} + diff --git a/dyvmsapi/src/model/ListCallTaskDetailRequest.cc b/dyvmsapi/src/model/ListCallTaskDetailRequest.cc new file mode 100644 index 000000000..ca4d804f1 --- /dev/null +++ b/dyvmsapi/src/model/ListCallTaskDetailRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::ListCallTaskDetailRequest; + +ListCallTaskDetailRequest::ListCallTaskDetailRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ListCallTaskDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCallTaskDetailRequest::~ListCallTaskDetailRequest() +{} + +long ListCallTaskDetailRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListCallTaskDetailRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListCallTaskDetailRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListCallTaskDetailRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListCallTaskDetailRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListCallTaskDetailRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int ListCallTaskDetailRequest::getPageSize()const +{ + return pageSize_; +} + +void ListCallTaskDetailRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListCallTaskDetailRequest::getCalledNum()const +{ + return calledNum_; +} + +void ListCallTaskDetailRequest::setCalledNum(const std::string& calledNum) +{ + calledNum_ = calledNum; + setParameter("CalledNum", calledNum); +} + +long ListCallTaskDetailRequest::getTaskId()const +{ + return taskId_; +} + +void ListCallTaskDetailRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + +std::string ListCallTaskDetailRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ListCallTaskDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ListCallTaskDetailRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListCallTaskDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ListCallTaskDetailRequest::getStatus()const +{ + return status_; +} + +void ListCallTaskDetailRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dyvmsapi/src/model/ListCallTaskDetailResult.cc b/dyvmsapi/src/model/ListCallTaskDetailResult.cc new file mode 100644 index 000000000..df3620118 --- /dev/null +++ b/dyvmsapi/src/model/ListCallTaskDetailResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ListCallTaskDetailResult::ListCallTaskDetailResult() : + ServiceResult() +{} + +ListCallTaskDetailResult::ListCallTaskDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCallTaskDetailResult::~ListCallTaskDetailResult() +{} + +void ListCallTaskDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Caller"].isNull()) + dataObject.caller = valueDataDataItem["Caller"].asString(); + if(!valueDataDataItem["CalledNum"].isNull()) + dataObject.calledNum = valueDataDataItem["CalledNum"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["Duration"].isNull()) + dataObject.duration = std::stol(valueDataDataItem["Duration"].asString()); + if(!valueDataDataItem["Id"].isNull()) + dataObject.id = std::stol(valueDataDataItem["Id"].asString()); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stol(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + +} + +long ListCallTaskDetailResult::getTotalPage()const +{ + return totalPage_; +} + +long ListCallTaskDetailResult::getPageSize()const +{ + return pageSize_; +} + +long ListCallTaskDetailResult::getPageNumber()const +{ + return pageNumber_; +} + +long ListCallTaskDetailResult::getTotal()const +{ + return total_; +} + +std::vector ListCallTaskDetailResult::getData()const +{ + return data_; +} + +std::string ListCallTaskDetailResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/ListCallTaskRequest.cc b/dyvmsapi/src/model/ListCallTaskRequest.cc new file mode 100644 index 000000000..5c3712cfc --- /dev/null +++ b/dyvmsapi/src/model/ListCallTaskRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::ListCallTaskRequest; + +ListCallTaskRequest::ListCallTaskRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ListCallTask") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCallTaskRequest::~ListCallTaskRequest() +{} + +long ListCallTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListCallTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListCallTaskRequest::getTaskName()const +{ + return taskName_; +} + +void ListCallTaskRequest::setTaskName(const std::string& taskName) +{ + taskName_ = taskName; + setParameter("TaskName", taskName); +} + +int ListCallTaskRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListCallTaskRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListCallTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListCallTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int ListCallTaskRequest::getPageSize()const +{ + return pageSize_; +} + +void ListCallTaskRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListCallTaskRequest::getTemplateName()const +{ + return templateName_; +} + +void ListCallTaskRequest::setTemplateName(const std::string& templateName) +{ + templateName_ = templateName; + setParameter("TemplateName", templateName); +} + +std::string ListCallTaskRequest::getTaskId()const +{ + return taskId_; +} + +void ListCallTaskRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setParameter("TaskId", taskId); +} + +std::string ListCallTaskRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ListCallTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ListCallTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListCallTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ListCallTaskRequest::getBizType()const +{ + return bizType_; +} + +void ListCallTaskRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); +} + +std::string ListCallTaskRequest::getStatus()const +{ + return status_; +} + +void ListCallTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dyvmsapi/src/model/ListCallTaskResult.cc b/dyvmsapi/src/model/ListCallTaskResult.cc new file mode 100644 index 000000000..dff3e6546 --- /dev/null +++ b/dyvmsapi/src/model/ListCallTaskResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ListCallTaskResult::ListCallTaskResult() : + ServiceResult() +{} + +ListCallTaskResult::ListCallTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCallTaskResult::~ListCallTaskResult() +{} + +void ListCallTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Id"].isNull()) + dataObject.id = std::stol(valueDataDataItem["Id"].asString()); + if(!valueDataDataItem["TaskName"].isNull()) + dataObject.taskName = valueDataDataItem["TaskName"].asString(); + if(!valueDataDataItem["TemplateName"].isNull()) + dataObject.templateName = valueDataDataItem["TemplateName"].asString(); + if(!valueDataDataItem["BizType"].isNull()) + dataObject.bizType = valueDataDataItem["BizType"].asString(); + if(!valueDataDataItem["Resource"].isNull()) + dataObject.resource = valueDataDataItem["Resource"].asString(); + if(!valueDataDataItem["FireTime"].isNull()) + dataObject.fireTime = valueDataDataItem["FireTime"].asString(); + if(!valueDataDataItem["CompleteTime"].isNull()) + dataObject.completeTime = valueDataDataItem["CompleteTime"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["StopTime"].isNull()) + dataObject.stopTime = valueDataDataItem["StopTime"].asString(); + if(!valueDataDataItem["TemplateCode"].isNull()) + dataObject.templateCode = valueDataDataItem["TemplateCode"].asString(); + if(!valueDataDataItem["Data"].isNull()) + dataObject.data = valueDataDataItem["Data"].asString(); + if(!valueDataDataItem["DataType"].isNull()) + dataObject.dataType = valueDataDataItem["DataType"].asString(); + if(!valueDataDataItem["TotalCount"].isNull()) + dataObject.totalCount = std::stol(valueDataDataItem["TotalCount"].asString()); + if(!valueDataDataItem["CompletedCount"].isNull()) + dataObject.completedCount = std::stol(valueDataDataItem["CompletedCount"].asString()); + if(!valueDataDataItem["CompletedRate"].isNull()) + dataObject.completedRate = std::stoi(valueDataDataItem["CompletedRate"].asString()); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + +} + +long ListCallTaskResult::getPageSize()const +{ + return pageSize_; +} + +long ListCallTaskResult::getPageNumber()const +{ + return pageNumber_; +} + +long ListCallTaskResult::getTotal()const +{ + return total_; +} + +std::vector ListCallTaskResult::getData()const +{ + return data_; +} + +std::string ListCallTaskResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc b/dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc new file mode 100644 index 000000000..6bcc35b74 --- /dev/null +++ b/dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::ListHotlineTransferNumberRequest; + +ListHotlineTransferNumberRequest::ListHotlineTransferNumberRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ListHotlineTransferNumber") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHotlineTransferNumberRequest::~ListHotlineTransferNumberRequest() +{} + +long ListHotlineTransferNumberRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListHotlineTransferNumberRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListHotlineTransferNumberRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListHotlineTransferNumberRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListHotlineTransferNumberRequest::getHotlineNumber()const +{ + return hotlineNumber_; +} + +void ListHotlineTransferNumberRequest::setHotlineNumber(const std::string& hotlineNumber) +{ + hotlineNumber_ = hotlineNumber; + setParameter("HotlineNumber", hotlineNumber); +} + +int ListHotlineTransferNumberRequest::getPageSize()const +{ + return pageSize_; +} + +void ListHotlineTransferNumberRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListHotlineTransferNumberRequest::getQualificationId()const +{ + return qualificationId_; +} + +void ListHotlineTransferNumberRequest::setQualificationId(const std::string& qualificationId) +{ + qualificationId_ = qualificationId; + setParameter("QualificationId", qualificationId); +} + +std::string ListHotlineTransferNumberRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ListHotlineTransferNumberRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ListHotlineTransferNumberRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListHotlineTransferNumberRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int ListHotlineTransferNumberRequest::getPageNo()const +{ + return pageNo_; +} + +void ListHotlineTransferNumberRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + diff --git a/dyvmsapi/src/model/ListHotlineTransferNumberResult.cc b/dyvmsapi/src/model/ListHotlineTransferNumberResult.cc new file mode 100644 index 000000000..e823afa11 --- /dev/null +++ b/dyvmsapi/src/model/ListHotlineTransferNumberResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ListHotlineTransferNumberResult::ListHotlineTransferNumberResult() : + ServiceResult() +{} + +ListHotlineTransferNumberResult::ListHotlineTransferNumberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHotlineTransferNumberResult::~ListHotlineTransferNumberResult() +{} + +void ListHotlineTransferNumberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stol(dataNode["Total"].asString()); + if(!dataNode["PageNo"].isNull()) + data_.pageNo = std::stoi(dataNode["PageNo"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allValuesNode = dataNode["Values"]["ValuesItem"]; + for (auto dataNodeValuesValuesItem : allValuesNode) + { + Data::ValuesItem valuesItemObject; + if(!dataNodeValuesValuesItem["QualificationId"].isNull()) + valuesItemObject.qualificationId = dataNodeValuesValuesItem["QualificationId"].asString(); + if(!dataNodeValuesValuesItem["PhoneNumber"].isNull()) + valuesItemObject.phoneNumber = dataNodeValuesValuesItem["PhoneNumber"].asString(); + if(!dataNodeValuesValuesItem["NumberOwnerName"].isNull()) + valuesItemObject.numberOwnerName = dataNodeValuesValuesItem["NumberOwnerName"].asString(); + if(!dataNodeValuesValuesItem["IdentityCard"].isNull()) + valuesItemObject.identityCard = dataNodeValuesValuesItem["IdentityCard"].asString(); + if(!dataNodeValuesValuesItem["ResUniqueCode"].isNull()) + valuesItemObject.resUniqueCode = dataNodeValuesValuesItem["ResUniqueCode"].asString(); + if(!dataNodeValuesValuesItem["HotlineNumber"].isNull()) + valuesItemObject.hotlineNumber = dataNodeValuesValuesItem["HotlineNumber"].asString(); + data_.values.push_back(valuesItemObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListHotlineTransferNumberResult::getMessage()const +{ + return message_; +} + +ListHotlineTransferNumberResult::Data ListHotlineTransferNumberResult::getData()const +{ + return data_; +} + +std::string ListHotlineTransferNumberResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc b/dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc new file mode 100644 index 000000000..5c941d9e5 --- /dev/null +++ b/dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::ListHotlineTransferRegisterFileRequest; + +ListHotlineTransferRegisterFileRequest::ListHotlineTransferRegisterFileRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ListHotlineTransferRegisterFile") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHotlineTransferRegisterFileRequest::~ListHotlineTransferRegisterFileRequest() +{} + +long ListHotlineTransferRegisterFileRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListHotlineTransferRegisterFileRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListHotlineTransferRegisterFileRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListHotlineTransferRegisterFileRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListHotlineTransferRegisterFileRequest::getHotlineNumber()const +{ + return hotlineNumber_; +} + +void ListHotlineTransferRegisterFileRequest::setHotlineNumber(const std::string& hotlineNumber) +{ + hotlineNumber_ = hotlineNumber; + setParameter("HotlineNumber", hotlineNumber); +} + +int ListHotlineTransferRegisterFileRequest::getPageSize()const +{ + return pageSize_; +} + +void ListHotlineTransferRegisterFileRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListHotlineTransferRegisterFileRequest::getQualificationId()const +{ + return qualificationId_; +} + +void ListHotlineTransferRegisterFileRequest::setQualificationId(const std::string& qualificationId) +{ + qualificationId_ = qualificationId; + setParameter("QualificationId", qualificationId); +} + +std::string ListHotlineTransferRegisterFileRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ListHotlineTransferRegisterFileRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ListHotlineTransferRegisterFileRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListHotlineTransferRegisterFileRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int ListHotlineTransferRegisterFileRequest::getPageNo()const +{ + return pageNo_; +} + +void ListHotlineTransferRegisterFileRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + diff --git a/dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc b/dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc new file mode 100644 index 000000000..dcc14ed2e --- /dev/null +++ b/dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ListHotlineTransferRegisterFileResult::ListHotlineTransferRegisterFileResult() : + ServiceResult() +{} + +ListHotlineTransferRegisterFileResult::ListHotlineTransferRegisterFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHotlineTransferRegisterFileResult::~ListHotlineTransferRegisterFileResult() +{} + +void ListHotlineTransferRegisterFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stol(dataNode["Total"].asString()); + if(!dataNode["PageNo"].isNull()) + data_.pageNo = std::stoi(dataNode["PageNo"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allValuesNode = dataNode["Values"]["ValuesItem"]; + for (auto dataNodeValuesValuesItem : allValuesNode) + { + Data::ValuesItem valuesItemObject; + if(!dataNodeValuesValuesItem["QualificationId"].isNull()) + valuesItemObject.qualificationId = dataNodeValuesValuesItem["QualificationId"].asString(); + if(!dataNodeValuesValuesItem["CorpName"].isNull()) + valuesItemObject.corpName = dataNodeValuesValuesItem["CorpName"].asString(); + if(!dataNodeValuesValuesItem["MngOpName"].isNull()) + valuesItemObject.mngOpName = dataNodeValuesValuesItem["MngOpName"].asString(); + if(!dataNodeValuesValuesItem["MngOpMail"].isNull()) + valuesItemObject.mngOpMail = dataNodeValuesValuesItem["MngOpMail"].asString(); + if(!dataNodeValuesValuesItem["MngOpMobile"].isNull()) + valuesItemObject.mngOpMobile = dataNodeValuesValuesItem["MngOpMobile"].asString(); + if(!dataNodeValuesValuesItem["MngOpIdentityCard"].isNull()) + valuesItemObject.mngOpIdentityCard = dataNodeValuesValuesItem["MngOpIdentityCard"].asString(); + if(!dataNodeValuesValuesItem["Agree"].isNull()) + valuesItemObject.agree = dataNodeValuesValuesItem["Agree"].asString(); + if(!dataNodeValuesValuesItem["ResUniqueCode"].isNull()) + valuesItemObject.resUniqueCode = std::stol(dataNodeValuesValuesItem["ResUniqueCode"].asString()); + if(!dataNodeValuesValuesItem["HotlineNumber"].isNull()) + valuesItemObject.hotlineNumber = dataNodeValuesValuesItem["HotlineNumber"].asString(); + data_.values.push_back(valuesItemObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListHotlineTransferRegisterFileResult::getMessage()const +{ + return message_; +} + +ListHotlineTransferRegisterFileResult::Data ListHotlineTransferRegisterFileResult::getData()const +{ + return data_; +} + +std::string ListHotlineTransferRegisterFileResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/ListRobotTaskCallsRequest.cc b/dyvmsapi/src/model/ListRobotTaskCallsRequest.cc new file mode 100644 index 000000000..58943c235 --- /dev/null +++ b/dyvmsapi/src/model/ListRobotTaskCallsRequest.cc @@ -0,0 +1,183 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::ListRobotTaskCallsRequest; + +ListRobotTaskCallsRequest::ListRobotTaskCallsRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "ListRobotTaskCalls") +{ + setMethod(HttpRequest::Method::Post); +} + +ListRobotTaskCallsRequest::~ListRobotTaskCallsRequest() +{} + +long ListRobotTaskCallsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListRobotTaskCallsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListRobotTaskCallsRequest::getCalled()const +{ + return called_; +} + +void ListRobotTaskCallsRequest::setCalled(const std::string& called) +{ + called_ = called; + setParameter("Called", called); +} + +std::string ListRobotTaskCallsRequest::getDialogCountTo()const +{ + return dialogCountTo_; +} + +void ListRobotTaskCallsRequest::setDialogCountTo(const std::string& dialogCountTo) +{ + dialogCountTo_ = dialogCountTo; + setParameter("DialogCountTo", dialogCountTo); +} + +std::string ListRobotTaskCallsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListRobotTaskCallsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListRobotTaskCallsRequest::getDurationFrom()const +{ + return durationFrom_; +} + +void ListRobotTaskCallsRequest::setDurationFrom(const std::string& durationFrom) +{ + durationFrom_ = durationFrom; + setParameter("DurationFrom", durationFrom); +} + +int ListRobotTaskCallsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListRobotTaskCallsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListRobotTaskCallsRequest::getTaskId()const +{ + return taskId_; +} + +void ListRobotTaskCallsRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setParameter("TaskId", taskId); +} + +std::string ListRobotTaskCallsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ListRobotTaskCallsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string ListRobotTaskCallsRequest::getDialogCountFrom()const +{ + return dialogCountFrom_; +} + +void ListRobotTaskCallsRequest::setDialogCountFrom(const std::string& dialogCountFrom) +{ + dialogCountFrom_ = dialogCountFrom; + setParameter("DialogCountFrom", dialogCountFrom); +} + +std::string ListRobotTaskCallsRequest::getDurationTo()const +{ + return durationTo_; +} + +void ListRobotTaskCallsRequest::setDurationTo(const std::string& durationTo) +{ + durationTo_ = durationTo; + setParameter("DurationTo", durationTo); +} + +std::string ListRobotTaskCallsRequest::getHangupDirection()const +{ + return hangupDirection_; +} + +void ListRobotTaskCallsRequest::setHangupDirection(const std::string& hangupDirection) +{ + hangupDirection_ = hangupDirection; + setParameter("HangupDirection", hangupDirection); +} + +long ListRobotTaskCallsRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListRobotTaskCallsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int ListRobotTaskCallsRequest::getPageNo()const +{ + return pageNo_; +} + +void ListRobotTaskCallsRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + +std::string ListRobotTaskCallsRequest::getCallResult()const +{ + return callResult_; +} + +void ListRobotTaskCallsRequest::setCallResult(const std::string& callResult) +{ + callResult_ = callResult; + setParameter("CallResult", callResult); +} + diff --git a/dyvmsapi/src/model/ListRobotTaskCallsResult.cc b/dyvmsapi/src/model/ListRobotTaskCallsResult.cc new file mode 100644 index 000000000..44352f8d4 --- /dev/null +++ b/dyvmsapi/src/model/ListRobotTaskCallsResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +ListRobotTaskCallsResult::ListRobotTaskCallsResult() : + ServiceResult() +{} + +ListRobotTaskCallsResult::ListRobotTaskCallsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRobotTaskCallsResult::~ListRobotTaskCallsResult() +{} + +void ListRobotTaskCallsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = value["PageSize"].asString(); + if(!value["PageNo"].isNull()) + pageNo_ = value["PageNo"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListRobotTaskCallsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListRobotTaskCallsResult::getPageSize()const +{ + return pageSize_; +} + +std::string ListRobotTaskCallsResult::getMessage()const +{ + return message_; +} + +std::string ListRobotTaskCallsResult::getData()const +{ + return data_; +} + +std::string ListRobotTaskCallsResult::getPageNo()const +{ + return pageNo_; +} + +std::string ListRobotTaskCallsResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc b/dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc new file mode 100644 index 000000000..a05907412 --- /dev/null +++ b/dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::QueryCallInPoolTransferConfigRequest; + +QueryCallInPoolTransferConfigRequest::QueryCallInPoolTransferConfigRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryCallInPoolTransferConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryCallInPoolTransferConfigRequest::~QueryCallInPoolTransferConfigRequest() +{} + +long QueryCallInPoolTransferConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void QueryCallInPoolTransferConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string QueryCallInPoolTransferConfigRequest::getPhoneNumber()const +{ + return phoneNumber_; +} + +void QueryCallInPoolTransferConfigRequest::setPhoneNumber(const std::string& phoneNumber) +{ + phoneNumber_ = phoneNumber; + setParameter("PhoneNumber", phoneNumber); +} + +std::string QueryCallInPoolTransferConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void QueryCallInPoolTransferConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string QueryCallInPoolTransferConfigRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void QueryCallInPoolTransferConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long QueryCallInPoolTransferConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void QueryCallInPoolTransferConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc b/dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc new file mode 100644 index 000000000..994bae8ee --- /dev/null +++ b/dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +QueryCallInPoolTransferConfigResult::QueryCallInPoolTransferConfigResult() : + ServiceResult() +{} + +QueryCallInPoolTransferConfigResult::QueryCallInPoolTransferConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCallInPoolTransferConfigResult::~QueryCallInPoolTransferConfigResult() +{} + +void QueryCallInPoolTransferConfigResult::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["TransferTimeout"].isNull()) + data_.transferTimeout = dataNode["TransferTimeout"].asString(); + if(!dataNode["CalledRouteMode"].isNull()) + data_.calledRouteMode = dataNode["CalledRouteMode"].asString(); + if(!dataNode["GmtCreate"].isNull()) + data_.gmtCreate = std::stol(dataNode["GmtCreate"].asString()); + auto allDetailsNode = dataNode["Details"]["DetailsItem"]; + for (auto dataNodeDetailsDetailsItem : allDetailsNode) + { + Data::DetailsItem detailsItemObject; + if(!dataNodeDetailsDetailsItem["Called"].isNull()) + detailsItemObject.called = dataNodeDetailsDetailsItem["Called"].asString(); + data_.details.push_back(detailsItemObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string QueryCallInPoolTransferConfigResult::getMessage()const +{ + return message_; +} + +QueryCallInPoolTransferConfigResult::Data QueryCallInPoolTransferConfigResult::getData()const +{ + return data_; +} + +std::string QueryCallInPoolTransferConfigResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc b/dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc new file mode 100644 index 000000000..04d403ce2 --- /dev/null +++ b/dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc @@ -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 + +using AlibabaCloud::Dyvmsapi::Model::QueryCallInTransferRecordRequest; + +QueryCallInTransferRecordRequest::QueryCallInTransferRecordRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryCallInTransferRecord") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryCallInTransferRecordRequest::~QueryCallInTransferRecordRequest() +{} + +long QueryCallInTransferRecordRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void QueryCallInTransferRecordRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string QueryCallInTransferRecordRequest::getPhoneNumber()const +{ + return phoneNumber_; +} + +void QueryCallInTransferRecordRequest::setPhoneNumber(const std::string& phoneNumber) +{ + phoneNumber_ = phoneNumber; + setParameter("PhoneNumber", phoneNumber); +} + +std::string QueryCallInTransferRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void QueryCallInTransferRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +long QueryCallInTransferRecordRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryCallInTransferRecordRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryCallInTransferRecordRequest::getQueryDate()const +{ + return queryDate_; +} + +void QueryCallInTransferRecordRequest::setQueryDate(const std::string& queryDate) +{ + queryDate_ = queryDate; + setParameter("QueryDate", queryDate); +} + +std::string QueryCallInTransferRecordRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void QueryCallInTransferRecordRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long QueryCallInTransferRecordRequest::getOwnerId()const +{ + return ownerId_; +} + +void QueryCallInTransferRecordRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long QueryCallInTransferRecordRequest::getPageNo()const +{ + return pageNo_; +} + +void QueryCallInTransferRecordRequest::setPageNo(long pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + +std::string QueryCallInTransferRecordRequest::getCallInCaller()const +{ + return callInCaller_; +} + +void QueryCallInTransferRecordRequest::setCallInCaller(const std::string& callInCaller) +{ + callInCaller_ = callInCaller; + setParameter("CallInCaller", callInCaller); +} + diff --git a/dyvmsapi/src/model/QueryCallInTransferRecordResult.cc b/dyvmsapi/src/model/QueryCallInTransferRecordResult.cc new file mode 100644 index 000000000..23596e3e6 --- /dev/null +++ b/dyvmsapi/src/model/QueryCallInTransferRecordResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +QueryCallInTransferRecordResult::QueryCallInTransferRecordResult() : + ServiceResult() +{} + +QueryCallInTransferRecordResult::QueryCallInTransferRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCallInTransferRecordResult::~QueryCallInTransferRecordResult() +{} + +void QueryCallInTransferRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stol(dataNode["Total"].asString()); + if(!dataNode["PageNo"].isNull()) + data_.pageNo = std::stol(dataNode["PageNo"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stol(dataNode["PageSize"].asString()); + auto allValuesNode = dataNode["Values"]["ValuesItem"]; + for (auto dataNodeValuesValuesItem : allValuesNode) + { + Data::ValuesItem valuesItemObject; + if(!dataNodeValuesValuesItem["CallInCaller"].isNull()) + valuesItemObject.callInCaller = dataNodeValuesValuesItem["CallInCaller"].asString(); + if(!dataNodeValuesValuesItem["CallInCalled"].isNull()) + valuesItemObject.callInCalled = dataNodeValuesValuesItem["CallInCalled"].asString(); + if(!dataNodeValuesValuesItem["TransferCaller"].isNull()) + valuesItemObject.transferCaller = dataNodeValuesValuesItem["TransferCaller"].asString(); + if(!dataNodeValuesValuesItem["TransferCalled"].isNull()) + valuesItemObject.transferCalled = dataNodeValuesValuesItem["TransferCalled"].asString(); + if(!dataNodeValuesValuesItem["RecordUrl"].isNull()) + valuesItemObject.recordUrl = dataNodeValuesValuesItem["RecordUrl"].asString(); + if(!dataNodeValuesValuesItem["GmtCreate"].isNull()) + valuesItemObject.gmtCreate = std::stol(dataNodeValuesValuesItem["GmtCreate"].asString()); + data_.values.push_back(valuesItemObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string QueryCallInTransferRecordResult::getMessage()const +{ + return message_; +} + +QueryCallInTransferRecordResult::Data QueryCallInTransferRecordResult::getData()const +{ + return data_; +} + +std::string QueryCallInTransferRecordResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/QueryRobotTaskListResult.cc b/dyvmsapi/src/model/QueryRobotTaskListResult.cc index 01f5c0a58..6f4929797 100644 --- a/dyvmsapi/src/model/QueryRobotTaskListResult.cc +++ b/dyvmsapi/src/model/QueryRobotTaskListResult.cc @@ -41,6 +41,12 @@ void QueryRobotTaskListResult::parse(const std::string &payload) setRequestId(value["RequestId"].asString()); if(!value["Data"].isNull()) data_ = value["Data"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = value["PageSize"].asString(); + if(!value["PageNo"].isNull()) + pageNo_ = value["PageNo"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) @@ -48,6 +54,16 @@ void QueryRobotTaskListResult::parse(const std::string &payload) } +std::string QueryRobotTaskListResult::getTotalCount()const +{ + return totalCount_; +} + +std::string QueryRobotTaskListResult::getPageSize()const +{ + return pageSize_; +} + std::string QueryRobotTaskListResult::getMessage()const { return message_; @@ -58,6 +74,11 @@ std::string QueryRobotTaskListResult::getData()const return data_; } +std::string QueryRobotTaskListResult::getPageNo()const +{ + return pageNo_; +} + std::string QueryRobotTaskListResult::getCode()const { return code_; diff --git a/dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc b/dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc new file mode 100644 index 000000000..7fad70b5a --- /dev/null +++ b/dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::QueryVirtualNumberRelationRequest; + +QueryVirtualNumberRelationRequest::QueryVirtualNumberRelationRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryVirtualNumberRelation") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryVirtualNumberRelationRequest::~QueryVirtualNumberRelationRequest() +{} + +long QueryVirtualNumberRelationRequest::getSpecId()const +{ + return specId_; +} + +void QueryVirtualNumberRelationRequest::setSpecId(long specId) +{ + specId_ = specId; + setParameter("SpecId", std::to_string(specId)); +} + +long QueryVirtualNumberRelationRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void QueryVirtualNumberRelationRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string QueryVirtualNumberRelationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void QueryVirtualNumberRelationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int QueryVirtualNumberRelationRequest::getRouteType()const +{ + return routeType_; +} + +void QueryVirtualNumberRelationRequest::setRouteType(int routeType) +{ + routeType_ = routeType; + setParameter("RouteType", std::to_string(routeType)); +} + +int QueryVirtualNumberRelationRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryVirtualNumberRelationRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryVirtualNumberRelationRequest::getRelatedNum()const +{ + return relatedNum_; +} + +void QueryVirtualNumberRelationRequest::setRelatedNum(const std::string& relatedNum) +{ + relatedNum_ = relatedNum; + setParameter("RelatedNum", relatedNum); +} + +std::string QueryVirtualNumberRelationRequest::getRegionNameCity()const +{ + return regionNameCity_; +} + +void QueryVirtualNumberRelationRequest::setRegionNameCity(const std::string& regionNameCity) +{ + regionNameCity_ = regionNameCity; + setParameter("RegionNameCity", regionNameCity); +} + +long QueryVirtualNumberRelationRequest::getQualificationId()const +{ + return qualificationId_; +} + +void QueryVirtualNumberRelationRequest::setQualificationId(long qualificationId) +{ + qualificationId_ = qualificationId; + setParameter("QualificationId", std::to_string(qualificationId)); +} + +std::string QueryVirtualNumberRelationRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void QueryVirtualNumberRelationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string QueryVirtualNumberRelationRequest::getProdCode()const +{ + return prodCode_; +} + +void QueryVirtualNumberRelationRequest::setProdCode(const std::string& prodCode) +{ + prodCode_ = prodCode; + setParameter("ProdCode", prodCode); +} + +std::string QueryVirtualNumberRelationRequest::getPhoneNum()const +{ + return phoneNum_; +} + +void QueryVirtualNumberRelationRequest::setPhoneNum(const std::string& phoneNum) +{ + phoneNum_ = phoneNum; + setParameter("PhoneNum", phoneNum); +} + +long QueryVirtualNumberRelationRequest::getOwnerId()const +{ + return ownerId_; +} + +void QueryVirtualNumberRelationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int QueryVirtualNumberRelationRequest::getPageNo()const +{ + return pageNo_; +} + +void QueryVirtualNumberRelationRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + diff --git a/dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc b/dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc new file mode 100644 index 000000000..eb6fb0e5a --- /dev/null +++ b/dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +QueryVirtualNumberRelationResult::QueryVirtualNumberRelationResult() : + ServiceResult() +{} + +QueryVirtualNumberRelationResult::QueryVirtualNumberRelationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryVirtualNumberRelationResult::~QueryVirtualNumberRelationResult() +{} + +void QueryVirtualNumberRelationResult::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(); + +} + +std::string QueryVirtualNumberRelationResult::getData()const +{ + return data_; +} + +std::string QueryVirtualNumberRelationResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/QueryVirtualNumberRequest.cc b/dyvmsapi/src/model/QueryVirtualNumberRequest.cc new file mode 100644 index 000000000..157ab5a28 --- /dev/null +++ b/dyvmsapi/src/model/QueryVirtualNumberRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::QueryVirtualNumberRequest; + +QueryVirtualNumberRequest::QueryVirtualNumberRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryVirtualNumber") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryVirtualNumberRequest::~QueryVirtualNumberRequest() +{} + +long QueryVirtualNumberRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void QueryVirtualNumberRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string QueryVirtualNumberRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void QueryVirtualNumberRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int QueryVirtualNumberRequest::getRouteType()const +{ + return routeType_; +} + +void QueryVirtualNumberRequest::setRouteType(int routeType) +{ + routeType_ = routeType; + setParameter("RouteType", std::to_string(routeType)); +} + +int QueryVirtualNumberRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryVirtualNumberRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryVirtualNumberRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void QueryVirtualNumberRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string QueryVirtualNumberRequest::getProdCode()const +{ + return prodCode_; +} + +void QueryVirtualNumberRequest::setProdCode(const std::string& prodCode) +{ + prodCode_ = prodCode; + setParameter("ProdCode", prodCode); +} + +long QueryVirtualNumberRequest::getOwnerId()const +{ + return ownerId_; +} + +void QueryVirtualNumberRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int QueryVirtualNumberRequest::getPageNo()const +{ + return pageNo_; +} + +void QueryVirtualNumberRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); +} + diff --git a/dyvmsapi/src/model/QueryVirtualNumberResult.cc b/dyvmsapi/src/model/QueryVirtualNumberResult.cc new file mode 100644 index 000000000..d318df1cf --- /dev/null +++ b/dyvmsapi/src/model/QueryVirtualNumberResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +QueryVirtualNumberResult::QueryVirtualNumberResult() : + ServiceResult() +{} + +QueryVirtualNumberResult::QueryVirtualNumberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryVirtualNumberResult::~QueryVirtualNumberResult() +{} + +void QueryVirtualNumberResult::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(); + +} + +std::string QueryVirtualNumberResult::getData()const +{ + return data_; +} + +std::string QueryVirtualNumberResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/SendVerificationRequest.cc b/dyvmsapi/src/model/SendVerificationRequest.cc new file mode 100644 index 000000000..2903180fa --- /dev/null +++ b/dyvmsapi/src/model/SendVerificationRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::SendVerificationRequest; + +SendVerificationRequest::SendVerificationRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "SendVerification") +{ + setMethod(HttpRequest::Method::Post); +} + +SendVerificationRequest::~SendVerificationRequest() +{} + +long SendVerificationRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SendVerificationRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SendVerificationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SendVerificationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SendVerificationRequest::getVerifyType()const +{ + return verifyType_; +} + +void SendVerificationRequest::setVerifyType(const std::string& verifyType) +{ + verifyType_ = verifyType; + setParameter("VerifyType", verifyType); +} + +std::string SendVerificationRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void SendVerificationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long SendVerificationRequest::getOwnerId()const +{ + return ownerId_; +} + +void SendVerificationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SendVerificationRequest::getTarget()const +{ + return target_; +} + +void SendVerificationRequest::setTarget(const std::string& target) +{ + target_ = target; + setParameter("Target", target); +} + +std::string SendVerificationRequest::getBizType()const +{ + return bizType_; +} + +void SendVerificationRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); +} + diff --git a/dyvmsapi/src/model/SendVerificationResult.cc b/dyvmsapi/src/model/SendVerificationResult.cc new file mode 100644 index 000000000..900f13dde --- /dev/null +++ b/dyvmsapi/src/model/SendVerificationResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +SendVerificationResult::SendVerificationResult() : + ServiceResult() +{} + +SendVerificationResult::SendVerificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendVerificationResult::~SendVerificationResult() +{} + +void SendVerificationResult::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() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string SendVerificationResult::getMessage()const +{ + return message_; +} + +bool SendVerificationResult::getData()const +{ + return data_; +} + +std::string SendVerificationResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc b/dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc new file mode 100644 index 000000000..01a8b6383 --- /dev/null +++ b/dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::SetTransferCalleePoolConfigRequest; + +SetTransferCalleePoolConfigRequest::SetTransferCalleePoolConfigRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "SetTransferCalleePoolConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetTransferCalleePoolConfigRequest::~SetTransferCalleePoolConfigRequest() +{} + +long SetTransferCalleePoolConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SetTransferCalleePoolConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SetTransferCalleePoolConfigRequest::getPhoneNumber()const +{ + return phoneNumber_; +} + +void SetTransferCalleePoolConfigRequest::setPhoneNumber(const std::string& phoneNumber) +{ + phoneNumber_ = phoneNumber; + setParameter("PhoneNumber", phoneNumber); +} + +std::string SetTransferCalleePoolConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetTransferCalleePoolConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::vector SetTransferCalleePoolConfigRequest::getDetails()const +{ + return details_; +} + +void SetTransferCalleePoolConfigRequest::setDetails(const std::vector
& details) +{ + details_ = details; + for(int dep1 = 0; dep1!= details.size(); dep1++) { + auto detailsObj = details.at(dep1); + std::string detailsObjStr = "Details." + std::to_string(dep1 + 1); + setParameter(detailsObjStr + ".Caller", detailsObj.caller); + setParameter(detailsObjStr + ".Called", detailsObj.called); + } +} + +std::string SetTransferCalleePoolConfigRequest::getCalledRouteMode()const +{ + return calledRouteMode_; +} + +void SetTransferCalleePoolConfigRequest::setCalledRouteMode(const std::string& calledRouteMode) +{ + calledRouteMode_ = calledRouteMode; + setParameter("CalledRouteMode", calledRouteMode); +} + +std::string SetTransferCalleePoolConfigRequest::getQualificationId()const +{ + return qualificationId_; +} + +void SetTransferCalleePoolConfigRequest::setQualificationId(const std::string& qualificationId) +{ + qualificationId_ = qualificationId; + setParameter("QualificationId", qualificationId); +} + +std::string SetTransferCalleePoolConfigRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void SetTransferCalleePoolConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long SetTransferCalleePoolConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetTransferCalleePoolConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc b/dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc new file mode 100644 index 000000000..5c6514dd6 --- /dev/null +++ b/dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +SetTransferCalleePoolConfigResult::SetTransferCalleePoolConfigResult() : + ServiceResult() +{} + +SetTransferCalleePoolConfigResult::SetTransferCalleePoolConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetTransferCalleePoolConfigResult::~SetTransferCalleePoolConfigResult() +{} + +void SetTransferCalleePoolConfigResult::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["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +std::string SetTransferCalleePoolConfigResult::getMessage()const +{ + return message_; +} + +bool SetTransferCalleePoolConfigResult::getData()const +{ + return data_; +} + +std::string SetTransferCalleePoolConfigResult::getCode()const +{ + return code_; +} + diff --git a/dyvmsapi/src/model/SmartCallRequest.cc b/dyvmsapi/src/model/SmartCallRequest.cc index 262371ce7..223f9493a 100644 --- a/dyvmsapi/src/model/SmartCallRequest.cc +++ b/dyvmsapi/src/model/SmartCallRequest.cc @@ -236,6 +236,17 @@ void SmartCallRequest::setTtsVolume(int ttsVolume) setParameter("TtsVolume", std::to_string(ttsVolume)); } +int SmartCallRequest::getStreamAsr()const +{ + return streamAsr_; +} + +void SmartCallRequest::setStreamAsr(int streamAsr) +{ + streamAsr_ = streamAsr; + setParameter("StreamAsr", std::to_string(streamAsr)); +} + int SmartCallRequest::getVolume()const { return volume_; diff --git a/dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc b/dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc new file mode 100644 index 000000000..c5708efaf --- /dev/null +++ b/dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc @@ -0,0 +1,189 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dyvmsapi::Model::SubmitHotlineTransferRegisterRequest; + +SubmitHotlineTransferRegisterRequest::SubmitHotlineTransferRegisterRequest() : + RpcServiceRequest("dyvmsapi", "2017-05-25", "SubmitHotlineTransferRegister") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitHotlineTransferRegisterRequest::~SubmitHotlineTransferRegisterRequest() +{} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorIdentityCard()const +{ + return operatorIdentityCard_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorIdentityCard(const std::string& operatorIdentityCard) +{ + operatorIdentityCard_ = operatorIdentityCard; + setParameter("OperatorIdentityCard", operatorIdentityCard); +} + +long SubmitHotlineTransferRegisterRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SubmitHotlineTransferRegisterRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorMail()const +{ + return operatorMail_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorMail(const std::string& operatorMail) +{ + operatorMail_ = operatorMail; + setParameter("OperatorMail", operatorMail); +} + +std::string SubmitHotlineTransferRegisterRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SubmitHotlineTransferRegisterRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SubmitHotlineTransferRegisterRequest::getHotlineNumber()const +{ + return hotlineNumber_; +} + +void SubmitHotlineTransferRegisterRequest::setHotlineNumber(const std::string& hotlineNumber) +{ + hotlineNumber_ = hotlineNumber; + setParameter("HotlineNumber", hotlineNumber); +} + +std::vector SubmitHotlineTransferRegisterRequest::getTransferPhoneNumberInfos()const +{ + return transferPhoneNumberInfos_; +} + +void SubmitHotlineTransferRegisterRequest::setTransferPhoneNumberInfos(const std::vector& transferPhoneNumberInfos) +{ + transferPhoneNumberInfos_ = transferPhoneNumberInfos; + for(int dep1 = 0; dep1!= transferPhoneNumberInfos.size(); dep1++) { + auto transferPhoneNumberInfosObj = transferPhoneNumberInfos.at(dep1); + std::string transferPhoneNumberInfosObjStr = "TransferPhoneNumberInfos." + std::to_string(dep1 + 1); + setParameter(transferPhoneNumberInfosObjStr + ".PhoneNumber", transferPhoneNumberInfosObj.phoneNumber); + setParameter(transferPhoneNumberInfosObjStr + ".PhoneNumberOwnerName", transferPhoneNumberInfosObj.phoneNumberOwnerName); + setParameter(transferPhoneNumberInfosObjStr + ".IdentityCard", transferPhoneNumberInfosObj.identityCard); + } +} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorMobileVerifyCode()const +{ + return operatorMobileVerifyCode_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorMobileVerifyCode(const std::string& operatorMobileVerifyCode) +{ + operatorMobileVerifyCode_ = operatorMobileVerifyCode; + setParameter("OperatorMobileVerifyCode", operatorMobileVerifyCode); +} + +std::string SubmitHotlineTransferRegisterRequest::getAgreement()const +{ + return agreement_; +} + +void SubmitHotlineTransferRegisterRequest::setAgreement(const std::string& agreement) +{ + agreement_ = agreement; + setParameter("Agreement", agreement); +} + +std::string SubmitHotlineTransferRegisterRequest::getQualificationId()const +{ + return qualificationId_; +} + +void SubmitHotlineTransferRegisterRequest::setQualificationId(const std::string& qualificationId) +{ + qualificationId_ = qualificationId; + setParameter("QualificationId", qualificationId); +} + +std::string SubmitHotlineTransferRegisterRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void SubmitHotlineTransferRegisterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long SubmitHotlineTransferRegisterRequest::getOwnerId()const +{ + return ownerId_; +} + +void SubmitHotlineTransferRegisterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorMobile()const +{ + return operatorMobile_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorMobile(const std::string& operatorMobile) +{ + operatorMobile_ = operatorMobile; + setParameter("OperatorMobile", operatorMobile); +} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorMailVerifyCode()const +{ + return operatorMailVerifyCode_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorMailVerifyCode(const std::string& operatorMailVerifyCode) +{ + operatorMailVerifyCode_ = operatorMailVerifyCode; + setParameter("OperatorMailVerifyCode", operatorMailVerifyCode); +} + +std::string SubmitHotlineTransferRegisterRequest::getOperatorName()const +{ + return operatorName_; +} + +void SubmitHotlineTransferRegisterRequest::setOperatorName(const std::string& operatorName) +{ + operatorName_ = operatorName; + setParameter("OperatorName", operatorName); +} + diff --git a/dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc b/dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc new file mode 100644 index 000000000..391a22459 --- /dev/null +++ b/dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Dyvmsapi; +using namespace AlibabaCloud::Dyvmsapi::Model; + +SubmitHotlineTransferRegisterResult::SubmitHotlineTransferRegisterResult() : + ServiceResult() +{} + +SubmitHotlineTransferRegisterResult::SubmitHotlineTransferRegisterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitHotlineTransferRegisterResult::~SubmitHotlineTransferRegisterResult() +{} + +void SubmitHotlineTransferRegisterResult::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_ = std::stol(value["Data"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string SubmitHotlineTransferRegisterResult::getMessage()const +{ + return message_; +} + +long SubmitHotlineTransferRegisterResult::getData()const +{ + return data_; +} + +std::string SubmitHotlineTransferRegisterResult::getCode()const +{ + return code_; +} +