CreateNode API add return NodeId.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-04-15 Version: 1.36.357
|
||||
- CreateNode API add return NodeId.
|
||||
|
||||
2020-04-15 Version: 1.36.356
|
||||
- Vision-poc response modified.
|
||||
|
||||
|
||||
@@ -37,11 +37,13 @@ namespace AlibabaCloud
|
||||
CreateNodeResult();
|
||||
explicit CreateNodeResult(const std::string &payload);
|
||||
~CreateNodeResult();
|
||||
std::string getNodeId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nodeId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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