Export new API.

This commit is contained in:
sdk-team
2021-03-24 08:08:32 +00:00
parent f643b898e1
commit f5ff8be154
6 changed files with 20 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2021-03-24 Version: 1.36.651
- Export new API.
2021-03-23 Version: 1.36.650
- Update Open API.

View File

@@ -1 +1 @@
1.36.650
1.36.651

View File

@@ -39,7 +39,7 @@ namespace AlibabaCloud
struct Inbound
{
long callsConsulted;
long serviceLevel20;
float serviceLevel20;
long totalWorkTime;
long totalHoldTime;
long satisfactionSurveysOffered;

View File

@@ -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_;

View File

@@ -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())

View File

@@ -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_;