Add TagLevel to ListSetTags.

This commit is contained in:
sdk-team
2020-01-08 16:27:59 +08:00
parent a13b3e83ce
commit f52a4ff319
4 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2020-01-08 Version 1.36.235
- Add TagLevel to ListSetTags.
2020-01-07 Version 1.36.234
- Modify desribeInstance return dict item.

View File

@@ -1 +1 @@
1.36.234
1.36.235

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
int tagCount;
std::string tagName;
int tagLevel;
};

View File

@@ -47,6 +47,8 @@ void ListSetTagsResult::parse(const std::string &payload)
tagsObject.tagName = valueTagsTagsItem["TagName"].asString();
if(!valueTagsTagsItem["TagCount"].isNull())
tagsObject.tagCount = std::stoi(valueTagsTagsItem["TagCount"].asString());
if(!valueTagsTagsItem["TagLevel"].isNull())
tagsObject.tagLevel = std::stoi(valueTagsTagsItem["TagLevel"].asString());
tags_.push_back(tagsObject);
}
if(!value["SetId"].isNull())