Release for sprint 2_2_0.

This commit is contained in:
sdk-team
2021-12-16 14:19:17 +00:00
parent 541be1be3e
commit f640148ecc
10 changed files with 38 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string instanceId;
long startTime;
std::string earlyMediaState;
long callDuration;
std::vector<QueueEventsItem> queueEvents;
std::string calleeLocation;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEarlyMediaStateList()const;
void setEarlyMediaStateList(const std::string& earlyMediaStateList);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getSatisfactionList()const;
@@ -78,6 +80,7 @@ namespace AlibabaCloud
std::string orderByField_;
long startTime_;
int pageNumber_;
std::string earlyMediaStateList_;
std::string calledNumber_;
std::string satisfactionList_;
int pageSize_;

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
std::string releaseInitiator;
std::string instanceId;
long startTime;
std::string earlyMediaState;
long ringTime;
std::string callDuration;
std::string calleeLocation;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string contactFlowId_;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
int timeoutSeconds_;
std::string caller_;
std::string instanceId_;
std::string skillGroupId_;
};
}

View File

@@ -82,6 +82,8 @@ void GetCallDetailRecordResult::parse(const std::string &payload)
data_.callerLocation = dataNode["CallerLocation"].asString();
if(!dataNode["CalleeLocation"].isNull())
data_.calleeLocation = dataNode["CalleeLocation"].asString();
if(!dataNode["EarlyMediaState"].isNull())
data_.earlyMediaState = dataNode["EarlyMediaState"].asString();
auto allAgentEventsNode = dataNode["AgentEvents"]["AgentEventsItem"];
for (auto dataNodeAgentEventsAgentEventsItem : allAgentEventsNode)
{

View File

@@ -82,6 +82,17 @@ void ListCallDetailRecordsRequest::setPageNumber(int pageNumber)
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListCallDetailRecordsRequest::getEarlyMediaStateList()const
{
return earlyMediaStateList_;
}
void ListCallDetailRecordsRequest::setEarlyMediaStateList(const std::string& earlyMediaStateList)
{
earlyMediaStateList_ = earlyMediaStateList;
setParameter("EarlyMediaStateList", earlyMediaStateList);
}
std::string ListCallDetailRecordsRequest::getCalledNumber()const
{
return calledNumber_;

View File

@@ -108,6 +108,8 @@ void ListCallDetailRecordsResult::parse(const std::string &payload)
callDetailRecordObject.callerLocation = dataNodeListCallDetailRecord["CallerLocation"].asString();
if(!dataNodeListCallDetailRecord["CalleeLocation"].isNull())
callDetailRecordObject.calleeLocation = dataNodeListCallDetailRecord["CalleeLocation"].asString();
if(!dataNodeListCallDetailRecord["EarlyMediaState"].isNull())
callDetailRecordObject.earlyMediaState = dataNodeListCallDetailRecord["EarlyMediaState"].asString();
data_.list.push_back(callDetailRecordObject);
}
if(!value["Code"].isNull())

View File

@@ -115,3 +115,14 @@ void StartPredictiveCallRequest::setInstanceId(const std::string& instanceId)
setParameter("InstanceId", instanceId);
}
std::string StartPredictiveCallRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void StartPredictiveCallRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setParameter("SkillGroupId", skillGroupId);
}