Fixed bugs for CCC.

This commit is contained in:
sdk-team
2020-12-01 08:15:17 +00:00
parent 423fdd2fe5
commit ea23aa89b7
70 changed files with 2942 additions and 586 deletions

View File

@@ -84,6 +84,8 @@
#include "model/DialExResult.h"
#include "model/DialogueRequest.h"
#include "model/DialogueResult.h"
#include "model/DisableTrunkProvidersRequest.h"
#include "model/DisableTrunkProvidersResult.h"
#include "model/DownloadAllTypeRecordingRequest.h"
#include "model/DownloadAllTypeRecordingResult.h"
#include "model/DownloadCabRecordingRequest.h"
@@ -152,6 +154,8 @@
#include "model/GetTaskListResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/GetUserByExtensionRequest.h"
#include "model/GetUserByExtensionResult.h"
#include "model/InflightTaskTimeoutRequest.h"
#include "model/InflightTaskTimeoutResult.h"
#include "model/LaunchAppraiseRequest.h"
@@ -162,6 +166,8 @@
#include "model/ListAgentDevicesResult.h"
#include "model/ListAgentEventsRequest.h"
#include "model/ListAgentEventsResult.h"
#include "model/ListAgentStateLogsRequest.h"
#include "model/ListAgentStateLogsResult.h"
#include "model/ListAgentStatesRequest.h"
#include "model/ListAgentStatesResult.h"
#include "model/ListAgentSummaryReportsRequest.h"
@@ -230,6 +236,12 @@
#include "model/ListSkillGroupsOfUserResult.h"
#include "model/ListSurveysRequest.h"
#include "model/ListSurveysResult.h"
#include "model/ListTransferableSkillGroupsRequest.h"
#include "model/ListTransferableSkillGroupsResult.h"
#include "model/ListTrunkProvidersRequest.h"
#include "model/ListTrunkProvidersResult.h"
#include "model/ListTrunksOfSkillGroupRequest.h"
#include "model/ListTrunksOfSkillGroupResult.h"
#include "model/ListUnreachableContactsRequest.h"
#include "model/ListUnreachableContactsResult.h"
#include "model/ListUsersRequest.h"
@@ -246,6 +258,8 @@
#include "model/ModifyPhoneNumberResult.h"
#include "model/ModifyPhoneTagsRequest.h"
#include "model/ModifyPhoneTagsResult.h"
#include "model/ModifyPrimaryTrunksOfSkillGroupRequest.h"
#include "model/ModifyPrimaryTrunksOfSkillGroupResult.h"
#include "model/ModifyPrivacyNumberCallDetailRequest.h"
#include "model/ModifyPrivacyNumberCallDetailResult.h"
#include "model/ModifyScenarioRequest.h"
@@ -404,6 +418,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DialogueResult> DialogueOutcome;
typedef std::future<DialogueOutcome> DialogueOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::DialogueRequest&, const DialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DialogueAsyncHandler;
typedef Outcome<Error, Model::DisableTrunkProvidersResult> DisableTrunkProvidersOutcome;
typedef std::future<DisableTrunkProvidersOutcome> DisableTrunkProvidersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::DisableTrunkProvidersRequest&, const DisableTrunkProvidersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableTrunkProvidersAsyncHandler;
typedef Outcome<Error, Model::DownloadAllTypeRecordingResult> DownloadAllTypeRecordingOutcome;
typedef std::future<DownloadAllTypeRecordingOutcome> DownloadAllTypeRecordingOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::DownloadAllTypeRecordingRequest&, const DownloadAllTypeRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadAllTypeRecordingAsyncHandler;
@@ -506,6 +523,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
typedef Outcome<Error, Model::GetUserByExtensionResult> GetUserByExtensionOutcome;
typedef std::future<GetUserByExtensionOutcome> GetUserByExtensionOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetUserByExtensionRequest&, const GetUserByExtensionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserByExtensionAsyncHandler;
typedef Outcome<Error, Model::InflightTaskTimeoutResult> InflightTaskTimeoutOutcome;
typedef std::future<InflightTaskTimeoutOutcome> InflightTaskTimeoutOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::InflightTaskTimeoutRequest&, const InflightTaskTimeoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InflightTaskTimeoutAsyncHandler;
@@ -521,6 +541,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAgentEventsResult> ListAgentEventsOutcome;
typedef std::future<ListAgentEventsOutcome> ListAgentEventsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListAgentEventsRequest&, const ListAgentEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentEventsAsyncHandler;
typedef Outcome<Error, Model::ListAgentStateLogsResult> ListAgentStateLogsOutcome;
typedef std::future<ListAgentStateLogsOutcome> ListAgentStateLogsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListAgentStateLogsRequest&, const ListAgentStateLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentStateLogsAsyncHandler;
typedef Outcome<Error, Model::ListAgentStatesResult> ListAgentStatesOutcome;
typedef std::future<ListAgentStatesOutcome> ListAgentStatesOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListAgentStatesRequest&, const ListAgentStatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentStatesAsyncHandler;
@@ -623,6 +646,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListSurveysResult> ListSurveysOutcome;
typedef std::future<ListSurveysOutcome> ListSurveysOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListSurveysRequest&, const ListSurveysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveysAsyncHandler;
typedef Outcome<Error, Model::ListTransferableSkillGroupsResult> ListTransferableSkillGroupsOutcome;
typedef std::future<ListTransferableSkillGroupsOutcome> ListTransferableSkillGroupsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListTransferableSkillGroupsRequest&, const ListTransferableSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransferableSkillGroupsAsyncHandler;
typedef Outcome<Error, Model::ListTrunkProvidersResult> ListTrunkProvidersOutcome;
typedef std::future<ListTrunkProvidersOutcome> ListTrunkProvidersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListTrunkProvidersRequest&, const ListTrunkProvidersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTrunkProvidersAsyncHandler;
typedef Outcome<Error, Model::ListTrunksOfSkillGroupResult> ListTrunksOfSkillGroupOutcome;
typedef std::future<ListTrunksOfSkillGroupOutcome> ListTrunksOfSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListTrunksOfSkillGroupRequest&, const ListTrunksOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTrunksOfSkillGroupAsyncHandler;
typedef Outcome<Error, Model::ListUnreachableContactsResult> ListUnreachableContactsOutcome;
typedef std::future<ListUnreachableContactsOutcome> ListUnreachableContactsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListUnreachableContactsRequest&, const ListUnreachableContactsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUnreachableContactsAsyncHandler;
@@ -647,6 +679,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyPhoneTagsResult> ModifyPhoneTagsOutcome;
typedef std::future<ModifyPhoneTagsOutcome> ModifyPhoneTagsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneTagsRequest&, const ModifyPhoneTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneTagsAsyncHandler;
typedef Outcome<Error, Model::ModifyPrimaryTrunksOfSkillGroupResult> ModifyPrimaryTrunksOfSkillGroupOutcome;
typedef std::future<ModifyPrimaryTrunksOfSkillGroupOutcome> ModifyPrimaryTrunksOfSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyPrimaryTrunksOfSkillGroupRequest&, const ModifyPrimaryTrunksOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPrimaryTrunksOfSkillGroupAsyncHandler;
typedef Outcome<Error, Model::ModifyPrivacyNumberCallDetailResult> ModifyPrivacyNumberCallDetailOutcome;
typedef std::future<ModifyPrivacyNumberCallDetailOutcome> ModifyPrivacyNumberCallDetailOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyPrivacyNumberCallDetailRequest&, const ModifyPrivacyNumberCallDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPrivacyNumberCallDetailAsyncHandler;
@@ -829,6 +864,9 @@ namespace AlibabaCloud
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;
DisableTrunkProvidersOutcome disableTrunkProviders(const Model::DisableTrunkProvidersRequest &request)const;
void disableTrunkProvidersAsync(const Model::DisableTrunkProvidersRequest& request, const DisableTrunkProvidersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableTrunkProvidersOutcomeCallable disableTrunkProvidersCallable(const Model::DisableTrunkProvidersRequest& request) const;
DownloadAllTypeRecordingOutcome downloadAllTypeRecording(const Model::DownloadAllTypeRecordingRequest &request)const;
void downloadAllTypeRecordingAsync(const Model::DownloadAllTypeRecordingRequest& request, const DownloadAllTypeRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadAllTypeRecordingOutcomeCallable downloadAllTypeRecordingCallable(const Model::DownloadAllTypeRecordingRequest& request) const;
@@ -931,6 +969,9 @@ namespace AlibabaCloud
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
GetUserByExtensionOutcome getUserByExtension(const Model::GetUserByExtensionRequest &request)const;
void getUserByExtensionAsync(const Model::GetUserByExtensionRequest& request, const GetUserByExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserByExtensionOutcomeCallable getUserByExtensionCallable(const Model::GetUserByExtensionRequest& request) const;
InflightTaskTimeoutOutcome inflightTaskTimeout(const Model::InflightTaskTimeoutRequest &request)const;
void inflightTaskTimeoutAsync(const Model::InflightTaskTimeoutRequest& request, const InflightTaskTimeoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InflightTaskTimeoutOutcomeCallable inflightTaskTimeoutCallable(const Model::InflightTaskTimeoutRequest& request) const;
@@ -946,6 +987,9 @@ namespace AlibabaCloud
ListAgentEventsOutcome listAgentEvents(const Model::ListAgentEventsRequest &request)const;
void listAgentEventsAsync(const Model::ListAgentEventsRequest& request, const ListAgentEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAgentEventsOutcomeCallable listAgentEventsCallable(const Model::ListAgentEventsRequest& request) const;
ListAgentStateLogsOutcome listAgentStateLogs(const Model::ListAgentStateLogsRequest &request)const;
void listAgentStateLogsAsync(const Model::ListAgentStateLogsRequest& request, const ListAgentStateLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAgentStateLogsOutcomeCallable listAgentStateLogsCallable(const Model::ListAgentStateLogsRequest& request) const;
ListAgentStatesOutcome listAgentStates(const Model::ListAgentStatesRequest &request)const;
void listAgentStatesAsync(const Model::ListAgentStatesRequest& request, const ListAgentStatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAgentStatesOutcomeCallable listAgentStatesCallable(const Model::ListAgentStatesRequest& request) const;
@@ -1048,6 +1092,15 @@ namespace AlibabaCloud
ListSurveysOutcome listSurveys(const Model::ListSurveysRequest &request)const;
void listSurveysAsync(const Model::ListSurveysRequest& request, const ListSurveysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveysOutcomeCallable listSurveysCallable(const Model::ListSurveysRequest& request) const;
ListTransferableSkillGroupsOutcome listTransferableSkillGroups(const Model::ListTransferableSkillGroupsRequest &request)const;
void listTransferableSkillGroupsAsync(const Model::ListTransferableSkillGroupsRequest& request, const ListTransferableSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransferableSkillGroupsOutcomeCallable listTransferableSkillGroupsCallable(const Model::ListTransferableSkillGroupsRequest& request) const;
ListTrunkProvidersOutcome listTrunkProviders(const Model::ListTrunkProvidersRequest &request)const;
void listTrunkProvidersAsync(const Model::ListTrunkProvidersRequest& request, const ListTrunkProvidersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTrunkProvidersOutcomeCallable listTrunkProvidersCallable(const Model::ListTrunkProvidersRequest& request) const;
ListTrunksOfSkillGroupOutcome listTrunksOfSkillGroup(const Model::ListTrunksOfSkillGroupRequest &request)const;
void listTrunksOfSkillGroupAsync(const Model::ListTrunksOfSkillGroupRequest& request, const ListTrunksOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTrunksOfSkillGroupOutcomeCallable listTrunksOfSkillGroupCallable(const Model::ListTrunksOfSkillGroupRequest& request) const;
ListUnreachableContactsOutcome listUnreachableContacts(const Model::ListUnreachableContactsRequest &request)const;
void listUnreachableContactsAsync(const Model::ListUnreachableContactsRequest& request, const ListUnreachableContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUnreachableContactsOutcomeCallable listUnreachableContactsCallable(const Model::ListUnreachableContactsRequest& request) const;
@@ -1072,6 +1125,9 @@ namespace AlibabaCloud
ModifyPhoneTagsOutcome modifyPhoneTags(const Model::ModifyPhoneTagsRequest &request)const;
void modifyPhoneTagsAsync(const Model::ModifyPhoneTagsRequest& request, const ModifyPhoneTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPhoneTagsOutcomeCallable modifyPhoneTagsCallable(const Model::ModifyPhoneTagsRequest& request) const;
ModifyPrimaryTrunksOfSkillGroupOutcome modifyPrimaryTrunksOfSkillGroup(const Model::ModifyPrimaryTrunksOfSkillGroupRequest &request)const;
void modifyPrimaryTrunksOfSkillGroupAsync(const Model::ModifyPrimaryTrunksOfSkillGroupRequest& request, const ModifyPrimaryTrunksOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPrimaryTrunksOfSkillGroupOutcomeCallable modifyPrimaryTrunksOfSkillGroupCallable(const Model::ModifyPrimaryTrunksOfSkillGroupRequest& request) const;
ModifyPrivacyNumberCallDetailOutcome modifyPrivacyNumberCallDetail(const Model::ModifyPrivacyNumberCallDetailRequest &request)const;
void modifyPrivacyNumberCallDetailAsync(const Model::ModifyPrivacyNumberCallDetailRequest& request, const ModifyPrivacyNumberCallDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPrivacyNumberCallDetailOutcomeCallable modifyPrivacyNumberCallDetailCallable(const Model::ModifyPrivacyNumberCallDetailRequest& request) const;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setPhoneNumberList(const std::vector<std::string>& phoneNumberList);
std::string getServiceTag()const;
void setServiceTag(const std::string& serviceTag);
std::string getSipTag()const;
void setSipTag(const std::string& sipTag);
std::string getRegionNameCity()const;
void setRegionNameCity(const std::string& regionNameCity);
@@ -63,6 +65,7 @@ namespace AlibabaCloud
std::string provider_;
std::vector<std::string> phoneNumberList_;
std::string serviceTag_;
std::string sipTag_;
std::string regionNameCity_;
};

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_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DisableTrunkProvidersRequest : public RpcServiceRequest
{
public:
DisableTrunkProvidersRequest();
~DisableTrunkProvidersRequest();
std::vector<std::string> getProviderName()const;
void setProviderName(const std::vector<std::string>& providerName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<std::string> providerName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSREQUEST_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_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT DisableTrunkProvidersResult : public ServiceResult
{
public:
DisableTrunkProvidersResult();
explicit DisableTrunkProvidersResult(const std::string &payload);
~DisableTrunkProvidersResult();
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_CCC_MODEL_DISABLETRUNKPROVIDERSRESULT_H_

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_CCC_MODEL_GETUSERBYEXTENSIONREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETUSERBYEXTENSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetUserByExtensionRequest : public RpcServiceRequest
{
public:
GetUserByExtensionRequest();
~GetUserByExtensionRequest();
std::string getExtension()const;
void setExtension(const std::string& extension);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string extension_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERBYEXTENSIONREQUEST_H_

View File

@@ -0,0 +1,97 @@
/*
* 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_CCC_MODEL_GETUSERBYEXTENSIONRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETUSERBYEXTENSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetUserByExtensionResult : public ServiceResult
{
public:
struct User
{
struct Detail
{
std::string extension;
std::string loginName;
std::string department;
std::string email;
std::string phone;
std::string displayName;
};
struct Role
{
std::string roleName;
std::string instanceId;
std::string roleDescription;
std::string roleId;
};
struct SkillLevel
{
struct Skill
{
std::string skillGroupName;
std::string instanceId;
std::string skillGroupId;
std::string skillGroupDescription;
};
Skill skill;
std::string skillLevelId;
int level;
};
std::vector<SkillLevel> skillLevels;
std::string instanceId;
std::string userId;
std::string ramId;
std::vector<Role> roles;
Detail detail;
};
GetUserByExtensionResult();
explicit GetUserByExtensionResult(const std::string &payload);
~GetUserByExtensionResult();
User getUser()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
User user_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERBYEXTENSIONRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListAgentStateLogsRequest : public RpcServiceRequest
{
public:
ListAgentStateLogsRequest();
~ListAgentStateLogsRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
long getRamId()const;
void setRamId(long ramId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
long endTime_;
long startTime_;
long ramId_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListAgentStateLogsResult : public ServiceResult
{
public:
struct AgentStateLogPage
{
struct AgentStateLog
{
std::string skillGroupIds;
std::string counterParty;
long stateTime;
std::string instanceId;
std::string state;
long ramId;
std::string stateCode;
std::string connectId;
std::string contactId;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<AgentStateLog> list;
};
ListAgentStateLogsResult();
explicit ListAgentStateLogsResult(const std::string &payload);
~ListAgentStateLogsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
AgentStateLogPage getAgentStateLogPage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
AgentStateLogPage agentStateLogPage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSRESULT_H_

View File

@@ -48,8 +48,10 @@ namespace AlibabaCloud
long oneTransferCalls;
float satisfactionIndex;
long satisfactionSurveysResponded;
std::string lastLogOutTime;
long totalTalkTime;
long averageReadyTime;
std::string firstLogInTime;
long totalLoggedInTime;
long maxTalkTime;
long maxReadyTime;

View File

@@ -46,8 +46,10 @@ namespace AlibabaCloud
long oneTransferCalls;
float satisfactionIndex;
long satisfactionSurveysResponded;
std::string lastLogOutTime;
long totalTalkTime;
long averageReadyTime;
std::string firstLogInTime;
long totalLoggedInTime;
long maxTalkTime;
long maxReadyTime;

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_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTransferableSkillGroupsRequest : public RpcServiceRequest
{
public:
ListTransferableSkillGroupsRequest();
~ListTransferableSkillGroupsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTransferableSkillGroupsResult : public ServiceResult
{
public:
struct SkillGroup
{
bool allowPrivateOutboundNumber;
std::string skillGroupName;
std::string accSkillGroupName;
std::string instanceId;
int userCount;
std::string routingStrategy;
std::string skillGroupId;
std::string accQueueName;
std::string skillGroupDescription;
};
ListTransferableSkillGroupsResult();
explicit ListTransferableSkillGroupsResult(const std::string &payload);
~ListTransferableSkillGroupsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<SkillGroup> getSkillGroups()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<SkillGroup> skillGroups_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRANSFERABLESKILLGROUPSRESULT_H_

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_CCC_MODEL_LISTTRUNKPROVIDERSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRUNKPROVIDERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTrunkProvidersRequest : public RpcServiceRequest
{
public:
ListTrunkProvidersRequest();
~ListTrunkProvidersRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRUNKPROVIDERSREQUEST_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_CCC_MODEL_LISTTRUNKPROVIDERSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRUNKPROVIDERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTrunkProvidersResult : public ServiceResult
{
public:
struct TrunkProvider
{
std::string status;
std::string providerName;
};
ListTrunkProvidersResult();
explicit ListTrunkProvidersResult(const std::string &payload);
~ListTrunkProvidersResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<TrunkProvider> getTrunkProviders()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<TrunkProvider> trunkProviders_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRUNKPROVIDERSRESULT_H_

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_CCC_MODEL_LISTTRUNKSOFSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTrunksOfSkillGroupRequest : public RpcServiceRequest
{
public:
ListTrunksOfSkillGroupRequest();
~ListTrunksOfSkillGroupRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string skillGroupId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPREQUEST_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_CCC_MODEL_LISTTRUNKSOFSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListTrunksOfSkillGroupResult : public ServiceResult
{
public:
struct TrunkConfig
{
std::string providerName;
bool primary;
};
ListTrunksOfSkillGroupResult();
explicit ListTrunksOfSkillGroupResult(const std::string &payload);
~ListTrunksOfSkillGroupResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<TrunkConfig> getTrunkConfigs()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::vector<TrunkConfig> trunkConfigs_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTTRUNKSOFSKILLGROUPRESULT_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_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyPrimaryTrunksOfSkillGroupRequest : public RpcServiceRequest
{
public:
ModifyPrimaryTrunksOfSkillGroupRequest();
~ModifyPrimaryTrunksOfSkillGroupRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<std::string> getPrimaryProviderName()const;
void setPrimaryProviderName(const std::vector<std::string>& primaryProviderName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string accessKeyId_;
std::vector<std::string> primaryProviderName_;
std::string instanceId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPREQUEST_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_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyPrimaryTrunksOfSkillGroupResult : public ServiceResult
{
public:
ModifyPrimaryTrunksOfSkillGroupResult();
explicit ModifyPrimaryTrunksOfSkillGroupResult(const std::string &payload);
~ModifyPrimaryTrunksOfSkillGroupResult();
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_CCC_MODEL_MODIFYPRIMARYTRUNKSOFSKILLGROUPRESULT_H_

View File

@@ -37,11 +37,14 @@ namespace AlibabaCloud
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string userId_;
std::string accessKeyId_;
};

View File

@@ -37,11 +37,14 @@ namespace AlibabaCloud
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<long> getRamIdList()const;
void setRamIdList(const std::vector<long>& ramIdList);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::vector<long> ramIdList_;
std::string accessKeyId_;
};