@@ -35,10 +35,13 @@ CreatCustomOcrTemplateResult::~CreatCustomOcrTemplateResult()
|
||||
|
||||
void CreatCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateBizTypeResult::~CreateBizTypeResult()
|
||||
|
||||
void CreateBizTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCdiBagResult::~CreateCdiBagResult()
|
||||
|
||||
void CreateCdiBagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceIds = value["InstanceIds"]["String"];
|
||||
for (const auto &item : allInstanceIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCdiBaseBagResult::~CreateCdiBaseBagResult()
|
||||
|
||||
void CreateCdiBaseBagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateImageLibResult::~CreateImageLibResult()
|
||||
|
||||
void CreateImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateKeywordLibResult::~CreateKeywordLibResult()
|
||||
|
||||
void CreateKeywordLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = value["Id"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateKeywordResult::~CreateKeywordResult()
|
||||
|
||||
void CreateKeywordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInvalidKeywordList = value["InvalidKeywordList"]["StringItem"];
|
||||
for (const auto &item : allInvalidKeywordList)
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateWebSiteInstanceResult::~CreateWebSiteInstanceResult()
|
||||
|
||||
void CreateWebSiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceIds = value["InstanceIds"]["String"];
|
||||
for (const auto &item : allInstanceIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateWebsiteIndexPageBaselineResult::~CreateWebsiteIndexPageBaselineResult()
|
||||
|
||||
void CreateWebsiteIndexPageBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCustomOcrTemplateResult::~DeleteCustomOcrTemplateResult()
|
||||
|
||||
void DeleteCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteImageFromLibResult::~DeleteImageFromLibResult()
|
||||
|
||||
void DeleteImageFromLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteImageLibResult::~DeleteImageLibResult()
|
||||
|
||||
void DeleteImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteKeywordLibResult::~DeleteKeywordLibResult()
|
||||
|
||||
void DeleteKeywordLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteKeywordResult::~DeleteKeywordResult()
|
||||
|
||||
void DeleteKeywordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteNotificationContactsResult::~DeleteNotificationContactsResult()
|
||||
|
||||
void DeleteNotificationContactsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAppInfoResult::~DescribeAppInfoResult()
|
||||
|
||||
void DescribeAppInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAppInfoList = value["AppInfoList"]["AppInfo"];
|
||||
for (auto value : allAppInfoList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAuditContentItemResult::~DescribeAuditContentItemResult()
|
||||
|
||||
void DescribeAuditContentItemResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAuditContentItemList = value["AuditContentItemList"]["AuditContentItem"];
|
||||
for (auto value : allAuditContentItemList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAuditContentResult::~DescribeAuditContentResult()
|
||||
|
||||
void DescribeAuditContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAuditContentList = value["AuditContentList"]["AuditContent"];
|
||||
for (auto value : allAuditContentList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAuditSettingResult::~DescribeAuditSettingResult()
|
||||
|
||||
void DescribeAuditSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto auditRangeNode = value["AuditRange"];
|
||||
if(!auditRangeNode["block"].isNull())
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeBizTypeSettingResult::~DescribeBizTypeSettingResult()
|
||||
|
||||
void DescribeBizTypeSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto terrorismNode = value["Terrorism"];
|
||||
auto allCategories = terrorismNode["Categories"]["category"];
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeBizTypesResult::~DescribeBizTypesResult()
|
||||
|
||||
void DescribeBizTypesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBizTypeList = value["BizTypeList"]["item"];
|
||||
for (const auto &item : allBizTypeList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCustomOcrTemplateResult::~DescribeCustomOcrTemplateResult()
|
||||
|
||||
void DescribeCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOcrTemplateList = value["OcrTemplateList"]["OcrTemplate"];
|
||||
for (auto value : allOcrTemplateList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeImageFromLibResult::~DescribeImageFromLibResult()
|
||||
|
||||
void DescribeImageFromLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImageFromLibList = value["ImageFromLibList"]["ImageFromLib"];
|
||||
for (auto value : allImageFromLibList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeImageLibResult::~DescribeImageLibResult()
|
||||
|
||||
void DescribeImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImageLibList = value["ImageLibList"]["ImageLib"];
|
||||
for (auto value : allImageLibList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeImageUploadInfoResult::~DescribeImageUploadInfoResult()
|
||||
|
||||
void DescribeImageUploadInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeKeywordLibResult::~DescribeKeywordLibResult()
|
||||
|
||||
void DescribeKeywordLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allKeywordLibList = value["KeywordLibList"]["KeywordLib"];
|
||||
for (auto value : allKeywordLibList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeKeywordResult::~DescribeKeywordResult()
|
||||
|
||||
void DescribeKeywordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allKeywordList = value["KeywordList"]["Keyword"];
|
||||
for (auto value : allKeywordList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeNotificationSettingResult::~DescribeNotificationSettingResult()
|
||||
|
||||
void DescribeNotificationSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRealtimeMessageList = value["RealtimeMessageList"]["StringItem"];
|
||||
for (const auto &item : allRealtimeMessageList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOpenApiUsageResult::~DescribeOpenApiUsageResult()
|
||||
|
||||
void DescribeOpenApiUsageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOpenApiUsageList = value["OpenApiUsageList"]["OpenApiUsage"];
|
||||
for (auto value : allOpenApiUsageList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssCallbackSettingResult::~DescribeOssCallbackSettingResult()
|
||||
|
||||
void DescribeOssCallbackSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allScanCallbackSuggestions = value["ScanCallbackSuggestions"]["ScanCallbackSuggestion"];
|
||||
for (const auto &item : allScanCallbackSuggestions)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssIncrementCheckSettingResult::~DescribeOssIncrementCheckSettingResult(
|
||||
|
||||
void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBucketConfigList = value["BucketConfigList"]["BucketConfig"];
|
||||
for (auto value : allBucketConfigList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssIncrementOverviewResult::~DescribeOssIncrementOverviewResult()
|
||||
|
||||
void DescribeOssIncrementOverviewResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ImageCount"].isNull())
|
||||
imageCount_ = std::stoi(value["ImageCount"].asString());
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssIncrementStatsResult::~DescribeOssIncrementStatsResult()
|
||||
|
||||
void DescribeOssIncrementStatsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatList = value["StatList"]["Stat"];
|
||||
for (auto value : allStatList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssResultItemsResult::~DescribeOssResultItemsResult()
|
||||
|
||||
void DescribeOssResultItemsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allScanResultList = value["ScanResultList"]["ScanResult"];
|
||||
for (auto value : allScanResultList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeOssStockStatusResult::~DescribeOssStockStatusResult()
|
||||
|
||||
void DescribeOssStockStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBucketList = value["BucketList"]["bucket"];
|
||||
for (auto value : allBucketList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeSdkUrlResult::~DescribeSdkUrlResult()
|
||||
|
||||
void DescribeSdkUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SdkUrl"].isNull())
|
||||
sdkUrl_ = value["SdkUrl"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeUpdatePackageResultResult::~DescribeUpdatePackageResultResult()
|
||||
|
||||
void DescribeUpdatePackageResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto appInfoNode = value["AppInfo"];
|
||||
if(!appInfoNode["Id"].isNull())
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeUploadInfoResult::~DescribeUploadInfoResult()
|
||||
|
||||
void DescribeUploadInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
|
||||
49
green/src/model/DescribeUserBizTypesRequest.cc
Normal file
49
green/src/model/DescribeUserBizTypesRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeUserBizTypesRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::DescribeUserBizTypesRequest;
|
||||
|
||||
DescribeUserBizTypesRequest::DescribeUserBizTypesRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "DescribeUserBizTypes")
|
||||
{}
|
||||
|
||||
DescribeUserBizTypesRequest::~DescribeUserBizTypesRequest()
|
||||
{}
|
||||
|
||||
bool DescribeUserBizTypesRequest::getCustomized()const
|
||||
{
|
||||
return customized_;
|
||||
}
|
||||
|
||||
void DescribeUserBizTypesRequest::setCustomized(bool customized)
|
||||
{
|
||||
customized_ = customized;
|
||||
setCoreParameter("Customized", customized ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeUserBizTypesRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeUserBizTypesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
86
green/src/model/DescribeUserBizTypesResult.cc
Normal file
86
green/src/model/DescribeUserBizTypesResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeUserBizTypesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
DescribeUserBizTypesResult::DescribeUserBizTypesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUserBizTypesResult::DescribeUserBizTypesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUserBizTypesResult::~DescribeUserBizTypesResult()
|
||||
{}
|
||||
|
||||
void DescribeUserBizTypesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBizTypeList = value["BizTypeList"]["item"];
|
||||
for (auto value : allBizTypeList)
|
||||
{
|
||||
Item bizTypeListObject;
|
||||
if(!value["BizType"].isNull())
|
||||
bizTypeListObject.bizType = value["BizType"].asString();
|
||||
if(!value["SourceBizType"].isNull())
|
||||
bizTypeListObject.sourceBizType = value["SourceBizType"].asString();
|
||||
if(!value["Gray"].isNull())
|
||||
bizTypeListObject.gray = value["Gray"].asString() == "true";
|
||||
if(!value["Source"].isNull())
|
||||
bizTypeListObject.source = value["Source"].asString();
|
||||
bizTypeList_.push_back(bizTypeListObject);
|
||||
}
|
||||
auto allBizTypeListImport = value["BizTypeListImport"]["item"];
|
||||
for (auto value : allBizTypeListImport)
|
||||
{
|
||||
Item bizTypeListImportObject;
|
||||
if(!value["BizType"].isNull())
|
||||
bizTypeListImportObject.bizType = value["BizType"].asString();
|
||||
if(!value["SourceBizType"].isNull())
|
||||
bizTypeListImportObject.sourceBizType = value["SourceBizType"].asString();
|
||||
if(!value["Gray"].isNull())
|
||||
bizTypeListImportObject.gray = value["Gray"].asString() == "true";
|
||||
if(!value["Source"].isNull())
|
||||
bizTypeListImportObject.source = value["Source"].asString();
|
||||
bizTypeListImport_.push_back(bizTypeListImportObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeUserBizTypesResult::Item> DescribeUserBizTypesResult::getBizTypeList()const
|
||||
{
|
||||
return bizTypeList_;
|
||||
}
|
||||
|
||||
std::vector<DescribeUserBizTypesResult::Item> DescribeUserBizTypesResult::getBizTypeListImport()const
|
||||
{
|
||||
return bizTypeListImport_;
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeUserStatusResult::~DescribeUserStatusResult()
|
||||
|
||||
void DescribeUserStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Buyed"].isNull())
|
||||
buyed_ = value["Buyed"].asString() == "true";
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeViewContentResult::~DescribeViewContentResult()
|
||||
|
||||
void DescribeViewContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allViewContentList = value["ViewContentList"]["ViewContent"];
|
||||
for (auto value : allViewContentList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteIndexPageBaselineResult::~DescribeWebsiteIndexPageBaselineResult(
|
||||
|
||||
void DescribeWebsiteIndexPageBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteInstanceIdResult::~DescribeWebsiteInstanceIdResult()
|
||||
|
||||
void DescribeWebsiteInstanceIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWebsiteInstanceIdList = value["WebsiteInstanceIdList"]["WebsiteInstanceId"];
|
||||
for (const auto &item : allWebsiteInstanceIdList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteInstanceKeyUrlResult::~DescribeWebsiteInstanceKeyUrlResult()
|
||||
|
||||
void DescribeWebsiteInstanceKeyUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWebsiteInstanceKeyUrlList = value["WebsiteInstanceKeyUrlList"]["WebsiteInstanceKeyUrl"];
|
||||
for (const auto &item : allWebsiteInstanceKeyUrlList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteInstanceResult::~DescribeWebsiteInstanceResult()
|
||||
|
||||
void DescribeWebsiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWebsiteInstanceList = value["WebsiteInstanceList"]["WebsiteInstance"];
|
||||
for (auto value : allWebsiteInstanceList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteScanResultDetailResult::~DescribeWebsiteScanResultDetailResult()
|
||||
|
||||
void DescribeWebsiteScanResultDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImageScanResults = value["ImageScanResults"]["ImageScanResult"];
|
||||
for (auto value : allImageScanResults)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteScanResultResult::~DescribeWebsiteScanResultResult()
|
||||
|
||||
void DescribeWebsiteScanResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWebsiteScanResultList = value["WebsiteScanResultList"]["WebsiteScanResult"];
|
||||
for (auto value : allWebsiteScanResultList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteStatResult::~DescribeWebsiteStatResult()
|
||||
|
||||
void DescribeWebsiteStatResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWebsiteStatList = value["WebsiteStatList"]["WebsiteStat"];
|
||||
for (auto value : allWebsiteStatList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeWebsiteVerifyInfoResult::~DescribeWebsiteVerifyInfoResult()
|
||||
|
||||
void DescribeWebsiteVerifyInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Cname"].isNull())
|
||||
cname_ = value["Cname"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ ExportKeywordsResult::~ExportKeywordsResult()
|
||||
|
||||
void ExportKeywordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
downloadUrl_ = value["DownloadUrl"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ ExportOssResultResult::~ExportOssResultResult()
|
||||
|
||||
void ExportOssResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["FileUrl"].isNull())
|
||||
fileUrl_ = value["FileUrl"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ ImportKeywordsResult::~ImportKeywordsResult()
|
||||
|
||||
void ImportKeywordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInvalidKeywordList = value["InvalidKeywordList"]["StringItem"];
|
||||
for (const auto &item : allInvalidKeywordList)
|
||||
|
||||
@@ -35,10 +35,13 @@ MarkAuditContentItemResult::~MarkAuditContentItemResult()
|
||||
|
||||
void MarkAuditContentItemResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ MarkAuditContentResult::~MarkAuditContentResult()
|
||||
|
||||
void MarkAuditContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ MarkOssResultResult::~MarkOssResultResult()
|
||||
|
||||
void MarkOssResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ MarkWebsiteScanResultResult::~MarkWebsiteScanResultResult()
|
||||
|
||||
void MarkWebsiteScanResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ RefundCdiBagResult::~RefundCdiBagResult()
|
||||
|
||||
void RefundCdiBagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ RefundCdiBaseBagResult::~RefundCdiBaseBagResult()
|
||||
|
||||
void RefundCdiBaseBagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ RefundWebSiteInstanceResult::~RefundWebSiteInstanceResult()
|
||||
|
||||
void RefundWebSiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ RenewWebSiteInstanceResult::~RenewWebSiteInstanceResult()
|
||||
|
||||
void RenewWebSiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceIds = value["InstanceIds"]["String"];
|
||||
for (const auto &item : allInstanceIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ SendVerifyCodeToEmailResult::~SendVerifyCodeToEmailResult()
|
||||
|
||||
void SendVerifyCodeToEmailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ SendVerifyCodeToPhoneResult::~SendVerifyCodeToPhoneResult()
|
||||
|
||||
void SendVerifyCodeToPhoneResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ SendWebsiteFeedbackResult::~SendWebsiteFeedbackResult()
|
||||
|
||||
void SendWebsiteFeedbackResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateAppPackageResult::~UpdateAppPackageResult()
|
||||
|
||||
void UpdateAppPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateAuditSettingResult::~UpdateAuditSettingResult()
|
||||
|
||||
void UpdateAuditSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateBizTypeSettingResult::~UpdateBizTypeSettingResult()
|
||||
|
||||
void UpdateBizTypeSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateCustomOcrTemplateResult::~UpdateCustomOcrTemplateResult()
|
||||
|
||||
void UpdateCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateImageLibResult::~UpdateImageLibResult()
|
||||
|
||||
void UpdateImageLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateKeywordLibResult::~UpdateKeywordLibResult()
|
||||
|
||||
void UpdateKeywordLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateNotificationSettingResult::~UpdateNotificationSettingResult()
|
||||
|
||||
void UpdateNotificationSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateOssCallbackSettingResult::~UpdateOssCallbackSettingResult()
|
||||
|
||||
void UpdateOssCallbackSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateOssIncrementCheckSettingResult::~UpdateOssIncrementCheckSettingResult()
|
||||
|
||||
void UpdateOssIncrementCheckSettingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateOssStockStatusResult::~UpdateOssStockStatusResult()
|
||||
|
||||
void UpdateOssStockStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateWebsiteInstanceKeyUrlResult::~UpdateWebsiteInstanceKeyUrlResult()
|
||||
|
||||
void UpdateWebsiteInstanceKeyUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateWebsiteInstanceResult::~UpdateWebsiteInstanceResult()
|
||||
|
||||
void UpdateWebsiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpdateWebsiteInstanceStatusResult::~UpdateWebsiteInstanceStatusResult()
|
||||
|
||||
void UpdateWebsiteInstanceStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ UpgradeCdiBaseBagResult::~UpgradeCdiBaseBagResult()
|
||||
|
||||
void UpgradeCdiBaseBagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ UploadImageToLibResult::~UploadImageToLibResult()
|
||||
|
||||
void UploadImageToLibResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ VerifyCustomOcrTemplateResult::~VerifyCustomOcrTemplateResult()
|
||||
|
||||
void VerifyCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RecognizeInfo"].isNull())
|
||||
recognizeInfo_ = value["RecognizeInfo"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ VerifyEmailResult::~VerifyEmailResult()
|
||||
|
||||
void VerifyEmailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ VerifyPhoneResult::~VerifyPhoneResult()
|
||||
|
||||
void VerifyPhoneResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ VerifyWebsiteInstanceResult::~VerifyWebsiteInstanceResult()
|
||||
|
||||
void VerifyWebsiteInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user