@@ -21,45 +21,117 @@ set(dyvmsapi_public_header
|
||||
include/alibabacloud/dyvmsapi/DyvmsapiExport.h )
|
||||
|
||||
set(dyvmsapi_public_header_model
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdResult.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipAddAccountRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipAddAccountResult.h
|
||||
include/alibabacloud/dyvmsapi/model/UploadRobotTaskCalledFileRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/UploadRobotTaskCalledFileResult.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/AddRtcAccountRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/AddRtcAccountResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskCallDetailRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskCallDetailResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallOperateRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallOperateResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskDetailRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskDetailResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByVoiceRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByVoiceResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotv2AllListRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotv2AllListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/GetRtcTokenRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/GetRtcTokenResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByTtsRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByTtsResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotInfoListRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotInfoListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipGetTokenRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipGetTokenResult.h
|
||||
include/alibabacloud/dyvmsapi/model/ClickToDialRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/ClickToDialResult.h
|
||||
include/alibabacloud/dyvmsapi/model/DeleteRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/DeleteRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/CreateRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/CreateRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdResult.h
|
||||
include/alibabacloud/dyvmsapi/model/StopRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/StopRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/IvrCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/IvrCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByVoiceRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByVoiceResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByTtsRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SingleCallByTtsResult.h )
|
||||
include/alibabacloud/dyvmsapi/model/BatchRobotSmartCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/BatchRobotSmartCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskListRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskCallListRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskCallListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelOrderRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/CancelOrderRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipAddAccountRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipAddAccountResult.h
|
||||
include/alibabacloud/dyvmsapi/model/StartRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/StartRobotTaskResult.h )
|
||||
|
||||
set(dyvmsapi_src
|
||||
src/DyvmsapiClient.cc
|
||||
src/model/SmartCallRequest.cc
|
||||
src/model/SmartCallResult.cc
|
||||
src/model/QueryCallDetailByCallIdRequest.cc
|
||||
src/model/QueryCallDetailByCallIdResult.cc
|
||||
src/model/VoipAddAccountRequest.cc
|
||||
src/model/VoipAddAccountResult.cc
|
||||
src/model/UploadRobotTaskCalledFileRequest.cc
|
||||
src/model/UploadRobotTaskCalledFileResult.cc
|
||||
src/model/CancelCallRequest.cc
|
||||
src/model/CancelCallResult.cc
|
||||
src/model/CancelRobotTaskRequest.cc
|
||||
src/model/CancelRobotTaskResult.cc
|
||||
src/model/AddRtcAccountRequest.cc
|
||||
src/model/AddRtcAccountResult.cc
|
||||
src/model/QueryCallDetailByTaskIdRequest.cc
|
||||
src/model/QueryCallDetailByTaskIdResult.cc
|
||||
src/model/QueryRobotTaskCallDetailRequest.cc
|
||||
src/model/QueryRobotTaskCallDetailResult.cc
|
||||
src/model/SmartCallOperateRequest.cc
|
||||
src/model/SmartCallOperateResult.cc
|
||||
src/model/QueryRobotTaskDetailRequest.cc
|
||||
src/model/QueryRobotTaskDetailResult.cc
|
||||
src/model/SingleCallByVoiceRequest.cc
|
||||
src/model/SingleCallByVoiceResult.cc
|
||||
src/model/QueryRobotv2AllListRequest.cc
|
||||
src/model/QueryRobotv2AllListResult.cc
|
||||
src/model/GetRtcTokenRequest.cc
|
||||
src/model/GetRtcTokenResult.cc
|
||||
src/model/SingleCallByTtsRequest.cc
|
||||
src/model/SingleCallByTtsResult.cc
|
||||
src/model/QueryRobotInfoListRequest.cc
|
||||
src/model/QueryRobotInfoListResult.cc
|
||||
src/model/VoipGetTokenRequest.cc
|
||||
src/model/VoipGetTokenResult.cc
|
||||
src/model/ClickToDialRequest.cc
|
||||
src/model/ClickToDialResult.cc
|
||||
src/model/DeleteRobotTaskRequest.cc
|
||||
src/model/DeleteRobotTaskResult.cc
|
||||
src/model/CreateRobotTaskRequest.cc
|
||||
src/model/CreateRobotTaskResult.cc
|
||||
src/model/QueryCallDetailByCallIdRequest.cc
|
||||
src/model/QueryCallDetailByCallIdResult.cc
|
||||
src/model/StopRobotTaskRequest.cc
|
||||
src/model/StopRobotTaskResult.cc
|
||||
src/model/IvrCallRequest.cc
|
||||
src/model/IvrCallResult.cc
|
||||
src/model/SingleCallByVoiceRequest.cc
|
||||
src/model/SingleCallByVoiceResult.cc
|
||||
src/model/SingleCallByTtsRequest.cc
|
||||
src/model/SingleCallByTtsResult.cc )
|
||||
src/model/BatchRobotSmartCallRequest.cc
|
||||
src/model/BatchRobotSmartCallResult.cc
|
||||
src/model/QueryRobotTaskListRequest.cc
|
||||
src/model/QueryRobotTaskListResult.cc
|
||||
src/model/QueryRobotTaskCallListRequest.cc
|
||||
src/model/QueryRobotTaskCallListResult.cc
|
||||
src/model/SmartCallRequest.cc
|
||||
src/model/SmartCallResult.cc
|
||||
src/model/CancelOrderRobotTaskRequest.cc
|
||||
src/model/CancelOrderRobotTaskResult.cc
|
||||
src/model/VoipAddAccountRequest.cc
|
||||
src/model/VoipAddAccountResult.cc
|
||||
src/model/StartRobotTaskRequest.cc
|
||||
src/model/StartRobotTaskResult.cc )
|
||||
|
||||
add_library(dyvmsapi ${LIB_TYPE}
|
||||
${dyvmsapi_public_header}
|
||||
|
||||
@@ -22,24 +22,60 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DyvmsapiExport.h"
|
||||
#include "model/SmartCallRequest.h"
|
||||
#include "model/SmartCallResult.h"
|
||||
#include "model/QueryCallDetailByCallIdRequest.h"
|
||||
#include "model/QueryCallDetailByCallIdResult.h"
|
||||
#include "model/VoipAddAccountRequest.h"
|
||||
#include "model/VoipAddAccountResult.h"
|
||||
#include "model/UploadRobotTaskCalledFileRequest.h"
|
||||
#include "model/UploadRobotTaskCalledFileResult.h"
|
||||
#include "model/CancelCallRequest.h"
|
||||
#include "model/CancelCallResult.h"
|
||||
#include "model/CancelRobotTaskRequest.h"
|
||||
#include "model/CancelRobotTaskResult.h"
|
||||
#include "model/AddRtcAccountRequest.h"
|
||||
#include "model/AddRtcAccountResult.h"
|
||||
#include "model/QueryCallDetailByTaskIdRequest.h"
|
||||
#include "model/QueryCallDetailByTaskIdResult.h"
|
||||
#include "model/QueryRobotTaskCallDetailRequest.h"
|
||||
#include "model/QueryRobotTaskCallDetailResult.h"
|
||||
#include "model/SmartCallOperateRequest.h"
|
||||
#include "model/SmartCallOperateResult.h"
|
||||
#include "model/QueryRobotTaskDetailRequest.h"
|
||||
#include "model/QueryRobotTaskDetailResult.h"
|
||||
#include "model/SingleCallByVoiceRequest.h"
|
||||
#include "model/SingleCallByVoiceResult.h"
|
||||
#include "model/QueryRobotv2AllListRequest.h"
|
||||
#include "model/QueryRobotv2AllListResult.h"
|
||||
#include "model/GetRtcTokenRequest.h"
|
||||
#include "model/GetRtcTokenResult.h"
|
||||
#include "model/SingleCallByTtsRequest.h"
|
||||
#include "model/SingleCallByTtsResult.h"
|
||||
#include "model/QueryRobotInfoListRequest.h"
|
||||
#include "model/QueryRobotInfoListResult.h"
|
||||
#include "model/VoipGetTokenRequest.h"
|
||||
#include "model/VoipGetTokenResult.h"
|
||||
#include "model/ClickToDialRequest.h"
|
||||
#include "model/ClickToDialResult.h"
|
||||
#include "model/DeleteRobotTaskRequest.h"
|
||||
#include "model/DeleteRobotTaskResult.h"
|
||||
#include "model/CreateRobotTaskRequest.h"
|
||||
#include "model/CreateRobotTaskResult.h"
|
||||
#include "model/QueryCallDetailByCallIdRequest.h"
|
||||
#include "model/QueryCallDetailByCallIdResult.h"
|
||||
#include "model/StopRobotTaskRequest.h"
|
||||
#include "model/StopRobotTaskResult.h"
|
||||
#include "model/IvrCallRequest.h"
|
||||
#include "model/IvrCallResult.h"
|
||||
#include "model/SingleCallByVoiceRequest.h"
|
||||
#include "model/SingleCallByVoiceResult.h"
|
||||
#include "model/SingleCallByTtsRequest.h"
|
||||
#include "model/SingleCallByTtsResult.h"
|
||||
#include "model/BatchRobotSmartCallRequest.h"
|
||||
#include "model/BatchRobotSmartCallResult.h"
|
||||
#include "model/QueryRobotTaskListRequest.h"
|
||||
#include "model/QueryRobotTaskListResult.h"
|
||||
#include "model/QueryRobotTaskCallListRequest.h"
|
||||
#include "model/QueryRobotTaskCallListResult.h"
|
||||
#include "model/SmartCallRequest.h"
|
||||
#include "model/SmartCallResult.h"
|
||||
#include "model/CancelOrderRobotTaskRequest.h"
|
||||
#include "model/CancelOrderRobotTaskResult.h"
|
||||
#include "model/VoipAddAccountRequest.h"
|
||||
#include "model/VoipAddAccountResult.h"
|
||||
#include "model/StartRobotTaskRequest.h"
|
||||
#include "model/StartRobotTaskResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -49,65 +85,173 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT DyvmsapiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::SmartCallResult> SmartCallOutcome;
|
||||
typedef std::future<SmartCallOutcome> SmartCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SmartCallRequest&, const SmartCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SmartCallAsyncHandler;
|
||||
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::VoipAddAccountResult> VoipAddAccountOutcome;
|
||||
typedef std::future<VoipAddAccountOutcome> VoipAddAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::VoipAddAccountRequest&, const VoipAddAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoipAddAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::UploadRobotTaskCalledFileResult> UploadRobotTaskCalledFileOutcome;
|
||||
typedef std::future<UploadRobotTaskCalledFileOutcome> UploadRobotTaskCalledFileOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UploadRobotTaskCalledFileRequest&, const UploadRobotTaskCalledFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadRobotTaskCalledFileAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelCallResult> CancelCallOutcome;
|
||||
typedef std::future<CancelCallOutcome> CancelCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CancelCallRequest&, const CancelCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelRobotTaskResult> CancelRobotTaskOutcome;
|
||||
typedef std::future<CancelRobotTaskOutcome> CancelRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CancelRobotTaskRequest&, const CancelRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelRobotTaskAsyncHandler;
|
||||
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::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::QueryRobotTaskCallDetailResult> QueryRobotTaskCallDetailOutcome;
|
||||
typedef std::future<QueryRobotTaskCallDetailOutcome> QueryRobotTaskCallDetailOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotTaskCallDetailRequest&, const QueryRobotTaskCallDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotTaskCallDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::SmartCallOperateResult> SmartCallOperateOutcome;
|
||||
typedef std::future<SmartCallOperateOutcome> SmartCallOperateOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SmartCallOperateRequest&, const SmartCallOperateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SmartCallOperateAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRobotTaskDetailResult> QueryRobotTaskDetailOutcome;
|
||||
typedef std::future<QueryRobotTaskDetailOutcome> QueryRobotTaskDetailOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotTaskDetailRequest&, const QueryRobotTaskDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotTaskDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::SingleCallByVoiceResult> SingleCallByVoiceOutcome;
|
||||
typedef std::future<SingleCallByVoiceOutcome> SingleCallByVoiceOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByVoiceRequest&, const SingleCallByVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByVoiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRobotv2AllListResult> QueryRobotv2AllListOutcome;
|
||||
typedef std::future<QueryRobotv2AllListOutcome> QueryRobotv2AllListOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotv2AllListRequest&, const QueryRobotv2AllListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotv2AllListAsyncHandler;
|
||||
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::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;
|
||||
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;
|
||||
typedef Outcome<Error, Model::VoipGetTokenResult> VoipGetTokenOutcome;
|
||||
typedef std::future<VoipGetTokenOutcome> VoipGetTokenOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::VoipGetTokenRequest&, const VoipGetTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoipGetTokenAsyncHandler;
|
||||
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::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;
|
||||
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::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::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::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::SingleCallByVoiceResult> SingleCallByVoiceOutcome;
|
||||
typedef std::future<SingleCallByVoiceOutcome> SingleCallByVoiceOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByVoiceRequest&, const SingleCallByVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByVoiceAsyncHandler;
|
||||
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;
|
||||
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;
|
||||
typedef Outcome<Error, Model::QueryRobotTaskListResult> QueryRobotTaskListOutcome;
|
||||
typedef std::future<QueryRobotTaskListOutcome> QueryRobotTaskListOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotTaskListRequest&, const QueryRobotTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotTaskListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRobotTaskCallListResult> QueryRobotTaskCallListOutcome;
|
||||
typedef std::future<QueryRobotTaskCallListOutcome> QueryRobotTaskCallListOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRobotTaskCallListRequest&, const QueryRobotTaskCallListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRobotTaskCallListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SmartCallResult> SmartCallOutcome;
|
||||
typedef std::future<SmartCallOutcome> SmartCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SmartCallRequest&, const SmartCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SmartCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelOrderRobotTaskResult> CancelOrderRobotTaskOutcome;
|
||||
typedef std::future<CancelOrderRobotTaskOutcome> CancelOrderRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CancelOrderRobotTaskRequest&, const CancelOrderRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOrderRobotTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::VoipAddAccountResult> VoipAddAccountOutcome;
|
||||
typedef std::future<VoipAddAccountOutcome> VoipAddAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::VoipAddAccountRequest&, const VoipAddAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoipAddAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartRobotTaskResult> StartRobotTaskOutcome;
|
||||
typedef std::future<StartRobotTaskOutcome> StartRobotTaskOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::StartRobotTaskRequest&, const StartRobotTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRobotTaskAsyncHandler;
|
||||
|
||||
DyvmsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DyvmsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DyvmsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DyvmsapiClient();
|
||||
SmartCallOutcome smartCall(const Model::SmartCallRequest &request)const;
|
||||
void smartCallAsync(const Model::SmartCallRequest& request, const SmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SmartCallOutcomeCallable smartCallCallable(const Model::SmartCallRequest& 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;
|
||||
VoipAddAccountOutcome voipAddAccount(const Model::VoipAddAccountRequest &request)const;
|
||||
void voipAddAccountAsync(const Model::VoipAddAccountRequest& request, const VoipAddAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoipAddAccountOutcomeCallable voipAddAccountCallable(const Model::VoipAddAccountRequest& request) const;
|
||||
UploadRobotTaskCalledFileOutcome uploadRobotTaskCalledFile(const Model::UploadRobotTaskCalledFileRequest &request)const;
|
||||
void uploadRobotTaskCalledFileAsync(const Model::UploadRobotTaskCalledFileRequest& request, const UploadRobotTaskCalledFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UploadRobotTaskCalledFileOutcomeCallable uploadRobotTaskCalledFileCallable(const Model::UploadRobotTaskCalledFileRequest& request) const;
|
||||
CancelCallOutcome cancelCall(const Model::CancelCallRequest &request)const;
|
||||
void cancelCallAsync(const Model::CancelCallRequest& request, const CancelCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelCallOutcomeCallable cancelCallCallable(const Model::CancelCallRequest& request) const;
|
||||
CancelRobotTaskOutcome cancelRobotTask(const Model::CancelRobotTaskRequest &request)const;
|
||||
void cancelRobotTaskAsync(const Model::CancelRobotTaskRequest& request, const CancelRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelRobotTaskOutcomeCallable cancelRobotTaskCallable(const Model::CancelRobotTaskRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
QueryRobotTaskCallDetailOutcome queryRobotTaskCallDetail(const Model::QueryRobotTaskCallDetailRequest &request)const;
|
||||
void queryRobotTaskCallDetailAsync(const Model::QueryRobotTaskCallDetailRequest& request, const QueryRobotTaskCallDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRobotTaskCallDetailOutcomeCallable queryRobotTaskCallDetailCallable(const Model::QueryRobotTaskCallDetailRequest& request) const;
|
||||
SmartCallOperateOutcome smartCallOperate(const Model::SmartCallOperateRequest &request)const;
|
||||
void smartCallOperateAsync(const Model::SmartCallOperateRequest& request, const SmartCallOperateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SmartCallOperateOutcomeCallable smartCallOperateCallable(const Model::SmartCallOperateRequest& request) const;
|
||||
QueryRobotTaskDetailOutcome queryRobotTaskDetail(const Model::QueryRobotTaskDetailRequest &request)const;
|
||||
void queryRobotTaskDetailAsync(const Model::QueryRobotTaskDetailRequest& request, const QueryRobotTaskDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRobotTaskDetailOutcomeCallable queryRobotTaskDetailCallable(const Model::QueryRobotTaskDetailRequest& request) const;
|
||||
SingleCallByVoiceOutcome singleCallByVoice(const Model::SingleCallByVoiceRequest &request)const;
|
||||
void singleCallByVoiceAsync(const Model::SingleCallByVoiceRequest& request, const SingleCallByVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SingleCallByVoiceOutcomeCallable singleCallByVoiceCallable(const Model::SingleCallByVoiceRequest& request) const;
|
||||
QueryRobotv2AllListOutcome queryRobotv2AllList(const Model::QueryRobotv2AllListRequest &request)const;
|
||||
void queryRobotv2AllListAsync(const Model::QueryRobotv2AllListRequest& request, const QueryRobotv2AllListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRobotv2AllListOutcomeCallable queryRobotv2AllListCallable(const Model::QueryRobotv2AllListRequest& 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;
|
||||
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;
|
||||
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;
|
||||
VoipGetTokenOutcome voipGetToken(const Model::VoipGetTokenRequest &request)const;
|
||||
void voipGetTokenAsync(const Model::VoipGetTokenRequest& request, const VoipGetTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoipGetTokenOutcomeCallable voipGetTokenCallable(const Model::VoipGetTokenRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
SingleCallByVoiceOutcome singleCallByVoice(const Model::SingleCallByVoiceRequest &request)const;
|
||||
void singleCallByVoiceAsync(const Model::SingleCallByVoiceRequest& request, const SingleCallByVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SingleCallByVoiceOutcomeCallable singleCallByVoiceCallable(const Model::SingleCallByVoiceRequest& 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;
|
||||
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;
|
||||
QueryRobotTaskListOutcome queryRobotTaskList(const Model::QueryRobotTaskListRequest &request)const;
|
||||
void queryRobotTaskListAsync(const Model::QueryRobotTaskListRequest& request, const QueryRobotTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRobotTaskListOutcomeCallable queryRobotTaskListCallable(const Model::QueryRobotTaskListRequest& request) const;
|
||||
QueryRobotTaskCallListOutcome queryRobotTaskCallList(const Model::QueryRobotTaskCallListRequest &request)const;
|
||||
void queryRobotTaskCallListAsync(const Model::QueryRobotTaskCallListRequest& request, const QueryRobotTaskCallListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRobotTaskCallListOutcomeCallable queryRobotTaskCallListCallable(const Model::QueryRobotTaskCallListRequest& request) const;
|
||||
SmartCallOutcome smartCall(const Model::SmartCallRequest &request)const;
|
||||
void smartCallAsync(const Model::SmartCallRequest& request, const SmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SmartCallOutcomeCallable smartCallCallable(const Model::SmartCallRequest& request) const;
|
||||
CancelOrderRobotTaskOutcome cancelOrderRobotTask(const Model::CancelOrderRobotTaskRequest &request)const;
|
||||
void cancelOrderRobotTaskAsync(const Model::CancelOrderRobotTaskRequest& request, const CancelOrderRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelOrderRobotTaskOutcomeCallable cancelOrderRobotTaskCallable(const Model::CancelOrderRobotTaskRequest& request) const;
|
||||
VoipAddAccountOutcome voipAddAccount(const Model::VoipAddAccountRequest &request)const;
|
||||
void voipAddAccountAsync(const Model::VoipAddAccountRequest& request, const VoipAddAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoipAddAccountOutcomeCallable voipAddAccountCallable(const Model::VoipAddAccountRequest& request) const;
|
||||
StartRobotTaskOutcome startRobotTask(const Model::StartRobotTaskRequest &request)const;
|
||||
void startRobotTaskAsync(const Model::StartRobotTaskRequest& request, const StartRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartRobotTaskOutcomeCallable startRobotTaskCallable(const Model::StartRobotTaskRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_ADDRTCACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_ADDRTCACCOUNTREQUEST_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 AddRtcAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddRtcAccountRequest();
|
||||
~AddRtcAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_ADDRTCACCOUNTREQUEST_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_ADDRTCACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_ADDRTCACCOUNTRESULT_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 AddRtcAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddRtcAccountResult();
|
||||
explicit AddRtcAccountResult(const std::string &payload);
|
||||
~AddRtcAccountResult();
|
||||
std::string getMessage()const;
|
||||
std::string getModule()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string module_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_ADDRTCACCOUNTRESULT_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_BATCHROBOTSMARTCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_BATCHROBOTSMARTCALLREQUEST_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 BatchRobotSmartCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchRobotSmartCallRequest();
|
||||
~BatchRobotSmartCallRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getEarlyMediaAsr()const;
|
||||
void setEarlyMediaAsr(bool earlyMediaAsr);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTtsParamHead()const;
|
||||
void setTtsParamHead(const std::string& ttsParamHead);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getTtsParam()const;
|
||||
void setTtsParam(const std::string& ttsParam);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDialogId()const;
|
||||
void setDialogId(const std::string& dialogId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
long getScheduleTime()const;
|
||||
void setScheduleTime(long scheduleTime);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getCorpName()const;
|
||||
void setCorpName(const std::string& corpName);
|
||||
bool getScheduleCall()const;
|
||||
void setScheduleCall(bool scheduleCall);
|
||||
bool getIsSelfLine()const;
|
||||
void setIsSelfLine(bool isSelfLine);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool earlyMediaAsr_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ttsParamHead_;
|
||||
std::string taskName_;
|
||||
std::string ttsParam_;
|
||||
long ownerId_;
|
||||
std::string dialogId_;
|
||||
std::string accessKeyId_;
|
||||
std::string calledNumber_;
|
||||
long scheduleTime_;
|
||||
std::string calledShowNumber_;
|
||||
std::string corpName_;
|
||||
bool scheduleCall_;
|
||||
bool isSelfLine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_BATCHROBOTSMARTCALLREQUEST_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_BATCHROBOTSMARTCALLRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_BATCHROBOTSMARTCALLRESULT_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 BatchRobotSmartCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchRobotSmartCallResult();
|
||||
explicit BatchRobotSmartCallResult(const std::string &payload);
|
||||
~BatchRobotSmartCallResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_BATCHROBOTSMARTCALLRESULT_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_CANCELORDERROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELORDERROBOTTASKREQUEST_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 CancelOrderRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelOrderRobotTaskRequest();
|
||||
~CancelOrderRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CANCELORDERROBOTTASKREQUEST_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_CANCELORDERROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELORDERROBOTTASKRESULT_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 CancelOrderRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelOrderRobotTaskResult();
|
||||
explicit CancelOrderRobotTaskResult(const std::string &payload);
|
||||
~CancelOrderRobotTaskResult();
|
||||
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_CANCELORDERROBOTTASKRESULT_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_CANCELROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELROBOTTASKREQUEST_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 CancelRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelRobotTaskRequest();
|
||||
~CancelRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CANCELROBOTTASKREQUEST_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_CANCELROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELROBOTTASKRESULT_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 CancelRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelRobotTaskResult();
|
||||
explicit CancelRobotTaskResult(const std::string &payload);
|
||||
~CancelRobotTaskResult();
|
||||
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_CANCELROBOTTASKRESULT_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_CREATEROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATEROBOTTASKREQUEST_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 CreateRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRobotTaskRequest();
|
||||
~CreateRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRecallStateCodes()const;
|
||||
void setRecallStateCodes(const std::string& recallStateCodes);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
int getRetryType()const;
|
||||
void setRetryType(int retryType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getRecallTimes()const;
|
||||
void setRecallTimes(int recallTimes);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
bool getNumberStatusIdent()const;
|
||||
void setNumberStatusIdent(bool numberStatusIdent);
|
||||
std::string getCorpName()const;
|
||||
void setCorpName(const std::string& corpName);
|
||||
int getRecallInterval()const;
|
||||
void setRecallInterval(int recallInterval);
|
||||
bool getIsSelfLine()const;
|
||||
void setIsSelfLine(bool isSelfLine);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string recallStateCodes_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string taskName_;
|
||||
int retryType_;
|
||||
long ownerId_;
|
||||
long dialogId_;
|
||||
std::string accessKeyId_;
|
||||
int recallTimes_;
|
||||
std::string caller_;
|
||||
bool numberStatusIdent_;
|
||||
std::string corpName_;
|
||||
int recallInterval_;
|
||||
bool isSelfLine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CREATEROBOTTASKREQUEST_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_CREATEROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CREATEROBOTTASKRESULT_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 CreateRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateRobotTaskResult();
|
||||
explicit CreateRobotTaskResult(const std::string &payload);
|
||||
~CreateRobotTaskResult();
|
||||
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_CREATEROBOTTASKRESULT_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_DELETEROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DELETEROBOTTASKREQUEST_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 DeleteRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRobotTaskRequest();
|
||||
~DeleteRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DELETEROBOTTASKREQUEST_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_DELETEROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DELETEROBOTTASKRESULT_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 DeleteRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRobotTaskResult();
|
||||
explicit DeleteRobotTaskResult(const std::string &payload);
|
||||
~DeleteRobotTaskResult();
|
||||
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_DELETEROBOTTASKRESULT_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_GETRTCTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_GETRTCTOKENREQUEST_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 GetRtcTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRtcTokenRequest();
|
||||
~GetRtcTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
bool getIsCustomAccount()const;
|
||||
void setIsCustomAccount(bool isCustomAccount);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
bool isCustomAccount_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETRTCTOKENREQUEST_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_GETRTCTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_GETRTCTOKENRESULT_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 GetRtcTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRtcTokenResult();
|
||||
explicit GetRtcTokenResult(const std::string &payload);
|
||||
~GetRtcTokenResult();
|
||||
std::string getMessage()const;
|
||||
std::string getModule()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string module_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_GETRTCTOKENRESULT_H_
|
||||
@@ -32,9 +32,9 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct MenuKeyMap
|
||||
{
|
||||
std::string key;
|
||||
std::string code;
|
||||
std::string ttsParams;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -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_QUERYCALLDETAILBYTASKIDREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYTASKIDREQUEST_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 QueryCallDetailByTaskIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCallDetailByTaskIdRequest();
|
||||
~QueryCallDetailByTaskIdRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getQueryDate()const;
|
||||
void setQueryDate(long queryDate);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long queryDate_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callee_;
|
||||
long ownerId_;
|
||||
std::string taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYTASKIDREQUEST_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_QUERYCALLDETAILBYTASKIDRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYTASKIDRESULT_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 QueryCallDetailByTaskIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCallDetailByTaskIdResult();
|
||||
explicit QueryCallDetailByTaskIdResult(const std::string &payload);
|
||||
~QueryCallDetailByTaskIdResult();
|
||||
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_QUERYCALLDETAILBYTASKIDRESULT_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_QUERYROBOTINFOLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTINFOLISTREQUEST_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 QueryRobotInfoListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotInfoListRequest();
|
||||
~QueryRobotInfoListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAuditStatus()const;
|
||||
void setAuditStatus(const std::string& auditStatus);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string auditStatus_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTINFOLISTREQUEST_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_QUERYROBOTINFOLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTINFOLISTRESULT_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 QueryRobotInfoListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotInfoListResult();
|
||||
explicit QueryRobotInfoListResult(const std::string &payload);
|
||||
~QueryRobotInfoListResult();
|
||||
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_QUERYROBOTINFOLISTRESULT_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_QUERYROBOTTASKCALLDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLDETAILREQUEST_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 QueryRobotTaskCallDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotTaskCallDetailRequest();
|
||||
~QueryRobotTaskCallDetailRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getQueryDate()const;
|
||||
void setQueryDate(long queryDate);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long queryDate_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callee_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLDETAILREQUEST_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_QUERYROBOTTASKCALLDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLDETAILRESULT_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 QueryRobotTaskCallDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotTaskCallDetailResult();
|
||||
explicit QueryRobotTaskCallDetailResult(const std::string &payload);
|
||||
~QueryRobotTaskCallDetailResult();
|
||||
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_QUERYROBOTTASKCALLDETAILRESULT_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_QUERYROBOTTASKCALLLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLLISTREQUEST_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 QueryRobotTaskCallListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotTaskCallListRequest();
|
||||
~QueryRobotTaskCallListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCalled()const;
|
||||
void setCalled(const std::string& called);
|
||||
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);
|
||||
std::string getDialogCountTo()const;
|
||||
void setDialogCountTo(const std::string& dialogCountTo);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDurationFrom()const;
|
||||
void setDurationFrom(const std::string& durationFrom);
|
||||
int getPageNo()const;
|
||||
void setPageNo(int pageNo);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCallResult()const;
|
||||
void setCallResult(const std::string& callResult);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string called_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dialogCountFrom_;
|
||||
std::string durationTo_;
|
||||
std::string hangupDirection_;
|
||||
std::string dialogCountTo_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string durationFrom_;
|
||||
int pageNo_;
|
||||
int pageSize_;
|
||||
std::string callResult_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLLISTREQUEST_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_QUERYROBOTTASKCALLLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKCALLLISTRESULT_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 QueryRobotTaskCallListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotTaskCallListResult();
|
||||
explicit QueryRobotTaskCallListResult(const std::string &payload);
|
||||
~QueryRobotTaskCallListResult();
|
||||
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_QUERYROBOTTASKCALLLISTRESULT_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_QUERYROBOTTASKDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKDETAILREQUEST_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 QueryRobotTaskDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotTaskDetailRequest();
|
||||
~QueryRobotTaskDetailRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long id_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKDETAILREQUEST_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_QUERYROBOTTASKDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKDETAILRESULT_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 QueryRobotTaskDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotTaskDetailResult();
|
||||
explicit QueryRobotTaskDetailResult(const std::string &payload);
|
||||
~QueryRobotTaskDetailResult();
|
||||
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_QUERYROBOTTASKDETAILRESULT_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_QUERYROBOTTASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKLISTREQUEST_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 QueryRobotTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotTaskListRequest();
|
||||
~QueryRobotTaskListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getPageNo()const;
|
||||
void setPageNo(int pageNo);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getTime()const;
|
||||
void setTime(const std::string& time);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int pageNo_;
|
||||
int pageSize_;
|
||||
std::string taskName_;
|
||||
std::string time_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKLISTREQUEST_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_QUERYROBOTTASKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTTASKLISTRESULT_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 QueryRobotTaskListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotTaskListResult();
|
||||
explicit QueryRobotTaskListResult(const std::string &payload);
|
||||
~QueryRobotTaskListResult();
|
||||
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_QUERYROBOTTASKLISTRESULT_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_QUERYROBOTV2ALLLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTV2ALLLISTREQUEST_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 QueryRobotv2AllListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRobotv2AllListRequest();
|
||||
~QueryRobotv2AllListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTV2ALLLISTREQUEST_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_QUERYROBOTV2ALLLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYROBOTV2ALLLISTRESULT_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 QueryRobotv2AllListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRobotv2AllListResult();
|
||||
explicit QueryRobotv2AllListResult(const std::string &payload);
|
||||
~QueryRobotv2AllListResult();
|
||||
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_QUERYROBOTV2ALLLISTRESULT_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_SMARTCALLOPERATEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLOPERATEREQUEST_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 SmartCallOperateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SmartCallOperateRequest();
|
||||
~SmartCallOperateRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getParam()const;
|
||||
void setParam(const std::string& param);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCommand()const;
|
||||
void setCommand(const std::string& command);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string param_;
|
||||
long ownerId_;
|
||||
std::string command_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLOPERATEREQUEST_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_SMARTCALLOPERATERESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLOPERATERESULT_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 SmartCallOperateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SmartCallOperateResult();
|
||||
explicit SmartCallOperateResult(const std::string &payload);
|
||||
~SmartCallOperateResult();
|
||||
bool getStatus()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLOPERATERESULT_H_
|
||||
@@ -37,6 +37,32 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getVoiceCodeParam()const;
|
||||
void setVoiceCodeParam(const std::string& voiceCodeParam);
|
||||
bool getEarlyMediaAsr()const;
|
||||
void setEarlyMediaAsr(bool earlyMediaAsr);
|
||||
int getSpeed()const;
|
||||
void setSpeed(int speed);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAsrBaseId()const;
|
||||
void setAsrBaseId(const std::string& asrBaseId);
|
||||
int getSessionTimeout()const;
|
||||
void setSessionTimeout(int sessionTimeout);
|
||||
std::string getDynamicId()const;
|
||||
void setDynamicId(const std::string& dynamicId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
int getTtsSpeed()const;
|
||||
void setTtsSpeed(int ttsSpeed);
|
||||
std::string getVoiceCode()const;
|
||||
void setVoiceCode(const std::string& voiceCode);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
int getActionCodeTimeBreak()const;
|
||||
void setActionCodeTimeBreak(int actionCodeTimeBreak);
|
||||
bool getTtsConf()const;
|
||||
void setTtsConf(bool ttsConf);
|
||||
bool getActionCodeBreak()const;
|
||||
void setActionCodeBreak(bool actionCodeBreak);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -45,46 +71,47 @@ namespace AlibabaCloud
|
||||
void setRecordFlag(bool recordFlag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSpeed()const;
|
||||
void setSpeed(int speed);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getTtsVolume()const;
|
||||
void setTtsVolume(int ttsVolume);
|
||||
int getVolume()const;
|
||||
void setVolume(int volume);
|
||||
std::string getDynamicId()const;
|
||||
void setDynamicId(const std::string& dynamicId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getVoiceCode()const;
|
||||
void setVoiceCode(const std::string& voiceCode);
|
||||
int getMuteTime()const;
|
||||
void setMuteTime(int muteTime);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getAsrModelId()const;
|
||||
void setAsrModelId(const std::string& asrModelId);
|
||||
int getPauseTime()const;
|
||||
void setPauseTime(int pauseTime);
|
||||
std::string getTtsStyle()const;
|
||||
void setTtsStyle(const std::string& ttsStyle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string voiceCodeParam_;
|
||||
bool earlyMediaAsr_;
|
||||
int speed_;
|
||||
std::string accessKeyId_;
|
||||
std::string asrBaseId_;
|
||||
int sessionTimeout_;
|
||||
std::string dynamicId_;
|
||||
std::string calledNumber_;
|
||||
int ttsSpeed_;
|
||||
std::string voiceCode_;
|
||||
std::string calledShowNumber_;
|
||||
int actionCodeTimeBreak_;
|
||||
bool ttsConf_;
|
||||
bool actionCodeBreak_;
|
||||
std::string resourceOwnerAccount_;
|
||||
bool recordFlag_;
|
||||
long ownerId_;
|
||||
int speed_;
|
||||
std::string accessKeyId_;
|
||||
int ttsVolume_;
|
||||
int volume_;
|
||||
std::string dynamicId_;
|
||||
std::string calledNumber_;
|
||||
std::string voiceCode_;
|
||||
int muteTime_;
|
||||
std::string calledShowNumber_;
|
||||
std::string outId_;
|
||||
std::string asrModelId_;
|
||||
int pauseTime_;
|
||||
std::string ttsStyle_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_STARTROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STARTROBOTTASKREQUEST_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 StartRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartRobotTaskRequest();
|
||||
~StartRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getScheduleTime()const;
|
||||
void setScheduleTime(const std::string& scheduleTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string scheduleTime_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_STARTROBOTTASKREQUEST_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_STARTROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STARTROBOTTASKRESULT_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 StartRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartRobotTaskResult();
|
||||
explicit StartRobotTaskResult(const std::string &payload);
|
||||
~StartRobotTaskResult();
|
||||
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_STARTROBOTTASKRESULT_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_STOPROBOTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STOPROBOTTASKREQUEST_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 StopRobotTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopRobotTaskRequest();
|
||||
~StopRobotTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
long taskId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_STOPROBOTTASKREQUEST_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_STOPROBOTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STOPROBOTTASKRESULT_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 StopRobotTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopRobotTaskResult();
|
||||
explicit StopRobotTaskResult(const std::string &payload);
|
||||
~StopRobotTaskResult();
|
||||
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_STOPROBOTTASKRESULT_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_UPLOADROBOTTASKCALLEDFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UPLOADROBOTTASKCALLEDFILEREQUEST_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 UploadRobotTaskCalledFileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UploadRobotTaskCalledFileRequest();
|
||||
~UploadRobotTaskCalledFileRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getTtsParamHead()const;
|
||||
void setTtsParamHead(const std::string& ttsParamHead);
|
||||
std::string getTtsParam()const;
|
||||
void setTtsParam(const std::string& ttsParam);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string calledNumber_;
|
||||
std::string ttsParamHead_;
|
||||
std::string ttsParam_;
|
||||
long id_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_UPLOADROBOTTASKCALLEDFILEREQUEST_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_UPLOADROBOTTASKCALLEDFILERESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UPLOADROBOTTASKCALLEDFILERESULT_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 UploadRobotTaskCalledFileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UploadRobotTaskCalledFileResult();
|
||||
explicit UploadRobotTaskCalledFileResult(const std::string &payload);
|
||||
~UploadRobotTaskCalledFileResult();
|
||||
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_UPLOADROBOTTASKCALLEDFILERESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
bool getIsCustomAccount()const;
|
||||
void setIsCustomAccount(bool isCustomAccount);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string deviceId_;
|
||||
bool isCustomAccount_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -31,128 +31,56 @@ DyvmsapiClient::DyvmsapiClient(const Credentials &credentials, const ClientConfi
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dyvmsapi");
|
||||
}
|
||||
|
||||
DyvmsapiClient::DyvmsapiClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dyvmsapi");
|
||||
}
|
||||
|
||||
DyvmsapiClient::DyvmsapiClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dyvmsapi");
|
||||
}
|
||||
|
||||
DyvmsapiClient::~DyvmsapiClient()
|
||||
{}
|
||||
|
||||
DyvmsapiClient::SmartCallOutcome DyvmsapiClient::smartCall(const SmartCallRequest &request) const
|
||||
DyvmsapiClient::UploadRobotTaskCalledFileOutcome DyvmsapiClient::uploadRobotTaskCalledFile(const UploadRobotTaskCalledFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SmartCallOutcome(endpointOutcome.error());
|
||||
return UploadRobotTaskCalledFileOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SmartCallOutcome(SmartCallResult(outcome.result()));
|
||||
return UploadRobotTaskCalledFileOutcome(UploadRobotTaskCalledFileResult(outcome.result()));
|
||||
else
|
||||
return SmartCallOutcome(outcome.error());
|
||||
return UploadRobotTaskCalledFileOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::smartCallAsync(const SmartCallRequest& request, const SmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void DyvmsapiClient::uploadRobotTaskCalledFileAsync(const UploadRobotTaskCalledFileRequest& request, const UploadRobotTaskCalledFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, smartCall(request), context);
|
||||
handler(this, request, uploadRobotTaskCalledFile(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SmartCallOutcomeCallable DyvmsapiClient::smartCallCallable(const SmartCallRequest &request) const
|
||||
DyvmsapiClient::UploadRobotTaskCalledFileOutcomeCallable DyvmsapiClient::uploadRobotTaskCalledFileCallable(const UploadRobotTaskCalledFileRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SmartCallOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<UploadRobotTaskCalledFileOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->smartCall(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByCallIdOutcome DyvmsapiClient::queryCallDetailByCallId(const QueryCallDetailByCallIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCallDetailByCallIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCallDetailByCallIdOutcome(QueryCallDetailByCallIdResult(outcome.result()));
|
||||
else
|
||||
return QueryCallDetailByCallIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryCallDetailByCallIdAsync(const QueryCallDetailByCallIdRequest& request, const QueryCallDetailByCallIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCallDetailByCallId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByCallIdOutcomeCallable DyvmsapiClient::queryCallDetailByCallIdCallable(const QueryCallDetailByCallIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCallDetailByCallIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCallDetailByCallId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::VoipAddAccountOutcome DyvmsapiClient::voipAddAccount(const VoipAddAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VoipAddAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VoipAddAccountOutcome(VoipAddAccountResult(outcome.result()));
|
||||
else
|
||||
return VoipAddAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::voipAddAccountAsync(const VoipAddAccountRequest& request, const VoipAddAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, voipAddAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::VoipAddAccountOutcomeCallable DyvmsapiClient::voipAddAccountCallable(const VoipAddAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VoipAddAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->voipAddAccount(request);
|
||||
return this->uploadRobotTaskCalledFile(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -195,6 +123,402 @@ DyvmsapiClient::CancelCallOutcomeCallable DyvmsapiClient::cancelCallCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::CancelRobotTaskOutcome DyvmsapiClient::cancelRobotTask(const CancelRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CancelRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CancelRobotTaskOutcome(CancelRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return CancelRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::cancelRobotTaskAsync(const CancelRobotTaskRequest& request, const CancelRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, cancelRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::CancelRobotTaskOutcomeCallable DyvmsapiClient::cancelRobotTaskCallable(const CancelRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CancelRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->cancelRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::AddRtcAccountOutcome DyvmsapiClient::addRtcAccount(const AddRtcAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddRtcAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddRtcAccountOutcome(AddRtcAccountResult(outcome.result()));
|
||||
else
|
||||
return AddRtcAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::addRtcAccountAsync(const AddRtcAccountRequest& request, const AddRtcAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addRtcAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::AddRtcAccountOutcomeCallable DyvmsapiClient::addRtcAccountCallable(const AddRtcAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddRtcAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addRtcAccount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByTaskIdOutcome DyvmsapiClient::queryCallDetailByTaskId(const QueryCallDetailByTaskIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCallDetailByTaskIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCallDetailByTaskIdOutcome(QueryCallDetailByTaskIdResult(outcome.result()));
|
||||
else
|
||||
return QueryCallDetailByTaskIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryCallDetailByTaskIdAsync(const QueryCallDetailByTaskIdRequest& request, const QueryCallDetailByTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCallDetailByTaskId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByTaskIdOutcomeCallable DyvmsapiClient::queryCallDetailByTaskIdCallable(const QueryCallDetailByTaskIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCallDetailByTaskIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCallDetailByTaskId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskCallDetailOutcome DyvmsapiClient::queryRobotTaskCallDetail(const QueryRobotTaskCallDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRobotTaskCallDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRobotTaskCallDetailOutcome(QueryRobotTaskCallDetailResult(outcome.result()));
|
||||
else
|
||||
return QueryRobotTaskCallDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRobotTaskCallDetailAsync(const QueryRobotTaskCallDetailRequest& request, const QueryRobotTaskCallDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRobotTaskCallDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskCallDetailOutcomeCallable DyvmsapiClient::queryRobotTaskCallDetailCallable(const QueryRobotTaskCallDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotTaskCallDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRobotTaskCallDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SmartCallOperateOutcome DyvmsapiClient::smartCallOperate(const SmartCallOperateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SmartCallOperateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SmartCallOperateOutcome(SmartCallOperateResult(outcome.result()));
|
||||
else
|
||||
return SmartCallOperateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::smartCallOperateAsync(const SmartCallOperateRequest& request, const SmartCallOperateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, smartCallOperate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SmartCallOperateOutcomeCallable DyvmsapiClient::smartCallOperateCallable(const SmartCallOperateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SmartCallOperateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->smartCallOperate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskDetailOutcome DyvmsapiClient::queryRobotTaskDetail(const QueryRobotTaskDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRobotTaskDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRobotTaskDetailOutcome(QueryRobotTaskDetailResult(outcome.result()));
|
||||
else
|
||||
return QueryRobotTaskDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRobotTaskDetailAsync(const QueryRobotTaskDetailRequest& request, const QueryRobotTaskDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRobotTaskDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskDetailOutcomeCallable DyvmsapiClient::queryRobotTaskDetailCallable(const QueryRobotTaskDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotTaskDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRobotTaskDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByVoiceOutcome DyvmsapiClient::singleCallByVoice(const SingleCallByVoiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SingleCallByVoiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SingleCallByVoiceOutcome(SingleCallByVoiceResult(outcome.result()));
|
||||
else
|
||||
return SingleCallByVoiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::singleCallByVoiceAsync(const SingleCallByVoiceRequest& request, const SingleCallByVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, singleCallByVoice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByVoiceOutcomeCallable DyvmsapiClient::singleCallByVoiceCallable(const SingleCallByVoiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SingleCallByVoiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->singleCallByVoice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotv2AllListOutcome DyvmsapiClient::queryRobotv2AllList(const QueryRobotv2AllListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRobotv2AllListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRobotv2AllListOutcome(QueryRobotv2AllListResult(outcome.result()));
|
||||
else
|
||||
return QueryRobotv2AllListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRobotv2AllListAsync(const QueryRobotv2AllListRequest& request, const QueryRobotv2AllListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRobotv2AllList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotv2AllListOutcomeCallable DyvmsapiClient::queryRobotv2AllListCallable(const QueryRobotv2AllListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotv2AllListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRobotv2AllList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::GetRtcTokenOutcome DyvmsapiClient::getRtcToken(const GetRtcTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetRtcTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetRtcTokenOutcome(GetRtcTokenResult(outcome.result()));
|
||||
else
|
||||
return GetRtcTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::getRtcTokenAsync(const GetRtcTokenRequest& request, const GetRtcTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getRtcToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::GetRtcTokenOutcomeCallable DyvmsapiClient::getRtcTokenCallable(const GetRtcTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetRtcTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getRtcToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByTtsOutcome DyvmsapiClient::singleCallByTts(const SingleCallByTtsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SingleCallByTtsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SingleCallByTtsOutcome(SingleCallByTtsResult(outcome.result()));
|
||||
else
|
||||
return SingleCallByTtsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::singleCallByTtsAsync(const SingleCallByTtsRequest& request, const SingleCallByTtsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, singleCallByTts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByTtsOutcomeCallable DyvmsapiClient::singleCallByTtsCallable(const SingleCallByTtsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SingleCallByTtsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->singleCallByTts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotInfoListOutcome DyvmsapiClient::queryRobotInfoList(const QueryRobotInfoListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRobotInfoListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRobotInfoListOutcome(QueryRobotInfoListResult(outcome.result()));
|
||||
else
|
||||
return QueryRobotInfoListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRobotInfoListAsync(const QueryRobotInfoListRequest& request, const QueryRobotInfoListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRobotInfoList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotInfoListOutcomeCallable DyvmsapiClient::queryRobotInfoListCallable(const QueryRobotInfoListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotInfoListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRobotInfoList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::VoipGetTokenOutcome DyvmsapiClient::voipGetToken(const VoipGetTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +591,150 @@ DyvmsapiClient::ClickToDialOutcomeCallable DyvmsapiClient::clickToDialCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::DeleteRobotTaskOutcome DyvmsapiClient::deleteRobotTask(const DeleteRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteRobotTaskOutcome(DeleteRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return DeleteRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::deleteRobotTaskAsync(const DeleteRobotTaskRequest& request, const DeleteRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::DeleteRobotTaskOutcomeCallable DyvmsapiClient::deleteRobotTaskCallable(const DeleteRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::CreateRobotTaskOutcome DyvmsapiClient::createRobotTask(const CreateRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateRobotTaskOutcome(CreateRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return CreateRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::createRobotTaskAsync(const CreateRobotTaskRequest& request, const CreateRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::CreateRobotTaskOutcomeCallable DyvmsapiClient::createRobotTaskCallable(const CreateRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByCallIdOutcome DyvmsapiClient::queryCallDetailByCallId(const QueryCallDetailByCallIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCallDetailByCallIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCallDetailByCallIdOutcome(QueryCallDetailByCallIdResult(outcome.result()));
|
||||
else
|
||||
return QueryCallDetailByCallIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryCallDetailByCallIdAsync(const QueryCallDetailByCallIdRequest& request, const QueryCallDetailByCallIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCallDetailByCallId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByCallIdOutcomeCallable DyvmsapiClient::queryCallDetailByCallIdCallable(const QueryCallDetailByCallIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCallDetailByCallIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCallDetailByCallId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::StopRobotTaskOutcome DyvmsapiClient::stopRobotTask(const StopRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopRobotTaskOutcome(StopRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return StopRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::stopRobotTaskAsync(const StopRobotTaskRequest& request, const StopRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::StopRobotTaskOutcomeCallable DyvmsapiClient::stopRobotTaskCallable(const StopRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::IvrCallOutcome DyvmsapiClient::ivrCall(const IvrCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,72 +771,252 @@ DyvmsapiClient::IvrCallOutcomeCallable DyvmsapiClient::ivrCallCallable(const Ivr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByVoiceOutcome DyvmsapiClient::singleCallByVoice(const SingleCallByVoiceRequest &request) const
|
||||
DyvmsapiClient::BatchRobotSmartCallOutcome DyvmsapiClient::batchRobotSmartCall(const BatchRobotSmartCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SingleCallByVoiceOutcome(endpointOutcome.error());
|
||||
return BatchRobotSmartCallOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SingleCallByVoiceOutcome(SingleCallByVoiceResult(outcome.result()));
|
||||
return BatchRobotSmartCallOutcome(BatchRobotSmartCallResult(outcome.result()));
|
||||
else
|
||||
return SingleCallByVoiceOutcome(outcome.error());
|
||||
return BatchRobotSmartCallOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::singleCallByVoiceAsync(const SingleCallByVoiceRequest& request, const SingleCallByVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void DyvmsapiClient::batchRobotSmartCallAsync(const BatchRobotSmartCallRequest& request, const BatchRobotSmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, singleCallByVoice(request), context);
|
||||
handler(this, request, batchRobotSmartCall(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByVoiceOutcomeCallable DyvmsapiClient::singleCallByVoiceCallable(const SingleCallByVoiceRequest &request) const
|
||||
DyvmsapiClient::BatchRobotSmartCallOutcomeCallable DyvmsapiClient::batchRobotSmartCallCallable(const BatchRobotSmartCallRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SingleCallByVoiceOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<BatchRobotSmartCallOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->singleCallByVoice(request);
|
||||
return this->batchRobotSmartCall(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByTtsOutcome DyvmsapiClient::singleCallByTts(const SingleCallByTtsRequest &request) const
|
||||
DyvmsapiClient::QueryRobotTaskListOutcome DyvmsapiClient::queryRobotTaskList(const QueryRobotTaskListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SingleCallByTtsOutcome(endpointOutcome.error());
|
||||
return QueryRobotTaskListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SingleCallByTtsOutcome(SingleCallByTtsResult(outcome.result()));
|
||||
return QueryRobotTaskListOutcome(QueryRobotTaskListResult(outcome.result()));
|
||||
else
|
||||
return SingleCallByTtsOutcome(outcome.error());
|
||||
return QueryRobotTaskListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::singleCallByTtsAsync(const SingleCallByTtsRequest& request, const SingleCallByTtsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void DyvmsapiClient::queryRobotTaskListAsync(const QueryRobotTaskListRequest& request, const QueryRobotTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, singleCallByTts(request), context);
|
||||
handler(this, request, queryRobotTaskList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SingleCallByTtsOutcomeCallable DyvmsapiClient::singleCallByTtsCallable(const SingleCallByTtsRequest &request) const
|
||||
DyvmsapiClient::QueryRobotTaskListOutcomeCallable DyvmsapiClient::queryRobotTaskListCallable(const QueryRobotTaskListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SingleCallByTtsOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotTaskListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->singleCallByTts(request);
|
||||
return this->queryRobotTaskList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskCallListOutcome DyvmsapiClient::queryRobotTaskCallList(const QueryRobotTaskCallListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRobotTaskCallListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRobotTaskCallListOutcome(QueryRobotTaskCallListResult(outcome.result()));
|
||||
else
|
||||
return QueryRobotTaskCallListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRobotTaskCallListAsync(const QueryRobotTaskCallListRequest& request, const QueryRobotTaskCallListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRobotTaskCallList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRobotTaskCallListOutcomeCallable DyvmsapiClient::queryRobotTaskCallListCallable(const QueryRobotTaskCallListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRobotTaskCallListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRobotTaskCallList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::SmartCallOutcome DyvmsapiClient::smartCall(const SmartCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SmartCallOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SmartCallOutcome(SmartCallResult(outcome.result()));
|
||||
else
|
||||
return SmartCallOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::smartCallAsync(const SmartCallRequest& request, const SmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, smartCall(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::SmartCallOutcomeCallable DyvmsapiClient::smartCallCallable(const SmartCallRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SmartCallOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->smartCall(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::CancelOrderRobotTaskOutcome DyvmsapiClient::cancelOrderRobotTask(const CancelOrderRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CancelOrderRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CancelOrderRobotTaskOutcome(CancelOrderRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return CancelOrderRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::cancelOrderRobotTaskAsync(const CancelOrderRobotTaskRequest& request, const CancelOrderRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, cancelOrderRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::CancelOrderRobotTaskOutcomeCallable DyvmsapiClient::cancelOrderRobotTaskCallable(const CancelOrderRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CancelOrderRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->cancelOrderRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::VoipAddAccountOutcome DyvmsapiClient::voipAddAccount(const VoipAddAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VoipAddAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VoipAddAccountOutcome(VoipAddAccountResult(outcome.result()));
|
||||
else
|
||||
return VoipAddAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::voipAddAccountAsync(const VoipAddAccountRequest& request, const VoipAddAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, voipAddAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::VoipAddAccountOutcomeCallable DyvmsapiClient::voipAddAccountCallable(const VoipAddAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VoipAddAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->voipAddAccount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::StartRobotTaskOutcome DyvmsapiClient::startRobotTask(const StartRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartRobotTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartRobotTaskOutcome(StartRobotTaskResult(outcome.result()));
|
||||
else
|
||||
return StartRobotTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::startRobotTaskAsync(const StartRobotTaskRequest& request, const StartRobotTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startRobotTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::StartRobotTaskOutcomeCallable DyvmsapiClient::startRobotTaskCallable(const StartRobotTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartRobotTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startRobotTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
82
dyvmsapi/src/model/AddRtcAccountRequest.cc
Normal file
82
dyvmsapi/src/model/AddRtcAccountRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/AddRtcAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::AddRtcAccountRequest;
|
||||
|
||||
AddRtcAccountRequest::AddRtcAccountRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "AddRtcAccount")
|
||||
{}
|
||||
|
||||
AddRtcAccountRequest::~AddRtcAccountRequest()
|
||||
{}
|
||||
|
||||
long AddRtcAccountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddRtcAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddRtcAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddRtcAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddRtcAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
void AddRtcAccountRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddRtcAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/AddRtcAccountResult.cc
Normal file
69
dyvmsapi/src/model/AddRtcAccountResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/AddRtcAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
AddRtcAccountResult::AddRtcAccountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddRtcAccountResult::AddRtcAccountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddRtcAccountResult::~AddRtcAccountResult()
|
||||
{}
|
||||
|
||||
void AddRtcAccountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddRtcAccountResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddRtcAccountResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string AddRtcAccountResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
192
dyvmsapi/src/model/BatchRobotSmartCallRequest.cc
Normal file
192
dyvmsapi/src/model/BatchRobotSmartCallRequest.cc
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/BatchRobotSmartCallRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::BatchRobotSmartCallRequest;
|
||||
|
||||
BatchRobotSmartCallRequest::BatchRobotSmartCallRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "BatchRobotSmartCall")
|
||||
{}
|
||||
|
||||
BatchRobotSmartCallRequest::~BatchRobotSmartCallRequest()
|
||||
{}
|
||||
|
||||
long BatchRobotSmartCallRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getEarlyMediaAsr()const
|
||||
{
|
||||
return earlyMediaAsr_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setEarlyMediaAsr(bool earlyMediaAsr)
|
||||
{
|
||||
earlyMediaAsr_ = earlyMediaAsr;
|
||||
setCoreParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTtsParamHead()const
|
||||
{
|
||||
return ttsParamHead_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setTtsParamHead(const std::string& ttsParamHead)
|
||||
{
|
||||
ttsParamHead_ = ttsParamHead;
|
||||
setCoreParameter("TtsParamHead", ttsParamHead);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTaskName()const
|
||||
{
|
||||
return taskName_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTtsParam()const
|
||||
{
|
||||
return ttsParam_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
long BatchRobotSmartCallRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getDialogId()const
|
||||
{
|
||||
return dialogId_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setDialogId(const std::string& dialogId)
|
||||
{
|
||||
dialogId_ = dialogId;
|
||||
setCoreParameter("DialogId", dialogId);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCalledNumber()const
|
||||
{
|
||||
return calledNumber_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
long BatchRobotSmartCallRequest::getScheduleTime()const
|
||||
{
|
||||
return scheduleTime_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setScheduleTime(long scheduleTime)
|
||||
{
|
||||
scheduleTime_ = scheduleTime;
|
||||
setCoreParameter("ScheduleTime", std::to_string(scheduleTime));
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCalledShowNumber()const
|
||||
{
|
||||
return calledShowNumber_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCorpName()const
|
||||
{
|
||||
return corpName_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setCorpName(const std::string& corpName)
|
||||
{
|
||||
corpName_ = corpName;
|
||||
setCoreParameter("CorpName", corpName);
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getScheduleCall()const
|
||||
{
|
||||
return scheduleCall_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setScheduleCall(bool scheduleCall)
|
||||
{
|
||||
scheduleCall_ = scheduleCall;
|
||||
setCoreParameter("ScheduleCall", scheduleCall ? "true" : "false");
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getIsSelfLine()const
|
||||
{
|
||||
return isSelfLine_;
|
||||
}
|
||||
|
||||
void BatchRobotSmartCallRequest::setIsSelfLine(bool isSelfLine)
|
||||
{
|
||||
isSelfLine_ = isSelfLine;
|
||||
setCoreParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/BatchRobotSmartCallResult.cc
Normal file
69
dyvmsapi/src/model/BatchRobotSmartCallResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/BatchRobotSmartCallResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
BatchRobotSmartCallResult::BatchRobotSmartCallResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchRobotSmartCallResult::BatchRobotSmartCallResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchRobotSmartCallResult::~BatchRobotSmartCallResult()
|
||||
{}
|
||||
|
||||
void BatchRobotSmartCallResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CancelCallRequest::getCallId()const
|
||||
void CancelCallRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setParameter("CallId", callId);
|
||||
setCoreParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long CancelCallRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long CancelCallRequest::getResourceOwnerId()const
|
||||
void CancelCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelCallRequest::getResourceOwnerAccount()const
|
||||
@@ -55,7 +55,7 @@ std::string CancelCallRequest::getResourceOwnerAccount()const
|
||||
void CancelCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelCallRequest::getOwnerId()const
|
||||
@@ -66,7 +66,7 @@ long CancelCallRequest::getOwnerId()const
|
||||
void CancelCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelCallRequest::getAccessKeyId()const
|
||||
@@ -77,6 +77,6 @@ std::string CancelCallRequest::getAccessKeyId()const
|
||||
void CancelCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CancelCallResult::~CancelCallResult()
|
||||
|
||||
void CancelCallResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
|
||||
82
dyvmsapi/src/model/CancelOrderRobotTaskRequest.cc
Normal file
82
dyvmsapi/src/model/CancelOrderRobotTaskRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CancelOrderRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::CancelOrderRobotTaskRequest;
|
||||
|
||||
CancelOrderRobotTaskRequest::CancelOrderRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "CancelOrderRobotTask")
|
||||
{}
|
||||
|
||||
CancelOrderRobotTaskRequest::~CancelOrderRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long CancelOrderRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CancelOrderRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelOrderRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelOrderRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelOrderRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long CancelOrderRobotTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void CancelOrderRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelOrderRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/CancelOrderRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/CancelOrderRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CancelOrderRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
CancelOrderRobotTaskResult::CancelOrderRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelOrderRobotTaskResult::CancelOrderRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelOrderRobotTaskResult::~CancelOrderRobotTaskResult()
|
||||
{}
|
||||
|
||||
void CancelOrderRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 CancelOrderRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
82
dyvmsapi/src/model/CancelRobotTaskRequest.cc
Normal file
82
dyvmsapi/src/model/CancelRobotTaskRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CancelRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::CancelRobotTaskRequest;
|
||||
|
||||
CancelRobotTaskRequest::CancelRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "CancelRobotTask")
|
||||
{}
|
||||
|
||||
CancelRobotTaskRequest::~CancelRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long CancelRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CancelRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long CancelRobotTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void CancelRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/CancelRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/CancelRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CancelRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
CancelRobotTaskResult::CancelRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelRobotTaskResult::CancelRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelRobotTaskResult::~CancelRobotTaskResult()
|
||||
{}
|
||||
|
||||
void CancelRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 CancelRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ long ClickToDialRequest::getResourceOwnerId()const
|
||||
void ClickToDialRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getResourceOwnerAccount()const
|
||||
@@ -44,7 +44,7 @@ std::string ClickToDialRequest::getResourceOwnerAccount()const
|
||||
void ClickToDialRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool ClickToDialRequest::getRecordFlag()const
|
||||
@@ -55,7 +55,7 @@ bool ClickToDialRequest::getRecordFlag()const
|
||||
void ClickToDialRequest::setRecordFlag(bool recordFlag)
|
||||
{
|
||||
recordFlag_ = recordFlag;
|
||||
setParameter("RecordFlag", std::to_string(recordFlag));
|
||||
setCoreParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
long ClickToDialRequest::getOwnerId()const
|
||||
@@ -66,7 +66,7 @@ long ClickToDialRequest::getOwnerId()const
|
||||
void ClickToDialRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCallerShowNumber()const
|
||||
@@ -77,7 +77,7 @@ std::string ClickToDialRequest::getCallerShowNumber()const
|
||||
void ClickToDialRequest::setCallerShowNumber(const std::string& callerShowNumber)
|
||||
{
|
||||
callerShowNumber_ = callerShowNumber;
|
||||
setParameter("CallerShowNumber", callerShowNumber);
|
||||
setCoreParameter("CallerShowNumber", callerShowNumber);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getAccessKeyId()const
|
||||
@@ -88,7 +88,7 @@ std::string ClickToDialRequest::getAccessKeyId()const
|
||||
void ClickToDialRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int ClickToDialRequest::getSessionTimeout()const
|
||||
@@ -99,7 +99,7 @@ int ClickToDialRequest::getSessionTimeout()const
|
||||
void ClickToDialRequest::setSessionTimeout(int sessionTimeout)
|
||||
{
|
||||
sessionTimeout_ = sessionTimeout;
|
||||
setParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
setCoreParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCalledNumber()const
|
||||
@@ -110,7 +110,7 @@ std::string ClickToDialRequest::getCalledNumber()const
|
||||
void ClickToDialRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCalledShowNumber()const
|
||||
@@ -121,7 +121,7 @@ std::string ClickToDialRequest::getCalledShowNumber()const
|
||||
void ClickToDialRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getOutId()const
|
||||
@@ -132,7 +132,7 @@ std::string ClickToDialRequest::getOutId()const
|
||||
void ClickToDialRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
setCoreParameter("OutId", outId);
|
||||
}
|
||||
|
||||
bool ClickToDialRequest::getAsrFlag()const
|
||||
@@ -143,7 +143,7 @@ bool ClickToDialRequest::getAsrFlag()const
|
||||
void ClickToDialRequest::setAsrFlag(bool asrFlag)
|
||||
{
|
||||
asrFlag_ = asrFlag;
|
||||
setParameter("AsrFlag", std::to_string(asrFlag));
|
||||
setCoreParameter("AsrFlag", asrFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getAsrModelId()const
|
||||
@@ -154,7 +154,7 @@ std::string ClickToDialRequest::getAsrModelId()const
|
||||
void ClickToDialRequest::setAsrModelId(const std::string& asrModelId)
|
||||
{
|
||||
asrModelId_ = asrModelId;
|
||||
setParameter("AsrModelId", asrModelId);
|
||||
setCoreParameter("AsrModelId", asrModelId);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCallerNumber()const
|
||||
@@ -165,6 +165,6 @@ std::string ClickToDialRequest::getCallerNumber()const
|
||||
void ClickToDialRequest::setCallerNumber(const std::string& callerNumber)
|
||||
{
|
||||
callerNumber_ = callerNumber;
|
||||
setParameter("CallerNumber", callerNumber);
|
||||
setCoreParameter("CallerNumber", callerNumber);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ClickToDialResult::~ClickToDialResult()
|
||||
|
||||
void ClickToDialResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CallId"].isNull())
|
||||
callId_ = value["CallId"].asString();
|
||||
|
||||
181
dyvmsapi/src/model/CreateRobotTaskRequest.cc
Normal file
181
dyvmsapi/src/model/CreateRobotTaskRequest.cc
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/CreateRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::CreateRobotTaskRequest;
|
||||
|
||||
CreateRobotTaskRequest::CreateRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "CreateRobotTask")
|
||||
{}
|
||||
|
||||
CreateRobotTaskRequest::~CreateRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long CreateRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getRecallStateCodes()const
|
||||
{
|
||||
return recallStateCodes_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setRecallStateCodes(const std::string& recallStateCodes)
|
||||
{
|
||||
recallStateCodes_ = recallStateCodes;
|
||||
setCoreParameter("RecallStateCodes", recallStateCodes);
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getTaskName()const
|
||||
{
|
||||
return taskName_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRetryType()const
|
||||
{
|
||||
return retryType_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setRetryType(int retryType)
|
||||
{
|
||||
retryType_ = retryType;
|
||||
setCoreParameter("RetryType", std::to_string(retryType));
|
||||
}
|
||||
|
||||
long CreateRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long CreateRobotTaskRequest::getDialogId()const
|
||||
{
|
||||
return dialogId_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setDialogId(long dialogId)
|
||||
{
|
||||
dialogId_ = dialogId;
|
||||
setCoreParameter("DialogId", std::to_string(dialogId));
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRecallTimes()const
|
||||
{
|
||||
return recallTimes_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setRecallTimes(int recallTimes)
|
||||
{
|
||||
recallTimes_ = recallTimes;
|
||||
setCoreParameter("RecallTimes", std::to_string(recallTimes));
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getCaller()const
|
||||
{
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setCaller(const std::string& caller)
|
||||
{
|
||||
caller_ = caller;
|
||||
setCoreParameter("Caller", caller);
|
||||
}
|
||||
|
||||
bool CreateRobotTaskRequest::getNumberStatusIdent()const
|
||||
{
|
||||
return numberStatusIdent_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setNumberStatusIdent(bool numberStatusIdent)
|
||||
{
|
||||
numberStatusIdent_ = numberStatusIdent;
|
||||
setCoreParameter("NumberStatusIdent", numberStatusIdent ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getCorpName()const
|
||||
{
|
||||
return corpName_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setCorpName(const std::string& corpName)
|
||||
{
|
||||
corpName_ = corpName;
|
||||
setCoreParameter("CorpName", corpName);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRecallInterval()const
|
||||
{
|
||||
return recallInterval_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setRecallInterval(int recallInterval)
|
||||
{
|
||||
recallInterval_ = recallInterval;
|
||||
setCoreParameter("RecallInterval", std::to_string(recallInterval));
|
||||
}
|
||||
|
||||
bool CreateRobotTaskRequest::getIsSelfLine()const
|
||||
{
|
||||
return isSelfLine_;
|
||||
}
|
||||
|
||||
void CreateRobotTaskRequest::setIsSelfLine(bool isSelfLine)
|
||||
{
|
||||
isSelfLine_ = isSelfLine;
|
||||
setCoreParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/CreateRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/CreateRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/CreateRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
CreateRobotTaskResult::CreateRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateRobotTaskResult::CreateRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateRobotTaskResult::~CreateRobotTaskResult()
|
||||
{}
|
||||
|
||||
void CreateRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 CreateRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
82
dyvmsapi/src/model/DeleteRobotTaskRequest.cc
Normal file
82
dyvmsapi/src/model/DeleteRobotTaskRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DeleteRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::DeleteRobotTaskRequest;
|
||||
|
||||
DeleteRobotTaskRequest::DeleteRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "DeleteRobotTask")
|
||||
{}
|
||||
|
||||
DeleteRobotTaskRequest::~DeleteRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long DeleteRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long DeleteRobotTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DeleteRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/DeleteRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/DeleteRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DeleteRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
DeleteRobotTaskResult::DeleteRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteRobotTaskResult::DeleteRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteRobotTaskResult::~DeleteRobotTaskResult()
|
||||
{}
|
||||
|
||||
void DeleteRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 DeleteRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
104
dyvmsapi/src/model/GetRtcTokenRequest.cc
Normal file
104
dyvmsapi/src/model/GetRtcTokenRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/GetRtcTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::GetRtcTokenRequest;
|
||||
|
||||
GetRtcTokenRequest::GetRtcTokenRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "GetRtcToken")
|
||||
{}
|
||||
|
||||
GetRtcTokenRequest::~GetRtcTokenRequest()
|
||||
{}
|
||||
|
||||
long GetRtcTokenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetRtcTokenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
bool GetRtcTokenRequest::getIsCustomAccount()const
|
||||
{
|
||||
return isCustomAccount_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setIsCustomAccount(bool isCustomAccount)
|
||||
{
|
||||
isCustomAccount_ = isCustomAccount;
|
||||
setCoreParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetRtcTokenRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/GetRtcTokenResult.cc
Normal file
69
dyvmsapi/src/model/GetRtcTokenResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/GetRtcTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
GetRtcTokenResult::GetRtcTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetRtcTokenResult::GetRtcTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetRtcTokenResult::~GetRtcTokenResult()
|
||||
{}
|
||||
|
||||
void GetRtcTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetRtcTokenResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetRtcTokenResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string GetRtcTokenResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string IvrCallRequest::getByeCode()const
|
||||
void IvrCallRequest::setByeCode(const std::string& byeCode)
|
||||
{
|
||||
byeCode_ = byeCode;
|
||||
setParameter("ByeCode", byeCode);
|
||||
setCoreParameter("ByeCode", byeCode);
|
||||
}
|
||||
|
||||
std::vector<IvrCallRequest::MenuKeyMap> IvrCallRequest::getMenuKeyMap()const
|
||||
@@ -48,9 +48,9 @@ void IvrCallRequest::setMenuKeyMap(const std::vector<MenuKeyMap>& menuKeyMap)
|
||||
for(int i = 0; i!= menuKeyMap.size(); i++) {
|
||||
auto obj = menuKeyMap.at(i);
|
||||
std::string str ="MenuKeyMap."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Code", obj.code);
|
||||
setParameter(str + ".TtsParams", obj.ttsParams);
|
||||
setCoreParameter(str + ".Code", obj.code);
|
||||
setCoreParameter(str + ".TtsParams", obj.ttsParams);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ long IvrCallRequest::getResourceOwnerId()const
|
||||
void IvrCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getResourceOwnerAccount()const
|
||||
@@ -73,7 +73,7 @@ std::string IvrCallRequest::getResourceOwnerAccount()const
|
||||
void IvrCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getStartTtsParams()const
|
||||
@@ -84,7 +84,7 @@ std::string IvrCallRequest::getStartTtsParams()const
|
||||
void IvrCallRequest::setStartTtsParams(const std::string& startTtsParams)
|
||||
{
|
||||
startTtsParams_ = startTtsParams;
|
||||
setParameter("StartTtsParams", startTtsParams);
|
||||
setCoreParameter("StartTtsParams", startTtsParams);
|
||||
}
|
||||
|
||||
long IvrCallRequest::getPlayTimes()const
|
||||
@@ -95,7 +95,7 @@ long IvrCallRequest::getPlayTimes()const
|
||||
void IvrCallRequest::setPlayTimes(long playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
long IvrCallRequest::getOwnerId()const
|
||||
@@ -106,7 +106,7 @@ long IvrCallRequest::getOwnerId()const
|
||||
void IvrCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int IvrCallRequest::getTimeout()const
|
||||
@@ -117,7 +117,7 @@ int IvrCallRequest::getTimeout()const
|
||||
void IvrCallRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
setCoreParameter("Timeout", std::to_string(timeout));
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getAccessKeyId()const
|
||||
@@ -128,7 +128,7 @@ std::string IvrCallRequest::getAccessKeyId()const
|
||||
void IvrCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getStartCode()const
|
||||
@@ -139,7 +139,7 @@ std::string IvrCallRequest::getStartCode()const
|
||||
void IvrCallRequest::setStartCode(const std::string& startCode)
|
||||
{
|
||||
startCode_ = startCode;
|
||||
setParameter("StartCode", startCode);
|
||||
setCoreParameter("StartCode", startCode);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getCalledNumber()const
|
||||
@@ -150,7 +150,7 @@ std::string IvrCallRequest::getCalledNumber()const
|
||||
void IvrCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getCalledShowNumber()const
|
||||
@@ -161,7 +161,7 @@ std::string IvrCallRequest::getCalledShowNumber()const
|
||||
void IvrCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getOutId()const
|
||||
@@ -172,7 +172,7 @@ std::string IvrCallRequest::getOutId()const
|
||||
void IvrCallRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
setCoreParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getByeTtsParams()const
|
||||
@@ -183,6 +183,6 @@ std::string IvrCallRequest::getByeTtsParams()const
|
||||
void IvrCallRequest::setByeTtsParams(const std::string& byeTtsParams)
|
||||
{
|
||||
byeTtsParams_ = byeTtsParams;
|
||||
setParameter("ByeTtsParams", byeTtsParams);
|
||||
setCoreParameter("ByeTtsParams", byeTtsParams);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ IvrCallResult::~IvrCallResult()
|
||||
|
||||
void IvrCallResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CallId"].isNull())
|
||||
callId_ = value["CallId"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string QueryCallDetailByCallIdRequest::getCallId()const
|
||||
void QueryCallDetailByCallIdRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setParameter("CallId", callId);
|
||||
setCoreParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long QueryCallDetailByCallIdRequest::getResourceOwnerId()const
|
||||
void QueryCallDetailByCallIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getQueryDate()const
|
||||
@@ -55,7 +55,7 @@ long QueryCallDetailByCallIdRequest::getQueryDate()const
|
||||
void QueryCallDetailByCallIdRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setParameter("QueryDate", std::to_string(queryDate));
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByCallIdRequest::getResourceOwnerAccount()const
|
||||
@@ -66,7 +66,7 @@ std::string QueryCallDetailByCallIdRequest::getResourceOwnerAccount()const
|
||||
void QueryCallDetailByCallIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getProdId()const
|
||||
@@ -77,7 +77,7 @@ long QueryCallDetailByCallIdRequest::getProdId()const
|
||||
void QueryCallDetailByCallIdRequest::setProdId(long prodId)
|
||||
{
|
||||
prodId_ = prodId;
|
||||
setParameter("ProdId", std::to_string(prodId));
|
||||
setCoreParameter("ProdId", std::to_string(prodId));
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long QueryCallDetailByCallIdRequest::getOwnerId()const
|
||||
void QueryCallDetailByCallIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByCallIdRequest::getAccessKeyId()const
|
||||
@@ -99,6 +99,6 @@ std::string QueryCallDetailByCallIdRequest::getAccessKeyId()const
|
||||
void QueryCallDetailByCallIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ QueryCallDetailByCallIdResult::~QueryCallDetailByCallIdResult()
|
||||
|
||||
void QueryCallDetailByCallIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
104
dyvmsapi/src/model/QueryCallDetailByTaskIdRequest.cc
Normal file
104
dyvmsapi/src/model/QueryCallDetailByTaskIdRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryCallDetailByTaskIdRequest;
|
||||
|
||||
QueryCallDetailByTaskIdRequest::QueryCallDetailByTaskIdRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryCallDetailByTaskId")
|
||||
{}
|
||||
|
||||
QueryCallDetailByTaskIdRequest::~QueryCallDetailByTaskIdRequest()
|
||||
{}
|
||||
|
||||
long QueryCallDetailByTaskIdRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long QueryCallDetailByTaskIdRequest::getQueryDate()const
|
||||
{
|
||||
return queryDate_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getCallee()const
|
||||
{
|
||||
return callee_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setCoreParameter("Callee", callee);
|
||||
}
|
||||
|
||||
long QueryCallDetailByTaskIdRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryCallDetailByTaskIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryCallDetailByTaskIdResult.cc
Normal file
69
dyvmsapi/src/model/QueryCallDetailByTaskIdResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryCallDetailByTaskIdResult::QueryCallDetailByTaskIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryCallDetailByTaskIdResult::QueryCallDetailByTaskIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryCallDetailByTaskIdResult::~QueryCallDetailByTaskIdResult()
|
||||
{}
|
||||
|
||||
void QueryCallDetailByTaskIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryCallDetailByTaskIdResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
82
dyvmsapi/src/model/QueryRobotInfoListRequest.cc
Normal file
82
dyvmsapi/src/model/QueryRobotInfoListRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotInfoListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotInfoListRequest;
|
||||
|
||||
QueryRobotInfoListRequest::QueryRobotInfoListRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotInfoList")
|
||||
{}
|
||||
|
||||
QueryRobotInfoListRequest::~QueryRobotInfoListRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotInfoListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotInfoListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
void QueryRobotInfoListRequest::setAuditStatus(const std::string& auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setCoreParameter("AuditStatus", auditStatus);
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotInfoListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotInfoListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotInfoListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotInfoListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotInfoListResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotInfoListResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotInfoListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotInfoListResult::QueryRobotInfoListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotInfoListResult::QueryRobotInfoListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotInfoListResult::~QueryRobotInfoListResult()
|
||||
{}
|
||||
|
||||
void QueryRobotInfoListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotInfoListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
104
dyvmsapi/src/model/QueryRobotTaskCallDetailRequest.cc
Normal file
104
dyvmsapi/src/model/QueryRobotTaskCallDetailRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskCallDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotTaskCallDetailRequest;
|
||||
|
||||
QueryRobotTaskCallDetailRequest::QueryRobotTaskCallDetailRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotTaskCallDetail")
|
||||
{}
|
||||
|
||||
QueryRobotTaskCallDetailRequest::~QueryRobotTaskCallDetailRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getQueryDate()const
|
||||
{
|
||||
return queryDate_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getCallee()const
|
||||
{
|
||||
return callee_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setCoreParameter("Callee", callee);
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotTaskCallDetailResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotTaskCallDetailResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskCallDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotTaskCallDetailResult::QueryRobotTaskCallDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotTaskCallDetailResult::QueryRobotTaskCallDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotTaskCallDetailResult::~QueryRobotTaskCallDetailResult()
|
||||
{}
|
||||
|
||||
void QueryRobotTaskCallDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotTaskCallDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
181
dyvmsapi/src/model/QueryRobotTaskCallListRequest.cc
Normal file
181
dyvmsapi/src/model/QueryRobotTaskCallListRequest.cc
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/QueryRobotTaskCallListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotTaskCallListRequest;
|
||||
|
||||
QueryRobotTaskCallListRequest::QueryRobotTaskCallListRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotTaskCallList")
|
||||
{}
|
||||
|
||||
QueryRobotTaskCallListRequest::~QueryRobotTaskCallListRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotTaskCallListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getCalled()const
|
||||
{
|
||||
return called_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setCalled(const std::string& called)
|
||||
{
|
||||
called_ = called;
|
||||
setCoreParameter("Called", called);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDialogCountFrom()const
|
||||
{
|
||||
return dialogCountFrom_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setDialogCountFrom(const std::string& dialogCountFrom)
|
||||
{
|
||||
dialogCountFrom_ = dialogCountFrom;
|
||||
setCoreParameter("DialogCountFrom", dialogCountFrom);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDurationTo()const
|
||||
{
|
||||
return durationTo_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setDurationTo(const std::string& durationTo)
|
||||
{
|
||||
durationTo_ = durationTo;
|
||||
setCoreParameter("DurationTo", durationTo);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getHangupDirection()const
|
||||
{
|
||||
return hangupDirection_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setHangupDirection(const std::string& hangupDirection)
|
||||
{
|
||||
hangupDirection_ = hangupDirection;
|
||||
setCoreParameter("HangupDirection", hangupDirection);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDialogCountTo()const
|
||||
{
|
||||
return dialogCountTo_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setDialogCountTo(const std::string& dialogCountTo)
|
||||
{
|
||||
dialogCountTo_ = dialogCountTo;
|
||||
setCoreParameter("DialogCountTo", dialogCountTo);
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDurationFrom()const
|
||||
{
|
||||
return durationFrom_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setDurationFrom(const std::string& durationFrom)
|
||||
{
|
||||
durationFrom_ = durationFrom;
|
||||
setCoreParameter("DurationFrom", durationFrom);
|
||||
}
|
||||
|
||||
int QueryRobotTaskCallListRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setPageNo(int pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
int QueryRobotTaskCallListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getCallResult()const
|
||||
{
|
||||
return callResult_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setCallResult(const std::string& callResult)
|
||||
{
|
||||
callResult_ = callResult;
|
||||
setCoreParameter("CallResult", callResult);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskCallListRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotTaskCallListResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotTaskCallListResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskCallListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotTaskCallListResult::QueryRobotTaskCallListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotTaskCallListResult::QueryRobotTaskCallListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotTaskCallListResult::~QueryRobotTaskCallListResult()
|
||||
{}
|
||||
|
||||
void QueryRobotTaskCallListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotTaskCallListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
82
dyvmsapi/src/model/QueryRobotTaskDetailRequest.cc
Normal file
82
dyvmsapi/src/model/QueryRobotTaskDetailRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotTaskDetailRequest;
|
||||
|
||||
QueryRobotTaskDetailRequest::QueryRobotTaskDetailRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotTaskDetail")
|
||||
{}
|
||||
|
||||
QueryRobotTaskDetailRequest::~QueryRobotTaskDetailRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotTaskDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotTaskDetailRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskDetailRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
long QueryRobotTaskDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotTaskDetailResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotTaskDetailResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotTaskDetailResult::QueryRobotTaskDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotTaskDetailResult::QueryRobotTaskDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotTaskDetailResult::~QueryRobotTaskDetailResult()
|
||||
{}
|
||||
|
||||
void QueryRobotTaskDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotTaskDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
126
dyvmsapi/src/model/QueryRobotTaskListRequest.cc
Normal file
126
dyvmsapi/src/model/QueryRobotTaskListRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/QueryRobotTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotTaskListRequest;
|
||||
|
||||
QueryRobotTaskListRequest::QueryRobotTaskListRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotTaskList")
|
||||
{}
|
||||
|
||||
QueryRobotTaskListRequest::~QueryRobotTaskListRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotTaskListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int QueryRobotTaskListRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setPageNo(int pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
int QueryRobotTaskListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getTaskName()const
|
||||
{
|
||||
return taskName_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getTime()const
|
||||
{
|
||||
return time_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
}
|
||||
|
||||
long QueryRobotTaskListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void QueryRobotTaskListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotTaskListResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotTaskListResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotTaskListResult::QueryRobotTaskListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotTaskListResult::QueryRobotTaskListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotTaskListResult::~QueryRobotTaskListResult()
|
||||
{}
|
||||
|
||||
void QueryRobotTaskListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotTaskListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
71
dyvmsapi/src/model/QueryRobotv2AllListRequest.cc
Normal file
71
dyvmsapi/src/model/QueryRobotv2AllListRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotv2AllListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRobotv2AllListRequest;
|
||||
|
||||
QueryRobotv2AllListRequest::QueryRobotv2AllListRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRobotv2AllList")
|
||||
{}
|
||||
|
||||
QueryRobotv2AllListRequest::~QueryRobotv2AllListRequest()
|
||||
{}
|
||||
|
||||
long QueryRobotv2AllListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRobotv2AllListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRobotv2AllListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotv2AllListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRobotv2AllListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRobotv2AllListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/QueryRobotv2AllListResult.cc
Normal file
69
dyvmsapi/src/model/QueryRobotv2AllListResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRobotv2AllListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRobotv2AllListResult::QueryRobotv2AllListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRobotv2AllListResult::QueryRobotv2AllListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRobotv2AllListResult::~QueryRobotv2AllListResult()
|
||||
{}
|
||||
|
||||
void QueryRobotv2AllListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 QueryRobotv2AllListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ long SingleCallByTtsRequest::getResourceOwnerId()const
|
||||
void SingleCallByTtsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getResourceOwnerAccount()const
|
||||
@@ -44,7 +44,7 @@ std::string SingleCallByTtsRequest::getResourceOwnerAccount()const
|
||||
void SingleCallByTtsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getTtsCode()const
|
||||
@@ -55,7 +55,7 @@ std::string SingleCallByTtsRequest::getTtsCode()const
|
||||
void SingleCallByTtsRequest::setTtsCode(const std::string& ttsCode)
|
||||
{
|
||||
ttsCode_ = ttsCode;
|
||||
setParameter("TtsCode", ttsCode);
|
||||
setCoreParameter("TtsCode", ttsCode);
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getPlayTimes()const
|
||||
@@ -66,7 +66,7 @@ int SingleCallByTtsRequest::getPlayTimes()const
|
||||
void SingleCallByTtsRequest::setPlayTimes(int playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getTtsParam()const
|
||||
@@ -77,7 +77,7 @@ std::string SingleCallByTtsRequest::getTtsParam()const
|
||||
void SingleCallByTtsRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setParameter("TtsParam", ttsParam);
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
long SingleCallByTtsRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long SingleCallByTtsRequest::getOwnerId()const
|
||||
void SingleCallByTtsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getSpeed()const
|
||||
@@ -99,7 +99,7 @@ int SingleCallByTtsRequest::getSpeed()const
|
||||
void SingleCallByTtsRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getAccessKeyId()const
|
||||
@@ -110,7 +110,7 @@ std::string SingleCallByTtsRequest::getAccessKeyId()const
|
||||
void SingleCallByTtsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getVolume()const
|
||||
@@ -121,7 +121,7 @@ int SingleCallByTtsRequest::getVolume()const
|
||||
void SingleCallByTtsRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getCalledNumber()const
|
||||
@@ -132,7 +132,7 @@ std::string SingleCallByTtsRequest::getCalledNumber()const
|
||||
void SingleCallByTtsRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getCalledShowNumber()const
|
||||
@@ -143,7 +143,7 @@ std::string SingleCallByTtsRequest::getCalledShowNumber()const
|
||||
void SingleCallByTtsRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getOutId()const
|
||||
@@ -154,6 +154,6 @@ std::string SingleCallByTtsRequest::getOutId()const
|
||||
void SingleCallByTtsRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
setCoreParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ SingleCallByTtsResult::~SingleCallByTtsResult()
|
||||
|
||||
void SingleCallByTtsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CallId"].isNull())
|
||||
callId_ = value["CallId"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ int SingleCallByVoiceRequest::getVolume()const
|
||||
void SingleCallByVoiceRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
long SingleCallByVoiceRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long SingleCallByVoiceRequest::getResourceOwnerId()const
|
||||
void SingleCallByVoiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getResourceOwnerAccount()const
|
||||
@@ -55,7 +55,7 @@ std::string SingleCallByVoiceRequest::getResourceOwnerAccount()const
|
||||
void SingleCallByVoiceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getCalledNumber()const
|
||||
@@ -66,7 +66,7 @@ std::string SingleCallByVoiceRequest::getCalledNumber()const
|
||||
void SingleCallByVoiceRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getVoiceCode()const
|
||||
@@ -77,7 +77,7 @@ std::string SingleCallByVoiceRequest::getVoiceCode()const
|
||||
void SingleCallByVoiceRequest::setVoiceCode(const std::string& voiceCode)
|
||||
{
|
||||
voiceCode_ = voiceCode;
|
||||
setParameter("VoiceCode", voiceCode);
|
||||
setCoreParameter("VoiceCode", voiceCode);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getCalledShowNumber()const
|
||||
@@ -88,7 +88,7 @@ std::string SingleCallByVoiceRequest::getCalledShowNumber()const
|
||||
void SingleCallByVoiceRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
int SingleCallByVoiceRequest::getPlayTimes()const
|
||||
@@ -99,7 +99,7 @@ int SingleCallByVoiceRequest::getPlayTimes()const
|
||||
void SingleCallByVoiceRequest::setPlayTimes(int playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getOutId()const
|
||||
@@ -110,7 +110,7 @@ std::string SingleCallByVoiceRequest::getOutId()const
|
||||
void SingleCallByVoiceRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
setCoreParameter("OutId", outId);
|
||||
}
|
||||
|
||||
long SingleCallByVoiceRequest::getOwnerId()const
|
||||
@@ -121,7 +121,7 @@ long SingleCallByVoiceRequest::getOwnerId()const
|
||||
void SingleCallByVoiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SingleCallByVoiceRequest::getSpeed()const
|
||||
@@ -132,7 +132,7 @@ int SingleCallByVoiceRequest::getSpeed()const
|
||||
void SingleCallByVoiceRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getAccessKeyId()const
|
||||
@@ -143,6 +143,6 @@ std::string SingleCallByVoiceRequest::getAccessKeyId()const
|
||||
void SingleCallByVoiceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ SingleCallByVoiceResult::~SingleCallByVoiceResult()
|
||||
|
||||
void SingleCallByVoiceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CallId"].isNull())
|
||||
callId_ = value["CallId"].asString();
|
||||
|
||||
104
dyvmsapi/src/model/SmartCallOperateRequest.cc
Normal file
104
dyvmsapi/src/model/SmartCallOperateRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SmartCallOperateRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::SmartCallOperateRequest;
|
||||
|
||||
SmartCallOperateRequest::SmartCallOperateRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "SmartCallOperate")
|
||||
{}
|
||||
|
||||
SmartCallOperateRequest::~SmartCallOperateRequest()
|
||||
{}
|
||||
|
||||
std::string SmartCallOperateRequest::getCallId()const
|
||||
{
|
||||
return callId_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long SmartCallOperateRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getParam()const
|
||||
{
|
||||
return param_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setParam(const std::string& param)
|
||||
{
|
||||
param_ = param;
|
||||
setCoreParameter("Param", param);
|
||||
}
|
||||
|
||||
long SmartCallOperateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getCommand()const
|
||||
{
|
||||
return command_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setCommand(const std::string& command)
|
||||
{
|
||||
command_ = command;
|
||||
setCoreParameter("Command", command);
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SmartCallOperateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/SmartCallOperateResult.cc
Normal file
69
dyvmsapi/src/model/SmartCallOperateResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/SmartCallOperateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
SmartCallOperateResult::SmartCallOperateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SmartCallOperateResult::SmartCallOperateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SmartCallOperateResult::~SmartCallOperateResult()
|
||||
{}
|
||||
|
||||
void SmartCallOperateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
bool SmartCallOperateResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string SmartCallOperateResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string SmartCallOperateResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,51 +33,29 @@ long SmartCallRequest::getResourceOwnerId()const
|
||||
void SmartCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getActionCodeBreak()const
|
||||
std::string SmartCallRequest::getVoiceCodeParam()const
|
||||
{
|
||||
return actionCodeBreak_;
|
||||
return voiceCodeParam_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setActionCodeBreak(bool actionCodeBreak)
|
||||
void SmartCallRequest::setVoiceCodeParam(const std::string& voiceCodeParam)
|
||||
{
|
||||
actionCodeBreak_ = actionCodeBreak;
|
||||
setParameter("ActionCodeBreak", std::to_string(actionCodeBreak));
|
||||
voiceCodeParam_ = voiceCodeParam;
|
||||
setCoreParameter("VoiceCodeParam", voiceCodeParam);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getResourceOwnerAccount()const
|
||||
bool SmartCallRequest::getEarlyMediaAsr()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return earlyMediaAsr_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void SmartCallRequest::setEarlyMediaAsr(bool earlyMediaAsr)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getRecordFlag()const
|
||||
{
|
||||
return recordFlag_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setRecordFlag(bool recordFlag)
|
||||
{
|
||||
recordFlag_ = recordFlag;
|
||||
setParameter("RecordFlag", std::to_string(recordFlag));
|
||||
}
|
||||
|
||||
long SmartCallRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
earlyMediaAsr_ = earlyMediaAsr;
|
||||
setCoreParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
}
|
||||
|
||||
int SmartCallRequest::getSpeed()const
|
||||
@@ -88,7 +66,7 @@ int SmartCallRequest::getSpeed()const
|
||||
void SmartCallRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getAccessKeyId()const
|
||||
@@ -99,18 +77,29 @@ std::string SmartCallRequest::getAccessKeyId()const
|
||||
void SmartCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getVolume()const
|
||||
std::string SmartCallRequest::getAsrBaseId()const
|
||||
{
|
||||
return volume_;
|
||||
return asrBaseId_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setVolume(int volume)
|
||||
void SmartCallRequest::setAsrBaseId(const std::string& asrBaseId)
|
||||
{
|
||||
volume_ = volume;
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
asrBaseId_ = asrBaseId;
|
||||
setCoreParameter("AsrBaseId", asrBaseId);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getSessionTimeout()const
|
||||
{
|
||||
return sessionTimeout_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setSessionTimeout(int sessionTimeout)
|
||||
{
|
||||
sessionTimeout_ = sessionTimeout;
|
||||
setCoreParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getDynamicId()const
|
||||
@@ -121,7 +110,7 @@ std::string SmartCallRequest::getDynamicId()const
|
||||
void SmartCallRequest::setDynamicId(const std::string& dynamicId)
|
||||
{
|
||||
dynamicId_ = dynamicId;
|
||||
setParameter("DynamicId", dynamicId);
|
||||
setCoreParameter("DynamicId", dynamicId);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getCalledNumber()const
|
||||
@@ -132,7 +121,18 @@ std::string SmartCallRequest::getCalledNumber()const
|
||||
void SmartCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getTtsSpeed()const
|
||||
{
|
||||
return ttsSpeed_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setTtsSpeed(int ttsSpeed)
|
||||
{
|
||||
ttsSpeed_ = ttsSpeed;
|
||||
setCoreParameter("TtsSpeed", std::to_string(ttsSpeed));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getVoiceCode()const
|
||||
@@ -143,18 +143,7 @@ std::string SmartCallRequest::getVoiceCode()const
|
||||
void SmartCallRequest::setVoiceCode(const std::string& voiceCode)
|
||||
{
|
||||
voiceCode_ = voiceCode;
|
||||
setParameter("VoiceCode", voiceCode);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getMuteTime()const
|
||||
{
|
||||
return muteTime_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setMuteTime(int muteTime)
|
||||
{
|
||||
muteTime_ = muteTime;
|
||||
setParameter("MuteTime", std::to_string(muteTime));
|
||||
setCoreParameter("VoiceCode", voiceCode);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getCalledShowNumber()const
|
||||
@@ -165,7 +154,106 @@ std::string SmartCallRequest::getCalledShowNumber()const
|
||||
void SmartCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getActionCodeTimeBreak()const
|
||||
{
|
||||
return actionCodeTimeBreak_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setActionCodeTimeBreak(int actionCodeTimeBreak)
|
||||
{
|
||||
actionCodeTimeBreak_ = actionCodeTimeBreak;
|
||||
setCoreParameter("ActionCodeTimeBreak", std::to_string(actionCodeTimeBreak));
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getTtsConf()const
|
||||
{
|
||||
return ttsConf_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setTtsConf(bool ttsConf)
|
||||
{
|
||||
ttsConf_ = ttsConf;
|
||||
setCoreParameter("TtsConf", ttsConf ? "true" : "false");
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getActionCodeBreak()const
|
||||
{
|
||||
return actionCodeBreak_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setActionCodeBreak(bool actionCodeBreak)
|
||||
{
|
||||
actionCodeBreak_ = actionCodeBreak;
|
||||
setCoreParameter("ActionCodeBreak", actionCodeBreak ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getRecordFlag()const
|
||||
{
|
||||
return recordFlag_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setRecordFlag(bool recordFlag)
|
||||
{
|
||||
recordFlag_ = recordFlag;
|
||||
setCoreParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
long SmartCallRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getTtsVolume()const
|
||||
{
|
||||
return ttsVolume_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setTtsVolume(int ttsVolume)
|
||||
{
|
||||
ttsVolume_ = ttsVolume;
|
||||
setCoreParameter("TtsVolume", std::to_string(ttsVolume));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getVolume()const
|
||||
{
|
||||
return volume_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getMuteTime()const
|
||||
{
|
||||
return muteTime_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setMuteTime(int muteTime)
|
||||
{
|
||||
muteTime_ = muteTime;
|
||||
setCoreParameter("MuteTime", std::to_string(muteTime));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getOutId()const
|
||||
@@ -176,7 +264,7 @@ std::string SmartCallRequest::getOutId()const
|
||||
void SmartCallRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
setCoreParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getAsrModelId()const
|
||||
@@ -187,7 +275,7 @@ std::string SmartCallRequest::getAsrModelId()const
|
||||
void SmartCallRequest::setAsrModelId(const std::string& asrModelId)
|
||||
{
|
||||
asrModelId_ = asrModelId;
|
||||
setParameter("AsrModelId", asrModelId);
|
||||
setCoreParameter("AsrModelId", asrModelId);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getPauseTime()const
|
||||
@@ -198,6 +286,17 @@ int SmartCallRequest::getPauseTime()const
|
||||
void SmartCallRequest::setPauseTime(int pauseTime)
|
||||
{
|
||||
pauseTime_ = pauseTime;
|
||||
setParameter("PauseTime", std::to_string(pauseTime));
|
||||
setCoreParameter("PauseTime", std::to_string(pauseTime));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getTtsStyle()const
|
||||
{
|
||||
return ttsStyle_;
|
||||
}
|
||||
|
||||
void SmartCallRequest::setTtsStyle(const std::string& ttsStyle)
|
||||
{
|
||||
ttsStyle_ = ttsStyle;
|
||||
setCoreParameter("TtsStyle", ttsStyle);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ SmartCallResult::~SmartCallResult()
|
||||
|
||||
void SmartCallResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CallId"].isNull())
|
||||
callId_ = value["CallId"].asString();
|
||||
|
||||
93
dyvmsapi/src/model/StartRobotTaskRequest.cc
Normal file
93
dyvmsapi/src/model/StartRobotTaskRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StartRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::StartRobotTaskRequest;
|
||||
|
||||
StartRobotTaskRequest::StartRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "StartRobotTask")
|
||||
{}
|
||||
|
||||
StartRobotTaskRequest::~StartRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long StartRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getScheduleTime()const
|
||||
{
|
||||
return scheduleTime_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setScheduleTime(const std::string& scheduleTime)
|
||||
{
|
||||
scheduleTime_ = scheduleTime;
|
||||
setCoreParameter("ScheduleTime", scheduleTime);
|
||||
}
|
||||
|
||||
long StartRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long StartRobotTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/StartRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/StartRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StartRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
StartRobotTaskResult::StartRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartRobotTaskResult::StartRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartRobotTaskResult::~StartRobotTaskResult()
|
||||
{}
|
||||
|
||||
void StartRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 StartRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string StartRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string StartRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
82
dyvmsapi/src/model/StopRobotTaskRequest.cc
Normal file
82
dyvmsapi/src/model/StopRobotTaskRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StopRobotTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::StopRobotTaskRequest;
|
||||
|
||||
StopRobotTaskRequest::StopRobotTaskRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "StopRobotTask")
|
||||
{}
|
||||
|
||||
StopRobotTaskRequest::~StopRobotTaskRequest()
|
||||
{}
|
||||
|
||||
long StopRobotTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void StopRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string StopRobotTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void StopRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long StopRobotTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StopRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long StopRobotTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void StopRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string StopRobotTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StopRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/StopRobotTaskResult.cc
Normal file
69
dyvmsapi/src/model/StopRobotTaskResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StopRobotTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
StopRobotTaskResult::StopRobotTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopRobotTaskResult::StopRobotTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopRobotTaskResult::~StopRobotTaskResult()
|
||||
{}
|
||||
|
||||
void StopRobotTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 StopRobotTaskResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string StopRobotTaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string StopRobotTaskResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
115
dyvmsapi/src/model/UploadRobotTaskCalledFileRequest.cc
Normal file
115
dyvmsapi/src/model/UploadRobotTaskCalledFileRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/UploadRobotTaskCalledFileRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::UploadRobotTaskCalledFileRequest;
|
||||
|
||||
UploadRobotTaskCalledFileRequest::UploadRobotTaskCalledFileRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "UploadRobotTaskCalledFile")
|
||||
{}
|
||||
|
||||
UploadRobotTaskCalledFileRequest::~UploadRobotTaskCalledFileRequest()
|
||||
{}
|
||||
|
||||
long UploadRobotTaskCalledFileRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getCalledNumber()const
|
||||
{
|
||||
return calledNumber_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getTtsParamHead()const
|
||||
{
|
||||
return ttsParamHead_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setTtsParamHead(const std::string& ttsParamHead)
|
||||
{
|
||||
ttsParamHead_ = ttsParamHead;
|
||||
setCoreParameter("TtsParamHead", ttsParamHead);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getTtsParam()const
|
||||
{
|
||||
return ttsParam_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
long UploadRobotTaskCalledFileRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
long UploadRobotTaskCalledFileRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UploadRobotTaskCalledFileRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
69
dyvmsapi/src/model/UploadRobotTaskCalledFileResult.cc
Normal file
69
dyvmsapi/src/model/UploadRobotTaskCalledFileResult.cc
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/UploadRobotTaskCalledFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
UploadRobotTaskCalledFileResult::UploadRobotTaskCalledFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UploadRobotTaskCalledFileResult::UploadRobotTaskCalledFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UploadRobotTaskCalledFileResult::~UploadRobotTaskCalledFileResult()
|
||||
{}
|
||||
|
||||
void UploadRobotTaskCalledFileResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
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 UploadRobotTaskCalledFileResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ long VoipAddAccountRequest::getResourceOwnerId()const
|
||||
void VoipAddAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getResourceOwnerAccount()const
|
||||
@@ -44,7 +44,7 @@ std::string VoipAddAccountRequest::getResourceOwnerAccount()const
|
||||
void VoipAddAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long VoipAddAccountRequest::getOwnerId()const
|
||||
@@ -55,7 +55,7 @@ long VoipAddAccountRequest::getOwnerId()const
|
||||
void VoipAddAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getDeviceId()const
|
||||
@@ -66,7 +66,7 @@ std::string VoipAddAccountRequest::getDeviceId()const
|
||||
void VoipAddAccountRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getAccessKeyId()const
|
||||
@@ -77,6 +77,6 @@ std::string VoipAddAccountRequest::getAccessKeyId()const
|
||||
void VoipAddAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ VoipAddAccountResult::~VoipAddAccountResult()
|
||||
|
||||
void VoipAddAccountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ long VoipGetTokenRequest::getResourceOwnerId()const
|
||||
void VoipGetTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getVoipId()const
|
||||
@@ -44,7 +44,7 @@ std::string VoipGetTokenRequest::getVoipId()const
|
||||
void VoipGetTokenRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setParameter("VoipId", voipId);
|
||||
setCoreParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getResourceOwnerAccount()const
|
||||
@@ -55,7 +55,7 @@ std::string VoipGetTokenRequest::getResourceOwnerAccount()const
|
||||
void VoipGetTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long VoipGetTokenRequest::getOwnerId()const
|
||||
@@ -66,7 +66,7 @@ long VoipGetTokenRequest::getOwnerId()const
|
||||
void VoipGetTokenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getDeviceId()const
|
||||
@@ -77,7 +77,18 @@ std::string VoipGetTokenRequest::getDeviceId()const
|
||||
void VoipGetTokenRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
bool VoipGetTokenRequest::getIsCustomAccount()const
|
||||
{
|
||||
return isCustomAccount_;
|
||||
}
|
||||
|
||||
void VoipGetTokenRequest::setIsCustomAccount(bool isCustomAccount)
|
||||
{
|
||||
isCustomAccount_ = isCustomAccount;
|
||||
setCoreParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getAccessKeyId()const
|
||||
@@ -88,6 +99,6 @@ std::string VoipGetTokenRequest::getAccessKeyId()const
|
||||
void VoipGetTokenRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ VoipGetTokenResult::~VoipGetTokenResult()
|
||||
|
||||
void VoipGetTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
Reference in New Issue
Block a user