Edit ListTraceApp api with add tags.

This commit is contained in:
sdk-team
2020-07-24 20:52:26 +08:00
parent 2738249b7d
commit 4d0d947bf1
10 changed files with 24 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2020-07-24 Version: 1.36.538
- Edit ListTraceApp api with add tags.
- Edit SearchTraceAppByName api with add tags.
- Edut SearchTraceAppByPage api with add tags.
2020-07-24 Version: 1.36.537
- Add DescribeBackupTasks.

View File

@@ -1 +1 @@
1.36.537
1.36.538

View File

@@ -39,13 +39,13 @@ namespace AlibabaCloud
void setAppIds(const std::string& appIds);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getEnable()const;
void setEnable(bool enable);
std::string getEnable()const;
void setEnable(const std::string& enable);
private:
std::string appIds_;
std::string regionId_;
bool enable_;
std::string enable_;
};
}

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
long updateTime;
std::string pid;
bool show;
std::vector<std::string> labels;
std::string regionId;
std::string appName;
};

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
long updateTime;
std::string pid;
bool show;
std::vector<std::string> labels;
std::string regionId;
std::string appName;
};

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
long updateTime;
std::string pid;
bool show;
std::vector<std::string> labels;
std::string regionId;
std::string appName;
};

View File

@@ -49,14 +49,14 @@ void ConfigAppRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
bool ConfigAppRequest::getEnable()const
std::string ConfigAppRequest::getEnable()const
{
return enable_;
}
void ConfigAppRequest::setEnable(bool enable)
void ConfigAppRequest::setEnable(const std::string& enable)
{
enable_ = enable;
setParameter("Enable", enable ? "true" : "false");
setParameter("Enable", enable);
}

View File

@@ -61,6 +61,9 @@ void ListTraceAppsResult::parse(const std::string &payload)
traceAppsObject.regionId = valueTraceAppsTraceApp["RegionId"].asString();
if(!valueTraceAppsTraceApp["Show"].isNull())
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
auto allLabels = value["Labels"]["Labels"];
for (auto value : allLabels)
traceAppsObject.labels.push_back(value.asString());
traceApps_.push_back(traceAppsObject);
}
if(!value["Success"].isNull())

View File

@@ -61,6 +61,9 @@ void SearchTraceAppByNameResult::parse(const std::string &payload)
traceAppsObject.updateTime = std::stol(valueTraceAppsTraceApp["UpdateTime"].asString());
if(!valueTraceAppsTraceApp["Show"].isNull())
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
auto allLabels = value["Labels"]["Labels"];
for (auto value : allLabels)
traceAppsObject.labels.push_back(value.asString());
traceApps_.push_back(traceAppsObject);
}

View File

@@ -68,6 +68,9 @@ void SearchTraceAppByPageResult::parse(const std::string &payload)
traceAppObject.updateTime = std::stol(pageBeanNodeTraceAppsTraceApp["UpdateTime"].asString());
if(!pageBeanNodeTraceAppsTraceApp["Show"].isNull())
traceAppObject.show = pageBeanNodeTraceAppsTraceApp["Show"].asString() == "true";
auto allLabels = value["Labels"]["Labels"];
for (auto value : allLabels)
traceAppObject.labels.push_back(value.asString());
pageBean_.traceApps.push_back(traceAppObject);
}