Supported CallerLocation, CalleeLocation in CDR API.
This commit is contained in:
@@ -146,6 +146,8 @@
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/ListSkillLevelsOfUserRequest.h"
|
||||
#include "model/ListSkillLevelsOfUserResult.h"
|
||||
#include "model/ListUnassignedNumbersRequest.h"
|
||||
#include "model/ListUnassignedNumbersResult.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupRequest.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
@@ -214,6 +216,8 @@
|
||||
#include "model/SignOutGroupResult.h"
|
||||
#include "model/StartBack2BackCallRequest.h"
|
||||
#include "model/StartBack2BackCallResult.h"
|
||||
#include "model/StartPredictiveCallRequest.h"
|
||||
#include "model/StartPredictiveCallResult.h"
|
||||
#include "model/TakeBreakRequest.h"
|
||||
#include "model/TakeBreakResult.h"
|
||||
#include "model/UnmuteCallRequest.h"
|
||||
@@ -415,6 +419,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListSkillLevelsOfUserResult> ListSkillLevelsOfUserOutcome;
|
||||
typedef std::future<ListSkillLevelsOfUserOutcome> ListSkillLevelsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillLevelsOfUserRequest&, const ListSkillLevelsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillLevelsOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUnassignedNumbersResult> ListUnassignedNumbersOutcome;
|
||||
typedef std::future<ListUnassignedNumbersOutcome> ListUnassignedNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUnassignedNumbersRequest&, const ListUnassignedNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUnassignedNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserLevelsOfSkillGroupResult> ListUserLevelsOfSkillGroupOutcome;
|
||||
typedef std::future<ListUserLevelsOfSkillGroupOutcome> ListUserLevelsOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUserLevelsOfSkillGroupRequest&, const ListUserLevelsOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserLevelsOfSkillGroupAsyncHandler;
|
||||
@@ -517,6 +524,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
|
||||
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartPredictiveCallResult> StartPredictiveCallOutcome;
|
||||
typedef std::future<StartPredictiveCallOutcome> StartPredictiveCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartPredictiveCallRequest&, const StartPredictiveCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartPredictiveCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::TakeBreakResult> TakeBreakOutcome;
|
||||
typedef std::future<TakeBreakOutcome> TakeBreakOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TakeBreakRequest&, const TakeBreakOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TakeBreakAsyncHandler;
|
||||
@@ -717,6 +727,9 @@ namespace AlibabaCloud
|
||||
ListSkillLevelsOfUserOutcome listSkillLevelsOfUser(const Model::ListSkillLevelsOfUserRequest &request)const;
|
||||
void listSkillLevelsOfUserAsync(const Model::ListSkillLevelsOfUserRequest& request, const ListSkillLevelsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillLevelsOfUserOutcomeCallable listSkillLevelsOfUserCallable(const Model::ListSkillLevelsOfUserRequest& request) const;
|
||||
ListUnassignedNumbersOutcome listUnassignedNumbers(const Model::ListUnassignedNumbersRequest &request)const;
|
||||
void listUnassignedNumbersAsync(const Model::ListUnassignedNumbersRequest& request, const ListUnassignedNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUnassignedNumbersOutcomeCallable listUnassignedNumbersCallable(const Model::ListUnassignedNumbersRequest& request) const;
|
||||
ListUserLevelsOfSkillGroupOutcome listUserLevelsOfSkillGroup(const Model::ListUserLevelsOfSkillGroupRequest &request)const;
|
||||
void listUserLevelsOfSkillGroupAsync(const Model::ListUserLevelsOfSkillGroupRequest& request, const ListUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserLevelsOfSkillGroupOutcomeCallable listUserLevelsOfSkillGroupCallable(const Model::ListUserLevelsOfSkillGroupRequest& request) const;
|
||||
@@ -819,6 +832,9 @@ namespace AlibabaCloud
|
||||
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
|
||||
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
|
||||
StartPredictiveCallOutcome startPredictiveCall(const Model::StartPredictiveCallRequest &request)const;
|
||||
void startPredictiveCallAsync(const Model::StartPredictiveCallRequest& request, const StartPredictiveCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartPredictiveCallOutcomeCallable startPredictiveCallCallable(const Model::StartPredictiveCallRequest& request) const;
|
||||
TakeBreakOutcome takeBreak(const Model::TakeBreakRequest &request)const;
|
||||
void takeBreakAsync(const Model::TakeBreakRequest& request, const TakeBreakAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TakeBreakOutcomeCallable takeBreakCallable(const Model::TakeBreakRequest& request) const;
|
||||
|
||||
@@ -42,8 +42,8 @@ namespace AlibabaCloud
|
||||
std::string event;
|
||||
};
|
||||
std::vector<AgentEventsItem::EventSequenceItem> eventSequence;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
std::string agentId;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
struct IvrEventsItem
|
||||
@@ -73,22 +73,24 @@ namespace AlibabaCloud
|
||||
std::string skillGroupIds;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string releaseInitiator;
|
||||
std::string contactDisposition;
|
||||
std::string instanceId;
|
||||
std::string releaseInitiator;
|
||||
int satisfaction;
|
||||
long startTime;
|
||||
std::string contactId;
|
||||
long callDuration;
|
||||
std::string callingNumber;
|
||||
std::vector<QueueEventsItem> queueEvents;
|
||||
long releaseTime;
|
||||
std::string calleeLocation;
|
||||
bool recordingReady;
|
||||
long releaseTime;
|
||||
std::string skillGroupNames;
|
||||
std::string satisfactionSurveyChannel;
|
||||
std::string agentIds;
|
||||
bool satisfactionSurveyOffered;
|
||||
long establishedTime;
|
||||
std::string callerLocation;
|
||||
std::string agentNames;
|
||||
std::vector<IvrEventsItem> ivrEvents;
|
||||
};
|
||||
|
||||
@@ -36,43 +36,51 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Inbound
|
||||
{
|
||||
long callsAbandonedInQueue;
|
||||
float serviceLevel20;
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
float averageHoldTime;
|
||||
long callsRinged;
|
||||
long maxAbandonedInIVRTime;
|
||||
long callsAbandoned;
|
||||
long callsOffered;
|
||||
long maxRingTime;
|
||||
long callsHold;
|
||||
float satisfactionIndex;
|
||||
long maxAbandonedInRingTime;
|
||||
long callsHold;
|
||||
long totalRingTime;
|
||||
float handleRate;
|
||||
float averageAbandonedInQueueTime;
|
||||
long totalAbandonedInIVRTime;
|
||||
float averageWaitTime;
|
||||
long totalTalkTime;
|
||||
float averageWaitTime;
|
||||
long totalAbandonedInRingTime;
|
||||
long callsQueued;
|
||||
long maxTalkTime;
|
||||
float averageAbandonedInIVRTime;
|
||||
float satisfactionRate;
|
||||
long callsQueuingOverflow;
|
||||
long totalAbandonTime;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long callsAbandonedInIVR;
|
||||
long callsQueuingFailed;
|
||||
long callsBlindTransferred;
|
||||
long maxAbandonedInQueueTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long callsAbandonedInRing;
|
||||
long callsAttendedTransferred;
|
||||
float averageRingTime;
|
||||
float abandonRate;
|
||||
long callsIVRException;
|
||||
long callsAbandonedInQueue;
|
||||
float averageHoldTime;
|
||||
long callsAbandoned;
|
||||
long maxRingTime;
|
||||
long maxAbandonedInRingTime;
|
||||
long totalAbandonedInIVRTime;
|
||||
long callsForwardToOutsideNumber;
|
||||
long callsQueued;
|
||||
long maxTalkTime;
|
||||
float averageAbandonedInIVRTime;
|
||||
float satisfactionRate;
|
||||
long callsQueuingTimeout;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long callsAbandonedInIVR;
|
||||
long callsAbandonedInVoiceNavigator;
|
||||
long callsVoicemail;
|
||||
long callsHandled;
|
||||
long maxWaitTime;
|
||||
long satisfactionSurveysResponded;
|
||||
long callsAttendedTransferred;
|
||||
float averageRingTime;
|
||||
long maxAbandonTime;
|
||||
long totalWaitTime;
|
||||
float averageAbandonTime;
|
||||
@@ -80,18 +88,17 @@ namespace AlibabaCloud
|
||||
float averageWorkTime;
|
||||
long totalAbandonedInQueueTime;
|
||||
long maxWorkTime;
|
||||
float abandonRate;
|
||||
};
|
||||
struct Outbound
|
||||
{
|
||||
long totalDialingTime;
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
long callsRinged;
|
||||
float averageHoldTime;
|
||||
long maxRingTime;
|
||||
int callsHold;
|
||||
float satisfactionIndex;
|
||||
int callsHold;
|
||||
long totalRingTime;
|
||||
float averageDialingTime;
|
||||
long callsAnswered;
|
||||
@@ -101,8 +108,8 @@ namespace AlibabaCloud
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
float answerRate;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
long callsBlindTransferred;
|
||||
long satisfactionSurveysOffered;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -118,8 +125,8 @@ namespace AlibabaCloud
|
||||
long totalCalls;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
float averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float averageHoldTime;
|
||||
float satisfactionIndex;
|
||||
float averageBreakTime;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -127,14 +134,14 @@ namespace AlibabaCloud
|
||||
float averageReadyTime;
|
||||
long totalLoggedInTime;
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
float averageWorkTime;
|
||||
long maxReadyTime;
|
||||
float satisfactionRate;
|
||||
long maxBreakTime;
|
||||
long maxWorkTime;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long maxBreakTime;
|
||||
float occupancyRate;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
};
|
||||
Outbound outbound;
|
||||
Overall overall;
|
||||
|
||||
@@ -49,16 +49,20 @@ namespace AlibabaCloud
|
||||
long establishedTime;
|
||||
long queueTime;
|
||||
std::string skillGroupIds;
|
||||
std::string instanceId;
|
||||
std::string broker;
|
||||
std::string releaseInitiator;
|
||||
std::string instanceId;
|
||||
long startTime;
|
||||
long ringTime;
|
||||
std::string callDuration;
|
||||
std::string calleeLocation;
|
||||
long releaseTime;
|
||||
std::string satisfactionSurveyChannel;
|
||||
std::string agentIds;
|
||||
std::string additionalBroker;
|
||||
std::string satisfactionDescription;
|
||||
std::string agentIds;
|
||||
long waitTime;
|
||||
std::string callerLocation;
|
||||
std::string agentNames;
|
||||
long recordingDuration;
|
||||
};
|
||||
|
||||
@@ -36,43 +36,50 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Inbound
|
||||
{
|
||||
long callsAbandonedInQueue;
|
||||
float serviceLevel20;
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
float averageHoldTime;
|
||||
long callsRinged;
|
||||
long maxAbandonedInIVRTime;
|
||||
long callsAbandoned;
|
||||
long callsOffered;
|
||||
long maxRingTime;
|
||||
long callsHold;
|
||||
float satisfactionIndex;
|
||||
long maxAbandonedInRingTime;
|
||||
long callsHold;
|
||||
long totalRingTime;
|
||||
float handleRate;
|
||||
float averageAbandonedInQueueTime;
|
||||
long totalAbandonedInIVRTime;
|
||||
float averageWaitTime;
|
||||
long totalTalkTime;
|
||||
float averageWaitTime;
|
||||
long totalAbandonedInRingTime;
|
||||
long callsQueued;
|
||||
long maxTalkTime;
|
||||
float averageAbandonedInIVRTime;
|
||||
float satisfactionRate;
|
||||
long callsQueuingOverflow;
|
||||
long totalAbandonTime;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long callsAbandonedInIVR;
|
||||
long callsQueuingFailed;
|
||||
long callsBlindTransferred;
|
||||
long maxAbandonedInQueueTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long callsAbandonedInRing;
|
||||
long callsAttendedTransferred;
|
||||
float averageRingTime;
|
||||
long callsIVRException;
|
||||
long callsAbandonedInQueue;
|
||||
float averageHoldTime;
|
||||
long callsAbandoned;
|
||||
long maxRingTime;
|
||||
long maxAbandonedInRingTime;
|
||||
long totalAbandonedInIVRTime;
|
||||
long callsForwardToOutsideNumber;
|
||||
long callsQueued;
|
||||
long maxTalkTime;
|
||||
float averageAbandonedInIVRTime;
|
||||
float satisfactionRate;
|
||||
long callsQueuingTimeout;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long callsAbandonedInIVR;
|
||||
long callsAbandonedInVoiceNavigator;
|
||||
long callsVoicemail;
|
||||
long callsHandled;
|
||||
long maxWaitTime;
|
||||
long satisfactionSurveysResponded;
|
||||
long callsAttendedTransferred;
|
||||
float averageRingTime;
|
||||
long maxAbandonTime;
|
||||
long totalWaitTime;
|
||||
float averageAbandonTime;
|
||||
@@ -86,12 +93,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
long totalDialingTime;
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
long callsRinged;
|
||||
float averageHoldTime;
|
||||
long maxRingTime;
|
||||
long callsHold;
|
||||
float satisfactionIndex;
|
||||
long callsHold;
|
||||
long totalRingTime;
|
||||
float averageDialingTime;
|
||||
long callsAnswered;
|
||||
@@ -101,8 +108,8 @@ namespace AlibabaCloud
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
float answerRate;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
long callsBlindTransferred;
|
||||
long satisfactionSurveysOffered;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -118,8 +125,8 @@ namespace AlibabaCloud
|
||||
long totalCalls;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
float averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float averageHoldTime;
|
||||
float satisfactionIndex;
|
||||
float averageBreakTime;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -127,14 +134,14 @@ namespace AlibabaCloud
|
||||
float averageReadyTime;
|
||||
long totalLoggedInTime;
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
float averageWorkTime;
|
||||
long maxReadyTime;
|
||||
float satisfactionRate;
|
||||
long maxBreakTime;
|
||||
long maxWorkTime;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long maxBreakTime;
|
||||
float occupancyRate;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
};
|
||||
Outbound outbound;
|
||||
Overall overall;
|
||||
|
||||
@@ -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_LISTUNASSIGNEDNUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_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 ListUnassignedNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListUnassignedNumbersRequest();
|
||||
~ListUnassignedNumbersRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_
|
||||
@@ -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_CCC_MODEL_LISTUNASSIGNEDNUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSRESULT_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 ListUnassignedNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
bool active;
|
||||
bool usage;
|
||||
std::string number;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<PhoneNumber> list;
|
||||
};
|
||||
|
||||
|
||||
ListUnassignedNumbersResult();
|
||||
explicit ListUnassignedNumbersResult(const std::string &payload);
|
||||
~ListUnassignedNumbersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
int getTimeoutSeconds()const;
|
||||
void setTimeoutSeconds(int timeoutSeconds);
|
||||
std::string getCaller()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string callee_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string tags_;
|
||||
int timeoutSeconds_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
|
||||
@@ -62,12 +62,12 @@ namespace AlibabaCloud
|
||||
std::string extension;
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string breakCode;
|
||||
std::string deviceId;
|
||||
std::string userId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string jobId;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
};
|
||||
UserContext userContext;
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace AlibabaCloud
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
int index;
|
||||
std::string associatedData;
|
||||
std::string skillGroupId;
|
||||
std::string associatedData;
|
||||
std::string channelId;
|
||||
long timestamp;
|
||||
std::string channelVariables;
|
||||
@@ -64,16 +64,16 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string breakCode;
|
||||
std::string deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string jobId;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
|
||||
@@ -39,10 +39,6 @@ namespace AlibabaCloud
|
||||
void setCallee(const std::string& callee);
|
||||
std::string getBroker()const;
|
||||
void setBroker(const std::string& broker);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAdditionalBroker()const;
|
||||
void setAdditionalBroker(const std::string& additionalBroker);
|
||||
std::string getTags()const;
|
||||
@@ -57,8 +53,6 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string callee_;
|
||||
std::string broker_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string additionalBroker_;
|
||||
std::string tags_;
|
||||
int timeoutSeconds_;
|
||||
|
||||
@@ -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_STARTPREDICTIVECALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_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 StartPredictiveCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartPredictiveCallRequest();
|
||||
~StartPredictiveCallRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
std::string getContactFlowVariables()const;
|
||||
void setContactFlowVariables(const std::string& contactFlowVariables);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
int getTimeoutSeconds()const;
|
||||
void setTimeoutSeconds(int timeoutSeconds);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string callee_;
|
||||
std::string contactFlowVariables_;
|
||||
std::string tags_;
|
||||
int timeoutSeconds_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_
|
||||
104
ccc/include/alibabacloud/ccc/model/StartPredictiveCallResult.h
Normal file
104
ccc/include/alibabacloud/ccc/model/StartPredictiveCallResult.h
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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_STARTPREDICTIVECALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLRESULT_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 StartPredictiveCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallContext
|
||||
{
|
||||
struct ChannelContext
|
||||
{
|
||||
std::string destination;
|
||||
std::string channelState;
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
std::string associatedData;
|
||||
std::string channelId;
|
||||
long timestamp;
|
||||
std::string releaseReason;
|
||||
std::string channelFlags;
|
||||
std::string originator;
|
||||
std::string userId;
|
||||
std::string userExtension;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string instanceId;
|
||||
std::string callType;
|
||||
std::string jobId;
|
||||
std::vector<ChannelContext> channelContexts;
|
||||
};
|
||||
struct UserContext
|
||||
{
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string deviceState;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
StartPredictiveCallResult();
|
||||
explicit StartPredictiveCallResult(const std::string &payload);
|
||||
~StartPredictiveCallResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLRESULT_H_
|
||||
Reference in New Issue
Block a user