Add tcpInternetEndpoint field for the api OnsInstanceBaseInfo.
This commit is contained in:
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string httpInternalEndpoint;
|
||||
std::string tcpEndpoint;
|
||||
std::string tcpInternetEndpoint;
|
||||
std::string httpInternetEndpoint;
|
||||
std::string httpInternetSecureEndpoint;
|
||||
};
|
||||
|
||||
@@ -67,6 +67,8 @@ void OnsInstanceBaseInfoResult::parse(const std::string &payload)
|
||||
instanceBaseInfo_.endpoints.httpInternalEndpoint = endpointsNode["HttpInternalEndpoint"].asString();
|
||||
if(!endpointsNode["HttpInternetSecureEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.httpInternetSecureEndpoint = endpointsNode["HttpInternetSecureEndpoint"].asString();
|
||||
if(!endpointsNode["TcpInternetEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.tcpInternetEndpoint = endpointsNode["TcpInternetEndpoint"].asString();
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user