regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -78,6 +78,8 @@
#include "model/DescribeScriptVoiceConfigResult.h"
#include "model/DescribeTTSConfigRequest.h"
#include "model/DescribeTTSConfigResult.h"
#include "model/DescribeTagHitsSummaryRequest.h"
#include "model/DescribeTagHitsSummaryResult.h"
#include "model/DialogueRequest.h"
#include "model/DialogueResult.h"
#include "model/DownloadBasicStatisticsReportRequest.h"
@@ -124,6 +126,8 @@
#include "model/ListJobsResult.h"
#include "model/ListJobsByGroupRequest.h"
#include "model/ListJobsByGroupResult.h"
#include "model/ListMediaRequest.h"
#include "model/ListMediaResult.h"
#include "model/ListMediasRequest.h"
#include "model/ListMediasResult.h"
#include "model/ListOutboundCallNumbersRequest.h"
@@ -190,6 +194,8 @@
#include "model/SuspendJobsResult.h"
#include "model/WithdrawScriptRequest.h"
#include "model/WithdrawScriptResult.h"
#include "model/WithdrawScriptReviewRequest.h"
#include "model/WithdrawScriptReviewResult.h"
namespace AlibabaCloud
@@ -283,6 +289,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTTSConfigResult> DescribeTTSConfigOutcome;
typedef std::future<DescribeTTSConfigOutcome> DescribeTTSConfigOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeTTSConfigRequest&, const DescribeTTSConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTTSConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeTagHitsSummaryResult> DescribeTagHitsSummaryOutcome;
typedef std::future<DescribeTagHitsSummaryOutcome> DescribeTagHitsSummaryOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeTagHitsSummaryRequest&, const DescribeTagHitsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagHitsSummaryAsyncHandler;
typedef Outcome<Error, Model::DialogueResult> DialogueOutcome;
typedef std::future<DialogueOutcome> DialogueOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DialogueRequest&, const DialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DialogueAsyncHandler;
@@ -352,6 +361,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListJobsByGroupResult> ListJobsByGroupOutcome;
typedef std::future<ListJobsByGroupOutcome> ListJobsByGroupOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListJobsByGroupRequest&, const ListJobsByGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsByGroupAsyncHandler;
typedef Outcome<Error, Model::ListMediaResult> ListMediaOutcome;
typedef std::future<ListMediaOutcome> ListMediaOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListMediaRequest&, const ListMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMediaAsyncHandler;
typedef Outcome<Error, Model::ListMediasResult> ListMediasOutcome;
typedef std::future<ListMediasOutcome> ListMediasOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListMediasRequest&, const ListMediasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMediasAsyncHandler;
@@ -451,6 +463,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::WithdrawScriptResult> WithdrawScriptOutcome;
typedef std::future<WithdrawScriptOutcome> WithdrawScriptOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::WithdrawScriptRequest&, const WithdrawScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WithdrawScriptAsyncHandler;
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;
OutboundBotClient(const Credentials &credentials, const ClientConfiguration &configuration);
OutboundBotClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -540,6 +555,9 @@ namespace AlibabaCloud
DescribeTTSConfigOutcome describeTTSConfig(const Model::DescribeTTSConfigRequest &request)const;
void describeTTSConfigAsync(const Model::DescribeTTSConfigRequest& request, const DescribeTTSConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTTSConfigOutcomeCallable describeTTSConfigCallable(const Model::DescribeTTSConfigRequest& request) const;
DescribeTagHitsSummaryOutcome describeTagHitsSummary(const Model::DescribeTagHitsSummaryRequest &request)const;
void describeTagHitsSummaryAsync(const Model::DescribeTagHitsSummaryRequest& request, const DescribeTagHitsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTagHitsSummaryOutcomeCallable describeTagHitsSummaryCallable(const Model::DescribeTagHitsSummaryRequest& request) const;
DialogueOutcome dialogue(const Model::DialogueRequest &request)const;
void dialogueAsync(const Model::DialogueRequest& request, const DialogueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DialogueOutcomeCallable dialogueCallable(const Model::DialogueRequest& request) const;
@@ -609,6 +627,9 @@ namespace AlibabaCloud
ListJobsByGroupOutcome listJobsByGroup(const Model::ListJobsByGroupRequest &request)const;
void listJobsByGroupAsync(const Model::ListJobsByGroupRequest& request, const ListJobsByGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobsByGroupOutcomeCallable listJobsByGroupCallable(const Model::ListJobsByGroupRequest& request) const;
ListMediaOutcome listMedia(const Model::ListMediaRequest &request)const;
void listMediaAsync(const Model::ListMediaRequest& request, const ListMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMediaOutcomeCallable listMediaCallable(const Model::ListMediaRequest& request) const;
ListMediasOutcome listMedias(const Model::ListMediasRequest &request)const;
void listMediasAsync(const Model::ListMediasRequest& request, const ListMediasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMediasOutcomeCallable listMediasCallable(const Model::ListMediasRequest& request) const;
@@ -708,6 +729,9 @@ namespace AlibabaCloud
WithdrawScriptOutcome withdrawScript(const Model::WithdrawScriptRequest &request)const;
void withdrawScriptAsync(const Model::WithdrawScriptRequest& request, const WithdrawScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
WithdrawScriptOutcomeCallable withdrawScriptCallable(const Model::WithdrawScriptRequest& 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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -43,16 +43,16 @@ namespace AlibabaCloud
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
std::string repeatBy;
long endTime;
std::string strategyId;
long startTime;
std::string strategyId;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
std::string strategyDescription;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;

View File

@@ -43,16 +43,16 @@ namespace AlibabaCloud
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
std::string repeatBy;
long endTime;
std::string strategyId;
long startTime;
std::string strategyId;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
std::string strategyDescription;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
std::string scriptDescription;
long updateTime;
std::string scriptId;
std::string scene;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
std::string keywords;
std::string intentName;
std::string intentDescription;
std::string utterances;
long createTime;
std::string utterances;
long updateTime;
std::string scriptId;
std::string intentId;

View File

@@ -34,29 +34,6 @@ namespace AlibabaCloud
public:
struct JobGroup
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
struct Progress
{
struct KeyValuePair
@@ -75,8 +52,31 @@ namespace AlibabaCloud
std::vector<KeyValuePair> briefs;
int executing;
int totalNotAnswered;
int totalJobs;
int paused;
int totalJobs;
};
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
int minAttemptInterval;
std::string repeatBy;
long endTime;
long startTime;
std::string strategyId;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string customized;
std::string strategyDescription;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;
};
Progress progress;
std::string jobGroupId;
@@ -85,8 +85,8 @@ namespace AlibabaCloud
std::string scriptName;
long creationTime;
Strategy strategy;
std::string scriptId;
std::string jobFilePath;
std::string scriptId;
std::string jobGroupDescription;
std::vector<std::string> callingNumbers;
};

View File

@@ -50,9 +50,15 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
struct SummaryItem
{
std::string category;
std::string content;
std::string summaryName;
};
struct Task
{
struct Contact2
struct Contact3
{
std::string role;
std::string honorific;
@@ -65,14 +71,14 @@ namespace AlibabaCloud
};
struct ConversationDetail
{
struct SummaryItem
struct SummaryItem2
{
std::string category;
std::string content;
std::string summaryName;
};
std::string script;
std::vector<ConversationDetail::SummaryItem> summary1;
std::vector<ConversationDetail::SummaryItem2> summary1;
long timestamp;
std::string speaker;
};
@@ -80,23 +86,17 @@ namespace AlibabaCloud
std::string chatbotId;
long planedTime;
std::string calledNumber;
std::string taskId;
std::string scenarioId;
std::string taskId;
long actualTime;
std::string callId;
std::vector<Task::ConversationDetail> conversation;
int duration;
std::string brief;
std::string callingNumber;
Contact2 contact2;
Contact3 contact3;
std::string jobId;
};
struct SummaryItem3
{
std::string category;
std::string content;
std::string summaryName;
};
std::string status;
std::vector<Task> tasks;
std::string scenarioId;
@@ -106,9 +106,9 @@ namespace AlibabaCloud
std::string jobGroupId;
std::vector<Contact> contacts;
std::string referenceId;
int systemPriority;
std::string failureReason;
std::vector<SummaryItem3> summary;
int systemPriority;
std::vector<SummaryItem> summary;
std::string jobId;
std::vector<std::string> callingNumbers;
};

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
std::string scriptDescription;
long updateTime;
std::string scriptId;
std::string scene;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};

View File

@@ -0,0 +1,51 @@
/*
* 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_DESCRIBETAGHITSSUMMARYREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETAGHITSSUMMARYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DescribeTagHitsSummaryRequest : public RpcServiceRequest
{
public:
DescribeTagHitsSummaryRequest();
~DescribeTagHitsSummaryRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
private:
std::string instanceId_;
std::string jobGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETAGHITSSUMMARYREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETAGHITSSUMMARYRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETAGHITSSUMMARYRESULT_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 DescribeTagHitsSummaryResult : public ServiceResult
{
public:
struct TagGroup
{
int tagGroupIndex;
std::string tagGroup;
std::string scriptId;
std::string id;
};
struct TagHits
{
std::string tagName;
int hitCount;
std::string tagGroup;
};
DescribeTagHitsSummaryResult();
explicit DescribeTagHitsSummaryResult(const std::string &payload);
~DescribeTagHitsSummaryResult();
std::string getMessage()const;
std::vector<TagGroup> getTagGroups()const;
int getHttpStatusCode()const;
std::vector<TagHits> getTagHitsList()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<TagGroup> tagGroups_;
int httpStatusCode_;
std::vector<TagHits> tagHitsList_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETAGHITSSUMMARYRESULT_H_

View File

@@ -37,18 +37,10 @@ namespace AlibabaCloud
std::string getCallId()const;
void setCallId(const std::string& callId);
std::string getActionParams()const;
void setActionParams(const std::string& actionParams);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getActionKey()const;
void setActionKey(const std::string& actionKey);
std::string getCallType()const;
void setCallType(const std::string& callType);
std::string getScenarioId()const;
@@ -57,19 +49,27 @@ namespace AlibabaCloud
void setTaskId(const std::string& taskId);
std::string getUtterance()const;
void setUtterance(const std::string& utterance);
std::string getActionParams()const;
void setActionParams(const std::string& actionParams);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getActionKey()const;
void setActionKey(const std::string& actionKey);
private:
std::string callId_;
std::string actionParams_;
std::string callingNumber_;
std::string instanceId_;
long instanceOwnerId_;
std::string calledNumber_;
std::string actionKey_;
std::string callType_;
std::string scenarioId_;
std::string taskId_;
std::string utterance_;
std::string actionParams_;
std::string callingNumber_;
std::string instanceId_;
std::string actionKey_;
};
}

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
std::string keywords;
std::string intentName;
std::string intentDescription;
std::string utterances;
long createTime;
std::string utterances;
long updateTime;
std::string scriptId;
std::string intentId;

View File

@@ -36,11 +36,6 @@ namespace AlibabaCloud
{
struct JobGroup
{
struct Strategy
{
long endTime;
long startTime;
};
struct Progress
{
std::string status;
@@ -50,6 +45,11 @@ namespace AlibabaCloud
int totalNotAnswered;
int totalJobs;
};
struct Strategy
{
long endTime;
long startTime;
};
Progress progress;
std::string jobGroupId;
std::string jobGroupName;

View File

@@ -55,8 +55,8 @@ namespace AlibabaCloud
struct SummaryItem
{
std::string jobGroupId;
std::string taskId;
std::string category;
std::string taskId;
std::string conversationDetailId;
std::string content;
std::string summaryId;
@@ -71,8 +71,8 @@ namespace AlibabaCloud
std::string jobGroupId;
std::vector<Job::Contact> contacts;
std::string referenceId;
int systemPriority;
std::string failureReason;
int systemPriority;
std::vector<Job::SummaryItem> summary;
std::string jobId;
std::vector<std::string> callingNumbers;

View File

@@ -50,9 +50,15 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
struct SummaryItem
{
std::string category;
std::string content;
std::string summaryName;
};
struct Task
{
struct Contact2
struct Contact3
{
std::string role;
std::string honorific;
@@ -65,14 +71,14 @@ namespace AlibabaCloud
};
struct ConversationDetail
{
struct SummaryItem
struct SummaryItem2
{
std::string category;
std::string content;
std::string summaryName;
};
std::string script;
std::vector<ConversationDetail::SummaryItem> summary1;
std::vector<ConversationDetail::SummaryItem2> summary1;
long timestamp;
std::string speaker;
};
@@ -80,23 +86,17 @@ namespace AlibabaCloud
std::string chatbotId;
long planedTime;
std::string calledNumber;
std::string taskId;
std::string scenarioId;
std::string taskId;
long actualTime;
std::string callId;
std::vector<Task::ConversationDetail> conversation;
int duration;
std::string brief;
std::string callingNumber;
Contact2 contact2;
Contact3 contact3;
std::string jobId;
};
struct SummaryItem3
{
std::string category;
std::string content;
std::string summaryName;
};
std::string status;
std::vector<Job::Task> tasks;
std::string scenarioId;
@@ -106,9 +106,9 @@ namespace AlibabaCloud
std::string jobGroupId;
std::vector<Job::Contact> contacts;
std::string referenceId;
int systemPriority;
std::string failureReason;
std::vector<Job::SummaryItem3> summary;
int systemPriority;
std::vector<Job::SummaryItem> summary;
std::string jobId;
std::vector<std::string> callingNumbers;
};

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_LISTMEDIAREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListMediaRequest : public RpcServiceRequest
{
public:
ListMediaRequest();
~ListMediaRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getNamePrefix()const;
void setNamePrefix(const std::string& namePrefix);
private:
int pageNumber_;
std::string instanceId_;
int pageSize_;
std::string namePrefix_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIAREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_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 ListMediaResult : public ServiceResult
{
public:
struct Media
{
std::string mediaId;
std::string name;
};
ListMediaResult();
explicit ListMediaResult(const std::string &payload);
~ListMediaResult();
std::vector<Media> getMediaList()const;
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Media> mediaList_;
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_H_

View File

@@ -42,10 +42,11 @@ namespace AlibabaCloud
std::string scriptName;
std::string scriptDescription;
long updateTime;
std::string rejectReason;
std::string scriptId;
std::string failReason;
std::string scene;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};
int totalCount;

View File

@@ -32,6 +32,13 @@ namespace AlibabaCloud
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListTagsResult : public ServiceResult
{
public:
struct TagGroup
{
int tagGroupIndex;
std::string tagGroup;
std::string tagGroupId;
std::string scriptId;
};
struct Tag
{
int tagIndex;
@@ -40,13 +47,6 @@ namespace AlibabaCloud
std::string tagId;
std::string scriptId;
};
struct TagGroup
{
int tagGroupIndex;
std::string tagGroup;
std::string tagGroupId;
std::string scriptId;
};
ListTagsResult();

View File

@@ -43,16 +43,16 @@ namespace AlibabaCloud
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
std::string repeatBy;
long endTime;
std::string strategyId;
long startTime;
std::string strategyId;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
std::string strategyDescription;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
int getHttpStatusCode()const;
std::string getDialogueFlowId()const;
std::string getCode()const;
bool getSuccess()const;
std::string getDialogueFlowDefinition()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
@@ -51,8 +51,8 @@ namespace AlibabaCloud
int httpStatusCode_;
std::string dialogueFlowId_;
std::string code_;
bool success_;
std::string dialogueFlowDefinition_;
bool success_;
};
}

View File

@@ -43,16 +43,16 @@ namespace AlibabaCloud
};
std::vector<TimeFrame> workingTime;
bool isTemplate;
std::string repeatBy;
int minAttemptInterval;
std::string repeatBy;
long endTime;
std::string strategyId;
long startTime;
std::string strategyId;
std::string followUpStrategy;
std::string type;
std::string strategyName;
std::string strategyDescription;
std::string customized;
std::string strategyDescription;
int maxAttemptsPerDay;
std::string routingStrategy;
std::vector<std::string> repeatDays;

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
std::string scriptDescription;
long updateTime;
std::string scriptId;
std::string scene;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
std::string instanceId;
std::string volume;
std::string tTSConfigId;
std::string scriptId;
std::string tTSConfigId;
std::string voice;
std::string speechRate;
};

View File

@@ -32,6 +32,13 @@ namespace AlibabaCloud
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ModifyTagGroupsResult : public ServiceResult
{
public:
struct TagGroup
{
int tagGroupIndex;
std::string tagGroup;
std::string tagGroupId;
std::string scriptId;
};
struct Tag
{
int tagIndex;
@@ -40,13 +47,6 @@ namespace AlibabaCloud
std::string tagId;
std::string scriptId;
};
struct TagGroup
{
int tagGroupIndex;
std::string tagGroup;
std::string tagGroupId;
std::string scriptId;
};
ModifyTagGroupsResult();

View File

@@ -41,11 +41,14 @@ namespace AlibabaCloud
void setScriptId(const std::string& scriptId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string description_;
std::string scriptId_;
std::string instanceId_;
long instanceOwnerId_;
};
}

View File

@@ -52,6 +52,17 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
struct SummaryItem
{
std::string category;
std::string taskId;
std::string conversationDetailId;
std::string content;
std::string summaryId;
std::string summaryName;
std::string jobId;
std::string groupId;
};
struct Task
{
struct Contact1
@@ -69,8 +80,8 @@ namespace AlibabaCloud
std::string chatbotId;
long planedTime;
std::string calledNumber;
std::string taskId;
std::string scenarioId;
std::string taskId;
long actualTime;
std::string callId;
int duration;
@@ -79,17 +90,6 @@ namespace AlibabaCloud
Contact1 contact1;
std::string jobId;
};
struct SummaryItem
{
std::string taskId;
std::string category;
std::string conversationDetailId;
std::string content;
std::string summaryId;
std::string summaryName;
std::string jobId;
std::string groupId;
};
std::string status;
std::vector<Job::Task> tasks;
std::string scenarioId;

View File

@@ -35,20 +35,20 @@ namespace AlibabaCloud
QueryScriptsByStatusRequest();
~QueryScriptsByStatusRequest();
std::vector<std::string> getStatusList()const;
void setStatusList(const std::vector<std::string>& statusList);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::vector<std::string> statusList_;
int pageNumber_;
std::string instanceId_;
int pageSize_;
std::string status_;
};
}

View File

@@ -36,17 +36,17 @@ namespace AlibabaCloud
{
struct Script
{
std::string debugVersion;
std::string industry;
std::string status;
std::string debugVersion;
std::string appliedVersion;
bool isDrafted;
std::string scriptName;
std::string scriptDescription;
long updateTime;
std::string scriptId;
std::string scene;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};
int totalCount;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setDispositionCode(const std::string& dispositionCode);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getInstanceOwnerId()const;
void setInstanceOwnerId(const std::string& instanceOwnerId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
@@ -57,6 +59,7 @@ namespace AlibabaCloud
std::string instanceId_;
std::string dispositionCode_;
std::string calledNumber_;
std::string instanceOwnerId_;
std::string taskId_;
};

View File

@@ -0,0 +1,51 @@
/*
* 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_WITHDRAWSCRIPTREVIEWREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_WITHDRAWSCRIPTREVIEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT WithdrawScriptReviewRequest : public RpcServiceRequest
{
public:
WithdrawScriptReviewRequest();
~WithdrawScriptReviewRequest();
std::string getScriptId()const;
void setScriptId(const std::string& scriptId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string scriptId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_WITHDRAWSCRIPTREVIEWREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_WITHDRAWSCRIPTREVIEWRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_WITHDRAWSCRIPTREVIEWRESULT_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 WithdrawScriptReviewResult : public ServiceResult
{
public:
struct Script
{
std::string industry;
std::string status;
bool isDrafted;
std::string scriptName;
std::string scriptDescription;
long updateTime;
std::string scriptId;
std::string debugStatus;
std::string scene;
bool isDebugDrafted;
};
WithdrawScriptReviewResult();
explicit WithdrawScriptReviewResult(const std::string &payload);
~WithdrawScriptReviewResult();
Script getScript()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Script script_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_WITHDRAWSCRIPTREVIEWRESULT_H_