Compare commits
3 Commits
OpenSearch
...
xtrace-pat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d618db251 | ||
|
|
5def51b35c | ||
|
|
740062e96f |
@@ -1,3 +1,12 @@
|
||||
2021-01-15 Version: patch
|
||||
- Add result value spanId for GetTrace api.
|
||||
|
||||
2021-01-15 Version: patch
|
||||
- Update Function.
|
||||
|
||||
2021-01-15 Version: patch
|
||||
- Update Function.
|
||||
|
||||
2021-01-15 Version: patch
|
||||
- Add API CreateSortScriptValidation.
|
||||
- Add parameter resourceGroupId to API ListAppGroups.
|
||||
|
||||
@@ -35,16 +35,18 @@ namespace AlibabaCloud
|
||||
struct DataItem
|
||||
{
|
||||
std::string startTargetImage;
|
||||
std::string sourceUrl;
|
||||
std::string startSourceImage;
|
||||
std::string corpId;
|
||||
std::string personId;
|
||||
std::string deviceId;
|
||||
std::string endTargetImage;
|
||||
std::string startTime;
|
||||
std::string endSourceImage;
|
||||
std::string targetUrl;
|
||||
std::string date;
|
||||
std::string lastTime;
|
||||
std::string groupId;
|
||||
std::string personId;
|
||||
std::string endSourceImage;
|
||||
std::string lastTime;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListPersonDetailsRequest();
|
||||
~ListPersonDetailsRequest();
|
||||
|
||||
std::string getSchema()const;
|
||||
void setSchema(const std::string& schema);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
@@ -35,12 +35,14 @@ namespace AlibabaCloud
|
||||
struct Datas
|
||||
{
|
||||
std::string profession;
|
||||
std::string sourceUrl;
|
||||
std::string personId;
|
||||
std::string address;
|
||||
std::string transportation;
|
||||
std::string updateTime;
|
||||
std::string personType;
|
||||
std::string gender;
|
||||
std::string targetUrl;
|
||||
std::string age;
|
||||
std::string hotSpotAddress;
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListPersonTagRequest();
|
||||
~ListPersonTagRequest();
|
||||
|
||||
std::string getSchema()const;
|
||||
void setSchema(const std::string& schema);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
long getPageNumber()const;
|
||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string corpId_;
|
||||
long pageNumber_;
|
||||
std::string tagCode_;
|
||||
|
||||
@@ -35,19 +35,28 @@ namespace AlibabaCloud
|
||||
ListPersonTopRequest();
|
||||
~ListPersonTopRequest();
|
||||
|
||||
std::string getSchema()const;
|
||||
void setSchema(const std::string& schema);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getPersonId()const;
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string pageNumber_;
|
||||
std::string pageSize_;
|
||||
std::string personId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
struct DataItem
|
||||
{
|
||||
std::string corpId;
|
||||
std::string personId;
|
||||
@@ -50,7 +50,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
@@ -60,7 +60,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::vector<DataItem> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListPersonTrackRequest();
|
||||
~ListPersonTrackRequest();
|
||||
|
||||
std::string getSchema()const;
|
||||
void setSchema(const std::string& schema);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
@@ -36,11 +36,13 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string order;
|
||||
std::string picUrlPath;
|
||||
std::string sourceUrl;
|
||||
std::string corpId;
|
||||
std::string rightBottomX;
|
||||
std::string targetPicUrlPath;
|
||||
std::string rightBottomY;
|
||||
std::string latitude;
|
||||
std::string targetUrl;
|
||||
std::string leftTopY;
|
||||
std::string leftTopX;
|
||||
std::string longitude;
|
||||
|
||||
@@ -65,6 +65,10 @@ void ListCorpTrackDetailResult::parse(const std::string &payload)
|
||||
dataObject.corpId = valueDataDataItem["CorpId"].asString();
|
||||
if(!valueDataDataItem["EndTargetImage"].isNull())
|
||||
dataObject.endTargetImage = valueDataDataItem["EndTargetImage"].asString();
|
||||
if(!valueDataDataItem["SourceUrl"].isNull())
|
||||
dataObject.sourceUrl = valueDataDataItem["SourceUrl"].asString();
|
||||
if(!valueDataDataItem["TargetUrl"].isNull())
|
||||
dataObject.targetUrl = valueDataDataItem["TargetUrl"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -27,6 +27,17 @@ ListPersonDetailsRequest::ListPersonDetailsRequest() :
|
||||
ListPersonDetailsRequest::~ListPersonDetailsRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonDetailsRequest::getSchema()const
|
||||
{
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setSchema(const std::string& schema)
|
||||
{
|
||||
schema_ = schema;
|
||||
setBodyParameter("Schema", schema);
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
|
||||
@@ -61,6 +61,10 @@ void ListPersonResultResult::parse(const std::string &payload)
|
||||
dataObject.hotSpotAddress = valueDataDatas["HotSpotAddress"].asString();
|
||||
if(!valueDataDatas["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataDatas["UpdateTime"].asString();
|
||||
if(!valueDataDatas["TargetUrl"].isNull())
|
||||
dataObject.targetUrl = valueDataDatas["TargetUrl"].asString();
|
||||
if(!valueDataDatas["SourceUrl"].isNull())
|
||||
dataObject.sourceUrl = valueDataDatas["SourceUrl"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -27,6 +27,17 @@ ListPersonTagRequest::ListPersonTagRequest() :
|
||||
ListPersonTagRequest::~ListPersonTagRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTagRequest::getSchema()const
|
||||
{
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void ListPersonTagRequest::setSchema(const std::string& schema)
|
||||
{
|
||||
schema_ = schema;
|
||||
setBodyParameter("Schema", schema);
|
||||
}
|
||||
|
||||
std::string ListPersonTagRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ ListPersonTopRequest::ListPersonTopRequest() :
|
||||
ListPersonTopRequest::~ListPersonTopRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTopRequest::getSchema()const
|
||||
{
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setSchema(const std::string& schema)
|
||||
{
|
||||
schema_ = schema;
|
||||
setBodyParameter("Schema", schema);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
@@ -60,6 +71,28 @@ void ListPersonTopRequest::setStartTime(const std::string& startTime)
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setPageNumber(const std::string& pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", pageNumber);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setPageSize(const std::string& pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", pageSize);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getPersonId()const
|
||||
{
|
||||
return personId_;
|
||||
|
||||
@@ -39,22 +39,22 @@ void ListPersonTopResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
auto allDataNode = value["Data"]["DataItem"];
|
||||
for (auto valueDataDataItem : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["PoiId"].isNull())
|
||||
dataObject.poiId = valueDataDatas["PoiId"].asString();
|
||||
if(!valueDataDatas["PoiName"].isNull())
|
||||
dataObject.poiName = valueDataDatas["PoiName"].asString();
|
||||
if(!valueDataDatas["PassHour"].isNull())
|
||||
dataObject.passHour = valueDataDatas["PassHour"].asString();
|
||||
if(!valueDataDatas["Frequency"].isNull())
|
||||
dataObject.frequency = valueDataDatas["Frequency"].asString();
|
||||
DataItem dataObject;
|
||||
if(!valueDataDataItem["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDataItem["CorpId"].asString();
|
||||
if(!valueDataDataItem["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDataItem["PersonId"].asString();
|
||||
if(!valueDataDataItem["PoiId"].isNull())
|
||||
dataObject.poiId = valueDataDataItem["PoiId"].asString();
|
||||
if(!valueDataDataItem["PoiName"].isNull())
|
||||
dataObject.poiName = valueDataDataItem["PoiName"].asString();
|
||||
if(!valueDataDataItem["PassHour"].isNull())
|
||||
dataObject.passHour = valueDataDataItem["PassHour"].asString();
|
||||
if(!valueDataDataItem["Frequency"].isNull())
|
||||
dataObject.frequency = valueDataDataItem["Frequency"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
@@ -90,7 +90,7 @@ long ListPersonTopResult::getPageNumber()const
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonTopResult::Datas> ListPersonTopResult::getData()const
|
||||
std::vector<ListPersonTopResult::DataItem> ListPersonTopResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ ListPersonTrackRequest::ListPersonTrackRequest() :
|
||||
ListPersonTrackRequest::~ListPersonTrackRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTrackRequest::getSchema()const
|
||||
{
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setSchema(const std::string& schema)
|
||||
{
|
||||
schema_ = schema;
|
||||
setBodyParameter("Schema", schema);
|
||||
}
|
||||
|
||||
std::string ListPersonTrackRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
|
||||
@@ -71,6 +71,10 @@ void ListPersonTrackResult::parse(const std::string &payload)
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
if(!valueDataDatas["SourceUrl"].isNull())
|
||||
dataObject.sourceUrl = valueDataDatas["SourceUrl"].asString();
|
||||
if(!valueDataDatas["TargetUrl"].isNull())
|
||||
dataObject.targetUrl = valueDataDatas["TargetUrl"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user