Change ListCheckInstanceResult Public.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2022-07-26 Version: 1.36.1206
|
||||||
|
- Change ListCheckInstanceResult Public.
|
||||||
|
|
||||||
2022-07-26 Version: 1.36.1205
|
2022-07-26 Version: 1.36.1205
|
||||||
- Support API ARMInstance.
|
- Support API ARMInstance.
|
||||||
- Support Control ARM API.
|
- Support Control ARM API.
|
||||||
|
|||||||
@@ -34,11 +34,7 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Result
|
struct Result
|
||||||
{
|
{
|
||||||
struct Ext
|
std::string ext;
|
||||||
{
|
|
||||||
std::string virusName;
|
|
||||||
};
|
|
||||||
Ext ext;
|
|
||||||
int score;
|
int score;
|
||||||
std::string virusType;
|
std::string virusType;
|
||||||
std::string hashKey;
|
std::string hashKey;
|
||||||
|
|||||||
@@ -51,9 +51,8 @@ void GetFileDetectResultResult::parse(const std::string &payload)
|
|||||||
resultListObject.score = std::stoi(valueResultListResult["Score"].asString());
|
resultListObject.score = std::stoi(valueResultListResult["Score"].asString());
|
||||||
if(!valueResultListResult["VirusType"].isNull())
|
if(!valueResultListResult["VirusType"].isNull())
|
||||||
resultListObject.virusType = valueResultListResult["VirusType"].asString();
|
resultListObject.virusType = valueResultListResult["VirusType"].asString();
|
||||||
auto extNode = value["Ext"];
|
if(!valueResultListResult["Ext"].isNull())
|
||||||
if(!extNode["VirusName"].isNull())
|
resultListObject.ext = valueResultListResult["Ext"].asString();
|
||||||
resultListObject.ext.virusName = extNode["VirusName"].asString();
|
|
||||||
resultList_.push_back(resultListObject);
|
resultList_.push_back(resultListObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user