/// <summary>
 /// Adds the specified catalog entry to the catalog with uuid <paramref name="catalogUuid"/>. If the key <see cref="CatalogEntryDto.Key"/>
 /// is <code>-1</code>, the server will generate a new unique key for that entry.
 /// </summary>
 /// <param name="client">The client class to use.</param>
 /// <param name="catalogUuid">The uuid of the catalog to add the entry to.</param>
 /// <param name="entry">The catalog entry to add.</param>
 /// <param name="cancellationToken">A token to cancel the asynchronous operation.</param>
 public static Task CreateCatalogEntry <T>(this IDataServiceRestClientBase <T> client, Guid catalogUuid, CatalogEntryDto entry, CancellationToken cancellationToken = default) where T : DataServiceFeatureMatrix
 {
     return(client.CreateCatalogEntries(catalogUuid, new[] { entry }, cancellationToken));
 }