Modify desribeInstance return dict item.

This commit is contained in:
sdk-team
2020-01-07 17:08:17 +08:00
parent 0c68cf4369
commit a13b3e83ce
24 changed files with 1120 additions and 27 deletions

View File

@@ -1203,6 +1203,42 @@ ElasticsearchClient::ListAlternativeSnapshotReposOutcomeCallable ElasticsearchCl
return task->get_future();
}
ElasticsearchClient::ListConnectedClustersOutcome ElasticsearchClient::listConnectedClusters(const ListConnectedClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListConnectedClustersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListConnectedClustersOutcome(ListConnectedClustersResult(outcome.result()));
else
return ListConnectedClustersOutcome(outcome.error());
}
void ElasticsearchClient::listConnectedClustersAsync(const ListConnectedClustersRequest& request, const ListConnectedClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listConnectedClusters(request), context);
};
asyncExecute(new Runnable(fn));
}
ElasticsearchClient::ListConnectedClustersOutcomeCallable ElasticsearchClient::listConnectedClustersCallable(const ListConnectedClustersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListConnectedClustersOutcome()>>(
[this, request]()
{
return this->listConnectedClusters(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ElasticsearchClient::ListInstanceOutcome ElasticsearchClient::listInstance(const ListInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,6 +1527,42 @@ ElasticsearchClient::ListSnapshotReposByInstanceIdOutcomeCallable ElasticsearchC
return task->get_future();
}
ElasticsearchClient::ListTagResourcesOutcome ElasticsearchClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void ElasticsearchClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
ElasticsearchClient::ListTagResourcesOutcomeCallable ElasticsearchClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ElasticsearchClient::MoveResourceGroupOutcome ElasticsearchClient::moveResourceGroup(const MoveResourceGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1851,6 +1923,42 @@ ElasticsearchClient::ShrinkNodeOutcomeCallable ElasticsearchClient::shrinkNodeCa
return task->get_future();
}
ElasticsearchClient::TagResourcesOutcome ElasticsearchClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void ElasticsearchClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
ElasticsearchClient::TagResourcesOutcomeCallable ElasticsearchClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ElasticsearchClient::TransferNodeOutcome ElasticsearchClient::transferNode(const TransferNodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2031,6 +2139,42 @@ ElasticsearchClient::UninstallPluginOutcomeCallable ElasticsearchClient::uninsta
return task->get_future();
}
ElasticsearchClient::UntagResourcesOutcome ElasticsearchClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
else
return UntagResourcesOutcome(outcome.error());
}
void ElasticsearchClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
ElasticsearchClient::UntagResourcesOutcomeCallable ElasticsearchClient::untagResourcesCallable(const UntagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
[this, request]()
{
return this->untagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ElasticsearchClient::UpdateAdminPasswordOutcome ElasticsearchClient::updateAdminPassword(const UpdateAdminPasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -165,10 +165,6 @@ void DescribeInstanceResult::parse(const std::string &payload)
result_.kibanaConfiguration.spec = kibanaConfigurationNode["spec"].asString();
if(!kibanaConfigurationNode["amount"].isNull())
result_.kibanaConfiguration.amount = std::stoi(kibanaConfigurationNode["amount"].asString());
if(!kibanaConfigurationNode["diskType"].isNull())
result_.kibanaConfiguration.diskType = kibanaConfigurationNode["diskType"].asString();
if(!kibanaConfigurationNode["disk"].isNull())
result_.kibanaConfiguration.disk = std::stoi(kibanaConfigurationNode["disk"].asString());
auto masterConfigurationNode = resultNode["masterConfiguration"];
if(!masterConfigurationNode["spec"].isNull())
result_.masterConfiguration.spec = masterConfigurationNode["spec"].asString();

View File

@@ -0,0 +1,41 @@
/*
* 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/elasticsearch/model/ListConnectedClustersRequest.h>
using AlibabaCloud::Elasticsearch::Model::ListConnectedClustersRequest;
ListConnectedClustersRequest::ListConnectedClustersRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/connected-clusters");
setMethod(HttpRequest::Method::Get);
}
ListConnectedClustersRequest::~ListConnectedClustersRequest()
{}
std::string ListConnectedClustersRequest::getInstanceId()const
{
return instanceId_;
}
void ListConnectedClustersRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}

View File

@@ -0,0 +1,59 @@
/*
* 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/elasticsearch/model/ListConnectedClustersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
ListConnectedClustersResult::ListConnectedClustersResult() :
ServiceResult()
{}
ListConnectedClustersResult::ListConnectedClustersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListConnectedClustersResult::~ListConnectedClustersResult()
{}
void ListConnectedClustersResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResultNode = value["Result"]["ConnectableClustersInfo"];
for (auto valueResultConnectableClustersInfo : allResultNode)
{
ConnectableClustersInfo resultObject;
if(!valueResultConnectableClustersInfo["instances"].isNull())
resultObject.instances = valueResultConnectableClustersInfo["instances"].asString();
if(!valueResultConnectableClustersInfo["networkType"].isNull())
resultObject.networkType = valueResultConnectableClustersInfo["networkType"].asString();
result_.push_back(resultObject);
}
}
std::vector<ListConnectedClustersResult::ConnectableClustersInfo> ListConnectedClustersResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,96 @@
/*
* 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/elasticsearch/model/ListTagResourcesRequest.h>
using AlibabaCloud::Elasticsearch::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/tags");
setMethod(HttpRequest::Method::Get);
}
ListTagResourcesRequest::~ListTagResourcesRequest()
{}
int ListTagResourcesRequest::getSize()const
{
return size_;
}
void ListTagResourcesRequest::setSize(int size)
{
size_ = size;
setCoreParameter("Size", std::to_string(size));
}
std::string ListTagResourcesRequest::getNextToken()const
{
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setCoreParameter("NextToken", nextToken);
}
int ListTagResourcesRequest::getPage()const
{
return page_;
}
void ListTagResourcesRequest::setPage(int page)
{
page_ = page;
setCoreParameter("Page", std::to_string(page));
}
std::string ListTagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}
std::string ListTagResourcesRequest::getResourceIds()const
{
return resourceIds_;
}
void ListTagResourcesRequest::setResourceIds(const std::string& resourceIds)
{
resourceIds_ = resourceIds;
setCoreParameter("ResourceIds", resourceIds);
}
std::string ListTagResourcesRequest::getTags()const
{
return tags_;
}
void ListTagResourcesRequest::setTags(const std::string& tags)
{
tags_ = tags;
setCoreParameter("Tags", tags);
}

View File

@@ -0,0 +1,79 @@
/*
* 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/elasticsearch/model/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto headersNode = value["Headers"];
if(!headersNode["X-Total-Count"].isNull())
headers_.xTotalCount = std::stoi(headersNode["X-Total-Count"].asString());
auto tagResourcesNode = value["TagResources"];
auto allTagResourceNode = tagResourcesNode["TagResource"]["TagResourceItem"];
for (auto tagResourcesNodeTagResourceTagResourceItem : allTagResourceNode)
{
TagResources::TagResourceItem tagResourceItemObject;
if(!tagResourcesNodeTagResourceTagResourceItem["resourceId"].isNull())
tagResourceItemObject.resourceId = tagResourcesNodeTagResourceTagResourceItem["resourceId"].asString();
if(!tagResourcesNodeTagResourceTagResourceItem["resourceType"].isNull())
tagResourceItemObject.resourceType = tagResourcesNodeTagResourceTagResourceItem["resourceType"].asString();
if(!tagResourcesNodeTagResourceTagResourceItem["tagKey"].isNull())
tagResourceItemObject.tagKey = tagResourcesNodeTagResourceTagResourceItem["tagKey"].asString();
if(!tagResourcesNodeTagResourceTagResourceItem["tagValue"].isNull())
tagResourceItemObject.tagValue = tagResourcesNodeTagResourceTagResourceItem["tagValue"].asString();
tagResources_.tagResource.push_back(tagResourceItemObject);
}
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
int ListTagResourcesResult::getPageSize()const
{
return pageSize_;
}
ListTagResourcesResult::Headers ListTagResourcesResult::getHeaders()const
{
return headers_;
}
ListTagResourcesResult::TagResources ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -0,0 +1,30 @@
/*
* 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/elasticsearch/model/TagResourcesRequest.h>
using AlibabaCloud::Elasticsearch::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/tags");
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* 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/elasticsearch/model/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TagResourcesResult::~TagResourcesResult()
{}
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,74 @@
/*
* 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/elasticsearch/model/UntagResourcesRequest.h>
using AlibabaCloud::Elasticsearch::Model::UntagResourcesRequest;
UntagResourcesRequest::UntagResourcesRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/tags");
setMethod(HttpRequest::Method::Delete);
}
UntagResourcesRequest::~UntagResourcesRequest()
{}
bool UntagResourcesRequest::getAll()const
{
return all_;
}
void UntagResourcesRequest::setAll(bool all)
{
all_ = all;
setCoreParameter("All", all ? "true" : "false");
}
std::string UntagResourcesRequest::getTagKeys()const
{
return tagKeys_;
}
void UntagResourcesRequest::setTagKeys(const std::string& tagKeys)
{
tagKeys_ = tagKeys;
setCoreParameter("TagKeys", tagKeys);
}
std::string UntagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}
std::string UntagResourcesRequest::getResourceIds()const
{
return resourceIds_;
}
void UntagResourcesRequest::setResourceIds(const std::string& resourceIds)
{
resourceIds_ = resourceIds;
setCoreParameter("ResourceIds", resourceIds);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/elasticsearch/model/UntagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
UntagResourcesResult::UntagResourcesResult() :
ServiceResult()
{}
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UntagResourcesResult::~UntagResourcesResult()
{}
void UntagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -66,32 +66,32 @@ void UpdateInstanceResult::parse(const std::string &payload)
result_.publicDomain = resultNode["publicDomain"].asString();
if(!resultNode["publicPort"].isNull())
result_.publicPort = std::stoi(resultNode["publicPort"].asString());
auto alldictListNode = resultNode["dictList"]["dictListItem"];
for (auto resultNodedictListdictListItem : alldictListNode)
auto alldictListNode = resultNode["dictList"]["DictListItem"];
for (auto resultNodedictListDictListItem : alldictListNode)
{
Result::DictListItem dictListItemObject;
if(!resultNodedictListdictListItem["name"].isNull())
dictListItemObject.name = resultNodedictListdictListItem["name"].asString();
if(!resultNodedictListdictListItem["fileSize"].isNull())
dictListItemObject.fileSize = std::stol(resultNodedictListdictListItem["fileSize"].asString());
if(!resultNodedictListdictListItem["type"].isNull())
dictListItemObject.type = resultNodedictListdictListItem["type"].asString();
if(!resultNodedictListdictListItem["sourceType"].isNull())
dictListItemObject.sourceType = resultNodedictListdictListItem["sourceType"].asString();
if(!resultNodedictListDictListItem["name"].isNull())
dictListItemObject.name = resultNodedictListDictListItem["name"].asString();
if(!resultNodedictListDictListItem["fileSize"].isNull())
dictListItemObject.fileSize = std::stol(resultNodedictListDictListItem["fileSize"].asString());
if(!resultNodedictListDictListItem["type"].isNull())
dictListItemObject.type = resultNodedictListDictListItem["type"].asString();
if(!resultNodedictListDictListItem["sourceType"].isNull())
dictListItemObject.sourceType = resultNodedictListDictListItem["sourceType"].asString();
result_.dictList.push_back(dictListItemObject);
}
auto allsynonymsDictsNode = resultNode["synonymsDicts"]["synonymsDictsItem"];
for (auto resultNodesynonymsDictssynonymsDictsItem : allsynonymsDictsNode)
auto allsynonymsDictsNode = resultNode["synonymsDicts"]["SynonymsDictsItem"];
for (auto resultNodesynonymsDictsSynonymsDictsItem : allsynonymsDictsNode)
{
Result::SynonymsDictsItem synonymsDictsItemObject;
if(!resultNodesynonymsDictssynonymsDictsItem["name"].isNull())
synonymsDictsItemObject.name = resultNodesynonymsDictssynonymsDictsItem["name"].asString();
if(!resultNodesynonymsDictssynonymsDictsItem["fileSize"].isNull())
synonymsDictsItemObject.fileSize = std::stol(resultNodesynonymsDictssynonymsDictsItem["fileSize"].asString());
if(!resultNodesynonymsDictssynonymsDictsItem["type"].isNull())
synonymsDictsItemObject.type = resultNodesynonymsDictssynonymsDictsItem["type"].asString();
if(!resultNodesynonymsDictssynonymsDictsItem["sourceType"].isNull())
synonymsDictsItemObject.sourceType = resultNodesynonymsDictssynonymsDictsItem["sourceType"].asString();
if(!resultNodesynonymsDictsSynonymsDictsItem["name"].isNull())
synonymsDictsItemObject.name = resultNodesynonymsDictsSynonymsDictsItem["name"].asString();
if(!resultNodesynonymsDictsSynonymsDictsItem["fileSize"].isNull())
synonymsDictsItemObject.fileSize = std::stol(resultNodesynonymsDictsSynonymsDictsItem["fileSize"].asString());
if(!resultNodesynonymsDictsSynonymsDictsItem["type"].isNull())
synonymsDictsItemObject.type = resultNodesynonymsDictsSynonymsDictsItem["type"].asString();
if(!resultNodesynonymsDictsSynonymsDictsItem["sourceType"].isNull())
synonymsDictsItemObject.sourceType = resultNodesynonymsDictsSynonymsDictsItem["sourceType"].asString();
result_.synonymsDicts.push_back(synonymsDictsItemObject);
}
auto nodeSpecNode = resultNode["nodeSpec"];