regenerate code
This commit is contained in:
@@ -39,10 +39,18 @@ set(dyvmsapi_public_header_model
|
||||
include/alibabacloud/dyvmsapi/model/CreateRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/DeleteRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/DeleteRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/DescribeRecordDataRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/DescribeRecordDataResult.h
|
||||
include/alibabacloud/dyvmsapi/model/DoRtcNumberAuthRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/DoRtcNumberAuthResult.h
|
||||
include/alibabacloud/dyvmsapi/model/GetRtcTokenRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/GetRtcTokenResult.h
|
||||
include/alibabacloud/dyvmsapi/model/IvrCallRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/IvrCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/ListOrderedNumbersRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/ListOrderedNumbersResult.h
|
||||
include/alibabacloud/dyvmsapi/model/ListOutboundStrategiesRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/ListOutboundStrategiesResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByCallIdResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryCallDetailByTaskIdRequest.h
|
||||
@@ -59,6 +67,8 @@ set(dyvmsapi_public_header_model
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotTaskListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotv2AllListRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRobotv2AllListResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusResult.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryVoipNumberBindInfosRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/QueryVoipNumberBindInfosResult.h
|
||||
include/alibabacloud/dyvmsapi/model/ReportVoipProblemsRequest.h
|
||||
@@ -71,12 +81,16 @@ set(dyvmsapi_public_header_model
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallResult.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallOperateRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/SmartCallOperateResult.h
|
||||
include/alibabacloud/dyvmsapi/model/StartMicroOutboundRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/StartMicroOutboundResult.h
|
||||
include/alibabacloud/dyvmsapi/model/StartRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/StartRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/StopRobotTaskRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/StopRobotTaskResult.h
|
||||
include/alibabacloud/dyvmsapi/model/UnbindNumberAndVoipIdRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/UnbindNumberAndVoipIdResult.h
|
||||
include/alibabacloud/dyvmsapi/model/UndoRtcNumberAuthRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/UndoRtcNumberAuthResult.h
|
||||
include/alibabacloud/dyvmsapi/model/UploadRobotTaskCalledFileRequest.h
|
||||
include/alibabacloud/dyvmsapi/model/UploadRobotTaskCalledFileResult.h
|
||||
include/alibabacloud/dyvmsapi/model/VoipAddAccountRequest.h
|
||||
@@ -104,10 +118,18 @@ set(dyvmsapi_src
|
||||
src/model/CreateRobotTaskResult.cc
|
||||
src/model/DeleteRobotTaskRequest.cc
|
||||
src/model/DeleteRobotTaskResult.cc
|
||||
src/model/DescribeRecordDataRequest.cc
|
||||
src/model/DescribeRecordDataResult.cc
|
||||
src/model/DoRtcNumberAuthRequest.cc
|
||||
src/model/DoRtcNumberAuthResult.cc
|
||||
src/model/GetRtcTokenRequest.cc
|
||||
src/model/GetRtcTokenResult.cc
|
||||
src/model/IvrCallRequest.cc
|
||||
src/model/IvrCallResult.cc
|
||||
src/model/ListOrderedNumbersRequest.cc
|
||||
src/model/ListOrderedNumbersResult.cc
|
||||
src/model/ListOutboundStrategiesRequest.cc
|
||||
src/model/ListOutboundStrategiesResult.cc
|
||||
src/model/QueryCallDetailByCallIdRequest.cc
|
||||
src/model/QueryCallDetailByCallIdResult.cc
|
||||
src/model/QueryCallDetailByTaskIdRequest.cc
|
||||
@@ -124,6 +146,8 @@ set(dyvmsapi_src
|
||||
src/model/QueryRobotTaskListResult.cc
|
||||
src/model/QueryRobotv2AllListRequest.cc
|
||||
src/model/QueryRobotv2AllListResult.cc
|
||||
src/model/QueryRtcNumberAuthStatusRequest.cc
|
||||
src/model/QueryRtcNumberAuthStatusResult.cc
|
||||
src/model/QueryVoipNumberBindInfosRequest.cc
|
||||
src/model/QueryVoipNumberBindInfosResult.cc
|
||||
src/model/ReportVoipProblemsRequest.cc
|
||||
@@ -136,12 +160,16 @@ set(dyvmsapi_src
|
||||
src/model/SmartCallResult.cc
|
||||
src/model/SmartCallOperateRequest.cc
|
||||
src/model/SmartCallOperateResult.cc
|
||||
src/model/StartMicroOutboundRequest.cc
|
||||
src/model/StartMicroOutboundResult.cc
|
||||
src/model/StartRobotTaskRequest.cc
|
||||
src/model/StartRobotTaskResult.cc
|
||||
src/model/StopRobotTaskRequest.cc
|
||||
src/model/StopRobotTaskResult.cc
|
||||
src/model/UnbindNumberAndVoipIdRequest.cc
|
||||
src/model/UnbindNumberAndVoipIdResult.cc
|
||||
src/model/UndoRtcNumberAuthRequest.cc
|
||||
src/model/UndoRtcNumberAuthResult.cc
|
||||
src/model/UploadRobotTaskCalledFileRequest.cc
|
||||
src/model/UploadRobotTaskCalledFileResult.cc
|
||||
src/model/VoipAddAccountRequest.cc
|
||||
|
||||
@@ -40,10 +40,18 @@
|
||||
#include "model/CreateRobotTaskResult.h"
|
||||
#include "model/DeleteRobotTaskRequest.h"
|
||||
#include "model/DeleteRobotTaskResult.h"
|
||||
#include "model/DescribeRecordDataRequest.h"
|
||||
#include "model/DescribeRecordDataResult.h"
|
||||
#include "model/DoRtcNumberAuthRequest.h"
|
||||
#include "model/DoRtcNumberAuthResult.h"
|
||||
#include "model/GetRtcTokenRequest.h"
|
||||
#include "model/GetRtcTokenResult.h"
|
||||
#include "model/IvrCallRequest.h"
|
||||
#include "model/IvrCallResult.h"
|
||||
#include "model/ListOrderedNumbersRequest.h"
|
||||
#include "model/ListOrderedNumbersResult.h"
|
||||
#include "model/ListOutboundStrategiesRequest.h"
|
||||
#include "model/ListOutboundStrategiesResult.h"
|
||||
#include "model/QueryCallDetailByCallIdRequest.h"
|
||||
#include "model/QueryCallDetailByCallIdResult.h"
|
||||
#include "model/QueryCallDetailByTaskIdRequest.h"
|
||||
@@ -60,6 +68,8 @@
|
||||
#include "model/QueryRobotTaskListResult.h"
|
||||
#include "model/QueryRobotv2AllListRequest.h"
|
||||
#include "model/QueryRobotv2AllListResult.h"
|
||||
#include "model/QueryRtcNumberAuthStatusRequest.h"
|
||||
#include "model/QueryRtcNumberAuthStatusResult.h"
|
||||
#include "model/QueryVoipNumberBindInfosRequest.h"
|
||||
#include "model/QueryVoipNumberBindInfosResult.h"
|
||||
#include "model/ReportVoipProblemsRequest.h"
|
||||
@@ -72,12 +82,16 @@
|
||||
#include "model/SmartCallResult.h"
|
||||
#include "model/SmartCallOperateRequest.h"
|
||||
#include "model/SmartCallOperateResult.h"
|
||||
#include "model/StartMicroOutboundRequest.h"
|
||||
#include "model/StartMicroOutboundResult.h"
|
||||
#include "model/StartRobotTaskRequest.h"
|
||||
#include "model/StartRobotTaskResult.h"
|
||||
#include "model/StopRobotTaskRequest.h"
|
||||
#include "model/StopRobotTaskResult.h"
|
||||
#include "model/UnbindNumberAndVoipIdRequest.h"
|
||||
#include "model/UnbindNumberAndVoipIdResult.h"
|
||||
#include "model/UndoRtcNumberAuthRequest.h"
|
||||
#include "model/UndoRtcNumberAuthResult.h"
|
||||
#include "model/UploadRobotTaskCalledFileRequest.h"
|
||||
#include "model/UploadRobotTaskCalledFileResult.h"
|
||||
#include "model/VoipAddAccountRequest.h"
|
||||
@@ -120,12 +134,24 @@ namespace AlibabaCloud
|
||||
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::DescribeRecordDataResult> DescribeRecordDataOutcome;
|
||||
typedef std::future<DescribeRecordDataOutcome> DescribeRecordDataOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::DescribeRecordDataRequest&, const DescribeRecordDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DoRtcNumberAuthResult> DoRtcNumberAuthOutcome;
|
||||
typedef std::future<DoRtcNumberAuthOutcome> DoRtcNumberAuthOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::DoRtcNumberAuthRequest&, const DoRtcNumberAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DoRtcNumberAuthAsyncHandler;
|
||||
typedef Outcome<Error, Model::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::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::ListOrderedNumbersResult> ListOrderedNumbersOutcome;
|
||||
typedef std::future<ListOrderedNumbersOutcome> ListOrderedNumbersOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListOrderedNumbersRequest&, const ListOrderedNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOrderedNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOutboundStrategiesResult> ListOutboundStrategiesOutcome;
|
||||
typedef std::future<ListOutboundStrategiesOutcome> ListOutboundStrategiesOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ListOutboundStrategiesRequest&, const ListOutboundStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundStrategiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::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;
|
||||
@@ -150,6 +176,9 @@ namespace AlibabaCloud
|
||||
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::QueryRtcNumberAuthStatusResult> QueryRtcNumberAuthStatusOutcome;
|
||||
typedef std::future<QueryRtcNumberAuthStatusOutcome> QueryRtcNumberAuthStatusOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryRtcNumberAuthStatusRequest&, const QueryRtcNumberAuthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRtcNumberAuthStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryVoipNumberBindInfosResult> QueryVoipNumberBindInfosOutcome;
|
||||
typedef std::future<QueryVoipNumberBindInfosOutcome> QueryVoipNumberBindInfosOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryVoipNumberBindInfosRequest&, const QueryVoipNumberBindInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryVoipNumberBindInfosAsyncHandler;
|
||||
@@ -168,6 +197,9 @@ namespace AlibabaCloud
|
||||
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::StartMicroOutboundResult> StartMicroOutboundOutcome;
|
||||
typedef std::future<StartMicroOutboundOutcome> StartMicroOutboundOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::StartMicroOutboundRequest&, const StartMicroOutboundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMicroOutboundAsyncHandler;
|
||||
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;
|
||||
@@ -177,6 +209,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UnbindNumberAndVoipIdResult> UnbindNumberAndVoipIdOutcome;
|
||||
typedef std::future<UnbindNumberAndVoipIdOutcome> UnbindNumberAndVoipIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UnbindNumberAndVoipIdRequest&, const UnbindNumberAndVoipIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindNumberAndVoipIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::UndoRtcNumberAuthResult> UndoRtcNumberAuthOutcome;
|
||||
typedef std::future<UndoRtcNumberAuthOutcome> UndoRtcNumberAuthOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::UndoRtcNumberAuthRequest&, const UndoRtcNumberAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UndoRtcNumberAuthAsyncHandler;
|
||||
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;
|
||||
@@ -218,12 +253,24 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DescribeRecordDataOutcome describeRecordData(const Model::DescribeRecordDataRequest &request)const;
|
||||
void describeRecordDataAsync(const Model::DescribeRecordDataRequest& request, const DescribeRecordDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordDataOutcomeCallable describeRecordDataCallable(const Model::DescribeRecordDataRequest& request) const;
|
||||
DoRtcNumberAuthOutcome doRtcNumberAuth(const Model::DoRtcNumberAuthRequest &request)const;
|
||||
void doRtcNumberAuthAsync(const Model::DoRtcNumberAuthRequest& request, const DoRtcNumberAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DoRtcNumberAuthOutcomeCallable doRtcNumberAuthCallable(const Model::DoRtcNumberAuthRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
ListOrderedNumbersOutcome listOrderedNumbers(const Model::ListOrderedNumbersRequest &request)const;
|
||||
void listOrderedNumbersAsync(const Model::ListOrderedNumbersRequest& request, const ListOrderedNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOrderedNumbersOutcomeCallable listOrderedNumbersCallable(const Model::ListOrderedNumbersRequest& request) const;
|
||||
ListOutboundStrategiesOutcome listOutboundStrategies(const Model::ListOutboundStrategiesRequest &request)const;
|
||||
void listOutboundStrategiesAsync(const Model::ListOutboundStrategiesRequest& request, const ListOutboundStrategiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOutboundStrategiesOutcomeCallable listOutboundStrategiesCallable(const Model::ListOutboundStrategiesRequest& request) const;
|
||||
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;
|
||||
@@ -248,6 +295,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
QueryRtcNumberAuthStatusOutcome queryRtcNumberAuthStatus(const Model::QueryRtcNumberAuthStatusRequest &request)const;
|
||||
void queryRtcNumberAuthStatusAsync(const Model::QueryRtcNumberAuthStatusRequest& request, const QueryRtcNumberAuthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRtcNumberAuthStatusOutcomeCallable queryRtcNumberAuthStatusCallable(const Model::QueryRtcNumberAuthStatusRequest& request) const;
|
||||
QueryVoipNumberBindInfosOutcome queryVoipNumberBindInfos(const Model::QueryVoipNumberBindInfosRequest &request)const;
|
||||
void queryVoipNumberBindInfosAsync(const Model::QueryVoipNumberBindInfosRequest& request, const QueryVoipNumberBindInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryVoipNumberBindInfosOutcomeCallable queryVoipNumberBindInfosCallable(const Model::QueryVoipNumberBindInfosRequest& request) const;
|
||||
@@ -266,6 +316,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
StartMicroOutboundOutcome startMicroOutbound(const Model::StartMicroOutboundRequest &request)const;
|
||||
void startMicroOutboundAsync(const Model::StartMicroOutboundRequest& request, const StartMicroOutboundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMicroOutboundOutcomeCallable startMicroOutboundCallable(const Model::StartMicroOutboundRequest& 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;
|
||||
@@ -275,6 +328,9 @@ namespace AlibabaCloud
|
||||
UnbindNumberAndVoipIdOutcome unbindNumberAndVoipId(const Model::UnbindNumberAndVoipIdRequest &request)const;
|
||||
void unbindNumberAndVoipIdAsync(const Model::UnbindNumberAndVoipIdRequest& request, const UnbindNumberAndVoipIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindNumberAndVoipIdOutcomeCallable unbindNumberAndVoipIdCallable(const Model::UnbindNumberAndVoipIdRequest& request) const;
|
||||
UndoRtcNumberAuthOutcome undoRtcNumberAuth(const Model::UndoRtcNumberAuthRequest &request)const;
|
||||
void undoRtcNumberAuthAsync(const Model::UndoRtcNumberAuthRequest& request, const UndoRtcNumberAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UndoRtcNumberAuthOutcomeCallable undoRtcNumberAuthCallable(const Model::UndoRtcNumberAuthRequest& 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;
|
||||
|
||||
@@ -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_DESCRIBERECORDDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DESCRIBERECORDDATAREQUEST_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 DescribeRecordDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRecordDataRequest();
|
||||
~DescribeRecordDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAcid()const;
|
||||
void setAcid(const std::string& acid);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
int getSecLevel()const;
|
||||
void setSecLevel(int secLevel);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getProdCode()const;
|
||||
void setProdCode(const std::string& prodCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accessKeyId_;
|
||||
std::string acid_;
|
||||
std::string accountId_;
|
||||
int secLevel_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string prodCode_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DESCRIBERECORDDATAREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_DESCRIBERECORDDATARESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DESCRIBERECORDDATARESULT_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 DescribeRecordDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeRecordDataResult();
|
||||
explicit DescribeRecordDataResult(const std::string &payload);
|
||||
~DescribeRecordDataResult();
|
||||
std::string getAcid()const;
|
||||
std::string getMessage()const;
|
||||
std::string getOssLink()const;
|
||||
std::string getAgentId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string acid_;
|
||||
std::string message_;
|
||||
std::string ossLink_;
|
||||
std::string agentId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DESCRIBERECORDDATARESULT_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_DORTCNUMBERAUTHREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DORTCNUMBERAUTHREQUEST_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 DoRtcNumberAuthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DoRtcNumberAuthRequest();
|
||||
~DoRtcNumberAuthRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
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 phoneNumber_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_DORTCNUMBERAUTHREQUEST_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_DORTCNUMBERAUTHRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_DORTCNUMBERAUTHRESULT_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 DoRtcNumberAuthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DoRtcNumberAuthResult();
|
||||
explicit DoRtcNumberAuthResult(const std::string &payload);
|
||||
~DoRtcNumberAuthResult();
|
||||
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_DORTCNUMBERAUTHRESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT IvrCallRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MenuKeyMap
|
||||
{
|
||||
std::string code;
|
||||
|
||||
@@ -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_LISTORDEREDNUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTORDEREDNUMBERSREQUEST_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 ListOrderedNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListOrderedNumbersRequest();
|
||||
~ListOrderedNumbersRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getProdCode()const;
|
||||
void setProdCode(const std::string& prodCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string prodCode_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTORDEREDNUMBERSREQUEST_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_LISTORDEREDNUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTORDEREDNUMBERSRESULT_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 ListOrderedNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListOrderedNumbersResult();
|
||||
explicit ListOrderedNumbersResult(const std::string &payload);
|
||||
~ListOrderedNumbersResult();
|
||||
std::vector<std::string> getNumbers()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> numbers_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTORDEREDNUMBERSRESULT_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_LISTOUTBOUNDSTRATEGIESREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTOUTBOUNDSTRATEGIESREQUEST_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 ListOutboundStrategiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListOutboundStrategiesRequest();
|
||||
~ListOutboundStrategiesRequest();
|
||||
|
||||
long getBuId()const;
|
||||
void setBuId(long buId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getProdCode()const;
|
||||
void setProdCode(const std::string& prodCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long buId_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string keyword_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string prodCode_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTOUTBOUNDSTRATEGIESREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_LISTOUTBOUNDSTRATEGIESRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_LISTOUTBOUNDSTRATEGIESRESULT_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 ListOutboundStrategiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OutboundStrategy
|
||||
{
|
||||
int status;
|
||||
int robotType;
|
||||
long creatorId;
|
||||
std::string outboundNum;
|
||||
std::string modifierName;
|
||||
std::string robotId;
|
||||
std::string extAttr;
|
||||
int process;
|
||||
int successRate;
|
||||
int resourceAllocation;
|
||||
std::string gmtCreateStr;
|
||||
std::string name;
|
||||
std::string gmtModifiedStr;
|
||||
long buId;
|
||||
std::string sceneName;
|
||||
int numType;
|
||||
std::string robotName;
|
||||
long id;
|
||||
long departmentId;
|
||||
long ruleCode;
|
||||
std::string creatorName;
|
||||
long modifierId;
|
||||
};
|
||||
|
||||
|
||||
ListOutboundStrategiesResult();
|
||||
explicit ListOutboundStrategiesResult(const std::string &payload);
|
||||
~ListOutboundStrategiesResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<OutboundStrategy> getOutboundStrategies()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<OutboundStrategy> outboundStrategies_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_LISTOUTBOUNDSTRATEGIESRESULT_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_QUERYRTCNUMBERAUTHSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYRTCNUMBERAUTHSTATUSREQUEST_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 QueryRtcNumberAuthStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRtcNumberAuthStatusRequest();
|
||||
~QueryRtcNumberAuthStatusRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
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 phoneNumber_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYRTCNUMBERAUTHSTATUSREQUEST_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_QUERYRTCNUMBERAUTHSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYRTCNUMBERAUTHSTATUSRESULT_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 QueryRtcNumberAuthStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRtcNumberAuthStatusResult();
|
||||
explicit QueryRtcNumberAuthStatusResult(const std::string &payload);
|
||||
~QueryRtcNumberAuthStatusResult();
|
||||
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_QUERYRTCNUMBERAUTHSTATUSRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDREQUEST_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 StartMicroOutboundRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartMicroOutboundRequest();
|
||||
~StartMicroOutboundRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getCommandCode()const;
|
||||
void setCommandCode(const std::string& commandCode);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getExtInfo()const;
|
||||
void setExtInfo(const std::string& extInfo);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getProdCode()const;
|
||||
void setProdCode(const std::string& prodCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCallingNumber()const;
|
||||
void setCallingNumber(const std::string& callingNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string appName_;
|
||||
std::string commandCode_;
|
||||
std::string calledNumber_;
|
||||
std::string extInfo_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string prodCode_;
|
||||
long ownerId_;
|
||||
std::string callingNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDRESULT_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 StartMicroOutboundResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartMicroOutboundResult();
|
||||
explicit StartMicroOutboundResult(const std::string &payload);
|
||||
~StartMicroOutboundResult();
|
||||
std::string getInvokeCreateTime()const;
|
||||
std::string getMessage()const;
|
||||
std::string getInvokeCmdId()const;
|
||||
std::string getCustomerInfo()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string invokeCreateTime_;
|
||||
std::string message_;
|
||||
std::string invokeCmdId_;
|
||||
std::string customerInfo_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_STARTMICROOUTBOUNDRESULT_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_UNDORTCNUMBERAUTHREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UNDORTCNUMBERAUTHREQUEST_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 UndoRtcNumberAuthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UndoRtcNumberAuthRequest();
|
||||
~UndoRtcNumberAuthRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
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 phoneNumber_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_UNDORTCNUMBERAUTHREQUEST_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_UNDORTCNUMBERAUTHRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_UNDORTCNUMBERAUTHRESULT_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 UndoRtcNumberAuthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UndoRtcNumberAuthResult();
|
||||
explicit UndoRtcNumberAuthResult(const std::string &payload);
|
||||
~UndoRtcNumberAuthResult();
|
||||
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_UNDORTCNUMBERAUTHRESULT_H_
|
||||
@@ -375,6 +375,78 @@ DyvmsapiClient::DeleteRobotTaskOutcomeCallable DyvmsapiClient::deleteRobotTaskCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::DescribeRecordDataOutcome DyvmsapiClient::describeRecordData(const DescribeRecordDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRecordDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRecordDataOutcome(DescribeRecordDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeRecordDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::describeRecordDataAsync(const DescribeRecordDataRequest& request, const DescribeRecordDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRecordData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::DescribeRecordDataOutcomeCallable DyvmsapiClient::describeRecordDataCallable(const DescribeRecordDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRecordDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRecordData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::DoRtcNumberAuthOutcome DyvmsapiClient::doRtcNumberAuth(const DoRtcNumberAuthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DoRtcNumberAuthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DoRtcNumberAuthOutcome(DoRtcNumberAuthResult(outcome.result()));
|
||||
else
|
||||
return DoRtcNumberAuthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::doRtcNumberAuthAsync(const DoRtcNumberAuthRequest& request, const DoRtcNumberAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, doRtcNumberAuth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::DoRtcNumberAuthOutcomeCallable DyvmsapiClient::doRtcNumberAuthCallable(const DoRtcNumberAuthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DoRtcNumberAuthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->doRtcNumberAuth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::GetRtcTokenOutcome DyvmsapiClient::getRtcToken(const GetRtcTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -447,6 +519,78 @@ DyvmsapiClient::IvrCallOutcomeCallable DyvmsapiClient::ivrCallCallable(const Ivr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::ListOrderedNumbersOutcome DyvmsapiClient::listOrderedNumbers(const ListOrderedNumbersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListOrderedNumbersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListOrderedNumbersOutcome(ListOrderedNumbersResult(outcome.result()));
|
||||
else
|
||||
return ListOrderedNumbersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::listOrderedNumbersAsync(const ListOrderedNumbersRequest& request, const ListOrderedNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listOrderedNumbers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::ListOrderedNumbersOutcomeCallable DyvmsapiClient::listOrderedNumbersCallable(const ListOrderedNumbersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListOrderedNumbersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listOrderedNumbers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::ListOutboundStrategiesOutcome DyvmsapiClient::listOutboundStrategies(const ListOutboundStrategiesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListOutboundStrategiesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListOutboundStrategiesOutcome(ListOutboundStrategiesResult(outcome.result()));
|
||||
else
|
||||
return ListOutboundStrategiesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::listOutboundStrategiesAsync(const ListOutboundStrategiesRequest& request, const ListOutboundStrategiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listOutboundStrategies(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::ListOutboundStrategiesOutcomeCallable DyvmsapiClient::listOutboundStrategiesCallable(const ListOutboundStrategiesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListOutboundStrategiesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listOutboundStrategies(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryCallDetailByCallIdOutcome DyvmsapiClient::queryCallDetailByCallId(const QueryCallDetailByCallIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +879,42 @@ DyvmsapiClient::QueryRobotv2AllListOutcomeCallable DyvmsapiClient::queryRobotv2A
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRtcNumberAuthStatusOutcome DyvmsapiClient::queryRtcNumberAuthStatus(const QueryRtcNumberAuthStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRtcNumberAuthStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRtcNumberAuthStatusOutcome(QueryRtcNumberAuthStatusResult(outcome.result()));
|
||||
else
|
||||
return QueryRtcNumberAuthStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::queryRtcNumberAuthStatusAsync(const QueryRtcNumberAuthStatusRequest& request, const QueryRtcNumberAuthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRtcNumberAuthStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryRtcNumberAuthStatusOutcomeCallable DyvmsapiClient::queryRtcNumberAuthStatusCallable(const QueryRtcNumberAuthStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRtcNumberAuthStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRtcNumberAuthStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::QueryVoipNumberBindInfosOutcome DyvmsapiClient::queryVoipNumberBindInfos(const QueryVoipNumberBindInfosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1131,42 @@ DyvmsapiClient::SmartCallOperateOutcomeCallable DyvmsapiClient::smartCallOperate
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::StartMicroOutboundOutcome DyvmsapiClient::startMicroOutbound(const StartMicroOutboundRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartMicroOutboundOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartMicroOutboundOutcome(StartMicroOutboundResult(outcome.result()));
|
||||
else
|
||||
return StartMicroOutboundOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::startMicroOutboundAsync(const StartMicroOutboundRequest& request, const StartMicroOutboundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startMicroOutbound(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::StartMicroOutboundOutcomeCallable DyvmsapiClient::startMicroOutboundCallable(const StartMicroOutboundRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartMicroOutboundOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startMicroOutbound(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::StartRobotTaskOutcome DyvmsapiClient::startRobotTask(const StartRobotTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1275,42 @@ DyvmsapiClient::UnbindNumberAndVoipIdOutcomeCallable DyvmsapiClient::unbindNumbe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::UndoRtcNumberAuthOutcome DyvmsapiClient::undoRtcNumberAuth(const UndoRtcNumberAuthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UndoRtcNumberAuthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UndoRtcNumberAuthOutcome(UndoRtcNumberAuthResult(outcome.result()));
|
||||
else
|
||||
return UndoRtcNumberAuthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyvmsapiClient::undoRtcNumberAuthAsync(const UndoRtcNumberAuthRequest& request, const UndoRtcNumberAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, undoRtcNumberAuth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyvmsapiClient::UndoRtcNumberAuthOutcomeCallable DyvmsapiClient::undoRtcNumberAuthCallable(const UndoRtcNumberAuthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UndoRtcNumberAuthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->undoRtcNumberAuth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyvmsapiClient::UploadRobotTaskCalledFileOutcome DyvmsapiClient::uploadRobotTaskCalledFile(const UploadRobotTaskCalledFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,7 +35,7 @@ long AddRtcAccountRequest::getResourceOwnerId()const
|
||||
void AddRtcAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string AddRtcAccountRequest::getResourceOwnerAccount()const
|
||||
void AddRtcAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddRtcAccountRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long AddRtcAccountRequest::getOwnerId()const
|
||||
void AddRtcAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getDeviceId()const
|
||||
@@ -68,7 +68,7 @@ std::string AddRtcAccountRequest::getDeviceId()const
|
||||
void AddRtcAccountRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
setParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
std::string AddRtcAccountRequest::getAccessKeyId()const
|
||||
@@ -79,6 +79,6 @@ std::string AddRtcAccountRequest::getAccessKeyId()const
|
||||
void AddRtcAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long BatchRobotSmartCallRequest::getResourceOwnerId()const
|
||||
void BatchRobotSmartCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getEarlyMediaAsr()const
|
||||
@@ -46,7 +46,7 @@ bool BatchRobotSmartCallRequest::getEarlyMediaAsr()const
|
||||
void BatchRobotSmartCallRequest::setEarlyMediaAsr(bool earlyMediaAsr)
|
||||
{
|
||||
earlyMediaAsr_ = earlyMediaAsr;
|
||||
setCoreParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
setParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTtsParamHead()const
|
||||
@@ -57,7 +57,7 @@ std::string BatchRobotSmartCallRequest::getTtsParamHead()const
|
||||
void BatchRobotSmartCallRequest::setTtsParamHead(const std::string& ttsParamHead)
|
||||
{
|
||||
ttsParamHead_ = ttsParamHead;
|
||||
setCoreParameter("TtsParamHead", ttsParamHead);
|
||||
setParameter("TtsParamHead", ttsParamHead);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTaskName()const
|
||||
@@ -68,7 +68,7 @@ std::string BatchRobotSmartCallRequest::getTaskName()const
|
||||
void BatchRobotSmartCallRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
setParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getTtsParam()const
|
||||
@@ -79,7 +79,7 @@ std::string BatchRobotSmartCallRequest::getTtsParam()const
|
||||
void BatchRobotSmartCallRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
setParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getAccessKeyId()const
|
||||
@@ -90,7 +90,7 @@ std::string BatchRobotSmartCallRequest::getAccessKeyId()const
|
||||
void BatchRobotSmartCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCalledNumber()const
|
||||
@@ -101,7 +101,7 @@ std::string BatchRobotSmartCallRequest::getCalledNumber()const
|
||||
void BatchRobotSmartCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCalledShowNumber()const
|
||||
@@ -112,7 +112,7 @@ std::string BatchRobotSmartCallRequest::getCalledShowNumber()const
|
||||
void BatchRobotSmartCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getIsSelfLine()const
|
||||
@@ -123,7 +123,7 @@ bool BatchRobotSmartCallRequest::getIsSelfLine()const
|
||||
void BatchRobotSmartCallRequest::setIsSelfLine(bool isSelfLine)
|
||||
{
|
||||
isSelfLine_ = isSelfLine;
|
||||
setCoreParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
setParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getResourceOwnerAccount()const
|
||||
@@ -134,7 +134,7 @@ std::string BatchRobotSmartCallRequest::getResourceOwnerAccount()const
|
||||
void BatchRobotSmartCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BatchRobotSmartCallRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ long BatchRobotSmartCallRequest::getOwnerId()const
|
||||
void BatchRobotSmartCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getDialogId()const
|
||||
@@ -156,7 +156,7 @@ std::string BatchRobotSmartCallRequest::getDialogId()const
|
||||
void BatchRobotSmartCallRequest::setDialogId(const std::string& dialogId)
|
||||
{
|
||||
dialogId_ = dialogId;
|
||||
setCoreParameter("DialogId", dialogId);
|
||||
setParameter("DialogId", dialogId);
|
||||
}
|
||||
|
||||
long BatchRobotSmartCallRequest::getScheduleTime()const
|
||||
@@ -167,7 +167,7 @@ long BatchRobotSmartCallRequest::getScheduleTime()const
|
||||
void BatchRobotSmartCallRequest::setScheduleTime(long scheduleTime)
|
||||
{
|
||||
scheduleTime_ = scheduleTime;
|
||||
setCoreParameter("ScheduleTime", std::to_string(scheduleTime));
|
||||
setParameter("ScheduleTime", std::to_string(scheduleTime));
|
||||
}
|
||||
|
||||
std::string BatchRobotSmartCallRequest::getCorpName()const
|
||||
@@ -178,7 +178,7 @@ std::string BatchRobotSmartCallRequest::getCorpName()const
|
||||
void BatchRobotSmartCallRequest::setCorpName(const std::string& corpName)
|
||||
{
|
||||
corpName_ = corpName;
|
||||
setCoreParameter("CorpName", corpName);
|
||||
setParameter("CorpName", corpName);
|
||||
}
|
||||
|
||||
bool BatchRobotSmartCallRequest::getScheduleCall()const
|
||||
@@ -189,6 +189,6 @@ bool BatchRobotSmartCallRequest::getScheduleCall()const
|
||||
void BatchRobotSmartCallRequest::setScheduleCall(bool scheduleCall)
|
||||
{
|
||||
scheduleCall_ = scheduleCall;
|
||||
setCoreParameter("ScheduleCall", scheduleCall ? "true" : "false");
|
||||
setParameter("ScheduleCall", scheduleCall ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long BindNumberAndVoipIdRequest::getResourceOwnerId()const
|
||||
void BindNumberAndVoipIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BindNumberAndVoipIdRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string BindNumberAndVoipIdRequest::getResourceOwnerAccount()const
|
||||
void BindNumberAndVoipIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BindNumberAndVoipIdRequest::getPhoneNumber()const
|
||||
@@ -57,7 +57,7 @@ std::string BindNumberAndVoipIdRequest::getPhoneNumber()const
|
||||
void BindNumberAndVoipIdRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setCoreParameter("PhoneNumber", phoneNumber);
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long BindNumberAndVoipIdRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long BindNumberAndVoipIdRequest::getOwnerId()const
|
||||
void BindNumberAndVoipIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindNumberAndVoipIdRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string BindNumberAndVoipIdRequest::getAccessKeyId()const
|
||||
void BindNumberAndVoipIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindNumberAndVoipIdRequest::getVoipId()const
|
||||
@@ -90,6 +90,6 @@ std::string BindNumberAndVoipIdRequest::getVoipId()const
|
||||
void BindNumberAndVoipIdRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setCoreParameter("VoipId", voipId);
|
||||
setParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string CancelCallRequest::getCallId()const
|
||||
void CancelCallRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long CancelCallRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long CancelCallRequest::getResourceOwnerId()const
|
||||
void CancelCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelCallRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string CancelCallRequest::getResourceOwnerAccount()const
|
||||
void CancelCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelCallRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long CancelCallRequest::getOwnerId()const
|
||||
void CancelCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelCallRequest::getAccessKeyId()const
|
||||
@@ -79,6 +79,6 @@ std::string CancelCallRequest::getAccessKeyId()const
|
||||
void CancelCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelOrderRobotTaskRequest::getResourceOwnerId()const
|
||||
void CancelOrderRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelOrderRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void CancelOrderRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelOrderRobotTaskRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long CancelOrderRobotTaskRequest::getOwnerId()const
|
||||
void CancelOrderRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelOrderRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelOrderRobotTaskRequest::getAccessKeyId()const
|
||||
void CancelOrderRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long CancelOrderRobotTaskRequest::getTaskId()const
|
||||
@@ -79,6 +79,6 @@ long CancelOrderRobotTaskRequest::getTaskId()const
|
||||
void CancelOrderRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelRobotTaskRequest::getResourceOwnerId()const
|
||||
void CancelRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void CancelRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelRobotTaskRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long CancelRobotTaskRequest::getOwnerId()const
|
||||
void CancelRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelRobotTaskRequest::getAccessKeyId()const
|
||||
void CancelRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long CancelRobotTaskRequest::getTaskId()const
|
||||
@@ -79,6 +79,6 @@ long CancelRobotTaskRequest::getTaskId()const
|
||||
void CancelRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ClickToDialRequest::getResourceOwnerId()const
|
||||
void ClickToDialRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCallerShowNumber()const
|
||||
@@ -46,7 +46,7 @@ std::string ClickToDialRequest::getCallerShowNumber()const
|
||||
void ClickToDialRequest::setCallerShowNumber(const std::string& callerShowNumber)
|
||||
{
|
||||
callerShowNumber_ = callerShowNumber;
|
||||
setCoreParameter("CallerShowNumber", callerShowNumber);
|
||||
setParameter("CallerShowNumber", callerShowNumber);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string ClickToDialRequest::getAccessKeyId()const
|
||||
void ClickToDialRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int ClickToDialRequest::getSessionTimeout()const
|
||||
@@ -68,7 +68,7 @@ int ClickToDialRequest::getSessionTimeout()const
|
||||
void ClickToDialRequest::setSessionTimeout(int sessionTimeout)
|
||||
{
|
||||
sessionTimeout_ = sessionTimeout;
|
||||
setCoreParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
setParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCalledNumber()const
|
||||
@@ -79,7 +79,7 @@ std::string ClickToDialRequest::getCalledNumber()const
|
||||
void ClickToDialRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCalledShowNumber()const
|
||||
@@ -90,7 +90,7 @@ std::string ClickToDialRequest::getCalledShowNumber()const
|
||||
void ClickToDialRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
bool ClickToDialRequest::getAsrFlag()const
|
||||
@@ -101,7 +101,7 @@ bool ClickToDialRequest::getAsrFlag()const
|
||||
void ClickToDialRequest::setAsrFlag(bool asrFlag)
|
||||
{
|
||||
asrFlag_ = asrFlag;
|
||||
setCoreParameter("AsrFlag", asrFlag ? "true" : "false");
|
||||
setParameter("AsrFlag", asrFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getResourceOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string ClickToDialRequest::getResourceOwnerAccount()const
|
||||
void ClickToDialRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool ClickToDialRequest::getRecordFlag()const
|
||||
@@ -123,7 +123,7 @@ bool ClickToDialRequest::getRecordFlag()const
|
||||
void ClickToDialRequest::setRecordFlag(bool recordFlag)
|
||||
{
|
||||
recordFlag_ = recordFlag;
|
||||
setCoreParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
setParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
long ClickToDialRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long ClickToDialRequest::getOwnerId()const
|
||||
void ClickToDialRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getOutId()const
|
||||
@@ -145,7 +145,7 @@ std::string ClickToDialRequest::getOutId()const
|
||||
void ClickToDialRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getAsrModelId()const
|
||||
@@ -156,7 +156,7 @@ std::string ClickToDialRequest::getAsrModelId()const
|
||||
void ClickToDialRequest::setAsrModelId(const std::string& asrModelId)
|
||||
{
|
||||
asrModelId_ = asrModelId;
|
||||
setCoreParameter("AsrModelId", asrModelId);
|
||||
setParameter("AsrModelId", asrModelId);
|
||||
}
|
||||
|
||||
std::string ClickToDialRequest::getCallerNumber()const
|
||||
@@ -167,6 +167,6 @@ std::string ClickToDialRequest::getCallerNumber()const
|
||||
void ClickToDialRequest::setCallerNumber(const std::string& callerNumber)
|
||||
{
|
||||
callerNumber_ = callerNumber;
|
||||
setCoreParameter("CallerNumber", callerNumber);
|
||||
setParameter("CallerNumber", callerNumber);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateRobotTaskRequest::getResourceOwnerId()const
|
||||
void CreateRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getRecallStateCodes()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateRobotTaskRequest::getRecallStateCodes()const
|
||||
void CreateRobotTaskRequest::setRecallStateCodes(const std::string& recallStateCodes)
|
||||
{
|
||||
recallStateCodes_ = recallStateCodes;
|
||||
setCoreParameter("RecallStateCodes", recallStateCodes);
|
||||
setParameter("RecallStateCodes", recallStateCodes);
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getTaskName()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateRobotTaskRequest::getTaskName()const
|
||||
void CreateRobotTaskRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
setParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateRobotTaskRequest::getAccessKeyId()const
|
||||
void CreateRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRecallTimes()const
|
||||
@@ -79,7 +79,7 @@ int CreateRobotTaskRequest::getRecallTimes()const
|
||||
void CreateRobotTaskRequest::setRecallTimes(int recallTimes)
|
||||
{
|
||||
recallTimes_ = recallTimes;
|
||||
setCoreParameter("RecallTimes", std::to_string(recallTimes));
|
||||
setParameter("RecallTimes", std::to_string(recallTimes));
|
||||
}
|
||||
|
||||
bool CreateRobotTaskRequest::getIsSelfLine()const
|
||||
@@ -90,7 +90,7 @@ bool CreateRobotTaskRequest::getIsSelfLine()const
|
||||
void CreateRobotTaskRequest::setIsSelfLine(bool isSelfLine)
|
||||
{
|
||||
isSelfLine_ = isSelfLine;
|
||||
setCoreParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
setParameter("IsSelfLine", isSelfLine ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void CreateRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRetryType()const
|
||||
@@ -112,7 +112,7 @@ int CreateRobotTaskRequest::getRetryType()const
|
||||
void CreateRobotTaskRequest::setRetryType(int retryType)
|
||||
{
|
||||
retryType_ = retryType;
|
||||
setCoreParameter("RetryType", std::to_string(retryType));
|
||||
setParameter("RetryType", std::to_string(retryType));
|
||||
}
|
||||
|
||||
long CreateRobotTaskRequest::getOwnerId()const
|
||||
@@ -123,7 +123,7 @@ long CreateRobotTaskRequest::getOwnerId()const
|
||||
void CreateRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long CreateRobotTaskRequest::getDialogId()const
|
||||
@@ -134,7 +134,7 @@ long CreateRobotTaskRequest::getDialogId()const
|
||||
void CreateRobotTaskRequest::setDialogId(long dialogId)
|
||||
{
|
||||
dialogId_ = dialogId;
|
||||
setCoreParameter("DialogId", std::to_string(dialogId));
|
||||
setParameter("DialogId", std::to_string(dialogId));
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getCaller()const
|
||||
@@ -145,7 +145,7 @@ std::string CreateRobotTaskRequest::getCaller()const
|
||||
void CreateRobotTaskRequest::setCaller(const std::string& caller)
|
||||
{
|
||||
caller_ = caller;
|
||||
setCoreParameter("Caller", caller);
|
||||
setParameter("Caller", caller);
|
||||
}
|
||||
|
||||
bool CreateRobotTaskRequest::getNumberStatusIdent()const
|
||||
@@ -156,7 +156,7 @@ bool CreateRobotTaskRequest::getNumberStatusIdent()const
|
||||
void CreateRobotTaskRequest::setNumberStatusIdent(bool numberStatusIdent)
|
||||
{
|
||||
numberStatusIdent_ = numberStatusIdent;
|
||||
setCoreParameter("NumberStatusIdent", numberStatusIdent ? "true" : "false");
|
||||
setParameter("NumberStatusIdent", numberStatusIdent ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateRobotTaskRequest::getCorpName()const
|
||||
@@ -167,7 +167,7 @@ std::string CreateRobotTaskRequest::getCorpName()const
|
||||
void CreateRobotTaskRequest::setCorpName(const std::string& corpName)
|
||||
{
|
||||
corpName_ = corpName;
|
||||
setCoreParameter("CorpName", corpName);
|
||||
setParameter("CorpName", corpName);
|
||||
}
|
||||
|
||||
int CreateRobotTaskRequest::getRecallInterval()const
|
||||
@@ -178,6 +178,6 @@ int CreateRobotTaskRequest::getRecallInterval()const
|
||||
void CreateRobotTaskRequest::setRecallInterval(int recallInterval)
|
||||
{
|
||||
recallInterval_ = recallInterval;
|
||||
setCoreParameter("RecallInterval", std::to_string(recallInterval));
|
||||
setParameter("RecallInterval", std::to_string(recallInterval));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DeleteRobotTaskRequest::getResourceOwnerId()const
|
||||
void DeleteRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void DeleteRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteRobotTaskRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long DeleteRobotTaskRequest::getOwnerId()const
|
||||
void DeleteRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string DeleteRobotTaskRequest::getAccessKeyId()const
|
||||
void DeleteRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DeleteRobotTaskRequest::getTaskId()const
|
||||
@@ -79,6 +79,6 @@ long DeleteRobotTaskRequest::getTaskId()const
|
||||
void DeleteRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
128
dyvmsapi/src/model/DescribeRecordDataRequest.cc
Normal file
128
dyvmsapi/src/model/DescribeRecordDataRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DescribeRecordDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::DescribeRecordDataRequest;
|
||||
|
||||
DescribeRecordDataRequest::DescribeRecordDataRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "DescribeRecordData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRecordDataRequest::~DescribeRecordDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRecordDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getAcid()const
|
||||
{
|
||||
return acid_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setAcid(const std::string& acid)
|
||||
{
|
||||
acid_ = acid;
|
||||
setParameter("Acid", acid);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getAccountId()const
|
||||
{
|
||||
return accountId_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setAccountId(const std::string& accountId)
|
||||
{
|
||||
accountId_ = accountId;
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
int DescribeRecordDataRequest::getSecLevel()const
|
||||
{
|
||||
return secLevel_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setSecLevel(int secLevel)
|
||||
{
|
||||
secLevel_ = secLevel;
|
||||
setParameter("SecLevel", std::to_string(secLevel));
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataRequest::getProdCode()const
|
||||
{
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setProdCode(const std::string& prodCode)
|
||||
{
|
||||
prodCode_ = prodCode;
|
||||
setParameter("ProdCode", prodCode);
|
||||
}
|
||||
|
||||
long DescribeRecordDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRecordDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
79
dyvmsapi/src/model/DescribeRecordDataResult.cc
Normal file
79
dyvmsapi/src/model/DescribeRecordDataResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DescribeRecordDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
DescribeRecordDataResult::DescribeRecordDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRecordDataResult::DescribeRecordDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRecordDataResult::~DescribeRecordDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRecordDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["OssLink"].isNull())
|
||||
ossLink_ = value["OssLink"].asString();
|
||||
if(!value["Acid"].isNull())
|
||||
acid_ = value["Acid"].asString();
|
||||
if(!value["AgentId"].isNull())
|
||||
agentId_ = value["AgentId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataResult::getAcid()const
|
||||
{
|
||||
return acid_;
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataResult::getOssLink()const
|
||||
{
|
||||
return ossLink_;
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataResult::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
std::string DescribeRecordDataResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
dyvmsapi/src/model/DoRtcNumberAuthRequest.cc
Normal file
84
dyvmsapi/src/model/DoRtcNumberAuthRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DoRtcNumberAuthRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::DoRtcNumberAuthRequest;
|
||||
|
||||
DoRtcNumberAuthRequest::DoRtcNumberAuthRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "DoRtcNumberAuth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DoRtcNumberAuthRequest::~DoRtcNumberAuthRequest()
|
||||
{}
|
||||
|
||||
long DoRtcNumberAuthRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DoRtcNumberAuthRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DoRtcNumberAuthRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DoRtcNumberAuthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DoRtcNumberAuthRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void DoRtcNumberAuthRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long DoRtcNumberAuthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DoRtcNumberAuthRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DoRtcNumberAuthRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DoRtcNumberAuthRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/DoRtcNumberAuthResult.cc
Normal file
65
dyvmsapi/src/model/DoRtcNumberAuthResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/DoRtcNumberAuthResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
DoRtcNumberAuthResult::DoRtcNumberAuthResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DoRtcNumberAuthResult::DoRtcNumberAuthResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DoRtcNumberAuthResult::~DoRtcNumberAuthResult()
|
||||
{}
|
||||
|
||||
void DoRtcNumberAuthResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
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 DoRtcNumberAuthResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DoRtcNumberAuthResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string DoRtcNumberAuthResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long GetRtcTokenRequest::getResourceOwnerId()const
|
||||
void GetRtcTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getUserId()const
|
||||
@@ -46,7 +46,7 @@ std::string GetRtcTokenRequest::getUserId()const
|
||||
void GetRtcTokenRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string GetRtcTokenRequest::getAccessKeyId()const
|
||||
void GetRtcTokenRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string GetRtcTokenRequest::getResourceOwnerAccount()const
|
||||
void GetRtcTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long GetRtcTokenRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long GetRtcTokenRequest::getOwnerId()const
|
||||
void GetRtcTokenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetRtcTokenRequest::getDeviceId()const
|
||||
@@ -90,7 +90,7 @@ std::string GetRtcTokenRequest::getDeviceId()const
|
||||
void GetRtcTokenRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
setParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
bool GetRtcTokenRequest::getIsCustomAccount()const
|
||||
@@ -101,6 +101,6 @@ bool GetRtcTokenRequest::getIsCustomAccount()const
|
||||
void GetRtcTokenRequest::setIsCustomAccount(bool isCustomAccount)
|
||||
{
|
||||
isCustomAccount_ = isCustomAccount;
|
||||
setCoreParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
setParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string IvrCallRequest::getByeCode()const
|
||||
void IvrCallRequest::setByeCode(const std::string& byeCode)
|
||||
{
|
||||
byeCode_ = byeCode;
|
||||
setCoreParameter("ByeCode", byeCode);
|
||||
setParameter("ByeCode", byeCode);
|
||||
}
|
||||
|
||||
long IvrCallRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long IvrCallRequest::getResourceOwnerId()const
|
||||
void IvrCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getStartTtsParams()const
|
||||
@@ -57,7 +57,7 @@ std::string IvrCallRequest::getStartTtsParams()const
|
||||
void IvrCallRequest::setStartTtsParams(const std::string& startTtsParams)
|
||||
{
|
||||
startTtsParams_ = startTtsParams;
|
||||
setCoreParameter("StartTtsParams", startTtsParams);
|
||||
setParameter("StartTtsParams", startTtsParams);
|
||||
}
|
||||
|
||||
int IvrCallRequest::getTimeout()const
|
||||
@@ -68,7 +68,7 @@ int IvrCallRequest::getTimeout()const
|
||||
void IvrCallRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setCoreParameter("Timeout", std::to_string(timeout));
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string IvrCallRequest::getAccessKeyId()const
|
||||
void IvrCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getStartCode()const
|
||||
@@ -90,7 +90,7 @@ std::string IvrCallRequest::getStartCode()const
|
||||
void IvrCallRequest::setStartCode(const std::string& startCode)
|
||||
{
|
||||
startCode_ = startCode;
|
||||
setCoreParameter("StartCode", startCode);
|
||||
setParameter("StartCode", startCode);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getCalledNumber()const
|
||||
@@ -101,7 +101,7 @@ std::string IvrCallRequest::getCalledNumber()const
|
||||
void IvrCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getCalledShowNumber()const
|
||||
@@ -112,7 +112,7 @@ std::string IvrCallRequest::getCalledShowNumber()const
|
||||
void IvrCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::vector<IvrCallRequest::MenuKeyMap> IvrCallRequest::getMenuKeyMap()const
|
||||
@@ -123,13 +123,12 @@ std::vector<IvrCallRequest::MenuKeyMap> IvrCallRequest::getMenuKeyMap()const
|
||||
void IvrCallRequest::setMenuKeyMap(const std::vector<MenuKeyMap>& menuKeyMap)
|
||||
{
|
||||
menuKeyMap_ = menuKeyMap;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= menuKeyMap.size(); i++) {
|
||||
auto obj = menuKeyMap.at(i);
|
||||
std::string str ="MenuKeyMap."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Code", obj.code);
|
||||
setCoreParameter(str + ".TtsParams", obj.ttsParams);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
for(int dep1 = 0; dep1!= menuKeyMap.size(); dep1++) {
|
||||
auto menuKeyMapObj = menuKeyMap.at(dep1);
|
||||
std::string menuKeyMapObjStr = "MenuKeyMap." + std::to_string(dep1 + 1);
|
||||
setParameter(menuKeyMapObjStr + ".Code", menuKeyMapObj.code);
|
||||
setParameter(menuKeyMapObjStr + ".TtsParams", menuKeyMapObj.ttsParams);
|
||||
setParameter(menuKeyMapObjStr + ".Key", menuKeyMapObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +140,7 @@ std::string IvrCallRequest::getResourceOwnerAccount()const
|
||||
void IvrCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long IvrCallRequest::getPlayTimes()const
|
||||
@@ -152,7 +151,7 @@ long IvrCallRequest::getPlayTimes()const
|
||||
void IvrCallRequest::setPlayTimes(long playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
long IvrCallRequest::getOwnerId()const
|
||||
@@ -163,7 +162,7 @@ long IvrCallRequest::getOwnerId()const
|
||||
void IvrCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getOutId()const
|
||||
@@ -174,7 +173,7 @@ std::string IvrCallRequest::getOutId()const
|
||||
void IvrCallRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string IvrCallRequest::getByeTtsParams()const
|
||||
@@ -185,6 +184,6 @@ std::string IvrCallRequest::getByeTtsParams()const
|
||||
void IvrCallRequest::setByeTtsParams(const std::string& byeTtsParams)
|
||||
{
|
||||
byeTtsParams_ = byeTtsParams;
|
||||
setCoreParameter("ByeTtsParams", byeTtsParams);
|
||||
setParameter("ByeTtsParams", byeTtsParams);
|
||||
}
|
||||
|
||||
|
||||
84
dyvmsapi/src/model/ListOrderedNumbersRequest.cc
Normal file
84
dyvmsapi/src/model/ListOrderedNumbersRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListOrderedNumbersRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::ListOrderedNumbersRequest;
|
||||
|
||||
ListOrderedNumbersRequest::ListOrderedNumbersRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "ListOrderedNumbers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListOrderedNumbersRequest::~ListOrderedNumbersRequest()
|
||||
{}
|
||||
|
||||
long ListOrderedNumbersRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListOrderedNumbersRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListOrderedNumbersRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListOrderedNumbersRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListOrderedNumbersRequest::getProdCode()const
|
||||
{
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void ListOrderedNumbersRequest::setProdCode(const std::string& prodCode)
|
||||
{
|
||||
prodCode_ = prodCode;
|
||||
setParameter("ProdCode", prodCode);
|
||||
}
|
||||
|
||||
long ListOrderedNumbersRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListOrderedNumbersRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListOrderedNumbersRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListOrderedNumbersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
66
dyvmsapi/src/model/ListOrderedNumbersResult.cc
Normal file
66
dyvmsapi/src/model/ListOrderedNumbersResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListOrderedNumbersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
ListOrderedNumbersResult::ListOrderedNumbersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListOrderedNumbersResult::ListOrderedNumbersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListOrderedNumbersResult::~ListOrderedNumbersResult()
|
||||
{}
|
||||
|
||||
void ListOrderedNumbersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNumbers = value["Numbers"]["Number"];
|
||||
for (const auto &item : allNumbers)
|
||||
numbers_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> ListOrderedNumbersResult::getNumbers()const
|
||||
{
|
||||
return numbers_;
|
||||
}
|
||||
|
||||
std::string ListOrderedNumbersResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ListOrderedNumbersResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
106
dyvmsapi/src/model/ListOutboundStrategiesRequest.cc
Normal file
106
dyvmsapi/src/model/ListOutboundStrategiesRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListOutboundStrategiesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::ListOutboundStrategiesRequest;
|
||||
|
||||
ListOutboundStrategiesRequest::ListOutboundStrategiesRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "ListOutboundStrategies")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListOutboundStrategiesRequest::~ListOutboundStrategiesRequest()
|
||||
{}
|
||||
|
||||
long ListOutboundStrategiesRequest::getBuId()const
|
||||
{
|
||||
return buId_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setBuId(long buId)
|
||||
{
|
||||
buId_ = buId;
|
||||
setParameter("BuId", std::to_string(buId));
|
||||
}
|
||||
|
||||
long ListOutboundStrategiesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesRequest::getProdCode()const
|
||||
{
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setProdCode(const std::string& prodCode)
|
||||
{
|
||||
prodCode_ = prodCode;
|
||||
setParameter("ProdCode", prodCode);
|
||||
}
|
||||
|
||||
long ListOutboundStrategiesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListOutboundStrategiesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
113
dyvmsapi/src/model/ListOutboundStrategiesResult.cc
Normal file
113
dyvmsapi/src/model/ListOutboundStrategiesResult.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/ListOutboundStrategiesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
ListOutboundStrategiesResult::ListOutboundStrategiesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListOutboundStrategiesResult::ListOutboundStrategiesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListOutboundStrategiesResult::~ListOutboundStrategiesResult()
|
||||
{}
|
||||
|
||||
void ListOutboundStrategiesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOutboundStrategiesNode = value["OutboundStrategies"]["OutboundStrategy"];
|
||||
for (auto valueOutboundStrategiesOutboundStrategy : allOutboundStrategiesNode)
|
||||
{
|
||||
OutboundStrategy outboundStrategiesObject;
|
||||
if(!valueOutboundStrategiesOutboundStrategy["Id"].isNull())
|
||||
outboundStrategiesObject.id = std::stol(valueOutboundStrategiesOutboundStrategy["Id"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["GmtCreateStr"].isNull())
|
||||
outboundStrategiesObject.gmtCreateStr = valueOutboundStrategiesOutboundStrategy["GmtCreateStr"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["GmtModifiedStr"].isNull())
|
||||
outboundStrategiesObject.gmtModifiedStr = valueOutboundStrategiesOutboundStrategy["GmtModifiedStr"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["CreatorId"].isNull())
|
||||
outboundStrategiesObject.creatorId = std::stol(valueOutboundStrategiesOutboundStrategy["CreatorId"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["CreatorName"].isNull())
|
||||
outboundStrategiesObject.creatorName = valueOutboundStrategiesOutboundStrategy["CreatorName"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["ModifierId"].isNull())
|
||||
outboundStrategiesObject.modifierId = std::stol(valueOutboundStrategiesOutboundStrategy["ModifierId"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["ModifierName"].isNull())
|
||||
outboundStrategiesObject.modifierName = valueOutboundStrategiesOutboundStrategy["ModifierName"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["BuId"].isNull())
|
||||
outboundStrategiesObject.buId = std::stol(valueOutboundStrategiesOutboundStrategy["BuId"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["DepartmentId"].isNull())
|
||||
outboundStrategiesObject.departmentId = std::stol(valueOutboundStrategiesOutboundStrategy["DepartmentId"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["name"].isNull())
|
||||
outboundStrategiesObject.name = valueOutboundStrategiesOutboundStrategy["name"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["NumType"].isNull())
|
||||
outboundStrategiesObject.numType = std::stoi(valueOutboundStrategiesOutboundStrategy["NumType"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["OutboundNum"].isNull())
|
||||
outboundStrategiesObject.outboundNum = valueOutboundStrategiesOutboundStrategy["OutboundNum"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["RobotType"].isNull())
|
||||
outboundStrategiesObject.robotType = std::stoi(valueOutboundStrategiesOutboundStrategy["RobotType"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["RobotId"].isNull())
|
||||
outboundStrategiesObject.robotId = valueOutboundStrategiesOutboundStrategy["RobotId"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["RobotName"].isNull())
|
||||
outboundStrategiesObject.robotName = valueOutboundStrategiesOutboundStrategy["RobotName"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["ResourceAllocation"].isNull())
|
||||
outboundStrategiesObject.resourceAllocation = std::stoi(valueOutboundStrategiesOutboundStrategy["ResourceAllocation"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["SceneName"].isNull())
|
||||
outboundStrategiesObject.sceneName = valueOutboundStrategiesOutboundStrategy["SceneName"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["RuleCode"].isNull())
|
||||
outboundStrategiesObject.ruleCode = std::stol(valueOutboundStrategiesOutboundStrategy["RuleCode"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["Status"].isNull())
|
||||
outboundStrategiesObject.status = std::stoi(valueOutboundStrategiesOutboundStrategy["Status"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["ExtAttr"].isNull())
|
||||
outboundStrategiesObject.extAttr = valueOutboundStrategiesOutboundStrategy["ExtAttr"].asString();
|
||||
if(!valueOutboundStrategiesOutboundStrategy["Process"].isNull())
|
||||
outboundStrategiesObject.process = std::stoi(valueOutboundStrategiesOutboundStrategy["Process"].asString());
|
||||
if(!valueOutboundStrategiesOutboundStrategy["SuccessRate"].isNull())
|
||||
outboundStrategiesObject.successRate = std::stoi(valueOutboundStrategiesOutboundStrategy["SuccessRate"].asString());
|
||||
outboundStrategies_.push_back(outboundStrategiesObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListOutboundStrategiesResult::OutboundStrategy> ListOutboundStrategiesResult::getOutboundStrategies()const
|
||||
{
|
||||
return outboundStrategies_;
|
||||
}
|
||||
|
||||
std::string ListOutboundStrategiesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string QueryCallDetailByCallIdRequest::getCallId()const
|
||||
void QueryCallDetailByCallIdRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long QueryCallDetailByCallIdRequest::getResourceOwnerId()const
|
||||
void QueryCallDetailByCallIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByCallIdRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryCallDetailByCallIdRequest::getAccessKeyId()const
|
||||
void QueryCallDetailByCallIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getQueryDate()const
|
||||
@@ -68,7 +68,7 @@ long QueryCallDetailByCallIdRequest::getQueryDate()const
|
||||
void QueryCallDetailByCallIdRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
setParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByCallIdRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryCallDetailByCallIdRequest::getResourceOwnerAccount()const
|
||||
void QueryCallDetailByCallIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getProdId()const
|
||||
@@ -90,7 +90,7 @@ long QueryCallDetailByCallIdRequest::getProdId()const
|
||||
void QueryCallDetailByCallIdRequest::setProdId(long prodId)
|
||||
{
|
||||
prodId_ = prodId;
|
||||
setCoreParameter("ProdId", std::to_string(prodId));
|
||||
setParameter("ProdId", std::to_string(prodId));
|
||||
}
|
||||
|
||||
long QueryCallDetailByCallIdRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long QueryCallDetailByCallIdRequest::getOwnerId()const
|
||||
void QueryCallDetailByCallIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryCallDetailByTaskIdRequest::getResourceOwnerId()const
|
||||
void QueryCallDetailByTaskIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getCallee()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryCallDetailByTaskIdRequest::getCallee()const
|
||||
void QueryCallDetailByTaskIdRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setCoreParameter("Callee", callee);
|
||||
setParameter("Callee", callee);
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryCallDetailByTaskIdRequest::getAccessKeyId()const
|
||||
void QueryCallDetailByTaskIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getTaskId()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryCallDetailByTaskIdRequest::getTaskId()const
|
||||
void QueryCallDetailByTaskIdRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
long QueryCallDetailByTaskIdRequest::getQueryDate()const
|
||||
@@ -79,7 +79,7 @@ long QueryCallDetailByTaskIdRequest::getQueryDate()const
|
||||
void QueryCallDetailByTaskIdRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
setParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryCallDetailByTaskIdRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QueryCallDetailByTaskIdRequest::getResourceOwnerAccount()const
|
||||
void QueryCallDetailByTaskIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryCallDetailByTaskIdRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long QueryCallDetailByTaskIdRequest::getOwnerId()const
|
||||
void QueryCallDetailByTaskIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotInfoListRequest::getResourceOwnerId()const
|
||||
void QueryRobotInfoListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getAuditStatus()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotInfoListRequest::getAuditStatus()const
|
||||
void QueryRobotInfoListRequest::setAuditStatus(const std::string& auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setCoreParameter("AuditStatus", auditStatus);
|
||||
setParameter("AuditStatus", auditStatus);
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRobotInfoListRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotInfoListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotInfoListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long QueryRobotInfoListRequest::getOwnerId()const
|
||||
void QueryRobotInfoListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotInfoListRequest::getAccessKeyId()const
|
||||
@@ -79,6 +79,6 @@ std::string QueryRobotInfoListRequest::getAccessKeyId()const
|
||||
void QueryRobotInfoListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotTaskCallDetailRequest::getResourceOwnerId()const
|
||||
void QueryRobotTaskCallDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getCallee()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotTaskCallDetailRequest::getCallee()const
|
||||
void QueryRobotTaskCallDetailRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setCoreParameter("Callee", callee);
|
||||
setParameter("Callee", callee);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRobotTaskCallDetailRequest::getAccessKeyId()const
|
||||
void QueryRobotTaskCallDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getTaskId()const
|
||||
@@ -68,7 +68,7 @@ long QueryRobotTaskCallDetailRequest::getTaskId()const
|
||||
void QueryRobotTaskCallDetailRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getQueryDate()const
|
||||
@@ -79,7 +79,7 @@ long QueryRobotTaskCallDetailRequest::getQueryDate()const
|
||||
void QueryRobotTaskCallDetailRequest::setQueryDate(long queryDate)
|
||||
{
|
||||
queryDate_ = queryDate;
|
||||
setCoreParameter("QueryDate", std::to_string(queryDate));
|
||||
setParameter("QueryDate", std::to_string(queryDate));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallDetailRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QueryRobotTaskCallDetailRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotTaskCallDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallDetailRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long QueryRobotTaskCallDetailRequest::getOwnerId()const
|
||||
void QueryRobotTaskCallDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotTaskCallListRequest::getResourceOwnerId()const
|
||||
void QueryRobotTaskCallListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getCalled()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotTaskCallListRequest::getCalled()const
|
||||
void QueryRobotTaskCallListRequest::setCalled(const std::string& called)
|
||||
{
|
||||
called_ = called;
|
||||
setCoreParameter("Called", called);
|
||||
setParameter("Called", called);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDialogCountTo()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRobotTaskCallListRequest::getDialogCountTo()const
|
||||
void QueryRobotTaskCallListRequest::setDialogCountTo(const std::string& dialogCountTo)
|
||||
{
|
||||
dialogCountTo_ = dialogCountTo;
|
||||
setCoreParameter("DialogCountTo", dialogCountTo);
|
||||
setParameter("DialogCountTo", dialogCountTo);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryRobotTaskCallListRequest::getAccessKeyId()const
|
||||
void QueryRobotTaskCallListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDurationFrom()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryRobotTaskCallListRequest::getDurationFrom()const
|
||||
void QueryRobotTaskCallListRequest::setDurationFrom(const std::string& durationFrom)
|
||||
{
|
||||
durationFrom_ = durationFrom;
|
||||
setCoreParameter("DurationFrom", durationFrom);
|
||||
setParameter("DurationFrom", durationFrom);
|
||||
}
|
||||
|
||||
int QueryRobotTaskCallListRequest::getPageSize()const
|
||||
@@ -90,7 +90,7 @@ int QueryRobotTaskCallListRequest::getPageSize()const
|
||||
void QueryRobotTaskCallListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getTaskId()const
|
||||
@@ -101,7 +101,7 @@ std::string QueryRobotTaskCallListRequest::getTaskId()const
|
||||
void QueryRobotTaskCallListRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getResourceOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string QueryRobotTaskCallListRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotTaskCallListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDialogCountFrom()const
|
||||
@@ -123,7 +123,7 @@ std::string QueryRobotTaskCallListRequest::getDialogCountFrom()const
|
||||
void QueryRobotTaskCallListRequest::setDialogCountFrom(const std::string& dialogCountFrom)
|
||||
{
|
||||
dialogCountFrom_ = dialogCountFrom;
|
||||
setCoreParameter("DialogCountFrom", dialogCountFrom);
|
||||
setParameter("DialogCountFrom", dialogCountFrom);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getDurationTo()const
|
||||
@@ -134,7 +134,7 @@ std::string QueryRobotTaskCallListRequest::getDurationTo()const
|
||||
void QueryRobotTaskCallListRequest::setDurationTo(const std::string& durationTo)
|
||||
{
|
||||
durationTo_ = durationTo;
|
||||
setCoreParameter("DurationTo", durationTo);
|
||||
setParameter("DurationTo", durationTo);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getHangupDirection()const
|
||||
@@ -145,7 +145,7 @@ std::string QueryRobotTaskCallListRequest::getHangupDirection()const
|
||||
void QueryRobotTaskCallListRequest::setHangupDirection(const std::string& hangupDirection)
|
||||
{
|
||||
hangupDirection_ = hangupDirection;
|
||||
setCoreParameter("HangupDirection", hangupDirection);
|
||||
setParameter("HangupDirection", hangupDirection);
|
||||
}
|
||||
|
||||
long QueryRobotTaskCallListRequest::getOwnerId()const
|
||||
@@ -156,7 +156,7 @@ long QueryRobotTaskCallListRequest::getOwnerId()const
|
||||
void QueryRobotTaskCallListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int QueryRobotTaskCallListRequest::getPageNo()const
|
||||
@@ -167,7 +167,7 @@ int QueryRobotTaskCallListRequest::getPageNo()const
|
||||
void QueryRobotTaskCallListRequest::setPageNo(int pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskCallListRequest::getCallResult()const
|
||||
@@ -178,6 +178,6 @@ std::string QueryRobotTaskCallListRequest::getCallResult()const
|
||||
void QueryRobotTaskCallListRequest::setCallResult(const std::string& callResult)
|
||||
{
|
||||
callResult_ = callResult;
|
||||
setCoreParameter("CallResult", callResult);
|
||||
setParameter("CallResult", callResult);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotTaskDetailRequest::getResourceOwnerId()const
|
||||
void QueryRobotTaskDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotTaskDetailRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotTaskDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotTaskDetailRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long QueryRobotTaskDetailRequest::getOwnerId()const
|
||||
void QueryRobotTaskDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskDetailRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryRobotTaskDetailRequest::getAccessKeyId()const
|
||||
void QueryRobotTaskDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long QueryRobotTaskDetailRequest::getId()const
|
||||
@@ -79,6 +79,6 @@ long QueryRobotTaskDetailRequest::getId()const
|
||||
void QueryRobotTaskDetailRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotTaskListRequest::getResourceOwnerId()const
|
||||
void QueryRobotTaskListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getTaskName()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotTaskListRequest::getTaskName()const
|
||||
void QueryRobotTaskListRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setCoreParameter("TaskName", taskName);
|
||||
setParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRobotTaskListRequest::getAccessKeyId()const
|
||||
void QueryRobotTaskListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int QueryRobotTaskListRequest::getPageSize()const
|
||||
@@ -68,7 +68,7 @@ int QueryRobotTaskListRequest::getPageSize()const
|
||||
void QueryRobotTaskListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryRobotTaskListRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotTaskListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotTaskListRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long QueryRobotTaskListRequest::getOwnerId()const
|
||||
void QueryRobotTaskListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int QueryRobotTaskListRequest::getPageNo()const
|
||||
@@ -101,7 +101,7 @@ int QueryRobotTaskListRequest::getPageNo()const
|
||||
void QueryRobotTaskListRequest::setPageNo(int pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getTime()const
|
||||
@@ -112,7 +112,7 @@ std::string QueryRobotTaskListRequest::getTime()const
|
||||
void QueryRobotTaskListRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
setParameter("Time", time);
|
||||
}
|
||||
|
||||
std::string QueryRobotTaskListRequest::getStatus()const
|
||||
@@ -123,6 +123,6 @@ std::string QueryRobotTaskListRequest::getStatus()const
|
||||
void QueryRobotTaskListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryRobotv2AllListRequest::getResourceOwnerId()const
|
||||
void QueryRobotv2AllListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryRobotv2AllListRequest::getResourceOwnerAccount()const
|
||||
void QueryRobotv2AllListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRobotv2AllListRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long QueryRobotv2AllListRequest::getOwnerId()const
|
||||
void QueryRobotv2AllListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRobotv2AllListRequest::getAccessKeyId()const
|
||||
@@ -68,6 +68,6 @@ std::string QueryRobotv2AllListRequest::getAccessKeyId()const
|
||||
void QueryRobotv2AllListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
84
dyvmsapi/src/model/QueryRtcNumberAuthStatusRequest.cc
Normal file
84
dyvmsapi/src/model/QueryRtcNumberAuthStatusRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::QueryRtcNumberAuthStatusRequest;
|
||||
|
||||
QueryRtcNumberAuthStatusRequest::QueryRtcNumberAuthStatusRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "QueryRtcNumberAuthStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryRtcNumberAuthStatusRequest::~QueryRtcNumberAuthStatusRequest()
|
||||
{}
|
||||
|
||||
long QueryRtcNumberAuthStatusRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryRtcNumberAuthStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRtcNumberAuthStatusRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryRtcNumberAuthStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryRtcNumberAuthStatusRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void QueryRtcNumberAuthStatusRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long QueryRtcNumberAuthStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryRtcNumberAuthStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRtcNumberAuthStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryRtcNumberAuthStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/QueryRtcNumberAuthStatusResult.cc
Normal file
65
dyvmsapi/src/model/QueryRtcNumberAuthStatusResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/QueryRtcNumberAuthStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
QueryRtcNumberAuthStatusResult::QueryRtcNumberAuthStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRtcNumberAuthStatusResult::QueryRtcNumberAuthStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRtcNumberAuthStatusResult::~QueryRtcNumberAuthStatusResult()
|
||||
{}
|
||||
|
||||
void QueryRtcNumberAuthStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
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 QueryRtcNumberAuthStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryRtcNumberAuthStatusResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string QueryRtcNumberAuthStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long QueryVoipNumberBindInfosRequest::getResourceOwnerId()const
|
||||
void QueryVoipNumberBindInfosRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryVoipNumberBindInfosRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryVoipNumberBindInfosRequest::getResourceOwnerAccount()const
|
||||
void QueryVoipNumberBindInfosRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryVoipNumberBindInfosRequest::getPhoneNumber()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryVoipNumberBindInfosRequest::getPhoneNumber()const
|
||||
void QueryVoipNumberBindInfosRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setCoreParameter("PhoneNumber", phoneNumber);
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long QueryVoipNumberBindInfosRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long QueryVoipNumberBindInfosRequest::getOwnerId()const
|
||||
void QueryVoipNumberBindInfosRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryVoipNumberBindInfosRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryVoipNumberBindInfosRequest::getAccessKeyId()const
|
||||
void QueryVoipNumberBindInfosRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryVoipNumberBindInfosRequest::getVoipId()const
|
||||
@@ -90,6 +90,6 @@ std::string QueryVoipNumberBindInfosRequest::getVoipId()const
|
||||
void QueryVoipNumberBindInfosRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setCoreParameter("VoipId", voipId);
|
||||
setParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ReportVoipProblemsRequest::getResourceOwnerId()const
|
||||
void ReportVoipProblemsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getTitle()const
|
||||
@@ -46,7 +46,7 @@ std::string ReportVoipProblemsRequest::getTitle()const
|
||||
void ReportVoipProblemsRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string ReportVoipProblemsRequest::getAccessKeyId()const
|
||||
void ReportVoipProblemsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getVoipId()const
|
||||
@@ -68,7 +68,7 @@ std::string ReportVoipProblemsRequest::getVoipId()const
|
||||
void ReportVoipProblemsRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setCoreParameter("VoipId", voipId);
|
||||
setParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string ReportVoipProblemsRequest::getResourceOwnerAccount()const
|
||||
void ReportVoipProblemsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ReportVoipProblemsRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long ReportVoipProblemsRequest::getOwnerId()const
|
||||
void ReportVoipProblemsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getChannelId()const
|
||||
@@ -101,7 +101,7 @@ std::string ReportVoipProblemsRequest::getChannelId()const
|
||||
void ReportVoipProblemsRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
setParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
std::string ReportVoipProblemsRequest::getDesc()const
|
||||
@@ -112,6 +112,6 @@ std::string ReportVoipProblemsRequest::getDesc()const
|
||||
void ReportVoipProblemsRequest::setDesc(const std::string& desc)
|
||||
{
|
||||
desc_ = desc;
|
||||
setCoreParameter("Desc", desc);
|
||||
setParameter("Desc", desc);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long SingleCallByTtsRequest::getResourceOwnerId()const
|
||||
void SingleCallByTtsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getTtsParam()const
|
||||
@@ -46,7 +46,7 @@ std::string SingleCallByTtsRequest::getTtsParam()const
|
||||
void SingleCallByTtsRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
setParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getSpeed()const
|
||||
@@ -57,7 +57,7 @@ int SingleCallByTtsRequest::getSpeed()const
|
||||
void SingleCallByTtsRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string SingleCallByTtsRequest::getAccessKeyId()const
|
||||
void SingleCallByTtsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getCalledNumber()const
|
||||
@@ -79,7 +79,7 @@ std::string SingleCallByTtsRequest::getCalledNumber()const
|
||||
void SingleCallByTtsRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getCalledShowNumber()const
|
||||
@@ -90,7 +90,7 @@ std::string SingleCallByTtsRequest::getCalledShowNumber()const
|
||||
void SingleCallByTtsRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string SingleCallByTtsRequest::getResourceOwnerAccount()const
|
||||
void SingleCallByTtsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getTtsCode()const
|
||||
@@ -112,7 +112,7 @@ std::string SingleCallByTtsRequest::getTtsCode()const
|
||||
void SingleCallByTtsRequest::setTtsCode(const std::string& ttsCode)
|
||||
{
|
||||
ttsCode_ = ttsCode;
|
||||
setCoreParameter("TtsCode", ttsCode);
|
||||
setParameter("TtsCode", ttsCode);
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getPlayTimes()const
|
||||
@@ -123,7 +123,7 @@ int SingleCallByTtsRequest::getPlayTimes()const
|
||||
void SingleCallByTtsRequest::setPlayTimes(int playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
long SingleCallByTtsRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long SingleCallByTtsRequest::getOwnerId()const
|
||||
void SingleCallByTtsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SingleCallByTtsRequest::getVolume()const
|
||||
@@ -145,7 +145,7 @@ int SingleCallByTtsRequest::getVolume()const
|
||||
void SingleCallByTtsRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
std::string SingleCallByTtsRequest::getOutId()const
|
||||
@@ -156,6 +156,6 @@ std::string SingleCallByTtsRequest::getOutId()const
|
||||
void SingleCallByTtsRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long SingleCallByVoiceRequest::getResourceOwnerId()const
|
||||
void SingleCallByVoiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int SingleCallByVoiceRequest::getSpeed()const
|
||||
@@ -46,7 +46,7 @@ int SingleCallByVoiceRequest::getSpeed()const
|
||||
void SingleCallByVoiceRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string SingleCallByVoiceRequest::getAccessKeyId()const
|
||||
void SingleCallByVoiceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getCalledNumber()const
|
||||
@@ -68,7 +68,7 @@ std::string SingleCallByVoiceRequest::getCalledNumber()const
|
||||
void SingleCallByVoiceRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getVoiceCode()const
|
||||
@@ -79,7 +79,7 @@ std::string SingleCallByVoiceRequest::getVoiceCode()const
|
||||
void SingleCallByVoiceRequest::setVoiceCode(const std::string& voiceCode)
|
||||
{
|
||||
voiceCode_ = voiceCode;
|
||||
setCoreParameter("VoiceCode", voiceCode);
|
||||
setParameter("VoiceCode", voiceCode);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getCalledShowNumber()const
|
||||
@@ -90,7 +90,7 @@ std::string SingleCallByVoiceRequest::getCalledShowNumber()const
|
||||
void SingleCallByVoiceRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string SingleCallByVoiceRequest::getResourceOwnerAccount()const
|
||||
void SingleCallByVoiceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int SingleCallByVoiceRequest::getPlayTimes()const
|
||||
@@ -112,7 +112,7 @@ int SingleCallByVoiceRequest::getPlayTimes()const
|
||||
void SingleCallByVoiceRequest::setPlayTimes(int playTimes)
|
||||
{
|
||||
playTimes_ = playTimes;
|
||||
setCoreParameter("PlayTimes", std::to_string(playTimes));
|
||||
setParameter("PlayTimes", std::to_string(playTimes));
|
||||
}
|
||||
|
||||
long SingleCallByVoiceRequest::getOwnerId()const
|
||||
@@ -123,7 +123,7 @@ long SingleCallByVoiceRequest::getOwnerId()const
|
||||
void SingleCallByVoiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SingleCallByVoiceRequest::getVolume()const
|
||||
@@ -134,7 +134,7 @@ int SingleCallByVoiceRequest::getVolume()const
|
||||
void SingleCallByVoiceRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
std::string SingleCallByVoiceRequest::getOutId()const
|
||||
@@ -145,6 +145,6 @@ std::string SingleCallByVoiceRequest::getOutId()const
|
||||
void SingleCallByVoiceRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string SmartCallOperateRequest::getCallId()const
|
||||
void SmartCallOperateRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long SmartCallOperateRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long SmartCallOperateRequest::getResourceOwnerId()const
|
||||
void SmartCallOperateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string SmartCallOperateRequest::getAccessKeyId()const
|
||||
void SmartCallOperateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getParam()const
|
||||
@@ -68,7 +68,7 @@ std::string SmartCallOperateRequest::getParam()const
|
||||
void SmartCallOperateRequest::setParam(const std::string& param)
|
||||
{
|
||||
param_ = param;
|
||||
setCoreParameter("Param", param);
|
||||
setParameter("Param", param);
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string SmartCallOperateRequest::getResourceOwnerAccount()const
|
||||
void SmartCallOperateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long SmartCallOperateRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long SmartCallOperateRequest::getOwnerId()const
|
||||
void SmartCallOperateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SmartCallOperateRequest::getCommand()const
|
||||
@@ -101,6 +101,6 @@ std::string SmartCallOperateRequest::getCommand()const
|
||||
void SmartCallOperateRequest::setCommand(const std::string& command)
|
||||
{
|
||||
command_ = command;
|
||||
setCoreParameter("Command", command);
|
||||
setParameter("Command", command);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long SmartCallRequest::getResourceOwnerId()const
|
||||
void SmartCallRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getVoiceCodeParam()const
|
||||
@@ -46,7 +46,7 @@ std::string SmartCallRequest::getVoiceCodeParam()const
|
||||
void SmartCallRequest::setVoiceCodeParam(const std::string& voiceCodeParam)
|
||||
{
|
||||
voiceCodeParam_ = voiceCodeParam;
|
||||
setCoreParameter("VoiceCodeParam", voiceCodeParam);
|
||||
setParameter("VoiceCodeParam", voiceCodeParam);
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getEarlyMediaAsr()const
|
||||
@@ -57,7 +57,7 @@ bool SmartCallRequest::getEarlyMediaAsr()const
|
||||
void SmartCallRequest::setEarlyMediaAsr(bool earlyMediaAsr)
|
||||
{
|
||||
earlyMediaAsr_ = earlyMediaAsr;
|
||||
setCoreParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
setParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
|
||||
}
|
||||
|
||||
int SmartCallRequest::getSpeed()const
|
||||
@@ -68,7 +68,7 @@ int SmartCallRequest::getSpeed()const
|
||||
void SmartCallRequest::setSpeed(int speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setCoreParameter("Speed", std::to_string(speed));
|
||||
setParameter("Speed", std::to_string(speed));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string SmartCallRequest::getAccessKeyId()const
|
||||
void SmartCallRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getAsrBaseId()const
|
||||
@@ -90,7 +90,7 @@ std::string SmartCallRequest::getAsrBaseId()const
|
||||
void SmartCallRequest::setAsrBaseId(const std::string& asrBaseId)
|
||||
{
|
||||
asrBaseId_ = asrBaseId;
|
||||
setCoreParameter("AsrBaseId", asrBaseId);
|
||||
setParameter("AsrBaseId", asrBaseId);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getSessionTimeout()const
|
||||
@@ -101,7 +101,7 @@ int SmartCallRequest::getSessionTimeout()const
|
||||
void SmartCallRequest::setSessionTimeout(int sessionTimeout)
|
||||
{
|
||||
sessionTimeout_ = sessionTimeout;
|
||||
setCoreParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
setParameter("SessionTimeout", std::to_string(sessionTimeout));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getDynamicId()const
|
||||
@@ -112,7 +112,7 @@ std::string SmartCallRequest::getDynamicId()const
|
||||
void SmartCallRequest::setDynamicId(const std::string& dynamicId)
|
||||
{
|
||||
dynamicId_ = dynamicId;
|
||||
setCoreParameter("DynamicId", dynamicId);
|
||||
setParameter("DynamicId", dynamicId);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getCalledNumber()const
|
||||
@@ -123,7 +123,7 @@ std::string SmartCallRequest::getCalledNumber()const
|
||||
void SmartCallRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getTtsSpeed()const
|
||||
@@ -134,7 +134,7 @@ int SmartCallRequest::getTtsSpeed()const
|
||||
void SmartCallRequest::setTtsSpeed(int ttsSpeed)
|
||||
{
|
||||
ttsSpeed_ = ttsSpeed;
|
||||
setCoreParameter("TtsSpeed", std::to_string(ttsSpeed));
|
||||
setParameter("TtsSpeed", std::to_string(ttsSpeed));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getVoiceCode()const
|
||||
@@ -145,7 +145,7 @@ std::string SmartCallRequest::getVoiceCode()const
|
||||
void SmartCallRequest::setVoiceCode(const std::string& voiceCode)
|
||||
{
|
||||
voiceCode_ = voiceCode;
|
||||
setCoreParameter("VoiceCode", voiceCode);
|
||||
setParameter("VoiceCode", voiceCode);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getCalledShowNumber()const
|
||||
@@ -156,7 +156,7 @@ std::string SmartCallRequest::getCalledShowNumber()const
|
||||
void SmartCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
|
||||
{
|
||||
calledShowNumber_ = calledShowNumber;
|
||||
setCoreParameter("CalledShowNumber", calledShowNumber);
|
||||
setParameter("CalledShowNumber", calledShowNumber);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getActionCodeTimeBreak()const
|
||||
@@ -167,7 +167,7 @@ int SmartCallRequest::getActionCodeTimeBreak()const
|
||||
void SmartCallRequest::setActionCodeTimeBreak(int actionCodeTimeBreak)
|
||||
{
|
||||
actionCodeTimeBreak_ = actionCodeTimeBreak;
|
||||
setCoreParameter("ActionCodeTimeBreak", std::to_string(actionCodeTimeBreak));
|
||||
setParameter("ActionCodeTimeBreak", std::to_string(actionCodeTimeBreak));
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getTtsConf()const
|
||||
@@ -178,7 +178,7 @@ bool SmartCallRequest::getTtsConf()const
|
||||
void SmartCallRequest::setTtsConf(bool ttsConf)
|
||||
{
|
||||
ttsConf_ = ttsConf;
|
||||
setCoreParameter("TtsConf", ttsConf ? "true" : "false");
|
||||
setParameter("TtsConf", ttsConf ? "true" : "false");
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getActionCodeBreak()const
|
||||
@@ -189,7 +189,7 @@ bool SmartCallRequest::getActionCodeBreak()const
|
||||
void SmartCallRequest::setActionCodeBreak(bool actionCodeBreak)
|
||||
{
|
||||
actionCodeBreak_ = actionCodeBreak;
|
||||
setCoreParameter("ActionCodeBreak", actionCodeBreak ? "true" : "false");
|
||||
setParameter("ActionCodeBreak", actionCodeBreak ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getResourceOwnerAccount()const
|
||||
@@ -200,7 +200,7 @@ std::string SmartCallRequest::getResourceOwnerAccount()const
|
||||
void SmartCallRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool SmartCallRequest::getRecordFlag()const
|
||||
@@ -211,7 +211,7 @@ bool SmartCallRequest::getRecordFlag()const
|
||||
void SmartCallRequest::setRecordFlag(bool recordFlag)
|
||||
{
|
||||
recordFlag_ = recordFlag;
|
||||
setCoreParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
setParameter("RecordFlag", recordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
long SmartCallRequest::getOwnerId()const
|
||||
@@ -222,7 +222,7 @@ long SmartCallRequest::getOwnerId()const
|
||||
void SmartCallRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getTtsVolume()const
|
||||
@@ -233,7 +233,7 @@ int SmartCallRequest::getTtsVolume()const
|
||||
void SmartCallRequest::setTtsVolume(int ttsVolume)
|
||||
{
|
||||
ttsVolume_ = ttsVolume;
|
||||
setCoreParameter("TtsVolume", std::to_string(ttsVolume));
|
||||
setParameter("TtsVolume", std::to_string(ttsVolume));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getVolume()const
|
||||
@@ -244,7 +244,7 @@ int SmartCallRequest::getVolume()const
|
||||
void SmartCallRequest::setVolume(int volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
setCoreParameter("Volume", std::to_string(volume));
|
||||
setParameter("Volume", std::to_string(volume));
|
||||
}
|
||||
|
||||
int SmartCallRequest::getMuteTime()const
|
||||
@@ -255,7 +255,7 @@ int SmartCallRequest::getMuteTime()const
|
||||
void SmartCallRequest::setMuteTime(int muteTime)
|
||||
{
|
||||
muteTime_ = muteTime;
|
||||
setCoreParameter("MuteTime", std::to_string(muteTime));
|
||||
setParameter("MuteTime", std::to_string(muteTime));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getOutId()const
|
||||
@@ -266,7 +266,7 @@ std::string SmartCallRequest::getOutId()const
|
||||
void SmartCallRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getAsrModelId()const
|
||||
@@ -277,7 +277,7 @@ std::string SmartCallRequest::getAsrModelId()const
|
||||
void SmartCallRequest::setAsrModelId(const std::string& asrModelId)
|
||||
{
|
||||
asrModelId_ = asrModelId;
|
||||
setCoreParameter("AsrModelId", asrModelId);
|
||||
setParameter("AsrModelId", asrModelId);
|
||||
}
|
||||
|
||||
int SmartCallRequest::getPauseTime()const
|
||||
@@ -288,7 +288,7 @@ int SmartCallRequest::getPauseTime()const
|
||||
void SmartCallRequest::setPauseTime(int pauseTime)
|
||||
{
|
||||
pauseTime_ = pauseTime;
|
||||
setCoreParameter("PauseTime", std::to_string(pauseTime));
|
||||
setParameter("PauseTime", std::to_string(pauseTime));
|
||||
}
|
||||
|
||||
std::string SmartCallRequest::getTtsStyle()const
|
||||
@@ -299,6 +299,6 @@ std::string SmartCallRequest::getTtsStyle()const
|
||||
void SmartCallRequest::setTtsStyle(const std::string& ttsStyle)
|
||||
{
|
||||
ttsStyle_ = ttsStyle;
|
||||
setCoreParameter("TtsStyle", ttsStyle);
|
||||
setParameter("TtsStyle", ttsStyle);
|
||||
}
|
||||
|
||||
|
||||
161
dyvmsapi/src/model/StartMicroOutboundRequest.cc
Normal file
161
dyvmsapi/src/model/StartMicroOutboundRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StartMicroOutboundRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::StartMicroOutboundRequest;
|
||||
|
||||
StartMicroOutboundRequest::StartMicroOutboundRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "StartMicroOutbound")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartMicroOutboundRequest::~StartMicroOutboundRequest()
|
||||
{}
|
||||
|
||||
long StartMicroOutboundRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getAccountId()const
|
||||
{
|
||||
return accountId_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setAccountId(const std::string& accountId)
|
||||
{
|
||||
accountId_ = accountId;
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getCommandCode()const
|
||||
{
|
||||
return commandCode_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setCommandCode(const std::string& commandCode)
|
||||
{
|
||||
commandCode_ = commandCode;
|
||||
setParameter("CommandCode", commandCode);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getCalledNumber()const
|
||||
{
|
||||
return calledNumber_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getExtInfo()const
|
||||
{
|
||||
return extInfo_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setExtInfo(const std::string& extInfo)
|
||||
{
|
||||
extInfo_ = extInfo;
|
||||
setParameter("ExtInfo", extInfo);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getProdCode()const
|
||||
{
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setProdCode(const std::string& prodCode)
|
||||
{
|
||||
prodCode_ = prodCode;
|
||||
setParameter("ProdCode", prodCode);
|
||||
}
|
||||
|
||||
long StartMicroOutboundRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundRequest::getCallingNumber()const
|
||||
{
|
||||
return callingNumber_;
|
||||
}
|
||||
|
||||
void StartMicroOutboundRequest::setCallingNumber(const std::string& callingNumber)
|
||||
{
|
||||
callingNumber_ = callingNumber;
|
||||
setParameter("CallingNumber", callingNumber);
|
||||
}
|
||||
|
||||
79
dyvmsapi/src/model/StartMicroOutboundResult.cc
Normal file
79
dyvmsapi/src/model/StartMicroOutboundResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/StartMicroOutboundResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
StartMicroOutboundResult::StartMicroOutboundResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartMicroOutboundResult::StartMicroOutboundResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartMicroOutboundResult::~StartMicroOutboundResult()
|
||||
{}
|
||||
|
||||
void StartMicroOutboundResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["CustomerInfo"].isNull())
|
||||
customerInfo_ = value["CustomerInfo"].asString();
|
||||
if(!value["InvokeCmdId"].isNull())
|
||||
invokeCmdId_ = value["InvokeCmdId"].asString();
|
||||
if(!value["InvokeCreateTime"].isNull())
|
||||
invokeCreateTime_ = value["InvokeCreateTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundResult::getInvokeCreateTime()const
|
||||
{
|
||||
return invokeCreateTime_;
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundResult::getInvokeCmdId()const
|
||||
{
|
||||
return invokeCmdId_;
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundResult::getCustomerInfo()const
|
||||
{
|
||||
return customerInfo_;
|
||||
}
|
||||
|
||||
std::string StartMicroOutboundResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long StartRobotTaskRequest::getResourceOwnerId()const
|
||||
void StartRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string StartRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void StartRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long StartRobotTaskRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long StartRobotTaskRequest::getOwnerId()const
|
||||
void StartRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string StartRobotTaskRequest::getAccessKeyId()const
|
||||
void StartRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartRobotTaskRequest::getScheduleTime()const
|
||||
@@ -79,7 +79,7 @@ std::string StartRobotTaskRequest::getScheduleTime()const
|
||||
void StartRobotTaskRequest::setScheduleTime(const std::string& scheduleTime)
|
||||
{
|
||||
scheduleTime_ = scheduleTime;
|
||||
setCoreParameter("ScheduleTime", scheduleTime);
|
||||
setParameter("ScheduleTime", scheduleTime);
|
||||
}
|
||||
|
||||
long StartRobotTaskRequest::getTaskId()const
|
||||
@@ -90,6 +90,6 @@ long StartRobotTaskRequest::getTaskId()const
|
||||
void StartRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long StopRobotTaskRequest::getResourceOwnerId()const
|
||||
void StopRobotTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string StopRobotTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string StopRobotTaskRequest::getResourceOwnerAccount()const
|
||||
void StopRobotTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long StopRobotTaskRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long StopRobotTaskRequest::getOwnerId()const
|
||||
void StopRobotTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StopRobotTaskRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string StopRobotTaskRequest::getAccessKeyId()const
|
||||
void StopRobotTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long StopRobotTaskRequest::getTaskId()const
|
||||
@@ -79,6 +79,6 @@ long StopRobotTaskRequest::getTaskId()const
|
||||
void StopRobotTaskRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long UnbindNumberAndVoipIdRequest::getResourceOwnerId()const
|
||||
void UnbindNumberAndVoipIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnbindNumberAndVoipIdRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string UnbindNumberAndVoipIdRequest::getResourceOwnerAccount()const
|
||||
void UnbindNumberAndVoipIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UnbindNumberAndVoipIdRequest::getPhoneNumber()const
|
||||
@@ -57,7 +57,7 @@ std::string UnbindNumberAndVoipIdRequest::getPhoneNumber()const
|
||||
void UnbindNumberAndVoipIdRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setCoreParameter("PhoneNumber", phoneNumber);
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long UnbindNumberAndVoipIdRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long UnbindNumberAndVoipIdRequest::getOwnerId()const
|
||||
void UnbindNumberAndVoipIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnbindNumberAndVoipIdRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string UnbindNumberAndVoipIdRequest::getAccessKeyId()const
|
||||
void UnbindNumberAndVoipIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnbindNumberAndVoipIdRequest::getVoipId()const
|
||||
@@ -90,6 +90,6 @@ std::string UnbindNumberAndVoipIdRequest::getVoipId()const
|
||||
void UnbindNumberAndVoipIdRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setCoreParameter("VoipId", voipId);
|
||||
setParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
|
||||
84
dyvmsapi/src/model/UndoRtcNumberAuthRequest.cc
Normal file
84
dyvmsapi/src/model/UndoRtcNumberAuthRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/UndoRtcNumberAuthRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyvmsapi::Model::UndoRtcNumberAuthRequest;
|
||||
|
||||
UndoRtcNumberAuthRequest::UndoRtcNumberAuthRequest() :
|
||||
RpcServiceRequest("dyvmsapi", "2017-05-25", "UndoRtcNumberAuth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UndoRtcNumberAuthRequest::~UndoRtcNumberAuthRequest()
|
||||
{}
|
||||
|
||||
long UndoRtcNumberAuthRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UndoRtcNumberAuthRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UndoRtcNumberAuthRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UndoRtcNumberAuthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UndoRtcNumberAuthRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void UndoRtcNumberAuthRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long UndoRtcNumberAuthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UndoRtcNumberAuthRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UndoRtcNumberAuthRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UndoRtcNumberAuthRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
65
dyvmsapi/src/model/UndoRtcNumberAuthResult.cc
Normal file
65
dyvmsapi/src/model/UndoRtcNumberAuthResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyvmsapi/model/UndoRtcNumberAuthResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyvmsapi;
|
||||
using namespace AlibabaCloud::Dyvmsapi::Model;
|
||||
|
||||
UndoRtcNumberAuthResult::UndoRtcNumberAuthResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UndoRtcNumberAuthResult::UndoRtcNumberAuthResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UndoRtcNumberAuthResult::~UndoRtcNumberAuthResult()
|
||||
{}
|
||||
|
||||
void UndoRtcNumberAuthResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
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 UndoRtcNumberAuthResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string UndoRtcNumberAuthResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string UndoRtcNumberAuthResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long UploadRobotTaskCalledFileRequest::getResourceOwnerId()const
|
||||
void UploadRobotTaskCalledFileRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getTtsParamHead()const
|
||||
@@ -46,7 +46,7 @@ std::string UploadRobotTaskCalledFileRequest::getTtsParamHead()const
|
||||
void UploadRobotTaskCalledFileRequest::setTtsParamHead(const std::string& ttsParamHead)
|
||||
{
|
||||
ttsParamHead_ = ttsParamHead;
|
||||
setCoreParameter("TtsParamHead", ttsParamHead);
|
||||
setParameter("TtsParamHead", ttsParamHead);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getTtsParam()const
|
||||
@@ -57,7 +57,7 @@ std::string UploadRobotTaskCalledFileRequest::getTtsParam()const
|
||||
void UploadRobotTaskCalledFileRequest::setTtsParam(const std::string& ttsParam)
|
||||
{
|
||||
ttsParam_ = ttsParam;
|
||||
setCoreParameter("TtsParam", ttsParam);
|
||||
setParameter("TtsParam", ttsParam);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string UploadRobotTaskCalledFileRequest::getAccessKeyId()const
|
||||
void UploadRobotTaskCalledFileRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getCalledNumber()const
|
||||
@@ -79,7 +79,7 @@ std::string UploadRobotTaskCalledFileRequest::getCalledNumber()const
|
||||
void UploadRobotTaskCalledFileRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
long UploadRobotTaskCalledFileRequest::getId()const
|
||||
@@ -90,7 +90,7 @@ long UploadRobotTaskCalledFileRequest::getId()const
|
||||
void UploadRobotTaskCalledFileRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string UploadRobotTaskCalledFileRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string UploadRobotTaskCalledFileRequest::getResourceOwnerAccount()const
|
||||
void UploadRobotTaskCalledFileRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UploadRobotTaskCalledFileRequest::getOwnerId()const
|
||||
@@ -112,6 +112,6 @@ long UploadRobotTaskCalledFileRequest::getOwnerId()const
|
||||
void UploadRobotTaskCalledFileRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long VoipAddAccountRequest::getResourceOwnerId()const
|
||||
void VoipAddAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string VoipAddAccountRequest::getResourceOwnerAccount()const
|
||||
void VoipAddAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long VoipAddAccountRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long VoipAddAccountRequest::getOwnerId()const
|
||||
void VoipAddAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getDeviceId()const
|
||||
@@ -68,7 +68,7 @@ std::string VoipAddAccountRequest::getDeviceId()const
|
||||
void VoipAddAccountRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
setParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
std::string VoipAddAccountRequest::getAccessKeyId()const
|
||||
@@ -79,6 +79,6 @@ std::string VoipAddAccountRequest::getAccessKeyId()const
|
||||
void VoipAddAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long VoipGetTokenRequest::getResourceOwnerId()const
|
||||
void VoipGetTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string VoipGetTokenRequest::getAccessKeyId()const
|
||||
void VoipGetTokenRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getVoipId()const
|
||||
@@ -57,7 +57,7 @@ std::string VoipGetTokenRequest::getVoipId()const
|
||||
void VoipGetTokenRequest::setVoipId(const std::string& voipId)
|
||||
{
|
||||
voipId_ = voipId;
|
||||
setCoreParameter("VoipId", voipId);
|
||||
setParameter("VoipId", voipId);
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string VoipGetTokenRequest::getResourceOwnerAccount()const
|
||||
void VoipGetTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long VoipGetTokenRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long VoipGetTokenRequest::getOwnerId()const
|
||||
void VoipGetTokenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string VoipGetTokenRequest::getDeviceId()const
|
||||
@@ -90,7 +90,7 @@ std::string VoipGetTokenRequest::getDeviceId()const
|
||||
void VoipGetTokenRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setCoreParameter("DeviceId", deviceId);
|
||||
setParameter("DeviceId", deviceId);
|
||||
}
|
||||
|
||||
bool VoipGetTokenRequest::getIsCustomAccount()const
|
||||
@@ -101,6 +101,6 @@ bool VoipGetTokenRequest::getIsCustomAccount()const
|
||||
void VoipGetTokenRequest::setIsCustomAccount(bool isCustomAccount)
|
||||
{
|
||||
isCustomAccount_ = isCustomAccount;
|
||||
setCoreParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
setParameter("IsCustomAccount", isCustomAccount ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user