/// <summary> /// Browse set of unique target nodes /// </summary> /// <remarks> /// Browse the set of unique hierarchically referenced target nodes on the /// endpoint. The endpoint must be activated and connected and the module /// client and server must trust each other. The root node id to browse from /// can be provided as part of the query parameters. If it is not provided, the /// RootFolder node is browsed. Note that this is the same as the POST method /// with the model containing the node id and the targetNodesOnly flag set to /// true. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='endpointId'> /// The identifier of the activated endpoint. /// </param> /// <param name='nodeId'> /// The node to browse or omit to browse the root node (i=84) /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BrowseResponseApiModel> GetSetOfUniqueNodesAsync(this IAzureOpcTwinClient operations, string endpointId, string nodeId = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetSetOfUniqueNodesWithHttpMessagesAsync(endpointId, nodeId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }