由峰远发起的DYVMSAPI SDK自动发布, 版本号:1.10.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
118
dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h
Normal file
118
dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiClient.h
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DYVMSAPICLIENT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_DYVMSAPICLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DyvmsapiExport.h"
|
||||
#include "model/SmartCallRequest.h"
|
||||
#include "model/SmartCallResult.h"
|
||||
#include "model/QueryCallDetailByCallIdRequest.h"
|
||||
#include "model/QueryCallDetailByCallIdResult.h"
|
||||
#include "model/VoipAddAccountRequest.h"
|
||||
#include "model/VoipAddAccountResult.h"
|
||||
#include "model/CancelCallRequest.h"
|
||||
#include "model/CancelCallResult.h"
|
||||
#include "model/VoipGetTokenRequest.h"
|
||||
#include "model/VoipGetTokenResult.h"
|
||||
#include "model/ClickToDialRequest.h"
|
||||
#include "model/ClickToDialResult.h"
|
||||
#include "model/IvrCallRequest.h"
|
||||
#include "model/IvrCallResult.h"
|
||||
#include "model/SingleCallByVoiceRequest.h"
|
||||
#include "model/SingleCallByVoiceResult.h"
|
||||
#include "model/SingleCallByTtsRequest.h"
|
||||
#include "model/SingleCallByTtsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyvmsapi
|
||||
{
|
||||
class ALIBABACLOUD_DYVMSAPI_EXPORT DyvmsapiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::SmartCallResult> SmartCallOutcome;
|
||||
typedef std::future<SmartCallOutcome> SmartCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SmartCallRequest&, const SmartCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SmartCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCallDetailByCallIdResult> QueryCallDetailByCallIdOutcome;
|
||||
typedef std::future<QueryCallDetailByCallIdOutcome> QueryCallDetailByCallIdOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::QueryCallDetailByCallIdRequest&, const QueryCallDetailByCallIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallDetailByCallIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::VoipAddAccountResult> VoipAddAccountOutcome;
|
||||
typedef std::future<VoipAddAccountOutcome> VoipAddAccountOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::VoipAddAccountRequest&, const VoipAddAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoipAddAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelCallResult> CancelCallOutcome;
|
||||
typedef std::future<CancelCallOutcome> CancelCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::CancelCallRequest&, const CancelCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::VoipGetTokenResult> VoipGetTokenOutcome;
|
||||
typedef std::future<VoipGetTokenOutcome> VoipGetTokenOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::VoipGetTokenRequest&, const VoipGetTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoipGetTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClickToDialResult> ClickToDialOutcome;
|
||||
typedef std::future<ClickToDialOutcome> ClickToDialOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::ClickToDialRequest&, const ClickToDialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClickToDialAsyncHandler;
|
||||
typedef Outcome<Error, Model::IvrCallResult> IvrCallOutcome;
|
||||
typedef std::future<IvrCallOutcome> IvrCallOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::IvrCallRequest&, const IvrCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IvrCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::SingleCallByVoiceResult> SingleCallByVoiceOutcome;
|
||||
typedef std::future<SingleCallByVoiceOutcome> SingleCallByVoiceOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByVoiceRequest&, const SingleCallByVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByVoiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SingleCallByTtsResult> SingleCallByTtsOutcome;
|
||||
typedef std::future<SingleCallByTtsOutcome> SingleCallByTtsOutcomeCallable;
|
||||
typedef std::function<void(const DyvmsapiClient*, const Model::SingleCallByTtsRequest&, const SingleCallByTtsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SingleCallByTtsAsyncHandler;
|
||||
|
||||
DyvmsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DyvmsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DyvmsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DyvmsapiClient();
|
||||
SmartCallOutcome smartCall(const Model::SmartCallRequest &request)const;
|
||||
void smartCallAsync(const Model::SmartCallRequest& request, const SmartCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SmartCallOutcomeCallable smartCallCallable(const Model::SmartCallRequest& request) const;
|
||||
QueryCallDetailByCallIdOutcome queryCallDetailByCallId(const Model::QueryCallDetailByCallIdRequest &request)const;
|
||||
void queryCallDetailByCallIdAsync(const Model::QueryCallDetailByCallIdRequest& request, const QueryCallDetailByCallIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCallDetailByCallIdOutcomeCallable queryCallDetailByCallIdCallable(const Model::QueryCallDetailByCallIdRequest& request) const;
|
||||
VoipAddAccountOutcome voipAddAccount(const Model::VoipAddAccountRequest &request)const;
|
||||
void voipAddAccountAsync(const Model::VoipAddAccountRequest& request, const VoipAddAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoipAddAccountOutcomeCallable voipAddAccountCallable(const Model::VoipAddAccountRequest& request) const;
|
||||
CancelCallOutcome cancelCall(const Model::CancelCallRequest &request)const;
|
||||
void cancelCallAsync(const Model::CancelCallRequest& request, const CancelCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelCallOutcomeCallable cancelCallCallable(const Model::CancelCallRequest& request) const;
|
||||
VoipGetTokenOutcome voipGetToken(const Model::VoipGetTokenRequest &request)const;
|
||||
void voipGetTokenAsync(const Model::VoipGetTokenRequest& request, const VoipGetTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoipGetTokenOutcomeCallable voipGetTokenCallable(const Model::VoipGetTokenRequest& request) const;
|
||||
ClickToDialOutcome clickToDial(const Model::ClickToDialRequest &request)const;
|
||||
void clickToDialAsync(const Model::ClickToDialRequest& request, const ClickToDialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClickToDialOutcomeCallable clickToDialCallable(const Model::ClickToDialRequest& request) const;
|
||||
IvrCallOutcome ivrCall(const Model::IvrCallRequest &request)const;
|
||||
void ivrCallAsync(const Model::IvrCallRequest& request, const IvrCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
IvrCallOutcomeCallable ivrCallCallable(const Model::IvrCallRequest& request) const;
|
||||
SingleCallByVoiceOutcome singleCallByVoice(const Model::SingleCallByVoiceRequest &request)const;
|
||||
void singleCallByVoiceAsync(const Model::SingleCallByVoiceRequest& request, const SingleCallByVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SingleCallByVoiceOutcomeCallable singleCallByVoiceCallable(const Model::SingleCallByVoiceRequest& request) const;
|
||||
SingleCallByTtsOutcome singleCallByTts(const Model::SingleCallByTtsRequest &request)const;
|
||||
void singleCallByTtsAsync(const Model::SingleCallByTtsRequest& request, const SingleCallByTtsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SingleCallByTtsOutcomeCallable singleCallByTtsCallable(const Model::SingleCallByTtsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_DYVMSAPICLIENT_H_
|
||||
32
dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiExport.h
Normal file
32
dyvmsapi/include/alibabacloud/dyvmsapi/DyvmsapiExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DYVMSAPIEXPORT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_DYVMSAPIEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DYVMSAPI_LIBRARY)
|
||||
# define ALIBABACLOUD_DYVMSAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DYVMSAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DYVMSAPI_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_DYVMSAPIEXPORT_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_CANCELCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELCALLREQUEST_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 CancelCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelCallRequest();
|
||||
~CancelCallRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CANCELCALLREQUEST_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_CANCELCALLRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CANCELCALLRESULT_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 CancelCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelCallResult();
|
||||
explicit CancelCallResult(const std::string &payload);
|
||||
~CancelCallResult();
|
||||
bool getStatus()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool status_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CANCELCALLRESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_CLICKTODIALREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CLICKTODIALREQUEST_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 ClickToDialRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ClickToDialRequest();
|
||||
~ClickToDialRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
bool getRecordFlag()const;
|
||||
void setRecordFlag(bool recordFlag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCallerShowNumber()const;
|
||||
void setCallerShowNumber(const std::string& callerShowNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getSessionTimeout()const;
|
||||
void setSessionTimeout(int sessionTimeout);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
bool getAsrFlag()const;
|
||||
void setAsrFlag(bool asrFlag);
|
||||
std::string getAsrModelId()const;
|
||||
void setAsrModelId(const std::string& asrModelId);
|
||||
std::string getCallerNumber()const;
|
||||
void setCallerNumber(const std::string& callerNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
bool recordFlag_;
|
||||
long ownerId_;
|
||||
std::string callerShowNumber_;
|
||||
std::string accessKeyId_;
|
||||
int sessionTimeout_;
|
||||
std::string calledNumber_;
|
||||
std::string calledShowNumber_;
|
||||
std::string outId_;
|
||||
bool asrFlag_;
|
||||
std::string asrModelId_;
|
||||
std::string callerNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CLICKTODIALREQUEST_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_CLICKTODIALRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_CLICKTODIALRESULT_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 ClickToDialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ClickToDialResult();
|
||||
explicit ClickToDialResult(const std::string &payload);
|
||||
~ClickToDialResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCallId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string callId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_CLICKTODIALRESULT_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLREQUEST_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 IvrCallRequest : public RpcServiceRequest
|
||||
{
|
||||
struct MenuKeyMap
|
||||
{
|
||||
std::string key;
|
||||
std::string code;
|
||||
std::string ttsParams;
|
||||
};
|
||||
|
||||
public:
|
||||
IvrCallRequest();
|
||||
~IvrCallRequest();
|
||||
|
||||
std::string getByeCode()const;
|
||||
void setByeCode(const std::string& byeCode);
|
||||
std::vector<MenuKeyMap> getMenuKeyMap()const;
|
||||
void setMenuKeyMap(const std::vector<MenuKeyMap>& menuKeyMap);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getStartTtsParams()const;
|
||||
void setStartTtsParams(const std::string& startTtsParams);
|
||||
long getPlayTimes()const;
|
||||
void setPlayTimes(long playTimes);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getTimeout()const;
|
||||
void setTimeout(int timeout);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStartCode()const;
|
||||
void setStartCode(const std::string& startCode);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getByeTtsParams()const;
|
||||
void setByeTtsParams(const std::string& byeTtsParams);
|
||||
|
||||
private:
|
||||
std::string byeCode_;
|
||||
std::vector<MenuKeyMap> menuKeyMap_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string startTtsParams_;
|
||||
long playTimes_;
|
||||
long ownerId_;
|
||||
int timeout_;
|
||||
std::string accessKeyId_;
|
||||
std::string startCode_;
|
||||
std::string calledNumber_;
|
||||
std::string calledShowNumber_;
|
||||
std::string outId_;
|
||||
std::string byeTtsParams_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLREQUEST_H_
|
||||
55
dyvmsapi/include/alibabacloud/dyvmsapi/model/IvrCallResult.h
Normal file
55
dyvmsapi/include/alibabacloud/dyvmsapi/model/IvrCallResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLRESULT_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 IvrCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
IvrCallResult();
|
||||
explicit IvrCallResult(const std::string &payload);
|
||||
~IvrCallResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCallId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string callId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_IVRCALLRESULT_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_QUERYCALLDETAILBYCALLIDREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYCALLIDREQUEST_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 QueryCallDetailByCallIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCallDetailByCallIdRequest();
|
||||
~QueryCallDetailByCallIdRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getQueryDate()const;
|
||||
void setQueryDate(long queryDate);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getProdId()const;
|
||||
void setProdId(long prodId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
long resourceOwnerId_;
|
||||
long queryDate_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long prodId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYCALLIDREQUEST_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_QUERYCALLDETAILBYCALLIDRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYCALLIDRESULT_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 QueryCallDetailByCallIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCallDetailByCallIdResult();
|
||||
explicit QueryCallDetailByCallIdResult(const std::string &payload);
|
||||
~QueryCallDetailByCallIdResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_QUERYCALLDETAILBYCALLIDRESULT_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_SINGLECALLBYTTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYTTSREQUEST_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 SingleCallByTtsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SingleCallByTtsRequest();
|
||||
~SingleCallByTtsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTtsCode()const;
|
||||
void setTtsCode(const std::string& ttsCode);
|
||||
int getPlayTimes()const;
|
||||
void setPlayTimes(int playTimes);
|
||||
std::string getTtsParam()const;
|
||||
void setTtsParam(const std::string& ttsParam);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSpeed()const;
|
||||
void setSpeed(int speed);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getVolume()const;
|
||||
void setVolume(int volume);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ttsCode_;
|
||||
int playTimes_;
|
||||
std::string ttsParam_;
|
||||
long ownerId_;
|
||||
int speed_;
|
||||
std::string accessKeyId_;
|
||||
int volume_;
|
||||
std::string calledNumber_;
|
||||
std::string calledShowNumber_;
|
||||
std::string outId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYTTSREQUEST_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_SINGLECALLBYTTSRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYTTSRESULT_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 SingleCallByTtsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SingleCallByTtsResult();
|
||||
explicit SingleCallByTtsResult(const std::string &payload);
|
||||
~SingleCallByTtsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCallId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string callId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYTTSRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYVOICEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYVOICEREQUEST_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 SingleCallByVoiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SingleCallByVoiceRequest();
|
||||
~SingleCallByVoiceRequest();
|
||||
|
||||
int getVolume()const;
|
||||
void setVolume(int volume);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getVoiceCode()const;
|
||||
void setVoiceCode(const std::string& voiceCode);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
int getPlayTimes()const;
|
||||
void setPlayTimes(int playTimes);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSpeed()const;
|
||||
void setSpeed(int speed);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int volume_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string calledNumber_;
|
||||
std::string voiceCode_;
|
||||
std::string calledShowNumber_;
|
||||
int playTimes_;
|
||||
std::string outId_;
|
||||
long ownerId_;
|
||||
int speed_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYVOICEREQUEST_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_SINGLECALLBYVOICERESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYVOICERESULT_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 SingleCallByVoiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SingleCallByVoiceResult();
|
||||
explicit SingleCallByVoiceResult(const std::string &payload);
|
||||
~SingleCallByVoiceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCallId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string callId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SINGLECALLBYVOICERESULT_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLREQUEST_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 SmartCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SmartCallRequest();
|
||||
~SmartCallRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getActionCodeBreak()const;
|
||||
void setActionCodeBreak(bool actionCodeBreak);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
bool getRecordFlag()const;
|
||||
void setRecordFlag(bool recordFlag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSpeed()const;
|
||||
void setSpeed(int speed);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getVolume()const;
|
||||
void setVolume(int volume);
|
||||
std::string getDynamicId()const;
|
||||
void setDynamicId(const std::string& dynamicId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getVoiceCode()const;
|
||||
void setVoiceCode(const std::string& voiceCode);
|
||||
int getMuteTime()const;
|
||||
void setMuteTime(int muteTime);
|
||||
std::string getCalledShowNumber()const;
|
||||
void setCalledShowNumber(const std::string& calledShowNumber);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getAsrModelId()const;
|
||||
void setAsrModelId(const std::string& asrModelId);
|
||||
int getPauseTime()const;
|
||||
void setPauseTime(int pauseTime);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool actionCodeBreak_;
|
||||
std::string resourceOwnerAccount_;
|
||||
bool recordFlag_;
|
||||
long ownerId_;
|
||||
int speed_;
|
||||
std::string accessKeyId_;
|
||||
int volume_;
|
||||
std::string dynamicId_;
|
||||
std::string calledNumber_;
|
||||
std::string voiceCode_;
|
||||
int muteTime_;
|
||||
std::string calledShowNumber_;
|
||||
std::string outId_;
|
||||
std::string asrModelId_;
|
||||
int pauseTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLREQUEST_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_SMARTCALLRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLRESULT_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 SmartCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SmartCallResult();
|
||||
explicit SmartCallResult(const std::string &payload);
|
||||
~SmartCallResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCallId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string callId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_SMARTCALLRESULT_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_VOIPADDACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_VOIPADDACCOUNTREQUEST_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 VoipAddAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VoipAddAccountRequest();
|
||||
~VoipAddAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_VOIPADDACCOUNTREQUEST_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_VOIPADDACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_VOIPADDACCOUNTRESULT_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 VoipAddAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
VoipAddAccountResult();
|
||||
explicit VoipAddAccountResult(const std::string &payload);
|
||||
~VoipAddAccountResult();
|
||||
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_VOIPADDACCOUNTRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYVMSAPI_MODEL_VOIPGETTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_VOIPGETTOKENREQUEST_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 VoipGetTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VoipGetTokenRequest();
|
||||
~VoipGetTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getVoipId()const;
|
||||
void setVoipId(const std::string& voipId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string voipId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYVMSAPI_MODEL_VOIPGETTOKENREQUEST_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_VOIPGETTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_DYVMSAPI_MODEL_VOIPGETTOKENRESULT_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 VoipGetTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
VoipGetTokenResult();
|
||||
explicit VoipGetTokenResult(const std::string &payload);
|
||||
~VoipGetTokenResult();
|
||||
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_VOIPGETTOKENRESULT_H_
|
||||
Reference in New Issue
Block a user