Update Dyvmsapi SDK.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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<Error, Model::AddRtcAccountResult> AddRtcAccountOutcome;
|
||||
typedef std::future<AddRtcAccountOutcome> AddRtcAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::AddRtcAccountRequest&, const AddRtcAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRtcAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddVirtualNumberRelationResult> AddVirtualNumberRelationOutcome;
|
||||
typedef std::future<AddVirtualNumberRelationOutcome> AddVirtualNumberRelationOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::AddVirtualNumberRelationRequest&, const AddVirtualNumberRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddVirtualNumberRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchRobotSmartCallResult> BatchRobotSmartCallOutcome;
|
||||
typedef std::future<BatchRobotSmartCallOutcome> BatchRobotSmartCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::BatchRobotSmartCallRequest&, const BatchRobotSmartCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchRobotSmartCallAsyncHandler;
|
||||
@@ -128,9 +171,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ClickToDialResult> ClickToDialOutcome;
|
||||
typedef std::future<ClickToDialOutcome> ClickToDialOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ClickToDialRequest&, const ClickToDialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClickToDialAsyncHandler;
|
||||
typedef Outcome<Error, Model::CloseSipAccountResult> CloseSipAccountOutcome;
|
||||
typedef std::future<CloseSipAccountOutcome> CloseSipAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CloseSipAccountRequest&, const CloseSipAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseSipAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCallTaskResult> CreateCallTaskOutcome;
|
||||
typedef std::future<CreateCallTaskOutcome> CreateCallTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CreateCallTaskRequest&, const CreateCallTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCallTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRobotTaskResult> CreateRobotTaskOutcome;
|
||||
typedef std::future<CreateRobotTaskOutcome> CreateRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CreateRobotTaskRequest&, const CreateRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRobotTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSipAccountResult> CreateSipAccountOutcome;
|
||||
typedef std::future<CreateSipAccountOutcome> CreateSipAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CreateSipAccountRequest&, const CreateSipAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSipAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRobotTaskResult> DeleteRobotTaskOutcome;
|
||||
typedef std::future<DeleteRobotTaskOutcome> DeleteRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::DeleteRobotTaskRequest&, const DeleteRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRobotTaskAsyncHandler;
|
||||
@@ -140,24 +192,57 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DoRtcNumberAuthResult> DoRtcNumberAuthOutcome;
|
||||
typedef std::future<DoRtcNumberAuthOutcome> DoRtcNumberAuthOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::DoRtcNumberAuthRequest&, const DoRtcNumberAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DoRtcNumberAuthAsyncHandler;
|
||||
typedef Outcome<Error, Model::DoubleCallSeatResult> DoubleCallSeatOutcome;
|
||||
typedef std::future<DoubleCallSeatOutcome> DoubleCallSeatOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::DoubleCallSeatRequest&, const DoubleCallSeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DoubleCallSeatAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExecuteCallTaskResult> ExecuteCallTaskOutcome;
|
||||
typedef std::future<ExecuteCallTaskOutcome> ExecuteCallTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ExecuteCallTaskRequest&, const ExecuteCallTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteCallTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetHotlineQualificationByOrderResult> GetHotlineQualificationByOrderOutcome;
|
||||
typedef std::future<GetHotlineQualificationByOrderOutcome> GetHotlineQualificationByOrderOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::GetHotlineQualificationByOrderRequest&, const GetHotlineQualificationByOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHotlineQualificationByOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRtcTokenResult> GetRtcTokenOutcome;
|
||||
typedef std::future<GetRtcTokenOutcome> GetRtcTokenOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::GetRtcTokenRequest&, const GetRtcTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRtcTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTokenResult> GetTokenOutcome;
|
||||
typedef std::future<GetTokenOutcome> GetTokenOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::GetTokenRequest&, const GetTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::IvrCallResult> IvrCallOutcome;
|
||||
typedef std::future<IvrCallOutcome> IvrCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::IvrCallRequest&, const IvrCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IvrCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCallTaskResult> ListCallTaskOutcome;
|
||||
typedef std::future<ListCallTaskOutcome> ListCallTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListCallTaskRequest&, const ListCallTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCallTaskDetailResult> ListCallTaskDetailOutcome;
|
||||
typedef std::future<ListCallTaskDetailOutcome> ListCallTaskDetailOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListCallTaskDetailRequest&, const ListCallTaskDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallTaskDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListHotlineTransferNumberResult> ListHotlineTransferNumberOutcome;
|
||||
typedef std::future<ListHotlineTransferNumberOutcome> ListHotlineTransferNumberOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListHotlineTransferNumberRequest&, const ListHotlineTransferNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListHotlineTransferNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListHotlineTransferRegisterFileResult> ListHotlineTransferRegisterFileOutcome;
|
||||
typedef std::future<ListHotlineTransferRegisterFileOutcome> ListHotlineTransferRegisterFileOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListHotlineTransferRegisterFileRequest&, const ListHotlineTransferRegisterFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListHotlineTransferRegisterFileAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOrderedNumbersResult> ListOrderedNumbersOutcome;
|
||||
typedef std::future<ListOrderedNumbersOutcome> ListOrderedNumbersOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListOrderedNumbersRequest&, const ListOrderedNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOrderedNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOutboundStrategiesResult> ListOutboundStrategiesOutcome;
|
||||
typedef std::future<ListOutboundStrategiesOutcome> ListOutboundStrategiesOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListOutboundStrategiesRequest&, const ListOutboundStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundStrategiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRobotTaskCallsResult> ListRobotTaskCallsOutcome;
|
||||
typedef std::future<ListRobotTaskCallsOutcome> ListRobotTaskCallsOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListRobotTaskCallsRequest&, const ListRobotTaskCallsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRobotTaskCallsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCallDetailByCallIdResult> QueryCallDetailByCallIdOutcome;
|
||||
typedef std::future<QueryCallDetailByCallIdOutcome> QueryCallDetailByCallIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryCallDetailByCallIdRequest&, const QueryCallDetailByCallIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallDetailByCallIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCallDetailByTaskIdResult> QueryCallDetailByTaskIdOutcome;
|
||||
typedef std::future<QueryCallDetailByTaskIdOutcome> QueryCallDetailByTaskIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryCallDetailByTaskIdRequest&, const QueryCallDetailByTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallDetailByTaskIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCallInPoolTransferConfigResult> QueryCallInPoolTransferConfigOutcome;
|
||||
typedef std::future<QueryCallInPoolTransferConfigOutcome> QueryCallInPoolTransferConfigOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryCallInPoolTransferConfigRequest&, const QueryCallInPoolTransferConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallInPoolTransferConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCallInTransferRecordResult> QueryCallInTransferRecordOutcome;
|
||||
typedef std::future<QueryCallInTransferRecordOutcome> QueryCallInTransferRecordOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryCallInTransferRecordRequest&, const QueryCallInTransferRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallInTransferRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRobotInfoListResult> QueryRobotInfoListOutcome;
|
||||
typedef std::future<QueryRobotInfoListOutcome> QueryRobotInfoListOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotInfoListRequest&, const QueryRobotInfoListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotInfoListAsyncHandler;
|
||||
@@ -179,12 +264,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryRtcNumberAuthStatusResult> QueryRtcNumberAuthStatusOutcome;
|
||||
typedef std::future<QueryRtcNumberAuthStatusOutcome> QueryRtcNumberAuthStatusOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRtcNumberAuthStatusRequest&, const QueryRtcNumberAuthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRtcNumberAuthStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryVirtualNumberResult> QueryVirtualNumberOutcome;
|
||||
typedef std::future<QueryVirtualNumberOutcome> QueryVirtualNumberOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryVirtualNumberRequest&, const QueryVirtualNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryVirtualNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryVirtualNumberRelationResult> QueryVirtualNumberRelationOutcome;
|
||||
typedef std::future<QueryVirtualNumberRelationOutcome> QueryVirtualNumberRelationOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryVirtualNumberRelationRequest&, const QueryVirtualNumberRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryVirtualNumberRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryVoipNumberBindInfosResult> QueryVoipNumberBindInfosOutcome;
|
||||
typedef std::future<QueryVoipNumberBindInfosOutcome> QueryVoipNumberBindInfosOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryVoipNumberBindInfosRequest&, const QueryVoipNumberBindInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryVoipNumberBindInfosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReportVoipProblemsResult> ReportVoipProblemsOutcome;
|
||||
typedef std::future<ReportVoipProblemsOutcome> ReportVoipProblemsOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ReportVoipProblemsRequest&, const ReportVoipProblemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportVoipProblemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendVerificationResult> SendVerificationOutcome;
|
||||
typedef std::future<SendVerificationOutcome> SendVerificationOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SendVerificationRequest&, const SendVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendVerificationAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetTransferCalleePoolConfigResult> SetTransferCalleePoolConfigOutcome;
|
||||
typedef std::future<SetTransferCalleePoolConfigOutcome> SetTransferCalleePoolConfigOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SetTransferCalleePoolConfigRequest&, const SetTransferCalleePoolConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetTransferCalleePoolConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SingleCallByTtsResult> SingleCallByTtsOutcome;
|
||||
typedef std::future<SingleCallByTtsOutcome> SingleCallByTtsOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByTtsRequest&, const SingleCallByTtsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByTtsAsyncHandler;
|
||||
@@ -206,6 +303,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StopRobotTaskResult> StopRobotTaskOutcome;
|
||||
typedef std::future<StopRobotTaskOutcome> StopRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::StopRobotTaskRequest&, const StopRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopRobotTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitHotlineTransferRegisterResult> SubmitHotlineTransferRegisterOutcome;
|
||||
typedef std::future<SubmitHotlineTransferRegisterOutcome> SubmitHotlineTransferRegisterOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SubmitHotlineTransferRegisterRequest&, const SubmitHotlineTransferRegisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitHotlineTransferRegisterAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindNumberAndVoipIdResult> UnbindNumberAndVoipIdOutcome;
|
||||
typedef std::future<UnbindNumberAndVoipIdOutcome> UnbindNumberAndVoipIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UnbindNumberAndVoipIdRequest&, const UnbindNumberAndVoipIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindNumberAndVoipIdOutcomeCallable unbindNumberAndVoipIdCallable(const Model::UnbindNumberAndVoipIdRequest& request) const;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<DataItem> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalPage_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
long total_;
|
||||
std::vector<DataItem> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKDETAILRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<DataItem> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
long total_;
|
||||
std::vector<DataItem> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTCALLTASKRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<ValuesItem> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<ValuesItem> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<DetailsItem> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<ValuesItem> 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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<Details> getDetails()const;
|
||||
void setDetails(const std::vector<Details>& 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> details_;
|
||||
std::string calledRouteMode_;
|
||||
std::string qualificationId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SETTRANSFERCALLEEPOOLCONFIGREQUEST_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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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<TransferPhoneNumberInfos> getTransferPhoneNumberInfos()const;
|
||||
void setTransferPhoneNumberInfos(const std::vector<TransferPhoneNumberInfos>& 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> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyvmsapi/DyvmsapiExport.h>
|
||||
|
||||
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_
|
||||
@@ -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<const AsyncCallerContext>& 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<std::packaged_task<AddVirtualNumberRelationOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CloseSipAccountOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CreateCallTaskOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CreateSipAccountOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DoubleCallSeatOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ExecuteCallTaskOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetHotlineQualificationByOrderOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetTokenOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListCallTaskOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListCallTaskDetailOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListHotlineTransferNumberOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListHotlineTransferRegisterFileOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<ListRobotTaskCallsOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QueryCallInPoolTransferConfigOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QueryCallInTransferRecordOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QueryVirtualNumberOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QueryVirtualNumberRelationOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<SendVerificationOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<SetTransferCalleePoolConfigOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<SubmitHotlineTransferRegisterOutcome()>>(
|
||||
[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();
|
||||
|
||||
128
dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc
Normal file
128
dyvmsapi/src/model/AddVirtualNumberRelationRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/AddVirtualNumberRelationRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/AddVirtualNumberRelationResult.cc
Normal file
65
dyvmsapi/src/model/AddVirtualNumberRelationResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/AddVirtualNumberRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
95
dyvmsapi/src/model/CloseSipAccountRequest.cc
Normal file
95
dyvmsapi/src/model/CloseSipAccountRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CloseSipAccountRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/CloseSipAccountResult.cc
Normal file
65
dyvmsapi/src/model/CloseSipAccountResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CloseSipAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
194
dyvmsapi/src/model/CreateCallTaskRequest.cc
Normal file
194
dyvmsapi/src/model/CreateCallTaskRequest.cc
Normal file
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CreateCallTaskRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
58
dyvmsapi/src/model/CreateCallTaskResult.cc
Normal file
58
dyvmsapi/src/model/CreateCallTaskResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/CreateCallTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
95
dyvmsapi/src/model/CreateSipAccountRequest.cc
Normal file
95
dyvmsapi/src/model/CreateSipAccountRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CreateSipAccountRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
70
dyvmsapi/src/model/CreateSipAccountResult.cc
Normal file
70
dyvmsapi/src/model/CreateSipAccountResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/CreateSipAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
205
dyvmsapi/src/model/DoubleCallSeatRequest.cc
Normal file
205
dyvmsapi/src/model/DoubleCallSeatRequest.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/DoubleCallSeatRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/DoubleCallSeatResult.cc
Normal file
65
dyvmsapi/src/model/DoubleCallSeatResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DoubleCallSeatResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
106
dyvmsapi/src/model/ExecuteCallTaskRequest.cc
Normal file
106
dyvmsapi/src/model/ExecuteCallTaskRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ExecuteCallTaskRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
58
dyvmsapi/src/model/ExecuteCallTaskResult.cc
Normal file
58
dyvmsapi/src/model/ExecuteCallTaskResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/ExecuteCallTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc
Normal file
84
dyvmsapi/src/model/GetHotlineQualificationByOrderRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
70
dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc
Normal file
70
dyvmsapi/src/model/GetHotlineQualificationByOrderResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/GetHotlineQualificationByOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
dyvmsapi/src/model/GetTokenRequest.cc
Normal file
84
dyvmsapi/src/model/GetTokenRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/GetTokenRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
72
dyvmsapi/src/model/GetTokenResult.cc
Normal file
72
dyvmsapi/src/model/GetTokenResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/GetTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
128
dyvmsapi/src/model/ListCallTaskDetailRequest.cc
Normal file
128
dyvmsapi/src/model/ListCallTaskDetailRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListCallTaskDetailRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
100
dyvmsapi/src/model/ListCallTaskDetailResult.cc
Normal file
100
dyvmsapi/src/model/ListCallTaskDetailResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListCallTaskDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DataItem> ListCallTaskDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCallTaskDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
150
dyvmsapi/src/model/ListCallTaskRequest.cc
Normal file
150
dyvmsapi/src/model/ListCallTaskRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListCallTaskRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
113
dyvmsapi/src/model/ListCallTaskResult.cc
Normal file
113
dyvmsapi/src/model/ListCallTaskResult.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListCallTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DataItem> ListCallTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCallTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
117
dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc
Normal file
117
dyvmsapi/src/model/ListHotlineTransferNumberRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListHotlineTransferNumberRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
88
dyvmsapi/src/model/ListHotlineTransferNumberResult.cc
Normal file
88
dyvmsapi/src/model/ListHotlineTransferNumberResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/ListHotlineTransferNumberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
117
dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc
Normal file
117
dyvmsapi/src/model/ListHotlineTransferRegisterFileRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
94
dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc
Normal file
94
dyvmsapi/src/model/ListHotlineTransferRegisterFileResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/ListHotlineTransferRegisterFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
183
dyvmsapi/src/model/ListRobotTaskCallsRequest.cc
Normal file
183
dyvmsapi/src/model/ListRobotTaskCallsRequest.cc
Normal file
@@ -0,0 +1,183 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListRobotTaskCallsRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
86
dyvmsapi/src/model/ListRobotTaskCallsResult.cc
Normal file
86
dyvmsapi/src/model/ListRobotTaskCallsResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/ListRobotTaskCallsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc
Normal file
84
dyvmsapi/src/model/QueryCallInPoolTransferConfigRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
78
dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc
Normal file
78
dyvmsapi/src/model/QueryCallInPoolTransferConfigResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/QueryCallInPoolTransferConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
128
dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc
Normal file
128
dyvmsapi/src/model/QueryCallInTransferRecordRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryCallInTransferRecordRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
88
dyvmsapi/src/model/QueryCallInTransferRecordResult.cc
Normal file
88
dyvmsapi/src/model/QueryCallInTransferRecordResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/QueryCallInTransferRecordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
172
dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc
Normal file
172
dyvmsapi/src/model/QueryVirtualNumberRelationRequest.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
58
dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc
Normal file
58
dyvmsapi/src/model/QueryVirtualNumberRelationResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/QueryVirtualNumberRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
117
dyvmsapi/src/model/QueryVirtualNumberRequest.cc
Normal file
117
dyvmsapi/src/model/QueryVirtualNumberRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryVirtualNumberRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
58
dyvmsapi/src/model/QueryVirtualNumberResult.cc
Normal file
58
dyvmsapi/src/model/QueryVirtualNumberResult.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/QueryVirtualNumberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
106
dyvmsapi/src/model/SendVerificationRequest.cc
Normal file
106
dyvmsapi/src/model/SendVerificationRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SendVerificationRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/SendVerificationResult.cc
Normal file
65
dyvmsapi/src/model/SendVerificationResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SendVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
122
dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc
Normal file
122
dyvmsapi/src/model/SetTransferCalleePoolConfigRequest.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigRequest.h>
|
||||
|
||||
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::Details> SetTransferCalleePoolConfigRequest::getDetails()const
|
||||
{
|
||||
return details_;
|
||||
}
|
||||
|
||||
void SetTransferCalleePoolConfigRequest::setDetails(const std::vector<Details>& 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));
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc
Normal file
65
dyvmsapi/src/model/SetTransferCalleePoolConfigResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SetTransferCalleePoolConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
189
dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc
Normal file
189
dyvmsapi/src/model/SubmitHotlineTransferRegisterRequest.cc
Normal file
@@ -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 <alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterRequest.h>
|
||||
|
||||
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::TransferPhoneNumberInfos> SubmitHotlineTransferRegisterRequest::getTransferPhoneNumberInfos()const
|
||||
{
|
||||
return transferPhoneNumberInfos_;
|
||||
}
|
||||
|
||||
void SubmitHotlineTransferRegisterRequest::setTransferPhoneNumberInfos(const std::vector<TransferPhoneNumberInfos>& 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);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc
Normal file
65
dyvmsapi/src/model/SubmitHotlineTransferRegisterResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SubmitHotlineTransferRegisterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user