Export new API.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-03-24 Version: 1.36.651
|
||||
- Export new API.
|
||||
|
||||
2021-03-23 Version: 1.36.650
|
||||
- Update Open API.
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
||||
struct Inbound
|
||||
{
|
||||
long callsConsulted;
|
||||
long serviceLevel20;
|
||||
float serviceLevel20;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListRecentCallDetailRecordsRequest();
|
||||
~ListRecentCallDetailRecordsRequest();
|
||||
|
||||
std::string getCriteria()const;
|
||||
void setCriteria(const std::string& criteria);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string criteria_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
|
||||
@@ -86,7 +86,7 @@ void ListHistoricalAgentReportResult::parse(const std::string &payload)
|
||||
if(!inboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!inboundNode["ServiceLevel20"].isNull())
|
||||
itemsObject.inbound.serviceLevel20 = std::stol(inboundNode["ServiceLevel20"].asString());
|
||||
itemsObject.inbound.serviceLevel20 = std::stof(inboundNode["ServiceLevel20"].asString());
|
||||
if(!inboundNode["TotalHoldTime"].isNull())
|
||||
itemsObject.inbound.totalHoldTime = std::stol(inboundNode["TotalHoldTime"].asString());
|
||||
if(!inboundNode["TotalRingTime"].isNull())
|
||||
|
||||
@@ -27,6 +27,17 @@ ListRecentCallDetailRecordsRequest::ListRecentCallDetailRecordsRequest() :
|
||||
ListRecentCallDetailRecordsRequest::~ListRecentCallDetailRecordsRequest()
|
||||
{}
|
||||
|
||||
std::string ListRecentCallDetailRecordsRequest::getCriteria()const
|
||||
{
|
||||
return criteria_;
|
||||
}
|
||||
|
||||
void ListRecentCallDetailRecordsRequest::setCriteria(const std::string& criteria)
|
||||
{
|
||||
criteria_ = criteria;
|
||||
setParameter("Criteria", criteria);
|
||||
}
|
||||
|
||||
long ListRecentCallDetailRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
|
||||
Reference in New Issue
Block a user