Supported new features for outbound.

This commit is contained in:
sdk-team
2023-01-13 03:09:57 +00:00
parent 84f0671771
commit a8f72c5f44
34 changed files with 1351 additions and 4 deletions

View File

@@ -86,6 +86,8 @@
#include "model/DeleteOutboundCallNumberResult.h"
#include "model/DeleteScriptRequest.h"
#include "model/DeleteScriptResult.h"
#include "model/DeleteScriptRecordingRequest.h"
#include "model/DeleteScriptRecordingResult.h"
#include "model/DeleteScriptWaveformRequest.h"
#include "model/DeleteScriptWaveformResult.h"
#include "model/DescribeDialogueNodeStatisticsRequest.h"
@@ -130,6 +132,8 @@
#include "model/DismissNumberDistrictInfoParsingResultResult.h"
#include "model/DownloadRecordingRequest.h"
#include "model/DownloadRecordingResult.h"
#include "model/DownloadScriptRecordingRequest.h"
#include "model/DownloadScriptRecordingResult.h"
#include "model/DuplicateScriptRequest.h"
#include "model/DuplicateScriptResult.h"
#include "model/ExportScriptRequest.h"
@@ -198,6 +202,8 @@
#include "model/ListSchedulerInstancesResult.h"
#include "model/ListScriptPublishHistoriesRequest.h"
#include "model/ListScriptPublishHistoriesResult.h"
#include "model/ListScriptRecordingRequest.h"
#include "model/ListScriptRecordingResult.h"
#include "model/ListScriptVoiceConfigsRequest.h"
#include "model/ListScriptVoiceConfigsResult.h"
#include "model/ListScriptsRequest.h"
@@ -284,6 +290,8 @@
#include "model/TerminateCallResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UploadScriptRecordingRequest.h"
#include "model/UploadScriptRecordingResult.h"
#include "model/WithdrawScriptReviewRequest.h"
#include "model/WithdrawScriptReviewResult.h"
@@ -391,6 +399,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteScriptResult> DeleteScriptOutcome;
typedef std::future<DeleteScriptOutcome> DeleteScriptOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DeleteScriptRequest&, const DeleteScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScriptAsyncHandler;
typedef Outcome<Error, Model::DeleteScriptRecordingResult> DeleteScriptRecordingOutcome;
typedef std::future<DeleteScriptRecordingOutcome> DeleteScriptRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DeleteScriptRecordingRequest&, const DeleteScriptRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScriptRecordingAsyncHandler;
typedef Outcome<Error, Model::DeleteScriptWaveformResult> DeleteScriptWaveformOutcome;
typedef std::future<DeleteScriptWaveformOutcome> DeleteScriptWaveformOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DeleteScriptWaveformRequest&, const DeleteScriptWaveformOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScriptWaveformAsyncHandler;
@@ -457,6 +468,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DownloadRecordingResult> DownloadRecordingOutcome;
typedef std::future<DownloadRecordingOutcome> DownloadRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DownloadRecordingRequest&, const DownloadRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadRecordingAsyncHandler;
typedef Outcome<Error, Model::DownloadScriptRecordingResult> DownloadScriptRecordingOutcome;
typedef std::future<DownloadScriptRecordingOutcome> DownloadScriptRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DownloadScriptRecordingRequest&, const DownloadScriptRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadScriptRecordingAsyncHandler;
typedef Outcome<Error, Model::DuplicateScriptResult> DuplicateScriptOutcome;
typedef std::future<DuplicateScriptOutcome> DuplicateScriptOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DuplicateScriptRequest&, const DuplicateScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DuplicateScriptAsyncHandler;
@@ -559,6 +573,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListScriptPublishHistoriesResult> ListScriptPublishHistoriesOutcome;
typedef std::future<ListScriptPublishHistoriesOutcome> ListScriptPublishHistoriesOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListScriptPublishHistoriesRequest&, const ListScriptPublishHistoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScriptPublishHistoriesAsyncHandler;
typedef Outcome<Error, Model::ListScriptRecordingResult> ListScriptRecordingOutcome;
typedef std::future<ListScriptRecordingOutcome> ListScriptRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListScriptRecordingRequest&, const ListScriptRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScriptRecordingAsyncHandler;
typedef Outcome<Error, Model::ListScriptVoiceConfigsResult> ListScriptVoiceConfigsOutcome;
typedef std::future<ListScriptVoiceConfigsOutcome> ListScriptVoiceConfigsOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListScriptVoiceConfigsRequest&, const ListScriptVoiceConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScriptVoiceConfigsAsyncHandler;
@@ -688,6 +705,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
typedef Outcome<Error, Model::UploadScriptRecordingResult> UploadScriptRecordingOutcome;
typedef std::future<UploadScriptRecordingOutcome> UploadScriptRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::UploadScriptRecordingRequest&, const UploadScriptRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadScriptRecordingAsyncHandler;
typedef Outcome<Error, Model::WithdrawScriptReviewResult> WithdrawScriptReviewOutcome;
typedef std::future<WithdrawScriptReviewOutcome> WithdrawScriptReviewOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::WithdrawScriptReviewRequest&, const WithdrawScriptReviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WithdrawScriptReviewAsyncHandler;
@@ -792,6 +812,9 @@ namespace AlibabaCloud
DeleteScriptOutcome deleteScript(const Model::DeleteScriptRequest &request)const;
void deleteScriptAsync(const Model::DeleteScriptRequest& request, const DeleteScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteScriptOutcomeCallable deleteScriptCallable(const Model::DeleteScriptRequest& request) const;
DeleteScriptRecordingOutcome deleteScriptRecording(const Model::DeleteScriptRecordingRequest &request)const;
void deleteScriptRecordingAsync(const Model::DeleteScriptRecordingRequest& request, const DeleteScriptRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteScriptRecordingOutcomeCallable deleteScriptRecordingCallable(const Model::DeleteScriptRecordingRequest& request) const;
DeleteScriptWaveformOutcome deleteScriptWaveform(const Model::DeleteScriptWaveformRequest &request)const;
void deleteScriptWaveformAsync(const Model::DeleteScriptWaveformRequest& request, const DeleteScriptWaveformAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteScriptWaveformOutcomeCallable deleteScriptWaveformCallable(const Model::DeleteScriptWaveformRequest& request) const;
@@ -858,6 +881,9 @@ namespace AlibabaCloud
DownloadRecordingOutcome downloadRecording(const Model::DownloadRecordingRequest &request)const;
void downloadRecordingAsync(const Model::DownloadRecordingRequest& request, const DownloadRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadRecordingOutcomeCallable downloadRecordingCallable(const Model::DownloadRecordingRequest& request) const;
DownloadScriptRecordingOutcome downloadScriptRecording(const Model::DownloadScriptRecordingRequest &request)const;
void downloadScriptRecordingAsync(const Model::DownloadScriptRecordingRequest& request, const DownloadScriptRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadScriptRecordingOutcomeCallable downloadScriptRecordingCallable(const Model::DownloadScriptRecordingRequest& request) const;
DuplicateScriptOutcome duplicateScript(const Model::DuplicateScriptRequest &request)const;
void duplicateScriptAsync(const Model::DuplicateScriptRequest& request, const DuplicateScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DuplicateScriptOutcomeCallable duplicateScriptCallable(const Model::DuplicateScriptRequest& request) const;
@@ -960,6 +986,9 @@ namespace AlibabaCloud
ListScriptPublishHistoriesOutcome listScriptPublishHistories(const Model::ListScriptPublishHistoriesRequest &request)const;
void listScriptPublishHistoriesAsync(const Model::ListScriptPublishHistoriesRequest& request, const ListScriptPublishHistoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScriptPublishHistoriesOutcomeCallable listScriptPublishHistoriesCallable(const Model::ListScriptPublishHistoriesRequest& request) const;
ListScriptRecordingOutcome listScriptRecording(const Model::ListScriptRecordingRequest &request)const;
void listScriptRecordingAsync(const Model::ListScriptRecordingRequest& request, const ListScriptRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScriptRecordingOutcomeCallable listScriptRecordingCallable(const Model::ListScriptRecordingRequest& request) const;
ListScriptVoiceConfigsOutcome listScriptVoiceConfigs(const Model::ListScriptVoiceConfigsRequest &request)const;
void listScriptVoiceConfigsAsync(const Model::ListScriptVoiceConfigsRequest& request, const ListScriptVoiceConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScriptVoiceConfigsOutcomeCallable listScriptVoiceConfigsCallable(const Model::ListScriptVoiceConfigsRequest& request) const;
@@ -1089,6 +1118,9 @@ namespace AlibabaCloud
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
UploadScriptRecordingOutcome uploadScriptRecording(const Model::UploadScriptRecordingRequest &request)const;
void uploadScriptRecordingAsync(const Model::UploadScriptRecordingRequest& request, const UploadScriptRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadScriptRecordingOutcomeCallable uploadScriptRecordingCallable(const Model::UploadScriptRecordingRequest& request) const;
WithdrawScriptReviewOutcome withdrawScriptReview(const Model::WithdrawScriptReviewRequest &request)const;
void withdrawScriptReviewAsync(const Model::WithdrawScriptReviewRequest& request, const WithdrawScriptReviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
WithdrawScriptReviewOutcomeCallable withdrawScriptReviewCallable(const Model::WithdrawScriptReviewRequest& request) const;

View File

@@ -44,6 +44,8 @@ public:
void setAsrConfig(const std::string &asrConfig);
std::string getMiniPlaybackConfigListJsonString() const;
void setMiniPlaybackConfigListJsonString(const std::string &miniPlaybackConfigListJsonString);
bool getEmotionEnable() const;
void setEmotionEnable(bool emotionEnable);
bool getNewBargeInEnable() const;
void setNewBargeInEnable(bool newBargeInEnable);
bool getMiniPlaybackEnable() const;
@@ -67,6 +69,7 @@ private:
std::vector<std::string> scriptWaveform_;
std::string asrConfig_;
std::string miniPlaybackConfigListJsonString_;
bool emotionEnable_;
bool newBargeInEnable_;
bool miniPlaybackEnable_;
std::string chatbotId_;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGREQUEST_H_
#include <alibabacloud/outboundbot/OutboundBotExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OutboundBot {
namespace Model {
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DeleteScriptRecordingRequest : public RpcServiceRequest {
public:
DeleteScriptRecordingRequest();
~DeleteScriptRecordingRequest();
std::string getUuidsJson() const;
void setUuidsJson(const std::string &uuidsJson);
std::string getScriptId() const;
void setScriptId(const std::string &scriptId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string uuidsJson_;
std::string scriptId_;
std::string instanceId_;
};
} // namespace Model
} // namespace OutboundBot
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DeleteScriptRecordingResult : public ServiceResult
{
public:
DeleteScriptRecordingResult();
explicit DeleteScriptRecordingResult(const std::string &payload);
~DeleteScriptRecordingResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETESCRIPTRECORDINGRESULT_H_

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string ttsConfig;
bool longWaitEnable;
bool miniPlaybackEnable;
bool emotionEnable;
};

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
bool interruptible;
std::string content;
std::string actionParams;
std::string contentParams;
};

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGREQUEST_H_
#include <alibabacloud/outboundbot/OutboundBotExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OutboundBot {
namespace Model {
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DownloadScriptRecordingRequest : public RpcServiceRequest {
public:
DownloadScriptRecordingRequest();
~DownloadScriptRecordingRequest();
std::string getUuid() const;
void setUuid(const std::string &uuid);
std::string getScriptId() const;
void setScriptId(const std::string &scriptId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string uuid_;
std::string scriptId_;
std::string instanceId_;
};
} // namespace Model
} // namespace OutboundBot
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DownloadScriptRecordingResult : public ServiceResult
{
public:
struct DownloadParams
{
std::string fileName;
std::string signatureUrl;
};
DownloadScriptRecordingResult();
explicit DownloadScriptRecordingResult(const std::string &payload);
~DownloadScriptRecordingResult();
DownloadParams getDownloadParams()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
DownloadParams downloadParams_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DOWNLOADSCRIPTRECORDINGRESULT_H_

View File

@@ -55,6 +55,7 @@ namespace AlibabaCloud
std::string callCenterInstanceId;
std::string instanceName;
int maxConcurrentConversation;
bool isPreset;
long creationTime;
std::string instanceDescription;
std::string nluServiceType;

View File

@@ -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_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGREQUEST_H_
#include <alibabacloud/outboundbot/OutboundBotExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OutboundBot {
namespace Model {
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListScriptRecordingRequest : public RpcServiceRequest {
public:
ListScriptRecordingRequest();
~ListScriptRecordingRequest();
std::string getUuidsJson() const;
void setUuidsJson(const std::string &uuidsJson);
std::string getStatesJson() const;
void setStatesJson(const std::string &statesJson);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getScriptId() const;
void setScriptId(const std::string &scriptId);
std::string getSearch() const;
void setSearch(const std::string &search);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string uuidsJson_;
std::string statesJson_;
int pageNumber_;
std::string scriptId_;
std::string search_;
std::string instanceId_;
int pageSize_;
};
} // namespace Model
} // namespace OutboundBot
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGREQUEST_H_

View File

@@ -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_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListScriptRecordingResult : public ServiceResult
{
public:
struct ScriptRecording
{
std::string storageUuid;
std::string stateExtend;
std::string instanceId;
std::string recordingName;
std::string recordingContent;
long gmtModified;
std::string innerId;
std::string scriptId;
long gmtCreate;
std::string uuid;
int state;
long gmtUpload;
int recordingDuration;
};
ListScriptRecordingResult();
explicit ListScriptRecordingResult(const std::string &payload);
~ListScriptRecordingResult();
long getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
std::vector<ScriptRecording> getScriptRecordings()const;
int getPageNumber()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string message_;
int pageSize_;
std::vector<ScriptRecording> scriptRecordings_;
int pageNumber_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTSCRIPTRECORDINGRESULT_H_

View File

@@ -46,11 +46,13 @@ namespace AlibabaCloud
bool isDebugDrafted;
std::string industry;
bool isDrafted;
bool isPreset;
std::string scriptName;
long updateTime;
std::string rejectReason;
bool longWaitEnable;
bool miniPlaybackEnable;
bool emotionEnable;
};
int totalCount;
int pageSize;

View File

@@ -46,6 +46,8 @@ public:
void setAsrConfig(const std::string &asrConfig);
std::string getMiniPlaybackConfigListJsonString() const;
void setMiniPlaybackConfigListJsonString(const std::string &miniPlaybackConfigListJsonString);
bool getEmotionEnable() const;
void setEmotionEnable(bool emotionEnable);
std::string getNlsConfig() const;
void setNlsConfig(const std::string &nlsConfig);
bool getNewBargeInEnable() const;
@@ -72,6 +74,7 @@ private:
std::vector<std::string> scriptWaveform_;
std::string asrConfig_;
std::string miniPlaybackConfigListJsonString_;
bool emotionEnable_;
std::string nlsConfig_;
bool newBargeInEnable_;
bool miniPlaybackEnable_;

View File

@@ -34,6 +34,8 @@ public:
void setHasReachedEndOfFlowFilter(bool hasReachedEndOfFlowFilter);
bool getHasAnsweredFilter() const;
void setHasAnsweredFilter(bool hasAnsweredFilter);
std::string getTaskStatusFilter() const;
void setTaskStatusFilter(const std::string &taskStatusFilter);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getQueryText() const;
@@ -52,6 +54,7 @@ public:
private:
bool hasReachedEndOfFlowFilter_;
bool hasAnsweredFilter_;
std::string taskStatusFilter_;
int pageNumber_;
std::string queryText_;
bool hasHangUpByRejectionFilter_;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGREQUEST_H_
#include <alibabacloud/outboundbot/OutboundBotExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OutboundBot {
namespace Model {
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT UploadScriptRecordingRequest : public RpcServiceRequest {
public:
UploadScriptRecordingRequest();
~UploadScriptRecordingRequest();
std::string getContent() const;
void setContent(const std::string &content);
std::string getScriptId() const;
void setScriptId(const std::string &scriptId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getFileName() const;
void setFileName(const std::string &fileName);
std::string getFileId() const;
void setFileId(const std::string &fileId);
private:
std::string content_;
std::string scriptId_;
std::string instanceId_;
std::string fileName_;
std::string fileId_;
};
} // namespace Model
} // namespace OutboundBot
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGREQUEST_H_

View File

@@ -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_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT UploadScriptRecordingResult : public ServiceResult
{
public:
UploadScriptRecordingResult();
explicit UploadScriptRecordingResult(const std::string &payload);
~UploadScriptRecordingResult();
std::string getUuid()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string uuid_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_UPLOADSCRIPTRECORDINGRESULT_H_