Supported new features for outbound.
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include "model/CreateBatchRepeatJobResult.h"
|
||||
#include "model/CreateDialogueFlowRequest.h"
|
||||
#include "model/CreateDialogueFlowResult.h"
|
||||
#include "model/CreateDownloadUrlRequest.h"
|
||||
#include "model/CreateDownloadUrlResult.h"
|
||||
#include "model/CreateGlobalQuestionRequest.h"
|
||||
#include "model/CreateGlobalQuestionResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
@@ -132,6 +134,8 @@
|
||||
#include "model/GetEffectiveDaysResult.h"
|
||||
#include "model/GetEmptyNumberNoMoreCallsInfoRequest.h"
|
||||
#include "model/GetEmptyNumberNoMoreCallsInfoResult.h"
|
||||
#include "model/GetInstanceConfigRequest.h"
|
||||
#include "model/GetInstanceConfigResult.h"
|
||||
#include "model/GetMaxAttemptsPerDayRequest.h"
|
||||
#include "model/GetMaxAttemptsPerDayResult.h"
|
||||
#include "model/GetSummaryInfoRequest.h"
|
||||
@@ -146,6 +150,8 @@
|
||||
#include "model/InflightTaskTimeoutResult.h"
|
||||
#include "model/ListDialogueFlowsRequest.h"
|
||||
#include "model/ListDialogueFlowsResult.h"
|
||||
#include "model/ListDownloadTasksRequest.h"
|
||||
#include "model/ListDownloadTasksResult.h"
|
||||
#include "model/ListGlobalQuestionsRequest.h"
|
||||
#include "model/ListGlobalQuestionsResult.h"
|
||||
#include "model/ListInstancesRequest.h"
|
||||
@@ -230,6 +236,8 @@
|
||||
#include "model/SaveEffectiveDaysResult.h"
|
||||
#include "model/SaveMaxAttemptsPerDayRequest.h"
|
||||
#include "model/SaveMaxAttemptsPerDayResult.h"
|
||||
#include "model/SearchTaskRequest.h"
|
||||
#include "model/SearchTaskResult.h"
|
||||
#include "model/StartJobRequest.h"
|
||||
#include "model/StartJobResult.h"
|
||||
#include "model/SubmitBatchJobsRequest.h"
|
||||
@@ -281,6 +289,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDialogueFlowResult> CreateDialogueFlowOutcome;
|
||||
typedef std::future<CreateDialogueFlowOutcome> CreateDialogueFlowOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateDialogueFlowRequest&, const CreateDialogueFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDialogueFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDownloadUrlResult> CreateDownloadUrlOutcome;
|
||||
typedef std::future<CreateDownloadUrlOutcome> CreateDownloadUrlOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateDownloadUrlRequest&, const CreateDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDownloadUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateGlobalQuestionResult> CreateGlobalQuestionOutcome;
|
||||
typedef std::future<CreateGlobalQuestionOutcome> CreateGlobalQuestionOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateGlobalQuestionRequest&, const CreateGlobalQuestionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGlobalQuestionAsyncHandler;
|
||||
@@ -428,6 +439,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetEmptyNumberNoMoreCallsInfoResult> GetEmptyNumberNoMoreCallsInfoOutcome;
|
||||
typedef std::future<GetEmptyNumberNoMoreCallsInfoOutcome> GetEmptyNumberNoMoreCallsInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetEmptyNumberNoMoreCallsInfoRequest&, const GetEmptyNumberNoMoreCallsInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEmptyNumberNoMoreCallsInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceConfigResult> GetInstanceConfigOutcome;
|
||||
typedef std::future<GetInstanceConfigOutcome> GetInstanceConfigOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetInstanceConfigRequest&, const GetInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMaxAttemptsPerDayResult> GetMaxAttemptsPerDayOutcome;
|
||||
typedef std::future<GetMaxAttemptsPerDayOutcome> GetMaxAttemptsPerDayOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetMaxAttemptsPerDayRequest&, const GetMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaxAttemptsPerDayAsyncHandler;
|
||||
@@ -449,6 +463,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListDialogueFlowsResult> ListDialogueFlowsOutcome;
|
||||
typedef std::future<ListDialogueFlowsOutcome> ListDialogueFlowsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListDialogueFlowsRequest&, const ListDialogueFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDialogueFlowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDownloadTasksResult> ListDownloadTasksOutcome;
|
||||
typedef std::future<ListDownloadTasksOutcome> ListDownloadTasksOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListDownloadTasksRequest&, const ListDownloadTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDownloadTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListGlobalQuestionsResult> ListGlobalQuestionsOutcome;
|
||||
typedef std::future<ListGlobalQuestionsOutcome> ListGlobalQuestionsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListGlobalQuestionsRequest&, const ListGlobalQuestionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGlobalQuestionsAsyncHandler;
|
||||
@@ -575,6 +592,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SaveMaxAttemptsPerDayResult> SaveMaxAttemptsPerDayOutcome;
|
||||
typedef std::future<SaveMaxAttemptsPerDayOutcome> SaveMaxAttemptsPerDayOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveMaxAttemptsPerDayRequest&, const SaveMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveMaxAttemptsPerDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTaskResult> SearchTaskOutcome;
|
||||
typedef std::future<SearchTaskOutcome> SearchTaskOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SearchTaskRequest&, const SearchTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartJobResult> StartJobOutcome;
|
||||
typedef std::future<StartJobOutcome> StartJobOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::StartJobRequest&, const StartJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartJobAsyncHandler;
|
||||
@@ -634,6 +654,9 @@ namespace AlibabaCloud
|
||||
CreateDialogueFlowOutcome createDialogueFlow(const Model::CreateDialogueFlowRequest &request)const;
|
||||
void createDialogueFlowAsync(const Model::CreateDialogueFlowRequest& request, const CreateDialogueFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDialogueFlowOutcomeCallable createDialogueFlowCallable(const Model::CreateDialogueFlowRequest& request) const;
|
||||
CreateDownloadUrlOutcome createDownloadUrl(const Model::CreateDownloadUrlRequest &request)const;
|
||||
void createDownloadUrlAsync(const Model::CreateDownloadUrlRequest& request, const CreateDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDownloadUrlOutcomeCallable createDownloadUrlCallable(const Model::CreateDownloadUrlRequest& request) const;
|
||||
CreateGlobalQuestionOutcome createGlobalQuestion(const Model::CreateGlobalQuestionRequest &request)const;
|
||||
void createGlobalQuestionAsync(const Model::CreateGlobalQuestionRequest& request, const CreateGlobalQuestionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGlobalQuestionOutcomeCallable createGlobalQuestionCallable(const Model::CreateGlobalQuestionRequest& request) const;
|
||||
@@ -781,6 +804,9 @@ namespace AlibabaCloud
|
||||
GetEmptyNumberNoMoreCallsInfoOutcome getEmptyNumberNoMoreCallsInfo(const Model::GetEmptyNumberNoMoreCallsInfoRequest &request)const;
|
||||
void getEmptyNumberNoMoreCallsInfoAsync(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request, const GetEmptyNumberNoMoreCallsInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEmptyNumberNoMoreCallsInfoOutcomeCallable getEmptyNumberNoMoreCallsInfoCallable(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request) const;
|
||||
GetInstanceConfigOutcome getInstanceConfig(const Model::GetInstanceConfigRequest &request)const;
|
||||
void getInstanceConfigAsync(const Model::GetInstanceConfigRequest& request, const GetInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceConfigOutcomeCallable getInstanceConfigCallable(const Model::GetInstanceConfigRequest& request) const;
|
||||
GetMaxAttemptsPerDayOutcome getMaxAttemptsPerDay(const Model::GetMaxAttemptsPerDayRequest &request)const;
|
||||
void getMaxAttemptsPerDayAsync(const Model::GetMaxAttemptsPerDayRequest& request, const GetMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMaxAttemptsPerDayOutcomeCallable getMaxAttemptsPerDayCallable(const Model::GetMaxAttemptsPerDayRequest& request) const;
|
||||
@@ -802,6 +828,9 @@ namespace AlibabaCloud
|
||||
ListDialogueFlowsOutcome listDialogueFlows(const Model::ListDialogueFlowsRequest &request)const;
|
||||
void listDialogueFlowsAsync(const Model::ListDialogueFlowsRequest& request, const ListDialogueFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDialogueFlowsOutcomeCallable listDialogueFlowsCallable(const Model::ListDialogueFlowsRequest& request) const;
|
||||
ListDownloadTasksOutcome listDownloadTasks(const Model::ListDownloadTasksRequest &request)const;
|
||||
void listDownloadTasksAsync(const Model::ListDownloadTasksRequest& request, const ListDownloadTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDownloadTasksOutcomeCallable listDownloadTasksCallable(const Model::ListDownloadTasksRequest& request) const;
|
||||
ListGlobalQuestionsOutcome listGlobalQuestions(const Model::ListGlobalQuestionsRequest &request)const;
|
||||
void listGlobalQuestionsAsync(const Model::ListGlobalQuestionsRequest& request, const ListGlobalQuestionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGlobalQuestionsOutcomeCallable listGlobalQuestionsCallable(const Model::ListGlobalQuestionsRequest& request) const;
|
||||
@@ -928,6 +957,9 @@ namespace AlibabaCloud
|
||||
SaveMaxAttemptsPerDayOutcome saveMaxAttemptsPerDay(const Model::SaveMaxAttemptsPerDayRequest &request)const;
|
||||
void saveMaxAttemptsPerDayAsync(const Model::SaveMaxAttemptsPerDayRequest& request, const SaveMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveMaxAttemptsPerDayOutcomeCallable saveMaxAttemptsPerDayCallable(const Model::SaveMaxAttemptsPerDayRequest& request) const;
|
||||
SearchTaskOutcome searchTask(const Model::SearchTaskRequest &request)const;
|
||||
void searchTaskAsync(const Model::SearchTaskRequest& request, const SearchTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTaskOutcomeCallable searchTaskCallable(const Model::SearchTaskRequest& request) const;
|
||||
StartJobOutcome startJob(const Model::StartJobRequest &request)const;
|
||||
void startJobAsync(const Model::StartJobRequest& request, const StartJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartJobOutcomeCallable startJobCallable(const Model::StartJobRequest& request) const;
|
||||
|
||||
@@ -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_CREATEDOWNLOADURLREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEDOWNLOADURLREQUEST_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 CreateDownloadUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDownloadUrlRequest();
|
||||
~CreateDownloadUrlRequest();
|
||||
|
||||
std::string getDownloadTaskId()const;
|
||||
void setDownloadTaskId(const std::string& downloadTaskId);
|
||||
std::string getFileId()const;
|
||||
void setFileId(const std::string& fileId);
|
||||
|
||||
private:
|
||||
std::string downloadTaskId_;
|
||||
std::string fileId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEDOWNLOADURLREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEDOWNLOADURLRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEDOWNLOADURLRESULT_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 CreateDownloadUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDownloadUrlResult();
|
||||
explicit CreateDownloadUrlResult(const std::string &payload);
|
||||
~CreateDownloadUrlResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getFileHttpUrl()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string fileHttpUrl_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEDOWNLOADURLRESULT_H_
|
||||
@@ -85,8 +85,8 @@ namespace AlibabaCloud
|
||||
std::string speaker;
|
||||
};
|
||||
std::string status;
|
||||
std::string chatbotId;
|
||||
long planedTime;
|
||||
std::string chatbotId;
|
||||
std::string calledNumber;
|
||||
std::string scenarioId;
|
||||
std::string taskId;
|
||||
@@ -99,6 +99,7 @@ namespace AlibabaCloud
|
||||
std::string callingNumber;
|
||||
std::string endReason;
|
||||
Contact3 contact3;
|
||||
std::string hangUpDirection;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string status;
|
||||
@@ -106,8 +107,8 @@ namespace AlibabaCloud
|
||||
std::vector<Task> tasks;
|
||||
std::string scenarioId;
|
||||
std::string instanceId;
|
||||
int priority;
|
||||
long actualTime;
|
||||
int priority;
|
||||
std::string strategyId;
|
||||
std::vector<KeyValuePair> extras;
|
||||
std::string dsReport;
|
||||
|
||||
@@ -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_GETINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETINSTANCECONFIGREQUEST_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 GetInstanceConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceConfigRequest();
|
||||
~GetInstanceConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETINSTANCECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETINSTANCECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETINSTANCECONFIGRESULT_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 GetInstanceConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct InstanceConfig
|
||||
{
|
||||
bool newBargeInSystemSwitch;
|
||||
bool searchTaskFunctionSwitch;
|
||||
bool miniPlaybackSystemSwitch;
|
||||
};
|
||||
InstanceConfig instanceConfig;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceConfigResult();
|
||||
explicit GetInstanceConfigResult(const std::string &payload);
|
||||
~GetInstanceConfigResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETINSTANCECONFIGRESULT_H_
|
||||
@@ -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_LISTDOWNLOADTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTDOWNLOADTASKSREQUEST_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 ListDownloadTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDownloadTasksRequest();
|
||||
~ListDownloadTasksRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTDOWNLOADTASKSREQUEST_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_OUTBOUNDBOT_MODEL_LISTDOWNLOADTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTDOWNLOADTASKSRESULT_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 ListDownloadTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DownloadTasks
|
||||
{
|
||||
struct DownloadTask
|
||||
{
|
||||
struct DownloadTaskFile0
|
||||
{
|
||||
std::string status;
|
||||
int progress;
|
||||
std::string title;
|
||||
std::string fileId;
|
||||
};
|
||||
std::string status;
|
||||
std::string taskId;
|
||||
std::vector<DownloadTask::DownloadTaskFile0> downloadTaskFiles;
|
||||
std::string title;
|
||||
long expireTime;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<DownloadTask> list;
|
||||
};
|
||||
|
||||
|
||||
ListDownloadTasksResult();
|
||||
explicit ListDownloadTasksResult(const std::string &payload);
|
||||
~ListDownloadTasksResult();
|
||||
DownloadTasks getDownloadTasks()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DownloadTasks downloadTasks_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTDOWNLOADTASKSRESULT_H_
|
||||
@@ -44,8 +44,8 @@ namespace AlibabaCloud
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
int round;
|
||||
std::string phoneNumber;
|
||||
std::string id;
|
||||
std::string jobUuid;
|
||||
std::string preferredPhoneNumber;
|
||||
@@ -61,18 +61,24 @@ namespace AlibabaCloud
|
||||
std::string tagName;
|
||||
std::string tagGroup;
|
||||
};
|
||||
bool hasAnswered;
|
||||
struct ExceptionCode
|
||||
{
|
||||
std::string hint;
|
||||
std::string code;
|
||||
};
|
||||
std::string status;
|
||||
bool hasAnswered;
|
||||
bool hasHangUpByRejection;
|
||||
std::string taskEndReason;
|
||||
std::vector<TagHit> tagHits;
|
||||
std::string callDurationDisplay;
|
||||
std::vector<ExceptionCode> dialExceptionCodes;
|
||||
std::string statusName;
|
||||
long callTime;
|
||||
std::vector<Extra> extras;
|
||||
int callDuration;
|
||||
bool hasReachedEndOfFlow;
|
||||
Contact contact;
|
||||
std::string taskEndReason;
|
||||
std::string callDurationDisplay;
|
||||
long callTime;
|
||||
};
|
||||
std::string status;
|
||||
std::string statusName;
|
||||
@@ -80,8 +86,8 @@ namespace AlibabaCloud
|
||||
LatestTask latestTask;
|
||||
std::string jobFailureReason;
|
||||
};
|
||||
int pageCount;
|
||||
int pageSize;
|
||||
int pageCount;
|
||||
int pageNumber;
|
||||
std::vector<Job> list;
|
||||
int rowCount;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setInstanceOwnerId(const std::string& instanceOwnerId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getExceptionCodes()const;
|
||||
void setExceptionCodes(const std::string& exceptionCodes);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string calledNumber_;
|
||||
std::string instanceOwnerId_;
|
||||
std::string taskId_;
|
||||
std::string exceptionCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* 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_SEARCHTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_SEARCHTASKREQUEST_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 SearchTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SearchTaskRequest();
|
||||
~SearchTaskRequest();
|
||||
|
||||
long getActualTimeLte()const;
|
||||
void setActualTimeLte(long actualTimeLte);
|
||||
std::string getOtherId()const;
|
||||
void setOtherId(const std::string& otherId);
|
||||
long getTaskCreateTimeLte()const;
|
||||
void setTaskCreateTimeLte(long taskCreateTimeLte);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
long getTaskCreateTimeGte()const;
|
||||
void setTaskCreateTimeGte(long taskCreateTimeGte);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getUserIdMatch()const;
|
||||
void setUserIdMatch(const std::string& userIdMatch);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
std::string getSortOrder()const;
|
||||
void setSortOrder(const std::string& sortOrder);
|
||||
std::string getTaskStatusStringList()const;
|
||||
void setTaskStatusStringList(const std::string& taskStatusStringList);
|
||||
std::string getJobGroupNameQuery()const;
|
||||
void setJobGroupNameQuery(const std::string& jobGroupNameQuery);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
long getRecordingDurationGte()const;
|
||||
void setRecordingDurationGte(long recordingDurationGte);
|
||||
long getCallDurationLte()const;
|
||||
void setCallDurationLte(long callDurationLte);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
std::string getSortBy()const;
|
||||
void setSortBy(const std::string& sortBy);
|
||||
std::string getJobStatusStringList()const;
|
||||
void setJobStatusStringList(const std::string& jobStatusStringList);
|
||||
long getActualTimeGte()const;
|
||||
void setActualTimeGte(long actualTimeGte);
|
||||
long getCallDurationGte()const;
|
||||
void setCallDurationGte(long callDurationGte);
|
||||
long getRecordingDurationLte()const;
|
||||
void setRecordingDurationLte(long recordingDurationLte);
|
||||
|
||||
private:
|
||||
long actualTimeLte_;
|
||||
std::string otherId_;
|
||||
long taskCreateTimeLte_;
|
||||
std::string jobId_;
|
||||
long taskCreateTimeGte_;
|
||||
std::string calledNumber_;
|
||||
std::string userIdMatch_;
|
||||
int pageSize_;
|
||||
int pageIndex_;
|
||||
std::string sortOrder_;
|
||||
std::string taskStatusStringList_;
|
||||
std::string jobGroupNameQuery_;
|
||||
std::string taskId_;
|
||||
std::string instanceId_;
|
||||
long recordingDurationGte_;
|
||||
long callDurationLte_;
|
||||
std::string jobGroupId_;
|
||||
std::string sortBy_;
|
||||
std::string jobStatusStringList_;
|
||||
long actualTimeGte_;
|
||||
long callDurationGte_;
|
||||
long recordingDurationLte_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_SEARCHTASKREQUEST_H_
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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_SEARCHTASKRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_SEARCHTASKRESULT_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 SearchTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SearchTaskInfo
|
||||
{
|
||||
bool hasAnswered;
|
||||
bool hasHangUpByRejection;
|
||||
std::string calledNumber;
|
||||
std::string taskId;
|
||||
std::string taskStatusName;
|
||||
std::vector<std::string> dialExceptionCodes;
|
||||
bool hasReachedEndOfFlow;
|
||||
int jobStatus;
|
||||
std::string dialException;
|
||||
std::string jobStatusName;
|
||||
long taskCreateTime;
|
||||
std::string jobGroupId;
|
||||
bool hasLastPlaybackCompleted;
|
||||
int taskEndReason;
|
||||
std::string dialExceptionOld;
|
||||
std::string callDurationDisplay;
|
||||
std::string jobId;
|
||||
std::string userName;
|
||||
std::string instanceId;
|
||||
std::string jobGroupName;
|
||||
long actualTime;
|
||||
int taskStatus;
|
||||
std::string taskStatusString;
|
||||
int callDuration;
|
||||
std::string userId;
|
||||
std::string jobStatusString;
|
||||
int recordingDuration;
|
||||
};
|
||||
|
||||
|
||||
SearchTaskResult();
|
||||
explicit SearchTaskResult(const std::string &payload);
|
||||
~SearchTaskResult();
|
||||
std::string getMessage()const;
|
||||
int getPageSize()const;
|
||||
long getTotal()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getPageIndex()const;
|
||||
std::string getCode()const;
|
||||
std::vector<SearchTaskInfo> getSearchTaskInfoList()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageSize_;
|
||||
long total_;
|
||||
int httpStatusCode_;
|
||||
int pageIndex_;
|
||||
std::string code_;
|
||||
std::vector<SearchTaskInfo> searchTaskInfoList_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_SEARCHTASKRESULT_H_
|
||||
Reference in New Issue
Block a user