/// <summary>
 /// Get currently published nodes
 /// </summary>
 /// <remarks>
 /// Returns currently published node ids for an endpoint.
 /// The endpoint must be activated and connected and the module client
 /// and server must trust each other.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='endpointId'>
 /// The identifier of the activated endpoint.
 /// </param>
 /// <param name='request'>
 /// The list request
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PublishedItemListResponseApiModel> GetFirstListOfPublishedNodesAsync(this IAzureOpcTwinClient operations, string endpointId, PublishedItemListRequestApiModel request, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetFirstListOfPublishedNodesWithHttpMessagesAsync(endpointId, request, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }