CreateNode API add return NodeId.
This commit is contained in:
@@ -41,9 +41,16 @@ void CreateNodeResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
if(!value["NodeId"].isNull())
|
||||
nodeId_ = value["NodeId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateNodeResult::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
std::string CreateNodeResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
|
||||
Reference in New Issue
Block a user